[go: up one dir, main page]

CN109451088A - A kind of data access method and device - Google Patents

A kind of data access method and device Download PDF

Info

Publication number
CN109451088A
CN109451088A CN201811274964.XA CN201811274964A CN109451088A CN 109451088 A CN109451088 A CN 109451088A CN 201811274964 A CN201811274964 A CN 201811274964A CN 109451088 A CN109451088 A CN 109451088A
Authority
CN
China
Prior art keywords
server cluster
data resource
address
target data
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811274964.XA
Other languages
Chinese (zh)
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.)
New H3C Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data Technologies 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 New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN201811274964.XA priority Critical patent/CN109451088A/en
Publication of CN109451088A publication Critical patent/CN109451088A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application provides a kind of data access method and devices, wherein, management server is when monitoring that the storage of target data resource is into first server cluster, it can recorde the mapping relations between the IP address of first server cluster and target data resource, and then it can be after receiving the inquiry request of target data resource described in client query, the mapping relations based on record, determine the IP address of first server cluster corresponding with the target data resource, then the IP address of the first server cluster is sent to the client, so that client obtains target data resource from first server cluster.Using aforesaid way, the IP address of staff's configuration server cluster in the client may not need, streamline operation saves the cost of manual maintenance.

Description

A kind of data access method and device
Technical field
This application involves big data technical fields, in particular to a kind of data access method and device.
Background technique
With the continuous development of the communication technology, fulminant growing trend is just being presented in various data resources, in order to Meet user to the demand that stores and accesses of mass data resource, the mode of server cluster can be used usually to store magnanimity Data resource.It wherein, include multiple servers in server cluster, server cluster can store mass data resource, can also To be communicated between client, to realize data access.
Currently, the communication between server cluster and client is based primarily upon Internet protocol (Internet Protocol, IP).Specifically, needing staff in the client to realize the communication between client and server cluster Be pre-configured with the IP address list of server cluster, later client could based on IP address list find be stored with it is to be visited The server cluster of data resource, then to the server set pocket transmission data access request, with request data resource.But It is that this manually to operate in the mode of client configuration IP address list relatively complicated, and later maintenance cost is higher.
Summary of the invention
In view of this, the application's is designed to provide a kind of data access method and device, staff may not need The IP address of configuration server cluster, streamline operation in the client save the cost of manual maintenance.
In a first aspect, the application provides a kind of data access method, comprising:
Management server records first clothes when monitoring that the storage of target data resource is into first server cluster Mapping relations between the internet protocol address and the target data resource of business device cluster;
After receiving the inquiry request of target data resource described in client query, the mapping based on record is closed System determines the IP address of first server cluster corresponding with the target data resource;
The IP address of the first server cluster is sent to the client.
In a kind of possible embodiment, the internet protocol address for recording the first server cluster with it is described After mapping relations between target data resource, further includes:
When determining target data resource migration to the second server cluster of the first server cluster-based storage, by institute The mapping relations stated between the IP address of first server cluster and the target data resource are revised as the second server Mapping relations between the IP address of cluster and the target data resource.
In a kind of possible embodiment, by the IP address of the first server cluster and the target data resource Between mapping relations be revised as the mapping between the IP address of the second server cluster and the target data resource pass After system, further includes:
The IP address of the second server cluster corresponding with the target data resource is sent to the client.
In a kind of possible embodiment, the target data resource migration of the determination first server cluster-based storage To second server cluster, comprising:
The Data Migration instruction that the network equipment is sent is received, includes the target data resource in the Data Migration instruction Mark and the second server cluster IP address.
In a kind of possible embodiment, the network equipment is the management node in the first server cluster, or Person, the network equipment are independently of the proxy server except the first server cluster.
Second aspect, the application provide a kind of data access device, comprising:
Processing module, for recording described the when monitoring that the storage of target data resource is into first server cluster Mapping relations between the internet protocol address of one server cluster and the target data resource;
Respond module, for being based on record after receiving the inquiry request of target data resource described in client query The mapping relations, determine the IP address of corresponding with target data resource first server cluster;By described first The IP address of server cluster is sent to the client.
In a kind of possible design, the processing module is also used to:
When determining target data resource migration to the second server cluster of the first server cluster-based storage, by institute The mapping relations stated between the IP address of first server cluster and the target data resource are revised as the second server Mapping relations between the IP address of cluster and the target data resource.
In a kind of possible design, the respond module is also used to:
It is revised as by the mapping relations between the IP address of the first server cluster and the target data resource After mapping relations between the IP address of the second server cluster and the target data resource, Xiang Suoshu client hair Send the IP address of the second server cluster corresponding with the target data resource.
In a kind of possible design, the processing module, in the target data for determining the first server cluster-based storage When resource migration to second server cluster, it is specifically used for:
The Data Migration instruction that the network equipment is sent is received, includes the target data resource in the Data Migration instruction Mark and the second server cluster IP address.
In a kind of possible design, the network equipment is the management node in the first server cluster, alternatively, institute Stating the network equipment is independently of the proxy server except the first server cluster.
The third aspect, the embodiment of the present application also provide a kind of electronic equipment, comprising: processor, memory and bus, it is described Memory is stored with the executable machine readable instructions of the processor, when electronic equipment operation, the processor with it is described By bus communication between memory, the machine readable instructions executed when being executed by the processor it is above-mentioned in a first aspect, or The step of data access method that any possible embodiment of first aspect executes.
Fourth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, which executes above-mentioned in a first aspect, or first aspect when being run by processor The step of data access method that any possible embodiment executes.
In the embodiment of the present application, by introduce management server come safeguard data resource and server cluster IP address it Between mapping relations, specifically, management server can monitor target data resource storage into first server cluster When, the mapping relations between the IP address and target data resource of first server cluster are recorded, are then receiving client , can be based on the mapping relations of record after inquiring the inquiry request of target data resource, determination is corresponding with target data resource The IP address of first server cluster, and the IP address of first server cluster is sent to client, so that client is from Target data resource is obtained in one server cluster.Using aforesaid way, it may not need staff and configure clothes in the client The IP address of business device cluster, streamline operation save the cost of manual maintenance.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of system architecture diagram provided by the embodiments of the present application;
Fig. 2 shows the schematic diagrames of data access process provided by the embodiments of the present application;
Fig. 3 shows the interaction schematic diagram of data access process provided by the embodiments of the present application;
Fig. 4 shows the friendship of the data access process provided by the embodiments of the present application in the case where data resource migration occurs Mutual schematic diagram;
Fig. 5 shows a kind of structural schematic diagram of data access device provided by the embodiments of the present application;
Fig. 6 shows the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application Middle attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, below to the application's provided in the accompanying drawings The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application Apply example.Based on embodiments herein, those skilled in the art institute obtained without making creative work There are other embodiments, shall fall in the protection scope of this application.
The application can apply under the scene of the data resource in client access server cluster.In view of client During carrying out data access, it is generally based on the IP address of artificial pre-configured server cluster, to corresponding clothes Business device cluster requests access to data resource.But this side by the IP address in client human configuration server cluster Formula, it is not only cumbersome, and also later maintenance cost is also higher.
Also, it, may be according to server in view of the data resource stored in server cluster is not fixed and invariable The loading condition of cluster itself or the utilization power of data resource, to adjust the data resource stored in server cluster, this It will be related to the process that data resource is migrated between different server cluster.If client still using matching in advance The IP address set accesses data resource to the former server cluster before migration, and will lead to can not successful access data resource.And Under above situation, if guarantee client can successful access migration after data resource, visitor can only be changed by staff again The IP address of preconfigured server cluster in the end of family, but the operation that reconfigures is relatively complicated and data access process is imitated Rate is lower
In view of the above-mentioned problems, this application provides a kind of data access method and device, by introduce management server come Safeguard the mapping relations between data resource and the IP address of server cluster, and when the migration of data resource occurs, it can With the IP address without staff's configuration server cluster in the client, again without the migration with data resource The IP address of the server cluster configured in modification client.It is possible thereby to simplify client setting for data access process Meter, can effectively promote data access process efficiency.
Before introducing the embodiment of the present application, the application network architecture diagram applicatory is illustrated first.It is exemplary , referring to Fig.1 shown in, be a kind of the application system architecture diagram applicatory, including client, management server, at least one Server cluster, wherein include first server cluster, Yi Ji at least one server cluster in framework shown in FIG. 1 Two server clusters.Wherein: client, namely installation can provide the application program of local service on the terminal device for user (Application, App);Management server, the configuring condition that can be responsible between management client and server cluster, example Mapping relations etc. between the data resource as needed for management client and the IP address of server cluster;First server cluster It can be understood as the server cluster for being deployed in different zones respectively with second server cluster, for example, first server cluster It can be local server cluster, it includes multiple in each server cluster that second server cluster, which is remote server cluster, Server, each server are capable of providing the service such as storage and access of data resource as a node in cluster.
In the embodiment of the present application, client can be communicated with management server, to inquire from management server The IP address of the corresponding server cluster of data resource to be visited, client are also based on the server cluster inquired IP address accesses data resource into corresponding server cluster.In addition, management server can also be at least one server Cluster is communicated, so as to data resource and server cluster needed for updating client according to the migration situation of data resource Mapping relations between IP address.
In the following, system architecture diagram as shown in connection with fig. 1, is described in detail the embodiment of the present application.
It is the schematic diagram of data access process provided by the embodiments of the present application referring to shown in Fig. 2, comprising the following steps:
Step 201, management server are when monitoring that the storage of target data resource is into first server cluster, record the Mapping relations between the internet protocol address and target data resource of one server cluster.
In the embodiment of the present application, management server can recorde the storage of the data resource at least one server cluster Situation, and according to the storage condition of data resource, come with recording at least one server cluster the IP of each server cluster Location and the mapping relations between the data resource stored in the server cluster.
In a kind of possible embodiment, the IP address of each server cluster and the number stored in the server cluster It according to the mapping relations between resource, such as can be matching for the corresponding storage address of mark that record have different data resource Table is set, storage address is the IP address of server cluster.Wherein, data resource is, for example, the resources such as file, picture, video, The mark of data resource is, for example, the corresponding index value of target data resource or keyword etc..
In one example, the mapping relations between the IP address and data resource of server cluster can use the form of allocation list It indicates.It may include the mark and the corresponding storage address of each data resource of different data resource, storage in the allocation list Address is the IP address of server cluster.For example, referring to shown in table 1, when the mark index of reference #1 to #N of data resource is indicated When, the form of the allocation list is as follows:
Table 1
It indexes (Index) Storage address
#1 IP-A1
#2 IP-A2
#N IP-An
For example, it is assumed that target data resource be identified as #2, first server cluster IP address be IP-A2, IP-A2 For example 1.0.0.1, then, it, can be right in allocation list when monitoring the storage of target data resource to first server cluster IP-A2 and #2 should be recorded, the target data resource for indicating that index is #2 is stored in the first server cluster that IP address is IP-A2 In.
Step 202, management server are after the inquiry request for receiving client query target data resource, based on record Mapping relations, determine the IP address of corresponding with target data resource first server cluster, and by first server cluster IP address be sent to client.
In one example, the index of target data resource can be carried in inquiry request, for example, index #2, then management clothes Business device can determine first server cluster corresponding with target data resource by allocation list shown in inquiry table 1 IP address is IP-A2, and then IP-A2 is sent to client.
In the embodiment of the present application, by introduce management server come safeguard data resource and server cluster IP address it Between mapping relations, management server can after the inquiry request for receiving the inquiry target data resource from client, The IP address of server cluster corresponding with target data resource is searched, based on mapping relations so that client is from corresponding clothes It is engaged in obtaining target data resource in device cluster.Using aforesaid way, staff's configuration server in the client may not need The IP address of cluster, streamline operation save the cost of manual maintenance.
The embodiment of the present application for ease of understanding below carries out the interactive mode of each equipment room in data access process detailed Explanation.
Referring to shown in Fig. 3, being the interaction schematic diagram of data access process provided by the embodiments of the present application, wherein including with Lower step:
Step 301, client send inquiry request to management server, carry number of targets to be visited in inquiry request According to the mark of resource, for requesting the storage address of target data resource to be visited.
Wherein, target data resource is, for example, the resources such as file, picture, video, and the mark of target data resource is, for example, The corresponding index value of target data resource or keyword etc..
After step 302, management server receive inquiry request, the mapping relations based on record, inquiry and target data The IP address of the corresponding first server cluster of resource.
The IP address of the first server cluster inquired is sent to client by step 303, management server.
Step 304, IP address of the client based on first server cluster are to first server collection pocket transmission data access Request, wherein the mark of target data resource is carried in data access request.
In a kind of possible embodiment, if in first server cluster including management node, it is possible to be saved by management It puts to be responsible for handling the operation of data access request.Wherein, management node can be understood as being responsible in first server cluster Manage the primary server (namely host node) of other servers (namely from node) for being stored with data resource.
It, can also be by only if first server cluster is the cluster of decentralization in alternatively possible embodiment The proxy server stood on except first server cluster come be responsible for handle data access request.
Step 305, the network equipment provide target data resource to client.
Wherein, the above-mentioned network equipment can be for example the management node in first server cluster, alternatively, for independently of the Proxy server except one server cluster.When the network equipment is the management node in first server cluster, management section Point can be stored with acquisition target data resource in the server of target data resource from first server cluster, and be supplied to Client;When the network equipment is proxy server, proxy server can be stored with number of targets from first server cluster According to acquisition target data resource in the server of resource, and it is supplied to client.
The above are the general flows of data access process provided by the embodiments of the present application.
In view of in actual application, with the utilization of the loading condition or data resource of server cluster itself The variation of situation, the data resource stored in first server cluster may migrate.In the embodiment of the present application, work as management It, can be by the first clothes when server determines target data resource migration to the second server cluster of first server cluster-based storage Mapping relations between the IP address and target data resource of device cluster of being engaged in are revised as the IP address and mesh of second server cluster The mapping relations between data resource are marked, so as to the storage address of the data resource for the record that timely updates.Also, it can also will repair The IP address of second server cluster corresponding with target data resource after changing is sent to client, so as to client be based on from Data resource is obtained in second server cluster.
It is the interaction schematic diagram of the data access process in the case where data resource migration occurs referring to shown in Fig. 4, including Following steps:
The transition state of the data resource stored in step 401, network equipment monitoring first server cluster.
Here, the above-mentioned network equipment can be for example the management node in first server cluster, alternatively, for independently of the Proxy server except one server cluster.
In a kind of possible embodiment, when first server cluster is local server cluster, due to local server The data resource amount stored in cluster is limited, therefore under normal circumstances, the data resource stored in first server cluster all has Life cycle is had, the network equipment can record storage duration of the different data resource in first server cluster respectively, if Life cycle pair of storage duration of the target data resource in first server cluster beyond setting in different data resource When the duration answered, the preset software tool for having data resource forwarding function can be called, target data resource migration is arrived In second server cluster, second server cluster is, for example, remote server cluster here.
For example, the network equipment can use above-mentioned software tool for this document when target data resource is a certain file It is copied out from first server cluster, the file copied out is then sent to second server cluster, works as the network equipment After the confirmation reception instruction for receiving the reply of second server cluster, it can be confirmed that file shifts successfully.
Step 402, the network equipment ought monitor the target data resource migration in data resource to second server cluster When, Data Migration instruction is sent to management server.
Wherein, Data Migration instruction is used to indicate the target data resource migration that stores in first server cluster to second Server cluster.The mark of target data resource, such as the index of target data resource can be carried in Data Migration instruction Deng, can also include the IP address of second server cluster, so as to indicate which data resource of management server occur migration, with And the destination address after migration.
In addition, the network equipment may be in the second server cluster after migration in a kind of possible embodiment Management node (i.e. primary server), alternatively, to be used to manage second server cluster independently of except second server cluster Proxy server, the network equipment determine second server cluster be properly received and store migration after data resource after, Other than replying confirmation to first server cluster and receiving instruction, Data Migration instruction can also be sent to management server, To notify this data resource migration event of management server.
Step 403, management server are indicated based on Data Migration, by the storage address of the target data resource of record by the The IP address of one server cluster is updated to the IP address of second server cluster.
In the embodiment of the present application, the mapping relations between the IP address and data resource of server cluster can use allocation list Form indicate that record has the corresponding storage address of the mark of different data resource in allocation list.Management server can be with Allocation list is updated with the transition state of data resource.
In specific implementation, management server can be updated and be recorded in allocation list after receiving Data Migration instruction The corresponding storage address of the mark of target data resource.In one example, management server can be indicated according to Data Migration in wrap The mark of the target data resource included, from the allocation list of the corresponding storage address of mark that record has different data resource Storage address corresponding with the mark of target data resource is found, later by storage corresponding with the mark of target data resource Address is updated to the IP address of second server cluster by the IP address of first server cluster.
For example, it is assumed that target data resource is identified as #2, the IP address of first server cluster is IP-A2, IP-A2 The IP address of for example 1.0.0.1, second server cluster are IP-B2, and IP-A2 is, for example, 1.0.0.3, then updated configuration The form of table is as shown in table 2:
Table 1
It indexes (Index) Storage address
#1 IP-A1
#2 IP-B2
#N IP-An
Step 404, management server send the IP of second server cluster corresponding with target data resource to client Address.
In the embodiment of the present application, management server by the storage address of target data resource by first server cluster IP address is updated to after the IP address of second server cluster, sends the second clothes corresponding with target data resource to client The IP address of business device cluster.Specific interactive mode includes following several:
In the first possible embodiment, if the target data resource and first that client is got before not recording Mapping relations between the IP address of server cluster, then, client, can be with when needing to obtain target data resource every time The inquiry request of inquiry target data resource is sent to management server.In this case, management server can receive When the inquiry request of client, the IP address of second server cluster corresponding with target data resource is sent to client.
In second of possible embodiment, if the target data resource got before having been had recorded in client and the Mapping relations between the IP address of one server cluster, then, client, can be with base when needing to obtain target data resource In the IP address of the first server cluster recorded, first to first server cluster request target data resource, and After detecting target data resource acquisition failure, the inquiry request of inquiry target data resource is sent to management server.It is this In the case of, management server can be sent and target data resource pair in the inquiry request for receiving client to client The IP address for the second server cluster answered.
In the third possible embodiment, if the target data resource got before having been had recorded in client and the Mapping relations between the IP address of one server cluster, then, management server directly can send number of targets to client It is migrated by first server cluster to the instruction message of second server cluster according to resource, including the mark of target data resource The IP address of knowledge and corresponding second server cluster, to indicate the mapping relations of client more new record, by number of targets The IP address of second server cluster is updated to by the IP address of first server cluster according to the storage address of resource.
Wherein, above-mentioned second and the third possible embodiment, it is possible to reduce between client and management server Interaction, alleviate the processing pressure of management server.
The IP address of step 405, client based on second server cluster, obtains number of targets from second server cluster According to resource.
Using aforesaid way, after target data resource migrates, management server can update in mapping relations The corresponding storage address of target data resource of record is further detecting client request inquiry target data resource Storage address when, the storage address of newest target data resource can be provided to client, so that client may not need The IP address of corresponding server cluster is reconfigured, with the migration of data resource so as to simplify client for number According to the design of access process, data access process efficiency can be effectively promoted.
Based on same technical concept, data access dress corresponding with data access method is additionally provided in the embodiment of the present application It sets, the principle solved the problems, such as due to the data access device in the embodiment of the present application and the above-mentioned data access side of the embodiment of the present application Method is similar, therefore the implementation of device may refer to the implementation of method, and overlaps will not be repeated.
It referring to Figure 5, is a kind of structural schematic diagram of data access device provided by the embodiments of the present application, the device 50 Include:
Processing module 51, for when monitoring that the storage of target data resource is into first server cluster, described in record Mapping relations between the internet protocol address of first server cluster and the target data resource;
Respond module 52, for being based on note after receiving the inquiry request of target data resource described in client query The mapping relations of record determine the IP address of first server cluster corresponding with the target data resource;By described The IP address of one server cluster is sent to the client.
In a kind of possible design, the processing module 51 is also used to:
When determining target data resource migration to the second server cluster of the first server cluster-based storage, by institute The mapping relations stated between the IP address of first server cluster and the target data resource are revised as the second server Mapping relations between the IP address of cluster and the target data resource.
In a kind of possible design, the respond module 52 is also used to:
It is revised as by the mapping relations between the IP address of the first server cluster and the target data resource After mapping relations between the IP address of the second server cluster and the target data resource, Xiang Suoshu client hair Send the IP address of the second server cluster corresponding with the target data resource.
In a kind of possible design, the processing module 51, in the number of targets for determining the first server cluster-based storage When according to resource migration to second server cluster, it is specifically used for:
The Data Migration instruction that the network equipment is sent is received, includes the target data resource in the Data Migration instruction Mark and the second server cluster IP address.
In a kind of possible design, the network equipment is the management node in the first server cluster, alternatively, institute Stating the network equipment is independently of the proxy server except the first server cluster.
Wherein, about the function and specific interactive mode of module each in above-mentioned apparatus, above method implementation can be participated in Related content involved in example, which is not described herein again.
It is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application, the electronic equipment referring to shown in Fig. 6 60 include processor 61, memory 62 and bus 63, and the storage of memory 62 executes instruction, when the equipment 60 operation, It is communicated between the processor 61 and the memory 62 by bus 63, the processor 61 executes the memory 62 and stores It is described execute instruction so that the equipment 60 executes the step of realizing data access method involved by above method embodiment.
When monitoring that the storage of target data resource is into first server cluster, the first server cluster is recorded Mapping relations between internet protocol address and the target data resource;
After receiving the inquiry request of target data resource described in client query, the mapping based on record is closed System determines the IP address of first server cluster corresponding with the target data resource;
The IP address of the first server cluster is sent to the client.
Wherein, the specific process flow that processor is related to can be found in the associated description in above method embodiment, here not Reinflated explanation.
The embodiment of the present application also provides a kind of computer readable storage medium, is stored on the computer readable storage medium Computer program executes data access method described in above method embodiment when the computer program is run by processor Step.
The computer program product of data access method provided by the embodiment of the present application, including storing program code Computer readable storage medium, the instruction that said program code includes can be used for executing data described in above method embodiment The step of access method, for details, reference can be made to above method embodiments, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description And the specific work process of electronic equipment, it can refer to corresponding processes in the foregoing method embodiment, details are not described herein.? In several embodiments provided herein, it should be understood that disclosed systems, devices and methods can pass through others Mode is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only a kind of Logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication by some communication interfaces, device or unit Connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.In addition, each functional unit in each embodiment of the application can integrate in one processing unit, it is also possible to each Unit physically exists alone, and can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, the application Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the application State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
The above is only the protection scopes of the specific embodiment of the application, but the application to be not limited thereto, any to be familiar with Those skilled in the art within the technical scope of the present application, can easily think of the change or the replacement, and should all cover Within the protection scope of the application.Therefore, the protection scope of the application should be subject to the protection scope in claims.

Claims (10)

1. a kind of data access method characterized by comprising
Management server records the first server when monitoring that the storage of target data resource is into first server cluster Mapping relations between the internet protocol address of cluster and the target data resource;
After receiving the inquiry request of target data resource described in client query, the mapping relations based on record, really The IP address of fixed first server cluster corresponding with the target data resource;
The IP address of the first server cluster is sent to the client.
2. the method as described in claim 1, which is characterized in that in the Internet protocol IP for recording the first server cluster After mapping relations between address and the target data resource, further includes:
When determining target data resource migration to the second server cluster of the first server cluster-based storage, by described Mapping relations between the IP address of one server cluster and the target data resource are revised as the second server cluster IP address and the target data resource between mapping relations.
3. method according to claim 2, which is characterized in that by the IP address of the first server cluster and the mesh Mark data resource between mapping relations be revised as the second server cluster IP address and the target data resource it Between mapping relations after, further includes:
The IP address of the second server cluster corresponding with the target data resource is sent to the client.
4. method according to claim 2, which is characterized in that the number of targets of the determination first server cluster-based storage According to resource migration to second server cluster, comprising:
The Data Migration instruction that the network equipment is sent is received, includes the mark of the target data resource in the Data Migration instruction The IP address of knowledge and the second server cluster.
5. method as claimed in claim 4, which is characterized in that the network equipment is the pipe in the first server cluster Node is managed, alternatively, the network equipment is independently of the proxy server except the first server cluster.
6. a kind of data access device characterized by comprising
Processing module, for when monitoring that the storage of target data resource is into first server cluster, recording first clothes Mapping relations between the internet protocol address and the target data resource of business device cluster;
Respond module, for after receiving the inquiry request of target data resource described in client query, the institute based on record Mapping relations are stated, determine the IP address of first server cluster corresponding with the target data resource;By the first service The IP address of device cluster is sent to the client.
7. device as claimed in claim 6, which is characterized in that the processing module is also used to:
When determining target data resource migration to the second server cluster of the first server cluster-based storage, by described Mapping relations between the IP address of one server cluster and the target data resource are revised as the second server cluster IP address and the target data resource between mapping relations.
8. device as claimed in claim 7, which is characterized in that the respond module is also used to:
Described in the mapping relations between the IP address of the first server cluster and the target data resource are revised as After mapping relations between the IP address of second server cluster and the target data resource, Xiang Suoshu client send with The IP address of the corresponding second server cluster of the target data resource.
9. device as claimed in claim 7, which is characterized in that the processing module is determining the first server cluster When the target data resource migration of storage to second server cluster, it is specifically used for:
The Data Migration instruction that the network equipment is sent is received, includes the mark of the target data resource in the Data Migration instruction The IP address of knowledge and the second server cluster.
10. device as claimed in claim 9, which is characterized in that the network equipment is in the first server cluster Management node, alternatively, the network equipment is independently of the proxy server except the first server cluster.
CN201811274964.XA 2018-10-30 2018-10-30 A kind of data access method and device Pending CN109451088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811274964.XA CN109451088A (en) 2018-10-30 2018-10-30 A kind of data access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811274964.XA CN109451088A (en) 2018-10-30 2018-10-30 A kind of data access method and device

Publications (1)

Publication Number Publication Date
CN109451088A true CN109451088A (en) 2019-03-08

Family

ID=65549256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811274964.XA Pending CN109451088A (en) 2018-10-30 2018-10-30 A kind of data access method and device

Country Status (1)

Country Link
CN (1) CN109451088A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110048896A (en) * 2019-04-29 2019-07-23 广州华多网络科技有限公司 A kind of company-data acquisition methods, device and equipment
CN110652728A (en) * 2019-09-24 2020-01-07 北京金山安全软件有限公司 Game resource management method and device, electronic equipment and storage medium
CN110677492A (en) * 2019-10-11 2020-01-10 北京字节跳动网络技术有限公司 Access request processing method and device, electronic equipment and storage medium
CN110727499A (en) * 2019-09-18 2020-01-24 平安科技(深圳)有限公司 Resource data acquisition method and device, computer equipment and storage medium
CN110868354A (en) * 2019-11-14 2020-03-06 空间信息产业发展股份有限公司 Intelligent routing addressing system and method based on network label system
CN111198845A (en) * 2020-02-13 2020-05-26 河南文正电子数据处理有限公司 Data migration method, readable storage medium and computing device
CN111800497A (en) * 2020-06-30 2020-10-20 北京金山云网络技术有限公司 Request response method, and hot migration system and device
CN111901389A (en) * 2020-07-03 2020-11-06 北京达佳互联信息技术有限公司 Data updating method, device, server and storage medium
CN113177179A (en) * 2021-04-30 2021-07-27 平安证券股份有限公司 Data request connection management method, device, equipment and storage medium
CN113472823A (en) * 2020-03-30 2021-10-01 深圳Tcl数字技术有限公司 Server access method and device, intelligent terminal and storage medium
CN113612735A (en) * 2021-07-15 2021-11-05 中国联合网络通信集团有限公司 Secure storage system
CN113746901A (en) * 2021-08-02 2021-12-03 中移(杭州)信息技术有限公司 Data caching method and system
CN113806008A (en) * 2021-02-02 2021-12-17 北京沃东天骏信息技术有限公司 Cluster access method and device, electronic equipment and readable storage medium
CN113992658A (en) * 2021-10-28 2022-01-28 科大讯飞股份有限公司 Data transmission method and related device, equipment, system and storage medium
CN114157681A (en) * 2021-12-22 2022-03-08 南京瀚海伏羲防务科技有限公司 Unmanned cluster and perception data centralized management method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040249904A1 (en) * 2001-06-05 2004-12-09 Silicon Graphics, Inc. Multi-class heterogeneous clients in a clustered filesystem
CN104717314A (en) * 2013-12-17 2015-06-17 腾讯科技(深圳)有限公司 IP management method and system, client-side and server
CN105100015A (en) * 2014-05-16 2015-11-25 林琳 Method and device of collecting Internet access data
CN106302611A (en) * 2015-06-09 2017-01-04 深圳市腾讯计算机系统有限公司 Service request distribution system, method and apparatus
CN107426304A (en) * 2017-07-06 2017-12-01 努比亚技术有限公司 Method, system and the proxy server of interactive media resource

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040249904A1 (en) * 2001-06-05 2004-12-09 Silicon Graphics, Inc. Multi-class heterogeneous clients in a clustered filesystem
CN104717314A (en) * 2013-12-17 2015-06-17 腾讯科技(深圳)有限公司 IP management method and system, client-side and server
CN105100015A (en) * 2014-05-16 2015-11-25 林琳 Method and device of collecting Internet access data
CN106302611A (en) * 2015-06-09 2017-01-04 深圳市腾讯计算机系统有限公司 Service request distribution system, method and apparatus
CN107426304A (en) * 2017-07-06 2017-12-01 努比亚技术有限公司 Method, system and the proxy server of interactive media resource

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110048896A (en) * 2019-04-29 2019-07-23 广州华多网络科技有限公司 A kind of company-data acquisition methods, device and equipment
CN110727499A (en) * 2019-09-18 2020-01-24 平安科技(深圳)有限公司 Resource data acquisition method and device, computer equipment and storage medium
CN110727499B (en) * 2019-09-18 2024-05-28 平安科技(深圳)有限公司 Method, device, computer equipment and storage medium for acquiring resource data
CN110652728A (en) * 2019-09-24 2020-01-07 北京金山安全软件有限公司 Game resource management method and device, electronic equipment and storage medium
CN110652728B (en) * 2019-09-24 2023-06-27 北京金山安全软件有限公司 Game resource management method and device, electronic equipment and storage medium
CN110677492B (en) * 2019-10-11 2022-08-02 北京字节跳动网络技术有限公司 Access request processing method and device, electronic equipment and storage medium
CN110677492A (en) * 2019-10-11 2020-01-10 北京字节跳动网络技术有限公司 Access request processing method and device, electronic equipment and storage medium
CN110868354A (en) * 2019-11-14 2020-03-06 空间信息产业发展股份有限公司 Intelligent routing addressing system and method based on network label system
CN111198845A (en) * 2020-02-13 2020-05-26 河南文正电子数据处理有限公司 Data migration method, readable storage medium and computing device
CN111198845B (en) * 2020-02-13 2023-07-21 橙三角(广东)科技有限公司 Data migration method, readable storage medium and computing device
CN113472823A (en) * 2020-03-30 2021-10-01 深圳Tcl数字技术有限公司 Server access method and device, intelligent terminal and storage medium
CN113472823B (en) * 2020-03-30 2023-06-27 深圳Tcl数字技术有限公司 Server access method and device, intelligent terminal and storage medium
CN111800497A (en) * 2020-06-30 2020-10-20 北京金山云网络技术有限公司 Request response method, and hot migration system and device
CN111901389B (en) * 2020-07-03 2023-07-04 北京达佳互联信息技术有限公司 Data updating method, device, server and storage medium
CN111901389A (en) * 2020-07-03 2020-11-06 北京达佳互联信息技术有限公司 Data updating method, device, server and storage medium
CN113806008A (en) * 2021-02-02 2021-12-17 北京沃东天骏信息技术有限公司 Cluster access method and device, electronic equipment and readable storage medium
CN113177179A (en) * 2021-04-30 2021-07-27 平安证券股份有限公司 Data request connection management method, device, equipment and storage medium
CN113177179B (en) * 2021-04-30 2023-11-21 平安证券股份有限公司 Data request connection management method, device, equipment and storage medium
CN113612735A (en) * 2021-07-15 2021-11-05 中国联合网络通信集团有限公司 Secure storage system
CN113746901B (en) * 2021-08-02 2022-12-27 中移(杭州)信息技术有限公司 Data caching method and system
CN113746901A (en) * 2021-08-02 2021-12-03 中移(杭州)信息技术有限公司 Data caching method and system
CN113992658A (en) * 2021-10-28 2022-01-28 科大讯飞股份有限公司 Data transmission method and related device, equipment, system and storage medium
CN113992658B (en) * 2021-10-28 2023-09-26 科大讯飞股份有限公司 Data transmission method, related device, equipment, system and storage medium
CN114157681A (en) * 2021-12-22 2022-03-08 南京瀚海伏羲防务科技有限公司 Unmanned cluster and perception data centralized management method

Similar Documents

Publication Publication Date Title
CN109451088A (en) A kind of data access method and device
US11704144B2 (en) Creating virtual machine groups based on request
JP6974218B2 (en) Storage system and its operation method
KR102513998B1 (en) Communication methods and devices, entities and computer readable storage media
CN105429776B (en) Method and system for virtualized network function management
CN111092921B (en) Data acquisition method, device and storage medium
CN108989430B (en) Load balancing method, device and storage medium
CN110489126B (en) Compiling task execution method and device, storage medium and electronic device
CN103685590B (en) Obtain the method and system of IP address
US20160344582A1 (en) Call home cluster
US11303583B2 (en) Resource trees by management controller
CN104506654A (en) Cloud computing system and backup method of dynamic host configuration protocol server
CN108958933B (en) Configuration parameter updating method, device and equipment of task executor
CN111770176B (en) Traffic scheduling method and device
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN101308467A (en) Task processing method and device
WO2016202016A1 (en) Device management method, apparatus and system
CN105071965A (en) Management system of network equipment
CN109005071B (en) A decision-making deployment method and scheduling device
CN110798358B (en) Distributed service identification method and device, computer readable medium and electronic equipment
KR101997602B1 (en) Resource Dependency Service Method for M2M Resource Management
CN107547622B (en) Resource adjusting method and device
CN106375132B (en) Cloud server system and management method thereof
CN107534678A (en) Establish the method, apparatus and system being connected between VNFM and VIM
CN116339927A (en) Equipment determining method, device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308