Embodiment
The basic thought of the embodiment of the present invention is: electronic equipment obtains stored in the data message in self storage unit; Described electronic equipment detects user in predetermined time interval and, to the access frequency of described data message, based on described access frequency, described data message is divided into the first data and the second data; Described first data are used for the data that the access frequency of characterizing consumer is greater than first threshold; Described second data are used for the data that the access frequency of characterizing consumer is less than or equal to described first threshold; Described electronic equipment adopts the first strategy to carry out back-up processing to described first data, adopts the second strategy to carry out back-up processing to described second data; Like this, described data message is divided into two classes according to the access frequency of user, i.e. the first data and the second data, and then adopt different strategies, namely the first strategy and the second strategy carry out back-up processing to described first data of reply and described second data, realize the object of differential-backup, and above-mentioned backup procedure are without the need to user operation, decrease the operation burden of user, improve Consumer's Experience.
In order to more at large understand feature of the present invention and technology contents, below in conjunction with accompanying drawing, realization of the present invention is described in detail, the use of appended accompanying drawing explanation only for reference, is not used for limiting the present invention.
Embodiment one
Fig. 1 is the realization flow schematic diagram one of embodiment of the present invention control method; Described method is applied to electronic equipment, is provided with storage unit in described electronic equipment; As shown in Figure 1, described method comprises:
Step 101: obtain stored in the data message in described storage unit;
Step 102: to detect in predetermined time interval user to the access frequency of described data message;
Step 103: based on described access frequency, is divided into the first data and the second data by described data message; Described first data are used for the data that the access frequency of characterizing consumer is greater than first threshold; Described second data are used for the data that the access frequency of characterizing consumer is less than or equal to described first threshold;
Step 104: adopt the first strategy to carry out back-up processing to described first data, adopts the second strategy to carry out back-up processing to described second data.
In the present embodiment, described electronic equipment can be specially the electronic equipments such as desktop computer, notebook computer, panel computer, server; Described storage unit can be specially solid state hard disc.
In the present embodiment, described first data can be specially dsc data, and described second data can be specially cold data; Particularly, described electronic equipment obtains the data message in described storage unit, and according to the access frequency of the user detected to described data message, described data message is divided into two classes, i.e. dsc data and cold data, wherein, described dsc data is the data that user often has access to, and described cold data are the data that user infrequently accesses, so, determine the backup policy corresponding with data according to the access frequency of user, and then according to different backup policy, back-up processing is carried out to different data, realize the differential-backup of data; Further, the backup procedure in the present embodiment, without the need to user operation, therefore, decreases the operation burden of user.
Those skilled in the art should understand, a certain data in described data message are the first data or the second data is determine according to the access frequency of user, further, because the data type of described data message is determined according to access frequency, so a certain data are the first data or the second data is not unalterable, that is, in described data message, the data type of data can change according to the access frequency change of user; So, make control method described in the present embodiment can according to the type of the access frequency dynamic adjusting data of user, and then the backup policy of dynamic adjusting data, meet the demand of user further, improve Consumer's Experience.
Further, for saving the storage space of storage unit in electronic equipment, the present embodiment by data backup in other electronic equipments, such as back up in high in the clouds, and then save the storage space of described storage unit, particularly, described back-up processing comprises: described storage unit and server connect; Transfer data to server, complete back-up processing at described server.
In one embodiment, described server can be specially server corresponding to high in the clouds; That is, after described data message is divided into the first data and the second data according to the access frequency of user by described electronic equipment, described electronic equipment adopts the first strategy by described first data transmission in server, to complete back-up processing to described first data in described server, correspondingly, the second strategy is adopted to transfer in server by described second data, to complete back-up processing to described second data in described server.
Here, described first strategy is different from described second strategy, and described first strategy and described second strategy carry out back-up processing according to the different time intervals to data.
It should be noted that, in the present embodiment, the execution sequence of step 101 and step 102 can be exchanged, that is, described electronic equipment first can to detect in predetermined time interval user to the access frequency of data message, and then obtains the data message that user accessed, and described data message is divided into the first data and the second data according to access frequency, and then described data message is classified, according to classification results, different back-up processing is carried out to data lay the foundation for follow-up.
In another specific embodiment, can be perceived by the user for making the backup procedure of differential-backup, guarantee the right to know of user, promote the sense of participation of user, information can be generated, whether backed up by information prompting user, and then complete backup procedure according to the user operation based on information; Particularly, described method also comprises:
After described storage unit and described server connect, trigger described electronic equipment and generate information;
Receive the user operation based on described information;
Accordingly, described in transfer data to server, complete back-up processing at described server, comprising:
Send data to described server according to user operation, complete back-up processing at described server.
So, under the condition of storage space alleviating described electronic equipment, ensure that the right to know of user, add the sense of participation of user, here, those skilled in the art can understand, in actual applications, whether the above-mentioned process carrying out backing up based on user operation exists can be user preset, that is, user can specifically be set to need to determine whether to back up according to user operation, can also specifically be set to need not determine whether to back up according to user operation, also namely after connecting with server, described electronic equipment backs up different data according to different backup policy automatically, so, enable user that the backup mode of oneself is set flexibly, expand the experience of user.
Like this, on the one hand, data message in storage unit is classified according to the access frequency of user by the embodiment of the present invention, namely be divided into the first data and the second data, and then different backup policy is taked to different data, namely adopt the first strategy to carry out back-up processing to described first data, the second strategy is adopted to carry out back-up processing to described second data, realize the differential-backup of data, to complete backup procedure targetedly, improve Consumer's Experience; On the other hand, because above-mentioned backup procedure is without the need to user operation, that is manually carry out backup procedure without the need to user, therefore, alleviate the operation burden of user, improve Consumer's Experience further.
Embodiment two
Fig. 2 is the realization flow schematic diagram two of embodiment of the present invention control method; Described method is applied to electronic equipment, is provided with storage unit in described electronic equipment; As shown in Figure 2, described method comprises:
Step 201: obtain stored in the data message in described storage unit;
Step 202: to detect in predetermined time interval user to the access frequency of described data message;
Step 203: based on described access frequency, is divided into the first data and the second data by described data message; Described first data are used for the data that the access frequency of characterizing consumer is greater than first threshold; Described second data are used for the data that the access frequency of characterizing consumer is less than or equal to described first threshold;
In the present embodiment, described first strategy is different from described second strategy, and described first strategy and described second strategy carry out back-up processing according to the different time intervals to data.
Step 204: carry out back-up processing to described first data according to very first time interval, carries out back-up processing according to second time interval to described second data; Described very first time interval is different from described second time interval.
In the present embodiment, described electronic equipment can be specially the electronic equipments such as desktop computer, notebook computer, panel computer, server; Described storage unit can be specially solid state hard disc.
In the present embodiment, described first data can be specially dsc data, and described second data can be specially cold data.Here, described electronic equipment obtains the data message in described storage unit, and according to the access frequency of the user detected to described data message, described data message is divided into two classes, i.e. dsc data and cold data, wherein, described dsc data is the data that user often has access to, and described cold data are the data that user infrequently accesses, and then, according to very first time interval, back-up processing is carried out to described dsc data, according to second time interval, back-up processing is carried out to described cold data; Described very first time interval is different from described second time interval, particularly, described very first time interval is less than described second time interval, that is, dsc data is comparatively fast carried out back-up processing, and to the cold data infrequently used slower carry out back-up processing, so, can realize in real time dsc data being carried out back-up processing, and cold data periodically carry out the object of back-up processing, make described electronic equipment without the need to backing up all data all simultaneously, shorten BACKUP TIME, also improve Consumer's Experience; Further, the backup procedure in the present embodiment, without the need to user operation, therefore, decreases the operation burden of user.
Those skilled in the art should understand, a certain data in described data message are the first data or the second data is determine according to the access frequency of user, further, because the data type of described data message is determined according to access frequency, so a certain data are the first data or the second data is not unalterable, that is, in described data message, the data type of data can change according to the access frequency change of user; So, make control method described in the present embodiment can according to the type of the access frequency dynamic adjusting data of user, and then the backup policy of dynamic adjusting data, meet the demand of user further, improve Consumer's Experience.
Further, for saving the storage space of storage unit in electronic equipment, the present embodiment by data backup in other electronic equipments, such as back up in high in the clouds, and then save the storage space of described storage unit, particularly, described back-up processing comprises: described storage unit and server connect; Transfer data to server, complete back-up processing at described server; Particularly, adopt the first strategy by described first data syn-chronization to described server, to carry out back-up processing to described first data; Correspondingly, adopt the second strategy by described second data syn-chronization to described server, to carry out back-up processing to described second data.
In one embodiment, described server can be specially server corresponding to high in the clouds; That is, after described data message is divided into the first data and the second data according to the access frequency of user by described electronic equipment, described electronic equipment adopts the first strategy by described first data transmission in server, to carry out back-up processing to described first data in described server, correspondingly, the second strategy is adopted to transfer in server by described second data, to carry out back-up processing, to complete back-up processing to described second data in described server.Here, because described first strategy and described second strategy carry out back-up processing according to the different time intervals to data, therefore, above-mentioned backup procedure can also be specially: according to very first time interval by described first data transmission in server, to carry out back-up processing to described first data in described server, correspondingly, according to second time interval, described second data are transferred in server, to carry out back-up processing to described second data in described server, complete backup procedure.
It should be noted that, in the present embodiment, the execution sequence of step 201 and step 202 can be exchanged, that is, described electronic equipment first can to detect in predetermined time interval user to the access frequency of data message, and then obtains the data message that user accessed, and described data message is divided into the first data and the second data according to access frequency, and then described data message is classified, according to classification results, different back-up processing is carried out to data lay the foundation for follow-up.
In another specific embodiment, can be perceived by the user for making the backup procedure of differential-backup, guarantee the right to know of user, promote the sense of participation of user, information can be generated, whether backed up by information prompting user, and then complete backup procedure according to the user operation based on information; Particularly, described method also comprises:
After described storage unit and described server connect, trigger described electronic equipment and generate information;
Receive the user operation based on described information;
Accordingly, described in transfer data to server, complete back-up processing at described server, comprising:
Send data to described server according to user operation, complete back-up processing at described server.
So, under the condition of storage space alleviating described electronic equipment, ensure that the right to know of user, add the sense of participation of user, here, those skilled in the art can understand, in actual applications, whether the above-mentioned process carrying out backing up based on user operation exists can be user preset, that is, user can specifically be set to need to determine whether to back up according to user operation, can also specifically be set to need not determine whether to back up according to user operation, also namely after connecting with server, described electronic equipment backs up different data according to different backup policy automatically, so, enable user that the backup mode of oneself is set flexibly, expand the experience of user.
In another specific embodiment, first data described in described electronic equipment pre-acquiring, now, described electronic equipment can obtain described first data from the described storage unit of this locality, yet can obtain described first data from described server, so, enrich the obtain manner of described first data, even if when described electronic equipment cisco unity malfunction, user also can be made to get described first data.In like manner, described second data also can get from described server, repeat no more herein.
Like this, on the one hand, data message in storage unit is classified according to the access frequency of user by the embodiment of the present invention, namely be divided into the first data and the second data, and then different backup policy is taked to different data, namely adopt the first strategy to carry out back-up processing to described first data, the second strategy is adopted to carry out back-up processing to described second data, realize the differential-backup of data, to complete backup procedure targetedly, improve Consumer's Experience; On the other hand, because above-mentioned backup procedure is without the need to user operation, that is manually carry out backup procedure without the need to user, therefore, alleviate the operation burden of user, improve Consumer's Experience further.
Embodiment three
Based on the control method described in embodiment two, for guaranteeing that the first data in described server are identical with the data in the storage unit of described electronic equipment, as shown in Figure 3, described method also comprises:
Step 301: judge that whether the first data in current described storage unit are identical with the first data in described server;
Step 302: when the first data that judged result characterizes in current described storage unit are not identical with the first data in described server, upgrade the first data in described server, to make the first data in described server identical with the first data in current described storage unit.
The first data that this ensures that, in described server are identical with the data in described storage unit, particularly, when described first data are dsc data, the embodiment of the present invention has ensured the backup procedure of dsc data, reduces the problem that dsc data is lost, improves Consumer's Experience.
Embodiment four
Fig. 4 is the structural representation one of embodiment of the present invention electronic equipment; Storage unit is provided with in described electronic equipment; As shown in Figure 4, described electronic equipment comprises:
Acquiring unit 41, for obtaining stored in the data message in described storage unit;
Detecting unit 42, for detecting in predetermined time interval user to the access frequency of described data message;
Processing unit 43, for based on described access frequency, is divided into the first data and the second data by described data message; Described first data are used for the data that the access frequency of characterizing consumer is greater than first threshold; Described second data are used for the data that the access frequency of characterizing consumer is less than or equal to described first threshold;
Control module 44, for adopting the first strategy to carry out back-up processing to described first data, adopts the second strategy to carry out back-up processing to described second data.
In the present embodiment, described control module 44, also for controlling described storage unit and server connects, transferring data to server, completing back-up processing at described server.
In the present embodiment, described control module 44, also for adopting the first strategy by described first data syn-chronization to described server, to carry out back-up processing to described first data; Adopt the second strategy by described second data syn-chronization to described server, to carry out back-up processing to described second data.
In the present embodiment, described control module 44, also for carrying out back-up processing according to very first time interval to described first data, carries out back-up processing according to second time interval to described second data; Described very first time interval is different from described second time interval.
In the present embodiment, described acquiring unit 41, also for obtaining described first data from described server.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned control method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the mimic channel of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
Embodiment five
Fig. 5 is the structural representation two of embodiment of the present invention electronic equipment; Storage unit is provided with in described electronic equipment; As shown in Figure 5, described electronic equipment comprises:
Acquiring unit 41, for obtaining stored in the data message in described storage unit;
Detecting unit 42, for detecting in predetermined time interval user to the access frequency of described data message;
Processing unit 43, for based on described access frequency, is divided into the first data and the second data by described data message; Described first data are used for the data that the access frequency of characterizing consumer is greater than first threshold; Described second data are used for the data that the access frequency of characterizing consumer is less than or equal to described first threshold;
Control module 44, for adopting the first strategy to carry out back-up processing to described first data, adopts the second strategy to carry out back-up processing to described second data.
In the present embodiment, described control module 44, also for controlling described storage unit and server connects, transferring data to server, completing back-up processing at described server.
In the present embodiment, described control module 44, also for adopting the first strategy by described first data syn-chronization to described server, to carry out back-up processing to described first data; Adopt the second strategy by described second data syn-chronization to described server, to carry out back-up processing to described second data.
In the present embodiment, described control module 44, also for carrying out back-up processing according to very first time interval to described first data, carries out back-up processing according to second time interval to described second data; Described very first time interval is different from described second time interval.
In the present embodiment, described acquiring unit 41, also for obtaining described first data from described server.
In the present embodiment, described electronic equipment also comprises:
Whether judging unit 45 is identical with the first data in described server for judging the first data in current described storage unit;
Adjustment unit 46, for when the first data in the current described storage unit of judged result sign are not identical with the first data in described server, upgrade the first data in described server, to make the first data in described server identical with the first data in current described storage unit.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned control method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the mimic channel of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing unit, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, ROM (read-only memory) (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: movable storage device, ROM (read-only memory) (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.