Method and Apparatus for Data Transmission
First Claim
1. A method for data transmission, the method comprising:
- receiving, by a distributed storage system, data sent by a client and a key corresponding to the data;
allocating one or more storage nodes of the distributed storage system to the data according to load conditions of the storage nodes;
storing the data in one or more allocated storage nodes;
generating a constructed key for the data, comprising the key corresponding to the data and node routing information relative to a location where the data is stored; and
returning the constructed key for the data to the client.
1 Assignment
0 Petitions
Accused Products
Abstract
A data transmission method and apparatus avoids uneven loading of stored data, supports allocation of storage spaces with load balancing, and supports fast access to data. The method may include receiving, by a distributed storage system, data and a corresponding data key sent by a client. Nodes are allocated to the data according to load conditions of nodes in the distributed storage system. The data is stored in the corresponding nodes. A constructed key is generated for the data, which includes the data key and node routing information corresponding to a location where the data is stored. The constructed key is returned to the client. The client uses the constructed key to acquire the stored data. The distributed storage system receives the constructed key, retrieves the stored data based on the routing information in the constructed key and sends the data to the client.
5 Citations
22 Claims
-
1. A method for data transmission, the method comprising:
-
receiving, by a distributed storage system, data sent by a client and a key corresponding to the data; allocating one or more storage nodes of the distributed storage system to the data according to load conditions of the storage nodes; storing the data in one or more allocated storage nodes; generating a constructed key for the data, comprising the key corresponding to the data and node routing information relative to a location where the data is stored; and returning the constructed key for the data to the client. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for data transmission in a distributed storage system, wherein said apparatus comprises one or more hardware processors and/or circuits that are operable to:
-
in a data receiving module, receive data sent by a client and a key corresponding to the data; in a node management module, allocate one or more storage nodes to the data according to load conditions of the storage nodes, and store the data in one or more allocated storage nodes; in a constructed key generation module, generate a constructed key for the data, comprising the key corresponding to the data and node routing information relative to a location where the data is stored; and in a data returning module, return the constructed key for the data to the client. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. An apparatus for data transmission in a client, wherein said apparatus comprises one or more hardware processors and/or circuits that are operable to:
-
in a data acquisition module, acquire data to be transmitted and a key corresponding to the data; in a data sending module, send the data and the key corresponding to the data to a distributed storage system, wherein the distributed storage system allocates one or more storage nodes to the data according to load conditions of the storage nodes, stores the data in one or more allocated storage nodes, and generates a constructed key for the data, wherein the constructed key comprises the key corresponding to the data and node routing information relative to a location where the data is stored; and in a data receiving module, receive the constructed key for the data returned by the distributed storage system. - View Dependent Claims (21, 22)
-
Specification