CN114489425A - Desktop layout migration method and device, storage medium and terminal equipment - Google Patents

Desktop layout migration method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN114489425A
CN114489425A CN202210124684.0A CN202210124684A CN114489425A CN 114489425 A CN114489425 A CN 114489425A CN 202210124684 A CN202210124684 A CN 202210124684A CN 114489425 A CN114489425 A CN 114489425A
Authority
CN
China
Prior art keywords
desktop
target
layout
app
desktop layout
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.)
Pending
Application number
CN202210124684.0A
Other languages
Chinese (zh)
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.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu 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 TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202210124684.0A priority Critical patent/CN114489425A/en
Publication of CN114489425A publication Critical patent/CN114489425A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • G06F9/5088Techniques for rebalancing the load in a distributed system involving task migration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a desktop layout migration method, a desktop layout migration device, a storage medium and a terminal device, wherein the method comprises the following steps: receiving a desktop layout migration request, and acquiring an initial desktop and a target layout strategy of a desktop layout to be changed, which are carried by the desktop layout migration request; determining a resource acquisition path corresponding to the target layout strategy according to the target layout strategy; acquiring target resources for performing desktop layout migration operation according to the resource acquisition path; and performing desktop layout migration operation on the initial desktop based on the target resources to obtain a target desktop containing the target resources. According to the desktop layout migration method and device, the target resources used for desktop layout migration operation in the heart instrument desktop layout scheme provided by the user are extracted, and desktop layout migration operation is performed on the initial desktop to be subjected to desktop layout change according to the extracted target resources, so that the target desktop to be subjected to layout based on the target resources is obtained, the user can freely and conveniently change the application desktop layout according to own preference, and the experience degree of the user is further improved.

Description

Desktop layout migration method and device, storage medium and terminal equipment
Technical Field
The present application relates to the field of electronic communications technologies, and in particular, to a desktop layout migration method and apparatus, a storage medium, and a terminal device.
Background
When a user wants to simulate a certain desktop layout scheme, the user usually needs to press an app icon on a desktop manually and drag the app icon to finish the desktop layout scheme, however, the traditional personalized desktop layout method has certain requirements on the operation skills of the user and wastes time and labor, and when the desktop layout scheme of the psychograph has a plurality of app icons or even is distributed on different pages, the workload required by the desktop layout is greatly increased, and bad experience is brought to the user.
Disclosure of Invention
The embodiment of the application provides a desktop layout migration method, a desktop layout migration device, a storage medium and a terminal device.
An embodiment of the present application provides a desktop layout migration method, including:
receiving a desktop layout migration request, and acquiring an initial desktop and a target layout strategy of a desktop layout to be changed, which are carried by the desktop layout migration request;
determining a resource acquisition path corresponding to the target layout strategy according to the target layout strategy;
acquiring target resources for desktop layout migration operation according to the resource acquisition path;
and performing desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop containing the target resource.
In the desktop layout migration method according to the embodiment of the application, the target layout policy includes a first policy and/or a second policy;
the first strategy is used for indicating desktop layout migration operation according to first image data, and the first image data is prestored in target equipment corresponding to the initial desktop;
the second policy is used for instructing desktop layout migration operation according to second image data, and the second image data is obtained from other places except the target device through image obtaining equipment.
In the desktop layout migration method according to the embodiment of the present application, the acquiring, according to the resource acquisition path, a target resource for performing the desktop layout migration operation includes:
inputting the first image data or the second image data into a pre-trained data extraction model for data extraction operation to obtain the target resource;
the target resource comprises the number of app arrangement columns, the number of app arrangement rows, the name of apps and the position coordinates of apps in the first image data or the second image data.
In the desktop layout migration method according to the embodiment of the present application, before the inputting the first image data or the second image data into a pre-trained data extraction model for data extraction, the method further includes:
acquiring a training sample of a data extraction model to be trained, wherein the training sample comprises an image provided with a label;
performing feature extraction on the images in the training sample through the data extraction model to be trained to obtain text feature vectors corresponding to the images;
extracting target resources in the images in the training samples based on the text characteristic vectors through the data extraction model to be trained to obtain the recognition results of the images;
and adjusting parameters of the data extraction model to be trained based on the recognition result and the label of the image to obtain the pre-trained data extraction model.
In the desktop layout migration method according to the embodiment of the present application, performing a desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop including the target resource includes:
removing the initial layout of the initial desktop to obtain a blank desktop;
performing framework construction operation on the blank desktop based on the app arrangement column number and the app arrangement row number to obtain a basic layout framework;
calling an app icon corresponding to the app name from the target device based on the app name;
and arranging the app icons on the basic layout frame based on the position coordinates of the app to obtain a target desktop containing the target resource.
In the desktop layout migration method according to an embodiment of the present application, before the invoking of the app icon corresponding to the app name from the target device based on the app name, the method further includes:
judging whether the app names exist in the target equipment or not;
determining a target app name that does not exist at the target device;
and generating prompt information containing the name of the target app.
In the desktop layout migration method according to the embodiment of the present application, after the generating the hint information including the name of the target app, the method further includes:
providing a selection interface for a user to permit or refuse to automatically download the target app corresponding to the target app name from an application mall;
and when the user selects permission operation for the selection interface, downloading the target app from the application mall, and arranging the icon corresponding to the target app at the position corresponding to the basic layout frame.
Correspondingly, another aspect of the embodiments of the present application further provides a desktop layout migration apparatus, including:
the desktop layout migration system comprises a receiving module, a management module and a management module, wherein the receiving module is used for receiving a desktop layout migration request and acquiring an initial desktop and a target layout strategy of a desktop layout to be changed, which are carried by the desktop layout migration request;
the determining module is used for determining a resource obtaining path corresponding to the target layout strategy according to the target layout strategy;
the acquisition module is used for acquiring target resources for desktop layout migration operation according to the resource acquisition path;
and the migration module is used for performing desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop containing the target resource.
Accordingly, another aspect of the embodiments of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the desktop layout migration method described above.
Correspondingly, another aspect of the embodiment of the present application further provides a terminal device, including a processor and a memory, where the memory stores multiple instructions, and the processor loads the instructions to execute the desktop layout migration method described above.
The embodiment of the application provides a desktop layout migration method, a device, a storage medium and a terminal device, wherein the method comprises the steps of receiving a desktop layout migration request, and acquiring an initial desktop and a target layout strategy of a desktop layout to be changed, which are carried by the desktop layout migration request; determining a resource acquisition path corresponding to the target layout strategy according to the target layout strategy; acquiring target resources for performing desktop layout migration operation according to the resource acquisition path; and performing desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop containing the target resource. According to the desktop layout migration method and device, the target resources used for desktop layout migration operation in the heart instrument desktop layout scheme provided by the user are extracted, and desktop layout migration operation is performed on the initial desktop to be subjected to desktop layout change according to the extracted target resources, so that the target desktop to be subjected to layout based on the target resources is obtained, the user can freely and conveniently change the application desktop layout according to own preference, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart illustrating a desktop layout migration method according to an embodiment of the present application.
Fig. 2 is another schematic flow chart of the desktop layout migration method according to the embodiment of the present application.
Fig. 3 is a schematic structural diagram of a desktop layout migration apparatus according to an embodiment of the present application.
Fig. 4 is another schematic structural diagram of a desktop layout migration apparatus according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The embodiment of the application provides a desktop layout migration method, which can be applied to terminal equipment. The terminal equipment can be equipment such as a smart phone and a computer.
When a user wants to simulate a certain desktop layout scheme, the user usually needs to press an app icon on a desktop manually and drag the app icon to finish the desktop layout scheme, however, the traditional personalized desktop layout method has certain requirements on the operation skills of the user and wastes time and labor, and when the desktop layout scheme of the psychograph has a plurality of app icons or even is distributed on different pages, the workload required by the desktop layout is greatly increased, and bad experience is brought to the user.
In order to solve the above technical problem, an embodiment of the present application provides a desktop layout migration method. By means of the desktop layout migration method, the target resources used for desktop layout migration operation in the heart instrument desktop layout scheme provided by the user are extracted, and desktop layout migration operation is performed on the initial desktop to be subjected to desktop layout change according to the extracted target resources, so that the target desktop to be subjected to layout based on the target resources is obtained, the user can freely and conveniently change the application desktop layout according to own preference, and experience of the user is improved.
Referring to fig. 1-2, fig. 1 is a schematic flow chart illustrating a desktop layout migration method according to an embodiment of the present disclosure. The desktop layout migration method is applied to terminal equipment, and the method can comprise the following steps:
step 101, receiving a desktop layout migration request, and acquiring an initial desktop and a target layout strategy of a desktop layout to be changed, which are carried by the desktop layout migration request.
When a user wants to simulate a certain desktop layout scheme, the user usually needs to press an app icon on a desktop manually and drag the app icon to finish the desktop layout scheme, however, the traditional personalized desktop layout method has certain requirements on the operation skills of the user and wastes time and labor, and when the desktop layout scheme of the psychograph has a plurality of app icons or even is distributed on different pages, the workload required by the desktop layout is greatly increased, and bad experience is brought to the user.
Therefore, in order to solve the technical problem, according to the scheme, the target resource for performing the desktop layout migration operation in the cardioscope desktop layout scheme provided by the user is extracted, and the desktop layout migration operation is performed on the initial desktop to be subjected to desktop layout change according to the extracted target resource, so that the target desktop to be subjected to layout based on the target resource is obtained, and in a popular way, the cardioscope desktop layout scheme provided by the user is copied and replaced on the initial desktop of the user.
In this embodiment, a user may perform a long-time pressing operation in a designated area or any blank of an initial desktop of a desktop layout to be changed, trigger a button display of "automatically customizing desktop layout", indicate that a desktop layout migration request is sent when the user clicks the button of "automatically customizing desktop layout", and determine a current initial desktop and target layout policy after the terminal device receives the desktop layout migration request sent by the user.
Wherein the target layout strategy comprises a first strategy and/or a second strategy;
the first strategy is used for indicating desktop layout migration operation according to first image data, and the first image data is prestored in target equipment corresponding to the initial desktop; namely, if the first image data corresponding to the user-provided mood instrument desktop layout scheme is prestored in the target device, the first image data is automatically positioned to the storage position of the first image data.
The second policy is used for instructing desktop layout migration operation according to second image data, and the second image data is obtained from other places except the target device through image obtaining equipment. That is, if the second image data corresponding to the psychographic desktop layout scheme provided by the user does not exist in the target device, the second image data may be obtained by scanning the psychographic desktop layout scheme provided by the user through an image acquisition device, for example, a camera on the target device.
And 102, determining a resource acquisition path corresponding to the target layout strategy according to the target layout strategy.
In this embodiment, when the target layout policy is the first policy, the resource obtaining path corresponding to the target layout policy is to locate a storage location of the first image data from the target device according to a preset identifier (e.g., a text identifier) of the first image data to obtain the first image data. When the target layout strategy is a second strategy, the resource acquisition path corresponding to the target layout strategy is to acquire second image data corresponding to the cardioscope desktop layout scheme provided by the user through the image acquisition equipment.
And 103, acquiring a target resource for performing desktop layout migration operation according to the resource acquisition path.
In this embodiment, the target resource includes the number of app arrangement columns, the number of app arrangement rows, the app name, and the location coordinate of the app in the first image data or the second image data.
Illustratively, the target resource may be obtained by inputting the first image data or the second image data into a pre-trained data extraction model for data extraction operations.
It should be explained that the data extraction model can be obtained based on model training of decision trees, gradient boosting trees, convolutional neural networks, naive bayes, logistic regression, and the like.
In this embodiment, a training process of a data extraction model is explained by taking a convolutional neural network model as an example, which specifically includes:
acquiring a training sample of a data extraction model to be trained, wherein the training sample comprises an image provided with a label;
performing feature extraction on the images in the training sample through the data extraction model to be trained to obtain text feature vectors corresponding to the images;
extracting target resources in the images in the training samples based on the text characteristic vectors through the data extraction model to be trained to obtain the recognition results of the images;
and adjusting parameters of the data extraction model to be trained based on the recognition result and the label of the image to obtain the pre-trained data extraction model.
And 104, performing desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop containing the target resource.
In this embodiment, after the initial desktop and the target resource for performing the desktop layout migration operation are determined, the desktop layout migration operation may be performed. In some embodiments, the specific process of the desktop layout migration operation includes:
removing the initial layout of the initial desktop to obtain a blank desktop;
performing framework construction operation on the blank desktop based on the app arrangement column number and the app arrangement row number to obtain a basic layout framework;
calling an app icon corresponding to the app name from the target device based on the app name;
and arranging the app icons on the basic layout frame based on the position coordinates of the apps to obtain a target desktop containing target resources.
In some scenarios, it is possible that the mood desktop layout scheme provided by the user includes apps that are not downloaded in the target device of the user, and in order to solicit the opinion of the user, it may be determined whether all app names exist in the target device, and then the target app name that does not exist in the target device is determined, and a prompt message is generated according to the target app name, so as to remind the user of interruption of migration due to the presence of apps that need to be temporarily downloaded during the migration process.
In some embodiments, after generating the prompt message containing the target app name, a selection interface may be further provided for the user to allow or deny the user to automatically download the target app corresponding to the target app name from the application mall; when the user selects permission operation for the selection interface, the target device automatically downloads the target app from the application mall and arranges the icon corresponding to the target app at the position corresponding to the basic layout frame.
When the user selects a deny operation for the selection interface, the addition of that app is skipped, followed by the addition of the next app until all apps have been traversed once. It should be noted that the apps that are skipped to add will reserve a blank area on the basic layout framework, or fill up the blank area with apps that other users agree to add.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, the desktop layout migration method provided in the embodiment of the present application obtains the initial desktop and the target layout strategy of the desktop layout to be changed, which are carried in the desktop layout migration request, by receiving the desktop layout migration request; determining a resource acquisition path corresponding to the target layout strategy according to the target layout strategy; acquiring target resources for desktop layout migration operation according to the resource acquisition path; and performing desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop containing the target resource. According to the desktop layout migration method and device, the target resources used for desktop layout migration operation in the heart instrument desktop layout scheme provided by the user are extracted, and desktop layout migration operation is performed on the initial desktop to be subjected to desktop layout change according to the extracted target resources, so that the target desktop to be subjected to layout based on the target resources is obtained, the user can freely and conveniently change the application desktop layout according to own preference, and the user experience is improved.
The embodiment of the application also provides a desktop layout migration device, which can be integrated in the terminal equipment. The terminal equipment can be equipment such as a smart phone and a tablet personal computer.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a desktop layout migration apparatus according to an embodiment of the present disclosure. The desktop layout migration apparatus 30 may include:
the receiving module 31 is configured to receive a desktop layout migration request, and acquire an initial desktop and a target layout policy of a desktop layout to be changed, which are carried in the desktop layout migration request;
a determining module 32, configured to determine a resource obtaining path corresponding to the target layout policy according to the target layout policy;
an obtaining module 33, configured to obtain, according to the resource obtaining path, a target resource for performing the desktop layout migration operation;
and the migration module 34 is configured to perform desktop layout migration operation on the initial desktop based on the target resource, so as to obtain a target desktop including the target resource.
In some embodiments, the target layout policy comprises a first policy and/or a second policy;
the first strategy is used for indicating desktop layout migration operation according to first image data, and the first image data is prestored in target equipment corresponding to the initial desktop;
the second policy is used for instructing desktop layout migration operation according to second image data, and the second image data is obtained from other places except the target device through image obtaining equipment.
In some embodiments, the obtaining module is configured to input the first image data or the second image data into a pre-trained data extraction model for data extraction operation, so as to obtain the target resource; the target resource comprises the number of app arrangement columns, the number of app arrangement rows, the name of apps and the position coordinates of apps in the first image data or the second image data.
In some embodiments, the apparatus further includes a pre-training module configured to obtain a training sample of the data extraction model to be trained, where the training sample includes an image provided with a label; performing feature extraction on the images in the training sample through the data extraction model to be trained to obtain text feature vectors corresponding to the images; extracting target resources in the images in the training samples based on the text feature vectors through the data extraction model to be trained to obtain the recognition results of the images; and adjusting parameters of the data extraction model to be trained based on the recognition result and the label of the image to obtain the pre-trained data extraction model.
In some embodiments, the migration module 34 is configured to remove the initial layout of the initial desktop to obtain a blank desktop; performing framework construction operation on the blank desktop based on the app arrangement column number and the app arrangement row number to obtain a basic layout framework; calling an app icon corresponding to the app name from the target device based on the app name; and arranging the app icons on the basic layout frame based on the position coordinates of the app to obtain a target desktop containing the target resource.
In some embodiments, the apparatus further includes a prompt module configured to determine whether the app names are all present in the target device; determining a target app name that does not exist at the target device; and generating prompt information containing the name of the target app.
In some embodiments, the apparatus further includes a providing module for providing a selection interface for a user to permit or deny automatic downloading of the target app corresponding to the target app name from the application mall; and when the user selects permission operation for the selection interface, downloading the target app from the application mall, and arranging the icon corresponding to the target app at the position corresponding to the basic layout frame.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the desktop layout migration apparatus 30 provided in the embodiment of the present application, the receiving module 31 receives the desktop layout migration request, and obtains the initial desktop and the target layout policy of the desktop layout to be changed, which are carried in the desktop layout migration request; the determining module 32 determines a resource obtaining path corresponding to the target layout strategy according to the target layout strategy; the obtaining module 33 obtains a target resource for performing the desktop layout migration operation according to the resource obtaining path; the migration module 34 performs desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop including the target resource.
Referring to fig. 4, fig. 4 is another schematic structural diagram of a desktop layout migration apparatus according to an embodiment of the present disclosure, in which the desktop layout migration apparatus 30 includes a memory 120, one or more processors 180, and one or more application programs, where the one or more application programs are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a receiving module 31, a determining module 32, an obtaining module 33, and a migrating module 34. For example, the structures and connection relationships of the above components may be as follows:
the memory 120 may be used to store applications and data. The memory 120 stores applications containing executable code. The application programs may constitute various functional modules. The processor 180 executes various functional applications and data processing by running the application programs stored in the memory 120. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the device and processes data by running or executing an application program stored in the memory 120 and calling data stored in the memory 120, thereby monitoring the entire device. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the application programs stored in the memory 120, thereby implementing various functions:
the receiving module 31 is configured to receive a desktop layout migration request, and acquire an initial desktop and a target layout policy of a desktop layout to be changed, which are carried in the desktop layout migration request;
a determining module 32, configured to determine, according to the target layout policy, a resource obtaining path corresponding to the target layout policy;
an obtaining module 33, configured to obtain, according to the resource obtaining path, a target resource for performing the desktop layout migration operation;
and the migration module 34 is configured to perform desktop layout migration operation on the initial desktop based on the target resource, so as to obtain a target desktop including the target resource.
In some embodiments, the target layout policy comprises a first policy and/or a second policy;
the first strategy is used for indicating desktop layout migration operation according to first image data, and the first image data is prestored in target equipment corresponding to the initial desktop;
the second policy is used for instructing desktop layout migration operation according to second image data, and the second image data is obtained from other places except the target device through image obtaining equipment.
In some embodiments, the obtaining module is configured to input the first image data or the second image data into a pre-trained data extraction model for data extraction operation, so as to obtain the target resource; the target resource comprises the number of app arrangement columns, the number of app arrangement rows, the name of apps and the position coordinates of apps in the first image data or the second image data.
In some embodiments, the apparatus further includes a pre-training module configured to obtain a training sample of a data extraction model to be trained, the training sample including an image provided with a label; performing feature extraction on the images in the training sample through the data extraction model to be trained to obtain text feature vectors corresponding to the images; extracting target resources in the images in the training samples based on the text feature vectors through the data extraction model to be trained to obtain the recognition results of the images; and adjusting parameters of the data extraction model to be trained based on the recognition result and the label of the image to obtain the pre-trained data extraction model.
In some embodiments, the migration module 34 is configured to remove the initial layout of the initial desktop to obtain a blank desktop; performing framework construction operation on the blank desktop based on the app arrangement column number and the app arrangement row number to obtain a basic layout framework; calling an app icon corresponding to the app name from the target device based on the app name; and arranging the app icons on the basic layout frame based on the position coordinates of the app to obtain a target desktop containing the target resource.
In some embodiments, the apparatus further includes a prompt module configured to determine whether the app names are all present in the target device; determining a target app name that does not exist at the target device; and generating prompt information containing the name of the target app.
In some embodiments, the apparatus further includes a providing module for providing a selection interface for a user to permit or deny automatic downloading of the target app corresponding to the target app name from the application mall; and when the user selects permission operation for the selection interface, downloading the target app from the application mall, and arranging the icon corresponding to the target app at the position corresponding to the basic layout frame.
The embodiment of the application also provides the terminal equipment. The terminal equipment can be equipment such as a smart phone, a computer and a tablet computer.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal device provided in an embodiment of the present application, where the terminal device may be used to implement the desktop layout migration method provided in the foregoing embodiment. The terminal device 1200 may be a television, a smart phone, or a tablet computer.
As shown in fig. 5, the terminal device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown in the figure), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown in the figure), and a power supply 190. Those skilled in the art will appreciate that the terminal device 1200 configuration shown in fig. 5 does not constitute a limitation of terminal device 1200, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be configured to store a software program and a module, such as a program instruction/module corresponding to the desktop layout migration method in the foregoing embodiment, and the processor 180 executes various functional applications and data processing by operating the software program and the module stored in the memory 120, and may automatically select a vibration alert mode according to a current scene where the terminal device is located to perform desktop layout migration, which may not only ensure that scenes such as a conference are not disturbed, but also ensure that a user may perceive an incoming call, and improve intelligence of the terminal device. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the terminal device 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphic user interfaces of the terminal apparatus 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 5, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal device 1200 may also include at least one sensor 150, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal device 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the terminal device 1200, detailed descriptions thereof are omitted.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal device 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 1200.
The terminal device 1200, which may assist the user in sending and receiving e-mails, browsing web pages, accessing streaming media, etc., through the transmission module 170 (e.g., Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 5 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the terminal device 1200, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal device 1200, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal device 1200 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Terminal device 1200 also includes a power supply 190 for powering the various components, which in some embodiments may be logically coupled to processor 180 via a power management system to manage power discharge and power consumption via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit 140 of the terminal device 1200 is a touch screen display, and the terminal device 1200 further includes a memory 120, and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
receiving an instruction, wherein the instruction is used for receiving a desktop layout migration request and acquiring an initial desktop and a target layout strategy of a desktop layout to be changed, which are carried by the desktop layout migration request;
determining instructions, configured to determine, according to the target layout policy, a resource acquisition path corresponding to the target layout policy;
an obtaining instruction, configured to obtain a target resource for performing desktop layout migration operation according to the resource obtaining path;
and the migration instruction is used for carrying out desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop containing the target resource.
In some embodiments, the target layout policy comprises a first policy and/or a second policy; the first strategy is used for indicating desktop layout migration operation according to first image data, and the first image data is prestored in target equipment corresponding to the initial desktop; the second policy is used for instructing desktop layout migration operation according to second image data, and the second image data is obtained from other places except the target device through image obtaining equipment.
In some embodiments, the obtaining instruction is configured to input the first image data or the second image data into a pre-trained data extraction model for data extraction operation, so as to obtain the target resource; the target resource comprises the number of app arrangement columns, the number of app arrangement rows, the name of apps and the position coordinates of apps in the first image data or the second image data.
In some embodiments, the program further includes pre-training instructions for obtaining a training sample of the data extraction model to be trained, the training sample including an image provided with a label; performing feature extraction on the images in the training sample through the data extraction model to be trained to obtain text feature vectors corresponding to the images; extracting target resources in the images in the training samples based on the text characteristic vectors through the data extraction model to be trained to obtain the recognition results of the images; and adjusting parameters of the data extraction model to be trained based on the recognition result and the label of the image to obtain the pre-trained data extraction model.
In some embodiments, the migration instruction is configured to remove the initial layout of the initial desktop to obtain a blank desktop; performing framework construction operation on the blank desktop based on the app arrangement column number and the app arrangement row number to obtain a basic layout framework; calling an app icon corresponding to the app name from the target device based on the app name; and arranging the app icons on the basic layout frame based on the position coordinates of the app to obtain a target desktop containing the target resource.
In some embodiments, the program further includes prompt instructions for determining whether all of the app names are present on the target device; determining a target app name that does not exist at the target device; and generating prompt information containing the name of the target app.
In some embodiments, the program further includes providing instructions for providing a selection interface for a user to permit or deny automatic downloading of the target app corresponding to the target app name from the application mall; and when the user selects permission operation for the selection interface, downloading the target app from the application mall, and arranging the icon corresponding to the target app at the position corresponding to the basic layout frame.
The embodiment of the application also provides the terminal equipment. The terminal equipment can be equipment such as a smart phone and a computer.
As can be seen from the above, an embodiment of the present application provides a terminal device 1200, where the terminal device 1200 executes the following steps:
an embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the desktop layout migration method according to any of the above embodiments.
It should be noted that, for the desktop layout migration method described in the present application, it may be understood by a person skilled in the art that all or part of the process for implementing the desktop layout migration method described in the present application may be completed by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of a terminal device, and executed by at least one processor in the terminal device, and the process of executing the process may include the process of the embodiment of the desktop layout migration method described above. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the desktop layout migration apparatus in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The desktop layout migration method, the desktop layout migration device, the storage medium and the terminal device provided by the embodiment of the application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A desktop layout migration method is characterized by comprising the following steps:
receiving a desktop layout migration request, and acquiring an initial desktop and a target layout strategy of a desktop layout to be changed, which are carried by the desktop layout migration request;
determining a resource acquisition path corresponding to the target layout strategy according to the target layout strategy;
acquiring target resources for desktop layout migration operation according to the resource acquisition path;
and performing desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop containing the target resource.
2. The desktop layout migration method of claim 1, wherein the target layout policy comprises a first policy and/or a second policy;
the first strategy is used for indicating desktop layout migration operation according to first image data, and the first image data is prestored in target equipment corresponding to the initial desktop;
the second policy is used for instructing desktop layout migration operation according to second image data, and the second image data is obtained from other places except the target device through image obtaining equipment.
3. The desktop layout migration method according to claim 2, wherein the acquiring, according to the resource acquisition path, the target resource for performing the desktop layout migration operation includes:
inputting the first image data or the second image data into a pre-trained data extraction model for data extraction operation to obtain the target resource;
the target resource comprises the number of app arrangement columns, the number of app arrangement rows, the name of apps and the position coordinates of apps in the first image data or the second image data.
4. The desktop layout migration method of claim 3, wherein prior to said entering the first image data or the second image data into a pre-trained data extraction model for a data extraction operation, the method further comprises:
acquiring a training sample of a data extraction model to be trained, wherein the training sample comprises an image provided with a label;
performing feature extraction on the images in the training sample through the data extraction model to be trained to obtain text feature vectors corresponding to the images;
extracting target resources in the images in the training samples based on the text characteristic vectors through the data extraction model to be trained to obtain the recognition results of the images;
and adjusting parameters of the data extraction model to be trained based on the recognition result and the label of the image to obtain the pre-trained data extraction model.
5. The desktop layout migration method of claim 4, wherein performing desktop layout migration operations on the initial desktop based on the target resources to obtain a target desktop including the target resources comprises:
removing the initial layout of the initial desktop to obtain a blank desktop;
performing framework construction operation on the blank desktop based on the app arrangement column number and the app arrangement row number to obtain a basic layout framework;
calling an app icon corresponding to the app name from the target device based on the app name;
and arranging the app icons on the basic layout frame based on the position coordinates of the app to obtain a target desktop containing the target resource.
6. The desktop layout migration method of claim 5, wherein prior to the invoking of the app icon corresponding to the app name from the target device based on the app name, the method further comprises:
judging whether the app names exist in the target equipment or not;
determining a target app name that does not exist at the target device;
and generating prompt information containing the name of the target app.
7. The desktop layout migration method of claim 6, wherein after the generating a hint information containing the target app name, the method further comprises:
providing a selection interface for a user to permit or refuse to automatically download the target app corresponding to the target app name from an application mall;
and when the user selects permission operation for the selection interface, downloading the target app from the application mall, and arranging the icon corresponding to the target app at the position corresponding to the basic layout frame.
8. A desktop layout migration apparatus, comprising:
the desktop layout migration system comprises a receiving module, a management module and a management module, wherein the receiving module is used for receiving a desktop layout migration request and acquiring an initial desktop and a target layout strategy of a desktop layout to be changed, which are carried by the desktop layout migration request;
the determining module is used for determining a resource obtaining path corresponding to the target layout strategy according to the target layout strategy;
the acquisition module is used for acquiring target resources for desktop layout migration operation according to the resource acquisition path;
and the migration module is used for carrying out desktop layout migration operation on the initial desktop based on the target resource to obtain a target desktop containing the target resource.
9. A computer-readable storage medium storing instructions adapted to be loaded by a processor to perform the desktop layout migration method of any of claims 1-7.
10. A terminal device comprising a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the desktop layout migration method according to any one of claims 1 to 7.
CN202210124684.0A 2022-02-10 2022-02-10 Desktop layout migration method and device, storage medium and terminal equipment Pending CN114489425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210124684.0A CN114489425A (en) 2022-02-10 2022-02-10 Desktop layout migration method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210124684.0A CN114489425A (en) 2022-02-10 2022-02-10 Desktop layout migration method and device, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN114489425A true CN114489425A (en) 2022-05-13

Family

ID=81478088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210124684.0A Pending CN114489425A (en) 2022-02-10 2022-02-10 Desktop layout migration method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN114489425A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566502A (en) * 2017-09-14 2018-01-09 奇酷互联网络科技(深圳)有限公司 Recover method, equipment, mobile terminal and the computer-readable storage medium of desktop
CN108646962A (en) * 2018-05-11 2018-10-12 Oppo(重庆)智能科技有限公司 Edit methods, device, storage medium and the mobile terminal of terminal desktop layout
CN108804183A (en) * 2018-05-28 2018-11-13 珠海市魅族科技有限公司 The control method and device, terminal, readable storage medium storing program for executing of terminal desktop layout
CN110968280A (en) * 2018-09-30 2020-04-07 中兴通讯股份有限公司 Application layout restoration method, device, equipment and storage medium
CN113342234A (en) * 2021-07-02 2021-09-03 上海传英信息技术有限公司 Display control method, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566502A (en) * 2017-09-14 2018-01-09 奇酷互联网络科技(深圳)有限公司 Recover method, equipment, mobile terminal and the computer-readable storage medium of desktop
CN108646962A (en) * 2018-05-11 2018-10-12 Oppo(重庆)智能科技有限公司 Edit methods, device, storage medium and the mobile terminal of terminal desktop layout
CN108804183A (en) * 2018-05-28 2018-11-13 珠海市魅族科技有限公司 The control method and device, terminal, readable storage medium storing program for executing of terminal desktop layout
CN110968280A (en) * 2018-09-30 2020-04-07 中兴通讯股份有限公司 Application layout restoration method, device, equipment and storage medium
CN113342234A (en) * 2021-07-02 2021-09-03 上海传英信息技术有限公司 Display control method, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN108279948B (en) Application program starting method and mobile terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN108334272B (en) Control method and mobile terminal
CN110659098B (en) Data updating method and device, terminal equipment and storage medium
EP3699743B1 (en) Image viewing method and mobile terminal
CN107967153B (en) Application program management method and mobile terminal
CN109067981B (en) Split screen application switching method and device, storage medium and electronic equipment
CN109857297B (en) Information processing method and terminal equipment
CN110308834B (en) Setting method of application icon display mode and terminal
CN111459349B (en) Application recommendation method and electronic equipment
CN110825295B (en) Application program control method and electronic equipment
CN111459603A (en) Icon display method and electronic equipment
CN109284146B (en) Light application starting method and mobile terminal
CN111310165B (en) Account switching or registering method and electronic equipment
CN111240551B (en) Application program control method and electronic equipment
CN110809186B (en) Video processing method and electronic equipment
CN109658926B (en) Voice instruction updating method and mobile terminal
CN110336917B (en) Picture display method and device, storage medium and terminal
CN111026456A (en) Application management method and device, storage medium and electronic equipment
CN111368238A (en) Status bar adjusting method and device, mobile terminal and storage medium
CN115828845A (en) Multimedia data viewing method, device, medium and equipment
CN107835310B (en) Mobile terminal setting method and mobile terminal
CN110955436A (en) Application program installation method and electronic equipment
CN114489425A (en) Desktop layout migration method and device, storage medium and terminal 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