A kind of cloud desktop self-care system based on user's habit
Technical field
The invention belongs to the self-service management domains of cloud desktop, more particularly to a kind of self-service pipe of cloud desktop based on user's habit
Reason system.
Background technique
Cloud desktop is based on distinctive communication protocol, is distributed to operator by desktop or using redirecting by cloud terminal.Cloud
For terminal as the carrier for realizing cloud desktop, function is that the desktop in cloud is presented on to front end, and main function is display cloud
Desktop and terminal input-output data is redirected on cloud server;Cloud terminal right hardware has cloud terminal, plate, hand
Machine, laptop, PC host computer.
But it is current, cloud desktop is usually after user creates several using desktop, due to need of work, cloud desktop number
Amount is relatively more, automatically switches between multiple desktops also just at a bigger trouble, user needed for searching one by one
Cloud desktop can compare expend the time;Therefore user's habit can be monitored by lacking one kind, and is accustomed to according to user in not same date
Different time sections recommend different desktops, facilitate user to switch in time.In order to realize this technical concept, it is proposed that a kind of solution
Certainly scheme.
Summary of the invention
The purpose of the present invention is to provide a kind of cloud desktop self-care systems based on user's habit.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
A kind of cloud desktop self-care system based on user's habit, including inertia logging modle, data naturalization unit, number
According to amending unit, cloud processing module, memory module, display unit, desktop control module, rule base and desktop editing module;
Wherein, cloud desktop of the desktop editing module for using needed for editor user, all cloud desktop compositions are stand-by
Cloud desktop is using combination, and the desktop editing module is used for cloud desktop using combination of transmitted to cloud processing module, at the cloud
Module is managed to be used to cloud desktop the use of composite marking be Zi, i=1...n;The cloud processing module is used to desktop using combination
Zi is transferred to memory module and is stored;
The inertia logging modle is used for the desktop use habit of real-time monitoring user, and as user uses different clouds in real time
The habit of desktop records, and forms usage record information, the usage record information include using cloud desktop and corresponding make
It the use of temporal information is using at the beginning of any cloud desktop and the end time with temporal information;
The inertia logging modle is used to usage record information being transferred to data naturalization unit, the data naturalization unit
Enter the data accumulation stage in initial use, the data accumulation stage is X1 days;The data naturalization unit is in data accumulation rank
Naturalization is carried out to usage record information automatically after the completion of section to handle to obtain unusual date and normal date;The tool of the naturalization processing
Steps are as follows for body:
Step 1: it gets cloud desktop in usage record information and its corresponding uses temporal information;
Step 2: criteria for classifying period, specific division mode are as follows:
S1: with a hour of single number of days for a period;
S2: it will be divided into 24 standard time sections daily;
Step 3: standard time section, optional standard time section are got;Unusual analysis is carried out to standard time section,
Specific steps are as follows:
S1: optional cloud desktop;
S2: getting the data accumulation stage is located in standard time section, the cloud desktop it is daily use duration information;It will
Tsj, j=1...X1 are labeled as using duration information;
S3: being calculated the average value using duration information Tsj, which is labeled as Tp;
S4: formula is utilizedAcquire the stationary value W using duration information;
S5: getting Tsj when j=1, and Ts1 data are removed, and obtains residue and uses duration Tsj, j=2...X1;It seeks
The average value is labeled as Tp1 by the average value of remaining Tsj;
S6: formula is utilizedIt seeks obtaining remaining stationary value Ws1;
S7: enabling j=j+1, removes corresponding Tsj, repeats step S5-S6;Obtain corresponding remaining stationary value;
S8: step S7 is repeated until j=X1;Obtain X1 remaining stationary value Wsj, j=1...X1;Wsj and Tsj mono- are a pair of
It answers;
S9: steady difference Czj, j=1...X1 is calculated using formula Czj=W-Wsj;Czj and Wsj, Tsj are one
One is corresponding
S10: being labeled as unusual duration more than or equal to the corresponding Tsj of value of X2 for steady difference Czj, gets all anti-
The corresponding date information of Chang Shichang gets the number for the unusual duration that this month data accumulation stage corresponding date information occurs
Information, and the number information is labeled as unusual number, unusual number includes corresponding unusual duration number information and corresponding day
Phase information;As monthly there is unusual duration several times corresponding some day;
S11: optional next cloud desktop repeats step S2-S11 and gets the corresponding unusual number of all cloud desktops;
Step 4: optionally next standard time section repeats step 3 until getting the abnormality time of all standard time sections
Number;
Step 5: analyzing unusual number, will occur unusual duration number information on the day of same date information and is greater than
The correspondence date information of preset value is labeled as the unusual date;Remaining date information is labeled as the normal date;
The data naturalization unit be used for by the unusual date, the normal date, cloud desktop and its it is corresponding use temporal information
It is transferred to cloud processing module;
The cloud processing module be used for the unusual date, the normal date, cloud desktop and its it is corresponding using temporal information into
It exercises and obtains normal recommended table-top model and unusual recommendation table-top model with analysis;
The cloud processing module is used to normal recommended table-top model and unusual recommendation table-top model being transferred to rule base;
The rule base receives the normal recommended table-top model of cloud processing module transmission and abnormality is recommended table-top model and deposited
Storage;The rule base is also stored with cloud desktop switching law;
The desktop control module is used to carry out desktop recommendation step, tool according to the desktop switching law stored in rule base
Steps are as follows for body:
Step 1: the date information on the same day is got;
Step 2: when the date information on the day of is in the unusual date, then unusual recommendation table-top model is obtained;
The cloud DESKTOP INFORMATION that unusual date and each standard time section of corresponding unusual date are recommended to use
Step 3: obtaining the period instantly, and gets the section of standard time locating for the period, gets the standard
The cloud DESKTOP INFORMATION of period being recommended to use;
Step 4: by the cloud DESKTOP INFORMATION labeled as recommendation switching desktop;
Step 5: when the date information on the day of is in the normal date, then normal recommended table-top model is obtained;
Step 6: according to the principle of step 3 to step 4, the recommendation switching desktop of period instantly is got;
The desktop control module will be for that will recommend switching desktop to be transferred to display unit.
Further, steps are as follows for the concrete analysis using analysis:
S100: the cloud desktop on all normal dates and its corresponding using temporal information is got;
S200: the standard time section in naturalization processing step is got;
S300: optional standard time section;
S400: calculating the data accumulation stage, and each cloud desktop of standard time section is corresponding averagely to use duration Pi, i
=1...n;Pi and Zi is corresponded;
S500: being the recommendation desktop of standard time section by the maximum corresponding cloud desktop label of Pi value;
S600: optionally next standard time section repeats step S400-S600, obtains the recommendation table of all standard time sections
Face, forms normal recommended table-top model, which includes normal date and corresponding normal each standard time on date
The cloud DESKTOP INFORMATION that section is recommended to use;
S700: it gets the cloud desktop on all unusual dates and its corresponding uses temporal information;
S800: referring to the principle of step S200-S600, unusual recommendation table-top model is acquired, abnormality recommends desktop mould
Type includes unusual date and the cloud DESKTOP INFORMATION that each standard time section of corresponding unusual date is recommended to use.
Further, the data correction unit can persistently obtain use by inertia logging modle after the data accumulation stage
The usage record information at family, and the usage record information of user is transferred to data naturalization unit and carries out naturalization processing.
Further, the display unit receives the recommendation switching desktop of desktop control module transmission and shows that " recommendation makes
Whether switched with+recommending switching DESKTOP INFORMATION+";And recommendation switching desktop is automatically switched to after user's confirmation, it otherwise maintains to work as
Front desktop.
The invention has the following advantages:
The present invention is able to record that user uses different cloud desktops, shape in different time sections every time by inertia logging modle
At usage record information, naturalization processing is carried out to usage record information by data naturalization unit later, user is obtained and used
Unusual date and normal date in journey;It is directed to unusual date and normal date using cloud processing module later, respectively according to phase
It closes rule and forms corresponding unusual desktop recommended models and normal desktop recommended models;The correlation stored in rule base is utilized later
Rule, and using desktop control module obtain period instantly and with unusual desktop recommended models and normal desktop recommended models
Compare, obtain instantly should recommended user which kind of cloud desktop switched, if recommend cloud desktop be user's cloud table currently in use
Do not recommend then to switch in face;Otherwise recommended user switches, and independently chooses whether to switch over by user;It is repaired simultaneously using data
Positive unit carries out following acquisitions to the use habit of user after the data accumulation stage, in real time adjustment abnormality desktop recommended models and just
Normal desktop recommended models;As user is using the cumulative of duration, the recommendation of this system will increasingly meet user's habit, very
The cloud desktop to needed for reaching very recommended user;The present invention is simple and effective, and is easy to practical.
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is system block diagram of the 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 all other
Embodiment shall fall within the protection scope of the present invention.
Refering to Figure 1, a kind of cloud desktop self-care system based on user's habit, including inertia logging modle,
Data naturalization unit, data correction unit, cloud processing module, memory module, display unit, desktop control module, rule base and
Desktop editing module;
Wherein, cloud desktop of the desktop editing module for using needed for editor user, all cloud desktop compositions are stand-by
Cloud desktop is using combination, and the desktop editing module is used for cloud desktop using combination of transmitted to cloud processing module, at the cloud
Module is managed to be used to cloud desktop the use of composite marking be Zi, i=1...n;The cloud processing module is used to desktop using combination
Zi is transferred to memory module and is stored;
The inertia logging modle is used for the desktop use habit of real-time monitoring user, and as user uses different clouds in real time
The habit of desktop records, and forms usage record information, the usage record information include using cloud desktop and corresponding make
It the use of temporal information is using at the beginning of any cloud desktop and the end time with temporal information;
The inertia logging modle is used to usage record information being transferred to data naturalization unit, the data naturalization unit
Enter the data accumulation stage in initial use, the data accumulation stage is X1 days, and X1 is the number of days for initially using one month;In number
Usage record information is only collected according to data naturalization unit described in the accumulation stage;The data naturalization unit is complete in the data accumulation stage
Naturalization processing is carried out to usage record information automatically at rear, specific step is as follows for naturalization processing:
Step 1: it gets cloud desktop in usage record information and its corresponding uses temporal information;
Step 2: criteria for classifying period, specific division mode are as follows:
S1: with a hour of single number of days for a period;
S2: it will be divided into 24 standard time sections daily;
Step 3: standard time section, optional standard time section are got;Unusual analysis is carried out to standard time section,
Specific steps are as follows:
S1: optional cloud desktop;
S2: getting the data accumulation stage is located in standard time section, the cloud desktop it is daily use duration information;It will
Tsj, j=1...X1 are labeled as using duration information;
S3: being calculated the average value using duration information Tsj, which is labeled as Tp;
S4: formula is utilizedAcquire the stationary value W using duration information;
S5: getting Tsj when j=1, and Ts1 data are removed, and obtains residue and uses duration Tsj, j=2...X1;It seeks
The average value is labeled as Tp1 by the average value of remaining Tsj;
S6: formula is utilizedIt seeks obtaining remaining stationary value Ws1;
S7: enabling j=j+1, removes corresponding Tsj, repeats step S5-S6;Obtain corresponding remaining stationary value;
S8: step S7 is repeated until j=X1;Obtain X1 remaining stationary value Wsj, j=1...X1;Wsj and Tsj mono- are a pair of
It answers;
S9: steady difference Czj, j=1...X1 is calculated using formula Czj=W-Wsj;Czj and Wsj, Tsj are one
One is corresponding
S10: being labeled as unusual duration more than or equal to the corresponding Tsj of value of X2 for steady difference Czj, gets all anti-
The corresponding date information of Chang Shichang gets the number for the unusual duration that this month data accumulation stage corresponding date information occurs
Information, and the number information is labeled as unusual number, unusual number includes corresponding unusual duration number information and corresponding day
Phase information;As monthly there is unusual duration several times corresponding some day;
S11: optional next cloud desktop repeats step S2-S11 and gets the corresponding unusual number of all cloud desktops;
Step 4: optionally next standard time section repeats step 3 until getting the abnormality time of all standard time sections
Number;
Step 5: analyzing unusual number, will occur unusual duration number information on the day of same date information and is greater than
The correspondence date information of preset value is labeled as the unusual date, and the unusual date indicates that that day of data accumulation stage later monthly is equal
For the unusual date;Remaining date information is labeled as the normal date, normal date indicates that after the data accumulation stage monthly
One day is the normal date;
The data naturalization unit be used for by the unusual date, the normal date, cloud desktop and its it is corresponding use temporal information
It is transferred to cloud processing module;
The cloud processing module be used for the unusual date, the normal date, cloud desktop and its it is corresponding using temporal information into
It exercises with analyzing, steps are as follows for concrete analysis:
S100: the cloud desktop on all normal dates and its corresponding using temporal information is got;
S200: the standard time section in naturalization processing step is got;
S300: optional standard time section;
S400: calculating the data accumulation stage, and each cloud desktop of standard time section is corresponding averagely to use duration Pi, i
=1...n;Pi and Zi is corresponded;
S500: being the recommendation desktop of standard time section by the maximum corresponding cloud desktop label of Pi value;
S600: optionally next standard time section repeats step S400-S600, obtains the recommendation table of all standard time sections
Face, forms normal recommended table-top model, which includes normal date and corresponding normal each standard time on date
The cloud DESKTOP INFORMATION that section is recommended to use;
S700: it gets the cloud desktop on all unusual dates and its corresponding uses temporal information;
S800: referring to the principle of step S200-S600, unusual recommendation table-top model is acquired, abnormality recommends desktop mould
Type includes unusual date and the cloud DESKTOP INFORMATION that each standard time section of corresponding unusual date is recommended to use;
The cloud processing module is used to normal recommended table-top model and unusual recommendation table-top model being transferred to rule base;
The rule base receives the normal recommended table-top model of cloud processing module transmission and abnormality is recommended table-top model and deposited
Storage;The rule base is also stored with cloud desktop switching law;
The desktop control module is used to carry out desktop recommendation step, tool according to the desktop switching law stored in rule base
Steps are as follows for body:
Step 1: the date information on the same day is got;
Step 2: when the date information on the day of is in the unusual date, then unusual recommendation table-top model is obtained;
The cloud DESKTOP INFORMATION that unusual date and each standard time section of corresponding unusual date are recommended to use
Step 3: obtaining the period instantly, and gets the section of standard time locating for the period, gets the standard
The cloud DESKTOP INFORMATION of period being recommended to use;
Step 4: by the cloud DESKTOP INFORMATION labeled as recommendation switching desktop;
Step 5: when the date information on the day of is in the normal date, then normal recommended table-top model is obtained;
Step 6: according to the principle of step 3 to step 4, the recommendation switching desktop of period instantly is got;
For the desktop control module for switching desktop will to be recommended to be transferred to display unit, the display unit receives desktop
The recommendation switching desktop of control module transmission simultaneously shows " be recommended to use+recommend switching DESKTOP INFORMATION+whether switch ";And in user
Recommendation switching desktop is automatically switched to after confirmation, otherwise maintains current desktop;
The data correction unit can persistently obtain the use of user after the data accumulation stage by inertia logging modle
Information is recorded, and the usage record information of user is transferred to data naturalization unit and carries out naturalization processing.
A kind of cloud desktop self-care system based on user's habit, is able to record that user is each by inertia logging modle
Different cloud desktops is used in different time sections, usage record information is formed, later by data naturalization unit to usage record
Information carries out naturalization processing, obtains the unusual date and normal date in user's use process;Cloud processing module needle is utilized later
To unusual date and normal date, corresponding unusual desktop recommended models are formed according to dependency rule respectively and normal desktop is recommended
Model;Later using the dependency rule stored in rule base, and using desktop control module obtain the period instantly and with it is anti-
Normal desktop recommended models and normal desktop recommended models compare, obtain instantly should recommended user which kind of cloud desktop switched, if
The cloud desktop of recommendation is that user's cloud desktop currently in use is not recommended then to switch;Otherwise recommended user switches, and certainly by user
Master chooses whether to switch over;It is followed simultaneously using use habit of the data correction unit to user after the data accumulation stage
It obtains, adjusts unusual desktop recommended models and normal desktop recommended models in real time;As user is using the cumulative of duration, this is
The recommendation of system will increasingly meet user's habit, even up to very cloud desktop needed for recommended user;The present invention is simple
Effectively, and it is easy to practical.
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.There is no detailed for preferred embodiment
All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification,
It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to better explain the present invention
Principle and practical application, so that skilled artisan be enable to better understand and utilize the present invention.The present invention is only
It is limited by claims and its full scope and equivalent.