CN105574083A - Data writing method, data writing system, data reading method and data reading system - Google Patents

Data writing method, data writing system, data reading method and data reading system Download PDF

Info

Publication number
CN105574083A
CN105574083A CN201510904229.2A CN201510904229A CN105574083A CN 105574083 A CN105574083 A CN 105574083A CN 201510904229 A CN201510904229 A CN 201510904229A CN 105574083 A CN105574083 A CN 105574083A
Authority
CN
China
Prior art keywords
binary data
data
write
server
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510904229.2A
Other languages
Chinese (zh)
Other versions
CN105574083B (en
Inventor
王勇
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201510904229.2A priority Critical patent/CN105574083B/en
Publication of CN105574083A publication Critical patent/CN105574083A/en
Application granted granted Critical
Publication of CN105574083B publication Critical patent/CN105574083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management

Abstract

The invention provides a data writing method, a data writing system, a data reading method and a data reading system. The data reading system and the data writing system each comprise a client side, a binary data server and a database server; in the event of writing data, non-binary data in the data to be written is written in the database server; binary data in the data to be written is written in the binary data server; in the event of reading the data, the non-binary data in the data to be read is read from the database server; the binary data in the data to be read is read from the binary data server; the non-binary data is only read and written in the database server; the binary data is read and written in the binary data server; therefore, the problem that access, maintenance and expansion of contents of the database server are not carried out easily due to the fact that a file in the database server is too large can be solved; and simultaneously, the binary data is more convenient, flexible and high-efficiency to read and write.

Description

A kind of method for writing data, system and method for reading data and system
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of method for writing data, system and method for reading data and system.
Background technology
In information system, often need to store the binary data of some picture and/or videos etc., and these binary data have larger file size than non-binary data, if binary data is equally kept in database server with nonbinary logarithmic data, file in database server will be caused excessive, be unfavorable for access and the maintenance of database server content, be also unfavorable for the expansion of database server content.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method for writing data, system and method for reading data and system, to solve in prior art, binary data is equally kept in database server with nonbinary logarithmic data, file in database server will be caused excessive, be unfavorable for access and the maintenance of database server content, be also unfavorable for the problem of the expansion of database server content.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of data writing systems, comprising: the write binary data server of write client, stores binary data and the write into Databasce server of storage non-binary data; Wherein,
Said write client, for receiving the data write instruction that user provides, determines according to described data write instruction the data that user need write; Judge whether the described data that need write comprise binary data, if so, then described binary data is sent to said write binary data server; Judge whether the described data that need write comprise non-binary data, if so, then described non-binary data are sent to said write database server;
Said write binary data server, for receiving the binary data that said write client sends, stores described binary data;
Said write database server, for receiving the non-binary data that said write client sends, stores described non-binary data.
Wherein, described data writing systems also comprises: write binary data server for subsequent use and/or write into Databasce server for subsequent use; Wherein,
Described write binary data server for subsequent use, for when said write binary data server failure, receive the binary data of said write binary data server transfer, and after all binary data receiving the transfer of said write binary data server, receive the binary data that said write client sends, the binary data of described reception is stored;
Described write into Databasce server for subsequent use, for when said write database server fault, receive the non-binary data of said write database server transfer, and after all non-binary data receiving the transfer of said write database server, receive the non-binary data that said write client sends, the non-binary data of described reception is stored.
A kind of method for writing data, based on above-mentioned data writing systems, described method for writing data comprises:
Write client receives the data write instruction that user provides, and determines according to described data write instruction the data that user need write;
Said write client judges whether the described data that need write comprise binary data, if, then described binary data is sent to write binary data server, said write binary data server receives the binary data that said write client sends, and stores described binary data;
Said write client judges whether the described data that need write comprise non-binary data, if, then described non-binary data is sent to write into Databasce server, said write database server receives the non-binary data that said write client sends, and stores described non-binary data.
Wherein, describedly storage carried out to described binary data comprise:
Said write binary data server determines the first write time point receiving described binary data;
Judge whether that there is described first write time puts corresponding file;
If so, then described binary data storage to described first write time is put in corresponding file;
If not, then creating described first write time puts corresponding file, puts in corresponding file by described binary data storage to described first write time;
Wherein, describedly storage carried out to described non-binary data comprise:
The the second write time point receiving described non-binary data determined by said write database server;
Judge whether that there is described second write time puts corresponding file;
If so, then described non-binary data being stored to described second write time puts in corresponding file;
If not, then creating described second write time puts corresponding file, described non-binary data is stored to described second write time to put in corresponding file.
Wherein, described method for writing data also comprises:
Detect said write binary data server whether to break down, if break down, then binary data in said write binary data server is transferred to write binary data server for subsequent use;
Receive all binary data of said write binary data server transfer at described write binary data server for subsequent use after, the said write client binary data that need write in data sends to described write binary data server for subsequent use, described write binary data server for subsequent use receives the binary data that said write client sends, and stores described binary data.
Wherein, described method for writing data also comprises:
Detect said write database server whether to break down, if break down, then binary data in said write database server is transferred to write into Databasce server for subsequent use;
After described write into Databasce server for subsequent use receives all binary data of said write database server transfer, the said write client non-binary data that need write in data sends to described write into Databasce server for subsequent use, described write into Databasce server for subsequent use receives the non-binary data that said write client sends, and stores described non-binary data.
A kind of data reading system, comprising: read client, the reading binary data server of stores binary data and the reading database server of storage non-binary data; Wherein,
Described reading client, for receiving the data read command that user provides, the data that user need read are determined according to described data read command, judge whether the described data that need read comprise binary data, if, then send the first data read request to described reading binary data server, and receive the described binary data that described reading binary data server returns after receiving described first data read request, judge whether the described data that need read comprise non-binary data, if, then send the second data read request to described reading database server, and receive described reading database server and receiving the described non-binary data returned after described second data read request,
Described reading binary data server, for receiving the first data read request that described reading client sends, searching the corresponding binary data of described first data read request, described binary data is returned described reading client;
Described reading database server, for receiving the second data read request that described reading client sends, searching the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client.
Wherein, described data reading system also comprises: reading binary data server for subsequent use and/or reading database server for subsequent use; Wherein,
Described reading binary data server for subsequent use, for when described reading binary data server failure, receive the binary data of described reading binary data server transfer, and after all binary data receiving the transfer of described reading binary data server, receive the first data read request that described reading client sends, search the corresponding binary data of described first data read request, described binary data is returned described reading client;
Described reading database server for subsequent use, for when described reading database server failure, receive the binary data of described reading database server transfer, and after all binary data receiving the transfer of described reading database server, receive the second data read request that described reading client sends, search the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client.
A kind of method for reading data, based on above-mentioned data reading system, comprising:
Read the data read command that client reception user provides, determine according to described data read command the data that user need read;
Described reading client judges whether the described data that need read comprise binary data, if, then send the first data read request to described reading binary data server, described reading binary data server receives the first data read request that described reading client sends, search the corresponding binary data of described first data read request, described binary data is returned described reading client, and described reading client receives the described binary data that described reading binary data server returns after receiving described first data read request;
Described reading client judges whether the described data that need read comprise non-binary data, if, then send the second data read request to described reading database server, described reading database server receives the second data read request that described reading client sends, search the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client, and described reading client receives the described non-binary data that described reading database server returns after receiving described second data read request.
Wherein, search the corresponding binary data of described first data read request described in comprise:
Described reading binary data server determines the first write time point that described binary data is corresponding;
Put in corresponding file in described first write time and search described binary data;
Wherein, search the corresponding non-binary data of described second data read request described in comprise:
Described reading database server determines the second write time point that described non-binary data is corresponding;
Put in corresponding file in described second write time and search described binary data.
Wherein, described method for writing data also comprises:
Detect described reading binary data server whether to break down, if break down, then binary data in described reading binary data server is transferred to reading binary data server for subsequent use;
Receive all binary data of described reading binary data server transfer at described reading binary data server for subsequent use after, described reading client sends the first data read request to described reading binary data server for subsequent use, described reading binary data server for subsequent use receives the first data read request that described reading client sends, search the corresponding binary data of described first data read request, described binary data is returned described reading client;
Wherein, described method for writing data also comprises:
Detect described reading database server whether to break down, if break down, then binary data in described reading database server is transferred to reading database server for subsequent use;
Receive all binary data of described reading database server transfer at described reading database server for subsequent use after, described reading client sends the second data read request to described reading database server for subsequent use, described reading database server for subsequent use receives the second data read request that described reading client sends, search the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client.
Based on technique scheme, the method for writing data that the embodiment of the present invention provides, system and method for reading data and system, data reading system and data writing systems include client, binary data server and database server, during write data, client receives the data write instruction that user provides, the data that user need write are determined according to these data write instruction, if these data that need write comprise binary data, then this binary data sends to binary data server to store by client, if these data that need write comprise non-binary data, then this non-binary data sends to database server to store by client, when reading data, client receives the data read command that user provides, the data that user need read are determined according to this data read command, if these data that need read comprise binary data, then client sends the first data read request to binary data server, from this binary data server, read this need read binary data in data, if these data that need read comprise non-binary data, then client sends the second data read request to database server, from this database server, read this need read non-binary data in data.When the data is written, in non-binary data write into Databasce server in the data that need write, in binary data write binary data server in the data that need write, accordingly, when reading the data, the non-binary data part that need read in data is read from database server, the binary data part that need read in data is read from binary data server, only in database server, read and write non-binary data, binary data is read and write in binary data server, avoid file in factor data bank server excessive, and cause the access being unfavorable for database server content, the problem safeguarded and expand, make binary data read and write convenient simultaneously, flexibly with efficient.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The system chart of the data writing systems that Fig. 1 provides for the embodiment of the present invention;
Another system chart of the data writing systems that Fig. 2 provides for the embodiment of the present invention;
The process flow diagram of the method for writing data that Fig. 3 provides for the embodiment of the present invention;
The method flow diagram in the method for writing data that Fig. 4 provides for the embodiment of the present invention, binary data stored;
The method flow diagram in the method for writing data that Fig. 5 provides for the embodiment of the present invention, non-binary data stored;
The method flow diagram of cut-in stand-by write binary data server in the method for writing data that Fig. 6 provides for the embodiment of the present invention;
The method flow diagram of write into Databasce server is switched in the method for writing data that Fig. 7 provides for the embodiment of the present invention;
The system chart of the data reading system that Fig. 8 provides for the embodiment of the present invention;
Another system chart of the data reading system that Fig. 9 provides for the embodiment of the present invention;
The process flow diagram of the method for reading data that Figure 10 provides for the embodiment of the present invention;
The method flow diagram of binary data is read in the method for reading data that Figure 11 provides for the embodiment of the present invention;
The method flow diagram of non-binary data is read in the method for reading data that Figure 12 provides for the embodiment of the present invention;
In the method for reading data that Figure 13 provides for the embodiment of the present invention, cut-in stand-by reads the method flow diagram of binary data server;
The method flow diagram of reading database server is switched in the method for reading data that Figure 14 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The system chart of the data writing systems that Fig. 1 provides for the embodiment of the present invention, when the data is written, in non-binary data write into Databasce server in the data that need write, in binary data write binary data server in the data that need write, avoid file in factor data bank server excessive, and cause being unfavorable for the problem of the access of database server content, maintenance and expansion, make binary data write more convenient and flexible and efficient simultaneously; With reference to Fig. 1, this data writing systems can comprise: the write binary data server 20 of write client 10, stores binary data and the write into Databasce server 30 of storage non-binary data.
When needs write data, user provides data write instruction by human-computer interaction interface etc. to write client 10, accordingly, and the data write instruction that reception user provides by write client 10.Write client 10 is determined according to these data write instruction the data that user need write, is judged whether comprise binary data and non-binary data in these data that need write after receiving the data write instruction that user provides.
If the data that need write comprise binary data, then write client 10 and this binary data is sent to write binary data server 20, if these data that need write comprise middle non-binary data, then write client 10 and send to write into Databasce server 30 to store this non-binary data.
That is, if only include binary data in the data that need write, then the data that this will need write by write client 10 all send to write binary data server 20; If only include non-binary data in the data that need write, then the data that this will need write by write client 10 all send to write into Databasce server 30; If not only comprise binary data but also comprise non-binary data in the data that need write, then the binary data write in client 10 data that this need will be write sends to write binary data server 20, and the non-binary data in the data that need write this sends to write into Databasce server 30.
Accordingly, when the data is written, if the data that need write comprise binary data, binary data in these data that need write is sent to write binary data server 20 by write client 10, write binary data server 20 will receive this binary data writing client 10 and send, write binary data server 20 after this binary data receiving the transmission of write client 10, will store this binary data.
Optionally, write binary data server 20 is after the binary data receiving the transmission of write client 10, can first the binary data of this reception be added in a queue, then carry out the mode stored according to the data of each team's head obtained in this queue, all binary data that write client 10 sends are stored in order.
Accordingly, when the data is written, if the data that need write comprise non-binary data, non-binary data in these data that need write is sent to write into Databasce server 30 by write client 10, write into Databasce server 30 will receive this non-binary data writing client 10 and send, write into Databasce server 30 after this non-binary data receiving the transmission of write client 10, will store this non-binary data.
Optionally, write into Databasce server 30 is after the non-binary data receiving the transmission of write client 10, also can first the non-binary data of this reception be added in a queue, then carry out the mode stored according to the data of each team's head obtained in this queue, all non-binary data that write client 10 sends are stored in order.
Based on technique scheme, the data writing systems that the embodiment of the present invention provides, comprise write client, write binary data server and write into Databasce server, during write data, client receives the data write instruction that user provides, the data that user need write are determined according to these data write instruction, if these data that need write comprise binary data, then this binary data sends to binary data server to store by client, if these data that need write comprise middle non-binary data, then this non-binary data sends to database server to store by client.When the data is written, in non-binary data write into Databasce server in the data that need write, in binary data write binary data server in the data that need write, only in database server, read and write non-binary data, binary data is read and write in binary data server, avoid file in factor data bank server excessive, and cause being unfavorable for the problem of the access of database server content, maintenance and expansion, make binary data write more convenient and flexible and efficient simultaneously.
Optionally, Fig. 2 shows another system chart of the data writing systems that the embodiment of the present invention provides, and with reference to Fig. 2, this data writing systems can also comprise: write binary data server 40 for subsequent use.
If only comprise write binary data server 20 in data writing systems, then, when writing binary data server 20 fault, data writing systems cannot continue normally to write binary data again.Therefore, write binary data server 40 for subsequent use can be added at data writing systems, when write binary data server failure 20 being detected, binary data in write binary data server 20 is transferred in write binary data server 40 for subsequent use, accordingly, write binary data server 40 for subsequent use will receive the binary data writing binary data server 20 and shift, after write binary data server 40 for subsequent use receives all binary data of write binary data server 20 transfer, substitute write binary data server 20 with write binary data server 40 for subsequent use to continue to receive the binary data writing client 10 and send, the binary data of this reception is stored, avoid because of write binary data server 20 fault, and cause and cannot continue normally to occur the situation that binary data writes.
Optionally, can to write binary data server 20, whether fault detects every prefixed time interval.
Optionally, with reference to Fig. 2, another system chart of the data writing systems that the embodiment of the present invention provides, this data writing systems can also comprise: write into Databasce server 50 for subsequent use.
If only comprise write into Databasce server 30 in data writing systems, then when write into Databasce server 30 fault, data writing systems cannot continue normally to carry out non-binary data write again.Therefore, write into Databasce server 50 for subsequent use can be added at data writing systems, when write into Databasce server 30 fault being detected, non-binary data in write into Databasce server 30 is transferred in write into Databasce server 50 for subsequent use, accordingly, the non-binary data that reception write into Databasce server 30 shifts by write into Databasce server 50 for subsequent use, after write into Databasce server 50 for subsequent use receives all non-binary data of write into Databasce server 30 transfer, the non-binary data that write into Databasce server 30 continues to receive the transmission of write client 10 is substituted with write into Databasce server 50 for subsequent use, the non-binary data of this reception is stored, avoid because of write into Databasce server 30 fault, and cause the situation that cannot continue normally to carry out non-binary data write to occur.
Optionally, can to write into Databasce server 30, whether fault detects every prefixed time interval.
The data writing systems that the embodiment of the present invention provides, when the data is written, in non-binary data write into Databasce server in the data that need write, in binary data write binary data server in the data that need write, avoid file in factor data bank server excessive, and cause being unfavorable for the problem of the access of database server content, maintenance and expansion, make binary data write more convenient and flexible and efficient simultaneously.
Be introduced the method for writing data that the embodiment of the present invention provides below, method for writing data described below is based on above-described data writing systems.
The process flow diagram of the method for writing data that Fig. 3 provides for the embodiment of the present invention, with reference to Fig. 3, this method for writing data can comprise:
Step S100: write client receives the data write instruction that user provides, determines according to described data write instruction the data that user need write;
When needs write data, user provides data write instruction by human-computer interaction interface etc. to write client, accordingly, the data write instruction that reception user provides by write client, after the data write instruction that client can provide reception user, determine according to these data write instruction the data that user need write.
Step S110: said write client judges whether the described data that need write comprise binary data;
Step S120: if so, then described binary data is sent to write binary data server by said write client, and said write binary data server receives the binary data that said write client sends, and stores described binary data;
The data that need write can only include binary data, can only include non-binary data, not only can also comprise binary data but also comprise non-binary data.When only including binary data in the data that need write, maybe when not only having comprised binary data but also comprised non-binary data in the data that need write, write client will judge that these data that need write comprise binary data.
If write client judges that the data that need write comprise binary data, then the binary data that these data that need write comprise is sent to write binary data server, received the binary data of this write client transmission by this write binary data server after, this binary data is stored.
Optionally, write binary data server is after the binary data receiving the transmission of write client, can first the binary data of this reception be added in a queue, then carry out the mode stored according to the data of each team's head obtained in this queue, all binary data that write client sends are stored in order.
Step S130: said write client judges whether the described data that need write comprise non-binary data;
Step S140: if so, then described non-binary data is sent to write into Databasce server by said write client, said write database server receives the non-binary data that said write client sends, and stores described non-binary data.
When only including non-binary data in the data that need write, maybe when not only having comprised binary data but also comprised non-binary data in the data that need write, write client will judge that these data that need write comprise non-binary data.
If write client judges that the data that need write comprise non-binary data, then the non-binary data that these data that need write comprise is sent to write into Databasce server, received the non-binary data of this write client transmission by this write into Databasce server after, this non-binary data is stored.
Optionally, write into Databasce server is after the non-binary data receiving the transmission of write client, also can first the non-binary data of this reception be added in a queue, then carry out the mode stored according to the data of each team's head obtained in this queue, all non-binary data that write client sends are stored in order.
That is, if only include binary data in the data that need write, then write client and store only these data that need write being sent to write binary data server; If only include non-binary data in the data that need write, then writing client will only can send to write into Databasce server to store these data that need write; If not only comprise binary data but also comprise non-binary data in the data that need write, then write client this need to be write data and both sent to write binary data server to store, database server is sent to again to store, concrete, write client will send to write binary data server to store by the binary data that comprises of these data that need write, and the non-binary data in the data that need write this sends to write into Databasce server to store.
Optionally, Fig. 4 shows the method flow diagram stored binary data in the method for writing data that the embodiment of the present invention provides, and with reference to Fig. 4, this can comprise the method that binary data stores:
Step S200: said write binary data server determines the first write time point receiving described binary data;
For avoiding storing excess file in a catalogue, therefore, write binary data server to be stored in receiving binary data respectively in different files according to time of reception.
Such as, if 2 points of 3 seconds 456 milliseconds of binary data receiving write client and send when 8 days 1 August in 2015, then can set up file " 2O150808 ", the binary data storage received on August 8th, 1 is in this " 2O15O808 " file, in like manner, also can set up file " 2O1508 " and store the binary data received all in August, 2015, or set up the binary data received when " 2O15080801 " stores all 2015 on August 8,1.
Optionally, the concrete division of write binary data server in-list, can decide according to the number of the binary data of this write binary data server reception every day, to avoid the overabundance of data or how many stored in certain file.
If write binary data server according to the time point receiving binary data by the binary data storage of this reception in different files, then this write binary data server can after the binary data receiving the transmission of write client, determine the time point receiving this binary data, obtain the first write time point.
Optionally, write binary data server is after the binary data receiving the transmission of write client, also can determine further and store geographical location information and the classification information of this binary data, so that when reading data to this write binary data server, improve data read rates and precision.
Step S210: judge whether that there is described first write time puts corresponding file;
Step S220: if so, then described binary data storage to described first write time is put in corresponding file;
If the first write time put corresponding file and is created, then direct the binary data storage of reception to be put in corresponding file to this first write time.
Step S230: if not, then creating described first write time puts corresponding file, is put in corresponding file described binary data storage to described first write time.
If the first write time put corresponding file and is not created, then needing first to create this first write time puts corresponding file, and then this binary data storage is put in corresponding file to this first write time.
Optionally, when writing the binary data stored in binary data server and exceeding the memory capacity of this write binary data server, the binary data stored in this write binary data server can be deleted according to the priority of time, the binary number data of oldest stored are deleted at first.
Optionally, Fig. 5 shows the method flow diagram stored non-binary data in the method for writing data that the embodiment of the present invention provides, and with reference to Fig. 5, this can comprise the method that binary data stores:
Step S300: the second write time point receiving described non-binary data determined by said write database server;
Same, for avoiding in write into Databasce server storing excess file in a catalogue, write into Databasce server also can be stored in receiving non-binary data in different files according to time of reception respectively.
Optionally, the concrete division of write into Databasce server in-list, can decide according to the number of the non-binary data of this write into Databasce server reception every day, to avoid the overabundance of data or how many stored in certain file.
If the non-binary data of this reception is stored in different files according to the time point receiving non-binary data by write into Databasce server, then this write into Databasce server can after the non-binary data receiving the transmission of write client, determine the time point receiving this non-binary data, obtain the second write time point.
Optionally, write into Databasce server is after the non-binary data receiving the transmission of write client, also can determine further and store geographical location information and the classification information of this non-binary data, so that when reading data to this write into Databasce server, improve data read rates and precision.
Step S310: judge whether that there is described second write time puts corresponding file;
Step S320: if so, then described non-binary data being stored to described second write time puts in corresponding file;
If the second write time put corresponding file and is created, then the direct non-binary data by reception is stored to this second write time and puts in corresponding file.
Step S330: if not, then creating described second write time puts corresponding file, described non-binary data is stored to described second write time to put in corresponding file.
If the second write time put corresponding file and is not created, then needing first to create this second write time puts corresponding file, and then this non-binary data is stored to this second write time and puts in corresponding file.
Optionally, when the non-binary data stored in write into Databasce server exceedes the memory capacity of this write into Databasce server, the non-binary data stored in this write into Databasce server can be deleted according to the priority of time, the nonbinary logarithmic data of oldest stored is deleted at first.
Optionally, Fig. 6 shows the method flow diagram of cut-in stand-by write binary data server in the method for writing data that the embodiment of the present invention provides, and with reference to Fig. 6, the method for this cut-in stand-by write binary data server can comprise:
Step S400: detect;
Optionally, can to write binary data server, whether fault detects every prefixed time interval.
Step S410: if break down, be then transferred to write binary data server for subsequent use by binary data in said write binary data server;
If write binary data server fail detected, then the binary data in the write binary data server of this fault is shifted to write binary data server for subsequent use.
Step S420: receive all binary data of said write binary data server transfer at described write binary data server for subsequent use after, the said write client binary data that need write in data sends to described write binary data server for subsequent use, described write binary data server for subsequent use receives the binary data that said write client sends, and stores described binary data.
After write binary data server for subsequent use receives all binary data of write binary data server transfer of fault, the write binary data server of this fault will quit work, and the work of the write binary data server of this fault is inherited by this write binary data server for subsequent use.Now, the binary data that need write in data will be sent to this write binary data server for subsequent use by write client, this write binary data server for subsequent use receives the binary data that this write client sends, and stores this binary data.
Optionally, Fig. 7 shows the method flow diagram switching write into Databasce server in the method for writing data that the embodiment of the present invention provides, and with reference to Fig. 7, the method for this switching write into Databasce server can comprise:
Step S500: detect said write database server and whether break down;
Optionally, can to write into Databasce server, whether fault detects every prefixed time interval.
Step S510: if break down, be then transferred to write into Databasce server for subsequent use by binary data in said write database server;
If write into Databasce server fail detected, then the non-binary data in the write into Databasce server of this fault is shifted to write binary data server for subsequent use.
Step S520: after described write into Databasce server for subsequent use receives all binary data of said write database server transfer, the said write client non-binary data that need write in data sends to described write into Databasce server for subsequent use, described write into Databasce server for subsequent use receives the non-binary data that said write client sends, and stores described non-binary data.
After write into Databasce server for subsequent use receives all non-binary data of write into Databasce server transfer of fault, the write into Databasce server of this fault will quit work, and the work of the write into Databasce server of this fault is inherited by this write into Databasce server for subsequent use.Now, the non-binary data that need write in data will be sent to this write into Databasce server for subsequent use by write client, and this write into Databasce server for subsequent use receives the non-binary data that this write client sends, and stores this non-binary data.
The method for writing data that the embodiment of the present invention provides, in non-binary data write into Databasce server in the data that need write, in binary data write binary data server in the data that need write, avoid file in factor data bank server excessive, and cause being unfavorable for the problem of the access of database server content, maintenance and expansion, make binary data write more convenient and flexible and efficient simultaneously.
The system chart of the data reading system that Fig. 8 provides for the embodiment of the present invention, when reading the data, the non-binary data part that need read in data is read from database server, the binary data part that need read in data is read from binary data server, avoid file in factor data bank server excessive, and cause being unfavorable for the problem of the access of database server content, maintenance and expansion, make binary data write more convenient and flexible and efficient simultaneously; With reference to Fig. 8, this data reading system can comprise: read client 100, the reading binary data server 200 of stores binary data and the reading database server 300 of storage non-binary data.
When needs read data, user provides data read command by human-computer interaction interface etc. to reading client 100, accordingly, reads the data read command that reception user provides by client 100.Read after client 100 receives the data read command that user provides, determine according to this data read command the data that user need read, judge whether comprise binary data and non-binary data in these data that need read.
If the data that need read comprise binary data, then read client 100 and will send the first data read request to reading binary data server 200, reading binary data server 200 will after this first data read request of reception, search the corresponding binary data of this first data read request, this binary data is returned and reads client 100; If these data that need read comprise middle non-binary data, then read client 100 and will send the second data read request to reading database server 200, reading database server 300 will after this second data read request of reception, search the corresponding non-binary data of this second data read request, this non-binary data is returned and reads client 100.
Based on technique scheme, the data reading system that the embodiment of the present invention provides, comprise reading client, read binary data server and reading database server, when reading data, client receives the data read command that user provides, the data that user need read are determined according to this data read command, if these data that need read comprise binary data, then client sends the first data read request to binary data server, from this binary data server, read this need read binary data in data, if these data that need read comprise non-binary data, then client sends the second data read request to database server, from this database server, read this need read non-binary data in data.When reading the data, the non-binary data part that need read in data is read from database server, the binary data part that need read in data is read from binary data server, only in database server, read and write non-binary data, binary data is read and write in binary data server, avoid file in factor data bank server excessive, and cause being unfavorable for the problem of the access of database server content, maintenance and expansion, make binary data read and write more convenient and flexible and efficient simultaneously.
Optionally, Fig. 9 shows another system chart of the data reading system that the embodiment of the present invention provides, and with reference to Fig. 9, this data writing systems can also comprise: reading binary data server 400 for subsequent use.
Reading binary data server 400 for subsequent use is added at data reading system, when reading binary data server failure 200 being detected, the non-binary data read in binary data server 200 is transferred in reading binary data server 400 for subsequent use; Accordingly, reading binary data server 400 for subsequent use will receive the non-binary data reading binary data server 200 and shift, after reading binary data server 400 for subsequent use receives all non-binary data reading the transfer of binary data server 200, the first data read request reading binary data server 200 continuation reception reading client 100 and send is substituted with reading binary data server 400 for subsequent use, search the corresponding binary data of this first data read request, this binary data is returned and reads client 100.Avoid because reading binary data server 200 fault, and cause and cannot continue normally to occur the situation that binary data reads.
Optionally, can to reading binary data server 200, whether fault detects every prefixed time interval.
Optionally, with reference to Fig. 9, another system chart of the data reading system that the embodiment of the present invention provides, this data reading system can also comprise: reading database server 500 for subsequent use.
Adding reading database server 500 for subsequent use at data reading system, when reading database server 300 fault being detected, the non-binary data in reading database server 300 being transferred in reading database server 500 for subsequent use; Accordingly, the non-binary data that reception reading database server 300 shifts by reading database server 500 for subsequent use, after reading database server 500 for subsequent use receives all non-binary data of reading database server 300 transfer, substitute reading database server 300 with reading database server 500 for subsequent use to continue to receive the second data read request reading client 100 and send, search the corresponding non-binary data of this second data read request, this non-binary data is returned and reads client 100.Avoid because of reading database server 300 fault, and cause the situation that cannot continue normally to carry out non-binary data reading to occur.
Optionally, can to write into Databasce server 300, whether fault detects every prefixed time interval.
The data reading system that the embodiment of the present invention provides, when reading the data, the non-binary data part that need read in data is read from database server, the binary data part that need read in data is read from binary data server, only in database server, read and write non-binary data, binary data is read and write in binary data server, avoid file in factor data bank server excessive, and cause the access being unfavorable for database server content, the problem safeguarded and expand, make binary data read and write convenient simultaneously, flexibly with efficient.
Be introduced the method for reading data that the embodiment of the present invention provides below, method for reading data described below is based on above-described data reading system.
The process flow diagram of the method for reading data that Figure 10 provides for the embodiment of the present invention, with reference to Figure 10, this method for reading data can comprise:
Step S600: read the data read command that client reception user provides, determine according to described data read command the data that user need read;
When needs read data, user provides data read command by human-computer interaction interface etc. to reading client 100, accordingly, read the data read command that reception user provides by client 100, after the data read command that reading client 100 can provide reception user, determine according to this data read command the data that user need read.
Step S610: described reading client judges whether the described data that need read comprise binary data;
Step S620: if, then described reading client sends the first data read request to described reading binary data server, described reading binary data server receives the first data read request that described reading client sends, search the corresponding binary data of described first data read request, described binary data is returned described reading client, and described reading client receives the described binary data that described reading binary data server returns after receiving described first data read request;
The data that need read can only include binary data, can only include non-binary data, not only can also comprise binary data but also comprise non-binary data.When only including binary data in the data that need read, maybe when not only having comprised binary data but also comprised non-binary data in the data that need read, reading client and will judge that these data that need read comprise binary data.
If read client to judge that the data that need read comprise binary data, then will send the first data read request to reading binary data server, this reading binary data server is after this first data read request of reception, the corresponding binary data of this first data read request will be searched, this binary data will be returned this reading client.
Step S630: described reading client judges whether the described data that need read comprise non-binary data;
Step S640: if, then described reading client sends the second data read request to described reading database server, described reading database server receives the second data read request that described reading client sends, search the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client, and described reading client receives the described non-binary data that described reading database server returns after receiving described second data read request.
When only including non-binary data in the data that need read, maybe when not only having comprised binary data but also comprised non-binary data in the data that need read, reading client and will judge that these data that need read comprise non-binary data.
If read client to judge that the data that need read comprise non-binary data, then will send the second data read request to this reading database server, after this reading database server receives this second data read request, the corresponding non-binary data of this second data read request will be searched, this non-binary data will be returned this reading client.
That is, if only include binary data in the data that need read, then read client and only will can obtain this data that need read by from reading binary data server; If only include non-binary data in the data that need read, then read client and only will can obtain this data that need read from reading database server; If not only comprise binary data but also comprise non-binary data in the data that need read, then read client and from reading binary data server the binary data obtained in these data that need read, the non-binary data in these data that need read will be obtained from reading database server.
Optionally, Figure 11 shows the method flow diagram reading binary data in the method for reading data that the embodiment of the present invention provides, and with reference to Figure 11, the method for this reading binary data can comprise:
Step S700: described reading binary data server determines the first write time point that described binary data is corresponding;
After reading the first data read request of binary data server reception reading client transmission, can determine the first write time point that binary data that this needs read data packet to draw together is corresponding, the first write time point refers to that binary data server receives the time point of this binary data.
Step S710: put in corresponding file in described first write time and search described binary data.
After determining that this need read the first corresponding write time point of binary data in data, can determine that this first write time puts corresponding file further, in this file, search this binary data.
Optionally, after reading the first data read request of binary data server reception reading client transmission, also can determine the geographical location information that binary data that this needs read data packet to draw together is corresponding and classification information further, search this binary data by this geographical location information and classification information, improve data read rates and precision.
Optionally, Figure 12 shows the method flow diagram reading non-binary data in the method for reading data that the embodiment of the present invention provides, and with reference to Figure 12, the method for this reading non-binary data can comprise:
Step S800: described reading database server determines the second write time point that described non-binary data is corresponding;
After reading database server receives the second data read request reading client transmission, can determine the second write time point that non-binary data that this needs read data packet to draw together is corresponding, the second write time point refers to that reading database server receives the time point of this non-binary data.
Step S810: put in corresponding file in described second write time and search described binary data.
After determining that this need read the second corresponding write time point of non-binary data in data, can determine that this second write time puts corresponding file further, in this file, search this non-binary data.
Optionally, after reading database server receives the second data read request reading client transmission, also can determine the geographical location information that non-binary data that this needs read data packet to draw together is corresponding and classification information further, search this non-binary data by this geographical location information and classification information, improve data read rates and precision.
Optionally, Figure 13 shows cut-in stand-by in the method for reading data that the embodiment of the present invention provides and reads the method flow diagram of binary data server, and with reference to Figure 13, the method that this cut-in stand-by reads binary data server can comprise:
Step S900: detect described reading binary data server and whether break down;
Optionally, can to reading binary data server, whether fault detects every prefixed time interval.
Step S910: if break down, be then transferred to reading binary data server for subsequent use by binary data in described reading binary data server;
If detect and read binary data server fail, then the non-binary data in the reading binary data server of this fault is shifted to reading binary data server for subsequent use.
Step S920: receive all binary data of described reading binary data server transfer at described reading binary data server for subsequent use after, described reading client sends the first data read request to described reading binary data server for subsequent use, described reading binary data server for subsequent use receives the first data read request that described reading client sends, search the corresponding binary data of described first data read request, described binary data is returned described reading client.
After reading binary data server for subsequent use receives all non-binary data of reading binary data server transfer of fault, the reading binary data server of this fault will quit work, and the work of the reading binary data server of this fault is inherited by this reading binary data server for subsequent use.Now, read client and send the first data read request to this reading binary data server for subsequent use, this reading binary data server for subsequent use is after the first data read request receiving the transmission of this reading client, search the corresponding binary data of this first data read request, this binary data is returned this reading client.
Optionally, Figure 14 shows the method flow diagram switching reading database server in the method for reading data that the embodiment of the present invention provides, and with reference to Figure 14, the method for this switching reading database server can comprise:
Step S1000: detect described reading database server and whether break down;
Optionally, can to reading database server, whether fault detects every prefixed time interval.
Step S1010: if break down, be then transferred to reading database server for subsequent use by binary data in described reading database server;
If reading database server fail detected, then the non-binary data in the reading database server of this fault is shifted to reading binary data server for subsequent use.
Step S1020: receive all binary data of described reading database server transfer at described reading database server for subsequent use after, described reading client sends the second data read request to described reading database server for subsequent use, described reading database server for subsequent use receives the second data read request that described reading client sends, search the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client.
After reading database server for subsequent use receives all non-binary data of reading database server transfer of fault, the reading database server of this fault will quit work, and the work of the reading database server of this fault is inherited by this reading database server for subsequent use.Now, read client and send the second data read request to this reading database server for subsequent use, after this reading database server for subsequent use receives the second data read request of this reading client transmission, search the corresponding non-binary data of this second data read request, this non-binary data is returned this reading client.
The method for reading data that the embodiment of the present invention provides, when reading the data, the non-binary data part that need read in data is read from database server, the binary data part that need read in data is read from binary data server, only in database server, read and write non-binary data, binary data is read and write in binary data server, avoid file in factor data bank server excessive, and cause the access being unfavorable for database server content, the problem safeguarded and expand, make binary data read and write convenient simultaneously, flexibly with efficient.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a data writing systems, is characterized in that, comprising: the write binary data server of write client, stores binary data and the write into Databasce server of storage non-binary data; Wherein,
Said write client, for receiving the data write instruction that user provides, determines according to described data write instruction the data that user need write; Judge whether the described data that need write comprise binary data, if so, then described binary data is sent to said write binary data server; Judge whether the described data that need write comprise non-binary data, if so, then described non-binary data are sent to said write database server;
Said write binary data server, for receiving the binary data that said write client sends, stores described binary data;
Said write database server, for receiving the non-binary data that said write client sends, stores described non-binary data.
2. data writing systems according to claim 1, is characterized in that, also comprises: write binary data server for subsequent use and/or write into Databasce server for subsequent use; Wherein,
Described write binary data server for subsequent use, for when said write binary data server failure, receive the binary data of said write binary data server transfer, and after all binary data receiving the transfer of said write binary data server, receive the binary data that said write client sends, the binary data of described reception is stored;
Described write into Databasce server for subsequent use, for when said write database server fault, receive the non-binary data of said write database server transfer, and after all non-binary data receiving the transfer of said write database server, receive the non-binary data that said write client sends, the non-binary data of described reception is stored.
3. a method for writing data, is characterized in that, based on the data writing systems described in claim 1 or 2, described method for writing data comprises:
Write client receives the data write instruction that user provides, and determines according to described data write instruction the data that user need write;
Said write client judges whether the described data that need write comprise binary data, if, then described binary data is sent to write binary data server, said write binary data server receives the binary data that said write client sends, and stores described binary data;
Said write client judges whether the described data that need write comprise non-binary data, if, then described non-binary data is sent to write into Databasce server, said write database server receives the non-binary data that said write client sends, and stores described non-binary data.
4. method for writing data according to claim 3, is characterized in that,
Describedly storage carried out to described binary data comprise:
Said write binary data server determines the first write time point receiving described binary data;
Judge whether that there is described first write time puts corresponding file;
If so, then described binary data storage to described first write time is put in corresponding file;
If not, then creating described first write time puts corresponding file, puts in corresponding file by described binary data storage to described first write time;
Describedly storage carried out to described non-binary data comprise:
The the second write time point receiving described non-binary data determined by said write database server;
Judge whether that there is described second write time puts corresponding file;
If so, then described non-binary data being stored to described second write time puts in corresponding file;
If not, then creating described second write time puts corresponding file, described non-binary data is stored to described second write time to put in corresponding file.
5. method for writing data according to claim 3, is characterized in that,
Described method for writing data also comprises:
Detect said write binary data server whether to break down, if break down, then binary data in said write binary data server is transferred to write binary data server for subsequent use;
Receive all binary data of said write binary data server transfer at described write binary data server for subsequent use after, the said write client binary data that need write in data sends to described write binary data server for subsequent use, described write binary data server for subsequent use receives the binary data that said write client sends, and stores described binary data.
Described method for writing data also comprises:
Detect said write database server whether to break down, if break down, then binary data in said write database server is transferred to write into Databasce server for subsequent use;
After described write into Databasce server for subsequent use receives all binary data of said write database server transfer, the said write client non-binary data that need write in data sends to described write into Databasce server for subsequent use, described write into Databasce server for subsequent use receives the non-binary data that said write client sends, and stores described non-binary data.
6. a data reading system, is characterized in that, comprising: read client, the reading binary data server of stores binary data and the reading database server of storage non-binary data; Wherein,
Described reading client, for receiving the data read command that user provides, the data that user need read are determined according to described data read command, judge whether the described data that need read comprise binary data, if, then send the first data read request to described reading binary data server, and receive the described binary data that described reading binary data server returns after receiving described first data read request, judge whether the described data that need read comprise non-binary data, if, then send the second data read request to described reading database server, and receive described reading database server and receiving the described non-binary data returned after described second data read request,
Described reading binary data server, for receiving the first data read request that described reading client sends, searching the corresponding binary data of described first data read request, described binary data is returned described reading client;
Described reading database server, for receiving the second data read request that described reading client sends, searching the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client.
7. data reading system according to claim 6, is characterized in that, also comprises: reading binary data server for subsequent use and/or reading database server for subsequent use; Wherein,
Described reading binary data server for subsequent use, for when described reading binary data server failure, receive the binary data of described reading binary data server transfer, and after all binary data receiving the transfer of described reading binary data server, receive the first data read request that described reading client sends, search the corresponding binary data of described first data read request, described binary data is returned described reading client;
Described reading database server for subsequent use, for when described reading database server failure, receive the binary data of described reading database server transfer, and after all binary data receiving the transfer of described reading database server, receive the second data read request that described reading client sends, search the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client.
8. a method for reading data, is characterized in that, based on the data reading system described in claim 6 or 7, comprising:
Read the data read command that client reception user provides, determine according to described data read command the data that user need read;
Described reading client judges whether the described data that need read comprise binary data, if, then send the first data read request to described reading binary data server, described reading binary data server receives the first data read request that described reading client sends, search the corresponding binary data of described first data read request, described binary data is returned described reading client, and described reading client receives the described binary data that described reading binary data server returns after receiving described first data read request;
Described reading client judges whether the described data that need read comprise non-binary data, if, then send the second data read request to described reading database server, described reading database server receives the second data read request that described reading client sends, search the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client, and described reading client receives the described non-binary data that described reading database server returns after receiving described second data read request.
9. method for reading data according to claim 8, is characterized in that,
The described corresponding binary data of described first data read request of searching comprises:
Described reading binary data server determines the first write time point that described binary data is corresponding;
Put in corresponding file in described first write time and search described binary data;
The described corresponding non-binary data of described second data read request of searching comprises:
Described reading database server determines the second write time point that described non-binary data is corresponding;
Put in corresponding file in described second write time and search described binary data.
10. method for reading data according to claim 8, is characterized in that,
Described method for writing data also comprises:
Detect described reading binary data server whether to break down, if break down, then binary data in described reading binary data server is transferred to reading binary data server for subsequent use;
Receive all binary data of described reading binary data server transfer at described reading binary data server for subsequent use after, described reading client sends the first data read request to described reading binary data server for subsequent use, described reading binary data server for subsequent use receives the first data read request that described reading client sends, search the corresponding binary data of described first data read request, described binary data is returned described reading client;
Described method for writing data also comprises:
Detect described reading database server whether to break down, if break down, then binary data in described reading database server is transferred to reading database server for subsequent use;
Receive all binary data of described reading database server transfer at described reading database server for subsequent use after, described reading client sends the second data read request to described reading database server for subsequent use, described reading database server for subsequent use receives the second data read request that described reading client sends, search the corresponding non-binary data of described second data read request, described non-binary data is returned described reading client.
CN201510904229.2A 2015-12-09 2015-12-09 A kind of method for writing data, system and method for reading data and system Active CN105574083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510904229.2A CN105574083B (en) 2015-12-09 2015-12-09 A kind of method for writing data, system and method for reading data and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510904229.2A CN105574083B (en) 2015-12-09 2015-12-09 A kind of method for writing data, system and method for reading data and system

Publications (2)

Publication Number Publication Date
CN105574083A true CN105574083A (en) 2016-05-11
CN105574083B CN105574083B (en) 2019-03-15

Family

ID=55884214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510904229.2A Active CN105574083B (en) 2015-12-09 2015-12-09 A kind of method for writing data, system and method for reading data and system

Country Status (1)

Country Link
CN (1) CN105574083B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169792A (en) * 2007-12-03 2008-04-30 北京金山软件有限公司 Data base read-write system and method
CN101477568A (en) * 2009-02-12 2009-07-08 清华大学 Integrated retrieval method for structured data and non-structured data
CN101706795A (en) * 2009-11-30 2010-05-12 上海世范软件技术有限公司 Method for synchronizing data of database in active/standby server
CN103780638A (en) * 2012-10-18 2014-05-07 腾讯科技(深圳)有限公司 Data synchronization method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169792A (en) * 2007-12-03 2008-04-30 北京金山软件有限公司 Data base read-write system and method
CN101477568A (en) * 2009-02-12 2009-07-08 清华大学 Integrated retrieval method for structured data and non-structured data
CN101706795A (en) * 2009-11-30 2010-05-12 上海世范软件技术有限公司 Method for synchronizing data of database in active/standby server
CN103780638A (en) * 2012-10-18 2014-05-07 腾讯科技(深圳)有限公司 Data synchronization method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王崟: "多源异构数据的互操作方法和实现技术研究", 《中国优秀博硕士学位论文全文数据库 信息科技辑》 *
韦琳等: "E-learning 非结构化数据管理系统的构建与实现", 《中国科学技术大学学报》 *

Also Published As

Publication number Publication date
CN105574083B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
KR102240557B1 (en) Method, device and system for storing data
CN104283956B (en) Strong consistency distributed data storage method, Apparatus and system
CN103780638B (en) Method of data synchronization and system
CN109407977B (en) Big data distributed storage management method and system
CN108829787B (en) Metadata distributed system
US9547706B2 (en) Using colocation hints to facilitate accessing a distributed data storage system
CN106708653B (en) Mixed tax big data security protection method based on erasure code and multiple copies
US20140081927A1 (en) Data node fencing in a distributed file system
CN103167026A (en) Processing method, system and device for cloud storage environmental data
CN103138912B (en) Method of data synchronization and system
US20160259694A1 (en) Method and device for organizing and restoring file indexeses
CN102142032B (en) Method and system for reading and writing data of distributed file system
CN106126374B (en) Method for writing data, method for reading data and device
CN104378423A (en) Metadata cluster distribution storage system and storage data reading and writing method
CN107729515B (en) Data synchronization method, device and storage medium
CN105760467A (en) Real-time data read-write method, device and system and NFS server
CN110784498B (en) Personalized data disaster tolerance method and device
CN110099084B (en) Method, system and computer readable medium for ensuring storage service availability
CN112559637B (en) Data processing method, device, equipment and medium based on distributed storage
CN111198845B (en) Data migration method, readable storage medium and computing device
CN104023246A (en) Private video data cloud-storage system and method
CN110633046A (en) Storage method and device of distributed system, storage equipment and storage medium
CN105141685A (en) File read-write system and meta data memory thereof as well as method and device for reading and writing files
CN103986779A (en) Application data transmission method, device and terminal equipment
CN105069152A (en) Data processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant