Summary of the invention
In order to solve the problem of above-mentioned technology, the embodiment of the invention provides a kind of method and apparatus that the terminal operating system desktop contents is set, to improve the efficient that desktop contents is arranged.Described technical scheme is as follows:
On the one hand, provide a kind of method that the terminal operating system desktop contents is set, described method comprises:
Receive desktop contents request is set;
According to described desktop contents request is set, obtains desktop contents information;
Desktop contents information according to obtaining arranges desktop contents.
Preferably, described desktop contents information comprises application identities, and the desktop contents information that described basis is obtained arranges desktop contents, comprising:
The application program of not installing in this locality in the described application identities corresponding application program is installed;
With the shortcut setting of described application identities corresponding application program on the table.
Preferably, the desktop contents information that described basis is obtained arranges desktop contents, also comprises:
Determine this locality installed and described application identities corresponding application program in the application program that do not comprise;
The shortcut of the application program determined is moved in the default page of desktop, perhaps with the application program deletion of determining.
Preferably, described desktop contents information also comprises the display position corresponding with each application identities;
Described shortcut setting with described application identities corresponding application program on the table, for: the shortcut of described application identities corresponding application program is arranged on the display position corresponding with described application identities in the desktop.
Preferably, described desktop contents information also comprises widget widget sign and the display position corresponding with each widget sign;
The desktop contents information that described basis is obtained arranges desktop contents, also comprises:
Set up the widget that does not set up in this locality among the corresponding widget of described widget sign, and the corresponding widget of described widget sign is arranged on the display position corresponding with described widget sign in the described desktop.
Preferably, the desktop contents information that described basis is obtained arranges desktop contents, also comprises:
Determine the widget that in the widget that has installed this locality and described widget sign is corresponding, do not comprise, and with the widget deletion of determining.
Preferably, described desktop contents information also comprises desktop layouts information;
Before the described shortcut setting on the table with described application identities corresponding application program, also comprise: according to described desktop layouts information, line number and the columns of figure mark in the desktop arranged.
Preferably, described desktop contents information also comprises subject identification;
The desktop contents information that described basis is obtained arranges desktop contents, also comprises: if the local system's theme that uses is not system's theme of described subject identification correspondence, then download and activate system's theme of described subject identification correspondence.
Preferably, described desktop contents information also comprises desktop number of pages information;
The desktop contents information that described basis is obtained arranges desktop contents, also comprises: according to described desktop number of pages information, the number of pages of described desktop is arranged.
Preferably, described reception desktop contents arranges before the request, also comprises:
Application identities and display position according to the shortcut correspondence that comprises in the desktop, and the widget of the widget correspondence that comprises in desktop sign and display position, and desktop layouts information, the subject identification of system's theme, desktop number of pages information, generate described desktop contents information.
Preferably, the described desktop contents information of described generation comprises: the two-dimension code that generates the described desktop contents information of record;
The described desktop contents information of obtaining comprises: obtain described desktop contents information from described two-dimension code.
On the other hand, provide a kind of device that the terminal operating system desktop contents is set, described device comprises:
Receiver module is used for receiving desktop contents request is set;
Acquisition module is used for according to described desktop contents request being set, and obtains desktop contents information;
Module is set, is used for according to the desktop contents information of obtaining desktop contents being arranged.
Preferably, described desktop contents information comprises application identities;
The described module that arranges is used for: the application program that described application identities corresponding application program is not installed in this locality is installed;
With the shortcut setting of described application identities corresponding application program on the table.
Preferably, the described module that arranges also is used for:
Determine this locality installed and described application identities corresponding application program in the application program that do not comprise;
The shortcut of the application program determined is moved in the default page of desktop, perhaps with the application program deletion of determining.
Preferably, described desktop contents information also comprises the display position corresponding with each application identities;
The described module that arranges is used for: the shortcut of described application identities corresponding application program is arranged on the desktop display position corresponding with described application identities.
Preferably, described desktop contents information also comprises widget widget sign and the display position corresponding with each widget sign;
The described module that arranges also is used for:
Set up the widget that does not set up in this locality among the corresponding widget of described widget sign, and the corresponding widget of described widget sign is arranged on the display position corresponding with described widget sign in the described desktop.
Preferably, the described module that arranges also is used for:
Determine the widget that in the widget that has installed this locality and described widget sign is corresponding, do not comprise, and with the widget deletion of determining.
Preferably, described desktop contents information also comprises desktop layouts information;
The described module that arranges also is used for: according to described desktop layouts information, line number and the columns of figure mark in the desktop arranged.
Preferably, described desktop contents information also comprises subject identification;
The described module that arranges also is used for: if the local system's theme that uses is not system's theme of described subject identification correspondence, then download and activate system's theme of described subject identification correspondence.
Preferably, described desktop contents information also comprises desktop number of pages information;
The described module that arranges also is used for: according to described desktop number of pages information, the number of pages of described desktop is arranged.
Preferably, also comprise generation module, be used for:
Application identities and display position according to the shortcut correspondence that comprises in the desktop, and the widget of the widget correspondence that comprises in desktop sign and display position, and desktop layouts information, the subject identification of system's theme, desktop number of pages information, generate described desktop contents information.
Preferably, described generation module is used for: the two-dimension code that generates the described desktop contents information of record;
Described acquisition module is used for: obtain described desktop contents information from described two-dimension code.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
In the embodiment of the invention, obtain desktop contents information, according to the desktop contents information of obtaining, desktop contents is arranged, like this, can arrange desktop contents according to desktop contents information, thereby need not to adopt manual mode that desktop contents is arranged, can improve the efficient that desktop contents is arranged.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
The embodiment of the invention provides a kind of method that the terminal operating system desktop contents is set, and as shown in Figure 1, the treatment scheme of this method can comprise following step:
Step 101 receives desktop contents request is set.
Step 102 arranges request according to desktop contents, obtains desktop contents information.
Step 103, the desktop contents information according to obtaining arranges desktop contents.
In the embodiment of the invention, obtain desktop contents information, according to the desktop contents information of obtaining, desktop contents is arranged, like this, can arrange desktop contents according to desktop contents information, thereby need not to adopt manual mode that desktop contents is arranged, can improve the efficient that desktop contents is arranged.
Embodiment two
The embodiment of the invention provides a kind of method that the terminal operating system desktop contents is set, and the executive agent of this method can be the processor of terminal (as portable terminals such as mobile phone, panel computers).Below in conjunction with concrete embodiment treatment scheme shown in Figure 1 is explained in detail, content can be as follows.
Step 101 receives desktop contents request is set.
The application program that arranges for desktop contents can be installed on terminal, can comprise in the interface of this application program that desktop contents arranges the setting up procedure that button (or claiming the desktop contents recovery button) is used for triggering desktop contents, the selection window that can comprise the desktop contents packets of information in the interface of this application program, be used for selecting to carry out the desktop contents packets of information that desktop contents arranges, can comprise different desktop contents information (content of desktop contents information can be elaborated in the content below) in each desktop contents packets of information.The user is after selected desktop contents packets of information, can click desktop contents button is set, at this moment will trigger application program generates and sends desktop contents request is set, this desktop contents arranges the desktop contents information that can carry in the request in the selected desktop contents packets of information, perhaps can carry this desktop contents information corresponding identification.
Step 102 arranges request according to desktop contents, obtains desktop contents information, and desktop contents information comprises application identities at least.If it is desktop contents information that desktop contents arranges what carry in the request, can directly obtain desktop contents so in this step the desktop contents information of carrying in the request is set, if it is the sign of desktop contents information that desktop contents arranges what carry in the request, can obtain the corresponding desktop contents information of this sign so in this step, if the corresponding desktop contents information of this sign is stored on the terminal, then can obtain from terminal this locality, if be stored in network side, then can obtain by network.
Wherein, desktop contents information comprises application identities at least, can comprise one or more application identities, and this application identities is the application identities of the shortcut correspondence that need arrange in desktop.Except application identities, can also comprise a kind of or combination in any in the following information in the desktop contents information: the display position of each application identities correspondence, the widget(widget) sign and the display position corresponding with each widget sign, desktop layouts information, the subject identification of system's theme, desktop number of pages information etc.
Desktop layouts information can be used for line number and the columns of record desktop figure mark, and the figure mark can be the shared desktop display space of the icon of a shortcut.For example, the figure mark has 5 row, 4 row, and then every row comprises that 4 every row of figure mark comprise 5 figure marks in every page of desktop.Desktop layouts information can Use Defaults, and is 5 and 4 as line number and the columns of figure mark, also can arrange according to demand.
The display position of application identities correspondence is the figure mark of the shortcut of display application sign corresponding application program, this display position can be the combination of a page sign, line identifier and row sign, for example, the page or leaf sign of certain display position, line identifier, row sign are respectively 3,2,1, and the display position of so corresponding shortcut is the figure mark of the 3rd page of second row first row.
Widget is shortcut function button or the function of application interface that arranges on the table, for example Bluetooth function switch, silence switch, music player mini(are miniature) interface, calendar display interface etc., widget can take the one or more figure marks in the desktop.For the widget that takies a figure mark, the corresponding display position of widget sign can comprise page or leaf sign, line identifier and the row sign of this figure mark; For the widget that takies a plurality of figure marks, the corresponding display position of widget sign can comprise the page or leaf sign of widget and the line identifier that begins figure mark (as upper left corner figure mark) and finish icon position (as lower right corner figure mark), the row sign of widget.
System's theme is the set with certain display effect of unifying style, sound effect etc. that system presents to the user, can comprise picture, desktop wallpaper, the switching on and shutting down music used as shortcut, click animation after the shortcut and audio etc.
Desktop contents information can be to generate and store before the treatment scheme of desktop contents is set, also namely before the reception desktop contents arranges request, can also comprise the processing of following generation desktop contents information: according to application identities and the display position of the shortcut correspondence that comprises in the desktop, and the widget of the widget correspondence that comprises in desktop sign and display position, and desktop layouts information, the subject identification of system's theme, desktop number of pages information, generate desktop contents information.The terminal that generates desktop contents information can be to carry out the above-mentioned terminal that the treatment scheme of desktop contents is set, for example, certain cellphone subscriber had carried out the desktop contents backup earlier before the brush system, namely generate desktop contents information, and preserve, after the brush system, carry out the setting (desktop contents is recovered) of desktop contents according to the desktop contents information of preserving then.The terminal that generates desktop contents information also can not be to carry out the above-mentioned terminal that the treatment scheme of desktop contents is set, for example, certain user's first is carried out the desktop contents backup in own mobile phone, namely generate desktop contents information, then desktop contents information is uploaded in the network, other users can download to this desktop contents information on its mobile phone, carry out the setting of desktop contents according to this desktop contents information, other users then can copy to the desktop contents of user's first mobile phone on the mobile phone of oneself like this.
Preferably, the process of above-mentioned generation desktop contents information can be the two-dimension code that generates this desktop contents information of record.Obtaining the process of desktop contents information in the step 102, can be the desktop contents information of obtaining from this two-dimension code.Two-dimension code can be the form carrying by two-dimension code image.At first, desktop contents information is encoded into binary code according to the two-dimension code coding rule; Then, binary code is arranged in square matrix line by line; At last, according to the black and white rule of correspondence (0 corresponding white, 1 corresponding black), square matrix is converted to two-dimension code image.In addition, desktop contents information also can be by the file storage of certain predefined format, for example text of self-defined suffix (as " .xxct " suffix).
Interface in the above-mentioned application program that arranges for desktop contents can also comprise that the desktop contents save button is used for triggering the processing that generates desktop contents information.
Step 103, the desktop contents information according to obtaining arranges desktop contents.
For the situation that comprises application identities in the desktop contents information of obtaining, the implementation of step 103 can be: the application program of not installing in this locality in the application identities corresponding application program is installed; With the shortcut setting of application identities corresponding application program on the table.
During this is handled, when set up applications, if the local installation procedure that stores this application program then can directly be installed this application program, if the installation procedure of this application program is not stored in this locality, then can download corresponding installation procedure earlier and install again.In addition, for the application program of having installed in this locality in the application identities corresponding application program, can not carry out installation process.Preferably, can also carry out: determine this locality installed and the application identities corresponding application program in the application program that do not comprise; The shortcut of the application program determined is moved in the default page (as last page of desktop) of desktop, perhaps with the application program deletion of determining.For above-mentioned deletion or the processing mode of not deleting, can show the inquiry window in terminal, which kind of processing mode the request user selects to use, and carries out respective handling according to user's selection.
For the situation that also comprises the display position corresponding with each application identities in the desktop contents information of obtaining, above-mentioned shortcut setting implementation on the table with the application identities corresponding application program can be: the shortcut of application identities corresponding application program is arranged on the display position corresponding with this application identities in the desktop.Like this, if desktop contents information record is the original desktop contents of current terminal, or record is the desktop contents of other terminal, so, by above-mentioned processing, can be in each shortcut in the front desktop original desktop contents of reproduction or other terminal desktop content and the position at place thereof.
For the situation that also comprises widget sign and the display position corresponding with each widget sign in the desktop contents information of obtaining, the processing of step 103 can also comprise: set up the widget that does not set up in this locality among the corresponding widget of widget sign, and the corresponding widget of widget sign is arranged on the display position corresponding with this widget sign in the desktop.Widget for having set up in this locality among the corresponding widget of widget sign can not carry out the process of setting up widget.
Preferably, can also carry out: determine the widget that in the widget that has installed this locality and widget sign is corresponding, do not comprise, and with the widget deletion of determining.Certainly for this widget that determines, also can be according to handling with the similar method of said method, show the inquiry window in terminal, the request user selects processing mode, and according to user's selection widget is deleted, or widget is moved in the default page (as last page of desktop) of desktop.
For the situation that also comprises desktop layouts information in the desktop contents information of obtaining, before above-mentioned shortcut setting on the table with the application identities corresponding application program, can also be according to desktop layouts information, line number and the columns of figure mark in the desktop arranged.This processing, mainly be or not the situation of fixed value at desktop layouts information, for example, the line number of record desk-top picture mark and columns are 6 row, 5 row in the desktop layouts information, and the line number of current local desk-top picture mark and columns are 5 row, 4 row, so, at this moment can carry out above-mentioned processing, by desktop layouts information desktop layouts be arranged earlier, line number and the columns of figure mark in the desktop namely is set, then, corresponding shortcut, widget etc. are set on the table again.
For the situation that also comprises subject identification in the desktop contents information of obtaining, the processing of step 103 can also comprise: if the local system's theme that uses is not system's theme of this subject identification correspondence, then download and activate system's theme of this subject identification correspondence.Can in the theme shop, download corresponding theme bag according to subject identification, then at local activation, use the system's theme in the theme bag.
For the situation that also comprises desktop number of pages information in the desktop contents information of obtaining, the processing of step 103 can also comprise: according to desktop number of pages information, the number of pages of desktop is arranged.Preferably, if equal the number of pages that records in the desktop number of pages information when the number of pages of front desktop, can the number of pages of desktop not made amendment; If work as the number of pages of front desktop less than the number of pages that records in the desktop number of pages information, the number of pages of desktop can be increased to the number of pages that records in the desktop number of pages information; If when the number of pages of front desktop surpasses the number of pages that records in the desktop number of pages information, can above-mentioned shortcut is set on the table and the operation of widget is set after, the blank page in the page that exceeds part is deleted.
In the embodiment of the invention, obtain desktop contents information, desktop contents information comprises application identities at least, according to the desktop contents information of obtaining, desktop contents is arranged, like this, can arrange according to the shortcut of the application identities in the desktop contents information to the application program in the desktop contents, thereby need not to adopt manual mode that desktop contents is arranged, can improve the efficient that desktop contents is arranged.
Embodiment three
Below in conjunction with the application scenarios of mobile phone brush system, the method that the terminal operating system desktop contents is set that the embodiment of the invention is provided is described in detail, and as shown in Figure 2, treatment scheme can comprise the steps:
Step 201, application identities and display position according to the shortcut correspondence that comprises in the desktop, and the widget of the widget correspondence that comprises in desktop sign and display position, and desktop layouts information, the subject identification of system's theme, desktop number of pages information, generate the file of desktop contents information, and the file of this desktop contents information is uploaded to destination server.Be that example describes with the upload server just in the present embodiment, the file of desktop contents information can also store in other memory device predetermined or user's appointment.The process that generates the file of desktop contents information can be by the corresponding application triggers of operation, and process can be with reference to top embodiment.
Step 202, the processing that executive system is reset (namely to this mobile phone brush system).
Step 203 is downloaded the file of above-mentioned desktop contents information from destination server.
Step 204 receives desktop contents request is set, and this desktop contents arranges to carry in the request and obtain desktop contents information from this document.Desktop contents information comprises: the display position of application identities and each application identities correspondence, widget sign and the display position corresponding with each widget sign, desktop layouts information, the subject identification of system's theme, desktop number of pages information.This desktop contents arranges request can be by the above-mentioned application triggers of operation, and process can be with reference to top embodiment.
Step 205 is obtained desktop contents the desktop contents information of carrying in the request is set.
Step 206, the desktop contents information according to obtaining arranges desktop contents.Corresponding processing procedure can be with reference to the particular content of step 103 among the top embodiment.
The application scenarios of sharing the terminal operating system desktop contents below in conjunction with the cellphone subscriber, the method that desktop contents is set that the embodiment of the invention is provided is described in detail, in this application scenarios, the user of terminal A shares its desktop contents, the user of terminal B has copied to the desktop contents of terminal A among the terminal B, and processing procedure can be as follows:
The processing that terminal A carries out is: according to application identities and the display position of the shortcut correspondence that comprises in the desktop, and the widget of the widget correspondence that comprises in desktop sign and display position, and desktop layouts information, the subject identification of system's theme, desktop number of pages information, generate the file of desktop contents information, and the file of this desktop contents information is uploaded to destination server.
The processing that terminal B carries out is: the file of downloading above-mentioned desktop contents information from destination server; Receive desktop contents request is set, this desktop contents arranges to carry in the request and obtain desktop contents information from this document; Obtain desktop contents the desktop contents information of carrying in the request is set; Desktop contents information according to obtaining arranges desktop contents.Corresponding processing procedure can be with reference to top embodiment.
In the embodiment of the invention, obtain desktop contents information, according to the desktop contents information of obtaining, desktop contents is arranged, like this, can arrange desktop contents according to desktop contents information, thereby need not to adopt manual mode that desktop contents is arranged, can improve the efficient that desktop contents is arranged.
Embodiment four
Based on identical technical conceive, the embodiment of the invention provides a kind of device that the terminal operating system desktop contents is set, and as shown in Figure 3, described device comprises:
Receiver module 310 is used for receiving desktop contents request is set;
Acquisition module 320 is used for according to described desktop contents request being set, and obtains desktop contents information;
Module 330 is set, is used for according to the desktop contents information of obtaining desktop contents being arranged.
Preferably, described desktop contents information comprises application identities;
The described module 330 that arranges is used for: the application program that described application identities corresponding application program is not installed in this locality is installed;
With the shortcut setting of described application identities corresponding application program on the table.
Preferably, the described module 330 that arranges also is used for:
Determine this locality installed and described application identities corresponding application program in the application program that do not comprise;
The shortcut of the application program determined is moved in the default page of desktop, perhaps with the application program deletion of determining.
Preferably, described desktop contents information also comprises the display position corresponding with each application identities;
The described module 330 that arranges is used for: the shortcut of described application identities corresponding application program is arranged on the desktop display position corresponding with described application identities.
Preferably, described desktop contents information also comprises widget widget sign and the display position corresponding with each widget sign;
The described module 330 that arranges also is used for:
Set up the widget that does not set up in this locality among the corresponding widget of described widget sign, and the corresponding widget of described widget sign is arranged on the display position corresponding with described widget sign in the described desktop.
Preferably, the described module 330 that arranges also is used for:
Determine the widget that in the widget that has installed this locality and described widget sign is corresponding, do not comprise, and with the widget deletion of determining.
Preferably, described desktop contents information also comprises desktop layouts information;
The described module 330 that arranges also is used for: according to described desktop layouts information, line number and the columns of figure mark in the desktop arranged.
Preferably, described desktop contents information also comprises subject identification;
The described module 330 that arranges also is used for: if the local system's theme that uses is not system's theme of described subject identification correspondence, then download and activate system's theme of described subject identification correspondence.
Preferably, described desktop contents information also comprises desktop number of pages information;
The described module 330 that arranges also is used for: according to described desktop number of pages information, the number of pages of described desktop is arranged.
Preferably, also comprise generation module, be used for:
Application identities and display position according to the shortcut correspondence that comprises in the desktop, and the widget of the widget correspondence that comprises in desktop sign and display position, and desktop layouts information, the subject identification of system's theme, desktop number of pages information, generate described desktop contents information.
Preferably, described generation module is used for: the two-dimension code that generates the described desktop contents information of record;
Described acquisition module 320 is used for: obtain described desktop contents information from described two-dimension code.
In the embodiment of the invention, obtain desktop contents information, according to the desktop contents information of obtaining, desktop contents is arranged, like this, can arrange desktop contents according to desktop contents information, thereby need not to adopt manual mode that desktop contents is arranged, can improve the efficient that desktop contents is arranged.
Need to prove: the device that the terminal operating system desktop contents is set that above-described embodiment provides is when arranging desktop contents, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure that is about to device is divided into different functional modules, to finish all or part of function described above.In addition, the device that the terminal operating system desktop contents is set that above-described embodiment provides belongs to same design with the method embodiment that the terminal operating system desktop contents is set, and its specific implementation process sees method embodiment for details, repeats no more here.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.