CN109871388A - Data cache method, device, whole electronic equipment and storage medium - Google Patents

Data cache method, device, whole electronic equipment and storage medium Download PDF

Info

Publication number
CN109871388A
CN109871388A CN201910123099.7A CN201910123099A CN109871388A CN 109871388 A CN109871388 A CN 109871388A CN 201910123099 A CN201910123099 A CN 201910123099A CN 109871388 A CN109871388 A CN 109871388A
Authority
CN
China
Prior art keywords
data
local
log information
cache
data base
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
CN201910123099.7A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910123099.7A priority Critical patent/CN109871388A/en
Publication of CN109871388A publication Critical patent/CN109871388A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The embodiment of the present disclosure discloses a kind of data cache method, device, electronic equipment and storage medium.Wherein, which includes: to obtain the log information that local data base generates when detecting the data altering event of local data base;The log information is parsed, local cache is updated according to parsing result.The technical solution of the embodiment of the present disclosure, it is parsed by the log information generated when data altering event to local data base, since log information recording has the data information and data operation information of local data base, therefore, local cache is updated according to parsing result, the technical issues of solving the poor user experience caused by updating not in time local cache can not only guarantee timely updating for local cache, also keep the consistency of local cache and local data.

Description

Data cache method, device, whole electronic equipment and storage medium
Technical field
The embodiment of the present disclosure is related to computer application technology more particularly to a kind of data cache method, device, electronics Equipment and storage medium.
Background technique
Currently, database is generally provided with data buffer storage mechanism.The local cache of database is generally used for storage user Used data.Whether when receiving the data of user using request, can first check in local data base has user institute Data to be used, if so, can then be not necessarily to directly with the data of the data response user of local cache using request from number According to library again pulling data, it on the one hand can alleviate the pressure of database, the access for being on the other hand enable to respond quickly user is asked It asks.
But if the data of local data base have occurred and that change, and the update of the data of local cache is too late, then can lead Cause the data in local cache and local data base inconsistent, that is, after data change can not be accessed in user by local cache New data, influence user experience.
Summary of the invention
The embodiment of the present disclosure provides data cache method, device, electronic equipment and the storage medium of a kind of database, with The technical issues of solving the poor user experience caused by updating not in time local cache, guarantees local cache and local data Consistency.
In a first aspect, the embodiment of the present disclosure provides a kind of data cache method, this method comprises:
When detecting the data altering event of local data base, the log information that local data base generates is obtained;
The log information is parsed, local cache is updated according to parsing result.
Second aspect, the embodiment of the present disclosure additionally provide a kind of data buffer storage device, which includes:
Log information obtains module, for obtaining local data when detecting the data altering event of local data base The log information that library generates;
Local cache update module updates local cache according to parsing result for parsing to the log information.
The third aspect, the embodiment of the present disclosure additionally provide a kind of electronic equipment, which includes:
One or more processing units;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processing units, so that one or more of places Manage the method for data synchronization for the database that device is realized as described in any embodiment in the disclosure.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of computer readable storage medium, are stored thereon with computer Program, the embodiment of the present disclosure, which additionally provides, to be realized when a kind of computer program is executed by processor such as any reality in the disclosure Apply the data cache method of database described in example.
The technical solution of the embodiment of the present disclosure passes through the log information generated when data altering event to local data base It is parsed, since log information recording has the data information and data operation information of local data base, according to parsing As a result the technical issues of updating local cache, solving the poor user experience caused by updating not in time local cache, not only It can guarantee timely updating for local cache, also keep the consistency of local cache and local data.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of data cache method provided by the embodiment of the present disclosure one;
Fig. 2 is a kind of flow diagram of data cache method provided by the embodiment of the present disclosure two;
Fig. 3 is a kind of optional example schematic of data cache method provided by the embodiment of the present disclosure two;
Fig. 4 is a kind of structural schematic diagram of data buffer storage device provided by the embodiment of the present disclosure three;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present disclosure four.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the disclosure, rather than the restriction to the disclosure.It also should be noted that in order to just Part relevant to the disclosure is illustrated only in description, attached drawing rather than entire infrastructure.In following each embodiments, each embodiment In simultaneously provide optional feature and example, each feature recorded in embodiment can be combined, form multiple optinal plans, The embodiment of each number should not be considered merely as to a technical solution.
Embodiment one
Fig. 1 is a kind of flow chart of data cache method provided by the embodiment of the present disclosure one, and the present embodiment is especially suitable The case where timely updating under data interchange state to local cache, this method can be executed by data buffer storage device, The data buffer storage device can be configured at the data cache method in terminal or server for realizing the embodiment of the present disclosure.Such as figure Shown in 1, the method for the present embodiment is specific can include:
S110, when detecting the data altering event of local data base, obtain local data base generate log information.
Illustratively, when detecting the data altering event of local data base, the log information of local data base is obtained, It may include: to obtain the log information of the local data base when detecting the local change operation of local data base data, Wherein, the local change operation may include the operation such as modification, write-in and/or deletion executed to local data base.
If local data base with there are data interchange, also can to the strange land data change of client database to client database The data of local data base are had an impact.Therefore, when detecting the data altering event of local data base, local number is obtained It can also include: to obtain local data base when receiving the data to be synchronized of opposite end database transmissions according to the log information in library Log information.
It should be understood that the data to be synchronized of opposite end database transmissions may include through the opposite end change operation to client database Data that are generated and needing to be synchronized to local data base.It wherein, may include to right to the opposite end change operation of client database The operation such as modification performed by the data of client database, write-in and/or deletion.
Optionally, local data base can carry out data interchange with to client database by data duplication centre component, also It is to say, local data base can control to receive the data to be synchronized of opposite end database transmissions by data duplication centre component.
In the embodiments of the present disclosure, the journal file that log information can be generated from local data base, can be used for recording The variation of the whole data flow of local data base one, while recording data information and data manipulation, can not only guarantee database Execute sequence, and can guarantee that data are not lost.Therefore, obtaining log information can get described in local data base Data information and data manipulation.It should be noted that can be when the data of local data base change, obtain in real time Log information.It obtains one by one, is not disposably to obtain, so as to according to data alteration updating cache in real time.
It is understood that may be related to repeatedly updating slow in the use process of the local cache of local data base The operation deposited, if analyzed whole log informations every time, the case where change for only partial data, and it is uncomfortable With, it will increase the time cost of data analysis, it therefore, can also basis when obtaining the log information that local data base generates The time of data change and/or log information generate the log information for the time obtaining local data base generation.
S120, the log information is parsed, local cache is updated according to parsing result.
As noted previously, as record has data information and the data manipulation of local data base whole in log information, it can Selection of land, it is described that the log information is parsed, local cache is updated according to parsing result, comprising: parse the log Change data and data manipulation order information in information are updated according to the change data and data manipulation order information Local cache.
Wherein, the process parsed to the log information can be to be parsed one by one, is parsed of course for improving Efficiency is also possible to a plurality of log information while parsing.It should be noted that same in a plurality of log information When parsing, it is ensured that the being originally generated sequence in log information is stored.
In the embodiments of the present disclosure, local cache is updated according to parsing result, it may include: it will be original slow in local cache Deposit data is deleted, and will be in the target cache data write-in local cache in parsing result.It wherein, will be original in local cache Data cached deletion can specifically include: carrying out data to the data in local cache according to cache key mapping logic and deletes It removes.Specifically can include: obtain the target in local cache and delete the database storage address of data in the local database;According to The database storage address is mapped as the keyword in local cache by cache key mapping logic, and is removed from the cache The keyword.Wherein, target, which deletes data, can be all data currently stored in local cache.It is understood that It is the database storage address being stored in the cache key mapping logic data in the database and in local cache In keyword between corresponding relationship.
Illustratively, it updates local cache and specifically can be to repeat and delay recorded in the log information with target The corresponding data information of deposit data and data manipulation update local cache data.Wherein, target cache data can according to Family actual demand is determined, herein and without limitation.It should be noted that it is data cached accurate qualitative in order to guarantee, more New caching will be subject to database rule, that is, update caching again after guaranteeing database rule.
The technical solution of the embodiment of the present disclosure passes through the log information generated when data altering event to local data base It is parsed, since log information recording has the data information and data operation information of local data base, according to parsing As a result the technical issues of updating local cache, solving the poor user experience caused by updating not in time local cache, not only It can guarantee timely updating for local cache, also keep the consistency of local cache and local data.
Embodiment two
Fig. 2 is a kind of flow diagram of data cache method provided by the embodiment of the present disclosure two, more than the present embodiment It states in embodiment and is advanced optimized based on each optinal plan.In the present embodiment, optionally, described to the log Information is parsed, and updates local cache according to parsing result, comprising: parse change data in the log information and Data manipulation order information updates local cache according to the change data and data manipulation order information.
In the embodiments of the present disclosure, optionally, the log information is parsed, comprising: control the local data The log information is sent to incremental data and subscribed to and consumption service component by library;It is subscribed to based on the incremental data and consumes clothes Business component parses the log information.
As shown in Fig. 2, the method for the present embodiment is specific can include:
S210, when detecting the data altering event of local data base, obtain local data base generate log information.
The log information is sent to incremental data and subscribed to and consumption service group by S220, the control local data base Part.
Wherein, incremental data, which is subscribed to, can be canal canal server in other words with consumption service, being capable of disguised cost The slave database of ground database, then the log information can will be then sent to incremental data and subscribed to and consumption clothes by local data base Business component, which, which subscribes to, receives the log information that database is transmitted with consumption service component, and to the journal file Parsing.
Wherein, the log information is transferred to incremental data subscription and the transmission mode of consumption service component and can be Real-time perfoming is transmitted after one log information of generation of local data base, that is, is sent one by one;It can certainly be basis Default first transmission rule transmits after being packaged to two or two or more log informations.Illustratively, the first transmission Rule can be the degree of association etc. of the first duration or two and two or more log information.
S230, the log information is parsed with consumption service component based on incremental data subscription.
In the embodiments of the present disclosure, it obtains the log information and is intended to update caching, therefore, it is necessary to be based on the incremental number Go out to update the log information required for caching with consumption service analyzing component according to subscribing to, more particularly, to databases comparison thing The log information of part.
It should be noted that the incremental data is subscribed to will parse with consumption service component for which log information, depend on Which log information that local data base generates is corresponding in data altering event.The incremental data is subscribed to be taken with consumption Business component does not need to determine whether data altering event can really have an impact to the raw cache data in local cache, It does not need corresponding with target cache data according to being found out in the raw cache data in the local cache really log information Log information.The logic that buffer update can be simplified in this way improves the efficiency of buffer update, and can fully ensure that local cache With the consistency of local data base data.
In the embodiments of the present disclosure, it subscribes to consumption service component canal based on incremental data to log letter After breath is parsed, it can also include: to be packaged the log information after at least one parsing, obtain Update log packet;Into And local cache is updated according to Update log packet.Wherein, being updated according to the Update log packet can specifically include: obtain The log information in the Update log packet is taken, the local cache is updated according to the log information in the Update log packet.
S240, change data and data manipulation order information in the log information are parsed, according to the change Data and data manipulation order information update local cache.
Since the processing result of database data is often closely bound up with data processing sequence, therefore, it is necessary to parse The change data and data manipulation order information in log information are stated, and then are grasped according to the change data and the data Make order information to be updated the raw cache data of local cache.
Illustratively, local cache is updated according to the change data and data manipulation order information, it may include: according to Sequencing in data manipulation order information updates the target cache data in the change data into local cache.
The technical solution of the present embodiment is subscribed to by incremental data and receives log information with consumption service component, and to day Will information is parsed, and the log information of local data base generation can be quickly and easily obtained;And then according in log information The data information parsed is updated local cache with data manipulation order information, can fully ensure that local cache data With the consistency of local data base data, and it can guarantee the one of the update sequence of database and the update sequence of local cache Cause property.
Fig. 3 is a kind of schematic diagram of the optional example of data buffer storage provided by the embodiment of the present disclosure, as shown in figure 3, with For MySQL database cluster, local data base MySQL Master is replicated with to client database MySQLMaster by data Center Drc component carries out data interchange.
It is illustrated using left data library in scheming as local data base, detailed process is as follows for data buffer storage: working as local When database MySQL Master data change, such as when having data loading, log information Binlog can be generated, at this time may be used The data change time is converted to update caching thing with tools such as consumption service component canal to subscribe to by incremental data Part is updated local cache cache, and the data landing for guaranteeing that Local Data landing and opposite end are come by drc can be more New caching, guarantees the consistency of the data of local cache and the data of local data base.
The local cache of the embodiment of the present disclosure can be understood as can store data cached carrier, can be a storage Space or a kind of storage medium can be independent caching cache, be also possible to using Redis database etc., as long as can deposit It stores up data cached, herein and is not specifically limited.
Embodiment three
Fig. 4 is a kind of structural schematic diagram of data buffer storage device provided by the embodiment of the present disclosure three, as shown in figure 4, this Data buffer storage device provided by open embodiment can include: log information obtains module 410 and local cache update module 420.Wherein, log information obtains module 410, local for obtaining when detecting the data altering event of local data base The log information that database generates;Local cache update module 420, for being parsed to the log information, according to parsing As a result local cache is updated.
The technical solution of the embodiment of the present disclosure passes through the log information generated when data altering event to local data base It is parsed, since log information recording has the data information and data operation information of local data base, according to parsing As a result the technical issues of updating local cache, solving the poor user experience caused by updating not in time local cache, not only It can guarantee timely updating for local cache, also keep the consistency of local cache and local data.
Based on the above technical solution, the log information obtains module and can be used for executing in operations described below at least One:
When receiving the data to be synchronized of opposite end database transmissions, the log information of local data base is obtained;
When detecting the local change operation of local data base data, the log information of the local data base is obtained, Wherein, the local change operation includes modification, write-in and/or deletes.
On the basis of above-mentioned each technical solution, the data buffer storage device can also include:
Data simultaneous module receives opposite end database transmissions by data duplication centre component for controlling local data base Data to be synchronized.
On the basis of above-mentioned each technical solution, the local cache update module be can be also used for:
The log information is sent to incremental data and subscribed to and consumption service group by the local slow control local data base Part;
It is subscribed to based on the incremental data and the log information is parsed with consumption service component.
On the basis of above-mentioned each technical solution, local cache update module can be used for:
Parse the change data and data manipulation order information in the log information, according to the change data with And data manipulation order information updates local cache.
On the basis of above-mentioned each technical solution, the local cache update module can be further used for:
The target cache data update in the change data is arrived according to the sequencing in data manipulation order information In local cache.
On the basis of above-mentioned each technical solution, the local cache update module be can be also used for:
Raw cache data in local cache are deleted, and the target cache data write-in in parsing result is local slow In depositing.
Data cache method provided by disclosure any embodiment can be performed in above-mentioned data buffer storage device, has execution number According to the corresponding functional module of caching method and beneficial effect.
Example IV
Below with reference to Fig. 5, it illustrates the electronic equipments (such as terminal device) for being suitable for being used to realize the embodiment of the present disclosure 500 structural schematic diagram.Terminal device in the embodiment of the present disclosure can include but is not limited to such as mobile phone, notebook electricity Brain, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), vehicle The mobile terminal of mounted terminal (such as vehicle mounted guidance terminal) etc. and such as number TV, desktop computer etc. are fixed eventually End.Electronic equipment shown in Fig. 5 is only an example, should not function to the embodiment of the present disclosure and use scope bring it is any Limitation.
As shown in figure 5, electronic equipment 500 may include processing unit (such as central processing unit, graphics processor etc.) 501, random access can be loaded into according to the program being stored in read-only memory (ROM) 502 or from storage device 508 Program in memory (RAM) 503 and execute various movements appropriate and processing.In RAM 503, it is also stored with electronic equipment Various programs and data needed for 500 operations.Processing unit 501, ROM 502 and RAM 503 pass through the phase each other of bus 504 Even.Input/output (I/O) interface 505 is also connected to bus 504.
In general, following device can connect to I/O interface 505: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 506 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 507 of dynamic device etc.;Storage device 508 including such as tape, hard disk etc.;And communication device 509.Communication device 509, which can permit electronic equipment 500, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 5 shows tool There is the electronic equipment 500 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 509, or from storage device 508 It is mounted, or is mounted from ROM 502.When the computer program is executed by processing unit 501, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: when detecting the data altering event of local data base, obtaining local data base The log information of generation;The log information is parsed, local cache is updated according to parsing result.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing, illustrate the method and computer program product according to the various embodiments of the disclosure Architecture, function and operation in the cards.In this regard, each box in flowchart or block diagram can represent one A part of module, program segment or code, a part of the module, program segment or code include it is one or more for realizing The executable instruction of defined logic function.It should also be noted that in some implementations as replacements, function marked in the box It can also can occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated can actually base Originally it is performed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Be described in the embodiment of the present disclosure involved module, unit can be realized by way of software, can also be with It is realized by way of hardware.Wherein, module, the title of unit are not constituted under certain conditions to the module or unit sheet The restriction of body.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of data cache method characterized by comprising
When detecting the data altering event of local data base, the log information that local data base generates is obtained;
The log information is parsed, local cache is updated according to parsing result.
2. the method according to claim 1, wherein when detecting the data altering event of local data base, Obtain at least one of the log information, including operations described below of local data base:
When receiving the data to be synchronized of opposite end database transmissions, the log information that local data base generates is obtained;
When detecting the local change operation of local data base data, the log information that the local data base generates is obtained, Wherein, the local change operation includes modification, write-in and/or deletes.
3. according to the method described in claim 2, it is characterized by further comprising:
Control the data to be synchronized that local data base receives opposite end database transmissions by data duplication centre component.
4. the method according to claim 1, wherein being parsed to the log information, comprising:
It controls the local data base and the log information is sent to incremental data subscription and consumption service component;
It is subscribed to based on the incremental data and the log information is parsed with consumption service component.
5. method according to claim 1 to 4, which is characterized in that parsed to the log information, according to solution It analyses result and updates local cache, comprising:
The change data and data manipulation order information in the log information are parsed, according to the change data and number According to operation order information update local cache.
6. the method according to claim 1, wherein updating local cache according to parsing result, comprising:
Raw cache data in local cache are deleted, and local cache is written into the target cache data in parsing result In.
7. a kind of data buffer storage device characterized by comprising
Log information obtains module, for it is raw to obtain local data base when detecting the data altering event of local data base At log information;
Local cache update module updates local cache according to parsing result for parsing to the log information.
8. device according to claim 7, which is characterized in that the log information obtains module for executing operations described below At least one of:
When receiving the data to be synchronized of opposite end database transmissions, the log information that local data base generates is obtained;
When detecting the local change operation of local data base data, the log information that the local data base generates is obtained, Wherein, the local change operation includes modification, write-in and/or deletes.
9. a kind of electronic equipment characterized by comprising
One or more processing units;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processing units, so that one or more of processing fill Set realization such as data cache method as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Such as data cache method as claimed in any one of claims 1 to 6 is realized when being executed by processor.
CN201910123099.7A 2019-02-19 2019-02-19 Data cache method, device, whole electronic equipment and storage medium Pending CN109871388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910123099.7A CN109871388A (en) 2019-02-19 2019-02-19 Data cache method, device, whole electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910123099.7A CN109871388A (en) 2019-02-19 2019-02-19 Data cache method, device, whole electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109871388A true CN109871388A (en) 2019-06-11

Family

ID=66918911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910123099.7A Pending CN109871388A (en) 2019-02-19 2019-02-19 Data cache method, device, whole electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109871388A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795032A (en) * 2019-10-18 2020-02-14 苏州浪潮智能科技有限公司 Method, system and related device for updating software layer cache in storage system
CN110807703A (en) * 2019-11-12 2020-02-18 上海燕汐软件信息科技有限公司 Order processing method and device, electronic equipment and computer readable storage medium
CN110879818A (en) * 2019-10-12 2020-03-13 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for acquiring data
CN111078717A (en) * 2019-12-20 2020-04-28 深圳前海环融联易信息科技服务有限公司 Database and cache consistency synchronization method and device, computer equipment and storage medium
CN111177161A (en) * 2019-11-07 2020-05-19 腾讯科技(深圳)有限公司 Data processing method and device, computing equipment and storage medium
CN112269837A (en) * 2020-11-17 2021-01-26 珠海大横琴科技发展有限公司 Data processing method and device
CN112685431A (en) * 2020-12-29 2021-04-20 京东数字科技控股股份有限公司 Asynchronous caching method, device, system, electronic equipment and storage medium
CN112783903A (en) * 2019-11-07 2021-05-11 北京沃东天骏信息技术有限公司 Method and device for generating update log
CN113434525A (en) * 2021-06-24 2021-09-24 青岛海尔科技有限公司 Cache data updating method and device, storage medium and electronic device
CN113704227A (en) * 2021-08-26 2021-11-26 广东电网有限责任公司广州供电局 Incremental update data storage method and device, electronic equipment and storage medium
CN114969077A (en) * 2019-10-28 2022-08-30 支付宝(杭州)信息技术有限公司 Service data processing method and device
CN112817989B (en) * 2021-01-22 2023-07-25 网易(杭州)网络有限公司 Data processing method, data processing device, storage medium and electronic equipment
WO2024066001A1 (en) * 2022-09-29 2024-04-04 海尔优家智能科技(北京)有限公司 Data update method and apparatus, storage medium, and electronic apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7698320B2 (en) * 2006-09-20 2010-04-13 Hitachi, Ltd. Database management system to reduce capacity of storage volume
CN104572689A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Data synchronizing method, device and system
CN104699541A (en) * 2015-03-30 2015-06-10 北京奇虎科技有限公司 Method, device, data transmission assembly and system for synchronizing data
CN104881494A (en) * 2015-06-12 2015-09-02 北京奇虎科技有限公司 Method, device and system for performing data synchronization with Redis server
CN106503257A (en) * 2016-11-15 2017-03-15 北京京东金融科技控股有限公司 Distributed transaction server method and system based on binlog compensation mechanism
CN107291869A (en) * 2014-04-14 2017-10-24 五八同城信息技术有限公司 A kind of method of distribution service data query
CN107341212A (en) * 2017-06-26 2017-11-10 努比亚技术有限公司 A kind of buffering updating method and equipment
CN108491332A (en) * 2018-04-04 2018-09-04 浙江小泰科技有限公司 A kind of real-time buffering updating method and system based on Redis
CN108804465A (en) * 2017-05-04 2018-11-13 中兴通讯股份有限公司 A kind of method and system of distributed caching database data migration

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7698320B2 (en) * 2006-09-20 2010-04-13 Hitachi, Ltd. Database management system to reduce capacity of storage volume
CN104572689A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Data synchronizing method, device and system
CN107291869A (en) * 2014-04-14 2017-10-24 五八同城信息技术有限公司 A kind of method of distribution service data query
CN104699541A (en) * 2015-03-30 2015-06-10 北京奇虎科技有限公司 Method, device, data transmission assembly and system for synchronizing data
CN104881494A (en) * 2015-06-12 2015-09-02 北京奇虎科技有限公司 Method, device and system for performing data synchronization with Redis server
CN106503257A (en) * 2016-11-15 2017-03-15 北京京东金融科技控股有限公司 Distributed transaction server method and system based on binlog compensation mechanism
CN108804465A (en) * 2017-05-04 2018-11-13 中兴通讯股份有限公司 A kind of method and system of distributed caching database data migration
CN107341212A (en) * 2017-06-26 2017-11-10 努比亚技术有限公司 A kind of buffering updating method and equipment
CN108491332A (en) * 2018-04-04 2018-09-04 浙江小泰科技有限公司 A kind of real-time buffering updating method and system based on Redis

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879818A (en) * 2019-10-12 2020-03-13 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for acquiring data
CN110795032A (en) * 2019-10-18 2020-02-14 苏州浪潮智能科技有限公司 Method, system and related device for updating software layer cache in storage system
CN114969077A (en) * 2019-10-28 2022-08-30 支付宝(杭州)信息技术有限公司 Service data processing method and device
CN111177161A (en) * 2019-11-07 2020-05-19 腾讯科技(深圳)有限公司 Data processing method and device, computing equipment and storage medium
CN112783903A (en) * 2019-11-07 2021-05-11 北京沃东天骏信息技术有限公司 Method and device for generating update log
CN112783903B (en) * 2019-11-07 2024-04-05 北京沃东天骏信息技术有限公司 Method and device for generating update log
CN111177161B (en) * 2019-11-07 2023-08-15 腾讯科技(深圳)有限公司 Data processing method, device, computing equipment and storage medium
CN110807703A (en) * 2019-11-12 2020-02-18 上海燕汐软件信息科技有限公司 Order processing method and device, electronic equipment and computer readable storage medium
CN111078717A (en) * 2019-12-20 2020-04-28 深圳前海环融联易信息科技服务有限公司 Database and cache consistency synchronization method and device, computer equipment and storage medium
CN112269837A (en) * 2020-11-17 2021-01-26 珠海大横琴科技发展有限公司 Data processing method and device
CN112685431A (en) * 2020-12-29 2021-04-20 京东数字科技控股股份有限公司 Asynchronous caching method, device, system, electronic equipment and storage medium
CN112685431B (en) * 2020-12-29 2024-05-17 京东科技控股股份有限公司 Asynchronous caching method, device, system, electronic equipment and storage medium
CN112817989B (en) * 2021-01-22 2023-07-25 网易(杭州)网络有限公司 Data processing method, data processing device, storage medium and electronic equipment
CN113434525B (en) * 2021-06-24 2023-06-09 青岛海尔科技有限公司 Cache data updating method and device, storage medium and electronic device
CN113434525A (en) * 2021-06-24 2021-09-24 青岛海尔科技有限公司 Cache data updating method and device, storage medium and electronic device
CN113704227A (en) * 2021-08-26 2021-11-26 广东电网有限责任公司广州供电局 Incremental update data storage method and device, electronic equipment and storage medium
WO2024066001A1 (en) * 2022-09-29 2024-04-04 海尔优家智能科技(北京)有限公司 Data update method and apparatus, storage medium, and electronic apparatus

Similar Documents

Publication Publication Date Title
CN109871388A (en) Data cache method, device, whole electronic equipment and storage medium
CN109375918A (en) Interface rendering method, device, electronic equipment and the storage medium of small routine
CN110046021A (en) A kind of page display method, device, system, equipment and storage medium
CN109299348A (en) A kind of data query method, apparatus, electronic equipment and storage medium
CN109697075A (en) File updating method, system and device
CN109902255B (en) Page mixed browsing record generation method, device, equipment and storage medium
CN109447635A (en) Information storage means and device for block chain
CN109769141A (en) A kind of video generation method, device, electronic equipment and storage medium
CN109857486A (en) A kind of processing method, device, equipment and the medium of program page data
CN109657174A (en) Method and apparatus for more new data
CN109828980A (en) Data cache method, device, terminal and storage medium
CN109408481A (en) Update method, device, electronic equipment and the readable medium of log collection rule
CN109543080A (en) A kind of caching data processing method, device, electronic equipment and storage medium
CN110457258A (en) A kind of blog management method, device, equipment and medium
CN109446309A (en) Problem feedback method and device
CN109996125A (en) Generate method, apparatus, electronic equipment and the storage medium of video list
CN109359281A (en) Dynamic list generation method and device
CN109614439A (en) Method of data synchronization, device, electronic equipment and storage medium
CN110536149A (en) Message display method, device, readable medium and electronic equipment
CN110209315A (en) The display methods of character, device, electronic equipment and storage medium in user interface
CN110019552A (en) User pays close attention to the method and apparatus that state updates
CN110286928A (en) Interface element update method, device, electronic equipment and the storage medium of application program
CN109492200A (en) Cooperated documents restoring method, device, storage medium and electronic equipment
CN110139118A (en) Function operation method, device, electronic equipment and the storage medium of application program
CN110365745A (en) Data processing system, method, apparatus, server and computer-readable medium

Legal Events

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

Application publication date: 20190611

RJ01 Rejection of invention patent application after publication