CN108920573A - A kind of data buffer storage processing method, device and terminal device - Google Patents

A kind of data buffer storage processing method, device and terminal device Download PDF

Info

Publication number
CN108920573A
CN108920573A CN201810653544.6A CN201810653544A CN108920573A CN 108920573 A CN108920573 A CN 108920573A CN 201810653544 A CN201810653544 A CN 201810653544A CN 108920573 A CN108920573 A CN 108920573A
Authority
CN
China
Prior art keywords
data
target
storage file
user
file
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
CN201810653544.6A
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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810653544.6A priority Critical patent/CN108920573A/en
Publication of CN108920573A publication Critical patent/CN108920573A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Abstract

The present invention provides a kind of data buffer storage processing methods, device and terminal device, by detecting the data volume to memory buffers data, when the data volume reaches preset threshold, it obtains largely to memory buffers data, the present invention first largely compresses these to memory buffers data, obtain compressed file to be stored, later, it is encrypted, the storage file obtained after encryption is cached again, and update the cache tag position of the storage file after caching, whether the storage file to indicate caching is effective, and since the storage file of caching is all encryption, illegal user is avoided to data cached unauthorized theft, it distorts, substantially increase data cached storage security.

Description

A kind of data buffer storage processing method, device and terminal device
Technical field
The present invention relates to Data cache technology fields, more particularly to a kind of data buffer storage processing method, device And terminal device.
Background technique
Currently, require to carry out data buffer storage in most of electronic equipment use process, such as to using electronic equipment The related data (being denoted as user data) of different user is cached, and is generated to electronic equipment current application operational process various Historical data cache etc..Under normal conditions, still, can compare in user volume by user data cache in server In the case where big, if only caching the corresponding user data of less user, it will cause cache hit rate lower;If storage institute is useful The corresponding user data in family, it will occupy huge disk or memory headroom, or even need to build distributed cache system, this will Reduce efficiency data query.
Certainly, application program operation used by a user at the terminal, therefore, in practical applications, also can use end End equipment buffered user data, but, the user data of terminal device caching is easy to by unauthorized theft, distorts, and safety is very low.
It can be seen that how to realize to a large amount of data cached safe and reliable storages, and can therefrom quick search to required Data become one of technical staff's important research direction.
Summary of the invention
In view of this, the present invention provides a kind of data buffer storage processing method, device and terminal device, terminal devices to pass through To it is a large amount of it is data cached carry out compression encryption after cache, ensure that the safety and reliability of data cached storage, and Convenient for from now on to data cached quick, accurate and Safety query.
To achieve the goals above, the present invention provides following technical schemes:
The embodiment of the invention provides a kind of data buffer storage processing methods, are applied to terminal device, the method includes:
Detect the data volume to memory buffers data;
It when the data volume reaches preset threshold, compresses, obtains wait store compression to memory buffers data to described File;
The compressed file to be stored is encrypted, corresponding storage file is obtained;
The storage file is cached, and updates the cache tag position of the storage file after caching.
Optionally, the method also includes:
Data cached read requests are received, the data cached read requests read the characterization target cache page for requesting Target cache data;
The data cached read requests are responded, whether detection has currently stored effective target storage file, the mesh Marking storage file is the storage file comprising the target cache data;
If so, the target storage file is decrypted, and whether the target storage file detected after decryption is pressure Contracting file;
If so, decompressing to the target storage file after the decryption, target cache data are obtained;
The target cache data are loaded, the target cache page is exported.
Optionally, whether the detection has currently stored effective target storage file, including:
Inquire the currently stored target storage file comprising the target cache data;
Whether the cache tag position for detecting the target storage file is effective marker position;
If so, whether the currently stored period for judging the target storage file is more than caching effective period of time;
If not, execution is described to be decrypted step to the target storage file;
If so, the cache tag position for adjusting the target storage file is invalid flag position.
Optionally, the method also includes:
The compressed file to be stored is verified, corresponding first check value is obtained;
First check value and the storage file obtained after storing compressed file encryption are associated, and right First check value is cached.
Optionally, the method also includes:
It obtains and associated first check value of the target storage file;
Target storage file after decryption is verified, the second check value is obtained;
Verify second check value be associated with the target storage file caching the first check value it is whether identical;
If identical, the target storage file after executing the decryption is decompressed, and obtains target cache data step.
Optionally, the method also includes:
To server user data acquisition request, the user data acquisition request is for target cache described in request The current-user data of the page;
Receive the current-user data of the server feedback;
Detect whether the current-user data is valid data;
If not, continuing to initiate the user data acquisition request to the server, until the user data obtains The initiation number of request reaches preset times;
If so, updating original subscriber's data in the target cache page, and to institute using the current-user data Current-user data is stated to be cached.
Optionally, the method also includes:
Monitor the user state information of each target cache data correlation in the target cache page;
When any user status information shows that corresponding User Status changes, to server initiation user data Request is updated, user of the user data update request for the changed target user of request User Status updates Data;
Receive user's more new data of the target user of the server feedback;
Using the user more new data, corresponding target cache data in the target cache page are updated.
The embodiment of the invention also provides a kind of data buffer storage processing units, are applied to terminal device, and described device includes:
Data volume detection module, for detecting the data volume to memory buffers data;
Compression module is compressed to memory buffers data to described, is obtained for reaching preset threshold when the data volume To compressed file to be stored;
Encrypting module obtains corresponding storage file for encrypting to the compressed file to be stored;
Cache module for caching to the storage file, and updates the cache tag of the storage file after caching Position.
Optionally, described device further includes:
Data cached read requests receiving module, for receiving data cached read requests, the data cached reading is asked It asks for requesting to read the target cache data for characterizing the target cache page;
Detection module, for responding the data cached read requests, whether detection, which has currently stored effective target, is deposited File is stored up, the target storage file is the storage file comprising the target cache data;
Deciphering module is decrypted the target storage file, and examine for that ought store the target storage file Whether the target storage file after surveying decryption is compressed file;
Read module is decompressed, is compressed file for target storage file after decryption, to the target after the decryption Storage file is decompressed, obtained target cache data;
Loading module exports the target cache page for loading the target cache data.
The embodiment of the invention also provides a kind of terminal device, the terminal device includes:
Communication interface;
Memory, for storing the computer program for realizing data buffer storage processing method as described above;
Processor, for loading and executing the computer program of realization following steps:
Detect the data volume to memory buffers data;
It when the data volume reaches preset threshold, compresses, obtains wait store compression to memory buffers data to described File;
The compressed file to be stored is encrypted, corresponding storage file is obtained;
The storage file is cached, and updates the cache tag position of the storage file after caching.
It can be seen that compared with prior art, the present invention provides a kind of data buffer storage processing method, device and terminals to set It is standby, by detecting the data volume to memory buffers data, when the data volume reaches preset threshold to get to largely to memory buffers Data, the present invention first waits for that memory buffers data are compressed to these, obtains compressed file to be stored, and later, adds to it After close processing, then the storage file obtained after encryption is cached, and updates the cache tag position of the storage file after caching, Whether the storage file to indicate caching is effective, quickly to judge whether to store effective target cache data accordingly from now on, And due to the storage file of caching all be encryption, avoid illegal user to data cached unauthorized theft, distort, mention significantly High data cached storage security.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of data buffer storage processing method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another data buffer storage processing method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another data buffer storage processing method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another data buffer storage processing method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another data buffer storage processing method provided in an embodiment of the present invention;
Fig. 6 is a kind of structure chart of data buffer storage processing unit provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another data buffer storage processing unit provided in an embodiment of the present invention;
Fig. 8 is the structure chart of another data buffer storage processing unit provided in an embodiment of the present invention;
Fig. 9 is the structure chart of another data buffer storage processing unit provided in an embodiment of the present invention;
Figure 10 is the structure chart of another data buffer storage processing unit provided in an embodiment of the present invention;
Figure 11 is a kind of hardware structure diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to keep the above objects, features and advantages of the present invention more obvious and easy to understand, with reference to the accompanying drawing and specifically The present invention is described in further detail for embodiment.
As shown in Figure 1, being a kind of flow chart of data buffer storage processing method provided in an embodiment of the present invention, this method is main The realization process of this method is described from the angle of client, the present embodiment mainly retouches data cached storing process It states, can specifically include:
Step S101 detects the data volume to memory buffers data;
Step S102 waits for that memory buffers data are compressed to this, obtains wait store when the data volume reaches preset threshold Compressed file;
In practical applications, client receive it is a large amount of it is data cached after, can use compression algorithm to a large amount of caching numbers According to compression processing is carried out, the embodiment of the present invention is not construed as limiting the content of the compression algorithm, can be according to different compression algorithms Performance and compression ratio flexible choice, specific implementation process are no longer described in detail one by one herein.
Step S103 treats storage compressed file and is encrypted, obtains corresponding storage file;
It optionally,, can be with before treating storage compressed file and being encrypted in order to guarantee the accuracy of storing data It first treats storage compressed file and carries out accuracy detection, when to read respective cache data from now on, can judge to be read accordingly The problems such as whether access evidence is tampered,
Therefore, before step S103, the embodiment of the present invention can treat storage compressed file and be verified, for example pass through MD (Message Digest Algorithm, message digest algorithm) 5, MD3 scheduling algorithm realize verification, wherein when to caching number According to the higher situation of accuracy requirement under, MD3 algorithm can be used and verified, however, it is not limited to this.
MD5 and MD3 can realize the verification for treating storage compressed file, security level is higher, phase by calculating hash value Corresponding consumption resource is also more, and therefore, the accuracy requirement for treating memory buffers data is not in very high application, can be with It is one group according to two bytes for needed memory buffers data to add up, will be cumulative and as the first check value, and store To memory buffers data end in the compressed file to be stored, such as:Data are 0,x11 22 33 44, in addition the first verification Data after value are:0x11 22 33 44 44 66.
It is optional, in embodiments of the present invention, can periodically to cached it is each it is data cached verify, once verification Obtained check value is different from initial check value (i.e. the first check value), it is believed that the data cached appearance during caching Problem can force to control the failure of its cache tag position, avoid it is subsequent unnecessary reading behavior is carried out to invalid cache data, Improve data reading performance using redundancy.
In practical applications, for compressed data cached i.e. compressed file to be stored to be stored, if writing direct To the disk storage of terminal device, it is easy to by other people decompilings, to steal user data.Therefore, slow in order to improve data The safety deposited, the embodiment of the present invention can first be encrypted it before storing to it, encrypted Storage file.
Optionally, for very important data cached, the embodiment of the present invention can using SM4 algorithm to compressed file into Row encryption, security level are higher;Relatively low for security classification is data cached, and the pseudo-code and 0x55 of user can be used (however, it is not limited to this, can be other data) carries out one cycle exclusive or, then by obtained result and checked data Circulation exclusive or is carried out, exclusive or result is saved to disk.Assuming that the pseudo-code of user be 0x11001110, with 0x55 exclusive or after can To obtain 01010111, exclusive or can be carried out with above-mentioned compressed file to be stored by 01010111 later.
Wherein, user's pseudo-code can obtain the unique identification of the user after logging in client and completing registration, therefore, no User's pseudo-code with user is difference, ensure that the uniqueness for client key, in practical applications, moreover, the user Pseudo-code can obtain after user logs in client, avoid and the case where key loss can not decrypt occur.
Step S104 caches the storage file, and the cache tag position of the storage file after caching is arranged.
In embodiments of the present invention, therefore the disk realization that terminal device can be used is receiving the caching of data After storage file after encryption, the disk that can send it to terminal device is stored, meanwhile, to this caching Cache tag position is arranged in storage file, indicates whether disk currently stores storage file by the cache tag position, and Whether the storage file of storage is effective, for example, cache tag position is data cached effective in 1 expression respective stored file; If cache tag position can indicate data cached invalid in respective stored file for 0, it is generally the case that for invalid cache number According to that can not read again, in order to save disk storage space, can be deleted.
Wherein, the valid cache data of the present embodiment can refer to that this is data cached in itself without mistake, can normally be read It takes;And invalid cache data can refer to that this is data cached wrong in itself, such as data are imperfect, messy code, lead to the caching number According to can not normally read, or the data read are imperfect, messy code or cache-time time-out etc..
In the present embodiment practical application, after obtaining storage file in the manner described above, it is cached to terminal device It is usually effective in disk, therefore, when its cache tag position is arranged, the effective caching of expression can be set to Flag bit, such as " 1 " expression respective cache data are effective, " 0 " indicates that respective cache data invalid, the present embodiment can will be cached to The cache tag position 1 of the storage file of terminal device disk, however, it is not limited to this.
Optionally, the embodiment of the present invention can the preset data cached longest cache-time for allowing disk storage Section, is denoted as caching effective period of time, but do not limit its specific value, in this way, for buffered each storage file, Ke Yishi When or periodically detect the current cache time section of each storage file, so that in the caching of certain storage file time-out, (i.e. it is worked as Preceding cache-time section is more than caching effective period of time), the cache tag position of the adjustable storage file is flag bit, to make Data cached failure in the storage file, it is subsequent to be further continued for reading that this is data cached, in this way, subsequent reading cache data When, it can be based on its corresponding cache tag position, valid cache data can reliably and be quickly read, avoid to invalid cache The read operation of data.
In conclusion when needing to largely when memory buffers data cache, the embodiment of the present invention is in order to realize pair To the fast cache of memory buffers data, and data cached safety is improved, it can be first to it largely to memory buffers data It is compressed, then obtained compressed file to be stored is encrypted, later, obtained storage file is cached, The cache tag position of the storage file is set simultaneously, and whether the storage file to indicate caching is effective, so as to quick accordingly from now on Whether judgement currently stores effective target cache data, and since the storage file of caching is all encryption, avoids illegal User to data cached unauthorized theft, distort, substantially increase data cached storage security.
As shown in Fig. 2, for the flow chart of another data buffer storage processing method provided in an embodiment of the present invention, this method master If being based on above-mentioned storing process, data cached reading process is described, can specifically include following steps:
Step S201, response buffer data read request;
Wherein, which is used for the target cache data for requesting to read the characterization target cache page, That is the present embodiment can be according to data cached read requests, when caching the target cache page to obtain, real cache Data cached, will pass through load, this is data cached, exports the target cache page.
In practical applications, (the application installed on terminal device of any client in user's using terminal equipment Program APP or Web page application program) during, it will usually it is operated in the operation interface of the client, into various pages Face, and the output for the page, usually by loading page data, such as text, image, video, the template data in the page Etc., to guarantee the normal output of the page.
In the present embodiment, it is used in the client process for the first time in user, it is corresponding user can be browsed to each page Page data is used as and is cached to memory buffers data, in this way, when user opens the page again, it can be directly from caching number In, it is corresponding data cached to be loaded directly into the page, accelerates page delivery efficiency.Wherein, about page related data conduct Process of caching to memory buffers data is referred to the description of above-described embodiment, and the present embodiment is mainly again started up this to user When the page, how to read the corresponding data cached process of the page and be described.
Wherein, the page of this secondary output can be known as the target cache page by the present embodiment, by its corresponding caching number According to target cache data are denoted as, such as above-mentioned analysis, which may include the page data of the target cache page, When user needs to open the target cache page, the link of the target cache page usually is triggered in the grade page on it, Data cached read requests to make the application response of terminal device obtain based on the trigger action, should to obtain displaying Target cache data needed for the target cache page.
It is to be appreciated that the present embodiment is not construed as limiting the generating mode of above-mentioned data cached read requests, it is not limited to The mode of hereinbefore description.
Whether step S202, detection have currently stored effective target storage file;If it is not, entering step S203;If so, Execute step S204;
Wherein, target storage file is the storage file comprising target cache data, can be marked by its corresponding caching Will position indicates whether it is effective.
In practical applications, it usually will be installed multiple client in subscriber terminal equipment, what each client operation generated Various data (such as various historical datas, data cached), it will usually storage is associated with the client, specifically, terminal Corresponding data buffer storage space can be set for each client in equipment, be generated for storing in the client operational process It is data cached.Therefore, user uses some client, and wants to enter into the target cache page (i.e. times of client output One page) when, it is slow can to search target corresponding with the target cache page from the corresponding data buffer storage space of the client Deposit data.
Wherein, above-mentioned implementation is referred to the data cached storage mode of each client about data buffer storage space The description of example corresponding portion, i.e. compression and encryption, for the different target cache pages, corresponding target cache data are past Toward difference, therefore, in order to export the target cache page, the content that the data cached read requests of generation include will be different, this Embodiment is no longer described in detail one by one herein.
Based on to data cached read requests parsing result, determining this needs to read which corresponding target cache page After target cache data, it can inquire whether it is currently stored with the target cache number first from the disk of memory buffers data According to, such as above-mentioned analysis, due to the spatial cache of disk be not to data cached cache-time it is unlimited, if data cached Cache-time section be more than preset caching effective period of time, this it is data cached will be invalid, even if being read, be not available yet, because This reduces page response performance, the target cache that the present embodiment is inquired in reading in order to avoid reading invalid cache data Before data, whether effective, to guarantee that client can reliably export the target cache page if can first detect the target cache data Face.
Wherein, the data storage implementation example as described in above-mentioned text can be set in memory buffers data comprising the caching The cache tag position of the storage file of data indicates that this is data cached whether effectively by the cache tag position, therefore, this hair Whether the cache tag position that bright embodiment can detecte the storage file comprising target cache data inquired is effective marker Position, to determine whether the disk of terminal device is currently stored with comprising target cache data and effective target storage file, tool The present embodiment does not limit for body detection process.
Step S203, load initialization is data cached, exports the target cache page;
Wherein, it is initial it is data cached can be built-in data cached when publication, may be used to user and open for the first time It is loaded when loaded and displayed or user can not obtain data failure in data and caching from third party when dynamic.The present invention is implemented Example is not construed as limiting the initial data cached content for including.
Optionally, in embodiments of the present invention, it determines slow currently without the effective target for caching the corresponding target cache page Deposit data can initiate data acquisition request to background server, which can carry the target cache page Identification information and client is fed back to, so that client so that it is data cached to initialize background server acquisition accordingly It loads that the initialization is data cached, the output of target cache data is realized, even if in this way, user is initially opened target cache page Face also can reliably export, but be not limited to this kind of implementation described herein.
The target storage file is decrypted in step S204;
In embodiments of the present invention, it can be compressed to compressed wait store based in above-mentioned data cached storing process The target storage file (it is usually the presence of compressed file form) inquired is decrypted in the Encryption Algorithm that file uses, Encryption Algorithm used is different, and decrypting process can also accordingly change, no longer be described in detail one by one herein.
Step S205, target storage file after decryption are compressed file, are carried out to the target storage file after decryption Decompression, obtains target cache data;
It wherein, can be true based on its specific compressed package format about the decompression procedure to the target storage file after decryption Fixed, the embodiment of the present invention is not construed as limiting it.
Such as above-mentioned analysis, for a large amount of data cached, the embodiment of the present invention is stored using the file format of compressed package, It improves storage efficiency and saves the occupancy to spatial cache;It can also enough cached target cache data in determination Afterwards, one one relative to target cache data inquires and reads, and the present embodiment is this directly to read mesh from compressed file Data cached mode is marked, quick, the accurate and comprehensive reading to target cache data is realized, substantially increases caching number According to loading efficiency.
Step S206 loads the target cache data, exports the target cache page.
In practical applications, load target cache data procedures in, can according to page layout in the target cache page, Corresponding target cache data are exported in each region, for the present embodiment to how using the data cached of load, output caches the page Realization process without limitation.
Optionally, due to caching the page in each user data be usually all as the time constantly changes, so, for exhibition Any one the caching page shown periodically or in real time can initiate update request to server, relevant to obtain each user Newest user data updates corresponding original subscriber's data in the caching page, to guarantee the real-time and standard of the caching page True property.
It can be seen that in embodiments of the present invention, when a large amount of data cached due to terminal device storage, usually using pressure Contracting cipher mode is stored, so, when needing to export the caching page, corresponding stored target cache can be read directly Data specifically quickly will judge currently whether stored effective target cache data, and avoid reading according to cache tag position Invalid targets are data cached, and due to current embodiment require that successfully being solved to the target storage file comprising target cache data After close, subsequent decompression processing could be continued to the target storage file, ensure that reading data safety.
As shown in figure 3, being the flow chart of another data buffer storage processing method provided in an embodiment of the present invention, this method master Process based on above-mentioned data cached storage mode, the data cached read method of another kind of realization is described, and And the data storage procedure based on foregoing description, it can specifically obtain after storing compressed file, and encrypted to it Before, it treats storage compressed file to be verified, obtains corresponding first check value, which is waited storing with by this The storage file that compressed file encryption obtains is associated, and is cached in the disk of terminal device, to further mention High reading data reliability and safety, specific checking procedure are referred to the description of corresponding portion above, are based on this, the present invention Embodiment provide method may include:
Step S301, response buffer data read request, the data cached read requests read characterization target for requesting Cache the target cache data of the page;
Step S302 inquires the currently stored target storage file comprising target cache data;
Step S303, whether the cache tag position for detecting the target storage file is effective marker position, if it is not, terminating stream Journey;If so, executing step S304;
If above-described embodiment describes, the numerical value of cache tag position can directly show whether store in the disk of terminal device Whether target storage file and the target storage file are effective.
Optionally, however, it is determined that the cache tag position is invalid flag position, can abandon this request, terminates process, can also To directly acquire to server initiation data acquisition request, the target cache page is corresponding to initialize data cached, specific reality Existing process is referred to the description of hereafter corresponding embodiment, and this will not be detailed here for the embodiment of the present invention.
Step S304 judges whether the currently stored period of the target storage file is more than caching effective period of time, such as Fruit is no, enters step S305;If so, executing step S310;
Wherein, caching effective period of time, which can be terminal device disk, allows the maximum duration of data cached storage, if super The time is spent, the control data cached corresponding cache tag position will be forced to be adjusted to invalid flag position, can also directly be deleted Invalid is data cached, reserves enough spatial caches for disk, but the embodiment of the present invention is to the tool of the caching effective period of time Body numerical value is not construed as limiting.
Step S305, obtain cached with associated first check value of the target storage file;
Wherein, the description as described in obtaining the first check value and process of caching is referred to above-described embodiment.
Step S306, is decrypted target storage file, and verifies to the target storage file after decryption, obtains Second check value;
Such as the description of foregoing embodiments corresponding portion, it can use MD algorithm and realize to the target storage file after decryption Verification, specific implementation process is similar with the above-mentioned process for obtaining the first check value, and this will not be detailed here for the present embodiment.
Step S307, verifies second check value and whether associated first check value of target storage file is identical, if It is identical, enter step S308;If it is not the same, executing step S310;
It as described above,, can be to compression in order to guarantee data cached accuracy when to data cached store The data cached i.e. compressed file to be stored of plaintext afterwards is verified to obtain a check value, i.e. the first check value, subsequent to read When taking this data cached, decryption obtain in plain text it is data cached after, can be verified again using checking algorithm, determine that this is obtained The second check value arrived is identical as the first check value, could illustrate it is to be read it is data cached there is no problem, carry out subsequent operation; Otherwise, illustrate to be read data cached problematic, this reading can be abandoned.
Step S308, target storage file after decryption are compressed file, are carried out to the target storage file after decryption Decompression, obtained target cache data;
Step S309 loads the target cache data, exports the target cache page;
Step S310, the cache tag position for adjusting the target storage file is invalid flag position.
To sum up, in embodiments of the present invention, it when carrying out data cached reading, needs successful decryption and verifies success Afterwards, required target cache data can be just obtained, ensure that the reliability and safety of data cached reading in terminal device, Moreover, can be forced in the data cached current cache time section time-out or improper verification for detecting disk storage Its failure is controlled, and updates its cache tag position (such as by cache tag position 0), avoids subsequent being read out it again.
As shown in figure 4, being the flow chart of another data buffer storage processing method provided in an embodiment of the present invention, this method master User related data is obtained to from server, the process for updating the caching page be described, can be with for other treatment processes Referring to the description of corresponding embodiment above, details are not described herein for the present embodiment, and method provided by the embodiment may include:
Step S401 initiates user data acquisition request to server;
In the present embodiment, which can be used for the active user of the request target cache page Data, the content that the present embodiment includes to the user data acquisition request without limitation, such as the identification information of the target cache page Deng.
In practical applications, for any type of client, user can usually download use, can also register account Number, it is logged in by account and uses client, guarantee the privacy of user data, share an end especially for by multiple users In the case where end equipment, different user enters the operation interface of client using the terminal device, can stepping on by account The mode of record enters, and for the disk of terminal device, can cache each user and use the data cached of client generation, Specifically classification caching can be carried out for different user account, therefore, the present embodiment reads target cache number in the manner described above According to when, can be combined with the user identifiers such as user account, in a large amount of data cached middle carry out data queries of disk buffering, specifically It is not described here in detail for querying method the present embodiment.
Also, as each user is elapsed using the time of client, the user related data of terminal disk buffering is often Dynamic change, in order to guarantee the real-time of the target cache page, can initiate to update the current goal caching page to server The user data acquisition request of middle user data, to obtain the newest use for generating variation relative to the user data of last time caching User data, that is, current-user data.
It is to be appreciated that the step can in data buffer storage treatment process any stage execute, the embodiment of the present invention is to this Without limitation.Moreover, the content of initiation mode and carrying for the user data acquisition request is without limitation, can use In the way of prefixed time interval or the initiations mode such as event triggered fashion realizes that the content of carrying can be according to practical need It was determined that such as user property, the newest data cached time obtained, update number to directly acquire user accordingly According to, avoid obtain repeated data.
Optionally, in embodiments of the present invention, the storage text of disk storage in data cached reading process, can be determined When the target cache data invalid that part includes, the client of terminal device can also initiate user data acquisition to server is asked It asks, to obtain user related data from server.
It is executed in load target cache data procedures in addition, above-mentioned steps S401 can be, it is manual to be also possible to user It is executed when refreshing the target cache page, for obtaining the corresponding user's latest data of the target cache page;Alternatively, detecting this The execution when User Status that the target cache page corresponds to user changes updates to obtain the user of generating state variation user Data etc., the embodiment of the present invention are not construed as limiting the execution scene of step S401.
Step S402 receives the current-user data of server feedback;
Wherein, the present embodiment current-user data can be current time newest user data, with pushing away for time Into current-user data may change, and the present embodiment is not construed as limiting the content that current-user data includes.
It optionally, can be again to the server if terminal device does not receive the current-user data of server feedback User data acquisition request is initiated, under different application scene, the number for allowing terminal device to obtain failure can be set, if with After the number that user data acquisition request is initiated reaches preset times, the current-user data of server feedback is not received yet, it will No longer the target cache page is updated, terminates process.
It is to be appreciated that the embodiment of the present invention is not construed as limiting the numerical value of above-mentioned preset times in different application scene, and obtain The current-user data obtained can be the corresponding user related data of at least one user that the target cache page includes, such as society It hands over the circle of friends of application platform to show interface, when refreshing to it, can obtain at least one good friend's of User Exploitation Latest tendency data;The big V that user subscribes to may have new video, picture, article of upload etc. at any time, obtain user at this time More new data can be newest video data of upload etc., the real-time of displayed page to guarantee.
Step S403 detects whether the current-user data is valid data, if it is not, entering step S404;If so, executing Step S405;
The embodiment of the present invention to judging that the whether effective method of current-user data is not construed as limiting, can to it includes tool Hold in vivo and analyzed, can also realize that (server can be real in the manner described above in this case according to above-mentioned judgment method The storage for the user data that now each client is uploaded) etc., it be not described in detail one by one herein.
Step S404, judges whether the initiation number of above-mentioned user data acquisition request reaches preset times, if not, returning Return step S401;If so, executing step S406;
As described above, the embodiment of the present invention can preset the number for allowing client request failure, i.e. preset times It buys, in this way, can initiate to update request again, continuously unsuccessfully preset after client request obtains current-user data failure After number, this request is abandoned;Conversely, executing follow-up processing flow.The present invention does not limit the specific value of the preset times It is fixed, it is usually not too large.
Step S405 is used using original subscriber's data in the current user data update target cache page, and to current User data is cached;
Based on above-mentioned analysis, in the above-described embodiments, in load target cache data, target cache page process is exported In, current-user data can also be obtained in the manner described above, so that the user data of target cache page output is newest use User data guarantees the real-time of the output target cache page.
It should be noted that being referred to the corresponding embodiment of figure 1 above about the process of caching to current-user data It is described, details are not described herein for the present embodiment.
Step S406 maintains the user data in the target cache page constant.
In embodiments of the present invention, user data acquisition request repeatedly is being initiated to server, it is all failed to obtain currently When user data, this request can be abandoned, the user for including when acquisition request is initiated in still control target cache page output Data, i.e. maintenance current goal caching content of pages are constant.
It to sum up,, can be by server whenever the user data for having the user new in practical application of the embodiment of the present invention User data acquisition request is initiated, so that current-user data is obtained, and timely pair of the target cache page refreshes, to protect Card shows that caching content of pages in front of the user is consistent with user's operation content, that is, ensure that the exported target cache page Real-time and reliability.
Optionally, be based on foregoing description, as shown in Figure 5 shown in another data buffer storage processing method flow chart, should Method can also include:
Step S501, monitoring objective cache the User Status of each target cache data correlation in the page;
It optionally,, can be by the new transmission when detecting that user inputs new data for terminal device local It updates other users so that the client of other users can obtain the new data of this user in time to server and delays accordingly Deposit the page.
Step S502, when any user state changes, to server initiation user data update request;
Wherein, user data update request is used for the user of the changed target user of request User Status more New data.
Step S503 receives user's more new data of the target user of server feedback;
Step S504 updates corresponding target cache data in the target cache page using the user more new data.
It should be noted that describing refresh process embodiment refresh process class corresponding with above-mentioned Fig. 4 about the present embodiment Seemingly, this will not be detailed here for the present embodiment.
It can be seen that in embodiments of the present invention, the update that either user actively initiates is requested, or because of User Status The update request of triggering is updated, or because of the data cached update request (as above-mentioned acquisition request) initiated in vain, all may be used To obtain user's more new data of the corresponding each user of the target cache page from server in time, guarantee the target cache page of output The real-time in face.
As shown in fig. 6, being a kind of structure chart of data buffer storage processing unit provided in an embodiment of the present invention, which can be with Including:
Data volume detection module 610, for detecting the data volume to memory buffers data;
Compression module 620 reaches preset threshold for the data volume, compresses, obtains to memory buffers data to described To compressed file to be stored;
Encrypting module 630 obtains corresponding storage file for encrypting to the compressed file to be stored;
Wherein, the concrete processing procedure encrypted about compressed file to be stored is referred to embodiment of the method above The description of corresponding portion, details are not described herein for the present embodiment.
For caching to the storage file, and the caching mark of the storage file after caching is arranged in cache module 640 Will position.
Optionally, as shown in fig. 7, the device can also include:
Data cached read requests respond module 650 is used for response buffer data read request, the data cached reading Request reads the target cache data for characterizing the target cache page for requesting;
Whether detection module 660 has currently stored effective target storage file for detecting, which is Storage file comprising target cache data;
Deciphering module 670 is decrypted the target storage file for that ought store the target storage file, And whether the target storage file detected after decryption is compressed file;
Read module 680 is decompressed, is compressed file for target storage file after decryption, the target after decryption is deposited Storage file is decompressed, and target cache data are obtained;
Loading module 690 exports the target cache page for loading the target cache data.
Optionally, as shown in figure 8, above-mentioned detection module 660 may include:
Query unit 661, for inquiring
The currently stored target storage file comprising the target cache data;
Detection unit 662, whether the cache tag position for detecting the target storage file is effective marker position;
Judging unit 663 judges that the target is deposited for being effective marker position when the cache tag position of target storage file Whether the currently stored period for storing up file is more than caching effective period of time, if not, triggering deciphering module stores text to target Part is decrypted;
Flag bit adjustment unit 664 is more than caching effective time for the currently stored period in target storage file Section, the cache tag position for adjusting the target storage file is invalid flag position.
As another embodiment of the present invention, as shown in figure 9, the device can also include:
First correction verification module 6100 obtains corresponding first verification for verifying to the compressed file to be stored Value;
It is associated with cache module 6110, for described obtaining first check value and after storing compressed file encryption Storage file is associated, and is cached to first check value.
Check value acquisition module 6120, for obtaining the first check value for being associated with caching with target storage file;
Second correction verification module 6130 obtains the second check value for verifying to the target storage file after decryption;
Authentication module 6140 is associated with the first check value cached with target storage file for verifying second check value Whether identical, if identical, whether the target storage file after triggering the deciphering module detection decryption is compressed file.
Optionally, as shown in Figure 10, which can also include:
Acquisition request sending module 6150, for initiating user data acquisition request to server, which is obtained Current-user data of the request for the target cache page described in request;
User data receiving module 6160, for receiving the current-user data of the server feedback;
Valid data detection module 6170, for detecting whether the current-user data is valid data;If not, triggering The acquisition request sending module 6150 initiates user data acquisition request to the server again, until user data obtains Request initiation number reaches preset times;
First update module 6180 updates mesh using current-user data for being valid data in current-user data Original subscriber's data in the mark caching page, and trigger cache module 630 and current-user data is cached.
Optionally, on the basis of the above embodiments, which can also include:
State detection module, for monitoring the User Status of each target cache data correlation in the target cache page;
Request sending module is updated, for changing when any user state, initiates user data to the server Update request;
Wherein, user data update request can be used for the use of the changed target user of request User Status Family more new data;
Update data reception module, user's more new data of the target user for receiving the server feedback;
Second update module updates corresponding mesh in the target cache page for utilizing the user more new data It marks data cached.
In conclusion when needing to largely when memory buffers data save, the embodiment of the present invention is in order to fast by it Speed and it accurately is cached to the disk of terminal device, and guarantees the safety of institute's memory buffers data, it can be first to it largely wait deposit Store up it is data cached compressed, compressed file to be stored is obtained, later, after it is encrypted, then to obtaining after encryption Storage file cached, and update caching after storage file cache tag position, come indicate caching storage file be It is no effective, quickly to judge whether to store effective target cache data accordingly from now on, and all due to the storage file of caching Encryption, avoid illegal user to data cached unauthorized theft, distort, substantially increase data cached storage safety Property.
The device for mainly describing realization data buffer storage processing method from the angle of virtual architecture above, hereafter will be from hardware knot The entity device of data buffer storage processing method is realized in the angle description of structure.For example mobile phone, laptop, various industrial personal computers etc. are eventually End equipment is as shown in figure 11 a kind of hardware structure diagram of terminal device provided in an embodiment of the present invention, which can be with Including:
Communication interface 1110;
In embodiments of the present invention, which can be connecing for wireless communication module or wire communication module Mouthful, such as the interface of WIFI module, the interface of GPRS module, USB interface etc., it can specifically be set according to the terminal device with other Communication mode between standby determines that the embodiment of the present invention is not construed as limiting this.
Memory 1120, for storing the computer program for realizing data buffer storage processing method as described above,
In embodiments of the present invention, which may include above-mentioned disk, for storage terminal device installation At least one client is corresponding data cached, can also store the various data etc. generated in the Computer Program Implementation Process Deng.
Optionally, memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes extremely A few storage chip.
Processor 1130, for loading and executing the computer program of realization following steps:
Detect the data volume to memory buffers data;
It when the data volume reaches preset threshold, compresses, obtains wait store compression to memory buffers data to described File;
The compressed file to be stored is encrypted, corresponding storage file is obtained;
The storage file is cached, and updates the cache tag position of the storage file after caching.
Optionally, the computer program for realizing following steps can also be performed in processor 1130:
Response buffer data read request, the data cached read requests read the characterization target cache page for requesting Target cache data;
Whether detection has currently stored effective target storage file, and the target storage file is slow comprising the target The storage file of deposit data;
If so, the target storage file is decrypted, and whether the target storage file detected after decryption is pressure Contracting file;
If so, decompressing to the target storage file after the decryption, target cache data are obtained;
The target cache data are loaded, the target cache page is exported.
Optionally, the computer program for realizing following steps can also be performed in processor 1130:
Inquire the currently stored target storage file comprising the target cache data;
Whether the cache tag position for detecting the target storage file is effective marker position;
If so, whether the currently stored period for judging the target storage file is more than caching effective period of time;
If not, execution is described to be decrypted step to the target storage file;
If so, the cache tag position for adjusting the target storage file is invalid flag position.Optionally, processor 1130 The computer program for realizing following steps can also be performed:
The compressed file to be stored is verified, corresponding first check value is obtained;
First check value and the storage file obtained after storing compressed file encryption are associated, and right First check value is cached.
Optionally, the computer program for realizing following steps can also be performed in processor 1130:
It obtains and associated first check value of the target storage file;
Target storage file after decryption is verified, the second check value is obtained;
It verifies second check value and whether associated first check value of the target storage file is identical;
If identical, whether the target storage file after executing the detection decryption is compressed file step.
Optionally, the computer program for realizing following steps can also be performed in processor 1130:
User data acquisition request is initiated to server, the user data acquisition request is for target described in request Cache the current-user data of the page;
Receive the current-user data of the server feedback;
Detect whether the current-user data is valid data;
If not, the user data acquisition request is initiated to the server again, until the user data obtains The initiation number of request reaches preset times;
If so, updating original subscriber's data in the target cache page, and to institute using the current-user data Current-user data is stated to be cached.
Optionally, the computer program for realizing following steps can also be performed in processor 1130:
Monitor the User Status of each target cache data correlation in the target cache page;
When any user state changes, to server initiation user data update request, the user data Update user's more new data that request is used for the changed target user of request User Status;
Receive user's more new data of the target user of the server feedback;
Using the user more new data, corresponding target cache data in the target cache page are updated.Wherein, originally The data volume of the communication interface in terminal device, memory and processor that inventive embodiments provide can be at least one, And data interaction can be realized by communication bus.In addition, the hardware configuration that the terminal device includes, and it is confined to above description Each section, can also include that components, the embodiment of the present invention such as display, input equipment no longer be described in detail one by one herein.
Finally, it should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or calculate Machine program product.Therefore, the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware side The form of the embodiment in face.Moreover, it wherein includes computer usable program code that the present invention, which can be used in one or more, The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
There are also it should be noted that such as first, second or the like relational terms are only about in the various embodiments described above For by an operation or unit and another is operated or unit distinguishes, without necessarily requiring or implying these units or There are any actual relationship or orders between operation.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For terminal device, since it is corresponding with method disclosed in embodiment, so being described relatively simple, related place is referring to side Method part explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of data buffer storage processing method, which is characterized in that it is applied to terminal device, the method includes:
Detect the data volume to memory buffers data;
When the data volume reaches preset threshold, is compressed to described to memory buffers data, obtain compressed file to be stored;
The compressed file to be stored is encrypted, corresponding storage file is obtained;
The storage file is cached, and the cache tag position of the storage file after caching is set.
2. the method according to claim 1, wherein the method also includes:
Response buffer data read request, the data cached read requests are used for the mesh for requesting to read the characterization target cache page It marks data cached;
Whether detection has currently stored comprising effective target storage file, and the target storage file is slow comprising the target The storage file of deposit data;
If so, the target storage file is decrypted, and detect whether the target storage file after decryption is compression text Part;
If so, decompressing to the target storage file after the decryption, target cache data are obtained;It is slow to load the target Deposit data exports the target cache page.
3. according to the method described in claim 2, it is characterized in that, whether the detection has currently stored effective target storage File, including:
Inquire the currently stored target storage file comprising the target cache data;
Whether the cache tag position for detecting the target storage file is effective marker position;
If so, whether the currently stored period for judging the target storage file is more than caching effective period of time;
If not, execution is described to be decrypted step to the target storage file;
If so, the cache tag position for adjusting the target storage file is invalid flag position.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
The compressed file to be stored is verified, corresponding first check value is obtained;
First check value and the storage file obtained after storing compressed file encryption are associated, and to described First check value is cached.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
It obtains and associated first check value of the target storage file;
Target storage file after decryption is verified, the second check value is obtained;
Verify second check value be associated with the target storage file caching the first check value it is whether identical;
If identical, whether the target storage file after executing the detection decryption is compressed file step.
6. according to the method described in claim 2, it is characterized in that, the method also includes:
User data acquisition request is initiated to server, the user data acquisition request is for target cache described in request The current-user data of the page;
Receive the current-user data of the server feedback;
Detect whether the current-user data is valid data;
If not, the user data acquisition request is initiated to the server again, until the user data acquisition request Initiation number reach preset times;
If so, updating original subscriber's data in the target cache page, and work as to described using the current-user data Preceding user data is cached.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
Monitor the User Status of each target cache data correlation in the target cache page;
When any user state changes, to server initiation user data update request, the user data update Request is used for user's more new data of the changed target user of request User Status;
Receive user's more new data of the target user of the server feedback;
Using the user more new data, corresponding target cache data in the target cache page are updated.
8. a kind of data buffer storage processing unit, which is characterized in that be applied to terminal device, described device includes:
Data volume detection module, for detecting the data volume to memory buffers data;
Compression module is compressed to described to memory buffers data for reaching preset threshold when the data volume, obtain to Store compressed file;
Encrypting module obtains corresponding storage file for encrypting to the compressed file to be stored;
For caching to the storage file, and the cache tag position of the storage file after caching is arranged in cache module.
9. device according to claim 8, which is characterized in that described device further includes:
Data cached read requests respond module, is used for response buffer data read request, and the data cached read requests are used The target cache data of the characterization target cache page are read in request;
Whether detection module has currently stored effective target storage file for detecting, and the target storage file is to include The storage file of the target cache data;
Deciphering module is decrypted the target storage file for that ought store the target storage file, and detects solution Whether the target storage file after close is compressed file;
Read module is decompressed, is compressed file for target storage file after decryption, the target after the decryption is stored File is decompressed, and target cache data are obtained;
Loading module exports the target cache page for loading the target cache data.
10. a kind of terminal device, which is characterized in that the terminal device includes:
Communication interface;
Memory, for storing the computer journey for realizing the data buffer storage processing method as described in claim 1-7 any one Sequence;
Processor, for loading and executing the computer program of realization following steps:
Detect the data volume to memory buffers data;
When the data volume reaches preset threshold, is compressed to described to memory buffers data, obtain compressed file to be stored;
The compressed file to be stored is encrypted, corresponding storage file is obtained;
The storage file is cached, and updates the cache tag position of the storage file after caching.
CN201810653544.6A 2018-06-22 2018-06-22 A kind of data buffer storage processing method, device and terminal device Pending CN108920573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810653544.6A CN108920573A (en) 2018-06-22 2018-06-22 A kind of data buffer storage processing method, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810653544.6A CN108920573A (en) 2018-06-22 2018-06-22 A kind of data buffer storage processing method, device and terminal device

Publications (1)

Publication Number Publication Date
CN108920573A true CN108920573A (en) 2018-11-30

Family

ID=64420872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810653544.6A Pending CN108920573A (en) 2018-06-22 2018-06-22 A kind of data buffer storage processing method, device and terminal device

Country Status (1)

Country Link
CN (1) CN108920573A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031030A (en) * 2019-12-10 2020-04-17 深圳前海环融联易信息科技服务有限公司 Cache processing method and device, computer equipment and storage medium
CN111125128A (en) * 2019-12-10 2020-05-08 苏宁云计算有限公司 Cache updating method, device and system
CN111143410A (en) * 2019-12-19 2020-05-12 航天信息股份有限公司 Accommodation public security management method, device and system
CN111290983A (en) * 2018-12-10 2020-06-16 澜至电子科技(成都)有限公司 USB transmission equipment and transmission method
US10764062B2 (en) 2019-06-03 2020-09-01 Alibaba Group Holding Limited Blockchain ledger compression
CN111752902A (en) * 2020-06-05 2020-10-09 江苏任务网络科技有限公司 Dynamic hot data caching method
WO2020244240A1 (en) * 2019-06-03 2020-12-10 创新先进技术有限公司 Compression method for blockchain ledger, device, and equipment
CN112597161A (en) * 2020-12-23 2021-04-02 北京澎思科技有限公司 Data processing method, electronic device and readable storage medium
CN112597337A (en) * 2020-12-10 2021-04-02 北京飞讯数码科技有限公司 Method, device, equipment and medium for viewing video monitoring content
CN112835578A (en) * 2021-01-28 2021-05-25 观脉科技(北京)有限公司 Bundle file generation method and storage medium
CN113760980A (en) * 2020-11-30 2021-12-07 北京京东乾石科技有限公司 Data caching method, data providing end and data using end

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1417800A1 (en) * 2001-08-15 2004-05-12 Bentley Systems, Incorporated Method and system for storing large data files
CN101646168A (en) * 2009-08-24 2010-02-10 深圳华为通信技术有限公司 Data encryption method, decryption method and mobile terminal
CN102014374A (en) * 2010-11-26 2011-04-13 中兴通讯股份有限公司 Processing method of default file and mobile terminal
CN102804168A (en) * 2009-06-19 2012-11-28 赛贝斯股份有限公司 Data Compression For Reducing Storage Requirements In A Database System
CN103218570A (en) * 2011-11-08 2013-07-24 三星电子株式会社 Apparatus and method of portable terminal for application data protection
CN103646121A (en) * 2013-12-27 2014-03-19 税友软件集团股份有限公司 Identifier code, application method and device
CN105988896A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Backup method and device of mobile terminal data
CN107545048A (en) * 2017-08-18 2018-01-05 北京奇安信科技有限公司 The processing method and processing device of ciphered compressed file

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1417800A1 (en) * 2001-08-15 2004-05-12 Bentley Systems, Incorporated Method and system for storing large data files
CN102804168A (en) * 2009-06-19 2012-11-28 赛贝斯股份有限公司 Data Compression For Reducing Storage Requirements In A Database System
CN101646168A (en) * 2009-08-24 2010-02-10 深圳华为通信技术有限公司 Data encryption method, decryption method and mobile terminal
CN102014374A (en) * 2010-11-26 2011-04-13 中兴通讯股份有限公司 Processing method of default file and mobile terminal
CN103218570A (en) * 2011-11-08 2013-07-24 三星电子株式会社 Apparatus and method of portable terminal for application data protection
CN103646121A (en) * 2013-12-27 2014-03-19 税友软件集团股份有限公司 Identifier code, application method and device
CN105988896A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Backup method and device of mobile terminal data
CN107545048A (en) * 2017-08-18 2018-01-05 北京奇安信科技有限公司 The processing method and processing device of ciphered compressed file

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111290983A (en) * 2018-12-10 2020-06-16 澜至电子科技(成都)有限公司 USB transmission equipment and transmission method
WO2020244240A1 (en) * 2019-06-03 2020-12-10 创新先进技术有限公司 Compression method for blockchain ledger, device, and equipment
US10764062B2 (en) 2019-06-03 2020-09-01 Alibaba Group Holding Limited Blockchain ledger compression
US10958440B2 (en) 2019-06-03 2021-03-23 Advanced New Technologies Co., Ltd. Blockchain ledger compression
CN111125128A (en) * 2019-12-10 2020-05-08 苏宁云计算有限公司 Cache updating method, device and system
CN111031030A (en) * 2019-12-10 2020-04-17 深圳前海环融联易信息科技服务有限公司 Cache processing method and device, computer equipment and storage medium
CN111125128B (en) * 2019-12-10 2023-07-25 苏宁云计算有限公司 Cache updating method, device and system
CN111143410A (en) * 2019-12-19 2020-05-12 航天信息股份有限公司 Accommodation public security management method, device and system
CN111752902A (en) * 2020-06-05 2020-10-09 江苏任务网络科技有限公司 Dynamic hot data caching method
CN113760980A (en) * 2020-11-30 2021-12-07 北京京东乾石科技有限公司 Data caching method, data providing end and data using end
CN112597337A (en) * 2020-12-10 2021-04-02 北京飞讯数码科技有限公司 Method, device, equipment and medium for viewing video monitoring content
CN112597161A (en) * 2020-12-23 2021-04-02 北京澎思科技有限公司 Data processing method, electronic device and readable storage medium
CN112835578A (en) * 2021-01-28 2021-05-25 观脉科技(北京)有限公司 Bundle file generation method and storage medium

Similar Documents

Publication Publication Date Title
CN108920573A (en) A kind of data buffer storage processing method, device and terminal device
EP3657376B1 (en) Hybrid-cloud data storage method and apparatus, related device, and cloud system
CN104852925B (en) Mobile intelligent terminal anti-data-leakage secure storage, backup method
EP3274850B1 (en) Protecting a memory
AU2019204723B2 (en) Cryptographic key management based on identity information
US9734091B2 (en) Remote load and update card emulation support
CN109379192B (en) Login verification processing method, system and device
CN106790156B (en) Intelligent device binding method and device
JP4219965B2 (en) One-time ID authentication
CN113691502B (en) Communication method, device, gateway server, client and storage medium
US7739301B2 (en) Method and apparatus for improving file system proxy performance and security by distributing information to clients via file handles
US20040064485A1 (en) File management apparatus and method
CN111143247B (en) Storage device data integrity protection method, controller thereof and system on chip
AU2019204724B2 (en) Cryptography chip with identity verification
CN109845183A (en) For from client device to the method for cloud storage system storing data block
CN103532989A (en) Downloading method of file data
CN104484628A (en) Multi-application intelligent card with encryption and decryption functions
KR102537788B1 (en) Server and method for determining the integrity of the appliacion using thereof
CN111290884A (en) Data backup method and device for cash register equipment
CN105741117A (en) Method and off-line transaction device based on security key
US20210203650A1 (en) Data message authentication based on a random number
US20210192023A1 (en) Authenticating an entity
CN113496404A (en) Payment code updating method and device, computer equipment and storage medium
JP5528198B2 (en) Information processing apparatus and program
GB2574024A (en) Authenticating an entity

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: 20181130

RJ01 Rejection of invention patent application after publication