CN103002052B - Resource location method in cloud data base and device - Google Patents

Resource location method in cloud data base and device Download PDF

Info

Publication number
CN103002052B
CN103002052B CN201210567998.4A CN201210567998A CN103002052B CN 103002052 B CN103002052 B CN 103002052B CN 201210567998 A CN201210567998 A CN 201210567998A CN 103002052 B CN103002052 B CN 103002052B
Authority
CN
China
Prior art keywords
data base
user
key
pki
request
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
Application number
CN201210567998.4A
Other languages
Chinese (zh)
Other versions
CN103002052A (en
Inventor
李帅
何磊
高巍
刘鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210567998.4A priority Critical patent/CN103002052B/en
Publication of CN103002052A publication Critical patent/CN103002052A/en
Application granted granted Critical
Publication of CN103002052B publication Critical patent/CN103002052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention proposes the resource location method in a kind of cloud data base and device, the method comprise the steps that user uses the unique user name of user to carry out initial log;User Xiang Yun data base sends the request of a data base in the multiple data bases accessing user, wherein the parameter in request includes port corresponding to the host address corresponding with data base and data base, user a pair PKI in cloud data base and key, and the most each user has the one or more pairs of PKIs the most corresponding with user name and key;A pair PKI and key are associated to determine multiple data bases of user with user name;And determine a data base according to host name and port.Method according to embodiments of the present invention, on the one hand greatly reduces port number, on the other hand provides unified access, unified rights checking and unified management for multi-user cloud data base, thus is easily achieved the database access across application.

Description

Resource location method in cloud data base and device
Technical field
The present invention relates to Internet technical field, particularly relate to the resource location method in a kind of cloud data base and device.
Background technology
Service authentication in cloud environment is a critical services, needs by unified Authority Verification system authentication, such as UAS(User Agent Server, subscriber proxy server), the access_key(PKI of UAS) and secret_key(key) It is applied in cloud data base and the username(user name in data base) and password(password) corresponding.User uses institute Any pair access_key/secret_key belonged to may be coupled to any one cloud data base of correspondence, its medium cloud data All requests in storehouse have and are uniformly accessed into layer, and the front end being uniformly accessed into layer connects different application, and rear end connects data-base cluster, Correct mapping front end request is a problem needing solution badly with back-end data base cluster.
At present, mainly by data base and application binding, each application binds a pair access_key/secret_key, i.e. An access_key/secret_key uniquely corresponding data base, user connects unified by access_key/secret_key Can uniquely position a data base during Access Layer, thus position a rear end, set up a pipeline and communicate.
The greatest drawback that prior art exists is, application, access_key/secret_key and data base's one_to_one corresponding, The data base accessed across application is caused great inconvenience.
Summary of the invention
It is contemplated that at least solve one of above-mentioned technical problem.
To this end, it is an object of the present invention to propose the resource location method in a kind of cloud data base, the method can be big Big minimizing port number and unified management easily realize across application access data base.
Another object of the present invention is to propose the Resource orientation device in a kind of cloud data base.
To achieve these goals, the comprising the following steps of embodiment according to a first aspect of the present invention: user uses use The unique user name in family carries out initial log;User to described cloud data base send access described user multiple data bases in one The request of individual data base, the parameter in wherein said request includes that the host address corresponding with one data base is with described A pair PKI in described cloud data base of port corresponding to one data base, user and key, the most each user have with One or more pairs of PKIs of described user name uniquely correspondence and key;The pair of PKI is relevant to described user name with key Connection is with the multiple data bases determining described user;And determine one data according to described host name and described port Storehouse.
On the one hand the resource location method in cloud data base according to embodiments of the present invention, uses port to combine PKI and close Key, to carrying out identification database, greatly reduces port number, on the other hand as the completely compatible mysql of cloud data base, for multi-user Cloud data base provides unified access, unified rights checking and unified management, thus is easily achieved the data base across application and visits Ask.
To achieve these goals, including of embodiment according to a second aspect of the present invention: initial log module, described at the beginning of Beginning login module is used for receiving the unique user name of user and by its initial log to described cloud data base;Request receives mould Block, described request receiver module sends multiple data bases of the described user of access for receiving described user to described cloud data base In the request of a data base, the parameter in wherein said request include the host address corresponding with one data base and A pair PKI in described cloud data base of port corresponding to one data base, user and key, the most each user has There are the one or more pairs of PKIs the most corresponding with described user name and key;Relating module, described relating module is for by described A pair PKI and key are associated to determine multiple data bases of described user with described user name;And determine module, described Determine that module is for determining one data base according to described host name and described port.
On the one hand the Resource orientation device in cloud data base according to embodiments of the present invention, uses port to combine PKI and close Key, to carrying out identification database, greatly reduces port number, on the other hand as the completely compatible mysql of cloud data base, for multi-user Cloud data base provides unified access, unified rights checking and unified management, thus is easily achieved the data base across application and visits Ask.
Aspect and advantage that the present invention adds will part be given in the following description, and part will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially with easy to understand, wherein,
Fig. 1 is the flow chart of the resource location method in cloud data base according to an embodiment of the invention;
Fig. 2 is the flow chart of the resource location method in the cloud data base according to another embodiment of the present invention;
Fig. 3 is the flow chart of the resource location method in cloud data base in accordance with another embodiment of the present invention;
Fig. 4 is the flow chart of the resource location method in the cloud data base according to further embodiment of the present invention;
Fig. 5 is the structured flowchart of the Resource orientation device in cloud data base according to an embodiment of the invention;
Fig. 6 is the structured flowchart of the Resource orientation device in the cloud data base according to another embodiment of the present invention;
Fig. 7 is the structured flowchart of the Resource orientation device in cloud data base in accordance with another embodiment of the present invention;And
Fig. 8 is the structured flowchart of the Resource orientation device in the cloud data base according to further embodiment of the present invention.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, originally Inventive embodiment includes all changes in the range of the spirit falling into attached claims and intension, revises and be equal to Thing.
In describing the invention, it is to be understood that term " first ", " second " etc. are not only used for describing purpose, and not It is understood that as instruction or hint relative importance.In describing the invention, it should be noted that unless otherwise clear and definite regulation And restriction, term " is connected ", " connection " should be interpreted broadly, and connects for example, it may be fixing, it is also possible to be to removably connect, Or be integrally connected;Can be to be mechanically connected, it is also possible to be electrical connection;Can be to be joined directly together, it is also possible to pass through intermediary It is indirectly connected to.For the ordinary skill in the art, above-mentioned term tool in the present invention can be understood with concrete condition Body implication.Additionally, in describing the invention, except as otherwise noted, " multiple " are meant that two or more.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention Embodiment person of ordinary skill in the field understood.
Below with reference to the accompanying drawings resource location method in cloud data base according to embodiments of the present invention and device are described.
Resource location method in a kind of cloud data base, comprises the following steps: user uses the unique user name of user to enter Row initial log;User Xiang Yun data base sends the request of a data base in the multiple data bases accessing user, wherein asks In parameter include that port corresponding to the host address corresponding with data base and data base, user are cloud data base In a pair PKI and key, the most each user has the one or more pairs of PKIs the most corresponding with user name and key;Will A pair PKI and key are associated to determine multiple data bases of user with user name;And determine according to host name and port One data base.
Fig. 1 is the flow chart of the resource location method in cloud data base according to an embodiment of the invention.
As it is shown in figure 1, the resource location method in cloud data base according to embodiments of the present invention comprises the steps.
Step S101, user uses the unique user name of user to carry out initial log.Wherein, user can use data base Client utility etc. carry out initial log.
Step S102, user Xiang Yun data base sends the request of a data base in the multiple data bases accessing user, its Parameter in middle request includes that port corresponding to the host address corresponding with data base and data base, user are at cloud A pair PKI in data base and key, the most each user has one or more pairs of PKIs the most corresponding with user name and close Key.
Specifically, user can use the client utility etc. of data base to send request to cloud data base, wherein, and main frame ground Location can include the IP address of main frame, and IP address is identical and unique for accessing all users of cloud data base, a use Family can have multipair PKI and key, but a pair PKI and key can only belong to a user, thus a pair PKI and key To being mapped to a user name uid(User Identification, user identity proves).
In one embodiment of the invention, the parameter in request can also include the title of a data base.Thus may be used Asked data base is determined with the direct title by data base and a pair correct PKI and key and user name.
Step S103, is associated to determine multiple data bases of user by a pair PKI and key with user name.
Specifically, after receiving request, can first a pair PKI and key be associated with user name, then basis A pair PKI and key inquire about the multiple data bases corresponding to this user name with user name.Such as, we define 10 ports 4060 ~ 4069, a user at most can apply for 10 data bases, and the port of each data base differs, if uid is 1234 User has applied for 2 data base database1 and database2, and port corresponding respectively is 4060 and 4061, when uid is After the user of 1234 sends request, may determine that this user has 2 according to a pair PKI in request and key with user name Data base.
Step S104, determines a data base according to host name and port.
Such as, uid be 1234 user include port 4061 in the request, then can according to corresponding host name and port To determine that data base is as database2.
On the one hand the resource location method in cloud data base according to embodiments of the present invention, uses port to combine PKI and close Key, to carrying out identification database, greatly reduces port number, and such as, 10000 users, each user allows to be up to 10 numbers According to storehouse, use port as when uniquely identifying, need to open 10000*10=100000 port, if using port to combine public affairs Key and double secret key, it is only necessary to 10 ports, on the other hand as the completely compatible mysql of cloud data base, for multi-user's cloud number There is provided unified access, unified rights checking and unified management according to storehouse, thus be easily achieved the database access across application.
Fig. 2 is the flow chart of the resource location method in the cloud data base according to another embodiment of the present invention.
As in figure 2 it is shown, the resource location method in cloud data base according to embodiments of the present invention comprises the steps.
Step S201, user uses the unique user name of user to carry out initial log.Wherein, user can use data base Client utility etc. carry out initial log.
Step S202, user Xiang Yun data base sends the request of a data base in the multiple data bases accessing user, its Parameter in middle request includes that port corresponding to the host address corresponding with data base and data base, user are at cloud A pair PKI in data base and key, the most each user has one or more pairs of PKIs the most corresponding with user name and close Key.
Specifically, user can use the client utility etc. of data base to send request to cloud data base, wherein, and main frame ground Location can include the IP address of main frame, and IP address is identical and unique for accessing all users of cloud data base, a use Family can have multipair PKI and key, but a pair PKI and key can only belong to a user, thus a pair PKI and key To being mapped to user name uid.
In one embodiment of the invention, the parameter in request can also include the title of a data base.Thus may be used Asked data base is determined with the direct title by data base and a pair correct PKI and key and user name.
Step S203, PKI and key to user are authenticated.
Step S204, if the PKI of user and key are by certification, then by relevant to user name with key for a pair PKI Connection is with the multiple data bases determining user.Wherein, if the PKI of user and key are not authenticated, then prompting client public key and Key input error.
Specifically, after receiving request, can first a pair PKI and key be associated with user name, then basis A pair PKI and key inquire about the multiple data bases corresponding to this user name with user name.Such as, we define 10 ports 4060 ~ 4069, a user at most can apply for 10 data bases, and the port of each data base differs, if uid is 1234 User has applied for 2 data base database1 and database2, and port corresponding respectively is 4060 and 4061, when uid is After the user of 1234 sends request, may determine that this user has 2 according to a pair PKI in request and key with user name Data base.
Step S205, determines a data base according to host name and port.
Such as, uid be 1234 user include port 4061 in the request, then can according to corresponding host name and port To determine that data base is as database2.
The resource location method in cloud data base according to embodiments of the present invention, by carrying out the PKI of user and key First certification is verified, can save step.
Fig. 3 is the flow chart of the resource location method in cloud data base in accordance with another embodiment of the present invention.
As it is shown on figure 3, the resource location method in cloud data base according to embodiments of the present invention comprises the steps.
Step S301, user uses the unique user name of user to carry out initial log.Wherein, user can use data base Client utility etc. carry out initial log.
Step S302, user Xiang Yun data base sends the request of a data base in the multiple data bases accessing user, its Parameter in middle request includes that port corresponding to the host address corresponding with data base and data base, user are at cloud A pair PKI in data base and key, the most each user has one or more pairs of PKIs the most corresponding with user name and close Key.
Specifically, user can use the client utility etc. of data base to send request to cloud data base, wherein, and main frame ground Location can include the IP address of main frame, and IP address is identical and unique for accessing all users of cloud data base, a use Family can have multipair PKI and key, but a pair PKI and key can only belong to a user, thus a pair PKI and key To being mapped to user name uid.
In one embodiment of the invention, the parameter in request can also include the title of a data base.Thus may be used Asked data base is determined with the direct title by data base and a pair correct PKI and key and user name.
Step S303, PKI and key to user are authenticated.
Step S304, if the PKI of user and key are by certification, then by relevant to user name with key for a pair PKI Connection is with the multiple data bases determining user.Wherein, if the PKI of user and key are not authenticated, then prompting client public key and Key input error.
Specifically, after receiving request, can first a pair PKI and key be associated with user name, then basis A pair PKI and key inquire about the multiple data bases corresponding to this user name with user name.Such as, we define 10 ports 4060 ~ 4069, a user at most can apply for 10 data bases, and the port of each data base differs, if uid is 1234 User has applied for 2 data base database1 and database2, and port corresponding respectively is 4060 and 4061, when uid is After the user of 1234 sends request, may determine that this user has 2 according to a pair PKI in request and key with user name Data base.
Step S305, determines a data base according to host name and port.
Such as, uid be 1234 user include port 4061 in the request, then can according to corresponding host name and port To determine that data base is as database2.
Step S306, according to the object entity of the address location of a data base to one data base of actual storage.
Such as, after determining a data base, obtain corresponding address, and position according to address.
In one embodiment of the invention, step S303 is optional.
The resource location method in cloud data base according to embodiments of the present invention, arrives according to the address location of a data base The object entity of one data base of actual storage, can operate corresponding data base.
Fig. 4 is the flow chart of the resource location method in the cloud data base according to further embodiment of the present invention.
As shown in Figure 4, the resource location method in cloud data base according to embodiments of the present invention comprises the steps.
Step S401, user uses the unique user name of user to carry out initial log.Wherein, user can use data base Client utility etc. carry out initial log.
Step S402, user Xiang Yun data base sends the request of a data base in the multiple data bases accessing user, its Parameter in middle request includes that port corresponding to the host address corresponding with data base and data base, user are at cloud A pair PKI in data base and key, the most each user has one or more pairs of PKIs the most corresponding with user name and close Key.
Specifically, user can use the client utility etc. of data base to send request to cloud data base, wherein, and main frame ground Location can include the IP address of main frame, and IP address is identical and unique for accessing all users of cloud data base, a use Family can have multipair PKI and key, but a pair PKI and key can only belong to a user, thus a pair PKI and key To being mapped to user name uid.
In one embodiment of the invention, the parameter in request can also include the title of a data base.Thus may be used Asked data base is determined with the direct title by data base and a pair correct PKI and key and user name.
Step S403, when request in parameter error time, to user's return parameters miscue.Such as, the main frame of request Address does not exists, port numbers mistake etc..
Step S404, PKI and key to user are authenticated.
Step S405, if the PKI of user and key are by certification, then by relevant to user name with key for a pair PKI Connection is with the multiple data bases determining user.Wherein, if the PKI of user and key are not authenticated, then prompting client public key and Key input error.
Specifically, after receiving request, can first a pair PKI and key be associated with user name, then basis A pair PKI and key inquire about the multiple data bases corresponding to this user name with user name.Such as, we define 10 ports 4060 ~ 4069, a user at most can apply for 10 data bases, and the port of each data base differs, if uid is 1234 User has applied for 2 data base database1 and database2, and port corresponding respectively is 4060 and 4061, when uid is After the user of 1234 sends request, may determine that this user has 2 according to a pair PKI in request and key with user name Data base.
Step S406, determines a data base according to host name and port.
Such as, uid be 1234 user include port 4061 in the request, then can according to corresponding host name and port To determine that data base is as database2.
Step S407, according to the object entity of the address location of a data base to one data base of actual storage.
Such as, after determining a data base, obtain corresponding address, and position according to address.
In one embodiment of the invention, step S404 is optional.
The resource location method in cloud data base according to embodiments of the present invention, can point out user required parameter mistake.
In order to realize above-described embodiment, the present invention also proposes the Resource orientation device in a kind of cloud data base.
Resource orientation device in a kind of cloud data base, it is characterised in that including: initial log module, initial log mould Block is used for receiving the unique user name of user and by its initial log to cloud data base;Request receiver module, request receives mould Block is used for receiving user Xiang Yun data base and sends the request of a data base in the multiple data bases accessing user, wherein in request Parameter include that port corresponding to the host address corresponding with data base and data base, user are in cloud data base A pair PKI and key, the most each user has the one or more pairs of PKIs the most corresponding with user name and key;Association Module, relating module for being associated to determine multiple data bases of user by a pair PKI and key with user name;And really Cover half block, determines that module is for determining a data base according to host name and port.
Fig. 5 is the structured flowchart of the Resource orientation device in cloud data base according to an embodiment of the invention.
As it is shown in figure 5, the Resource orientation device in cloud data base according to embodiments of the present invention includes: initial log module 100, ask receiver module 200, relating module 300 and determine module 400.
Specifically, initial log module 100 is used for receiving the unique user name of user and by its initial log to cloud data In storehouse.Wherein, user can use the client utility etc. of data base to carry out initial log.
Request receiver module 200 is used for receiving user Xiang Yun data base and sends a number in the multiple data bases accessing user According to the request in storehouse, wherein the parameter in request includes that the host address corresponding with data base is corresponding with a data base A pair PKI in cloud data base of port, user and key, the most each user has a pair the most corresponding with user name Or multipair PKI and key.More specifically, the client utility etc. that user can use data base sends request to cloud data base, Wherein, host address can include the IP address of main frame, and IP address is identical and only for accessing all users of cloud data base One, a user can have multipair PKI and a key, but a pair PKI and key can only belong to user, thus a pair PKI and double secret key are mapped to user name uid.
In one embodiment of the invention, the parameter in request can also include the title of a data base.Thus may be used Asked data base is determined with the direct title by data base and a pair correct PKI and key and user name.
Relating module 300 for being associated to determine multiple data bases of user by a pair PKI and key with user name. More specifically, after receiving request, first a pair PKI and key can be associated, so by relating module 300 with user name The multiple data bases corresponding to this user name are inquired about with user name afterwards according to a pair PKI and key.Such as, we define 10 Individual port 4060 ~ 4069, a user at most can apply for 10 data bases, and the port of each data base differs, as uid is The user of 1234 has applied for 2 data base database1 and database2, and port corresponding respectively is 4060 and 4061, when asking After the request that ask receiver module 200 to receive user that uid is 1234 sends, relating module 300 can be according in request With user name, a pair PKI and key may determine that this user has 2 data bases.
Determine that module 400 is for determining a data base according to host name and port.Such as, uid is the user of 1234 Include port 4061 in the request, it is determined that according to corresponding host name and port, module 400 may determine that data base is database2。
On the one hand the Resource orientation device in cloud data base according to embodiments of the present invention, uses port to combine PKI and close Key, to carrying out identification database, greatly reduces port number, and such as, 10000 users, each user allows to be up to 10 numbers According to storehouse, use port as when uniquely identifying, need to open 10000*10=100000 port, if using port to combine public affairs Key and double secret key, it is only necessary to 10 ports, on the other hand as the completely compatible mysql of cloud data base, for multi-user's cloud number There is provided unified access, unified rights checking and unified management according to storehouse, thus be easily achieved the database access across application.
Fig. 6 is the structured flowchart of the Resource orientation device in the cloud data base according to another embodiment of the present invention.
As shown in Figure 6, the Resource orientation device in cloud data base according to embodiments of the present invention includes: initial log module 100, ask receiver module 200, relating module 300, determine module 400 and authentication module 500.
Specifically, initial log module 100 is used for receiving the unique user name of user and by its initial log to cloud data In storehouse.Request receiver module 200 is used for receiving user Xiang Yun data base and sends data in the multiple data bases accessing user The request in storehouse, wherein the parameter in request includes the end that the host address corresponding with data base is corresponding with a data base Mouthful, the user's a pair PKI in cloud data base and key, the most each user have a pair the most corresponding with user name or Multipair PKI and key.Authentication module 500 is for being authenticated PKI and the key of user, if the PKI of user and key The certification of not authenticated module 500, then prompting client public key and key input error, if the PKI of user and key pass through The certification of authentication module 500, then relating module 300 is for being associated to determine user's with user name by a pair PKI and key Multiple data bases, determine that module 400 is for determining a data base according to host name and port.
The Resource orientation device in cloud data base according to embodiments of the present invention, by authentication module to the PKI of user and Key is authenticated first verifying, can save step.
Fig. 7 is the structured flowchart of the Resource orientation device in cloud data base in accordance with another embodiment of the present invention.
As it is shown in fig. 7, the Resource orientation device in cloud data base according to embodiments of the present invention includes: initial log module 100, ask receiver module 200, relating module 300, determine module 400, authentication module 500 and locating module 600.
Specifically, initial log module 100 is used for receiving the unique user name of user and by its initial log to cloud data In storehouse.Request receiver module 200 is used for receiving user Xiang Yun data base and sends data in the multiple data bases accessing user The request in storehouse, wherein the parameter in request includes the end that the host address corresponding with data base is corresponding with a data base Mouthful, the user's a pair PKI in cloud data base and key, the most each user have a pair the most corresponding with user name or Multipair PKI and key.Authentication module 500 is for being authenticated PKI and the key of user.Relating module 300 is for by one PKI and key are associated to determine with user name multiple data bases of user, determine module 400 for according to host name with And port determines a data base.Locating module 600 is used for the address location according to a data base to actual storage one number According to the object entity in storehouse, such as, after determining a data base, obtain corresponding address, and position according to address.
In one embodiment of the invention, authentication module 500 is optional.
The Resource orientation device in cloud data base according to embodiments of the present invention, can be according to a number by locating module According to the address location in storehouse to the object entity of one data base of actual storage, corresponding data base can be operated.
Fig. 8 is the structured flowchart of the Resource orientation device in the cloud data base according to further embodiment of the present invention.
As shown in Figure 8, the Resource orientation device in cloud data base according to embodiments of the present invention includes: initial log module 100, ask receiver module 200, relating module 300, determine module 400, authentication module 500, locating module 600 and feedback module 700。
Specifically, initial log module 100 is used for receiving the unique user name of user and by its initial log to cloud data In storehouse.Request receiver module 200 is used for receiving user Xiang Yun data base and sends data in the multiple data bases accessing user The request in storehouse, wherein the parameter in request includes the end that the host address corresponding with data base is corresponding with a data base Mouthful, the user's a pair PKI in cloud data base and key, the most each user have a pair the most corresponding with user name or Multipair PKI and key.Authentication module 500 is for being authenticated PKI and the key of user.Relating module 300 is for by one PKI and key are associated to determine with user name multiple data bases of user, determine module 400 for according to host name with And port determines a data base.Locating module 600 is used for the address location according to a data base to actual storage one number Object entity according to storehouse.Feedback module 700 is for during when parameter error in request, to user's return parameters miscue, example As, the host address of request does not exists, port numbers mistake etc..
In one embodiment of the invention, authentication module 500 is optional.
In one embodiment of the invention, locating module 600 is optional.
The Resource orientation device in cloud data base according to embodiments of the present invention, can point out user to ask by reminding module Seek parameter error.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, permissible Understand and these embodiments can be carried out multiple change without departing from the principles and spirit of the present invention, revise, replace And modification, the scope of the present invention is limited by claims and equivalent thereof.

Claims (10)

1. the resource location method in a cloud data base, it is characterised in that comprise the following steps:
User uses the unique user name of user to carry out initial log;
User sends the request of a data base in the multiple data bases accessing described user to described cloud data base, wherein said Parameter in request includes port, the use that the host address corresponding with one data base is corresponding with one data base The family a pair PKI in described cloud data base and key, the most each user has a pair the most corresponding with described user name Or multipair PKI and key;
The pair of PKI and key are associated to determine multiple data bases of described user with described user name;
One data base is determined according to described host address and described port;
Address location according to one data base is to the object entity of actual storage one data base.
Method the most according to claim 1, it is characterised in that farther include step:
PKI and key to described user are authenticated.
Method the most according to claim 1, it is characterised in that farther include step:
When parameter error in described request, to user's return parameters miscue.
The most according to the method in any one of claims 1 to 3, it is characterised in that the parameter in described request also includes institute State the title of a data base.
The most according to the method in any one of claims 1 to 3, it is characterised in that described host address includes described main frame IP address, described IP address for access described cloud data base all users be identical and unique.
6. the Resource orientation device in a cloud data base, it is characterised in that including:
Initial log module, described initial log module is used for receiving the unique user name of user and by its initial log to described In cloud data base;
Request receiver module, described request receiver module is used for receiving described user and sends the described use of access to described cloud data base The request of a data base in multiple data bases at family, the parameter in wherein said request includes corresponding with one data base The host address port corresponding with one data base, the user's a pair PKI in described cloud data base and key, its In each user there is the one or more pairs of PKIs the most corresponding with described user name and key;
Relating module, described relating module is described in be associated the pair of PKI and key with described user name to determine Multiple data bases of user;
Determine module, described determine that module is for determining one data base according to described host address and described port;
Locating module, described locating module is used for the address location according to one data base to actual storage one number Object entity according to storehouse.
Device the most according to claim 6, it is characterised in that farther include:
Authentication module, described authentication module is for being authenticated PKI and the key of described user.
Device the most according to claim 6, it is characterised in that farther include:
Feedback module, described feedback module is for during when parameter error in described request, to user's return parameters miscue.
9. according to the device according to any one of claim 6 to 8, it is characterised in that the parameter in described request also includes institute State the title of a data base.
10. according to the device according to any one of claim 6 to 8, it is characterised in that described host address includes described main frame IP address, described IP address for access described cloud data base all users be identical and unique.
CN201210567998.4A 2012-12-24 2012-12-24 Resource location method in cloud data base and device Active CN103002052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210567998.4A CN103002052B (en) 2012-12-24 2012-12-24 Resource location method in cloud data base and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210567998.4A CN103002052B (en) 2012-12-24 2012-12-24 Resource location method in cloud data base and device

Publications (2)

Publication Number Publication Date
CN103002052A CN103002052A (en) 2013-03-27
CN103002052B true CN103002052B (en) 2016-12-28

Family

ID=47930185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210567998.4A Active CN103002052B (en) 2012-12-24 2012-12-24 Resource location method in cloud data base and device

Country Status (1)

Country Link
CN (1) CN103002052B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714170A (en) * 2013-12-31 2014-04-09 北京智谷睿拓技术服务有限公司 Data access information release and access method and device
CN105391541B (en) * 2015-09-30 2019-02-19 金邦达有限公司 A kind of card personalization data processing equipment and method
CN105376242A (en) * 2015-11-26 2016-03-02 上海斐讯数据通信技术有限公司 Cloud terminal data access authentication method, cloud terminal data access authentication system and cloud terminal management system
CN111506553B (en) * 2019-01-31 2023-07-04 阿里巴巴集团控股有限公司 Function setting method and device for database

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457507A (en) * 2010-10-29 2012-05-16 中兴通讯股份有限公司 Secure sharing method, device and system for cloud computing resources

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457507A (en) * 2010-10-29 2012-05-16 中兴通讯股份有限公司 Secure sharing method, device and system for cloud computing resources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
云数据库说明;lostmj;《百度文库,网址:http://wenku.baidu.com/link?url=CyMaho_ui8NxWjFN82m42-KGUP_v-TojynKmkCQoyTNGgb8vQdKmGwKt9MXPv8aXFz1-uTsaysJ5C9PPRkUP-nUZ7i3NaHR18TI9MO8kG-3》;20121211;第1-3页 *

Also Published As

Publication number Publication date
CN103002052A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
US11323441B2 (en) System and method for proxying federated authentication protocols
US11128612B1 (en) Zero-touch provisioning of IoT devices with multi factor authentication
CN108462704B (en) Login validation method, device, computer equipment and storage medium
US10735182B2 (en) Apparatus, system, and methods for a blockchain identity translator
KR102036758B1 (en) Fast smart card logon and federated full domain logon
CN105007280B (en) A kind of application login method and device
CN102143134B (en) Method, device and system for distributed identity authentication
RU2515809C2 (en) Methods for facilitating secure self-initialisation of subscriber devices in communication system
US10382213B1 (en) Certificate registration
WO2009002705A2 (en) Device provisioning and domain join emulation over non-secured networks
US20120240212A1 (en) Systems and methods for generating modular security delegates for applications
CN105593866B (en) Terminal authentication and register system, terminal authentication and register method and storage medium
JP6940584B2 (en) Internet of Things (IoT) security and management systems and methods
CN103002052B (en) Resource location method in cloud data base and device
US11196733B2 (en) System and method for group of groups single sign-on demarcation based on first user login
CN109388937B (en) Single sign-on method and sign-on system for multi-factor identity authentication
CN114531945A (en) Template-based loading of web-enabled devices
EP3338429A1 (en) Anonymous device operation
US10880302B2 (en) Systems and methods for biometric authentication of certificate signing request processing
CN113765655A (en) Access control method, device, equipment and storage medium
US20120227095A1 (en) Systems and methods for generating modular security delegates for applications
CN108347333A (en) A kind of identity identifying method of terminal, device
CN109313681A (en) Virtual smart card with audit function
CN105991631A (en) Client device access authentication method and client device access authentication device
CN102438014B (en) Back-end constrained delegation model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant