CN110392015A - A kind of method and system of processing business request - Google Patents
A kind of method and system of processing business request Download PDFInfo
- Publication number
- CN110392015A CN110392015A CN201810344659.7A CN201810344659A CN110392015A CN 110392015 A CN110392015 A CN 110392015A CN 201810344659 A CN201810344659 A CN 201810344659A CN 110392015 A CN110392015 A CN 110392015A
- Authority
- CN
- China
- Prior art keywords
- rados
- target
- key
- management server
- mark
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- 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/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Storage Device Security (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method and systems of processing business request, belong to technical field of data storage.The described method includes: when receiving the service request of target user, management server determines target RADOS mark and target RADOS key according to the account identification of the target user, wherein, the target RADOS key is in advance based on the target RADOS mark by the management server and generates;Management server service request according to the target RADOS key pair is pre-processed;The management server identifies the target RADOS that corresponding target RADOS GW, Xiang Suoshu target RADOS GW is directed toward by the preconfigured target RADOS and sends pretreated service request;The target RADOS GW obtains pretreated service request described in the corresponding RADOS key authentication of target RADOS, if be proved to be successful, sends the service request to the target RADOS, otherwise feedback error information.Using the present invention, it is ensured that the service quality of the file storage service of RADOS cluster.
Description
Technical field
The present invention relates to technical field of data storage, in particular to a kind of method and system of processing business request.
Background technique
CEPH cluster is a distributed file system under (SuSE) Linux OS, RADOS (Reliable
Autonomic Distributed Object Store, reliable autonomous distributed objects storage) cluster is CEPH cluster
Core can be constituted based on multiple RADOS and provide the distributed memory system of file storage service.
RADOS GW (RADOS Gateway, RADOS gateway) is one and provides and Amazon S3 agreement and Swift agreement
Compatible RESTful API (RESTful Application Programming Interface, application programming interface)
Gateway, CEPH cluster can provide file storage service by RADOS GW for cloud service provider, each RADOS GW corresponding one
A RADOS, each RADOS are corresponding with multiple RADOS GW, and all service requests of user reach the management service of cloud service provider
After device, service request can be passed to corresponding RADOS by RADOS GW by management server.It is sent when receiving user
Service request after, management server can first pass through RADOS GW for the protocol format of service request by Amazon S3 agreement
Or then service request is sent to RADOS at the identifiable agreement of RADOS by Swift protocol conversion, be somebody's turn to do so that RADOS is executed
Service request.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Between there are multiple RADOS as shown in Figure 1, there are (RADOS2- when the case where RADOS GW configuration error
RADOS GW1 should be configured to RADOS2, but actual disposition is to RADOS1) because RADOS2-RADOS GW1 with
RADOS2-RADOS GW2 originally belongs to the same RADOS, once file is uploaded to RADOS1 by RADOS2-RADOS GW1, such as
Fruit is downloaded by RADOS2-RADOS GW2, then will lead to can not find file in RADOS2, in this way, RADOS cluster
The service quality of file storage service will be a greater impact.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of processing business request method and be
System.The technical solution is as follows:
In a first aspect, providing a kind of method of processing business request, which comprises
When receiving the service request of target user, management server is determined according to the account identification of the target user
Target RADOS mark and target RADOS key, wherein the target RADOS key is in advance based on institute by the management server
Target RADOS mark is stated to generate;
Management server service request according to the target RADOS key pair is pre-processed;
The management server identifies corresponding target RADOS GW by the preconfigured target RADOS, to institute
The target RADOS for stating target RADOS GW direction sends pretreated service request;
The target RADOS GW obtains pretreated business described in the corresponding RADOS key authentication of target RADOS and asks
It asks, if be proved to be successful, sends the service request to the target RADOS, otherwise feedback error information.
Optionally, the method also includes:
When receiving the registration request of target user, the management server determines at least one RADOS, and creates institute
State the corresponding basic authentication key of target user;
For each RADOS at least one described RADOS, the management server is according to the RADOS of the RADOS
Mark and the basic authentication key, create the corresponding RADOS key of the RADOS;
The management server is by the account of the RADOS of the RADOS key, RADOS mark and the target user
The corresponding storage of family mark, and the RADOS key is sent to the RADOS and is stored.
Optionally, after the target RADOS feedback error information, further includes:
The management server reconfigures the target RADOS GW, so that the target RADOS GW is directed toward
The target RADOS identifies corresponding RADOS.
Optionally, described when receiving the service request of target user, management server is according to the target user's
Account identification determines target RADOS mark and target RADOS key, comprising:
When receiving the file upload request of target user, the management server determines the target being locally stored
Corresponding at least one RADOS mark of the account identification of user;
The management server obtains the weight that at least one described RADOS identifies corresponding RADOS, wherein the power
It is worth the residual memory space based on the RADOS and calculates generation;
The management server determines that the RADOS of the RADOS of the maximum weight is identified as target RADOS mark, and really
It is target RADOS key that the fixed target RADOS, which identifies corresponding RADOS key,.
Optionally, described when receiving the service request of target user, management server is according to the target user's
Account identification determines target RADOS mark and target RADOS key, comprising:
When receiving the file download request of file destination of target user's transmission, the management server is according to
The file identification of the account identification of target user and the file destination reads institute in the profile store list of local maintenance
State the metadata information of file destination;
The RADOS information that the management server includes in the metadata information according to the file destination determines target
RADOS;
The RADOS mark of the target RADOS is determined as target RADOS mark by the management server, and will be described
The RADOS key of target RADOS is determined as target RADOS key.
Second aspect provides a kind of system of processing business request, and the system comprises management servers and multiple
RADOS, in which:
The management server, for when receiving the service request of target user, according to the account of the target user
Family, which identifies, determines target RADOS mark and target RADOS key, wherein the target RADOS key is by the management server
It is in advance based on the target RADOS mark to generate, be pre-processed according to service request described in the target RADOS key pair,
The mesh that corresponding target RADOS GW, Xiang Suoshu target RADOS GW is directed toward is identified by the preconfigured target RADOS
It marks RADOS and sends pretreated service request;
The target RADOS GW is asked for obtaining pretreated business described in the RADOS key authentication of target RADOS
It asks, if be proved to be successful, sends the service request to the target RADOS, otherwise feedback error information.
Optionally, the management server, is also used to:
When receiving the registration request of target user, at least one RADOS is determined, and it is corresponding to create the target user
Basic authentication key;
For each RADOS at least one described RADOS, according to the RADOS of RADOS mark and the basis
Authentication key creates the corresponding RADOS key of the RADOS;
The account identification of the RADOS mark of the RADOS key, the RADOS and the target user is corresponded into storage,
And the RADOS key is sent to the RADOS and is stored.
Optionally, the management server, is also used to:
After the target RADOS feedback error information, the target RADOS GW is reconfigured, so that described
Target RADOS GW is directed toward the target RADOS and identifies corresponding RADOS.
Optionally, the management server, is specifically used for:
When receiving the file upload request of target user, the account identification for the target user being locally stored is determined
Corresponding at least one RADOS mark;
Obtain the weight that at least one described RADOS identifies corresponding RADOS, wherein the weight is based on the RADOS
Residual memory space calculate generate;
It determines that the RADOS of the RADOS of the maximum weight is identified as target RADOS mark, and determines the target RADOS
Identifying corresponding RADOS key is target RADOS key.
Optionally, the management server, is specifically used for:
When receiving the file download request of file destination of target user's transmission, according to the account of the target user
The file identification of mark and the file destination reads the member of the file destination in the profile store list of local maintenance
Data information;
Target RADOS is determined according to the RADOS information for including in the metadata information of the file destination;
The RADOS mark of the target RADOS is determined as target RADOS mark, and by the target RADOS's
RADOS key is determined as target RADOS key.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, when receiving the service request of target user, management server is according to target user's
Account identification determines target RADOS mark and target RADOS key, wherein target RADOS key is by the preparatory base of management server
It identifies and generates in target RADOS, management server is pre-processed according to target RADOS key pair service request, management service
Device identifies corresponding target RADOS GW by preconfigured target RADOS, the target RADOS being directed toward to target RADOS GW
Pretreated service request is sent, it is pretreated that target RADOS GW obtains the corresponding RADOS key authentication of target RADOS
Service request sends service request to target RADOS, otherwise feedback error information if be proved to be successful.In this way, different
RADOS is corresponding with different RADOS keys, when management server is interactive with specified RADOS by RADOS GW, it will using should
The RADOS key of RADOS, and if RADOS GW configuration error, RADOS GW will be unable to the RADOS by corresponding RADOS
Key authentication success, so RADOS GW configuration error can be found in time, it is possible to prevente effectively from because RADOS GW configuration is wrong
The problem of file can not be found after uploading caused by accidentally, so as to guarantee that the file of RADOS cluster is deposited to a certain extent
Store up the service quality of service.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of RADOS GW error configurations schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of network frame schematic diagram of processing business request provided in an embodiment of the present invention;
Fig. 3 is a kind of method flow diagram of processing business request provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow diagram for creating RADOS key provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The embodiment of the invention provides a kind of methods of processing business request, and this method can be by management server and CEPH
Cluster is realized jointly, wherein management server can be the background server of cloud service provider, and CEPH cluster can be cloud service provider
Back-end services cluster, user can access management server by cloud service client, to be provided using CEPH cluster
Business service, such as file storage service.It may include RADOS cluster in CEPH cluster, RADOS cluster can be by a large amount of
RADOS is constituted, and each RADOS can independently be one or more users and provide file storage service, and multiple RADOS can also
To serve a user simultaneously, specifically, multiple RADOS may be constructed a RADOS group, each RADOS group services one
User can increase new RADOS in the RADOS group when the capacity of a RADOS group has been expired, and specific network frame can be with
With reference to Fig. 2.Above-mentioned management server, RADOS may each comprise processor, memory, transceiver, and processor can be used for carrying out
In following processes processing business request processing, memory can be used for storing the data needed in following treatment processes and
The data of generation, transceiver can be used for sending and receiving the related data in following treatment processes.
Below in conjunction with specific embodiment, process flow shown in Fig. 3 is described in detail, content can be as
Under:
Step 301, when receiving the service request of target user, management server is according to the account identification of target user
Determine target RADOS mark and target RADOS key.
Wherein, target RADOS key is in advance based on target RADOS mark by management server and generates.
In an implementation, it after user buys file storage service in cloud service provider side, can be taken by the cloud installed in terminal
Client of being engaged in sends corresponding service request to the background server (i.e. management server) of cloud service provider, as file upload is asked
It asks, file download request etc., so that management server can receive the service request of user's transmission, and based on rear end
RADOS executes corresponding service request.Specifically, by taking target user as an example, when receiving the service request of target user, pipe
Reason server can read the account identification of the target user carried in the service request, then can be identified according to the account true
The RADOS mark (i.e. target RADOS mark) of the RADOS for executing the service request is made, and pre- by management server
The target RADOS key first generated based on target RADOS mark.
Optionally, the file storage service that management server provides mainly includes file upload services and file download clothes
Business, based on two kinds of services, the specific processing of step 301 can be as follows respectively:
First, file upload services:
When receiving the file upload request of target user, management server determines the account for the target user being locally stored
Family identifies corresponding at least one RADOS mark;Management server obtains the power that at least one RADOS identifies corresponding RADOS
Value;Management server determines that the RADOS of the RADOS of maximum weight is identified as target RADOS mark, and determines target RADOS mark
Knowing corresponding RADOS key is target RADOS key.
Wherein, weight is calculated based on the residual memory space of RADOS and is generated.
In an implementation, equally by taking target user as an example, when receiving the file upload request of target user, management service
Device can first obtain the account identification of target user based on file upload request, then in all RADOS mark being locally stored
Search corresponding at least one RADOS mark of account identification of target user.Later, management server it is available these
RADOS identifies the weight of corresponding RADOS, specifically, the remaining storage that management server can be periodically detected each RADOS is empty
Between, it is then based on residual memory space and calculates the weight for generating each RADOS, wherein the remaining storage of the bigger RADOS of weight is empty
Between it is more.In turn, the RADOS mark of the RADOS of maximum weight in above-mentioned RADOS can be determined as target by management server
RADOS mark, and target RADOS is identified into corresponding RADOS key and is determined as target RADOS key.Certainly, in a kind of situation
Under, management server can also be examined in real time after corresponding at least one RADOS mark of the account identification that target user has been determined
Survey the weight that these RADOS identify corresponding RADOS.
Second, file download service:
When receiving the file download request of file destination of target user's transmission, management server is according to target user
Account identification and the file identification of file destination read first number of file destination in the profile store list of local maintenance
It is believed that breath;Management server determines target RADOS according to the RADOS information for including in the metadata information of file destination;Management
The RADOS mark of target RADOS is determined as target RADOS mark by server, and the RADOS key of target RADOS is determined
For target RADOS key.
Wherein, profile store list record has the metadata information of stored All Files in RADOS cluster.
In an implementation, the profile store list of RADOS cluster can be safeguarded in management server, in profile store list
Record has the metadata information of stored All Files in RADOS cluster, and management server sends text to a RADOS every time
After part upload request, the metadata information of associated documents can be added in this document storage list.In this way, when receiving mesh
When marking the file download request for the file destination that user sends, management server can first obtain the mesh of file download request carrying
The account identification of user and the file identification of file destination are marked, it later can be in the profile store list of local maintenance according to upper
It states account identification and file identification determines file destination, and read the metadata information of file destination.Next, management server
RADOS (the i.e. target where file destination can be determined according to the RADOS information for including in the metadata information of file destination
RADOS), thus, management server, which can identify the RADOS of target RADOS, be determined as target RADOS mark, and by target
The RADOS key of RADOS is determined as target RADOS key.
Step 302, management server is pre-processed according to target RADOS key pair service request.
In an implementation, management server, can be according to target RADOS key pair after target RADOS key has been determined
Service request is pre-processed.Herein, pretreated mode can such as be can be by technical staff's sets itself of cloud service side
Target RADOS key is directly added in service request, is also possible to be encrypted using target RADOS key pair service request
Processing etc..
Step 303, management server identifies corresponding target RADOS GW by preconfigured target RADOS, to mesh
It marks the target RADOS that RADOS GW is directed toward and sends pretreated service request.
In an implementation, management server can dispose RADOS GW, each RADOS for each RADOS on backstage in advance
GW is directed toward only one RADOS, and each RADOS may exist multiple RADOS GW, can be with by RADOS GW management server
The service request of the user received is forwarded to RADOS, meanwhile, management server can identify corresponding RADOS with RADOS
The mode of GW records and stores the deployment scenario of RADOS GW.In this way, after being pre-processed to service request, management service
Device can determine that preconfigured target RADOS identifies corresponding target according to the deployment scenario for the RADOS GW being locally stored
RADOS GW.In turn, management server can be sent based on the target RADOS that target RADOS GW is directed toward to target RADOS GW
Pretreated service request.It is noted that RADOS GW can be understood as the data channel that RADOS is interacted with the external world,
It can be only fitted in any feasible equipment, and in the present embodiment, RADOS GW can be only fitted in management server, can also
To configure in an independent equipment, further, if there are centre management equipment for RADOS cluster, RADOS GW can also
To configure in the centre management equipment.
Step 304, target RADOS GW obtains the corresponding pretreated business of RADOS key authentication of target RADOS and asks
It asks, if be proved to be successful, sends service request to target RADOS, otherwise feedback error information.
In an implementation, RADOS key, the RADOS key of different RADOS storages can be equally previously stored in RADOS
Difference, each RADOS can store at least one RADOS key, and each RADOS key can be used for only one user's
The verification processing of service request.In this way, target RADOS GW receives the pretreated service request of management server transmission
Later, verification processing, tool can be carried out based on the pretreated service request of the corresponding RADOS key pair of target RADOS is obtained
The verification mode of body can carry out correspondence based on the pretreatment mode in step 302 by the technical staff of management server side and set
It sets, such as: if pretreatment is directly to add target RADOS key in service request, it is pre- that verification mode can be detection
It whether include target RADOS key in the RADOS key first stored;If pretreatment is to utilize target RADOS key pair business
Request is encrypted, then verification mode, which can be, judges whether to ask by pre-stored RADOS key pair business
Seek successful decryption.If be proved to be successful, service request can be sent to target RADOS if target RADOS GW, so that target
RADOS executes corresponding service request, and if be not proved to be successful, and target RADOS GW if can feed back wrong to management server
False information.
Optionally, management server can adjust RADOS GW configuration in time based on the RADOS GW error message fed back,
Correspondingly, may exist following processing after step 304: management server reconfigures target RADOS GW, so that
Target RADOS GW is directed toward target RADOS and identifies corresponding RADOS.
In an implementation, management server sends pretreated service request to target RADOS by target RADOS GW
Afterwards, if receiving the error message of target RADOS GW feedback, target RADOS GW possible configuration mistake has been directed toward mistake
RADOS.In turn, management server can reconfigure target RADOS GW, so that target RADOS GW is directed toward mesh
It marks RADOS and identifies corresponding RADOS.Further, after the error message for receiving target RADOS feedback, management server
It can also selectively believe to user feedback internal error information or countdown according to the time required to reconfiguring RADOS GW
Breath etc..
In the embodiment of the present invention, when receiving the service request of target user, management server is according to target user's
Account identification determines target RADOS mark and target RADOS key, wherein target RADOS key is by the preparatory base of management server
It identifies and generates in target RADOS, management server is pre-processed according to target RADOS key pair service request, management service
Device identifies corresponding target RADOS GW by preconfigured target RADOS, the target RADOS being directed toward to target RADOS GW
Pretreated service request is sent, it is pretreated that target RADOS GW obtains the corresponding RADOS key authentication of target RADOS
Service request sends service request to target RADOS, otherwise feedback error information if be proved to be successful.In this way, different
RADOS is corresponding with different RADOS keys, when management server is interactive with specified RADOS by RADOS GW, it will using should
The RADOS key of RADOS, and if RADOS GW configuration error, RADOS GW will be unable to the RADOS by corresponding RADOS
Key authentication success, so RADOS GW configuration error can be found in time, it is possible to prevente effectively from because RADOS GW configuration is wrong
The problem of file can not be found after uploading caused by accidentally, so as to guarantee that the file of RADOS cluster is deposited to a certain extent
Store up the service quality of service.
The present embodiment also discloses a kind of method for creating RADOS key, specifically as shown in figure 4, content can be such that
Step 401, when receiving the registration request of target user, management server determines at least one RADOS, and creates
Build the corresponding basic authentication key of target user.
In an implementation, when user wants to obtain the file storage service of cloud service provider offer, user can pass through terminal
The cloud service client of upper installation sends registration request to the background server (i.e. management server) of cloud service provider, to manage
Server can receive the request of user's transmission, and the RADOS for being then based on rear end provides file storage service for user.With mesh
For marking user, when receiving the registration request of target user, management server can distribute RADOS for target user, i.e.,
It determines at least one RADOS, while creating the corresponding basic authentication key of target user.Herein, on the one hand, in distribution RADOS
When, management server can determine distribution according to the portfolio size of user and the remaining amount of storage of each RADOS
RADOS;On the other hand, the basic authentication key of each of management server creation uniquely corresponds to a user, different user pair
The basic authentication key answered is different, and basic authentication key can generate at random, or can be in conjunction with the account identification life of user
At.
Step 402, for each RADOS at least one RADOS, management server according to the RADOS of RADOS mark and
Basic authentication key, the corresponding RADOS key of creation RADOS.
In an implementation, management server is after having determined at least one RADOS for target user, for therein each
RADOS, management server can first determine the RADOS mark of RADOS, then be reflected according to RADOS mark and above-mentioned basis
Key is weighed, the corresponding RADOS key of the RADOS is created.It is appreciated that due to RADOS key be based on basic authentication key and
RADOS mark generates, and each basic authentication key uniquely corresponds to a user, so, same user is right in different RADOS
The RADOS key answered is different, and the corresponding RADOS key of the different user in same RADOS is also different.
Step 403, management server is by the account identification pair of the RADOS of RADOS key, RADOS mark and target user
It should store, and RADOS key is sent to RADOS and is stored.
In an implementation, management server is creating corresponding RADOS for each RADOS determined in step 401
After key, the RADOS of RADOS key, RADOS can be identified and the account identification of target user correspondence is stored in local,
Meanwhile RADOS key can also be sent to corresponding RADOS by management server, so that RADOS deposits RADOS key
Storage.
Based on the same technical idea, the embodiment of the invention also provides a kind of system of processing business request, the systems
System includes management server and multiple RADOS, in which:
The management server, for when receiving the service request of target user, according to the account of the target user
Family, which identifies, determines target RADOS mark and target RADOS key, wherein the target RADOS key is by the management server
It is in advance based on the target RADOS mark to generate, be pre-processed according to service request described in the target RADOS key pair,
The mesh that corresponding target RADOS GW, Xiang Suoshu target RADOS GW is directed toward is identified by the preconfigured target RADOS
It marks RADOS and sends pretreated service request;
The target RADOS GW is asked for obtaining pretreated business described in the RADOS key authentication of target RADOS
It asks, if be proved to be successful, sends the service request to the target RADOS, otherwise feedback error information.
Optionally, the management server, is also used to:
When receiving the registration request of target user, at least one RADOS is determined, and it is corresponding to create the target user
Basic authentication key;
For each RADOS at least one described RADOS, according to the RADOS of RADOS mark and the basis
Authentication key creates the corresponding target RADOS key of the RADOS;
The account identification of the RADOS mark of the target RADOS key, the RADOS and the target user is corresponding
Storage, and the target RADOS key is sent to the RADOS and is stored.
Optionally, the management server, is also used to:
After the target RADOS feedback error information, the target RADOS GW is reconfigured, so that described
Target RADOS GW is directed toward the target RADOS and identifies corresponding RADOS.
Optionally, the management server, is specifically used for:
When receiving the file upload request of target user, the account identification for the target user being locally stored is determined
Corresponding at least one RADOS mark;
Obtain the weight that at least one described RADOS identifies corresponding RADOS, wherein the weight is based on the RADOS
Residual memory space calculate generate;
It determines that the RADOS of the RADOS of the maximum weight is identified as target RADOS mark, and determines the target RADOS
Identifying corresponding RADOS key is target RADOS key.
Optionally, the management server, is specifically used for:
When receiving the file download request of file destination of target user's transmission, according to the account of the target user
The file identification of mark and the file destination reads the member of the file destination in the profile store list of local maintenance
Data information;
Target RADOS is determined according to the RADOS information for including in the metadata information of the file destination;
The RADOS mark of the target RADOS is determined as target RADOS mark, and by the target RADOS's
RADOS key is determined as target RADOS key.
In the embodiment of the present invention, when receiving the service request of target user, management server is according to target user's
Account identification determines target RADOS mark and target RADOS key, wherein target RADOS key is by the preparatory base of management server
It identifies and generates in target RADOS, management server is pre-processed according to target RADOS key pair service request, management service
Device identifies corresponding target RADOS GW by preconfigured target RADOS, the target RADOS being directed toward to target RADOS GW
Pretreated service request is sent, it is pretreated that target RADOS GW obtains the corresponding RADOS key authentication of target RADOS
Service request sends service request to target RADOS, otherwise feedback error information if be proved to be successful.In this way, different
RADOS is corresponding with different RADOS keys, when management server is interactive with specified RADOS by RADOS GW, it will using should
The RADOS key of RADOS, and if RADOS GW configuration error, RADOS GW will be unable to the RADOS by corresponding RADOS
Key authentication success, so RADOS GW configuration error can be found in time, it is possible to prevente effectively from because RADOS GW configuration is wrong
The problem of file can not be found after uploading caused by accidentally, so as to guarantee that the file of RADOS cluster is deposited to a certain extent
Store up the service quality of service.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of method of processing business request, which is characterized in that the described method includes:
When receiving the service request of target user, management server determines target according to the account identification of the target user
RADOS mark and target RADOS key, wherein the target RADOS key is in advance based on the mesh by the management server
RADOS mark is marked to generate;
Management server service request according to the target RADOS key pair is pre-processed;
The management server identifies corresponding target RADOS GW, Xiang Suoshu mesh by the preconfigured target RADOS
It marks the target RADOS that RADOS GW is directed toward and sends pretreated service request;
The target RADOS GW obtains pretreated service request described in the corresponding RADOS key authentication of target RADOS, such as
Fruit is proved to be successful, then sends the service request to the target RADOS, otherwise feedback error information.
2. the method according to claim 1, wherein the method also includes:
When receiving the registration request of target user, the management server determines at least one RADOS, and creates the mesh
Mark the corresponding basic authentication key of user;
For each RADOS at least one described RADOS, the management server is identified according to the RADOS of the RADOS
With the basic authentication key, the corresponding RADOS key of the RADOS is created;
The management server is by the account mark of the RADOS of the RADOS key, RADOS mark and the target user
Know corresponding storage, and the RADOS key is sent to the RADOS and is stored.
3. the method according to claim 1, wherein being gone back after the target RADOS GW feedback error information
Include:
The management server reconfigures the target RADOS GW, so that described in target RADOS GW direction
Target RADOS identifies corresponding RADOS.
4. the method according to claim 1, wherein described when receiving the service request of target user, pipe
Reason server determines target RADOS mark and target RADOS key according to the account identification of the target user, comprising:
When receiving the file upload request of target user, the management server determines the target user being locally stored
Account identification corresponding at least one RADOS mark;
The management server obtains the weight that at least one described RADOS identifies corresponding RADOS, wherein the weight base
It calculates and generates in the residual memory space of the RADOS;
The management server determines that the RADOS of the RADOS of the maximum weight is identified as target RADOS mark, and determines institute
Stating target RADOS and identifying corresponding RADOS key is target RADOS key.
5. the method according to claim 1, wherein described when receiving the service request of target user, pipe
Reason server determines target RADOS mark and target RADOS key according to the account identification of the target user, comprising:
When receiving the file download request of file destination of target user's transmission, the management server is according to the target
The file identification of the account identification of user and the file destination reads the mesh in the profile store list of local maintenance
Mark the metadata information of file;
The RADOS information that the management server includes in the metadata information according to the file destination determines target RADOS;
The RADOS of target RADOS mark is determined as target RADOS mark by the management server, and by the target
The RADOS key of RADOS is determined as target RADOS key.
6. a kind of system of processing business request, which is characterized in that the system comprises management server and multiple RADOS,
In:
The management server, for when receiving the service request of target user, according to the account mark of the target user
Know and determine target RADOS mark and target RADOS key, wherein the target RADOS key is preparatory by the management server
It is identified and is generated based on the target RADOS, pre-processed, passed through according to service request described in the target RADOS key pair
The preconfigured target RADOS identifies the target that corresponding target RADOS GW, Xiang Suoshu target RADOS GW is directed toward
RADOS sends pretreated service request;
The target RADOS GW, for obtaining pretreated service request described in the RADOS key authentication of target RADOS,
If be proved to be successful, the service request is sent to the target RADOS, otherwise feedback error information.
7. system according to claim 6, which is characterized in that the management server is also used to:
When receiving the registration request of target user, at least one RADOS is determined, and create the corresponding base of the target user
Plinth authentication key;
For each RADOS at least one described RADOS, authenticated according to the RADOS of RADOS mark and the basis
Key creates the corresponding RADOS key of the RADOS;
By the corresponding storage of account identification of the RADOS mark and the target user of the RADOS key, the RADOS, and will
The RADOS key is sent to the RADOS and is stored.
8. system according to claim 6, which is characterized in that the management server is also used to:
After the target RADOS feedback error information, the target RADOS GW is reconfigured, so that the target
RADOS GW is directed toward the target RADOS and identifies corresponding RADOS.
9. system according to claim 6, which is characterized in that the management server is specifically used for:
When receiving the file upload request of target user, determine that the account identification for the target user being locally stored is corresponding
At least one RADOS mark;
Obtain the weight that at least one described RADOS identifies corresponding RADOS, wherein the weight is based on the surplus of the RADOS
Remaining memory space, which calculates, to be generated;
It determines that the RADOS of the RADOS of the maximum weight is identified as target RADOS mark, and determines the target RADOS mark
Corresponding RADOS key is target RADOS key.
10. system according to claim 6, which is characterized in that the management server is specifically used for:
When receiving the file download request of file destination of target user's transmission, according to the account identification of the target user
The metadata of the file destination is read in the profile store list of local maintenance with the file identification of the file destination
Information;
Target RADOS is determined according to the RADOS information for including in the metadata information of the file destination;
The RADOS mark of the target RADOS is determined as target RADOS mark, and the RADOS of the target RADOS is close
Key is determined as target RADOS key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810344659.7A CN110392015B (en) | 2018-04-17 | 2018-04-17 | Method and system for processing service request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810344659.7A CN110392015B (en) | 2018-04-17 | 2018-04-17 | Method and system for processing service request |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110392015A true CN110392015A (en) | 2019-10-29 |
CN110392015B CN110392015B (en) | 2022-01-21 |
Family
ID=68283858
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810344659.7A Active CN110392015B (en) | 2018-04-17 | 2018-04-17 | Method and system for processing service request |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110392015B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968704A (en) * | 2019-12-24 | 2020-04-07 | 浪潮云信息技术有限公司 | Multimedia processing method of RADS Gateway |
CN112003851A (en) * | 2020-08-19 | 2020-11-27 | 浪潮云信息技术股份公司 | Method for applying RADOS Gateway to IAM system |
CN112257041A (en) * | 2020-10-19 | 2021-01-22 | 当家移动绿色互联网技术集团有限公司 | Item control method and device and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100332401A1 (en) * | 2009-06-30 | 2010-12-30 | Anand Prahlad | Performing data storage operations with a cloud storage environment, including automatically selecting among multiple cloud storage sites |
CN103561101A (en) * | 2013-11-06 | 2014-02-05 | 中国联合网络通信集团有限公司 | Network file system |
CN103905466A (en) * | 2014-04-22 | 2014-07-02 | 郭伟 | Data access control system and method for storage system |
CN106506668A (en) * | 2016-11-23 | 2017-03-15 | 山东浪潮云服务信息科技有限公司 | A kind of method that object storage is realized based on distributed storage |
CN107659574A (en) * | 2017-10-10 | 2018-02-02 | 郑州云海信息技术有限公司 | A kind of data access control system |
CN107911461A (en) * | 2017-11-24 | 2018-04-13 | 网宿科技股份有限公司 | Object processing method, storage server and cloud storage system in cloud storage system |
-
2018
- 2018-04-17 CN CN201810344659.7A patent/CN110392015B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100332401A1 (en) * | 2009-06-30 | 2010-12-30 | Anand Prahlad | Performing data storage operations with a cloud storage environment, including automatically selecting among multiple cloud storage sites |
CN103561101A (en) * | 2013-11-06 | 2014-02-05 | 中国联合网络通信集团有限公司 | Network file system |
CN103905466A (en) * | 2014-04-22 | 2014-07-02 | 郭伟 | Data access control system and method for storage system |
CN106506668A (en) * | 2016-11-23 | 2017-03-15 | 山东浪潮云服务信息科技有限公司 | A kind of method that object storage is realized based on distributed storage |
CN107659574A (en) * | 2017-10-10 | 2018-02-02 | 郑州云海信息技术有限公司 | A kind of data access control system |
CN107911461A (en) * | 2017-11-24 | 2018-04-13 | 网宿科技股份有限公司 | Object processing method, storage server and cloud storage system in cloud storage system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968704A (en) * | 2019-12-24 | 2020-04-07 | 浪潮云信息技术有限公司 | Multimedia processing method of RADS Gateway |
CN110968704B (en) * | 2019-12-24 | 2023-04-07 | 浪潮云信息技术股份公司 | Multimedia processing method of RADS Gateway |
CN112003851A (en) * | 2020-08-19 | 2020-11-27 | 浪潮云信息技术股份公司 | Method for applying RADOS Gateway to IAM system |
CN112257041A (en) * | 2020-10-19 | 2021-01-22 | 当家移动绿色互联网技术集团有限公司 | Item control method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110392015B (en) | 2022-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11088903B2 (en) | Hybrid cloud network configuration management | |
CN104506510B (en) | Method and device for equipment authentication and authentication service system | |
CN101194233B (en) | System and method of testing wireless component applications | |
US20200389355A1 (en) | Secure configuration of cloud computing nodes | |
CN104137587B (en) | A kind of method and terminal device for sending, receiving user data | |
US6981139B2 (en) | Digital certificate management system, digital certificate management apparatus, digital certificate management method, update procedure determination method and program | |
CN102947797B (en) | The online service using directory feature extending transversely accesses and controls | |
CN101895442B (en) | Network quality active monitoring method and system in credible Internet | |
CN104247333A (en) | System and method for management of network-based services | |
CN106105154B (en) | The method, apparatus and system of data upload | |
CN111327668B (en) | Network management method, device, equipment and storage medium | |
CN110392015A (en) | A kind of method and system of processing business request | |
US10951510B2 (en) | Communication device and communication method | |
US20120164974A1 (en) | Method and Apparatus for Pre-Caching in a Telecommunication System | |
CN108063714A (en) | A kind of processing method and processing device of network request | |
CN106844489A (en) | A kind of file operation method, device and system | |
CN109617780A (en) | Access method, apparatus, terminal device and the machine readable storage medium of network | |
CN101729491A (en) | Method, device and system for enhancing application reliability of script-based business | |
US20200274935A1 (en) | A method of referencing a connection session with a wireless communication device in a local area, a system for implementing this method, a method of referencing an application user, a machine-readable medium for implementing this method, as well as a method of collecting data on the wireless communication device user, and a machine-readable medium for implementing this method | |
WO2017204700A1 (en) | Automatic network management system, methods and computer program product | |
CN112825524A (en) | Method, device and system for determining network service node | |
US20190028880A1 (en) | Method for accessing context data by network service component, apparatus, and system | |
US10924575B2 (en) | Automatic network management system and methods | |
CN114584558B (en) | Cloud edge cooperative distributed API gateway system and API calling method | |
US9274846B2 (en) | Technique for determining a chain of individual functions associated with a service |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |