CN106066894A - Data global buffer method and data global buffer device - Google Patents

Data global buffer method and data global buffer device Download PDF

Info

Publication number
CN106066894A
CN106066894A CN201610480881.0A CN201610480881A CN106066894A CN 106066894 A CN106066894 A CN 106066894A CN 201610480881 A CN201610480881 A CN 201610480881A CN 106066894 A CN106066894 A CN 106066894A
Authority
CN
China
Prior art keywords
data
change
destination server
caching
enumerator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610480881.0A
Other languages
Chinese (zh)
Inventor
李丹
廖玉荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
All Kinds Of Fruits Garden Guangzhou Network Technology Co Ltd
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
All Kinds Of Fruits Garden Guangzhou Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by All Kinds Of Fruits Garden Guangzhou Network Technology Co Ltd filed Critical All Kinds Of Fruits Garden Guangzhou Network Technology Co Ltd
Priority to CN201610480881.0A priority Critical patent/CN106066894A/en
Publication of CN106066894A publication Critical patent/CN106066894A/en
Pending legal-status Critical Current

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/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention is that the method includes about data global buffer method and data global buffer device: the data of preset kind in reading database in advance, the data write caching that will read;When receiving the request of target terminal inquiry target data, described caching is inquired about described target data;If inquiring described target data, transmit described target data to described target terminal;If not inquiring described target data, presupposed information is transmitted to described target terminal, wherein, described presupposed information is for illustrating the data not inquiring described target data by being previously written preset kinds whole in data base in the buffer, make inquire about target data the most for the first time or again inquire about target data, can directly determine in server whether there is target data according to the result at caching query, without inquiring about in data base, avoid and write more data in the buffer and bigger by buffer setting, improve query performance, save server resource.

Description

Data global buffer method and data global buffer device
Technical field
The present invention relates to field of terminal technology, particularly relate to a kind of data global buffer method and a kind of data global buffer dress Put.
Background technology
Data are read much faster than from disk, therefore to accelerate data query speed owing to reading data from caching Degree, in correlation technique when receiving the instruction of inquiry target data, first can inquire about target data, if in the buffer in the buffer Not inquiring target data, in data base, inquiring about target data further, if the most not inquiring number of targets in data base According to, then by non-existent for target data information write caching, if having inquired target data in data, then target data is write Enter caching, in order to next time during inquiry target data, it is possible to determine whether target data exists according to the data in caching.
But according to above-mentioned data cache method, the situation in target data is not present in data base is far more than target When data are present in the situation in data, it is necessary to write the non-existent information of a large amount of target data in caching, cause taking A large amount of spatial caches.
Summary of the invention
The present invention provides a kind of data global buffer method and a kind of data global buffer device, to solve in correlation technique not Foot.
First aspect according to embodiments of the present invention, it is provided that a kind of data global buffer method, including:
The data of preset kind in reading database in advance, the data write caching that will read;
When receiving the request of target terminal inquiry target data, described caching is inquired about described target data;
If inquiring described target data, transmit described target data to described target terminal;
If not inquiring described target data, transmitting presupposed information to described target terminal, wherein, described presupposed information is used Described target data is not inquired in illustrating.
Alternatively, said method also includes:
When data in described data base being detected change, change data are write described caching;
Described change data are transmitted to destination server, so that described change data are write institute by described destination server State the caching of destination server, and return change confirmation.
Alternatively, before by described change data transmission to destination server, described method also includes:
Generate the enumerator and mark being associated with described change data,
Wherein, when by the transmission of described change data to destination server, by described identification transmission to described destination service Device, so that described destination server returns the change confirmation being associated with described mark;
When receiving described change confirmation, described method also includes:
Determine the mark being associated with described change confirmation, inquire about the enumerator being associated with the mark determined;
The change confirmation received by the rolling counters forward inquired.
Alternatively, said method also includes:
When the count value of described enumerator is more than or equal to preset value, delete described enumerator.
Alternatively, said method also includes:
Record described change data and the moment of described identification transmission extremely described destination server,
If the count value of described enumerator is less than described preset value in the Preset Time from the described moment, generate prompting letter Breath, or again by described change data and described identification transmission extremely described destination server.
Second aspect according to embodiments of the present invention, it is provided that a kind of data global buffer device, including:
Read unit, the in advance data of preset kind in reading database;
Writing unit, the data write caching that will read;
Query unit, when receiving the request of target terminal inquiry target data, inquires about described mesh in described caching Mark data;
Transmission unit, when inquiring described target data, transmits described target data to described target terminal, is not looking into When asking described target data, transmitting presupposed information to described target terminal, wherein, described presupposed information is used for illustrating not to be inquired about To described target data.
Alternatively, when said write unit data in described data base being detected change, change data are write institute State caching;
Described change data are transmitted to destination server by described transmission unit, so that described destination server is by described change More data write the caching of described destination server, and return change confirmation.
Alternatively, said apparatus also includes:
Signal generating unit, before by described change data transmission to destination server, generates relevant to described change data The enumerator of connection and mark,
Wherein, described transmission unit is when by the transmission of described change data to destination server, by described identification transmission extremely Described destination server, so that described destination server returns the change confirmation being associated with described mark;
Determine unit, when receiving described change confirmation, determine the mark being associated with described change confirmation Know, inquire about the enumerator being associated with the mark determined;
Counting unit, the change confirmation received by the rolling counters forward inquired.
Alternatively, said apparatus also includes:
Delete unit, when the count value of described enumerator is more than or equal to preset value, delete described enumerator.
Alternatively, said apparatus also includes:
Record unit, recorded described change data and the moment of described identification transmission extremely described destination server;
Tip element, wherein, if the count value of described enumerator is less than described pre-in the Preset Time from the described moment If value, described prompting generate information, and/or described transmission unit again by described change data and described identification transmission extremely Described destination server.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
From above-described embodiment, the present invention is by being previously written the number of preset kinds whole in data base in the buffer According to so that inquire about target data the most for the first time or again inquire about target data, can be straight according to the result at caching query Connect and determine in server whether there is target data, it is not necessary to inquire about in data base, it is to avoid write more in the buffer Data and relatively big by buffer setting, improve query performance, saved server resource.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The present invention can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention Example, and for explaining the principle of the present invention together with description.
Fig. 1 is the schematic flow diagram of a kind of data global buffer method;
Fig. 2 is the schematic diagram of server lookup target data in correlation technique;
Fig. 3 is the schematic diagram of server lookup target data according to an embodiment of the invention;
Fig. 4 is the schematic flow diagram of another kind of according to an embodiment of the invention data global buffer method;
Fig. 5 is the schematic flow diagram of another data global buffer method according to an embodiment of the invention;
Fig. 6 is the schematic diagram of the most multiple server update caching;
Fig. 7 is the schematic flow diagram of another data global buffer method according to an embodiment of the invention;
Fig. 8 is the schematic flow diagram of another data global buffer method according to an embodiment of the invention;
Fig. 9 is a kind of hardware structure diagram of data global buffer device place of the present invention equipment;
Figure 10 is the schematic block diagram of a kind of data global buffer device;
Figure 11 is the schematic block diagram of another kind of according to an embodiment of the invention data global buffer device;
Figure 12 is the schematic block diagram of another data global buffer device according to an embodiment of the invention;
Figure 13 is the schematic block diagram of another data global buffer device according to an embodiment of the invention.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the present invention are consistent.
Fig. 1 is the schematic flow diagram of a kind of data global buffer method.As it is shown in figure 1, Data global buffer method may be used for, in server, comprising the following steps:
Step S1, the in advance data of preset kind in reading database, the data write caching that will read, step S1 can To be first carried out in advance by server, and longer time interval between step S2, can be there is, preset kind therein can by with Family is configured as required;
Step S2, when receiving the request of target terminal inquiry target data, inquires about described target in described caching Data, if inquiring described target data, perform step S3, if not inquiring described target data, perform step S4, and target is eventually End includes PC, mobile terminal (such as mobile phone, panel computer) etc.;
Step S3, transmits described target data to described target terminal;
Step S4, transmits presupposed information to described target terminal, and wherein, described presupposed information is used for illustrating and does not inquires institute State target data.
In the related, as in figure 2 it is shown, owing to the data of preset kind are stored in data base, write caching only It is the data of the part preset kind that data base is stored, when not inquiring target data the most in the buffer, needs in data Storehouse is inquired about further, to ensure the comprehensive of inquiry.
According to the present embodiment, as it is shown on figure 3, by the data write caching of preset kind in reading database in advance, make In must caching, the target data of preset kind is identical with the target data of preset kind in data base, thus looks into receiving When asking the request of target data of preset kind, it is only necessary to inquire about in the buffer, i.e. can determine that exactly residing for caching Whether server exists target data, it is not necessary to inquire about in data base further, simplify query steps, improve inquiry Performance, has saved server resource.
And in the related, when not inquiring target data in data, need to write in the buffer number of targets According to non-existent information, to ensure when again inquiring about target data, i.e. can determine that in data base not according to the data in caching There is target data, in order to simplify query steps.But this causes caching the data not only needing to write a part of preset kind, Also need to write the non-existent information of target data so that caching needs the bigger of setting.
And according to the present embodiment, owing to caching being previously written the data of preset kinds whole in data base, therefore Inquire about target data the most for the first time or again inquire about target data, can directly determine clothes according to the result at caching query Whether business device exists target data.If not inquiring about target data in the buffer to directly presetting letter to target terminal feedback Breath, it is not necessary to inquire about in data base further, accesses data base when being also no need in order to avoid again inquiring about and is caching The middle non-existent information of write target data, thus avoid write more data in the buffer and by buffer setting relatively Greatly.
Such as in the case of user registers certain application (client) by cell-phone number, user is in this application for convenience The good friend middle cell-phone number correspondence user of address list being added to, this application can be inquired about the address list of user, determine address list In cell-phone number whether have registered this application, thus during good friend in user adds address list, by registered in address list should The cell-phone number of application highlights, and is not highlighted by the cell-phone number of this application unregistered.
In the related, the cell-phone number in recording for user communication, the server of this application can the most in the buffer Whether inquiry exists the log-on message of this cell-phone number, if not existing, owing to caching not writing all registered cell-phone numbers, It is thus desirable to inquire about the log-on message that whether there is this cell-phone number further in data base, if not existing, then need by This cell-phone number is labeled as unregistered, and writes caching, in order to user is during follow-up interpolation good friend, and server can direct root Determine in its address list, which cell-phone number have registered this application according to caching, this application unregistered of which cell-phone number.But this is not Registration cell-phone number, far more than in the case of registered cell-phone number, not only needs to write registered cell-phone number in the buffer, also needs To write in the buffer and to be labeled as unregistered cell-phone number in a large number, cause writing too much data in the buffer.Such as institute is useful In the address list at family, total record has 100,000,000 different cell-phone numbers, the most only 1,000,000 users to have registered this application, then The caching of server not only needs to write this million registered cell-phone numbers, in addition it is also necessary to write other 9,009,000,000 handss The unregistered information of plane No., causes server to need to cache substantial amounts of data.
And according to the present embodiment, owing to being written with all mobile phones as register account number in data base the most in the buffer Number, it is identical for therefore applying the caching of the server of correspondence to neutralize the cell-phone number belonging to register account number of storage in data base, Thus in determining communication during this application registered of those cell-phone numbers, server only needs whether to exist in query caching this mobile phone Number, it is not necessary to inquire about further in data base, without writing unregistered cell-phone number in the buffer.To relevant skill Comparing in art, the present embodiment only need to write the cell-phone number of registered 1,000,000 users in the buffer, significantly reduces and needs To write the amount of data in the buffer.
Fig. 4 is the schematic flow diagram of another kind of according to an embodiment of the invention data global buffer method.Such as Fig. 4 institute Showing, on the basis of embodiment as shown in Figure 1, said method also includes:
Change data, when the data in described data base being detected change, are write described caching by step S5;
Described change data are transmitted to destination server, so that described destination server is by described change number by step S6 According to the caching of the described destination server of write, and return change confirmation.
Wherein, step S5 and step S6 can occur in step S1 to step S4 before or after arbitrary steps.
According to this embodiment, it can by multiple servers storage data and data cached, when any server receives During to the request of inquiry target data, it is possible to the task distribution of this inquiry request will be processed according to the load condition of each server To suitable server (such as loading the server of minimum).
By the data base of a server occurring the change data of change write the caching of this server, Yi Jichuan Transport to destination server and write the caching of destination server, it is ensured that each server has cached up-to-date change respectively Data, in order to target terminal is when inquiring about target data, and no matter which server is its inquiry request be assigned to processes, all Can inquire about based on the caching containing change data, it is ensured that the comprehensive and accuracy of inquiry.
Fig. 5 is the schematic flow diagram of another data global buffer method according to an embodiment of the invention.Such as Fig. 5 institute Showing, on the basis of embodiment as shown in Figure 4, before by described change data transmission to destination server, described method is also Including:
Step S7, generates the enumerator and mark being associated with described change data,
Wherein, when by the transmission of described change data to destination server, by described identification transmission to described destination service Device, so that described destination server returns the change confirmation being associated with described mark, wherein, destination server can be One server can also include multiple server;
When receiving described change confirmation, described method also includes:
Step S8, determines the mark being associated with described change confirmation, inquires about the meter being associated with the mark determined Number device;
Step S9, the change confirmation received by the rolling counters forward inquired.
According to the present embodiment, by generating the mark being associated with change data, destination server receives change data After mark, it is possible to return change confirmation according to mark to the server generating mark, so that the change returned is true Recognize information to be associated with mark, it is simple to generate mark server according to change confirmation determine destination server completed by The operation of the change data write caching that mark is corresponding.This is in the case of there are multiple change data in a server so that What this server can accurately determine that destination server completes according to the change confirmation received is which is changed number Operation according to write caching, it is simple to entered for the change confirmation that mark is corresponding by the enumerator being associated with change data Row counts exactly, thus accurately determines whether Servers-all is completed change corresponding for this mark according to count results The operation of more data write caching.
Such as by 5 servers storage data and data cached in the case of, as shown in Figure 6, wherein certain clothes There are change data A and change data B in business device, this server can generate and change mark a and the meter that data A are associated Count device α and mark b being associated with change data B and enumerator β.Other 4 servers are receiving change data A and change After more data B, 4 servers all complete the operation of change data A write caching, and wherein 3 servers complete and will become The operation of more data B write caching, the server generating mark can receive 7 change confirmations.Due to wherein 4 changes Confirmation is associated with mark a, and 3 change confirmations are associated with mark b, therefore can count 4 by enumerator α, 3 are counted by enumerator β.Count value according to two enumerators may determine that Servers-all is completed change data A The operation of write caching, still has a server to be not fully complete the operation of change data B write caching, such that it is able to the most true Whether fixed multiple destination servers complete the operation of caching change data.
Fig. 7 is the schematic flow diagram of another data global buffer method according to an embodiment of the invention.Such as Fig. 7 institute Showing, on the basis of embodiment as shown in Figure 5, said method also includes:
Step S10, when the count value of described enumerator is more than or equal to preset value, deletes described enumerator.Wherein, in advance If value can be arranged as required to by user, it is also possible to using the quantity of change data transmission to server as this preset value.
On the basis of embodiment illustrated in fig. 5, such as preset value is 4, then when the count value of timer α is 4, permissible Determine that Servers-all is completed the operation of change data A write caching, and enumerator α is out of use in subsequent operation Place, therefore can delete enumerator α, reduces the amount of the server buffer hash generating mark.In like manner, when enumerator β's When count value is 4, it is also possible to delete enumerator β, and when the count value of enumerator β is less than 4, then continues to retain enumerator β and enter Row counting.
Fig. 8 is the schematic flow diagram of another data global buffer method according to an embodiment of the invention.Such as Fig. 8 institute Showing, on the basis of embodiment as shown in Figure 5, said method also includes:
Step S11, records described change data and the moment of described identification transmission extremely described destination server, if from institute State the count value of described enumerator in the Preset Time that the moment rises and, less than described preset value, perform step S12, wherein, when presetting Between can be configured as required;
Step S12, generates information, or again by described change data and described identification transmission extremely described destination service Device.
According to the present embodiment, in the preset time period after by change data and identification transmission to destination server, meter Counter count value is less than preset value, illustrates still have server to be not fully complete the operation of change data write caching, therefore can give birth to Become information, to point out user's presence server not yet to complete the operation of change data write caching.The most all right The information of the server of operation change data write cached it is not fully complete, in order to user is for this service at information mark Device carries out artificial treatment, makes Servers-all change data write be cached in time, in order to target terminal is in inquiry number of targets According to time, no matter which server is its inquiry request be assigned to processes, and can be based on containing the caching of change data Inquire about, it is ensured that the comprehensive and accuracy of inquiry.
Except generating information, the present embodiment is less than in the count value of the Preset Time inside counting device from the described moment In the case of preset value, it is also possible to again will change data and identification transmission to destination server, in order to destination server is again Perform the operation by changing data write caching, wherein, it is also possible to record again will change data and identification transmission and take to target The moment of business device, if the count value of the Preset Time inside counting device from the moment again recorded is still less than preset value, then can To generate information.
The embodiment of data global buffer device of the present invention can be applied on network devices.Device embodiment can be by soft Part realizes, it is also possible to realize by the way of hardware or software and hardware combining.As a example by implemented in software, as a logical meaning On device, being the processor by its place equipment reads computer program instructions corresponding in nonvolatile memory Internal memory runs formation.For hardware view, as it is shown in figure 9, be the one of data global buffer device place of the present invention equipment Plant hardware structure diagram, in addition to the processor shown in Fig. 9, network interface, internal memory and nonvolatile memory, in embodiment The equipment at device place generally can also include other hardware, such as the forwarding chip etc. of responsible process message;From hardware configuration This equipment from the point of view of on, it is also possible that distributed equipment, potentially includes multiple interface card, in order to carry out at message at hardware view The extension of reason.
Corresponding with the embodiment of aforesaid data global buffer method, present invention also offers the reality of data global buffer device Execute example.
Figure 10 is the schematic block diagram of a kind of data global buffer device.As shown in Figure 10, This data global buffer device 100 includes:
Read unit 101, the in advance data of preset kind in reading database;
Writing unit 102, the data write caching that will read;
Query unit 103, when receiving the request of target terminal inquiry target data, in described caching, inquiry is described Target data;
Transmission unit 104, when inquiring described target data, transmits described target data to described target terminal, When not inquiring described target data, transmitting presupposed information to described target terminal, wherein, described presupposed information is used for illustrating not Inquire described target data.
On the basis of embodiment as shown in Figure 10, the said write unit 102 data in described data base being detected During change, change data are write described caching;
Described change data are transmitted to destination server by described transmission unit 104, so that described destination server is by institute State change data and write the caching of described destination server, and return change confirmation.
Figure 11 is the schematic block diagram of another kind of according to an embodiment of the invention data global buffer device.Such as Figure 11 institute Showing, on the basis of embodiment as shown in Figure 10, said apparatus 100 also includes:
Signal generating unit 105, before by described change data transmission to destination server, generates and described change data phase The enumerator of association and mark,
Wherein, described transmission unit 104 is when by the transmission of described change data to destination server, by described identification transmission To described destination server, so that described destination server returns the change confirmation being associated with described mark;
Determine unit 106, when receiving described change confirmation, determine and be associated with described change confirmation Mark, inquires about the enumerator being associated with the mark determined;
Counting unit 107, the change confirmation received by the rolling counters forward inquired.
Figure 12 is the schematic block diagram of another data global buffer device according to an embodiment of the invention.Such as Figure 12 institute Showing, on the basis of embodiment as shown in figure 11, said apparatus 100 also includes:
Delete unit 108, when the count value of described enumerator is more than or equal to preset value, delete described enumerator.
Figure 13 is the schematic block diagram of another data global buffer device according to an embodiment of the invention.Such as Figure 13 institute Showing, on the basis of embodiment as shown in figure 11, said apparatus 100 also includes:
Record unit 109, recorded described change data and the moment of described identification transmission extremely described destination server;
Tip element 110, wherein, if the count value of described enumerator is less than described in the Preset Time from the described moment Preset value, described prompting generates information, and/or described transmission unit is again by described change data and described identification transmission To described destination server.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality Need to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, i.e. it is appreciated that and implements.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the present invention Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or Person's adaptations is followed the general principle of the present invention and includes the undocumented common knowledge in the art of the present invention Or conventional techniques means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. a data global buffer method, it is characterised in that including:
The data of preset kind in reading database in advance, the data write caching that will read;
When receiving the request of target terminal inquiry target data, described caching is inquired about described target data;
If inquiring described target data, transmit described target data to described target terminal;
If not inquiring described target data, transmitting presupposed information to described target terminal, wherein, described presupposed information is used for showing Go out and do not inquire described target data.
Data global buffer method the most according to claim 1, it is characterised in that also include:
When data in described data base being detected change, change data are write described caching;
Described change data are transmitted to destination server, so that described change data are write described mesh by described destination server The caching of mark server, and return change confirmation.
Data global buffer method the most according to claim 2, it is characterised in that described change data are being transmitted to target Before server, described method also includes:
Generate the enumerator and mark being associated with described change data,
Wherein, when by the transmission of described change data to destination server, by described identification transmission to described destination server, with Described destination server is made to return the change confirmation being associated with described mark;
When receiving described change confirmation, described method also includes:
Determine the mark being associated with described change confirmation, inquire about the enumerator being associated with the mark determined;
The change confirmation received by the rolling counters forward inquired.
Data global buffer method the most according to claim 3, it is characterised in that also include:
When the count value of described enumerator is more than or equal to preset value, delete described enumerator.
Data global buffer method the most according to claim 4, it is characterised in that also include:
Record described change data and the moment of described identification transmission extremely described destination server,
If the count value of described enumerator is less than described preset value in the Preset Time from the described moment, generate information, Or again by described change data and described identification transmission extremely described destination server.
6. a data global buffer device, it is characterised in that including:
Read unit, the in advance data of preset kind in reading database;
Writing unit, the data write caching that will read;
Query unit, when receiving the request of target terminal inquiry target data, inquires about described number of targets in described caching According to;
Transmission unit, when inquiring described target data, transmits described target data to described target terminal, is not inquiring During described target data, transmitting presupposed information to described target terminal, wherein, described presupposed information is used for illustrating and does not inquires institute State target data.
Data global buffer device the most according to claim 6, it is characterised in that said write unit is detecting described number When changing according to the data in storehouse, change data are write described caching;
Described change data are transmitted to destination server by described transmission unit, so that described destination server is by described change number According to the caching of the described destination server of write, and return change confirmation.
Data global buffer device the most according to claim 7, it is characterised in that also include:
Signal generating unit, before by described change data transmission to destination server, generation is associated with described change data Enumerator and mark,
Wherein, described transmission unit is when by the transmission of described change data to destination server, by described identification transmission to described Destination server, so that described destination server returns the change confirmation being associated with described mark;
Determine unit, when receiving described change confirmation, determine the mark being associated with described change confirmation, look into Ask the enumerator being associated with the mark determined;
Counting unit, the change confirmation received by the rolling counters forward inquired.
Data global buffer device the most according to claim 8, it is characterised in that also include:
Delete unit, when the count value of described enumerator is more than or equal to preset value, delete described enumerator.
Data global buffer device the most according to claim 9, it is characterised in that also include:
Record unit, recorded described change data and the moment of described identification transmission extremely described destination server;
Tip element, wherein, if the count value of described enumerator is less than described preset value in the Preset Time from the described moment, Described prompting generates information, and/or described transmission unit is again by the most described to described change data and described identification transmission Destination server.
CN201610480881.0A 2016-06-23 2016-06-23 Data global buffer method and data global buffer device Pending CN106066894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610480881.0A CN106066894A (en) 2016-06-23 2016-06-23 Data global buffer method and data global buffer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610480881.0A CN106066894A (en) 2016-06-23 2016-06-23 Data global buffer method and data global buffer device

Publications (1)

Publication Number Publication Date
CN106066894A true CN106066894A (en) 2016-11-02

Family

ID=57421538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610480881.0A Pending CN106066894A (en) 2016-06-23 2016-06-23 Data global buffer method and data global buffer device

Country Status (1)

Country Link
CN (1) CN106066894A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280227A (en) * 2018-01-26 2018-07-13 北京奇虎科技有限公司 Data information processing method based on caching and device
CN108768859A (en) * 2018-05-17 2018-11-06 迈普通信技术股份有限公司 Data processing method, apparatus and system
CN109558421A (en) * 2018-10-29 2019-04-02 中国建设银行股份有限公司 Data processing method, system, device and storage medium based on caching
CN110334076A (en) * 2019-05-31 2019-10-15 广州虎牙信息科技有限公司 Data processing method, system, server and device
CN111209271A (en) * 2019-12-25 2020-05-29 深圳供电局有限公司 Electric power data complementary acquisition method and device, computer equipment and storage medium
CN111651520A (en) * 2020-05-25 2020-09-11 北京字节跳动网络技术有限公司 Cache architecture access method, device, medium and electronic equipment
CN111782694A (en) * 2020-06-28 2020-10-16 百度在线网络技术(北京)有限公司 Information writing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964820A (en) * 2010-10-08 2011-02-02 中兴通讯股份有限公司 Method and system for keeping data consistency
CN102833281A (en) * 2011-06-15 2012-12-19 中兴通讯股份有限公司 Method, device and system for realizing distributed automatically-increasing counting
CN103207867A (en) * 2012-01-16 2013-07-17 联想(北京)有限公司 Method for processing data blocks, method for initiating recovery operation and nodes
CN104239572A (en) * 2014-09-30 2014-12-24 普元信息技术股份有限公司 System and method for achieving metadata analysis based on distributed cache
US9116958B2 (en) * 2012-12-07 2015-08-25 At&T Intellectual Property I, L.P. Methods and apparatus to sample data connections

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964820A (en) * 2010-10-08 2011-02-02 中兴通讯股份有限公司 Method and system for keeping data consistency
CN102833281A (en) * 2011-06-15 2012-12-19 中兴通讯股份有限公司 Method, device and system for realizing distributed automatically-increasing counting
CN103207867A (en) * 2012-01-16 2013-07-17 联想(北京)有限公司 Method for processing data blocks, method for initiating recovery operation and nodes
US9116958B2 (en) * 2012-12-07 2015-08-25 At&T Intellectual Property I, L.P. Methods and apparatus to sample data connections
CN104239572A (en) * 2014-09-30 2014-12-24 普元信息技术股份有限公司 System and method for achieving metadata analysis based on distributed cache

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280227A (en) * 2018-01-26 2018-07-13 北京奇虎科技有限公司 Data information processing method based on caching and device
CN108768859A (en) * 2018-05-17 2018-11-06 迈普通信技术股份有限公司 Data processing method, apparatus and system
CN108768859B (en) * 2018-05-17 2021-05-25 迈普通信技术股份有限公司 Data processing method, device and system
CN109558421A (en) * 2018-10-29 2019-04-02 中国建设银行股份有限公司 Data processing method, system, device and storage medium based on caching
CN110334076A (en) * 2019-05-31 2019-10-15 广州虎牙信息科技有限公司 Data processing method, system, server and device
CN111209271A (en) * 2019-12-25 2020-05-29 深圳供电局有限公司 Electric power data complementary acquisition method and device, computer equipment and storage medium
CN111651520A (en) * 2020-05-25 2020-09-11 北京字节跳动网络技术有限公司 Cache architecture access method, device, medium and electronic equipment
CN111651520B (en) * 2020-05-25 2023-04-18 北京字节跳动网络技术有限公司 Cache architecture access method, device, medium and electronic equipment
CN111782694A (en) * 2020-06-28 2020-10-16 百度在线网络技术(北京)有限公司 Information writing method and device and electronic equipment
CN111782694B (en) * 2020-06-28 2023-10-20 百度在线网络技术(北京)有限公司 Information writing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN106066894A (en) Data global buffer method and data global buffer device
US11138546B2 (en) Tracking objects using a trusted ledger
CN109741060B (en) Information inquiry system, method, device, electronic equipment and storage medium
CN108647357B (en) Data query method and device
CN105100051A (en) Method and system for realizing data resource access right control
CN109886694A (en) Data processing method and device and electronic equipment based on block chain
WO2019100853A1 (en) Page query method, device, and electronic apparatus
CN106326499A (en) Data processing method and device
CN109450969A (en) The method, apparatus and server of data are obtained from third party's data source server
CN110008758A (en) ID obtaining method and device, electronic equipment and storage medium
CN109150757B (en) Advertisement resource processing method and device and electronic equipment
CN105988922A (en) Testing method and device of application program as well as server
CN111767481B (en) Access processing method, device, equipment and storage medium
CN113626483B (en) Front-end caching method, system, equipment and storage medium for filling forms
CN116192740A (en) Stream table unloading method and device, electronic equipment and readable storage medium
WO2016077225A1 (en) Managing warehouse information
CN111581238B (en) Information query method and device, electronic equipment and computer readable storage medium
CN107203915B (en) Data storage method and device
CN110543486B (en) Data change method and device and server
CN109508289B (en) Test method and device and electronic equipment
CN111291127B (en) Data synchronization method, device, server and storage medium
CN107506378A (en) The implementation method and device of database access
CN108694219B (en) Data processing method and device
CN110738470B (en) Electronic bill processing method, electronic bill processing device, storage medium and electronic bill processing equipment
CN112395319A (en) Cache sharing method, device, server and storage medium

Legal Events

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

Application publication date: 20161102