A database access method and system thereof
An access method and database technology, applied in database management systems, electronic digital data processing, structured data retrieval, etc., can solve problems such as lack of methods and systems, avoid low data access rates and network congestion, improve efficiency, and ensure The effect of visits
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] see figure 1 As shown, the embodiment of the present application provides a database access method, which specifically includes the following steps:
[0054] Step S102, obtaining a service request;
[0055] The service request is sent by the client, and the service request is used to request access to the database.
[0056] Step S104, judging the type of the service request; wherein, the type of the service request includes: services related to public data and services related to personal data;
[0057] In this embodiment of the application, the business is classified according to the data requested by the obtained business request. If the purpose of the obtained business request is to request access to public data or upload public data and other operations related to public data, the business request The type is business related to public data; and when the data requested by the business request is personal data, if the purpose of the business request is to view or c...
Embodiment 2
[0066] see figure 2 As shown, the embodiment of the present application provides a database access method, which mainly includes the following steps:
[0067] Step S200, in a specific area, build the same number of main database master nodes and the same number of sub-database master nodes.
[0068] In this embodiment of the application, provinces and municipalities can be used as units to build the same number of main database master nodes and the same number of sub-database master nodes in each province and municipality.
[0069] For example, build a main database master node and ten sub-database master nodes in each province or municipality, or build a main database master node and 20 sub-database master nodes in each province or municipality.
[0070] It is pointed out here that the specific numbers listed above for the master nodes of the main database and the master nodes of the sub-database are only for the convenience of explanation, and are not specific limitations ...
Embodiment 3
[0113] Corresponding to the database access method disclosed above, the embodiment of this application discloses a database access system, see image 3 As shown, it mainly includes:
[0114] A service acquisition module 32, configured to acquire a service request;
[0115] A judging module 34, configured to judge the type of the business request; wherein, the type includes business related to public data and business related to personal data;
[0116] Forwarding module 36, if the type of the business request is a business related to public data, then forward the business to the corresponding master database master node; if the type of the business request is a business related to personal data, then forward the business to The service is forwarded to the corresponding master node of the sub-library.
[0117] The database access system described in the embodiment of the present application can be set in a client, and before sending a service request, the client can first requ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com