CN107632872A - Desktop layouts processing method, user data processing method and processing device - Google Patents

Desktop layouts processing method, user data processing method and processing device Download PDF

Info

Publication number
CN107632872A
CN107632872A CN201610560861.4A CN201610560861A CN107632872A CN 107632872 A CN107632872 A CN 107632872A CN 201610560861 A CN201610560861 A CN 201610560861A CN 107632872 A CN107632872 A CN 107632872A
Authority
CN
China
Prior art keywords
terminal
desktop
desktop layouts
graphic element
layouts
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610560861.4A
Other languages
Chinese (zh)
Other versions
CN107632872B (en
Inventor
龙振海
刘玉林
李泉泉
闫晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610560861.4A priority Critical patent/CN107632872B/en
Publication of CN107632872A publication Critical patent/CN107632872A/en
Application granted granted Critical
Publication of CN107632872B publication Critical patent/CN107632872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of desktop layouts processing method, user data processing method and processing device;Desktop layouts processing method includes:First description information of the desktop layouts loaded in detection first terminal;Based on the mark of the first terminal, acquisition is adapted to the adaptation strategies of the desktop layouts describing mode of the first terminal and the desktop layouts describing mode of second terminal;The first description information of the desktop layouts is adapted to based on the adaptation strategies, obtains the second description information for describing the desktop layouts with the desktop layouts describing mode of the second terminal and being formed;The desktop layouts are loaded in the second terminal based on second description information.Implement the present invention, seamless smooth migration of the desktop layouts in terminal room can be realized.

Description

Desktop layouts processing method, user data processing method and processing device
Technical field
The present invention relates to electronic technology, more particularly to a kind of desktop layouts processing method, user data processing method and dress Put.
Background technology
With the popularization and development of the various terminals such as smart mobile phone, tablet personal computer, car-mounted terminal and Wearable, use Family is also more and more diversified to the demand of application, and user would generally possess multiple terminals, as user may use two simultaneously Mobile phone or mobile phone and tablet personal computer are used simultaneously.
For the ease of using, for some settings would generally to be carried out to the desktop layouts of terminal, such as:Multiple desktops are set, The icon or plug-in unit of the application being commonly used are set in each desktop, personalized desktop background etc. is set for each desktop.
At present, the terminal that user possesses due to the difference of brand, model etc., cause user can not between the terminals without Seam migration desktop layouts, and can only be configured respectively for each terminal, it is cumbersome time-consuming.
The content of the invention
The embodiment of the present invention provides a kind of desktop layouts processing method, user data processing method and processing device, can realize Seamless smooth migration of the desktop layouts in terminal room.
What the technical scheme of the embodiment of the present invention was realized in:
In a first aspect, the embodiment of the present invention provides a kind of desktop layouts processing method, methods described includes:
First description information of the desktop layouts loaded in detection first terminal;
Based on the mark of the first terminal, the desktop layouts describing mode for being adapted to the first terminal and second is obtained eventually The adaptation strategies of the desktop layouts describing mode at end;
The first description information of the desktop layouts is adapted to based on the adaptation strategies, obtained with described second eventually The second description information that the desktop layouts describing mode at end describes the desktop layouts and formed;
The desktop layouts are loaded in the second terminal based on second description information.
Second aspect, the embodiment of the present invention provide a kind of user data processing method, and methods described includes:
The user data of first terminal is obtained, the tabletop clothes loaded in the first terminal are detected from the user data First description information of office;
Based on the mark of the first terminal, the desktop layouts describing mode for being adapted to the first terminal and second is obtained eventually The adaptation strategies of the desktop layouts describing mode at end;
The first description information of the desktop layouts is adapted to based on the adaptation strategies, obtained with described second eventually The second description information that the desktop layouts describing mode at end describes the desktop layouts and formed;
The desktop layouts are loaded in the second terminal based on second description information;
The user data that the desktop layouts are removed in the user data is recovered to the second terminal.
The third aspect, the embodiment of the present invention provide a kind of desktop layouts processing unit, and described device includes:
Detection unit, for detecting the first description information of the desktop layouts loaded in first terminal;
First acquisition unit, for the mark based on the first terminal, obtain the tabletop clothes for being adapted to the first terminal The adaptation strategies of office's describing mode and the desktop layouts describing mode of second terminal;
Adaptation unit, for being adapted to based on the adaptation strategies to the first description information of the desktop layouts, obtain To the second description information for describing the desktop layouts with the desktop layouts describing mode of the second terminal and being formed;
Loading unit, for loading the desktop layouts in the second terminal based on second description information.
Fourth aspect, the embodiment of the present invention provide a kind of user data processing unit, and described device includes:
Second acquisition unit, for obtaining the user data of first terminal;
Detection unit, for detecting the first description information of the desktop layouts loaded in first terminal;
First acquisition unit, for the mark based on the first terminal, obtain the tabletop clothes for being adapted to the first terminal The adaptation strategies of office's describing mode and the desktop layouts describing mode of second terminal;
Adaptation unit, for being adapted to based on the adaptation strategies to the first description information of the desktop layouts, obtain To the second description information for describing the desktop layouts with the desktop layouts describing mode of the second terminal and being formed;
Loading unit, for loading the desktop layouts in the second terminal based on second description information;
Recovery unit, for the user data that first description information is removed in the user data to be recovered to institute State second terminal.
The embodiment of the present invention has the advantages that:
Based on the adaptation strategies of the desktop layouts describing mode between equipment, to the figure in the description information of desktop layouts Desktop layouts describing mode of the field of element based on second terminal is adapted to, and the description information for being adapted to obtain is available for second Desktop in terminal starts application loading and first terminal identical desktop layouts;Desktop layouts description side based on distinct device The adaptation strategies of formula, can realize the efficient seamless migration of desktop layouts between different brands, model device, and maintain table The front and rear uniformity of face layout migration.
Brief description of the drawings
Fig. 1 is an optional structural representation of terminal provided in an embodiment of the present invention;
Fig. 2 is an optional schematic flow sheet of desktop layouts processing method provided in an embodiment of the present invention;
Fig. 3 is the one of the adaptation strategies that the embodiment of the present invention provides the desktop layouts describing mode that different desktops start application Individual optional schematic diagram;
Fig. 4 is an optional schematic flow sheet of user data processing method provided in an embodiment of the present invention;
Fig. 5 is the optional realization provided in an embodiment of the present invention that desktop layouts are migrated between mobile phone A and mobile phone B Schematic diagram;
Fig. 6 is the optional schematic flow sheet provided in an embodiment of the present invention that desktop layouts are detected in mobile phone A;
Fig. 7 is an optional scene of the migrated userses data provided in an embodiment of the present invention between mobile phone A and mobile phone B Schematic diagram;
Fig. 8 is that migrated userses data finish between mobile phone A and mobile phone B one provided in an embodiment of the present invention is optional Display schematic diagram;
Fig. 9 is the optional contrast provided in an embodiment of the present invention that desktop layouts are migrated between mobile phone A and mobile phone B Schematic diagram;
Figure 10 is the processing logical schematic of icon in identification mobile phone A desktop layouts provided in an embodiment of the present invention;
Figure 11 is an optional illustrative view of functional configuration of desktop layouts processing unit provided in an embodiment of the present invention;
Figure 12 is an optional illustrative view of functional configuration of user data processing unit provided in an embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention will be described in further detail.It is it should be appreciated that mentioned herein Embodiment only to explain the present invention, is not intended to limit the present invention.In addition, embodiment provided below is to be used to implement The section Example of the present invention, rather than the whole embodiments for implementing the present invention are provided, in the case where not conflicting, the present invention is implemented Example record technical scheme can be in any combination mode implement.
It should be noted that involved by the embodiment of the present invention term " first the second " be only be similar pair of difference As not representing the particular sorted for object, it is possible to understand that ground, " first the second " can be exchanged in the case of permission it is specific Order or precedence.It should be appreciated that " first the second " distinguish object can exchange in the appropriate case, so as to retouch here The embodiments of the invention stated can be implemented with the order in addition to those for illustrating or describing herein.
The noun and term being related in the embodiment of the present invention are applied to following explanation.
Any type of mobile terminal device such as terminal, smart mobile phone, tablet personal computer and car-mounted terminal, or fixed use Terminal device;Terminal possesses short-range communication ability, can also possess cellular communication capability.
User data, any type of data related to user that terminal includes.Such as:Using (to executable file Itself), application data (user using apply during caused data, such as login account, password and application from The webserver is synchronized to the data of terminal local), service data (run time of application, operation frequency etc.);Multimedia number According to (such as photo of shooting, video);Communication data (short message, contact person, message registration etc.);Data are set, set in terminal The data of various functions;Geographic position data, user use and are based on geo-location service (LBS, Location Based The geographical position recorded when Services) and time etc..
Desktop starts application, also referred to as desktop starter (Launcher), for loading table on the display screen of terminal Face, and various graphic elements are loaded in desktop.
Desktop layouts, control the display effect of the desktop of terminal, user mutual and realize function, as the desktop of terminal starts Apply the application class and figure that the graphic element in the desktop loaded on terminal display, desktop, graphic element associate Element is in arrangement mode of desktop etc..Desktop layouts start the field in application with desktop and are described, and field includes field Title and corresponding numerical value.
Graphic element, application icon in desktop, shortcut icon, the file for pointing to terminal document system specific location Clip icon etc., can also be the icon of various plug-in units, such as icon of weather forecast plug-in unit, the icon of clock plug-in unit.
ROM, enter image file used in operating system to terminal brush, ROM is identified using bag name and version number.
Terminal iidentification, can be the model information for identification terminal, such as brand, model etc. are for distinguishing different terminals Hardware view information.Because the terminal of current each manufacturer uses the ROM of independent development, therefore the mark of terminal can be with By the information of the software views such as the ROM bag name write with a brush dipped in Chinese ink in terminal and version number, the desktop in different terminals starts application can To be distinguished using terminal iidentification.
The embodiment of the present invention can be provided as desktop layouts processing method and user data processing method, and method can be with office Meaning is supported to implement in the equipment of display desktop, such as mobile eventually in smart mobile phone, tablet personal computer, notebook computer, car-mounted terminal Implement in end, or implement in desktop computer or similar computing device,
In addition, the embodiment of the present invention is not also limited the software and hardware structure of the said equipment, one of the terminal shown in Fig. 1 In individual optional structural representation, terminal 10 includes hardware layer, intermediate layer, operating system layer and software layer.However, this area It will be appreciated by the skilled person that the structure of the terminal shown in Fig. 1 is merely illustrative, the restriction to device structure is not formed.For example, eventually Hold 10 can be set according to needs are implemented compared with the more components of Fig. 1, or omission setting unit component is needed according to implementation.
The hardware layer of terminal includes processor 11, input/output interface 13, storage medium 14 and network interface 12, group Part can be through system bus connection communication.Processor 11 can use central processing unit (CPU), microprocessor (MCU, Microcontroller Unit), application specific integrated circuit (ASIC, Application Specific Integrated Circuit) or logic programmable gate array (FPGA, Field-Programmable Gate Array) is realized.Input/output Interface 13 can use such as display screen, touch-screen, loudspeaker input/output device to realize.Storage medium 14, which can use, dodges Deposit, the non-volatile memory medium such as hard disk, CD is realized, dual-magnification technique (DDR, Double Data Rate) dynamic can also be used The volatile storage mediums such as caching realize that exemplarily, storage medium 14 can be set in same place jointly with terminal 10, It can be set relative to the place remote of terminal 10, or the distribution of the local and remote side of relative termination 10 is set.Network interface 12 is to place The access ability that device 11 provides the external data storage medium 14 that such as strange land is set is managed, exemplarily, network interface 12 can be with base In near-field communication (NFC, Near Field Communication) technology, bluetooth (Bluetooth) technology, purple honeybee (ZigBee) The short-range communication that technology is carried out, furthermore it is also possible to realize such as based on CDMA (CDMA, Code Division Multiple Access), WCDMA (WCDMA, Wideband Code Division Multiple Access) etc. The communication of communication standard and its evolution standard.
Drive layer include be used for for operating system 16 identify hardware layer and with the middleware 15 of each assembly communication of hardware layer, example It such as can be the set for the driver of each component of hardware layer.
Operating system 16 is used to provide user oriented graphical interfaces, exemplarily, including plug-in unit icon 17, desktop background 18 and application icon 19, operating system 16 supports user via control of the graphical interfaces to equipment.The embodiment of the present invention is to above-mentioned The software environment of equipment such as OS Type, version does not limit, for example, can be Android operation system, iOS operating systems, (SuSE) Linux OS or UNIX operating system etc..
Based on the structure of the terminal 10 shown in Fig. 1, desktop layouts processing method provided by the invention and user data processing The executable instruction that method can be performed in storage medium 14 by terminal 10 realizes that executable instruction is used to perform the present invention in fact The desktop layouts processing method or user data processing method of example offer are provided.Exemplarily, executable instruction can be provided as end Function or application built in the operating system 16 at end 10, or the installation kit of third-party application is provided as, or, there is provided for behaviour Make the forms such as the feature card of application installed in system 16.
Hereinafter, using terminal as first terminal and second terminal, and terminal of the first terminal with second terminal for different brands; Or first terminal and second terminal be with exemplified by the terminal of brand different model to desktop layouts provided in an embodiment of the present invention Processing method illustrates.Certainly, the technical scheme recorded below, it is identical that can also be applied to first terminal with second terminal The scene of the terminal of the same model of brand.
Inventor has found that the desktop that different brands, the terminal of model use starts application in the practice of the invention Often manufacturer starts application modification for primary desktop or developed again, causes the feature for graphic element Field is distinct, when need by the desktop layouts lossless migration of first terminal be second terminal in desktop layouts when, it is necessary to Started based on the desktop in first terminal using (follow-up first desktop that is referred to as starts application) for tabletop clothes in first terminal It is whole for second that desktop in the describing mode and second terminal of office starts application (follow-up second desktop that is referred to as starts application) The adaptation strategies of the describing mode of desktop layouts are held, the field of the feature of the graphic element in desktop layouts is adapted to, obtained To the desktop layouts that desktop layouts formation is described with the desktop layouts describing mode of second terminal, so as to start for the second desktop Using desktop layouts are loaded, the lossless migration of desktop layouts is realized.Illustrated with reference to specific steps.
Referring to an optional flow signal of the desktop layouts processing method provided in an embodiment of the present invention shown in Fig. 2 Figure, comprises the following steps:
Step 101, the first desktop starts the desktop layouts of application loading in first terminal detection first terminal, is laid out The description information (referred to as the first description information) of desktop.
Made a distinction to start the information of application description desktop layouts with the second desktop in second terminal, by first terminal The information that first desktop starts the current desktop layouts of application description first terminal is referred to as the first description information.Especially, first Multiple desktops may be installed in terminal and start application, the first desktop starts application and referred in first terminal because being active And the desktop that the desktop layouts of adapter first terminal are shown starts application, such as desktop primary in the ROM of first terminal starts Using.
In one embodiment, ROM of the first terminal based on first terminal model, version number position the first desktop and started Storage location of the configuration file of application in first terminal file system, configuration file is read from corresponding storage location, from The authorization message and reference address for accessing the database file that the first desktop starts application are obtained in configuration file, based on mandate Information and reference address access corresponding database file in first terminal file system, and pin is detected from database file To the field array of each graphic element in desktop layouts, each field array includes the first desktop and starts application sign respective graphical Multiple fields of the feature of element, the field of the quantity of desktop is such as characterized, characterize application icon arrangement position, Yi Jisuo in desktop The application of association, the field using class, characterize field of plug-in unit icon arrangement position and associated method etc. in desktop.
Step 102, first terminal sends the first description information to second terminal with local transmission technology.
For example, first terminal can be communicated to send the description information of desktop layouts by bluetooth approach with second terminal, Accordingly even when second terminal does not have cellular communication capability, (such as second terminal is the terminal that user newly uses or the end just initialized In the case of end, second terminal is temporarily configured without cellular communication capability), it can also realize to second terminal and send desktop layouts Description information, so as to realize second terminal loading and the effect of first terminal same desktop layout, that is, loading with first Terminal is in the consistent effect of graphic element, graphic element arrangement mode etc..
Step 103, mark and second desktop of the second terminal based on first terminal start the mark of application, second The desktop layouts describing mode of adaptation first terminal and the desktop layouts of second terminal are searched in the adaptation strategies storehouse of terminal local The adaptation strategies of describing mode.
To start application division with the desktop of first terminal, the desktop being active in second terminal is started and applied (multiple desktops may be installed in practical application, in second terminal and start application, the second desktop starts application and refers to second terminal The middle desktop that the desktop layouts of adapter second terminal are shown because be active starts application, as second terminal install the The desktop of tripartite starts application).
Inventor has found that the desktop installed in different terminals starts application due to fragment during the embodiment present invention The problem of change, tend not to follow the design that desktop in standard ROM starts application, by taking Android system as an example, the end of different vendor End uses each customed ROM, and built-in desktop starts application and is modified according to demand by manufacturer, causes different desktops to open The describing mode for desktop layouts of dynamic application has differences, and so that graphic element is application icon as an example, different desktops start Existing in field name, the quantity of used field etc. using the field of the feature for same application icon can not The difference avoided.
In light of this situation, second terminal can locally be previously stored with adaptation strategies storehouse, with difference in adaptation strategies storehouse The mark (ROM bags name and version number in such as terminal, or the brand of terminal and model etc.) of terminal is index, and storage is different Desktop in terminal starts describing mode corresponding relation of the application for desktop layouts.
So that terminal runs Android system as an example, the terminal of different model has used the ROM of different Android systems, and often Individual ROM starts application using different desktops, as it was previously stated, desktop, which starts, applies the database file in terminal document system Middle storage field array, including desktop start multiple fields that application is used to describe each graphic element feature in desktop layouts, no Start with desktop in application and there may be identical field, there is also different fields.
As shown in figure 3, adaptation strategies storehouse, which includes different desktops, starts word of the application (with described ROM number-mark) Section starts the corresponding relation of the field of application with desktop in primary Android system, and primary Android system desktop, which starts, to be applied in data The field array of library file includes multiple fields, starts application for characterizing graphic element and desktop in desktop layouts Following characteristics:
1) Id, desktop start the sequence number of application;
2) Intent, desktop start the intention that application is activated;
3) ClassName, when graphic element is application icon, it is required class that respective application clicks on startup by user (applying class);
4) Screen, the numbering for including desktop (also referred to as shielding) in desktop layouts;
5) Container, desktop, which starts, applies upper container;
6) Title, desktop start five application page title;
7) workspace, it is made up of Celllayout.Celllayout is divided for the form of 4 rows 4 row, uses boolean (Boolean) two-dimensional array (mOccupied) of type marks whether each cell is taken by graphic element;
8) Item Type, the type of marker graphic element, such as application icon, shortcut icon and folder icon.
It is pointed out that above-mentioned field is merely illustrative, the restriction to field is not formed.Such as table can also be included The field of method associated by graphic element is levied, that is, when graphic element is application icon, respective application icon is clicked on by user The title of required method during startup.
Based on the adaptation strategies storehouse shown in Fig. 3, it can extract to obtain any two desktop to start in application and characterize pattern primitive The adaptation strategies of the field of the feature of element, that is, the adaptation strategies of the desktop layouts describing mode of corresponding terminal.
The formation to above-mentioned adaptation strategies illustrates again, and desktop starts application in different terminals as shown in Figure 3 The corresponding relation of desktop layouts describing mode, describe different desktops and start in application, for characterizing pattern primitive in desktop layouts Element and desktop start the corresponding relation between the above-mentioned field of application.For any two terminal (assuming that using different tables Face starts application), so that the ROM of terminal is ROM 1 and ROM3 as an example, field in common be present in searching and form corresponding relation, for example, ROM 1 desktop start application and ROM 3 desktop start application description class name field be " ClassName " (in figure 3 Is represented with checking the number), form that icon started when being triggered using the class name of class, the corresponding relation of the method etc. of calling, with this Analogize.
As above, the desktop layouts describing mode of first terminal and the desktop layouts describing mode of second terminal are adapted to plan Slightly, specifically, the field of the feature of different graphic element is characterized in being applied for the startup of the first desktop, starts with the second desktop and answers With the corresponding relation between the field of the feature of middle sign different graphic element.Because desktop layouts include multiple graphic elements, Therefore the desktop layouts (namely desktop layouts) described with the desktop layouts describing mode of first terminal, including the first desktop open The field of the feature of each graphic element in desktop layouts is characterized in dynamic application.From the perspective of graphic element, step 103 can be with It is embodied as:Second terminal is with the mark of first terminal (such as ROM bag name and version number, or with the brand of terminal and model etc. Model information) to index, searched in the local adaptation strategies storehouse of second terminal during the first desktop starts application and characterize tabletop clothes The field of the feature of each graphic element of office and the second desktop start between the field for the feature for characterizing each graphic element in application Corresponding relation.
In one embodiment, when mark of the second terminal based on first terminal, cause when there is situations below second Adaptation strategies are not found in the adaptation strategies storehouse of terminal local:1) mark (such as ROM bag name/version number) nothing of first terminal The mark of the terminal in the method adaptation strategies storehouse local with second terminal can not be adapted to;2) second terminal accesses the startup of the first desktop and answered Database file fails;3) second terminal parses the database file failure that the first desktop starts application.For above-mentioned feelings Condition, second terminal can also obtain adaptation strategies (step 106) from server side.
As an example, the data of the adaptation strategies of server side are more comprehensive, therefore second terminal is by first terminal Mark, the model information (brand, model) of such as first terminal, or the ROM of first terminal bag name and version number send To server, by searching the desktop layouts describing mode of adaptation first terminal and the desktop layouts of second terminal in server local The adaptation strategies of describing mode, return to second terminal if finding.
As another example, when server does not find adaptation strategies, the bag name and version of the ROM based on first terminal This number obtains the installation kit that the first desktop starts application, and installation kit is unpacked and reversely compiled, and obtains the startup of the first desktop The sound code file of application, the configuration file that the first desktop starts application is extracted from sound code file, is obtained from configuration file Access authorization message and reference address that desktop in first terminal starts the database file of application, based on authorization message and Reference address accesses corresponding database file in first terminal file system, and the first desktop is detected from database file should With the field array for each graphic element, each field array includes the first desktop and starts sign respective graphical element in application Feature multiple fields, be added in existing adaptation strategies storehouse, realize the effect to adaptation strategies storehouse adaptive updates.Can Selection of land, the layout description side of the layout describing mode of extraction adaptation first terminal and second terminal from the adaptation strategies storehouse of renewal The adaptation strategies of formula are issued to second terminal, can be from adaptation strategies storehouse when subsequently having a request for the adaptation strategies of first terminal The middle corresponding adaptation strategies of extraction are responded.
Step 104, second terminal is adapted to based on adaptation strategies to the first description information, obtains the table with second terminal Face layout describing mode describes the second description information of desktop layouts formation.
As before, the feature of each graphic element includes the position of the foregoing graphic element with field description, class in desktop layouts The information such as type and the application class of association;The feature of each graphic element is each to be used to characterize in the first desktop application in desktop layouts The field of the feature of graphic element represents.Meanwhile the desktop layouts describing mode of first terminal and the tabletop clothes of second terminal The adaptation strategies of office's describing mode, including the first desktop start the field for the feature that different graphic element is characterized in application, with the Two desktops start the corresponding relation between the field for the feature that different graphic element is characterized in application.
So as to which if desired second terminal realizes the desktop layouts consistent with the desktop layouts in first terminal, such as shows phase Same graphic element, and identical graphic element arrangement mode (namely desktop layouts) is, it is necessary to obtain with second terminal Desktop layouts describing mode describes the field of the feature of each graphic element in the first description information, so as to form the second description letter Breath, so that the second desktop is started using the graphic element loaded based on the second description information in desktop layouts, and the figure loaded Feature of the feature of element with graphic element in first terminal is consistent, and the position such as graphic element is identical, each graphic element Arrangement mode is identical, the application of each graphic element association, mutually equal using class or method.
Chosen in one embodiment, realized by such mode and obtain the second description information:Started based on the first desktop The field of the feature of different graphic element is characterized in, starts the feature that different graphic element is characterized in application with the second desktop Field between corresponding relation, the field of the feature of each graphic element in the first description information is adapted to, obtains second Desktop starts the field that the feature of each graphic element in the first description information is characterized in application.
Step 105, second terminal is based on the second description information loading desktop layouts.
In one embodiment, second terminal starts application loading desktop layouts with the second desktop run, exemplarily, Based on the field for the feature that each graphic element of desktop layouts is characterized in the second description information, application loading is started by the second desktop Form desktop layouts with the graphic element of individual features, the graphic element in desktop layouts, with the figure in desktop layouts Element is identical, and the position of each graphic element, arrangement mode, association the feature using class etc. with first terminal Graphic element is consistent in desktop layouts, the effect that with first terminal there is same desktop to be laid out is realized, below, with reference to graphic element Different type and field different type, to load desktop layouts different examples illustrate.
Example 1) sequence number based on the desktop residing for graphic element field and corresponding sequence desktop arrange position The field put, the desktop sequence number in desktop layouts residing for each graphic element and arrangement position are determined, in the corresponding sequence of second terminal The arrangement position of row number desktop loads each graphic element.
For example, first terminal includes multiple desktops (namely including multi-screen desktop), each desktop includes a number of Application icon, then second terminal start application by running the second desktop, started based on the second desktop characterized in application it is each The field for the application icon that desktop includes and the field for characterizing arrangement position of the application icon in desktop, second eventually Hold the corresponding arrangement position loading application icon of desktop.
For another example first terminal includes three desktops and the desktop background of each desktop is different, then second terminal passes through Run the second desktop and start application, start desktop background that desktop quantity and each desktop are characterized in application based on the second desktop Field, in second terminal three desktops of corresponding loading, and each desktop background one in the desktop background and first terminal of desktop Cause.
Example 2) when graphic element is the situation of application icon, application is characterized in application except starting based on the second desktop Field of the field and sign application icon of the residing desktop sequence number of icon in desktop present position loads application icon, Also based on the second desktop start application in characterize application icon associated by the field using class, by the application icon loaded with It is associated using class.So, application icon for desktop is received when second terminal starts application by second desktop During trigger action, the second desktop, which starts application, to realize the effect for starting application based on the application class for starting application icon association Fruit.
Similarly, when graphic element is the situation of desktop plug-ins icon, characterized except being started based on the second desktop in application Field of the field and sign desktop plug-ins icon of the residing desktop sequence number of desktop plug-ins icon in desktop present position adds Desktop plug-ins icon is carried, also starts the field using class characterized in application associated by desktop plug-ins icon based on the second desktop, By the desktop plug-ins icon loaded with being associated using class.So, connect when second terminal starts application by the second desktop When receiving the trigger action for the desktop plug-ins icon of desktop, the second desktop, which starts application, can be based on starting application icon pass The application class of connection, realize the effect for starting desktop plug-ins.
Example 3) when graphic element is the situation of application icon, if second terminal is detected by the application of the second desktop management To corresponding to second terminal application icon to be loaded using do not install when, with specific graphic elements (for example, grey icon) The application icon of loading is substituted, and starts to apply by the second desktop and specific graphic elements is loaded in second terminal, realization carries Show and applied corresponding to the application icon in the still uninstalled effect of second terminal.
As an alternative, can obtain automatically application icon to be loaded to applied to installation kit, installation application, and Start the application icon applied and obtained in second terminal after loading installation application by the second desktop, avoid the table of first terminal Face layout migrates the situation for occurring certain applications icon missing during to second terminal.
Hereinafter, using terminal as first terminal and second terminal, and terminal of the first terminal with second terminal for different brands; Or first terminal and second terminal be with exemplified by the terminal of brand different model to user data provided in an embodiment of the present invention Processing method illustrates.
Referring to an optional flow signal of the user data processing method provided in an embodiment of the present invention shown in Fig. 4 Figure, for the user data of first terminal to be recovered to second terminal, including by the desktop layouts lossless migration in first terminal To second terminal, comprise the following steps:
Step 201, first terminal is established local communication with second terminal and is connected.
Exemplarily, first terminal is established the short-range communication based on Bluetooth technology with second terminal and connected, and avoids second Terminal is the terminal newly used without possessing the situation of cellular communication capability;Especially, when first terminal and second terminal are located at During same geographical position, the quick transmission of user data can be realized based on short-range communication mode, it is ensured that user data is being set Fast transferring between standby.
The implementation of short-range communication between terminal is not limited in the embodiment of the present invention, such as except above-mentioned indigo plant Tooth communication, can also by Wireless Fidelity (WiFi) focus direct-connected, the direct-connected mode of Wi-Fi hotspot and in LAN The mode such as direct-connected.
Step 202, first terminal sends the user data of first terminal to second terminal.
In one embodiment, the different types of user data of candidate is presented for user's selection, such as first in first terminal The application data installed in the desktop layouts (desktop layouts) of terminal, first terminal, communication note in data, first terminal is set Data and multi-medium data etc. are recorded, the user data that user is chosen is transmitted to second terminal.
Step 203, second terminal detects the desktop layouts that the first desktop application loads in first terminal from user data The first description information.
Step 204, mark of the second terminal based on first terminal, the desktop layouts describing mode of adaptation first terminal is obtained With the adaptation strategies of the desktop layouts describing mode of second terminal.
Step 205, second terminal is adapted to based on adaptation strategies to the first description information, obtains the table with second terminal Face layout describing mode describes the second description information of desktop layouts formation.
Step 206, second terminal is based on the second description information and loads desktop layouts in second terminal.
Implement it is pointed out that step 203 to step 206 is referred to foregoing step 101 to step 104.
Step 207, second terminal recovers the user data in user data in addition to the second description information to second eventually End.
Exemplarily, second terminal by multi-medium data, communication record data, data recovery is set to second terminal sheet Ground, especially, when user selects to migrate the application data of first terminal to second terminal, and the application of the application of first terminal Program can not be when second terminal be run, and second terminal can use the installation kit for being to obtain adaptation second terminal to enter in network connection Row installation, and the intermediate data of application (such as account name, password, data cached) application into the application newly installed, is realized Desktop layouts, application, application data between the equipment of different brands models, the efficiently seamless smooth migration that data are set Effect, user is after changing planes without additionally being set.
In conjunction with a scene of changing planes to desktop layouts processing method provided in an embodiment of the present invention and user data at Reason method illustrates, and mobile phone A is the old mobile phone that user holds, and mobile phone B is the mobile phone that user newly uses, and user is needed mobile phone It is the application data in desktop layouts, mobile phone A, multi-medium data in A migration of subscriber data to mobile phone B, including mobile phone A, logical Believe record data and Data Migration is set to mobile phone B.By using reverse engineering approach, obtain and parse major cell phone manufacturer Desktop starter installation kit in database file, form adaptation strategies storehouses, and reported not with reference to mobile phone on this basis Adaptation type and backstage issue the high in the clouds control for the adaptation strategies for not being adapted to type, and the type quantity of enabled adaptation constantly expands Fill, adaptation strategies storehouse is covered whole types.
Referring to the desktop layouts backup shown in Fig. 5 and the schematic diagram for realizing framework recovered, in scene of changing planes, mobile phone A Be fitted with application of changing planes with mobile phone B, change planes using software development kit (SDK) by way of built in mobile phone A/B master Flow the adaptation strategies storehouse of type.
Changing planes for mobile phone A applies the desktop starter database file in the desktop starter from mobile phone A to read tabletop clothes Before office, bag name/version number that can be based on the ROM of mobile phone A judges whether have in the local adaptation strategies storehouse of mobile phone A for hand Machine A adaptation strategies, if so, then showing that mobile phone B can be fitted when receiving the description information of desktop layouts of mobile phone A Match somebody with somebody, then mobile phone A change planes application layout SDK established in SDK databases for mobile phone A desktop layouts database file, The description information of the desktop layouts of mobile phone A is read from the database file of the desktop starter of mobile phone A, write-in mobile phone A is changed planes SDK database files in.
If not having the adaptation strategies for mobile phone A in the local adaptation strategies storehouse of mobile phone A, mobile phone is reported to server A type, the description information of desktop layouts, server is by the description information typing of the type of mobile phone A, device id, desktop layouts Server database, by backstage for the type of mobile phone A, the description information of desktop layouts, the desktop starter of mobile phone A is carried out Reverse-engineering, obtain the adaptation strategies and typing server of mobile phone A.
When mobile phone B receives description information (the first description information) of the desktop layouts of mobile phone A, if based on mobile phone B When the adaptation strategies of mobile phone A are not found in local adaptation strategies storehouse, can by server send mobile phone A desktop layouts, The mode of type asks the adaptation strategies of mobile phone A, by the adaptation strategies of whois lookup type corresponding with mobile phone A, and according to suitable The description information of the desktop layouts of mobile phone A is adapted to strategy, generation, which is formed, is available for mobile phone B recovering the number of desktop layouts According to (the second description information), and mobile phone B is issued to, recovers the effect of the desktop layouts of mobile phone A by mobile phone B desktop starter.
Alternatively, adaptation strategies can be issued to mobile phone B by server, be directed to by the change planes layout SDK of application of mobile phone B The adaptation strategies of mobile phone A are adapted to the description information of the desktop layouts of mobile phone A, are formed and are available for mobile phone B locally loading Desktop layouts.
When mobile phone B changes planes the description information using the desktop layouts that receive mobile phone A, mobile phone B is changed planes the cloth in application Adaptation strategies of the office SDK based on mobile phone A (are found, or in local adaptation strategies storehouse in the adaptation strategies storehouse local from mobile phone B Ask to obtain to server when not finding) description informations of the desktop layouts of mobile phone A is adapted to, formation is available for mobile phone B stores to mobile phone B the SDK databases for application of changing planes, opened by mobile phone B desktop in the description information of the desktop layouts locally loaded Layout SDK in dynamic device reads the description information of desktop layouts to the data of desktop starter from the SDK databases for application of changing planes Storehouse (desktop starter database), the loading operation to desktop layouts is realized, recovers the desktop layouts of mobile phone A in mobile phone B.
The processing that desktop layouts are searched mobile phone A with reference to Fig. 6 illustrates, referring to Fig. 6, the ROM's based on mobile phone A Type (bag name, version number) if do not found, is returned in the adaptation strategies of the local adaptation strategies library lookup mobile phone A of mobile phone A Return inquiry failure and terminate to search.If found, according to the ROM type declarations brand subclasses of mobile phone A, according to ROM types The XML configuration file of desktop starter, including database access mandate/form/each field name are parsed, is awarded based on database The reference address searching data library file of power and database file, the field of database file is parsed one by one and is saved in number Group, complete to search.
In addition, the type of mobile phone A, the description information of desktop layouts is reported to be serviced to trigger to server with mobile phone A in Fig. 5 Device renewal adaptation strategies storehouse explanation, alternatively, whether mobile phone A can not check has for mobile phone A in local adaptation strategies storehouse Adaptation strategies, directly the description information of the desktop layouts of mobile phone A is sent to mobile phone B, the layout for application of being changed planes by mobile phone B SDK searches the adaptation strategies for whether having mobile phone A in the local adaptation strategies storehouse of mobile phone B, if it is not, uploading hand to server Machine A model and the description information of desktop layouts, the adaptive updates that above-mentioned adaptation strategies storehouse is carried out by server are handled.
Reverse-engineering is carried out to desktop starter below to illustrate to generate the processing of adaptation strategies:
1st, the apk files of desktop starter are exported
adb pull/system/priv-app/***Launcher/***Launcher.apk
2nd, odex files are exported
adb pull/system/priv-app/***Launcher/arm/***Launcher.odex
3rd, it is that (versions of android more than 5.0 perform step3 to dex, skip 3 less than this version, directly to convert odex files Perform 4)
java-jar oat2dex1719.jar odex CP_LAUNCHER.odex
4th, dex files turn smali, and smali is under out catalogues for generation
java-jar baksmali-2.0.3.jar-x CP_LAUNCHER.dex
5th, out catalogues turn dex files
java-Xmx512M-jar smali-2.1.0.jar./out-o classes.dex
6th, launcher.apk is opened with zip softwares to be put into classes.dex wherein
Apktool decompilings
java-jar C:Users chaseyan Desktop adaptation method jar apktool_2.0.3.jar d- f-d
C:Users chaseyan Desktop adaptation method leshi apk framework Launcher3.apk
7th, the Launcher files merged are opened with jadx
8th, AndroidManifest.xml files are checked, find LauncherProvider fields;Find Permission With Authority fields;
Confirm exported=true
9th, LauncherProvider is found, onCreate methods check data list structure.
By the reverse-engineering to different type of machines and with reference to the design of the primary desktop starter of android system, number is collected According to and summed up the corresponding relation of the field between different vendor in desktop starter, by that can be carried to these corresponding relations Produce the adaptation strategies of corresponding type.
The schematic diagram of a scenario changed planes is as shown in fig. 7, in mobile phone A, and user clicks mobile phone A transmission, into number of users According to the selection page, click on mobile phone set enter mobile phone set subpage frame, choose desktop pattern and click on confirmation send, mobile phone A The description information of the desktop pattern (desktop layouts) of itself can be detected and be sent to mobile phone B, certainly, user can select other classes The user data of type such as ringing sound of cell phone, application and multi-medium data etc.;Mobile phone A can pass through foregoing local communication with mobile phone B The direct-connected mode of mode such as Wi-Fi hotspot is communicated.
As shown in figure 8, when user mobile phone B select receive when, mobile phone B by according to the adaptation strategies of mobile phone A to mobile phone A The description information of desktop layouts, which is adapted to obtain, to utilize mobile phone B in the description information for the desktop layouts that mobile phone B locally loads Local desktop starter (such as micro- desktop, can be to download installation in advance) loading desktop layouts, as shown in figure 9, extensive in mobile phone B The multiple desktop layouts consistent with mobile phone A, and ringing sound of cell phone, application and the multi-medium data that user is selected to send in mobile phone A It is locally stored Deng in mobile phone B.
In addition, referring to the processing logical schematic of icon in the identification mobile phone A desktop layouts shown in Figure 10, because desktop opens The characteristic of dynamic device, the application icon of each installation can account for a case on the desktop that desktop starter loads and put, change planes Under scene, some in possible mobile phone A applies A, because a variety of causes is not diverted into mobile phone B, then mobile phone A is laid out originally In position a vacancy occurs in mobile phone B, not only influence attractive in appearance also to influence Consumer's Experience.Therefore, use an acquiescence Grey icon replace the application of this vacancy.User can delete this icon as needed, and desktop starter can profit Clear position can be filled up with follow-up icon, the like.Or when user clicks on grey icon, application market is gone to download This application.Certainly, mobile phone B can also be downloaded using being installed, to avoid what is occurred when mobile phone B recovers desktop layouts automatically The problem of application icon lacks.
Referring to Figure 11, the embodiment of the present invention also provides a kind of desktop layouts processing unit 20, as an example, works as desktop When layout processing device 20 is applied to the terminal shown in Fig. 1, each unit in desktop layouts processing unit 20 can be shown in Fig. 1 Processor is realized.An it is pointed out that optional functional structure signal of the desktop layouts processing unit 20 shown in Figure 11 Figure, those skilled in the art are based on Figure 11 can carry out further splitting or merging to unit therein.
In fig. 11, desktop layouts processing unit 20 includes:
Detection unit 21, for detecting the first description information of the desktop layouts loaded in first terminal;
First acquisition unit 22, for the mark based on the first terminal, obtain the desktop for being adapted to the first terminal It is laid out the adaptation strategies of describing mode and the desktop layouts describing mode of second terminal;
Adaptation unit 23, for being adapted to based on the adaptation strategies to the first description information of the desktop layouts, Obtain the second description information for describing the desktop layouts with the desktop layouts describing mode of the second terminal and being formed;
Loading unit 24, for loading the desktop layouts in the second terminal based on second description information.
In one embodiment, the detection unit 21, it is additionally operable to obtain desktop in the first terminal and starts application The authorization message and reference address of database file, based on the authorization message and reference address in corresponding data library text In part, the field that the desktop starts the feature that each graphic element of the desktop layouts is characterized in application is detected.
In one embodiment, the adaptation unit 23, is additionally operable to the mark based on the first terminal, described second The adaptation strategies are found in the adaptation strategies storehouse of terminal local;When not finding, the server side is obtained based on described The adaptation strategies that the identifier lookup of first terminal arrives, or obtain the adaptation strategies that server side is formed, the adaptation The installation kit that strategy first desktop described in the server side reverse resolution starts application is formed.
In one embodiment, the adaptation unit 23, it is additionally operable to be identified as index with the first terminal, described In the local adaptation strategies storehouse of second terminal, search in the desktop layouts describing mode of the first terminal and characterize the tabletop clothes Between the field for the feature for characterizing each graphic element in the field and the second terminal of the feature of each graphic element of office The corresponding relation.
In one embodiment, the adaptation unit 23, it is additionally operable to be based on the adaptation strategies, determines the first terminal Desktop layouts describing mode in characterize each graphic element of the desktop layouts feature field the second terminal table Corresponding field in the layout describing mode of face.
In one embodiment, the loading unit 24, it is additionally operable to the desktop layouts description side based on the second terminal The field of the feature of each graphic element of the desktop layouts is characterized in formula, determines each graphic element in the second terminal institute Locate desktop sequence number and the arrangement position of desktop, loading is described each in the arrangement position of the second terminal corresponding sequence desktop Graphic element.
In one embodiment, the loading unit 24, it is additionally operable to the desktop layouts description side based on the second terminal The field of the feature of each graphic element of the desktop layouts is characterized in formula, determines the application class of each graphic element association, Each graphic element that the second terminal association is loaded applies class accordingly, and the application class is used in the corresponding figure Element starts when triggering.
In one embodiment, the loading unit 24, it is additionally operable to detect in second terminal figure to be loaded When application associated by element is not installed, the corresponding application is installed, and load the pattern primitive in the second terminal Element.
In one embodiment, the loading unit 24, it is additionally operable to detect in second terminal figure to be loaded When application associated by element is not installed, the graphic element is substituted with specific graphic elements, and add in the second terminal Carry the specific graphic elements.
Referring to Figure 12, the embodiment of the present invention also provides a kind of user data processing unit 30, as an example, works as user When data processing equipment 30 is applied to the terminal shown in Fig. 1, each unit of user data processing unit 30 can be shown in Fig. 1 Device is managed to realize.It is pointed out that an optional illustrative view of functional configuration of the user data processing unit 30 shown in Figure 12, Those skilled in the art are based on Figure 12 can carry out further splitting or merging to unit therein.
In fig. 12, user data processing unit 30 includes:
Second acquisition unit 31, for obtaining the user data of first terminal;
Detection unit 32, for detecting the first description information of the desktop layouts loaded in first terminal;
First acquisition unit 33, for the mark based on the first terminal, obtain the desktop for being adapted to the first terminal It is laid out the adaptation strategies of describing mode and the desktop layouts describing mode of second terminal;
Adaptation unit 34, for being adapted to based on the adaptation strategies to the first description information of the desktop layouts, Obtain the second description information for describing the desktop layouts with the desktop layouts describing mode of the second terminal and being formed;
Loading unit 35, for loading the desktop layouts in the second terminal based on second description information;
Recovery unit 36, for by the user data remove first description information the user data recover to The second terminal.
In one embodiment, the detection unit 32, it is additionally operable to obtain desktop in the first terminal and starts application The authorization message and reference address of database file, based on the authorization message and reference address in corresponding data library text In part, the field that the desktop starts the feature that each graphic element of the desktop layouts is characterized in application is detected.
In one embodiment, the adaptation unit 34, is additionally operable to the mark based on the first terminal, described second The adaptation strategies are found in the adaptation strategies storehouse of terminal local;When not finding, the server side is obtained based on described The adaptation strategies that the identifier lookup of first terminal arrives, or obtain the adaptation strategies that server side is formed, the adaptation The installation kit that strategy first desktop described in the server side reverse resolution starts application is formed.
In one embodiment, the adaptation unit 34, it is additionally operable to be identified as index with the first terminal, described In the local adaptation strategies storehouse of second terminal, search in the desktop layouts describing mode of the first terminal and characterize the tabletop clothes Between the field for the feature for characterizing each graphic element in the field and the second terminal of the feature of each graphic element of office The corresponding relation.
In one embodiment, the adaptation unit 34, it is additionally operable to be based on the adaptation strategies, determines the first terminal Desktop layouts describing mode in characterize each graphic element of the desktop layouts feature field the second terminal table Corresponding field in the layout describing mode of face.
In one embodiment, the loading unit 35, it is additionally operable to the desktop layouts description side based on the second terminal The field of the feature of each graphic element of the desktop layouts is characterized in formula, determines each graphic element in the second terminal institute Locate desktop sequence number and the arrangement position of desktop, loading is described each in the arrangement position of the second terminal corresponding sequence desktop Graphic element.
In one embodiment, the loading unit 35, it is additionally operable to the desktop layouts description side based on the second terminal The field of the feature of each graphic element of the desktop layouts is characterized in formula, determines the application class of each graphic element association, Each graphic element that the second terminal association is loaded applies class accordingly, and the application class is used in the corresponding figure Element starts when triggering.
In one embodiment, the loading unit 35, it is additionally operable to detect in second terminal figure to be loaded When application associated by element is not installed, the corresponding application is installed, and load the pattern primitive in the second terminal Element.
In one embodiment, the loading unit 35, it is additionally operable to detect in second terminal figure to be loaded When application associated by element is not installed, the graphic element is substituted with specific graphic elements, and add in the second terminal Carry the specific graphic elements.
The embodiment of the present invention has the advantages that:
1) due to the adaptation strategies based on the desktop layouts describing mode between equipment, in desktop layouts description information Graphic element is adapted to for the desktop layouts describing mode of second terminal, therefore obtained description information is available for second eventually The second desktop in end starts application loading and identical graphic element in first terminal, realizes and first terminal identical desktop Layout;The adaptation strategies of desktop layouts describing mode based on distinct device, can be realized between different brands, model device The efficient seamless migration of desktop layouts, and maintain the front and rear uniformity of desktop layouts migration.
2) when not being fitted to corresponding relation, from the more comprehensive data base querying corresponding relation of server side, and Make server when not inquiring corresponding relation, start the reverse resolution of the installation kit of application, dynamic renewal pair based on desktop It should be related to, realize that the migration for the desktop layouts for starting application to the desktop of full type is supported.
3) it is fitted without in the target terminal of migration desktop layouts in source terminal desktop layouts corresponding to application icon Using when, remind user to migrate the missing applied after desktop layouts, or the application of automatic installation missing with special icon, realize The intelligentized seamless migration of desktop layouts between the terminals.
4) in the scene changed planes, support disposably to migrate desktop layouts and communication record data, application data etc. To new terminal, it is the operation of desktop layouts that saving user, which reinstalls application and setting, improves ease for use.
It will be appreciated by those skilled in the art that:Journey can be passed through by realizing all or part of step of above method embodiment Sequence instructs related hardware to complete, and foregoing program can be stored in a computer read/write memory medium, and the program exists During execution, execution the step of including above method embodiment;And foregoing storage medium includes:Flash memory device, deposit at random Access to memory (RAM, Random Access Memory), read-only storage (ROM, Read-Only Memory), magnetic disc or CD etc. is various can be with the medium of store program codes.
Or if the above-mentioned integrated unit of the present invention is realized in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented The part that the technical scheme of example substantially contributes to correlation technique in other words can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are causing a computer installation (can be with It is personal computer, server or network equipment etc.) perform all or part of each embodiment methods described of the present invention. And foregoing storage medium includes:Flash memory device, RAM, ROM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (20)

1. a kind of desktop layouts processing method, it is characterised in that methods described includes:
First description information of the desktop layouts loaded in detection first terminal;
Based on the mark of the first terminal, the desktop layouts describing mode for being adapted to the first terminal and second terminal are obtained The adaptation strategies of desktop layouts describing mode;
The first description information of the desktop layouts is adapted to based on the adaptation strategies, obtained with the second terminal The second description information that desktop layouts describing mode describes the desktop layouts and formed;
The desktop layouts are loaded in the second terminal based on second description information.
2. according to the method for claim 1, it is characterised in that the of the desktop layouts loaded in the detection first terminal One description information, including:
Authorization message and reference address that desktop in the first terminal starts the database file of application are obtained, based on described Authorization message and reference address detect in the desktop startup application in corresponding database file and characterize the tabletop clothes The field of the feature of each graphic element of office.
3. according to the method for claim 1, it is characterised in that the mark based on the first terminal, obtain adaptation The adaptation strategies of the desktop layouts describing mode of the first terminal and the desktop layouts describing mode of second terminal, including:
Based on the mark of the first terminal, the adaptation plan is found in the local adaptation strategies storehouse of the second terminal Slightly;When not finding, the adaptation strategies that identifier lookup of the server side based on the first terminal arrives are obtained, or obtain institute The adaptation strategies of server side formation are stated, the adaptation strategies are first terminal described in the server side reverse resolution The installation kit that desktop starts application is formed.
4. according to the method for claim 1, it is characterised in that the mark based on the first terminal, obtain adaptation The adaptation strategies of the desktop layouts describing mode of the first terminal and the desktop layouts describing mode of second terminal, including:
Index is identified as with the first terminal, in the local adaptation strategies storehouse of the second terminal, searches described first The field of the feature of each graphic element of the desktop layouts and the second terminal are characterized in the desktop layouts describing mode of terminal The corresponding relation between the field of the middle feature for characterizing each graphic element.
5. according to the method for claim 1, it is characterised in that it is described based on the adaptation strategies to the desktop layouts First description information is adapted to, obtain describing the desktop layouts with the desktop layouts describing mode of the second terminal and shape Into the second description information, including:
The word of the feature of each graphic element of the desktop layouts is characterized in desktop layouts describing mode based on the first terminal Corresponding relation between the field for the feature for characterizing each graphic element in section and the second terminal, determines described first The field that the feature of each graphic element is characterized in description information is corresponding in the desktop layouts describing mode of the second terminal Field.
6. according to the method for claim 1, it is characterised in that described whole described second based on second description information End loads the desktop layouts, including:
The word of the feature of each graphic element of the desktop layouts is characterized in desktop layouts describing mode based on the second terminal Section, desktop sequence number and arrangement position of each graphic element in desktop residing for the second terminal are determined, described second The arrangement position of terminal corresponding sequence desktop loads each graphic element.
7. according to the method for claim 1, it is characterised in that described whole described second based on second description information End loads the desktop layouts, including:
The word of the feature of each graphic element of the desktop layouts is characterized in desktop layouts describing mode based on the second terminal Section, the application class of each graphic element association is determined, it is corresponding in each graphic element that second terminal association is loaded Using class, the application class starts in the corresponding graphic element triggering.
8. according to the method for claim 1, it is characterised in that described whole described second based on second description information End loads the desktop layouts, including:
Detect when the application associated by second terminal graphic element to be loaded is not installed, install it is described corresponding to should With, and the graphic element is loaded in the second terminal.
9. according to the method for claim 1, it is characterised in that described whole described second based on second description information End loads the desktop layouts, including:
Detect when the application associated by second terminal graphic element to be loaded is not installed, in the second terminal Loading substitutes the specific graphic elements of the graphic element.
10. a kind of user data processing method, it is characterised in that methods described includes:
The user data of first terminal is obtained, the desktop layouts that are loaded in the first terminal are detected from the user data First description information;
Based on the mark of the first terminal, the desktop layouts describing mode for being adapted to the first terminal and second terminal are obtained The adaptation strategies of desktop layouts describing mode;
The first description information of the desktop layouts is adapted to based on the adaptation strategies, obtained with the second terminal The second description information that desktop layouts describing mode describes the desktop layouts and formed;
The desktop layouts are loaded in the second terminal based on second description information;
The user data that the desktop layouts are removed in the user data is recovered to the second terminal.
11. a kind of desktop layouts processing unit, it is characterised in that described device includes:
Detection unit, for detecting the first description information of the desktop layouts loaded in first terminal;
First acquisition unit, for the mark based on the first terminal, the desktop layouts for obtaining the adaptation first terminal are retouched State the adaptation strategies of the desktop layouts describing mode of mode and second terminal;
Adaptation unit, for being adapted to based on the adaptation strategies to the first description information of the desktop layouts, obtain with The second description information that the desktop layouts describing mode of the second terminal describes the desktop layouts and formed;
Loading unit, for loading the desktop layouts in the second terminal based on second description information.
12. device according to claim 11, it is characterised in that
The detection unit, be additionally operable to obtain desktop in the first terminal start application database file authorization message with And reference address, based on the authorization message and reference address in corresponding database file, detect the desktop and start The field of the feature of each graphic element of the desktop layouts is characterized in.
13. device according to claim 11, it is characterised in that
The adaptation unit, the mark based on the first terminal is additionally operable to, in the local adaptation strategies storehouse of the second terminal In find the adaptation strategies;When not finding, the institute that identifier lookup of the server side based on the first terminal arrives is obtained Adaptation strategies are stated, or obtain the adaptation strategies that the server side is formed, the adaptation strategies are that the server side is anti- Formed to the installation kit for parsing desktop startup application in the first terminal.
14. device according to claim 11, it is characterised in that
The adaptation unit, it is additionally operable to be identified as index with the first terminal, in the local adaptation plan of the second terminal Slightly in storehouse, feature that each graphic element of the desktop layouts is characterized in the desktop layouts describing mode of the first terminal is searched The corresponding relation between the field of the feature of each graphic element is characterized in field and the second terminal.
15. device according to claim 11, it is characterised in that
The adaptation unit, is additionally operable to be based on the adaptation strategies, in the desktop layouts describing mode for determining the first terminal It is right to characterize the field of the feature of each graphic element of the desktop layouts institute in the desktop layouts describing mode of the second terminal The field answered.
16. device according to claim 11, it is characterised in that
The loading unit, it is additionally operable to characterize the desktop layouts in the desktop layouts describing mode based on the second terminal each The field of the feature of graphic element, determine desktop sequence number and row of each graphic element in desktop residing for the second terminal Cloth position, each graphic element is loaded in the arrangement position of the second terminal corresponding sequence desktop.
17. device according to claim 11, it is characterised in that
The loading unit, it is additionally operable to characterize the desktop layouts in the desktop layouts describing mode based on the second terminal each The field of the feature of graphic element, the application class of each graphic element association is determined, is loaded in second terminal association Each graphic element apply class accordingly, the application class is used to start in the corresponding graphic element triggering.
18. device according to claim 11, it is characterised in that
The loading unit, it is additionally operable to detect and is not installed in the application associated by second terminal graphic element to be loaded When, the corresponding application is installed, and load the graphic element in the second terminal.
19. device according to claim 11, it is characterised in that
The loading unit, it is additionally operable to detect and is not installed in the application associated by second terminal graphic element to be loaded When, loading in the second terminal substitutes the specific graphic elements of the graphic element.
20. a kind of user data processing unit, it is characterised in that described device includes:
Second acquisition unit, for obtaining the user data of first terminal;
Detection unit, for detecting the first description information of the desktop layouts loaded in the first terminal;
First acquisition unit, for the mark based on the first terminal, the desktop layouts for obtaining the adaptation first terminal are retouched State the adaptation strategies of the desktop layouts describing mode of mode and second terminal;
Adaptation unit, for being adapted to based on the adaptation strategies to the first description information of the desktop layouts, obtain with The second description information that the desktop layouts describing mode of the second terminal describes the desktop layouts and formed;
Loading unit, for loading the desktop layouts in the second terminal based on second description information;
Recovery unit, for the user data that first description information is removed in the user data to be recovered to described the Two terminals.
CN201610560861.4A 2016-07-15 2016-07-15 Desktop layout processing method, user data processing method and device and computer storage medium Active CN107632872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610560861.4A CN107632872B (en) 2016-07-15 2016-07-15 Desktop layout processing method, user data processing method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610560861.4A CN107632872B (en) 2016-07-15 2016-07-15 Desktop layout processing method, user data processing method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN107632872A true CN107632872A (en) 2018-01-26
CN107632872B CN107632872B (en) 2021-07-09

Family

ID=61112613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610560861.4A Active CN107632872B (en) 2016-07-15 2016-07-15 Desktop layout processing method, user data processing method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN107632872B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920658A (en) * 2018-06-29 2018-11-30 北京金山安全软件有限公司 Mobile device desktop moving method and device and electronic device
CN110187929A (en) * 2019-05-13 2019-08-30 努比亚技术有限公司 Icon loading method, terminal and computer readable storage medium
CN110413165A (en) * 2019-06-26 2019-11-05 五八有限公司 Icon configuration method, device, electronic equipment and computer-readable medium
CN111580712A (en) * 2020-04-24 2020-08-25 广州视源电子科技股份有限公司 Desktop customization method, device, equipment, system and storage medium
WO2022062940A1 (en) * 2020-09-22 2022-03-31 华为技术有限公司 Icon data migration method, electronic device and computer readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030197719A1 (en) * 1998-05-29 2003-10-23 Lincke Scott D. Method, system and apparatus using a sensory cue to indicate subsequent action characteristics for data communications
US8266550B1 (en) * 2008-05-28 2012-09-11 Google Inc. Parallax panning of mobile device desktop
CN102682102A (en) * 2012-04-30 2012-09-19 上海量明科技发展有限公司 Desktop saving method, client and system
CN104023410A (en) * 2014-05-14 2014-09-03 北京奇虎科技有限公司 Method and device capable of realizing safe data transfer between wireless terminals
CN104063134A (en) * 2014-07-03 2014-09-24 上海斐讯数据通信技术有限公司 Method for managing Android Launcher desktop
CN104267981A (en) * 2014-09-18 2015-01-07 青岛海信移动通信技术股份有限公司 Method and device for loading application layout on desktop
CN104951212A (en) * 2014-03-25 2015-09-30 腾讯科技(深圳)有限公司 Method, device and system for processing desktop data of mobile terminal
CN104965732A (en) * 2015-06-05 2015-10-07 小米科技有限责任公司 Desktop startup method and apparatus
CN104981027A (en) * 2014-05-12 2015-10-14 腾讯科技(深圳)有限公司 Application synchronization method and system for mobile terminals
CN105138226A (en) * 2015-08-27 2015-12-09 北京奇虎科技有限公司 Desktop management method and device for intelligent terminal
CN105138420A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Data backup method, apparatus and system and data recovery method, apparatus and system
CN105426056A (en) * 2015-10-23 2016-03-23 青岛海信传媒网络技术有限公司 Desktop launcher Launcher menu displaying method and apparatus

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030197719A1 (en) * 1998-05-29 2003-10-23 Lincke Scott D. Method, system and apparatus using a sensory cue to indicate subsequent action characteristics for data communications
US8266550B1 (en) * 2008-05-28 2012-09-11 Google Inc. Parallax panning of mobile device desktop
CN102682102A (en) * 2012-04-30 2012-09-19 上海量明科技发展有限公司 Desktop saving method, client and system
CN104951212A (en) * 2014-03-25 2015-09-30 腾讯科技(深圳)有限公司 Method, device and system for processing desktop data of mobile terminal
CN104981027A (en) * 2014-05-12 2015-10-14 腾讯科技(深圳)有限公司 Application synchronization method and system for mobile terminals
CN104023410A (en) * 2014-05-14 2014-09-03 北京奇虎科技有限公司 Method and device capable of realizing safe data transfer between wireless terminals
CN104063134A (en) * 2014-07-03 2014-09-24 上海斐讯数据通信技术有限公司 Method for managing Android Launcher desktop
CN104267981A (en) * 2014-09-18 2015-01-07 青岛海信移动通信技术股份有限公司 Method and device for loading application layout on desktop
CN104965732A (en) * 2015-06-05 2015-10-07 小米科技有限责任公司 Desktop startup method and apparatus
CN105138420A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Data backup method, apparatus and system and data recovery method, apparatus and system
CN105138226A (en) * 2015-08-27 2015-12-09 北京奇虎科技有限公司 Desktop management method and device for intelligent terminal
CN105426056A (en) * 2015-10-23 2016-03-23 青岛海信传媒网络技术有限公司 Desktop launcher Launcher menu displaying method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡蕊; 王晓磊: "围绕智能终端打造生态系统", 《通信企业管理》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920658A (en) * 2018-06-29 2018-11-30 北京金山安全软件有限公司 Mobile device desktop moving method and device and electronic device
CN108920658B (en) * 2018-06-29 2022-03-29 北京金山安全软件有限公司 Mobile device desktop moving method and device and electronic device
CN110187929A (en) * 2019-05-13 2019-08-30 努比亚技术有限公司 Icon loading method, terminal and computer readable storage medium
CN110187929B (en) * 2019-05-13 2023-10-17 努比亚技术有限公司 Icon loading method, terminal and computer readable storage medium
CN110413165A (en) * 2019-06-26 2019-11-05 五八有限公司 Icon configuration method, device, electronic equipment and computer-readable medium
CN111580712A (en) * 2020-04-24 2020-08-25 广州视源电子科技股份有限公司 Desktop customization method, device, equipment, system and storage medium
CN111580712B (en) * 2020-04-24 2021-11-19 广州视源电子科技股份有限公司 Desktop customization method, device, equipment, system and storage medium
WO2022062940A1 (en) * 2020-09-22 2022-03-31 华为技术有限公司 Icon data migration method, electronic device and computer readable storage medium

Also Published As

Publication number Publication date
CN107632872B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
US11150790B2 (en) Application interface management method and apparatus
CN107632872A (en) Desktop layouts processing method, user data processing method and processing device
US20210297506A1 (en) Method, User Equipment, Server, and Apparatus for Implementing Information Sharing
CN104885055B (en) Application data synchronization method and device
US10088990B2 (en) Seamless editing and saving of online content items using applications
CN111338854B (en) Kubernetes cluster-based method and system for quickly recovering data
CN103294487B (en) The method of mounting software, equipment and system
US20170161032A1 (en) Running applications using pre-generated components
CN103049515A (en) Method, device and equipment for classifying application programs
CN103970563B (en) The method of dynamic load Android class
US20130227085A1 (en) Terminal and method for using cloud services
CN104137482A (en) Disaster recovery data center configuration method and device under cloud computing framework
CN106445663A (en) Application data migration method and device
CN105573604A (en) Classification method and device of application programs
CN102063299A (en) Method and device for assessing application running condition of mobile terminal, mobile terminal
CN102981820A (en) Automatic lifecycle management for pages on a mobile application
WO2006110005A1 (en) Method for providing contents for mobile comunication terminal
US20180101574A1 (en) Searching index information for application data
CN103324517A (en) Off-line application generation and call method, terminal and system
CN106547486A (en) A kind of data migration method and device
CN105591778A (en) Method and system for updating configuration file in distributed system
CN109271211A (en) Method, apparatus of attending to anything else, equipment and the medium of application program
CN105915615A (en) Method for displaying application information in mobile equipment and device thereof
CN103577554A (en) Method and device for triggering multimedia database scanning of Android equipment
CN113434063A (en) Information display method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant