A kind of method and apparatus that terminal operating system desktop contents is set
Technical field
The present invention relates to field of computer technology, particularly to a kind of terminal operating system desktop contents of arranging
Method and apparatus.
Background technology
Along with the fast development of terminal technology, in terminal, the kind of application program is more and more various, and function is also got over
Come the abundantest.In the terminal of user, the quantity of set up applications is constantly increasing.In using, in terminal
Desktop on the icon of shortcut of the application program that terminal is installed can be set, in order to user can basis
Described shortcut operates with installed application program.
User, during using terminal, often relates to update terminal or to terminal be
System and the replacement (as mobile phone is carried out brush system) etc. of data, in the case of these, the application journey originally installed
Sequence may be deleted, desktop contents (shortcut etc. of the application program e.g., desktop arranged) originally
Also will be unable to retain.For this problem, the general method used is that original desktop is carried out desktop sectional drawing,
Then, in the terminal in the new terminal changed or after reset system, manual installation phase is carried out according to this desktop sectional drawing
The application program answered, and arrange accordingly, recover original desktop contents.
During realizing the present invention, inventor finds that above-mentioned technology at least there is problems in that
In above-mentioned technology, using the mode manually arranged, arrange desktop contents, whole processing procedure is excessively
Loaded down with trivial details, that desktop contents is configured inefficiency.
Summary of the invention
In order to solve the problem of above-mentioned technology, embodiments provide one and terminal operating system table is set
The method and apparatus of face content, efficiency desktop contents being configured with raising.Described technical scheme is as follows:
On the one hand, it is provided that a kind of method arranging terminal operating system desktop contents, described method includes:
Receive desktop contents and request is set;
Request is set according to described desktop contents, obtains desktop content information;
According to the desktop content information obtained, desktop contents is configured.
Preferably, described desktop content information includes application identities, described according to the desktop content information obtained,
Desktop contents is configured, including:
Install in the application program that described application identities is corresponding not at locally-installed application program;
The shortcut of application program corresponding for described application identities is arranged on the table.
Preferably, described according to the desktop content information obtained, desktop contents is configured, also includes:
Determine the application journey not included in the application program that this locality has been installed and described application identities is corresponding
Sequence;
The shortcut of the application program determined is moved to the default page of desktop, or will determine
Application program delete.
Preferably, described desktop content information also includes the display position corresponding with each application identities;
The described shortcut by application program corresponding for described application identities is arranged on the table, for: by institute
The shortcut stating application program corresponding to application identities is arranged in desktop show corresponding with described application identities
Show on position.
Preferably, described desktop content information also includes widget widget mark and identifies with each widget
Corresponding display position;
Described according to the desktop content information obtained, desktop contents is configured, also includes:
Set up in the widget that described widget mark is corresponding not at locally created widget, and by described
The widget of widget mark correspondence is arranged in described desktop the display position corresponding with described widget mark
On.
Preferably, described according to the desktop content information obtained, desktop contents is configured, also includes:
Determine the widget not included in the widget that this locality has been installed and described widget mark is corresponding,
And the widget determined is deleted.
Preferably, described desktop content information also includes desktop layouts information;
Described by before the shortcut setting on the table of application program corresponding for described application identities, also wrap
Include: according to described desktop layouts information, line number and the columns of figure mark in desktop are configured.
Preferably, described desktop content information also includes subject identification;
Described according to the desktop content information obtained, desktop contents is configured, also includes: if local
The system theme used is not the system theme that described subject identification is corresponding, then download and activate described theme mark
Know corresponding system theme.
Preferably, described desktop content information also includes desktop number of pages information;
Described according to the desktop content information obtained, desktop contents is configured, also includes: according to described
Desktop number of pages information, is configured the number of pages of described desktop.
Preferably, before described reception desktop contents arranges request, also include:
Application identities that the shortcut that includes according to desktop is corresponding and display position, and desktop includes
Corresponding for widget widget mark and display position, and the theme of desktop layouts information, system theme
Mark, desktop number of pages information, generate described desktop content information.
Preferably, the described desktop content information of described generation, including: generate and record described desktop content information
Quick Response Code;
Described acquisition desktop content information, including: from described Quick Response Code, obtain described desktop content information.
On the other hand, it is provided that a kind of device arranging terminal operating system desktop contents, described device includes:
Receiver module, is used for receiving desktop contents and arranges request;
Acquisition module, for arranging request according to described desktop contents, obtains desktop content information;
Module is set, for according to the desktop content information obtained, being configured desktop contents.
Preferably, described desktop content information includes application identities;
Described module is set, is used for: install in the application program that described application identities is corresponding and do not pacify in this locality
The application program of dress;
The shortcut of application program corresponding for described application identities is arranged on the table.
Preferably, described module is set, is additionally operable to:
Determine the application journey not included in the application program that this locality has been installed and described application identities is corresponding
Sequence;
The shortcut of the application program determined is moved to the default page of desktop, or will determine
Application program delete.
Preferably, described desktop content information also includes the display position corresponding with each application identities;
Described module is set, is used for: the shortcut of application program corresponding for described application identities is arranged on
On display position corresponding with described application identities in desktop.
Preferably, described desktop content information also includes widget widget mark and identifies with each widget
Corresponding display position;
Described module is set, is additionally operable to:
Set up in the widget that described widget mark is corresponding not at locally created widget, and by described
The widget of widget mark correspondence is arranged in described desktop the display position corresponding with described widget mark
On.
Preferably, described module is set, is additionally operable to:
Determine the widget not included in the widget that this locality has been installed and described widget mark is corresponding,
And the widget determined is deleted.
Preferably, described desktop content information also includes desktop layouts information;
Described module is set, is additionally operable to: according to described desktop layouts information, to the line number of figure mark in desktop
It is configured with columns.
Preferably, described desktop content information also includes subject identification;
Described module is set, is additionally operable to: if the local system theme used is not that described subject identification is corresponding
System theme, then download and activate the system theme that described subject identification is corresponding.
Preferably, described desktop content information also includes desktop number of pages information;
Described module is set, is additionally operable to: according to described desktop number of pages information, the number of pages of described desktop is carried out
Arrange.
Preferably, also include generation module, be used for:
Application identities that the shortcut that includes according to desktop is corresponding and display position, and desktop includes
Corresponding for widget widget mark and display position, and the theme of desktop layouts information, system theme
Mark, desktop number of pages information, generate described desktop content information.
Preferably, described generation module, it is used for: generate the Quick Response Code recording described desktop content information;
Described acquisition module, is used for: obtain described desktop content information from described Quick Response Code.
The technical scheme that the embodiment of the present invention provides has the benefit that
In the embodiment of the present invention, obtain desktop content information, according to the desktop content information obtained, to desktop
Content is configured, as such, it is possible to desktop contents is configured according to desktop content information, thus without
Use manual mode that desktop contents is configured, the efficiency that desktop contents is configured can be improved.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram arranging terminal operating system desktop contents that the embodiment of the present invention provides;
Fig. 2 is the method flow diagram arranging terminal operating system desktop contents that the embodiment of the present invention provides;
Fig. 3 is the apparatus structure schematic diagram arranging terminal operating system desktop contents that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Embodiment one
Embodiments provide a kind of method that terminal operating system desktop contents is set, as it is shown in figure 1,
The handling process of the method can comprise the following steps that
Step 101, receives desktop contents and arranges request.
Step 102, arranges request according to desktop contents, obtains desktop content information.
Step 103, according to the desktop content information obtained, is configured desktop contents.
In the embodiment of the present invention, obtain desktop content information, according to the desktop content information obtained, to desktop
Content is configured, as such, it is possible to desktop contents is configured according to desktop content information, thus without
Use manual mode that desktop contents is configured, the efficiency that desktop contents is configured can be improved.
Embodiment two
Embodiments provide a kind of method that terminal operating system desktop contents is set, holding of the method
Row main body can be the processor of terminal (such as the mobile terminal such as mobile phone, panel computer).Below in conjunction with tool
Handling process shown in Fig. 1 is explained in detail by the embodiment of body, and content can be as follows.
Step 101, receives desktop contents and arranges request.
Terminal can be installed the application program arranged for desktop contents, can in the interface of this application program
To include that desktop contents settings button (or claiming desktop contents recovery button) is for triggering the setting of desktop contents
Process, can include the selection window of desktop content information bag in the interface of this application program, be used for selecting into
The desktop content information bag that row desktop contents is arranged, can comprise different tables in each desktop content information bag
Face content information (content of desktop content information can be described in detail in following content).User is in choosing
After determining desktop content information bag, desktop contents settings button can be clicked on, at this moment will trigger application program raw
Becoming and send desktop contents and arrange request, this desktop contents arranges and can carry selected desktop contents in request
Desktop content information in information bag, or the mark that this desktop content information is corresponding can be carried.
Step 102, arranges request according to desktop contents, obtains desktop content information, and desktop content information is at least
Including application identities.If it is desktop content information that desktop contents arranges carry in request, then this step
In can directly obtain desktop contents the desktop content information carried in request is set, if desktop contents is arranged
Carry in request is the mark of desktop content information, then can obtain, in this step, the table that this mark is corresponding
Face content information, desktop content information corresponding to this mark if in terminal, then can from terminal this
Ground obtains, and if on network side, then can pass through Network Capture.
Wherein, desktop content information at least includes application identities, can include one or more application identities,
This application identities is to need the application identities that the shortcut of setting is corresponding in desktop.In addition to application identities,
Desktop content information can also include the one in following information or combination in any: each application identities is corresponding
Display position, widget(widget) identify and the display position corresponding with each widget mark, desktop
Layout information, the subject identification of system theme, desktop number of pages information etc..
Desktop layouts information may be used for recording line number and the columns of figure mark in desktop, and figure mark can be one
Desktop display space shared by the icon of individual shortcut.Such as, figure mark has 5 row 4 to arrange, then at table
In every page of face, often row includes that 4 figure mark each column include 5 figure marks.Desktop layouts information can use
Default value, line number and columns such as figure mark are 5 and 4, it is also possible to be configured according to demand.
Display position corresponding to application identities is the figure of the shortcut showing application program corresponding to application identities
Mark, this display position can be page mark, line identifier and the combination of row mark, and such as, certain shows position
Page mark, line identifier, row mark be respectively 3,2,1, then the display position of corresponding shortcut is
The figure mark of page 3 the second row first row.
Widget is the shortcut function button or function of application interface arranged on the table, such as bluetooth merit
Energy switch, silence switch, music player mini(are miniature) interface, calendar display interface etc., widget
The one or more figure marks in desktop can be taken.For taking the widget of a figure mark, widget
What mark was corresponding shows that position can include the page mark of this figure mark, line identifier and row mark;For taking
Display position corresponding to widget, the widget mark of multiple figure marks can include widget page mark and
Widget starts figure mark (such as upper left corner figure mark) and finish icon position (such as lower right corner figure mark)
Line identifier, row mark.
System theme is that system presents to having certain and unifying the display effect of style, sound effect etc. of user
Set, can include the picture as shortcut uses, desktop wallpaper, switching on and shutting down music, click on quick
Animation after mode and audio etc..
Desktop content information can be to generate before arranging the handling process of desktop contents and store, Ye Ji
Before reception desktop contents arranges request, it is also possible to include the process of following generation desktop content information: according to
Application identities that shortcut that desktop includes is corresponding and display position, and the widget that desktop includes
Corresponding widget mark and display position, and the subject identification of desktop layouts information, system theme, table
Recto number information, generates desktop content information.The terminal generating desktop content information can be carried out above-mentioned setting
Putting the terminal of the handling process of desktop contents, such as, certain cellphone subscriber had first carried out desktop before brush system
Content backup, i.e. generates desktop content information, and preserves, then according to the table preserved after brush system
Face content information carries out the setting (recovering desktop contents) of desktop contents.Generate desktop content information
Terminal may not be the terminal performing the above-mentioned handling process arranging desktop contents, and such as, certain user's first exists
Oneself mobile phone carries out desktop contents backup, i.e. generates desktop content information, then by desktop content information
Passing in network, this desktop content information can be downloaded on its mobile phone by other users, according in this desktop
Appearance information carries out the setting of desktop contents, so other users then can be multiple by the desktop contents of user's first mobile phone
Make on the mobile phone of oneself.
Preferably, the process of above-mentioned generation desktop content information, can be to generate to record this desktop content information
Quick Response Code.Step 102 obtains the process of desktop content information, can be acquisition table from this Quick Response Code
Face content information.Quick Response Code can be to be the form carrying by two-dimension code image.First, desktop contents is believed
Breath is encoded into binary code according to Quick Response Code coding rule;Then, binary code is arranged in line by line square square
Battle array;Finally, according to the black and white rule of correspondence (0 corresponding white, 1 corresponding black), square matrix is converted to
Two-dimension code image.It addition, desktop content information can also be stored by the file of certain predefined format, such as
The text of self-defined suffix (such as " .xxct " suffix).
Above-mentioned in the interface of the application program of desktop contents setting, it is also possible to include that desktop contents preserves
Button generates the process of desktop content information for triggering.
Step 103, according to the desktop content information obtained, is configured desktop contents.
When desktop content information for obtaining includes application identities, the execution process of step 103 can
To be: install in the application program that application identities is corresponding not at locally-installed application program;Application is marked
The shortcut knowing corresponding application program is arranged on the table.
In this process, when set up applications, if the locally stored installation procedure having this application program,
Then can directly this application program be installed, if this locality does not store the installation procedure of this application program,
Then can first download corresponding installation procedure to install again.It addition, for application journey corresponding to application identities
At locally-installed application program in sequence, installation process can not be performed.Preferably, it is also possible to perform:
Determine the application program not included in the application program that this locality has been installed and application identities is corresponding;To determine
In the default page (such as last page of desktop) that the shortcut of the application program gone out moves to desktop,
Or the application program determined is deleted.For above-mentioned deletion or the processing mode do not deleted, can be at end
End display inquiry window, which kind of processing mode request user selects to use, and carries out phase according to the selection of user
Should process.
When the desktop content information obtained also includes the display position corresponding with each application identities,
The above-mentioned execution process shortcut of application program corresponding for application identities arranged on the table, may is that
The shortcut of application program corresponding for application identities is arranged in desktop the display corresponding with this application identities
On position.So, if desktop content information record is the original desktop contents of present terminal, or record
Be the desktop contents of other terminal, then, by above-mentioned process, can reappear original on current desktop
Each shortcut in desktop contents or other terminal desktop content and the position at place thereof.
Desktop content information for acquisition also includes widget mark and identifies corresponding with each widget
The situation of display position, the process of step 103 can also include: sets up the widget that widget mark is corresponding
In not at locally created widget, and widget corresponding for widget mark is arranged in desktop with should
On the display position that widget mark is corresponding.Widget is identified in corresponding widget locally created
Widget, can not perform to set up the process of widget.
Preferably, it is also possible to perform: determine and do not have in the widget that this locality has been installed and widget mark is corresponding
There is the widget included, and the widget determined is deleted.The widget determined certainly for this, also
Can process according to the method similar with said method, inquire window at terminal demonstration, ask user
Select processing mode, and according to the selection of user, widget deleted, or widget is moved to desktop pre-
If in the page (such as last page of desktop).
When the desktop content information obtained also includes desktop layouts information, above-mentioned, application is marked
Before knowing the shortcut setting on the table of corresponding application program, it is also possible to according to desktop layouts information,
Line number and the columns of figure mark in desktop are configured.This process, is primarily directed to desktop layouts information
Not being the situation of fixed value, such as, the line number and the columns that record desk-top picture mark in desktop layouts information are 6
Row 5 arranges, and the line number of current local desk-top picture mark and columns are 5 row 4 arranges, then, the most permissible
Carry out above-mentioned process, first by desktop layouts information, desktop layouts is configured, figure mark in desktop is i.e. set
Line number and columns, then, more corresponding shortcut, widget etc. are set on the table.
When also including subject identification in the desktop content information obtained, the process of step 103 also may be used
To include: if the local system theme that the uses system theme that not to be this subject identification corresponding, then download also
Activate the system theme that this subject identification is corresponding.Can download in theme shop accordingly according to subject identification
Theme bag, then at local activation, uses the system theme in theme bag.
When the desktop content information obtained also includes desktop number of pages information, the process of step 103
Can also include: according to desktop number of pages information, the number of pages of desktop is configured.Preferably, if currently
The number of pages of desktop, equal to the number of pages of record in desktop number of pages information, can not be modified by the number of pages of desktop;
If the number of pages of current desktop is less than the number of pages of record in desktop number of pages information, the number of pages of desktop can be increased
The number of pages of record in desktop number of pages information;If the number of pages of current desktop exceedes record in desktop number of pages information
Number of pages, can above-mentioned arrange on the table shortcut and widget is set operation after, to exceeding
Blank page in the page of part is deleted.
In the embodiment of the present invention, obtaining desktop content information, desktop content information at least includes application identities,
According to the desktop content information obtained, desktop contents is configured, as such, it is possible to believe according to desktop contents
The shortcut of the application program in desktop contents is configured by the application identities in breath, thus without using
Desktop contents is configured by manual mode, can improve the efficiency being configured desktop contents.
Embodiment three
Below in conjunction with mobile phone brush systematic difference scene, embodiment of the present invention offer is arranged terminal operation
The method of system desktop content is described in detail, as in figure 2 it is shown, handling process may include steps of:
Step 201, application identities that the shortcut that includes according to desktop is corresponding and display position, and table
The widget corresponding for widget that face includes identifies and display position, and desktop layouts information, system master
The subject identification of topic, desktop number of pages information, generate the file of desktop content information, and believed by this desktop contents
The files passe of breath is to destination server.The present embodiment simply illustrates as a example by upload server, table
The file of face content information can also store in the storage device that other predetermined or user specifies.Generate table
The process of the file of face content information can be by operating corresponding application triggers, and process is referred to
The embodiment in face.
Step 202, performs the process (i.e. to this mobile phone brush system) that system resets.
Step 203, downloads the file of above-mentioned desktop content information from destination server.
Step 204, receives desktop contents and arranges request, and this desktop contents arranges in request and carries from this document
Middle acquisition desktop content information.Desktop content information includes: application identities and corresponding the showing of each application identities
Show position, widget mark and the display position corresponding with each widget mark, desktop layouts information, be
The subject identification of system theme, desktop number of pages information.This desktop contents arranges request and can answer by operation is above-mentioned
Triggering by program, process is referred to above embodiment.
Step 205, obtains desktop contents and arranges the desktop content information carried in request.
Step 206, according to the desktop content information obtained, is configured desktop contents.Processed accordingly
Journey is referred to the particular content of step 103 in above embodiment.
The application scenarios of terminal operating system desktop contents is shared below in conjunction with cellphone subscriber, real to the present invention
The method arranging desktop contents that executing example provides is described in detail, in this application scenarios, and the user of terminal A
Sharing its desktop contents, the desktop contents of terminal A has been copied in terminal B by the user of terminal B,
Processing procedure can be such that
The process that terminal A performs is: application identities that the shortcut that includes according to desktop is corresponding and display
Position, and corresponding for the widget widget mark that includes of desktop and display position, and desktop layouts
Information, the subject identification of system theme, desktop number of pages information, generate the file of desktop content information, and will
The files passe of this desktop content information is to destination server.
The process that terminal B performs is: download the file of above-mentioned desktop content information from destination server;Receive
Desktop contents arranges request, and this desktop contents arranges to carry in request and obtains desktop contents letter from this document
Breath;Obtain desktop contents and the desktop content information carried in request is set;According to the desktop content information obtained,
Desktop contents is configured.Corresponding processing procedure is referred to above embodiment.
In the embodiment of the present invention, obtain desktop content information, according to the desktop content information obtained, to desktop
Content is configured, as such, it is possible to desktop contents is configured according to desktop content information, thus without
Use manual mode that desktop contents is configured, the efficiency that desktop contents is configured can be improved.
Embodiment four
Based on identical technology design, embodiments provide one and arrange in terminal operating system desktop
The device held, as it is shown on figure 3, described device includes:
Receiver module 310, is used for receiving desktop contents and arranges request;
Acquisition module 320, for arranging request according to described desktop contents, obtains desktop content information;
Module 330 is set, for according to the desktop content information obtained, being configured desktop contents.
Preferably, described desktop content information includes application identities;
Described module 330 is set, is used for: install in the application program that described application identities is corresponding not in this locality
The application program installed;
The shortcut of application program corresponding for described application identities is arranged on the table.
Preferably, described module 330 is set, is additionally operable to:
Determine the application journey not included in the application program that this locality has been installed and described application identities is corresponding
Sequence;
The shortcut of the application program determined is moved to the default page of desktop, or will determine
Application program delete.
Preferably, described desktop content information also includes the display position corresponding with each application identities;
Described module 330 is set, is used for: the shortcut of application program corresponding for described application identities is arranged
On display position corresponding with described application identities in desktop.
Preferably, described desktop content information also includes widget widget mark and identifies with each widget
Corresponding display position;
Described module 330 is set, is additionally operable to:
Set up in the widget that described widget mark is corresponding not at locally created widget, and by described
The widget of widget mark correspondence is arranged in described desktop the display position corresponding with described widget mark
On.
Preferably, described module 330 is set, is additionally operable to:
Determine the widget not included in the widget that this locality has been installed and described widget mark is corresponding,
And the widget determined is deleted.
Preferably, described desktop content information also includes desktop layouts information;
Described module 330 is set, is additionally operable to: according to described desktop layouts information, to the row of figure mark in desktop
Number and columns are configured.
Preferably, described desktop content information also includes subject identification;
Described module 330 is set, is additionally operable to: if the local system theme used is not described subject identification pair
The system theme answered, then download and activate the system theme that described subject identification is corresponding.
Preferably, described desktop content information also includes desktop number of pages information;
Described module 330 is set, is additionally operable to: according to described desktop number of pages information, the number of pages of described desktop is entered
Row is arranged.
Preferably, also include generation module, be used for:
Application identities that the shortcut that includes according to desktop is corresponding and display position, and desktop includes
Corresponding for widget widget mark and display position, and the theme of desktop layouts information, system theme
Mark, desktop number of pages information, generate described desktop content information.
Preferably, described generation module, it is used for: generate the Quick Response Code recording described desktop content information;
Described acquisition module 320, is used for: obtain described desktop content information from described Quick Response Code.
In the embodiment of the present invention, obtain desktop content information, according to the desktop content information obtained, to desktop
Content is configured, as such, it is possible to desktop contents is configured according to desktop content information, thus without
Use manual mode that desktop contents is configured, the efficiency that desktop contents is configured can be improved.
It should be understood that the device arranging terminal operating system desktop contents that above-described embodiment provides is setting
When putting desktop contents, only it is illustrated with the division of above-mentioned each functional module, in actual application, permissible
As desired by above-mentioned functions distribution completed by different functional modules, will device internal structure divide
Become different functional modules, to complete all or part of function described above.It addition, above-described embodiment
The device that terminal operating system desktop contents is set provided and the method that terminal operating system desktop contents is set
Embodiment belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through
Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or
CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's
Within protection domain.