CN109783029A - A kind of method for reading data and device - Google Patents

A kind of method for reading data and device Download PDF

Info

Publication number
CN109783029A
CN109783029A CN201910057211.1A CN201910057211A CN109783029A CN 109783029 A CN109783029 A CN 109783029A CN 201910057211 A CN201910057211 A CN 201910057211A CN 109783029 A CN109783029 A CN 109783029A
Authority
CN
China
Prior art keywords
data
node
memory
read
solicited message
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.)
Withdrawn
Application number
CN201910057211.1A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201910057211.1A priority Critical patent/CN109783029A/en
Publication of CN109783029A publication Critical patent/CN109783029A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of method for reading data and devices, the described method includes: host node is when receiving the solicited message of application program reading data, the slave node where the data to be read is searched according to the solicited message, and application program is made to read the data from the memory from node.In the application when application program reads data, it needs to transmit request information to host node, host node judges that read data whether there is in from node memory, if it is, application program is directly read from memory, when required data not in memory, then first then the reading data in disk to memory is read into data again.Since the speed that application program reads data from memory will be much higher than the rate directly read from disk, and then solve the problems, such as that there are bottlenecks for rate in reading data in the prior art, improve the reading rate of data, to improve the competitiveness of product.

Description

A kind of method for reading data and device
Technical field
This application involves storage management technique field more particularly to a kind of method for reading data and device.
Background technique
With the rapid development of IT technology, explosive growth is presented in information data.The data storage of magnanimity, which becomes, to be promoted to deposit The power that storage equipment and memory technology quickly update.The storage form most started is exactly local mechanical hard disk, big machine epoch storage It is separated with calculating, direct-connected JBOD (Just a Bunch Of Disks, disk cluster) storage occurs, be born me still later Now known to be based on storage area network (Storage Area Network, abbreviation SAN) and network attached storage The independent storage system of (Network Attached Storage, abbreviation NAS).Later with the arrival of internet, data volume It is increasing, there is a very big leap from GB rank to PB rank.It at this time include that many internets such as Google, Amazon are public Department begins through distributed storage form also to construct the data-storage system based on magnanimity.The technology for storing mass data is present The problem of having can satisfy demand instantly substantially, but having come with to mass data reading rate is gradually convex It is aobvious.
For how to promote the reading rate of data, present solution largely all concentrates on changing physical equipment Into in the extension with network bandwidth, but reading rate remains a bottleneck.
It is above-mentioned in the prior art in reading data when rate there are problems that bottleneck, how to improve data reading speed Rate, there are no relevant solutions in currently available technology.
Summary of the invention
The main purpose of the application is to propose a kind of method for reading data, be able to solve in the prior art in reading data When rate there are problems that bottleneck, the reading rate of data is improved, to improve the competitiveness of product.
To achieve the above object, the embodiment of the present application provides a kind of method for reading data, and distributed memory system includes Host node and from node, the method is applied to the host node of distributed memory system, comprising:
Host node to be read when receiving the solicited message of application program reading data according to solicited message lookup Slave node where the data taken, makes application program read the data from the memory from node.
Optionally, the slave node searched according to the solicited message where the data to be read, comprising:
Host node judges that the data whether there is in from node memory, if it is, obtaining according to the solicited message Take the location information of the slave node where the data.
Optionally, the method also includes:
If host node judges that the data are not present in from node memory according to the solicited message, described in acquisition It is corresponding from node to be sent to the location information by the location information of the slave node where data for the solicited message, so that The data are loaded into memory by it.
Optionally, wherein include the store path information for the data to be read in the solicited message;
The host node judges that the data whether there is in from node memory according to the solicited message, comprising:
Host node searches the store path information of the data according to the list information pre-saved, wherein the list One or more information pair comprising following information composition in information: store path information, where the store path information From the location information of node, the corresponding data of the store path information whether mark in memory;
Obtain the corresponding data of store path information that are found in list information whether mark in memory, Sentencing the data according to the mark whether there is in from node memory;
The location information for obtaining the slave node where the data, makes application program from the memory from node Read the data, comprising:
The location information for obtaining the slave node where the store path information found in list information makes using journey Sequence reads the data from the corresponding memory from node of the location information.
Optionally, the method also includes:
Host node confirmation is described the data are loaded into memory from node after, update the list information.
The embodiment of the present application also provides a kind of method for reading data, distributed memory system includes host node and from section Point, the method are applied to the slave node of distributed memory system, comprising:
From node when receiving the solicited message of the reading data of application program transmitted by host node, according to the request The data are loaded into local memory by information;
When the data that application program to be read are loaded into memory, the data are read from local memory from node Return to the application program.
Optionally, wherein include the store path information for the data to be read in the solicited message;
It is described that the data are loaded into local memory according to the solicited message, comprising:
It is described that the data to be read are judged according to the store path information for the data to be read from node Whether this is located at from node, if it is, the data to be read are loaded onto this from the memory of node.
The embodiment of the present application also provides a kind of reading data device, distributed memory system includes host node and from section Point, described device are set to the host node of distributed memory system, comprising:
Solicited message processing module is set as when receiving the solicited message of application program reading data, according to described Solicited message searches the slave node where the data to be read;
Internal storage data reads trigger module, is set as finding the data to be read in the solicited message processing module After the slave node at place, application program is made to read the data from the memory from node.
Optionally, the solicited message processing module is specifically configured to:
Judge that the data whether there is in from node memory according to the solicited message, if it is, described in obtaining The location information of slave node where data.
Optionally, the solicited message processing module is specifically also configured to:
If judging that the data are not present in from node memory according to the solicited message, the data institute is obtained Slave node location information, it is corresponding from node that the solicited message is sent to the location information, so that it is by institute Data are stated to be loaded into memory.
Optionally, wherein include the store path information for the data to be read in the solicited message;
The solicited message processing module is judging that the data whether there is in out of node according to the solicited message When depositing middle, specifically include:
The store path information of the data is searched according to the list information pre-saved, wherein in the list information One or more information pair comprising following information composition: store path information, the slave node where the store path information Location information, the corresponding data of the store path information whether mark in memory;
Obtain the corresponding data of store path information that are found in list information whether mark in memory, Sentencing the data according to the mark whether there is in from node memory;
The solicited message processing module is specifically arranged when obtaining the location information of the slave node where the data Are as follows:
Obtain the location information of the slave node where the store path information found in list information;
The internal storage data reads trigger module and is specifically configured to:
Application program is set to read the data from the corresponding memory from node of the location information.
Optionally, described device further include:
List information updating module updates institute after being set as that confirmation is described and being loaded into memory the data from node State list information.
The embodiment of the present application also provides a kind of reading data device, distributed memory system includes host node and from section Point, described device are set to the slave node of distributed memory system, comprising:
Internal storage data loading module is set as in the request letter for receiving the reading data of application program transmitted by host node When breath, the data are loaded into local memory according to the solicited message;
Internal storage data read module, when the data for being set as being read when application program are loaded into memory, from local The data are read in memory returns to the application program.
Optionally, wherein include the store path information for the data to be read in the solicited message;
The internal storage data loading module is specifically configured to:
Judge whether the data to be read are located at this according to the store path information for the data to be read From node, if it is, the data to be read are loaded onto this from the memory of node.
The technical solution that the application proposes includes: host node when receiving the solicited message of application program reading data, The slave node where the data to be read is searched according to the solicited message, makes application program from the memory from node Read the data.
In the application when application program reads data, need to transmit request information to host node, host node judgement is read The data taken whether there is in from node memory, if so, application program is directly read from memory, when required data do not exist In memory, then first then the reading data in disk to memory is read into data again.Since application program reads number from memory According to speed to be much higher than the rate directly read from disk, and then solve in the prior art that rate is deposited in reading data The bottleneck the problem of, the reading rate of data is improved, to improve the competitiveness of product.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 show the method for reading data flow chart of the embodiment of the present application 1;
Fig. 2 show the application application example system subordinate's schematic diagram;
Fig. 3 show the application application program from memory read data flow diagram;
Fig. 4 show the schematic diagram that disk file data are loaded onto memory from node by the application;
Fig. 5 show the reading data structure drawing of device of the embodiment of the present application 2;
Fig. 6 show the reading data structure drawing of device of the embodiment of the present application 3.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
The application is described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
Fig. 1 show the method for reading data flow chart of the embodiment of the present application 1, distributed memory system include host node and From node, the method is applied to the host node of distributed memory system, comprising the following steps:
Step 101: host node is looked into when receiving the solicited message of application program reading data according to the solicited message Look for the slave node where the data to be read;
Distributed memory system involved in the application using " host node+from node " construction module, wherein main section Point Master is the management node in distributed memory system, for being communicated from node with each and managing distributed storage Each of system is from node.Master is management node, the function of data needed for not carrying storage application program, using journey Data required for sequence are stored in from the disk of node, when application program is needed using data, need with Master establishes connection, is sent to it the solicited message for reading data, obtains the number to be read from from node by Master According to.
Host node searches the slave node where the data to be read according to the solicited message, can be as follows It carries out:
Step 1011: host node judges that the data whether there is in from node memory according to the solicited message.Such as Fruit is to then follow the steps 1012;If it is determined that the data are not present in from node memory, then execute respectively step 1012 and 1013。
It, can be in the following way when realizing this step:
In distributed memory system starting, host node Master can actively or passive collect can each load from node Store path information where data into memory, this is needed before starting from node by which of user's designated disk File can be used for application program can be read out from memory, such as: user's designated disk /road home/testFile File under diameter, then can identify All Files and folder information under the path when starting from node, and by the information It is sent to host node Master together from the location information of node together with this or host node Master actively obtains above- mentioned information.
Host node Master is in being collected into system each from the store path information of node and its corresponding from node After location information, summarized into a list, one or more information pair comprising following information composition in the list: is deposited Routing information is stored up, the location information of the slave node where the store path information, whether is the corresponding data of store path information Mark in memory;Corresponding number of store path information of each data centering in system initial start stage, the list According to whether mark in memory can be set to 0, indicate the corresponding data of store path information not in memory.
The store path information for the data to be read can be included in solicited message by application program when reading data It is sent to host node Master, host node Master parses request letter when receiving solicited message transmitted by application program Breath, therefrom gets the store path information for the data to be read, and then host node is believed according to the above-mentioned list pre-saved Breath searches the store path information of the data, then obtains the corresponding number of store path information found in list information According to whether mark in memory, according to it is described mark sentence the data whether there is in from node memory.
Step 1012: host node obtains the location information of the slave node where the data.
After finding the store path information of the data in step 1011, searched in list information by obtaining The location information of slave node where the store path information arrived can obtain the position letter of the slave node where the data Breath.
Step 1013: it is corresponding from node that the solicited message being sent to the location information, so that it is by the number According to being loaded into memory.
After having executed this step, can also include: that the host node confirmation is described be loaded into from node by the data After in memory, the list information is updated.The load that can be specifically returned by receiving the distributed memory system from node Result information, wherein the loading result information includes whether load successfully identifies;By the mark, host node be would know that Data have been loaded onto memory from node.Then the list information is updated, is by the corresponding data of store path information No mark in memory is set to the state of "Yes", for example is set to 1.
Step 102: application program being made to read the data from the memory from node;
It is read in application program after the location information for getting the slave node where the data in step 1012 Data be present in one the read data of application program are loaded onto memory from node memory or from node in the case where, Host node notifies application program, and it is corresponding from node that request is re-introduced into the location information, and application program can be from Desired data are read in the memory from node.
After executing the step 1013, for how to be handled from node, it can carry out by the following method, it should be noted that , slave node of the following method applied to distributed memory system.
From node when receiving the solicited message of the reading data of application program transmitted by host node, according to the request The data are loaded into local memory by information;When the data that application program to be read are loaded into memory, from node The data are read from local memory returns to the application program.
By above-mentioned steps 101~102 it is found that when the application program data to be read are present in from node memory, Read requests can be re-introduced into the location information pair to notice application program, the server where application program by host node On the slave node answered, TCP connection is established from node with this, should can read the requested number of application program from memory from node According to returning to application program.It, will if host node if the application program data to be read are not present in from node memory The solicited message that application program reads data is transmitted to corresponding from node, at this time, can then be believed from node according to the request The data are loaded into local memory by breath.
It, can be in the following way when the data are loaded into local memory by specific implementation according to the solicited message It carries out:
It wherein, include the store path information for the data to be read in the solicited message;
It is described that the data to be read are judged according to the store path information for the data to be read from node Whether this is located at from node, if it is, the data to be read are loaded onto this from the memory of node.
During loading, it when from node local memory insufficient space, can first be removed from node full in local memory After the data of sufficient preset condition, then the data to be read are loaded into local memory.Wherein, preset condition can be satisfaction The data infrequently accessed, specifically can according to the design needs depending on.
What needs to be explained here is that the application needs to transmit request information to host node when application program reads data, Host node judges that read data whether there is in from node memory, if so, application program is directly read from memory, When required data not in memory, then first then the reading data in disk to memory is read into data again.Due to application program The speed that data are read from memory will be much higher than the rate directly read from disk, and then solve in the prior art in number There are problems that bottleneck according to rate when reading, the reading rate of data is improved, to improve the competitiveness of product.
Further to clearly demonstrate, the above method is illustrated with an application example:
Inventor has write one using the method for the slave node for being applied to distributed memory system in the embodiment of the present application 1 Agent broker program, application example system subordinate schematic diagram is as shown in Fig. 2, by the Agent broker program subordinate in storage service On device B, C and D, wherein the application program for sending reading request of data operates on server E, server A is distributed storage The host node Master of system, storage server B, C and D are the slave node in distributed memory system, storage server B respectively IP address be 117.107.231.66, the IP address of storage server C is 117.107.231.67, the IP of storage server D Address is 117.107.231.68.User specify storage server B disk /path home/testFile be management path, deposit Store up server C disk /path home/testFile1 be management path, storage server D disk /home/testFile2 Path is management path.Upon power-up of the system, host node collects the file under the management path for summarizing storage server B, C and D Folder and the file information, wherein storage server B disk /home/testFile management path under there are test.txt file, Storage server C disk /home/testFile1 management path under there are test1.txt file, storage server D disks / home/testFile2 management path under there are test2.txt file, host node saves the file store path being collected into In local list information, it may be assumed that there are three data pair in list information, be respectively as follows: (/home/testFile/ Test.txt, 117.107.231.66,0), (/home/testFile1/test1.txt, 117.107.231.67,0), (/ Home/testFile2/test2.txt, 117.107.231.68,0), wherein " 0 " of each data centering indicates the storage road The corresponding data of diameter information are not in memory.
The solicited message of data is read (comprising the data to be read in solicited message when host node receives application program The store path information at place is /home/testfile/test.txt) when, following steps are next executed, specifically such as Fig. 3 institute Show:
1) host node Master searches whether that there are included in solicited message in the list information locally pre-saved Store path information, find the corresponding data pair of slave node of corresponding storage server B later, judged the store path Data under information then will acquire the IP address of storage server B not in the memory of storage server B, and the request is believed Breath is sent to the corresponding storage server B of the IP address;
2) when storage server B receives the solicited message of the reading data of application program transmitted by host node Master, It is located at this from node according to store path information therein/home/testfile/test.txt judgement data to be read On, then read/home/testfile/test.txt under data and be loaded onto local memory, loading result is returned later Give host node Master;The schematic diagram that disk file data are wherein loaded onto memory is as shown in Figure 4;
3) host node Master receive sent from node storage server B return the result after, confirmation is from node by institute The data to be read are loaded into memory, then update local list information, by data pair corresponding to wherein storage server B It is updated to (/home/testFile/test.txt, 117.107.231.66,1), wherein " 1 " of the updated data centering Indicate the corresponding data of store path information in memory;
4) host node Master notifies its data to be read of application program in memory, and application program will request to weigh It newly is directed to storage server B, establishes TCP connection with storage server B;
5) storage server B reads the requested data of application program from memory, returns to application program.
After above-mentioned steps are finished, application program can read required data from from node memory.It compares Data directly are read from from node disk, improve the reading rate of data.
Fig. 5 is the reading data structure drawing of device of the embodiment of the present application 2, and distributed memory system includes host node and from section Point, described device are set to the host node of distributed memory system, as shown in figure 5, the device includes:
Solicited message processing module is set as when receiving the solicited message of application program reading data, according to described Solicited message searches the slave node where the data to be read;
Internal storage data reads trigger module, is set as finding the data to be read in the solicited message processing module After the slave node at place, application program is made to read the data from the memory from node.
Further, the solicited message processing module is specifically configured to:
Judge that the data whether there is in from node memory according to the solicited message, if it is, described in obtaining The location information of slave node where data.
The solicited message processing module is specifically also configured to:
If judging that the data are not present in from node memory according to the solicited message, the data institute is obtained Slave node location information, it is corresponding from node that the solicited message is sent to the location information, so that it is by institute Data are stated to be loaded into memory.
It wherein, include the store path information for the data to be read in the solicited message;
The solicited message processing module is judging that the data whether there is in out of node according to the solicited message When depositing middle, specifically include:
The store path information of the data is searched according to the list information pre-saved, wherein in the list information One or more information pair comprising following information composition: store path information, slave node where the store path information Location information, the corresponding data of store path information whether mark in memory;
Obtain the corresponding data of store path information that are found in list information whether mark in memory, Sentencing the data according to the mark whether there is in from node memory;
The solicited message processing module is specifically wrapped when obtaining the location information of the slave node where the data It includes:
Obtain the location information of the slave node where the store path information found in list information;
The internal storage data reads trigger module and is specifically configured to:
Application program is set to read the data from the corresponding memory from node of the location information;
Described device further include:
List information updating module updates institute after being set as that confirmation is described and being loaded into memory the data from node State list information.
Fig. 6 is the reading data structure chart of the embodiment of the present application 3, and distributed memory system includes host node and from node, Described device is set to the slave node of distributed memory system, as shown in fig. 6, the device includes:
Internal storage data loading module is set as in the request letter for receiving the reading data of application program transmitted by host node When breath, the data are loaded into local memory according to the solicited message;
Internal storage data read module, when the data for being set as being read when application program are loaded into memory, from local The data are read in memory returns to the application program.
It wherein, include the store path information for the data to be read in the solicited message;
The internal storage data loading module is specifically configured to:
Judge whether the data to be read are located at this according to the store path information for the data to be read From node, if it is, the data to be read are loaded onto this from the memory of node.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
The above is only preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all to utilize this Shen Please equivalent structure or equivalent flow shift made by specification and accompanying drawing content, be applied directly or indirectly in other relevant skills Art field similarly includes in the scope of patent protection of the application.

Claims (14)

1. a kind of method for reading data, which is characterized in that distributed memory system includes host node and from node, and the method is answered Host node for distributed memory system, comprising:
Host node to be read when receiving the solicited message of application program reading data according to solicited message lookup Slave node where data, makes application program read the data from the memory from node.
2. the method according to claim 1, wherein described search the number to be read according to the solicited message According to the slave node at place, comprising:
Host node judges that the data whether there is in from node memory according to the solicited message, if it is, obtaining institute State the location information of the slave node where data.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If host node judges that the data are not present in from node memory according to the solicited message, the data are obtained The solicited message it is corresponding from node to be sent to the location information, so that it will by the location information of the slave node at place The data are loaded into memory.
4. according to the method in claim 2 or 3, which is characterized in that include to be read in the solicited message wherein The store path information of data;
The host node judges that the data whether there is in from node memory according to the solicited message, comprising:
Host node searches the store path information of the data according to the list information pre-saved, wherein the list information In comprising following information composition one or more information pair: store path information, the slave section where the store path information The location information of point, the corresponding data of the store path information whether mark in memory;
Obtain the corresponding data of store path information that are found in list information whether mark in memory, according to The mark, which sentences the data, whether there is in from node memory;
The location information for obtaining the slave node where the data, reads application program from the memory from node The data, comprising:
The location information for obtaining the slave node where the store path information that is found in list information, make application program from The data are read in the corresponding memory from node of the location information.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Host node confirmation is described the data are loaded into memory from node after, update the list information.
6. a kind of method for reading data, which is characterized in that distributed memory system includes host node and from node, and the method is answered Slave node for distributed memory system, comprising:
From node when receiving the solicited message of the reading data of application program transmitted by host node, according to the solicited message The data are loaded into local memory;
When the data that application program to be read are loaded into memory, the data are read from local memory from node and are returned To the application program.
7. according to the method described in claim 6, it is characterized in that, including the number to be read in the solicited message wherein According to store path information;
It is described that the data are loaded into local memory according to the solicited message, comprising:
It is described that whether the data to be read are judged according to the store path information for the data to be read from node Positioned at this from node, if it is, the data to be read are loaded onto this from the memory of node.
8. a kind of reading data device, which is characterized in that distributed memory system includes host node and from node, and described device is set It is placed in the host node of distributed memory system, comprising:
Solicited message processing module is set as when receiving the solicited message of application program reading data, according to the request Slave node where the information searching data to be read;
Internal storage data reads trigger module, is set as where the solicited message processing module finds the data to be read Slave node after, so that application program is read the data from the memory from node.
9. device according to claim 8, which is characterized in that the solicited message processing module is specifically configured to:
Judge that the data whether there is in from node memory, if it is, obtaining the data according to the solicited message The location information of the slave node at place.
10. device according to claim 9, which is characterized in that the solicited message processing module is specifically also configured to:
If judging that the data are not present in from node memory according to the solicited message, where obtaining the data From the location information of node, it is corresponding from node that the solicited message is sent to the location information, so that it is by the number According to being loaded into memory.
11. device according to claim 9 or 10, which is characterized in that wherein, comprising to be read in the solicited message Data store path information;
The solicited message processing module is judging that the data whether there is in from node memory according to the solicited message When, it specifically includes:
The store path information of the data is searched according to the list information pre-saved, wherein include in the list information One or more information pair of following information composition: store path information, the position of the slave node where the store path information Confidence breath, the corresponding data of the store path information whether mark in memory;
Obtain the corresponding data of store path information that are found in list information whether mark in memory, according to The mark, which sentences the data, whether there is in from node memory;
The solicited message processing module is specifically configured to when obtaining the location information of the slave node where the data:
Obtain the location information of the slave node where the store path information found in list information;
The internal storage data reads trigger module and is specifically configured to:
Application program is set to read the data from the corresponding memory from node of the location information.
12. device according to claim 11, which is characterized in that described device further include:
List information updating module updates the column after being set as that confirmation is described and being loaded into memory the data from node Table information.
13. a kind of reading data device, which is characterized in that distributed memory system includes host node and from node, described device It is set to the slave node of distributed memory system, comprising:
Internal storage data loading module is set as in the solicited message for receiving the reading data of application program transmitted by host node When, the data are loaded into local memory according to the solicited message;
Internal storage data read module, when the data for being set as being read when application program are loaded into memory, from local memory The middle reading data return to the application program.
14. device according to claim 13, which is characterized in that include to be read in the solicited message wherein The store path information of data;
The internal storage data loading module is specifically configured to:
Judge whether the data to be read are located at this from section according to the store path information for the data to be read On point, if it is, the data to be read are loaded onto this from the memory of node.
CN201910057211.1A 2019-01-22 2019-01-22 A kind of method for reading data and device Withdrawn CN109783029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910057211.1A CN109783029A (en) 2019-01-22 2019-01-22 A kind of method for reading data and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910057211.1A CN109783029A (en) 2019-01-22 2019-01-22 A kind of method for reading data and device

Publications (1)

Publication Number Publication Date
CN109783029A true CN109783029A (en) 2019-05-21

Family

ID=66501885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910057211.1A Withdrawn CN109783029A (en) 2019-01-22 2019-01-22 A kind of method for reading data and device

Country Status (1)

Country Link
CN (1) CN109783029A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486421A (en) * 2020-12-16 2021-03-12 上海达梦数据库有限公司 Data storage method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486421A (en) * 2020-12-16 2021-03-12 上海达梦数据库有限公司 Data storage method and device, electronic equipment and storage medium
CN112486421B (en) * 2020-12-16 2024-05-28 上海达梦数据库有限公司 Data storage method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10204114B2 (en) Replicating data across data centers
CN100565483C (en) Content relay and content trunking method
CN106294352B (en) A kind of document handling method, device and file system
US20120215741A1 (en) LDAP Replication Priority Queuing Mechanism
CN107025289B (en) A kind of method and relevant device of data processing
CN102065110A (en) On-line updating method and system for client side software on basis of P2SP (Peer to Server and to Peer)
CN113360456B (en) Data archiving method, device, equipment and storage medium
EP2710477B1 (en) Distributed caching and cache analysis
CN105224609A (en) Index query method and device
CN108322502A (en) Method, gateway system and storage medium for equalization server load
CN110413845B (en) Resource storage method and device based on Internet of things operating system
CN107888666A (en) A kind of cross-region data-storage system and method for data synchronization and device
EP3026573A1 (en) Data storage method and apparatus
CN108881066A (en) A kind of method of route requests, access server and storage equipment
CN108282508A (en) Determination method and device, information-pushing method and the device in geographical location
CN105871591A (en) Method and device for distributing CDN (Content Delivery Network) addresses
CN108632397A (en) To the control method and system of network connection
CN105915655B (en) Network agent method and agency plant
CN106326280A (en) Data processing method, apparatus and system
CN109783029A (en) A kind of method for reading data and device
CN106506647A (en) A kind of client has the intelligence community cloud storage system of data backup device
EP3649532B1 (en) Methods, systems, databases and network nodes of data communication networks for handling data posts
CN103856535B (en) A kind of method and apparatus obtaining user data
CN105554159A (en) Integrated smart community cloud storage system
CN112463379A (en) Management method and system of virtual cache server, electronic equipment and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190521

WW01 Invention patent application withdrawn after publication