CN103678696A - Method and device for controlling data read-write separation - Google Patents

Method and device for controlling data read-write separation Download PDF

Info

Publication number
CN103678696A
CN103678696A CN201310740357.9A CN201310740357A CN103678696A CN 103678696 A CN103678696 A CN 103678696A CN 201310740357 A CN201310740357 A CN 201310740357A CN 103678696 A CN103678696 A CN 103678696A
Authority
CN
China
Prior art keywords
storehouse
read
data
write
writing
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
CN201310740357.9A
Other languages
Chinese (zh)
Other versions
CN103678696B (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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201310740357.9A priority Critical patent/CN103678696B/en
Publication of CN103678696A publication Critical patent/CN103678696A/en
Application granted granted Critical
Publication of CN103678696B publication Critical patent/CN103678696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Electric Clocks (AREA)

Abstract

The invention discloses a method for controlling data read-write operation separation. The method comprises the steps of conducting data write-in in a write library according to a received write operation, and storing the time point and data of write operation completing; when a read operation of a user based on the data is received, obtaining the current updating time point of a read library; when the current updating time point of the obtained read library is sooner than the time point of the write-operation completing, executing the data read operation in the write library. The invention further discloses a device for controlling the data read-write operation separation. The aims that the user timely and correctly confirms whether the data in the write library are successfully written in or not, the time is saved, and the data are conveniently and rapidly written in are achieved.

Description

Control data and read separated method and device
Technical field
The present invention relates to database data read-write field, specially refer to control data and read separated method and device.
Background technology
At present, large data system (for example, ERP enterprise resource planning), reading and writing for the ease of data, database is divided into and reads He Xie storehouse, storehouse, write storehouse for operating record and the modification of transactional, trade type data, the inquiry of the data such as book, form while reading storehouse for order.Write database data can be in some way by write order time the data such as book, form be synchronized to and read storehouse, writing the data that storehouse synchronously writes needs certain lock in time to reading storehouse, the data of reading storehouse within this lock in time are inconsistent with the data of writing storehouse.
User is when writing storehouse and write order during the data such as book, form, need to determine in time whether described data write successfully,, need to be confirmed whether to read described data to reading storehouse, but because writing the data in storehouse, be synchronized to and read storehouse and need certain lock in time, cause user cannot confirm in time whether described data successfully write.
Foregoing only, for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Fundamental purpose of the present invention, for method and the device of controlling data read-write operation separation is provided, is intended to realize user and confirms in time whether the data of writing storehouse successfully write, and save time, data writing easily and fast.
In order to achieve the above object, the present invention proposes a kind of method of controlling data read-write operation separation, and the method comprising the steps of:
According to the write operation receiving, carry out writing of data writing storehouse, preserve time point and described data that described write operation completes;
When receiving the read operation of user based on described data, obtain and read storehouse current update time of point;
Obtain read the storehouse time point that point completes early than described write operation current update time time, described, write the read operation that described data are carried out in storehouse.
Preferably, the write operation receiving in described basis carries out writing of data writing storehouse, and before preserving the step of time point that described write operation completes and described data, the method also comprises:
The type of user's operation that analysis receives;
When the type of the user's operation receiving is read operation, in the described storehouse of reading, carry out described read operation.
Preferably, the method also comprises:
For specific user's operation setting specific identifier, described specific identifier with described in to write storehouse associated;
When the user's operation receiving carries specific identifier, in the described storehouse of writing, carry out the user's operation receiving.
Preferably, the write operation that described basis receives carries out writing of data writing storehouse, and after preserving the step of time point that described write operation completes and described data, the method also comprises:
Described in control, write storehouse and read storehouse described in described data are synchronized to.
Preferably, described in obtain the step of writing storehouse current update time of point after, the method also comprises:
Obtain write storehouse current update time of point and be later than the time point that described write operation completes time, described, read the read operation that described data are carried out in storehouse.
The present invention further proposes a kind of device of controlling data read-write operation separation, and this device comprises:
Writing module, for carrying out writing of data according to the write operation that receives writing storehouse;
Memory module, the time point and the described data that for preserving described write operation, complete;
Processing module, for when receiving the read operation of user based on described data, obtains and reads storehouse current update time of point;
Read module, for obtain read the storehouse time point that point completes early than described write operation current update time time, described, write the read operation that described data are carried out in storehouse.
Preferably, this device also comprises:
Analysis module, for analyzing the type of the user's operation receiving;
Described read module, when the type operating for the user receiving is read operation, carries out described read operation in the described storehouse of reading.
Preferably, described processing module, is used to specific user's operation setting specific identifier, by described specific identifier with described in to write storehouse associated;
Described read module, while carrying specific identifier for the user's operation receiving, carries out in the described storehouse of writing the user's operation receiving.
Preferably, this device also comprises:
Control module, reads storehouse for writing storehouse described in controlling described in described data are synchronized to.
Preferably, described read module, for obtain write storehouse current update time of point and be later than the time point that described write operation completes time, described, read the read operation that described data are carried out in storehouse.
Relative prior art, the present invention carries out writing of data according to the write operation receiving writing storehouse, preserves time point and described data that described write operation completes; When receiving the read operation of user based on described data, obtain and read storehouse current update time of point; Obtain read the storehouse time point that point completes early than described write operation current update time time, writing storehouse and carrying out the read operation of described data.Realize user and confirm in time whether the data of writing storehouse successfully write, and save time, data writing easily and fast.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention controls method first embodiment of data read-write operation separation;
Fig. 2 is the schematic flow sheet that the present invention controls method second embodiment of data read-write operation separation;
Fig. 3 is the high-level schematic functional block diagram that the present invention controls the device preferred embodiment of data read-write operation separation.
The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, for the present invention, control the schematic flow sheet of method first embodiment of data read-write operation separation.
It is emphasized that: process flow diagram shown in Fig. 1 is only a preferred embodiment, those skilled in the art is when knowing, any embodiment building around inventive concept should not depart from the scope containing in following technical scheme:
According to the write operation receiving, carry out writing of data writing storehouse, preserve time point and described data that described write operation completes; When receiving the read operation of user based on described data, obtain and read storehouse current update time of point; Obtain read the storehouse time point that point completes early than described write operation current update time time, writing storehouse and carrying out the read operation of described data.
Below that the present embodiment is progressively realized the concrete steps of controlling data read-write operation separation:
Step S11, carries out writing of data according to the write operation receiving writing storehouse, preserves time point and described data that described write operation completes.
In the present embodiment, large data management, storage system are (for example, ERP enterprise resource planning), in the many databases of data volume, reading and writing for the ease of data,, in order not to be read data when the data writing, do not disturb, or when reading out data, be not written into the interference of data, described database is divided into and reads He Xie storehouse, storehouse, described in write storehouse for the writing of data, described in read storehouse reading for data, described read storehouse and described in write storehouse operation do not interfere with each other, make user write the fashionable interference that not read by data carrying out data; Described in control, write storehouse and read storehouse described in the data that write are synchronized to, so that user can by read read storehouse described in being synchronized to described data validation user whether success write described data writing storehouse, storehouse is read described in described data being synchronized to after the write operation of described data finishes in the described storehouse of writing, or, after Preset Time interval after the write operation of described data finishes, described in being synchronized to, described data read storehouse; The size that the duration in storehouse depends on described data is read in the described storehouse of writing described in described data are synchronized to, and described Preset Time interval can be any suitable time intervals such as 5s or 8s.Described write operation can be the operation of inserting the operation of new data or revising data with existing.
When the operation that receives user, the user's that analysis receives action type,, analysis is read operation or write operation, when the user's who receives action type is read operation, carry out described read operation reading storehouse,, from reading storehouse, obtain the data of the user's who receives operational correspondence, for user, read; When the type of the user operation receiving is write operation, according to the write operation receiving, carry out writing of data writing storehouse, after data have write, preserve time point and described data that described write operation completes.In the present embodiment, when the form of the time point that described write operation completes is XX XX month XX day XX, XX divides, and for example, grade on Dec 20,23: 58 15: 30,2013 on the 20th Dec in 2013.In other embodiments of the invention, XX minute when the form of reading storehouse current update time of point obtaining can also be for XX, for example 15: 30 or 23: 58 grade; In the time point completing at the described write operation of preservation, preserve the date that described write operation completes, for example, on Dec 20th, 2013, on Dec 21st, 2013 etc.
Step S12, when receiving the read operation of user based on described data, obtains and reads storehouse current update time of point.
In the present embodiment, when receiving for read operation based on described data, obtain and read storehouse current update time of point, that is, obtain and read storehouse and put the last some update time from present time.XX minute when the form of reading storehouse current update time of point obtaining is in the present embodiment XX XX month XX day XX, for example, grade on Dec 21,00: 04 15: 40,2013 on the 20th Dec in 2013.In other embodiments of the invention, XX minute when the form of reading storehouse current update time of point obtaining can also be for XX, for example 15: 40 or 00: 04 grade; When obtaining and reading storehouse current update time of point, obtain the date of reading the current renewal in storehouse, for example, on Dec 20th, 2013, on Dec 21st, 2013 etc.
Step S13, obtain read the storehouse time point that point completes early than described write operation current update time time, writing storehouse and carrying out the read operation of described data.
In the present embodiment, analysis is obtained reads the current time point that update time, whether point completed early than described write operation in storehouse, obtain read the storehouse time point that point completes early than described write operation current update time time, writing storehouse and carrying out the read operation of described data, that is, directly confirm to carry out the whether success that writes of data according to the write operation receiving writing storehouse writing storehouse; Obtain read storehouse current update time of point and be later than the time point that described write operation completes time, reading storehouse and carrying out the read operation of described data.For example, that obtains reads storehouse current update time o'clock to be divided into example 20 days 15: 40 Dec in 2013, the time point that described write operation completes is to be divided into example 20 days 15: 30 Dec in 2013, storehouse current update time of the point of reading obtaining is later than the time point that described write operation completes, reading storehouse and carrying out the read operation of described data, that is, described data, being synchronized to read storehouse in the situation that, read described data in the described storehouse of reading; That obtains reads storehouse current update time o'clock to be divided into example 20 days 15: 30 Dec in 2013, the time point that described write operation completes is to be divided into example 20 days 15: 40 Dec in 2013, that obtains reads the storehouse time point that current update time, point completed early than described write operation, writing storehouse and carrying out the read operation of described data,, described data, not also being synchronized to read storehouse in the situation that, read described data in the described storehouse of writing.In the present embodiment, only have when writing after data that storehouse writes read storehouse described in being synchronized to described, just in the described storehouse of reading, read described data, described when writing data that storehouse writes and reading storehouse described in not being synchronized to, write storehouse described in just and read described data.For example, when user is at described storehouse data writing A and the data B of writing, at described data A, read storehouse described in being synchronized to, while reading storehouse described in described data B is not synchronized to, in the described storehouse of reading, read described data A, in the described storehouse of writing, read described data B.
In other embodiments of the invention, in order to guarantee to carry out the read operation of described data in reading storehouse, calculate the time point that said write operated and the time difference of reading storehouse current update time of point obtaining, the time difference calculating on the occasion of time, judge obtain read the current time point that update time, point operated early than said write in storehouse, at the time difference calculating, it is negative value, and the absolute value of the time difference calculating be greater than synchronous needs duration (based in the described storehouse of writing after described data have write, immediately described data are synchronized on the basis of reading storehouse) time, judge that storehouse current update time of the point of reading obtaining is later than the time point that said write has operated.For example, that obtains reads storehouse current update time o'clock to be divided into example 20 days 15: 40 Dec in 2013, the time point that described write operation completes is to be divided into example 20 days 15: 30 Dec in 2013, the duration that described data synchronously need is 5 minutes, the time difference calculating is-10 minutes, 10 are greater than 5, judge that storehouse current update time of the point of reading obtaining is later than the time point that said write has operated; That obtains reads storehouse current update time o'clock to be divided into example 20 days 23: 58 Dec in 2013, the time point that described write operation completes is to be divided into example 21 days 00: 08 Dec in 2013, the time difference calculating is+10 minutes, judge obtain read the current time point that update time, point operated early than said write in storehouse.
The present embodiment carries out writing of data according to the write operation that receives writing storehouse, preserves time point and described data that described write operation completes; When receiving the read operation of user based on described data, obtain and read storehouse current update time of point; Obtain read the storehouse time point that point completes early than described write operation current update time time, writing storehouse and carrying out the read operation of described data.Realize user and confirm in time whether the data of writing storehouse successfully write, and save time, data writing easily and fast.
As shown in Figure 2, for the present invention, control the schematic flow sheet of method second embodiment of data read-write operation separation.
In above-mentioned the first embodiment, the method also comprises step:
Step S14, is specific user's operation setting specific identifier, and described specific identifier is with to write storehouse associated;
Step S15, when the user operation receiving carries specific identifier, carries out the user's operation receiving writing storehouse.
In this enforcement, for specific user's operation setting specific identifier, described specific user operation can be to writing of procurement business data or writing or read etc. of the writing or read of read operation, selling operation data, occurrences in human life data, described specific identifier is " 0 " or " S " etc., and other are not for specific user's operation arranges this specific identifier.Described specific identifier is with to write storehouse associated, when the user's operation receiving carries specific identifier, carries out the user's operation receiving writing storehouse, and the type of described user's operation is read operation or write operation.In other embodiments of the invention, described specific identifier also can be associated with the described storehouse of reading, and when the user operation receiving carries specific identifier, carries out the user's operation receiving reading storehouse.
At the present embodiment by specific user's operation setting specific identifier, by described specific identifier with described in to write storehouse associated, when the user's operation receiving carries specific identifier, in the described storehouse of writing, carry out the user who receives and operate.To avoid carrying user's operation of specific identifier, be subject to the interference of other operations, save the operation deadline, writing or reading out data easily and fast.
As shown in Figure 3, for the present invention controls the high-level schematic functional block diagram of the device preferred embodiment of data read-write operation separation, this device comprises: writing module 10, memory module 20, control module 30, analysis module 40, processing module 50 and read module 60.
Said write module 10, for carrying out writing of data according to the write operation that receives writing storehouse;
Described memory module 20, the time point and the described data that for preserving described write operation, complete.
In the present embodiment, large data management, storage system are (for example, ERP enterprise resource planning), in the many databases of data volume, reading and writing for the ease of data,, in order not to be read data when the data writing, do not disturb, or when reading out data, be not written into the interference of data, described database is divided into and reads He Xie storehouse, storehouse, described in write storehouse for the writing of data, described in read storehouse reading for data, described read storehouse and described in write storehouse operation do not interfere with each other, make user write the fashionable interference that not read by data carrying out data.
Described control module 30, reads storehouse for writing storehouse described in controlling described in the data that write are synchronized to so that user can by read read storehouse described in being synchronized to described data validation user whether success write described data writing storehouse.Storehouse is read described in described data being synchronized to after the write operation of described data finishes in the described storehouse of writing, or, after the Preset Time interval after the write operation of described data finishes, described in being synchronized to, described data read storehouse; The size that the duration in storehouse depends on described data is read in the described storehouse of writing described in described data are synchronized to, and described Preset Time interval can be any suitable time intervals such as 5s or 8s.Described write operation can be the operation of inserting the operation of new data or revising data with existing.
Described analysis module 40, during for operation receiving user, analyzes the user's who receives action type.That is, analysis is read operation or write operation, when the user's who receives action type is read operation, carries out described read operation reading storehouse,, obtains the data of the user's who receives operational correspondence from reading storehouse that is, for user, reads; When the type of the user operation receiving is write operation, according to the write operation receiving, carry out writing of data writing storehouse, after data have write, preserve time point and described data that described write operation completes.In the present embodiment, when the form of the time point that described write operation completes is XX XX month XX day XX, XX divides, and for example, grade on Dec 20,23: 58 15: 30,2013 on the 20th Dec in 2013.In other embodiments of the invention, XX minute when the form of reading storehouse current update time of point obtaining can also be for XX, for example 15: 30 or 23: 58 grade; In the time point completing at the described write operation of preservation, preserve the date that described write operation completes, for example, on Dec 20th, 2013, on Dec 21st, 2013 etc.
Described processing module 50, for when receiving the read operation of user based on described data, obtains and reads storehouse current update time of point.
In the present embodiment, when receiving for read operation based on described data, obtain and read storehouse current update time of point, that is, obtain and read storehouse and put the last some update time from present time.XX minute when the form of reading storehouse current update time of point obtaining is in the present embodiment XX XX month XX day XX, for example, grade on Dec 21,00: 04 15: 40,2013 on the 20th Dec in 2013.In other embodiments of the invention, XX minute when the form of reading storehouse current update time of point obtaining can also be for XX, for example 15: 40 or 00: 04 grade; When obtaining and reading storehouse current update time of point, obtain the date of reading the current renewal in storehouse, for example, on Dec 20th, 2013, on Dec 21st, 2013 etc.
Described read module 60, for obtain read the storehouse time point that point completes early than described write operation current update time time, described, write the read operation that described data are carried out in storehouse.
In the present embodiment, analysis is obtained reads the current time point that update time, whether point completed early than described write operation in storehouse, obtain read the storehouse time point that point completes early than described write operation current update time time, writing storehouse and carrying out the read operation of described data, that is, directly confirm to carry out the whether success that writes of data according to the write operation receiving writing storehouse writing storehouse; Obtain read storehouse current update time of point and be later than the time point that described write operation completes time, reading storehouse and carrying out the read operation of described data.For example, that obtains reads storehouse current update time o'clock to be divided into example 20 days 15: 40 Dec in 2013, the time point that described write operation completes is to be divided into example 20 days 15: 30 Dec in 2013, storehouse current update time of the point of reading obtaining is later than the time point that described write operation completes, reading storehouse and carrying out the read operation of described data, that is, described data, being synchronized to read storehouse in the situation that, read described data in the described storehouse of reading; That obtains reads storehouse current update time o'clock to be divided into example 20 days 15: 30 Dec in 2013, the time point that described write operation completes is to be divided into example 20 days 15: 40 Dec in 2013, that obtains reads the storehouse time point that current update time, point completed early than described write operation, writing storehouse and carrying out the read operation of described data,, described data, not also being synchronized to read storehouse in the situation that, read described data in the described storehouse of writing.In the present embodiment, only have when writing after data that storehouse writes read storehouse described in being synchronized to described, just in the described storehouse of reading, read described data, described when writing data that storehouse writes and reading storehouse described in not being synchronized to, write storehouse described in just and read described data.For example, when user is at described storehouse data writing A and the data B of writing, at described data A, read storehouse described in being synchronized to, while reading storehouse described in described data B is not synchronized to, in the described storehouse of reading, read described data A, in the described storehouse of writing, read described data B.
In other embodiments of the invention, in order to guarantee to carry out the read operation of described data in reading storehouse, calculate the time point that said write operated and the time difference of reading storehouse current update time of point obtaining, the time difference calculating on the occasion of time, judge obtain read the current time point that update time, point operated early than said write in storehouse, at the time difference calculating, it is negative value, and the absolute value of the time difference calculating be greater than synchronous needs duration (based in the described storehouse of writing after described data have write, immediately described data are synchronized on the basis of reading storehouse) time, judge that storehouse current update time of the point of reading obtaining is later than the time point that said write has operated.For example, that obtains reads storehouse current update time o'clock to be divided into example 20 days 15: 40 Dec in 2013, the time point that described write operation completes is to be divided into example 20 days 15: 30 Dec in 2013, the duration that described data synchronously need is 5 minutes, the time difference calculating is-10 minutes, 10 are greater than 5, judge that storehouse current update time of the point of reading obtaining is later than the time point that said write has operated; That obtains reads storehouse current update time o'clock to be divided into example 20 days 23: 58 Dec in 2013, the time point that described write operation completes is to be divided into example 21 days 00: 08 Dec in 2013, the time difference calculating is+10 minutes, judge obtain read the current time point that update time, point operated early than said write in storehouse.
The present embodiment carries out writing of data according to the write operation that receives writing storehouse, preserves time point and described data that described write operation completes; When receiving the read operation of user based on described data, obtain and read storehouse current update time of point; Obtain read the storehouse time point that point completes early than described write operation current update time time, writing storehouse and carrying out the read operation of described data.Realize user and confirm in time whether the data of writing storehouse successfully write, and save time, data writing easily and fast.
Further, described processing module 30, is used to specific user's operation setting specific identifier, by described specific identifier with described in to write storehouse associated;
Described read module 40, while carrying specific identifier for the user's operation receiving, carries out in the described storehouse of writing the user's operation receiving.
In this enforcement, for specific user's operation setting specific identifier, described specific user operation can be to writing of procurement business data or writing or read etc. of the writing or read of read operation, selling operation data, occurrences in human life data, described specific identifier is " 0 " or " S " etc., and other are not for specific user's operation arranges this specific identifier.Described specific identifier is with to write storehouse associated, when the user's operation receiving carries specific identifier, carries out the user's operation receiving writing storehouse, and the type of described user's operation is read operation or write operation.In other embodiments of the invention, described specific identifier also can be associated with the described storehouse of reading, and when the user operation receiving carries specific identifier, carries out the user's operation receiving reading storehouse.
At the present embodiment by specific user's operation setting specific identifier, by described specific identifier with described in to write storehouse associated, when the user's operation receiving carries specific identifier, in the described storehouse of writing, carry out the user who receives and operate.To avoid carrying user's operation of specific identifier, be subject to the interference of other operations, save the operation deadline, writing or reading out data easily and fast.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions are with so that a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a method of controlling data read-write operation separation, is characterized in that, the method comprising the steps of:
According to the write operation receiving, carry out writing of data writing storehouse, preserve time point and described data that described write operation completes;
When receiving the read operation of user based on described data, obtain and read storehouse current update time of point;
Obtain read the storehouse time point that point completes early than described write operation current update time time, described, write the read operation that described data are carried out in storehouse.
2. the method for control data read-write operation as claimed in claim 1 separation, it is characterized in that, the write operation receiving in described basis carries out writing of data writing storehouse, and before preserving the step of time point that described write operation completes and described data, the method also comprises:
The type of user's operation that analysis receives;
When the type of the user's operation receiving is read operation, in the described storehouse of reading, carry out described read operation.
3. the method for control data read-write operation as claimed in claim 1 or 2 separation, is characterized in that, the method also comprises:
For specific user's operation setting specific identifier, described specific identifier with described in to write storehouse associated;
When the user's operation receiving carries specific identifier, in the described storehouse of writing, carry out the user's operation receiving.
4. the method for control data read-write operation as claimed in claim 1 or 2 separation, it is characterized in that, the write operation that described basis receives carries out writing of data writing storehouse, and after preserving the step of time point that described write operation completes and described data, the method also comprises:
Described in control, write storehouse and read storehouse described in described data are synchronized to.
5. the method for control data read-write operation as claimed in claim 1 separation, is characterized in that, described in obtain the step of writing storehouse current update time of point after, the method also comprises:
Obtain write storehouse current update time of point and be later than the time point that described write operation completes time, described, read the read operation that described data are carried out in storehouse.
6. a device of controlling data read-write operation separation, is characterized in that, this device comprises:
Writing module, for carrying out writing of data according to the write operation that receives writing storehouse;
Memory module, the time point and the described data that for preserving described write operation, complete;
Processing module, for when receiving the read operation of user based on described data, obtains and reads storehouse current update time of point;
Read module, for obtain read the storehouse time point that point completes early than described write operation current update time time, described, write the read operation that described data are carried out in storehouse.
As claim 6 or as described in the device of control data read-write operation separation, it is characterized in that, this device also comprises:
Analysis module, for analyzing the type of the user's operation receiving;
Described read module, when the type operating for the user receiving is read operation, carries out described read operation in the described storehouse of reading.
8. the device of the control data read-write operation separation as described in claim 6 or 7, is characterized in that,
Described processing module, is used to specific user's operation setting specific identifier, by described specific identifier with described in to write storehouse associated;
Described read module, while carrying specific identifier for the user's operation receiving, carries out in the described storehouse of writing the user's operation receiving.
9. the device of the control data read-write operation separation as described in claim 6 or 7, is characterized in that, this device also comprises:
Control module, reads storehouse for writing storehouse described in controlling described in described data are synchronized to.
10. the device of control data read-write operation as claimed in claim 6 separation, is characterized in that,
Described read module, for obtain write storehouse current update time of point and be later than the time point that described write operation completes time, described, read the read operation that described data are carried out in storehouse.
CN201310740357.9A 2013-12-27 2013-12-27 Control the separated method and device of digital independent Active CN103678696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310740357.9A CN103678696B (en) 2013-12-27 2013-12-27 Control the separated method and device of digital independent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310740357.9A CN103678696B (en) 2013-12-27 2013-12-27 Control the separated method and device of digital independent

Publications (2)

Publication Number Publication Date
CN103678696A true CN103678696A (en) 2014-03-26
CN103678696B CN103678696B (en) 2018-06-01

Family

ID=50316240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310740357.9A Active CN103678696B (en) 2013-12-27 2013-12-27 Control the separated method and device of digital independent

Country Status (1)

Country Link
CN (1) CN103678696B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574022A (en) * 2014-10-14 2016-05-11 阿里巴巴集团控股有限公司 Business object processing method and device based on relation database
CN106960054A (en) * 2017-04-01 2017-07-18 北京奇虎科技有限公司 The access method and device of data file
CN107038180A (en) * 2016-08-23 2017-08-11 平安科技(深圳)有限公司 Insurance application information updating method and management server
CN107506378A (en) * 2017-07-20 2017-12-22 阿里巴巴集团控股有限公司 The implementation method and device of database access
CN109542872A (en) * 2018-10-26 2019-03-29 金蝶软件(中国)有限公司 Method for reading data, device, computer equipment and storage medium
WO2019127244A1 (en) * 2017-12-28 2019-07-04 SZ DJI Technology Co., Ltd. System and method for supporting low latency in a movable platform environment
CN110019494A (en) * 2017-07-26 2019-07-16 北京国双科技有限公司 Media data processing method and device, storage medium and processor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982949A (en) * 2010-11-04 2011-03-02 杭州东信北邮信息技术有限公司 Detection system of intelligent network equipment and method
CN102402596A (en) * 2011-11-07 2012-04-04 北京搜狗科技发展有限公司 Reading and writing method and system of master slave separation database
CN102591964A (en) * 2011-12-30 2012-07-18 北京新媒传信科技有限公司 Implementation method and device for data reading-writing splitting system
CN102622427A (en) * 2012-02-27 2012-08-01 杭州闪亮科技有限公司 Method and system for read-write splitting database
CN103020243A (en) * 2012-12-18 2013-04-03 新浪网技术(中国)有限公司 Method and device for master-slave replication structure replacement of database

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982949A (en) * 2010-11-04 2011-03-02 杭州东信北邮信息技术有限公司 Detection system of intelligent network equipment and method
CN102402596A (en) * 2011-11-07 2012-04-04 北京搜狗科技发展有限公司 Reading and writing method and system of master slave separation database
CN102591964A (en) * 2011-12-30 2012-07-18 北京新媒传信科技有限公司 Implementation method and device for data reading-writing splitting system
CN102622427A (en) * 2012-02-27 2012-08-01 杭州闪亮科技有限公司 Method and system for read-write splitting database
CN103020243A (en) * 2012-12-18 2013-04-03 新浪网技术(中国)有限公司 Method and device for master-slave replication structure replacement of database

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574022A (en) * 2014-10-14 2016-05-11 阿里巴巴集团控股有限公司 Business object processing method and device based on relation database
CN107038180A (en) * 2016-08-23 2017-08-11 平安科技(深圳)有限公司 Insurance application information updating method and management server
WO2018036152A1 (en) * 2016-08-23 2018-03-01 平安科技(深圳)有限公司 Method for updating insurance policy information, management server, and computer readable storage medium
CN106960054A (en) * 2017-04-01 2017-07-18 北京奇虎科技有限公司 The access method and device of data file
CN106960054B (en) * 2017-04-01 2020-10-02 北京奇虎科技有限公司 Data file access method and device
CN107506378A (en) * 2017-07-20 2017-12-22 阿里巴巴集团控股有限公司 The implementation method and device of database access
CN107506378B (en) * 2017-07-20 2020-06-16 阿里巴巴集团控股有限公司 Method and device for realizing database access
CN110019494A (en) * 2017-07-26 2019-07-16 北京国双科技有限公司 Media data processing method and device, storage medium and processor
CN110019494B (en) * 2017-07-26 2021-09-07 北京国双科技有限公司 Media data processing method and device, storage medium and processor
WO2019127244A1 (en) * 2017-12-28 2019-07-04 SZ DJI Technology Co., Ltd. System and method for supporting low latency in a movable platform environment
CN111465919A (en) * 2017-12-28 2020-07-28 深圳市大疆创新科技有限公司 System and method for supporting low latency in a mobile platform environment
CN109542872A (en) * 2018-10-26 2019-03-29 金蝶软件(中国)有限公司 Method for reading data, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103678696B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN103678696A (en) Method and device for controlling data read-write separation
CN109460349B (en) Test case generation method and device based on log
US8924848B2 (en) Synchronizing a user interface area
CN110321339B (en) Data migration method, device, equipment and storage medium
CN103544153A (en) Data updating method and system based on database
CN112487083A (en) Data verification method and equipment
CN111078701A (en) Data extraction method and device based on relational database
US10394844B2 (en) Integrating co-deployed databases for data analytics
CN110597821B (en) Method and device for changing database table structure
CN115049365A (en) Application commissioning information processing method and device and computer equipment
CN109343863B (en) Interface configuration method and system for HDFS (Hadoop distributed File System) permission
CN109376148B (en) Data processing method and device for slow change dimension table and electronic equipment
CN110704468A (en) Data updating method and device and controller
CN106407385A (en) Data management method and system, and equipment
CN106326333A (en) Network audit system database dynamic sublist method and device
CN105677430A (en) Mobile phone software updating method and system
CN111325494A (en) Inventory management method, device, system and storage medium
CN113377872B (en) Offline synchronization method, device and equipment of online system data in big data center
CN113392091A (en) Distributed cluster data migration method and device
CN112632266B (en) Data writing method and device, computer equipment and readable storage medium
CN103246611A (en) File processing method and system
CN107885839B (en) Method and device for reading information in Word file
CN110334082A (en) A kind of lossless migration method and device of database
CN111859041A (en) Data transmission method and device
CN109379412A (en) A kind of method and apparatus for deleting cloud host

Legal Events

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