CN108932352A - Distributed cache system based on statistical server - Google Patents
Distributed cache system based on statistical server Download PDFInfo
- Publication number
- CN108932352A CN108932352A CN201811124393.1A CN201811124393A CN108932352A CN 108932352 A CN108932352 A CN 108932352A CN 201811124393 A CN201811124393 A CN 201811124393A CN 108932352 A CN108932352 A CN 108932352A
- Authority
- CN
- China
- Prior art keywords
- server
- statistical
- distributed cache
- data
- equipment
- 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
- 238000007619 statistical method Methods 0.000 claims description 14
- 241000009298 Trigla lyra Species 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 6
- 230000010354 integration Effects 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 239000004744 fabric Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of distributed cache systems based on statistical server, system includes data collector and server, the server includes distributed cache server, statistical server and database server, and data collector is connected with distributed cache server;Distributed cache server is connected with data collector and statistical server respectively;Statistical server is electrically connected with distributed cache server and database server respectively;Database server is electrically connected with statistical server.The present invention counts data cached in distributed cache server, classifies, and is providing convenience property of student examination system to reduce data resource holding time.
Description
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of distributed caching based on statistical server
System.
Background technique
Caching is able to ascend the characteristic of instruction and data reading speed, as local computer system is to distributed system
Extension, is widely used, referred to as distributed caching in distributed computing field.
Distributed caching can read to high-performance data, can dynamically extend cache node, can find automatically and
Switch failure node, can automatic equalization data subregion, and patterned administration interface can be provided for user, deployment and
Maintenance is quite convenient to.
Distributed caching is managed and controlled by a server-side realization, there is multiple client node storing data, Ke Yijin
The reading rate of one step raising data.When reading some data, if node is looked in turn, that efficiency is just too low.Cause
This needs to determine the storage of data according to consistency hash algorithm and reads node.With data D, based on node total number N, lead to
It crosses consistency hash algorithm and calculates the corresponding cryptographic Hash of data D (being equivalent to number), can be looked for according to this cryptographic Hash
To corresponding node.Consistent hash algorithm is advantageous in that when node number changes and (decreases or increases) without counting again
Calculate cryptographic Hash, when guaranteeing data storage or reading can it is correct, be quickly found corresponding node.
Distributed caching is widely used in field of distributed type, field of cloud calculation.
But existing distributed caching equipment is only used to store some data, data are many and diverse, and occupied space amount is big, can not
Data are counted, while statistic of classification can not be carried out to data, data occupied space amount is big.
Summary of the invention
In view of this, the present invention provides a kind of distributed cache system based on statistical server, including data acquisition
Device and server, the server include distributed cache server, statistical server and database server, wherein
Distributed cache server phase at least one described data collector, including scanner, with the server
Connection, for acquiring the examination question, paper and knowledge point data of student, is sent to server and is cached and counted calculating;
The distributed cache server is connected, for storing respectively with the data collector and statistical server
The examination question of acquisition, paper and knowledge point it is data cached;
At least one statistical server matched with the distributed cache server, respectively with the distribution
Cache server and database server electrical connection, read the data cached of distributed cache server, delay described in traversal queries
Deposit data, for statistical analysis and classification, obtains statistical result, is sent to database server and is stored;Wherein, the system
Meter analysis includes calculate to the examination question with each knowledge point and divide in the Pipers database data basis of existing paper composition
Analysis, counts the examination result of each knowledge point;
The database server, including storage equipment, are electrically connected, for receiving the statistics with the statistical server
The statistical result that server is sent is stored.
Preferably, the data collector includes: acquisition elements and data acquisition interface, further includes connecting the acquisition member
The data integration bus of part, data acquisition interface, wherein
The acquisition elements are sent to data acquisition and connect for acquiring the examination question, paper and knowledge point data of student
Mouthful;
The data acquisition interface, for being sent after carrying out Unified coding conversion and pretreatment to data collected in real time
To the distributed cache server.
Preferably, traversal equipment and statistics equipment are equipped in the statistical server, wherein
The traversal equipment, is electrically connected with the distributed cache server, for traversing the distributed caching service
It is data cached in device, it is sent to the statistics equipment;
The statistics equipment is electrically connected with the traversal equipment and database server respectively, for the caching number
According to for statistical analysis and classification, statistical result is obtained, database server is sent to.
Preferably, the acquisition elements are scanner, and the scanner is connected by cable with server.
Preferably, the data collector is connected to internet by first routing device.
Preferably, the distributed cache server is equipped with multiple operation system nodes.
Preferably, the distributed cache server is connected to internet by secondary route equipment.
Preferably, the statistical server is connected to internet by third routing device.
Preferably, the database server is connected to internet by the 4th routing device.
Preferably, the storage equipment includes physical storage device and cloud storage equipment.
Compared with prior art, the distributed cache system provided by the invention based on statistical server, at least realizes
It is following the utility model has the advantages that
Distributed cache system based on statistical server of the invention is additionally arranged statistical server, takes to distributed caching
Data cached in business device is counted, is classified, to reduce data resource holding time, is carried out to student's examination question, paper
Statistical analysis and classification are providing convenience property of student examination system.
Certainly, implementing any of the products of the present invention specific needs while must not reach all the above technical effect.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Detailed description of the invention
It is combined in the description and the attached drawing for constituting part of specification shows the embodiment of the present invention, and even
With its explanation together principle for explaining the present invention.
Fig. 1 is the structural schematic diagram of the distributed cache system in embodiment 1 based on statistical server;
Fig. 2 is the structural schematic diagram of data collector in embodiment 1;
Fig. 3 is the structural schematic diagram of statistical server in embodiment 2;
Fig. 4 is the structural schematic diagram of the distributed cache system in embodiment 2 based on statistical server;
Wherein: 1- data collector;2- server;21- distributed cache server;22- statistical server;23- data
Library server;11- acquisition elements;12- data acquisition interface;13- data integration bus;221- traverses equipment;222- statistics is set
It is standby.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having
Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention
And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
Embodiment 1:
In conjunction with Fig. 1, a kind of distributed cache system based on statistical server, including data acquisition are present embodiments provided
Device 1 and server 2, the server 2 include distributed cache server 21, statistical server 22 and database server 23.
Distributed cache server at least one described data collector 1, including scanner, with the server 2
21 are connected, and for acquiring the examination question, paper and knowledge point data of student, are sent to server 2 and are cached and counted meter
It calculates.
The distributed cache server 21 is connected with the data collector 1 and statistical server 22 respectively, is used for
Store the data cached of the examination question acquired, paper and knowledge point;
At least one statistical server 22 matched with the distributed cache server 21, respectively with described point
Cloth cache server 21 and database server 23 are electrically connected, and read the data cached of distributed cache server 21, traversal
Inquire it is described data cached, it is for statistical analysis and classification, obtain statistical result, be sent to database server 23 and deposited
Storage;Wherein, the statistical analysis includes in the Pipers database data basis of existing paper composition, to the examination with each knowledge point
Topic carries out calculating analysis, counts the examination result of each knowledge point;
The database server 23, including storage equipment, are electrically connected with the statistical server 22, described for receiving
The statistical result that statistical server 22 is sent is stored.
The data collector 1 includes: acquisition elements 11 and data acquisition interface 12, further includes connecting the acquisition elements
11, the data integration bus 13 of data acquisition interface 12, wherein
The acquisition elements 11 are sent to data acquisition and connect for acquiring the examination question, paper and knowledge point data of student
Mouth 12;The acquisition elements 11 are scanner.
The data acquisition interface 12, for being sent out after carrying out Unified coding conversion and pretreatment to data collected in real time
It send to the distributed cache server 21.
The data collector 1 is connected to internet by first routing device.
The distributed cache server 21 is equipped with multiple operation system nodes.
The distributed cache server 21 is connected to internet by secondary route equipment.
The statistical server 22 is connected to internet by third routing device.
The database server 23 is connected to internet by the 4th routing device.
Embodiment 2:
In conjunction with Fig. 4, a kind of distributed cache system based on statistical server, including data acquisition are present embodiments provided
Device 1 and server 2, the server 2 include distributed cache server 21, statistical server 22 and database server 23.
At least one described data collector 1, including scanner, for acquiring the examination question, paper and knowledge point of student
Data are sent to server 2 and are cached and counted calculating;Data collector 101, data collector are equipped in the present embodiment
102, data collector 103.
The distributed cache server 21 is connected with the data collector 1 and statistical server 22 respectively, is used for
Store the data cached of the examination question acquired, paper and knowledge point;
At least one statistical server 22 matched with the distributed cache server 21, respectively with described point
Cloth cache server 21 and database server 23 are electrically connected, and read the data cached of distributed cache server 21, traversal
Inquire it is described data cached, it is for statistical analysis and classification, obtain statistical result, be sent to database server 23 and deposited
Storage;Wherein, the statistical analysis includes in the Pipers database data basis of existing paper composition, to the examination with each knowledge point
Topic carries out calculating analysis, counts the examination result of each knowledge point;It is provided in the present embodiment corresponding with data collector 101
Statistical server 2201, statistical server 2202 corresponding with data collector 102 is corresponding with data collector 103
Statistical server 2203.
The database server 23, including storage equipment, are electrically connected with the statistical server 22, described for receiving
The statistical result that statistical server 22 is sent is stored.As shown in figure 4, the storage equipment in the present embodiment sets for physical store
Standby 2301 and cloud storage equipment 2302.
The data collector 1 includes: acquisition elements 11 and data acquisition interface 12, further includes connecting the acquisition elements
11, the data integration bus 13 of data acquisition interface 12, wherein
The acquisition elements 11 are sent to data acquisition and connect for acquiring the examination question, paper and knowledge point data of student
Mouth 12;
The data acquisition interface 12, for being sent out after carrying out Unified coding conversion and pretreatment to data collected in real time
It send to the distributed cache server 21.
As shown in figure 3, being equipped with traversal equipment 221 and statistics equipment 222 in the statistical server 22, wherein
The traversal equipment 221, is electrically connected, for traversing the distributed caching with the distributed cache server 21
It is data cached in server 21, it is sent to the statistics equipment 222;
The statistics equipment 222 is electrically connected with the traversal equipment 221 and database server 23 respectively, for institute
Data cached for statistical analysis and classification is stated, statistical result is obtained, is sent to database server 23.
The acquisition elements 11 are scanner.The scanner is connect by cable with server 2.It is to sweep in the present embodiment
Instrument is retouched, as shown in Figure 4.
The data collector 1 is connected to internet by first routing device.
The distributed cache server 21 is equipped with multiple operation system nodes.
The distributed cache server 21 is connected to internet by secondary route equipment.
The statistical server 22 is connected to internet by third routing device.
The database server 23 is connected to internet by the 4th routing device.
First routing device, secondary route equipment, third routing device and the 4th routing device in the present embodiment are
Wireless routing device.
Embodiment 3:
Statistics equipment 222 is embedded in the distributed cache system based on statistical server of the application, starting is based on statistics
When the distributed cache system of server, pass through examination question, the Pipers database, student examination point of 222 pairs of statistics equipment embedded cachings
Etc. for statistical analysis.
Be Application Example in the present embodiment: customization one is opposite with the distributed cache system based on statistical server only
Vertical statistical server 22 reads data cached, the traversal queries of distributed cache server 21 by the statistical server 22
This is data cached, carries out statistics calculating, obtains statistical result, and statistical result storage is based on statistical server to described
Distributed cache system.
Embodiment 4:
Be extended to obtain statistics equipment 222 (writing plug-in unit) to the distributed cache system based on statistical server, when into
When the deposit of row data, triggering statistics equipment 222, statistics equipment 222 is calculated (for example, plus one), calculated result is carried out certainly
Body storage.
Embodiment 5:
Statistical server 22 is customized first, and the distributed cache system based on statistical server is extended and is counted
Function device, the content of the statistics equipment 222 is transferred by statistical server 22, and is calculated the content, will be counted
Result storage is calculated to the distributed cache system based on statistical server.
It is for statistical analysis to examination question, Pipers database and student examination point in the application: for each student examination point (knowledge
Point) setting permission, and there are the uploading devices such as scanner in different examination points, statistical server 22 or statistics equipment 222 exist
On the basis of existing Pipers database content, calculating analysis is carried out to the examination question of each student examination point (knowledge point), to count
The examination result of all students of each student examination point (knowledge point).
Compared with prior art, the distributed cache system provided by the invention based on statistical server, at least realizes
It is following the utility model has the advantages that
Distributed cache system based on statistical server of the invention is additionally arranged statistical server, takes to distributed caching
Data cached in business device is counted, is classified, to reduce data resource holding time, is carried out to student's examination question, paper
Statistical analysis and classification are providing convenience property of student examination system.
Although some specific embodiments of the invention are described in detail by example, the skill of this field
Art personnel it should be understood that example above merely to being illustrated, the range being not intended to be limiting of the invention.The skill of this field
Art personnel are it should be understood that can without departing from the scope and spirit of the present invention modify to above embodiments.This hair
Bright range is defined by the following claims.
Claims (10)
1. a kind of distributed cache system based on statistical server, which is characterized in that, should including data collector and server
Server includes distributed cache server, statistical server and database server, wherein
At least one described data collector, including scanner, are connected with the distributed cache server in the server,
For acquiring the examination question, paper and knowledge point data of student, it is sent to server and is cached and counted calculating;
The distributed cache server is connected with the data collector and statistical server respectively, for storing acquisition
Examination question, paper and knowledge point it is data cached;
At least one statistical server matched with the distributed cache server, respectively with the distributed caching
Server and database server electrical connection, read the data cached of distributed cache server, number are cached described in traversal queries
According to for statistical analysis and classification obtains statistical result, is sent to database server and stored;Wherein, the statistical
Analysis includes carrying out calculating analysis in the Pipers database data basis of existing paper composition to the examination question with each knowledge point, uniting
Count out the examination result of each knowledge point;
The database server, including storage equipment, are electrically connected, for receiving the statistical fractals with the statistical server
The statistical result that device is sent is stored.
2. the distributed cache system according to claim 1 based on statistical server, which is characterized in that the data are adopted
Storage includes: acquisition elements and data acquisition interface, further includes the data integration for connecting the acquisition elements, data acquisition interface
Bus, wherein
The acquisition elements are sent to data acquisition interface for acquiring the examination question, paper and knowledge point data of student;
The data acquisition interface, for being sent to institute after carrying out Unified coding conversion and pretreatment to data collected in real time
State distributed cache server.
3. the distributed cache system according to claim 1 based on statistical server, which is characterized in that the statistics clothes
It is engaged in being equipped with traversal equipment and statistics equipment in device, wherein
The traversal equipment, is electrically connected with the distributed cache server, for traversing in the distributed cache server
It is data cached, be sent to the statistics equipment;
The statistics equipment is electrically connected with the traversal equipment and database server respectively, for it is described it is data cached into
Row statistical analysis and classification, obtain statistical result, are sent to database server.
4. the distributed cache system according to claim 2 based on statistical server, which is characterized in that the acquisition member
Part is scanner, and the scanner is connected by cable with server.
5. the distributed cache system according to claim 1 based on statistical server, which is characterized in that the data are adopted
Storage is connected to internet by first routing device.
6. -5 any distributed cache system based on statistical server according to claim 1, which is characterized in that described
Distributed cache server is equipped with multiple operation system nodes.
7. -5 any distributed cache system based on statistical server according to claim 1, which is characterized in that described
Distributed cache server is connected to internet by secondary route equipment.
8. -5 any distributed cache system based on statistical server according to claim 1, which is characterized in that described
Statistical server is connected to internet by third routing device.
9. -5 any distributed cache system based on statistical server according to claim 1, which is characterized in that described
Database server is connected to internet by the 4th routing device.
10. the distributed cache system according to claim 1 based on statistical server, which is characterized in that the storage
Equipment includes physical storage device and cloud storage equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811124393.1A CN108932352A (en) | 2018-09-26 | 2018-09-26 | Distributed cache system based on statistical server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811124393.1A CN108932352A (en) | 2018-09-26 | 2018-09-26 | Distributed cache system based on statistical server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108932352A true CN108932352A (en) | 2018-12-04 |
Family
ID=64444075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811124393.1A Pending CN108932352A (en) | 2018-09-26 | 2018-09-26 | Distributed cache system based on statistical server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108932352A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104036025A (en) * | 2014-06-27 | 2014-09-10 | 蓝盾信息安全技术有限公司 | Distribution-base mass log collection system |
CN104809677A (en) * | 2015-05-13 | 2015-07-29 | 江苏黄金屋教育咨询有限公司 | Automatic examination paper scoring method based on statistics and analysis of knowledge point mastering condition |
CN105608207A (en) * | 2015-12-25 | 2016-05-25 | 广州华多网络科技有限公司 | Data statistics system based on Redis database and statistics method of data statistics system |
CN105847339A (en) * | 2016-03-18 | 2016-08-10 | 美分期科技有限公司 | Smart medical service platform |
CN106777356A (en) * | 2017-01-19 | 2017-05-31 | 姜俊 | A kind of data analysing method based on LIMS systems |
CN107203589A (en) * | 2017-04-21 | 2017-09-26 | 宁波公众信息产业有限公司 | A kind of information transmission system |
CN107295059A (en) * | 2017-03-07 | 2017-10-24 | 阿里巴巴集团控股有限公司 | The statistical system and method for service propelling amount |
-
2018
- 2018-09-26 CN CN201811124393.1A patent/CN108932352A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104036025A (en) * | 2014-06-27 | 2014-09-10 | 蓝盾信息安全技术有限公司 | Distribution-base mass log collection system |
CN104809677A (en) * | 2015-05-13 | 2015-07-29 | 江苏黄金屋教育咨询有限公司 | Automatic examination paper scoring method based on statistics and analysis of knowledge point mastering condition |
CN105608207A (en) * | 2015-12-25 | 2016-05-25 | 广州华多网络科技有限公司 | Data statistics system based on Redis database and statistics method of data statistics system |
CN105847339A (en) * | 2016-03-18 | 2016-08-10 | 美分期科技有限公司 | Smart medical service platform |
CN106777356A (en) * | 2017-01-19 | 2017-05-31 | 姜俊 | A kind of data analysing method based on LIMS systems |
CN107295059A (en) * | 2017-03-07 | 2017-10-24 | 阿里巴巴集团控股有限公司 | The statistical system and method for service propelling amount |
CN107203589A (en) * | 2017-04-21 | 2017-09-26 | 宁波公众信息产业有限公司 | A kind of information transmission system |
Non-Patent Citations (1)
Title |
---|
梁敏 等: "面向舆情采集的分布式缓存系统设计" * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108874640B (en) | Cluster performance evaluation method and device | |
CN104769582B (en) | For the real time data releasing of power grid | |
CN104486445B (en) | Distributed extendable resource monitoring system based on cloud platform | |
CN110535965A (en) | A kind of data processing method and device, storage medium | |
CN104023083B (en) | The method and device of log collection cluster load balance | |
CN106709003A (en) | Hadoop-based mass log data processing method | |
CN103873505B (en) | Method, system and the device uploaded offline to cloud storage service device | |
CN104036025A (en) | Distribution-base mass log collection system | |
CN108111586A (en) | The web cluster system and method that a kind of high concurrent is supported | |
CN103207920A (en) | Parallel metadata acquisition system | |
CN105071994B (en) | A kind of mass data monitoring system | |
CN105930502B (en) | System, client and method for collecting data | |
CN108063832B (en) | Cloud storage system and storage method thereof | |
CN107682411A (en) | A kind of extensive SDN controllers cluster and network system | |
US9692847B2 (en) | Content distribution method and content distribution server | |
CN107085579A (en) | A kind of data acquisition distribution method and device | |
CN105450997A (en) | Cloud storage based video monitoring system | |
CN107453948A (en) | The storage method and system of a kind of network measurement data | |
CN110232136A (en) | A kind of big data processing system based on cloud computing | |
CN207780836U (en) | A kind of recruitment management system | |
CN208705881U (en) | Distributed caching device based on statistical server | |
WO2016078246A1 (en) | Method and device for supporting diversified network data access, and terminal | |
CN109508323A (en) | A kind of document storage system and file memory method | |
CN108932352A (en) | Distributed cache system based on statistical server | |
CN106161339B (en) | Obtain the method and device of IP access relations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20181204 |