CN105204963A - Data caching method and device - Google Patents

Data caching method and device Download PDF

Info

Publication number
CN105204963A
CN105204963A CN201510629642.2A CN201510629642A CN105204963A CN 105204963 A CN105204963 A CN 105204963A CN 201510629642 A CN201510629642 A CN 201510629642A CN 105204963 A CN105204963 A CN 105204963A
Authority
CN
China
Prior art keywords
data
buffer memory
cloud dish
output instruction
dish server
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
CN201510629642.2A
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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510629642.2A priority Critical patent/CN105204963A/en
Publication of CN105204963A publication Critical patent/CN105204963A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a data caching method and device, and relates to the technical field of information. The problem that data output to external storage equipment are lost when the conditions that the external storage equipment is failed or lost occur is solved. The data caching method comprises the steps that whether terminal equipment receives a data output instruction or not is detected; if the data output instruction is received, data corresponding to the data output instruction are cached; the cached data are uploaded to a cloud disk server. The data caching method and device are mainly used for backuping the output data.

Description

Data cache method and device
Technical field
The present invention relates to areas of information technology, particularly relate to a kind of data cache method and device.
Background technology
Along with the fast development of infotech, data backup is supplied to numerous clients as a kind of mode of service and uses more and more by the welcome of user, this backup services can be described as the network data backup under cloud environment.Compare with traditional backup, the network data backup under cloud environment has plurality of advantages.First, the installation of the network data backup under cloud environment, use, the backup software of maintenance all than traditional are easier.Secondly, as a kind of network service, the network data backup under cloud environment itself solves the strange land storage problem of data, solves the technical barrier that user builds storage and backup system voluntarily.Meanwhile, compared with general backup, the network data backup under cloud environment more focuses on the security of data transmission and data storage.
At present, terminal device receives data output instruction, and after exporting the data in terminal device to External memory equipment, the data that terminal device this locality stores are by deleted.But, if External memory equipment breaks down or the situation such as loss time, the loss of data exported in External memory equipment will be caused.
Summary of the invention
In view of this, the invention provides a kind of data cache method and device, fundamental purpose be to solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
According to one aspect of the invention, provide a kind of data cache method, described method comprises:
Whether sense terminals equipment receives data output instruction;
If so, then the data corresponding with described data output instruction are carried out buffer memory;
By the described data upload of buffer memory to cloud dish server.
According to another aspect of the present invention, provide a kind of data buffer storage device, described device comprises:
Whether detecting unit, receive data output instruction for sense terminals equipment;
The data corresponding with described data output instruction if for receiving data output instruction, are then carried out buffer memory by buffer unit;
Uploading unit, for by the described data upload of buffer memory to cloud dish server.
By technique scheme, the technical scheme that the embodiment of the present invention provides at least has following advantages:
Embodiments provide a kind of data cache method and device, first whether sense terminals equipment receives data output instruction; If receive data output instruction, then the data corresponding with described data output instruction are carried out buffer memory; Then by the described data upload of buffer memory to cloud dish server.After performing data output instruction with current terminal device, data corresponding with described data output instruction in terminal device are by compared with deleted, after the embodiment of the present invention receives data output instruction, first the data corresponding with described data output instruction are carried out buffer memory, then by the described data upload of buffer memory to cloud dish server, thus the backup operation completed the data exporting External memory equipment to, and then solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of data cache method process flow diagram that the embodiment of the present invention provides;
Fig. 2 shows the another kind of data cache method process flow diagram that the embodiment of the present invention provides;
Fig. 3 shows a kind of data buffer storage apparatus structure block diagram that the embodiment of the present invention provides;
Fig. 4 shows the another kind of data buffer storage apparatus structure block diagram that the embodiment of the present invention provides.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
The embodiment of the present invention provides a kind of data cache method, and as shown in Figure 1, described method comprises:
101, whether sense terminals equipment receives data output instruction.
Wherein, described terminal device can be desktop computer, notebook computer, and can be also panel computer, mobile phone etc., the embodiment of the present invention limit.Described data output instruction can for export in external memory storage by the data stored in described terminal device; in the application of reality; user usually can by the Data Migration of terminal device this locality in other External memory equipments; namely user can carry out shearing manipulation to the data of preserving in terminal device, then described sticky data is attached in other External memory equipment.Movable storage device is in advance by USB (USB (universal serial bus), UniversalSerialBus) interface and terminal device connect, and terminal device can identify movable storage device, can operate movable storage device in terminal device.When the sticky data in terminal device to be attached in the movable storage device connected with terminal device by user, data output to movable storage device from terminal device; Or user can choose the data of preserving in terminal device, then click " being sent to mobile terminal device ", now data output to movable storage device from terminal device, thus cloud dish can detect in terminal device to there is data output instruction.
Such as, when user chooses the audio file preserved in computer by mouse or cursor, then click and shear button, and when clicking paste buttons in movable storage device, then audio file will output to movable storage device from computer, and now cloud dish can detect in computer to there is data output instruction.
Further, described data output instruction can also be deleted for the data will stored in described terminal device, in actual applications, described data output instruction is specifically as follows and performs deletion action to the storage data in terminal device recycle bin, such as, the data that the file preserved in computer or file are stored by mouse by user from computer recycle bin are deleted, and now cloud dish can detect that computer exists data output instruction.For the embodiment of the present invention, be data output instruction by the operation setting of deleting data in terminal device, thus can back up the data of deleting in terminal device automatically in subsequent step.
102, if so, then the data corresponding with described data output instruction are carried out buffer memory.
In embodiments of the present invention, if terminal device receives data output instruction, then first obtain the data corresponding with described data output instruction, then described data are carried out buffer memory, thus the data of output can be realized to backup in the middle of the buffer memory of terminal device.Wherein, data corresponding for described data output instruction are carried out buffer memory, refer to and described data are stored in the middle of the memory buffer of terminal device.It should be noted that, the data that described data output instruction is corresponding can be data, the data of text formatting, the data of phonetic matrix, the data etc. of compressed format of video format, and the embodiment of the present invention is not specifically limited.
Such as, when user chooses the video file preserved in computer by mouse or cursor, then click and shear button, and when clicking paste buttons in movable storage device, video file outputs to movable storage device from computer.Now, cloud dish detects in computer exists data output instruction, and obtains the video file corresponding with this data output instruction, then described video file is put into the memory buffer of terminal device.
103, by the described data upload of buffer memory to cloud dish server.
Wherein, cloud dish server is Yun Pan provider is the server that process mass data is arranged.For the embodiment of the present invention, detect in terminal device to there is data output instruction, after the data corresponding with described data output instruction are carried out buffer memory, data corresponding for data output instruction are backuped to cloud dish server, the automated back-up to the data transferring to External memory equipment can be realized, thus solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
For the embodiment of the present invention, concrete application scenarios can be as follows, but be not limited thereto, comprise: when user chooses " data backup 3 " file preserved in computer by mouse or cursor, then click and shear button, and when clicking paste buttons in movable storage device, file " data backup 3 " outputs to movable storage device from computer, and now cloud dish can detect in computer to there is data output instruction.Then obtain described " data backup 3 " file, and this file carried out buffer memory, finally by " data backup 3 " files passe of buffer memory to cloud dish server.Thus the automated back-up that can realize the data outputting to External memory equipment, thus solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
Embodiments provide a kind of data cache method, first whether sense terminals equipment receives data output instruction; If receive data output instruction, then the data corresponding with described data output instruction are carried out buffer memory; Then by the described data upload of buffer memory to cloud dish server.After performing data output instruction with current terminal device, data corresponding with described data output instruction in terminal device are by compared with deleted, after the embodiment of the present invention receives data output instruction, first the data corresponding with described data output instruction are carried out buffer memory, then by the described data upload of buffer memory to cloud dish server, thus the backup operation completed the data exporting External memory equipment to, and then solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
The embodiment of the present invention provides another kind of data cache method, and as shown in Figure 2, described method comprises:
201, whether sense terminals equipment receives data output instruction.
Wherein, described terminal device can be desktop computer, notebook computer, and can be also panel computer, mobile phone etc., the embodiment of the present invention limit.Described data output instruction can for export in external memory storage by the data stored in described terminal device; in the application of reality; user usually can by the Data Migration of terminal device this locality in other External memory equipments; namely user can carry out shearing manipulation to the data of preserving in terminal device, then described sticky data is attached in other External memory equipment.Movable storage device is in advance by USB (USB (universal serial bus), UniversalSerialBus) interface and terminal device connect, and terminal device can identify movable storage device, can operate movable storage device in terminal device.When the sticky data in terminal device to be attached in the movable storage device connected with terminal device by user, data output to movable storage device from terminal device; Or user can choose the data of preserving in terminal device, then click " being sent to mobile terminal device ", now data output to movable storage device from terminal device, thus cloud dish can detect in terminal device to there is data output instruction.
Further, described data output instruction can also be deleted for the data will stored in described terminal device, and in actual applications, described data output instruction is specifically as follows and performs deletion action to the storage data in terminal device recycle bin.For the embodiment of the present invention, be data output instruction by the operation setting of deleting data in terminal device, thus can back up the data of deleting in terminal device automatically in subsequent step.
202, if so, then the data corresponding with described data output instruction are carried out buffer memory.
In embodiments of the present invention, if terminal device receives data output instruction, then first obtain data corresponding with described data output instruction, then described data carried out buffer memory, thus can realize by the data backup terminal device of output in the middle of buffer memory.Wherein, data corresponding for described data output instruction are carried out buffer memory, refer to and described data are stored in the middle of the memory buffer of terminal device.It should be noted that, the data that described data output instruction is corresponding can be data, the data of text formatting, the data of phonetic matrix, the data etc. of compressed format of video format, and the embodiment of the present invention is not specifically limited.
203, by the described data upload of buffer memory to cloud dish server.
Wherein, cloud dish server is Yun Pan provider is the server that process mass data is arranged.For the embodiment of the present invention, detect in terminal device to there is data output instruction, after the data corresponding with described data output instruction are carried out buffer memory, data corresponding for data output instruction are backuped to cloud dish server, the automated back-up to the data transferring to External memory equipment can be realized, thus solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
For the embodiment of the present invention, described by before the described data upload of buffer memory to cloud dish server, also comprise: export information, described information is for being confirmed whether the described data upload of buffer memory to cloud dish server; Described the described data upload of buffer memory to be comprised to cloud dish server: if receive confirmation corresponding to described information, then by the described data upload of buffer memory to cloud dish server.Wherein, described information can be picture prompting information, text prompt information or audio prompt information etc., and the embodiment of the present invention is not specifically limited.Such as, described information is specifically as follows for being confirmed whether the picture prompting information of described files passe to cloud dish server, also can be for being confirmed whether the text prompt information of described files passe to cloud dish server, can also be for being confirmed whether the audio prompt information of described files passe to cloud dish server.In embodiments of the present invention, export after information, if receive confirmation corresponding to described information, then by the data upload of buffer memory in cloud dish server; If do not receive the confirmation that described information is corresponding, then without the need to by the data upload of buffer memory in cloud dish server.Thus according to the information exported, user can selectively by the data upload in buffer memory to cloud dish server, and then improve Consumer's Experience.
Such as, when user chooses the text preserved in computer by mouse or cursor, then click and shear button, and when clicking paste buttons in movable storage device, text then outputs to movable storage device from computer.Now, cloud dish detects in computer exists data output instruction, and obtain the text corresponding with this data output instruction, then described text is put into the buffer memory of terminal device, and eject inquiry user whether by the data upload of described buffer memory to the dialog box of cloud dish server, if " confirmation " button in user click dialog box, then by the data upload of described buffer memory to cloud dish server; If " cancellation " button in user click dialog box, then without the need to by the data upload in buffer memory to cloud dish server.
For the embodiment of the present invention, if confirmation corresponding to described information is received described, then the described data upload of buffer memory is comprised to cloud dish server: if receive confirmation corresponding to described information, then according to the data type that described data are corresponding, the described Data classification of buffer memory is uploaded to described cloud dish server.Wherein, data type corresponding to described data can comprise text, video type, sound-type, picture/mb-type etc., and the embodiment of the present invention is not specifically limited.Such as, in cloud dish server, for the data of different types of data divide a storage area, shown in specific as follows respectively: the corresponding storage area of data of text, the corresponding storage area of data of video type, the corresponding storage area of data of sound-type, the corresponding storage area of data of picture/mb-type.In this example, if data type corresponding to described data is video type, then after receiving confirmation corresponding to information, by storage area corresponding for video type in described data upload to cloud dish server.In embodiments of the present invention, according to the data type that described data are corresponding, by the data upload of buffer memory in described cloud dish server, thus automatic classification can be carried out to the data be uploaded in cloud dish server, and then user's data that fast finding stores to classification backup in cloud dish server can be made, and then improve Consumer's Experience.
For the embodiment of the present invention, described the described data upload of buffer memory to be comprised to cloud dish server: the user corresponding by cloud dish server logs in account number, by the described data upload of buffer memory to cloud dish server.Wherein, user logs in account number and can comprise user and log in title and log in password.User's login account can be user registration cloud dish login account, also can register for user with the login account of cloud dish as same provider application program, the embodiment of the present invention does not limit.Such as, the application program being same provider with cloud dish is security guard, user can log in cloud dish by cloud dish login account, also cloud dish can be logged in by security guard's login account, namely " title can be logged in: zhangxiaoqq.com, log in password: z123856 ", by described data upload to described cloud dish server by cloud dish login account corresponding to cloud dish server; Also " title can be logged in: yyyuuqq.com, log in password: 233856 ", by described files passe to described cloud dish server by security guard's login account corresponding to cloud dish server.The user corresponding by cloud dish server logs in account number, by described data upload to described cloud dish server, the file uploaded can be avoided maliciously to be used, thus can ensure the file security uploaded.
204, the described data of buffer memory are deleted.
Such as, when user chooses the text preserved in computer by mouse or cursor, then click and shear button, and when clicking paste buttons in movable storage device, text will output to movable storage device from computer.Now, cloud dish detects in computer exists data output instruction, then the text corresponding with described data output instruction is carried out buffer memory, finally by the described data upload of buffer memory in cloud dish server, after the data of described buffer memory successfully upload to cloud dish server, then the described data correspondence of buffer memory is deleted.In embodiments of the present invention, after the described data upload of buffer memory to cloud dish server, the described data of buffer memory are deleted, the spatial cache of terminal device can be saved, and then improve the operational efficiency of system.
For the embodiment of the present invention, after described output information, also comprise: if do not receive confirmation corresponding to described information in preset time, then the described data of buffer memory are deleted.Wherein, described preset time can be arranged according to the actual demand of user, also can be configured by system default.Such as, described preset time can be 5 hours, 10 hours, 24 hours etc., and the embodiment of the present invention is not specifically limited.Such as, sense terminals equipment receives data output instruction, and after data corresponding for described data output instruction are carried out buffer memory, export whether to by the data cached prompted dialog frame being uploaded to cloud dish server, if user has carried out confirming operation to described dialog box, then by described data upload to cloud dish server; If user does not carry out confirmation operation to described dialog box in preset time, then the data of described buffer memory can not be uploaded in cloud dish server, and also by data cached deletion corresponding in terminal device.In embodiments of the present invention, if do not receive the confirmation that described information is corresponding in preset time, the corresponding data of buffer memory is deleted, the data of automatically deleting terminal device buffer memory can be realized, thus the spatial cache of terminal device can be saved, and then improve the operational efficiency of system.
For the embodiment of the present invention, concrete application scenarios can be as follows, but be not limited thereto, comprise: when user chooses " data backup 1 " file preserved in computer by mouse or cursor, then click and shear button, and when clicking paste buttons in movable storage device, file " data backup 1 " outputs to movable storage device from computer, now cloud dish can detect in computer to there is data output instruction, then " data backup 1 " file corresponding with data output instruction is obtained, and this file is carried out buffer memory, export information again, whether prompting user confirms the data upload of buffer memory to cloud dish server, if receive the confirmation that described information is corresponding, then by the data upload of buffer memory to cloud dish server, after the data of described buffer memory are successfully uploaded to cloud dish server, the data of terminal device buffer memory are deleted, if do not receive the confirmation that described information is corresponding in preset time, then without the need to by the data upload of buffer memory to cloud dish server, and the data of described terminal device buffer memory to be deleted.Further, the user corresponding by cloud dish server logs in account number, by the described data upload of buffer memory to cloud dish server.Thus the automated back-up that can realize the data outputting to External memory equipment, thus solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
Embodiments provide another kind of data cache method, first whether sense terminals equipment receives data output instruction; If receive data output instruction, then the data corresponding with described data output instruction are carried out buffer memory; Then by the described data upload of buffer memory to cloud dish server.After performing data output instruction with current terminal device, data corresponding with described data output instruction in terminal device are by compared with deleted, after the embodiment of the present invention receives data output instruction, first the data corresponding with described data output instruction are carried out buffer memory, then by the described data upload of buffer memory to cloud dish server, thus the backup operation completed the data exporting External memory equipment to, and then solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
The embodiment of the present invention provides a kind of data buffer storage device, and as shown in Figure 3, the updating device of described application program comprises: detecting unit 31, buffer unit 32, uploading unit 33.
Whether detecting unit 31, receive data output instruction for sense terminals equipment.
The data corresponding with described data output instruction if for receiving data output instruction, are then carried out buffer memory by buffer unit 32.
Uploading unit 33, for by the described data upload of buffer memory to cloud dish server.
It should be noted that, other corresponding descriptions of each functional unit involved by a kind of data buffer storage device that the embodiment of the present invention provides, the correspondence of method shown in reference diagram 1 can describe, do not repeat them here.
Embodiments provide a kind of data buffer storage device, first whether sense terminals equipment receives data output instruction; If receive data output instruction, then the data corresponding with described data output instruction are carried out buffer memory; Then by the described data upload of buffer memory to cloud dish server.After performing data output instruction with current terminal device, data corresponding with described data output instruction in terminal device are by compared with deleted, after the embodiment of the present invention receives data output instruction, first the data corresponding with described data output instruction are carried out buffer memory, then by the described data upload of buffer memory to cloud dish server, thus the backup operation completed the data exporting External memory equipment to, and then solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
Further, the embodiment of the present invention provides another kind of data buffer storage device, and as shown in Figure 4, the updating device of described application program comprises: detecting unit 41, buffer unit 42, uploading unit 43.
Whether detecting unit 41, receive data output instruction for sense terminals equipment.
The data corresponding with described data output instruction if for receiving data output instruction, are then carried out buffer memory by buffer unit 42.
Uploading unit 43, for by the described data upload of buffer memory to cloud dish server.
Further, described device also comprises: output unit 44.
Described output unit 44, for exporting information, described information is for being confirmed whether the described data upload of buffer memory to cloud dish server.
Described uploading unit 43, if for receiving confirmation corresponding to described information, then by the described data upload of buffer memory to cloud dish server.
Further, described device also comprises:
Delete cells 45, for deleting the described data of buffer memory.
The described data of buffer memory if specifically for not receiving confirmation corresponding to described information in preset time, are then deleted by described delete cells 45.
Described uploading unit 43, if specifically also for receiving confirmation corresponding to described information, then according to the data type that described data are corresponding, uploads to described cloud dish server by the described Data classification of buffer memory.
Described uploading unit 43, specifically also logs in account number for the user corresponding by cloud dish server, by the described data upload of buffer memory to cloud dish server.
It should be noted that, other corresponding descriptions of each functional unit involved by the another kind of data buffer storage device that the embodiment of the present invention provides, the correspondence of method shown in reference diagram 2 can describe, do not repeat them here.
Embodiments provide another kind of data buffer storage device, first whether sense terminals equipment receives data output instruction; If receive data output instruction, then the data corresponding with described data output instruction are carried out buffer memory; Then by the described data upload of buffer memory to cloud dish server.After performing data output instruction with current terminal device, data corresponding with described data output instruction in terminal device are by compared with deleted, after the embodiment of the present invention receives data output instruction, first the data corresponding with described data output instruction are carried out buffer memory, then by the described data upload of buffer memory to cloud dish server, thus the backup operation completed the data exporting External memory equipment to, and then solve External memory equipment break down or the situation such as loss time, the problem exporting the loss of data in External memory equipment to caused.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in a kind of data cache method of the embodiment of the present invention and device.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of data cache method, comprising:
Whether sense terminals equipment receives data output instruction;
If so, then the data corresponding with described data output instruction are carried out buffer memory;
By the described data upload of buffer memory to cloud dish server.
A2, data cache method as described in A1, described by before the described data upload of buffer memory to cloud dish server, also comprise:
Export information, described information is for being confirmed whether the described data upload of buffer memory to cloud dish server;
Described the described data upload of buffer memory to be comprised to cloud dish server:
If receive the confirmation that described information is corresponding, then by the described data upload of buffer memory to cloud dish server.
A3, data cache method as described in A1, state after the described data upload of buffer memory to cloud dish server, also comprise:
The described data of buffer memory are deleted.
A4, data cache method as described in A2, after described output information, also comprise:
If do not receive the confirmation that described information is corresponding in preset time, then the described data of buffer memory are deleted.
A5, data cache method as described in A2, receive confirmation corresponding to described information, then the described data upload of buffer memory comprised to cloud dish server if described:
If receive the confirmation that described information is corresponding, then according to the data type that described data are corresponding, the described Data classification of buffer memory is uploaded to described cloud dish server.
A6, as the data cache method as described in arbitrary in A1-A5, described the described data upload of buffer memory to be comprised to cloud dish server:
The user corresponding by cloud dish server logs in account number, by the described data upload of buffer memory to cloud dish server.
The invention discloses B7, a kind of data buffer storage device, comprising:
Whether detecting unit, receive data output instruction for sense terminals equipment;
The data corresponding with described data output instruction if for receiving data output instruction, are then carried out buffer memory by buffer unit;
Uploading unit, for by the described data upload of buffer memory to cloud dish server.
B8, data buffer storage device as described in B7, described device also comprises: output unit,
Described output unit, for exporting information, described information is for being confirmed whether the described data upload of buffer memory to cloud dish server;
Described uploading unit, if for receiving confirmation corresponding to described information, then by the described data upload of buffer memory to cloud dish server.
B9, data buffer storage device as described in B7, described device also comprises:
Delete cells, for deleting the described data of buffer memory.
B10, data buffer storage device as described in B8,
The described data of buffer memory if specifically for not receiving confirmation corresponding to described information in preset time, are then deleted by described delete cells.
B11, data buffer storage device as described in B8,
Described uploading unit, if specifically also for receiving confirmation corresponding to described information, then according to the data type that described data are corresponding, uploads to described cloud dish server by the described Data classification of buffer memory.
B12, as the data buffer storage device as described in arbitrary in B7-B11,
Described uploading unit, specifically also logs in account number for the user corresponding by cloud dish server, by the described data upload of buffer memory to cloud dish server.

Claims (10)

1. a data cache method, is characterized in that, comprising:
Whether sense terminals equipment receives data output instruction;
If so, then the data corresponding with described data output instruction are carried out buffer memory;
By the described data upload of buffer memory to cloud dish server.
2. data cache method according to claim 1, is characterized in that, described by before the described data upload of buffer memory to cloud dish server, also comprises:
Export information, described information is for being confirmed whether the described data upload of buffer memory to cloud dish server;
Described the described data upload of buffer memory to be comprised to cloud dish server:
If receive the confirmation that described information is corresponding, then by the described data upload of buffer memory to cloud dish server.
3. data cache method according to claim 1, is characterized in that, described by after the described data upload of buffer memory to cloud dish server, also comprises:
The described data of buffer memory are deleted.
4. data cache method according to claim 2, is characterized in that, after described output information, also comprises:
If do not receive the confirmation that described information is corresponding in preset time, then the described data of buffer memory are deleted.
5. data cache method according to claim 2, is characterized in that, receives confirmation corresponding to described information if described, then the described data upload of buffer memory comprised to cloud dish server:
If receive the confirmation that described information is corresponding, then according to the data type that described data are corresponding, the described Data classification of buffer memory is uploaded to described cloud dish server.
6. a data buffer storage device, is characterized in that, comprising:
Whether detecting unit, receive data output instruction for sense terminals equipment;
The data corresponding with described data output instruction if for receiving data output instruction, are then carried out buffer memory by buffer unit;
Uploading unit, for by the described data upload of buffer memory to cloud dish server.
7. data buffer storage device according to claim 6, is characterized in that, described device also comprises: output unit,
Described output unit, for exporting information, described information is for being confirmed whether the described data upload of buffer memory to cloud dish server;
Described uploading unit, if for receiving confirmation corresponding to described information, then by the described data upload of buffer memory to cloud dish server.
8. data buffer storage device according to claim 6, is characterized in that, described device also comprises:
Delete cells, for deleting the described data of buffer memory.
9. data buffer storage device according to claim 7, is characterized in that,
The described data of buffer memory if specifically for not receiving confirmation corresponding to described information in preset time, are then deleted by described delete cells.
10. data buffer storage device according to claim 7, is characterized in that,
Described uploading unit, if specifically also for receiving confirmation corresponding to described information, then according to the data type that described data are corresponding, uploads to described cloud dish server by the described Data classification of buffer memory.
CN201510629642.2A 2015-09-28 2015-09-28 Data caching method and device Pending CN105204963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510629642.2A CN105204963A (en) 2015-09-28 2015-09-28 Data caching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510629642.2A CN105204963A (en) 2015-09-28 2015-09-28 Data caching method and device

Publications (1)

Publication Number Publication Date
CN105204963A true CN105204963A (en) 2015-12-30

Family

ID=54952658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510629642.2A Pending CN105204963A (en) 2015-09-28 2015-09-28 Data caching method and device

Country Status (1)

Country Link
CN (1) CN105204963A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020161A (en) * 2016-08-02 2016-10-12 上海智元信息科技有限公司 Intelligent mechanical equipment management system
CN106463112A (en) * 2015-04-10 2017-02-22 华为技术有限公司 Voice recognition method, voice wake-up device, voice recognition device and terminal
CN107526657A (en) * 2017-09-13 2017-12-29 沈阳东知科技有限公司 A kind of Online Database Backup method and system
CN109117656A (en) * 2018-08-27 2019-01-01 惠州Tcl移动通信有限公司 A kind of method automatically saving information data, storage medium and mobile terminal
CN111897819A (en) * 2020-07-31 2020-11-06 平安普惠企业管理有限公司 Data storage method and device, electronic equipment and storage medium
CN114200874A (en) * 2022-02-17 2022-03-18 四川创智联恒科技有限公司 Device and method for detecting equipment reset event

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110314221A1 (en) * 2010-06-18 2011-12-22 Fujitsu Limited Storage apparatus, controller and storage apparatus control method
CN103581318A (en) * 2013-10-31 2014-02-12 北京奇虎科技有限公司 Data backup and restoration method and device for mobile device
CN103955421A (en) * 2014-05-06 2014-07-30 珠海市君天电子科技有限公司 Method and system for file deletion

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110314221A1 (en) * 2010-06-18 2011-12-22 Fujitsu Limited Storage apparatus, controller and storage apparatus control method
CN103581318A (en) * 2013-10-31 2014-02-12 北京奇虎科技有限公司 Data backup and restoration method and device for mobile device
CN103955421A (en) * 2014-05-06 2014-07-30 珠海市君天电子科技有限公司 Method and system for file deletion

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106463112A (en) * 2015-04-10 2017-02-22 华为技术有限公司 Voice recognition method, voice wake-up device, voice recognition device and terminal
US10943584B2 (en) 2015-04-10 2021-03-09 Huawei Technologies Co., Ltd. Speech recognition method, speech wakeup apparatus, speech recognition apparatus, and terminal
US11783825B2 (en) 2015-04-10 2023-10-10 Honor Device Co., Ltd. Speech recognition method, speech wakeup apparatus, speech recognition apparatus, and terminal
CN106020161A (en) * 2016-08-02 2016-10-12 上海智元信息科技有限公司 Intelligent mechanical equipment management system
CN107526657A (en) * 2017-09-13 2017-12-29 沈阳东知科技有限公司 A kind of Online Database Backup method and system
CN109117656A (en) * 2018-08-27 2019-01-01 惠州Tcl移动通信有限公司 A kind of method automatically saving information data, storage medium and mobile terminal
CN111897819A (en) * 2020-07-31 2020-11-06 平安普惠企业管理有限公司 Data storage method and device, electronic equipment and storage medium
CN114200874A (en) * 2022-02-17 2022-03-18 四川创智联恒科技有限公司 Device and method for detecting equipment reset event

Similar Documents

Publication Publication Date Title
CN105204963A (en) Data caching method and device
US20170300396A1 (en) Allocating data based on hardware faults
US9959274B2 (en) Volume-level redundancy coding techniques for sequential transfer optimized storage devices
CN105577735A (en) Browser-based user behavior tracking method and device
CN111382123B (en) File storage method, device, equipment and storage medium
CN103746782A (en) Method and apparatus for obtaining feedback information of application
CN104536792A (en) Method and device for eliminating application program residual files
CN105335277A (en) Fault information processing method and device as well as terminal
CN105204964A (en) Data backup method and device based on cloud disk
CN103631678A (en) Backup method, restoring method and device for client software
CN105099755A (en) Method, device and system for monitoring performance of website system
CN103885808A (en) Hotfix processing method and device
CN103747010A (en) Method, system and device for controlling PC (personal computer) by mobile terminal
CN102867147A (en) File scanning method and device
CN105117499A (en) File display method and device based on cloud disk
CN112149035A (en) Website static resource processing method and device
CN102982275A (en) Security control method and device for running applications
CN105447383A (en) Browser operating environment detection method, client, server and browser operating environment detection system
CN104346460A (en) Method and device for downloading file and browser client
CN104361007A (en) Browser and processing method for browser favorites
CN116827965B (en) Coal mine underground offline scene data storage and synchronization method based on cloud platform
CN107465604B (en) E-mail display method and device and medium computing device
CN105262809A (en) Data backup method and apparatus based on cloud disc
CN111988405B (en) Message rewriting method of load balancing device and load balancing device
CN110597724A (en) Calling method and device of application security test component, server and storage medium

Legal Events

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

Application publication date: 20151230