CN106603617A - Method for distributed data access - Google Patents
Method for distributed data access Download PDFInfo
- Publication number
- CN106603617A CN106603617A CN201610782470.7A CN201610782470A CN106603617A CN 106603617 A CN106603617 A CN 106603617A CN 201610782470 A CN201610782470 A CN 201610782470A CN 106603617 A CN106603617 A CN 106603617A
- Authority
- CN
- China
- Prior art keywords
- information
- data
- database
- client
- server
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/566—Grouping or aggregating service requests, e.g. for unified processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention discloses a method for distributed data access. The method comprises the following steps: a system administrator applies a database unit according to the business data volume distribution; a database is created; the system records the related information of the database; a client requires a log server; the information of the organizational structure where a user is located is determined; the data configuration information corresponding to the organizational structure is obtained; the log server selects a proxy server with a small load through the heartbeat detection; a proxy file and the data configuration information are fed back to the client; the client requires the proxy server according to the proxy file; and the proxy server accesses the assigned database connection according to the data configuration information and feeds the operation result back to the client. The method for distributed data access can regulate the distribution rule according to the business features to satisfy the business requirement and satisfy the technology requirement; the system less depends on the hardware facility, and the burden of the load server is small to facilitate optimization of a load algorithm; and moreover, when the capacity of the hardware is expanded, the influence on the business is little.
Description
Technical field
The present invention relates to internet, database and network engineeringtechnique field, specifically a kind of distributed data access
Method.
Background technology
Distributed data access is a basic field of cloud computing, and its effect is to provide the distributed access of mass data
The ability that service and high-speed read-write are accessed;Structure is interconnected during distributed access system by some server nodes and client
Into, server node is responsible for the storage of data, and client can be read out, update and delete to the data of server node
Operate except waiting;In current distributed data access system, the scheme for generally adopting for:Most of system fixation is according to business
Operational area or administrative region are used as the unit being distributed;The load balancing of network is realized using hardware device;It is embodied
Major defect:Distribution rule underaction, when the data flow of chorologic unit has unbalanced, then can affect whole system
Performance;Dependence of the load balancing to hardware is too strong, and user cannot be optimized with reference to oneself requirement;For these reasons, need
Technological improvement and improvement are carried out to the distributed data access method of prior art, to improve user experience.
The content of the invention
It is an object of the invention to provide a kind of method of distributed data access, to solve above-mentioned background technology in propose
Problem.
For achieving the above object, the present invention provides following technical scheme:
A kind of method of distributed data access, comprises the following steps:
1) system manager is distributed request for data library unit in management backstage according to the data volume of business;
2) backstage creates database according to server resource and the database of application;
3) system log data place is in main frame, link information, the unit information of data and corresponding business datum
Unit information;
4) client request login service device, there is provided the information such as login account;
5) login service device determines the agency information that user is located according to account information;
6) according to agency information obtaining step 3) the middle corresponding data configuration information of organization for recording;
7) login service device selects the less proxy server of load by heartbeat detection;
8) login service device is by proxy path and step 6) in the data configuration feedback of the information that obtains to client;
9) client is according to step 8) the middle proxy path request proxy server for transmitting;
10) proxy server is according to step 8) the middle data configuration information transmitted, access the database connection specified;
11) operating result is fed back to client by proxy server.
As further scheme of the invention:The step 1) in, system manager determines according to the distribution situation of data volume
Adopted chorologic unit, system data library unit is divided by company, city, province, and constituent parts independently define the database of storage, organizes machine
Structure is bound with data configuration information.
As further scheme of the invention:The step 2) in, when increasing database server newly, manual data synchronization
Configuration, the matching of access path is voluntarily completed by Agent layer.
As further scheme of the invention:The step 4) in, game server is used to verify user profile, determines
Proxy path and offer data configuration information.
As further scheme of the invention:The step 5), step 6) in, agency information and data configuration are believed
Cease to share information.
Compared with prior art, the invention has the beneficial effects as follows:The invention mainly relates to be internet, database and network
Engineering technology, specifically includes:Http communication, Web Service .net, ODBC etc., in the present invention, system can be according to data
The distribution situation self-defining chorologic unit of amount, for example:For large enterprise or provincial capital, its portfolio accounts for place province
It is relatively higher, then can be its independent database for defining storage using the enterprise or city as a unit being distributed, no matter
Chorologic unit is province, city or company, and the organization of service unit is all bound with the data configuration information of distribution;This
Bright middle agency information and data configuration information are shared information, do not carry out distribution storage;When the network architecture changes, such as
Newly-increased database server, only needs synchrodata to configure, and the matching in path is voluntarily completed by Agent layer, without shadow in business
Ring;The login service device of the present invention is mainly used in checking user profile, determines proxy path and provides data configuration information, its
Body does not bear the work of agent data;It is an advantage of the current invention that:First, distribution rule is adjusted according to business characteristic, it is both full
Foot business demand, also meets technical requirements;Second, dependence of the system to hardware facility is less, the burden of loaded server
It is less, beneficial to the optimization of loading algorithm;3rd, when hardware dilatation, the impact to business is less.
Description of the drawings
Fig. 1 is method of the present invention flow chart.
Fig. 2 is the application implementation structured flowchart of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Embodiment 1
Fig. 1~2 are referred to, in the embodiment of the present invention, a kind of method of distributed data access is comprised the following steps:
1) system manager is distributed request for data library unit, system database list in management backstage according to the data volume of business
Unit is divided by company, city, province, and constituent parts independently define the database of storage, the organization of chorologic unit and the number of distribution
Bound according to configuration information;
2) backstage creates database according to server resource and the database of application;During newly-increased database server, manually
Synchrodata is configured, and the matching in path is voluntarily completed by Agent layer;
3) system log data place is in main frame, link information, the unit information of data and corresponding business datum
Unit information;
4) client request login service device, there is provided the information such as login account, game server be used for verify user profile,
Determine proxy path and data configuration information is provided, itself does not bear the work of agent data;
5) login service device determines the agency information that user is located according to account information;
6) according to agency information obtaining step 3) the middle corresponding data configuration information of the organization for recording, tissue
Mechanism information and data configuration information are shared information, it is impossible to carry out distribution storage;
7) login service device selects the less proxy server of load by heartbeat detection;
8) login service device is by proxy path and step 6) in the data configuration feedback of the information that obtains to client;
9) client is according to step 8) the middle proxy path request proxy server for transmitting;
10) proxy server is according to step 8) the middle data configuration information transmitted, access the database connection specified;
11) operating result is fed back to client by proxy server.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of spirit or essential attributes without departing substantially from the present invention, the present invention can be in other specific forms realized.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as and limit involved claim.
Moreover, it will be appreciated that although this specification is been described by according to embodiment, not each embodiment is only wrapped
Containing an independent technical scheme, this narrating mode of specification is only that for clarity those skilled in the art should
Using specification as an entirety, the technical scheme in each embodiment can also Jing it is appropriately combined, form those skilled in the art
Understandable other embodiment.
Claims (5)
1. a kind of method of distributed data access, it is characterised in that comprise the following steps:
1) system manager is distributed request for data library unit in management backstage according to the data volume of business;
2) backstage creates database according to server resource and the database of application;
3) unit of the system log data place in main frame, link information, the unit information of data and corresponding business datum
Information;
4) client request login service device, there is provided the information such as login account;
5) login service device determines the agency information that user is located according to account information;
6) according to agency information obtaining step 3) the middle corresponding data configuration information of the organization for recording;
7) login service device selects the less proxy server of load by heartbeat detection;
8) login service device is by proxy path and step 6) in the data configuration feedback of the information that obtains to client;
9) client is according to step 8) the middle proxy path request proxy server for transmitting;
10) proxy server is according to step 8) the middle data configuration information transmitted, access the database connection specified;
11) operating result is fed back to client by proxy server.
2. the method for distributed data access according to claim 1, it is characterised in that the step 1) in, system pipes
Reason person defines chorologic unit according to the distribution situation of data volume, and Database Unit is divided by company, city, province, and constituent parts are independently fixed
The database of adopted storage, organization is bound with data configuration information.
3. the method for distributed data access according to claim 1, it is characterised in that the step 2) in, increase number newly
During according to storehouse server, manual data synchronization configuration, the matching of access path is voluntarily completed by Agent layer.
4. the method for distributed data access according to claim 1, it is characterised in that the step 4) in, log in clothes
Business device is used to verify user profile, determine proxy path and provide data configuration information.
5. the method for distributed data access according to claim 1, it is characterised in that the step 5), step 6) in,
Agency information and data configuration information are shared information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610782470.7A CN106603617A (en) | 2016-08-31 | 2016-08-31 | Method for distributed data access |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610782470.7A CN106603617A (en) | 2016-08-31 | 2016-08-31 | Method for distributed data access |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106603617A true CN106603617A (en) | 2017-04-26 |
Family
ID=58555988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610782470.7A Pending CN106603617A (en) | 2016-08-31 | 2016-08-31 | Method for distributed data access |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106603617A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102693324A (en) * | 2012-01-09 | 2012-09-26 | 西安电子科技大学 | Distributed database synchronization system, synchronization method and node management method |
CN103500180A (en) * | 2013-09-09 | 2014-01-08 | 北京思特奇信息技术股份有限公司 | Distributed transaction processing method based on connection pool management |
CN105760510A (en) * | 2016-02-24 | 2016-07-13 | 浪潮通用软件有限公司 | Database horizontal extension method of software business system |
-
2016
- 2016-08-31 CN CN201610782470.7A patent/CN106603617A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102693324A (en) * | 2012-01-09 | 2012-09-26 | 西安电子科技大学 | Distributed database synchronization system, synchronization method and node management method |
CN103500180A (en) * | 2013-09-09 | 2014-01-08 | 北京思特奇信息技术股份有限公司 | Distributed transaction processing method based on connection pool management |
CN105760510A (en) * | 2016-02-24 | 2016-07-13 | 浪潮通用软件有限公司 | Database horizontal extension method of software business system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10491523B2 (en) | Load distribution in data networks | |
CN104704773B (en) | Cloud storage method and system | |
US10176242B2 (en) | Local key-value database synchronization | |
CN104348849B (en) | Instant messaging key-value data distributing method, server, client and system | |
CN103209223B (en) | distributed application session information sharing method, system and application server | |
CN102523234B (en) | A kind of application server cluster implementation method and system | |
US20130110873A1 (en) | Method and system for data storage and management | |
CN108833503A (en) | A kind of Redis cluster method based on ZooKeeper | |
US20160042014A1 (en) | Distributed database in software driven networks | |
US8572565B2 (en) | Central configuration and transport supporting software lifecycles | |
US20140379656A1 (en) | System and Method for Maintaining a Cluster Setup | |
US20110078200A1 (en) | Systems and methods for conditioning the distribution of data in a hierarchical database | |
CN106489145A (en) | The access method of web site, device and Web site system | |
KR101975614B1 (en) | Automating cloud service reconnections | |
US20080201333A1 (en) | State transition controlled attributes | |
US20100121902A1 (en) | Service delivery online | |
CN104750558A (en) | Resource allocation management method and device of hierarchical quota system | |
CN1939036A (en) | Optimized concurrent data download within a grid computing environment | |
CN106557269A (en) | The method and apparatus of storage cloud disk resource | |
Jacobs | Enterprise Software as Service: Online services are changing the nature of software. | |
US9330271B1 (en) | Fine-grained access control for synchronized data stores | |
CN106713391A (en) | Session information sharing method and sharing system | |
CN110310198A (en) | Management method, device, equipment and the readable storage medium storing program for executing of enterprise's amount information | |
US9537893B2 (en) | Abstract evaluation of access control policies for efficient evaluation of constraints | |
CN109981702A (en) | File storage method and system |
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: 20170426 |