CN109375982B - Mobile terminal desktop icon layout method and device, terminal and readable storage medium - Google Patents

Mobile terminal desktop icon layout method and device, terminal and readable storage medium Download PDF

Info

Publication number
CN109375982B
CN109375982B CN201811372176.4A CN201811372176A CN109375982B CN 109375982 B CN109375982 B CN 109375982B CN 201811372176 A CN201811372176 A CN 201811372176A CN 109375982 B CN109375982 B CN 109375982B
Authority
CN
China
Prior art keywords
layout
mobile terminal
desktop
scheme
data
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.)
Active
Application number
CN201811372176.4A
Other languages
Chinese (zh)
Other versions
CN109375982A (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.)
Aiyunbao Shanghai Technology Co ltd
Original Assignee
Aiyunbao Shanghai Technology 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 Aiyunbao Shanghai Technology Co ltd filed Critical Aiyunbao Shanghai Technology Co ltd
Priority to CN201811372176.4A priority Critical patent/CN109375982B/en
Publication of CN109375982A publication Critical patent/CN109375982A/en
Application granted granted Critical
Publication of CN109375982B publication Critical patent/CN109375982B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention discloses a method, a device, a terminal and a readable storage medium for arranging desktop icons of a mobile terminal, wherein the method comprises the following steps: writing newly added layout data into a desktop database of the mobile terminal, and synchronizing the newly added layout data into the original layout data in the desktop database to generate latest layout data; detecting a screen duty ratio parameter of the mobile terminal, and determining a layout scheme adapting to a desktop icon of the mobile terminal according to the screen duty ratio parameter and the latest layout data; determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons according to the received setting instruction; and adjusting the layout scheme of the desktop icons of the mobile terminal according to the target layout scheme of the desktop icons. The method solves the problems that in the prior art, a new icon layout scheme cannot be set under the current icon layout habit of a compatible user at the same time, and diversified demands of the user on the arrangement of a plurality of application icons cannot be met.

Description

Mobile terminal desktop icon layout method and device, terminal and readable storage medium
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a method and apparatus for desktop layout of a mobile terminal, a terminal, and a readable storage medium.
Background
With the rapid development of communication technology, more and more mobile phone applications are being pushed in the market. With the increase of mobile phone applications, the existing layout modes adopted by various mobile phone desktop application icons are only desktop layout data written in the process of upgrading a database, and a single and fixed desktop layout mode is directly applied to a mobile terminal desktop, so that a new icon layout scheme cannot be set under the condition of being compatible with the icon layout habit currently used by a user, and the diversified demands of the user on the arrangement of various application icons are not met.
Disclosure of Invention
The invention mainly aims to provide a mobile terminal desktop layout method, a mobile terminal desktop layout device, a mobile terminal and a readable storage medium, and aims to solve the problems that in the prior art, diversified demands of icon arrangement of a plurality of applications cannot be met, and inconvenience is caused to users to view and operate desktop icons.
In order to achieve the above object, an embodiment of the present invention provides a method for arranging icons on a desktop of a mobile terminal, where the method for arranging icons on a desktop of a mobile terminal includes:
writing new layout data into a desktop database of the mobile terminal, and synchronizing the new layout data into original layout data in the desktop database to generate latest layout data;
Detecting a screen duty ratio parameter of the mobile terminal, and determining a layout scheme adapting to a desktop icon of the mobile terminal according to the screen duty ratio parameter and the latest layout data;
according to the received setting instruction, determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons;
and adjusting the layout scheme of the desktop icons of the mobile terminal according to the target layout scheme of the desktop icons.
Optionally, the original layout data includes layout parameters of original desktop icons generated according to autonomous setting of a user;
the step of writing new layout data into a desktop database of the mobile terminal and synchronizing the new layout data into original layout data in the desktop database to generate latest layout data comprises the following steps:
when detecting the version number change of the desktop database of the mobile terminal, writing newly added layout data into the desktop database;
copying the newly added layout data into the original layout data in the desktop database to generate latest layout data;
and reading the original layout parameters in the original desktop layout data, and applying an original layout scheme of the desktop icons corresponding to the original layout parameters on the desktop of the mobile terminal.
Optionally, when detecting the change of the version number of the desktop database of the mobile terminal, the step of writing the newly added layout data into the desktop database includes:
detecting whether the mobile terminal contains a virtual key, and stopping writing the newly added layout data into the desktop database when detecting that the mobile terminal does not have the virtual key;
reading original layout parameters in the original desktop layout data, and applying an original layout scheme of an original desktop icon on a mobile terminal desktop;
and when the mobile terminal is detected to contain the virtual key, writing the newly added layout data into the desktop database.
Optionally, the step of detecting the screen duty parameter of the mobile terminal and determining the layout scheme adapted to the desktop icon of the mobile terminal according to the screen duty parameter and the latest layout data includes:
detecting screen duty ratio parameters of the mobile terminal, and matching all layout parameters in the latest layout data one by one according to the screen duty ratio parameters;
determining standby layout parameters matched with the screen duty ratio parameters in the all layout parameters;
and displaying the layout scheme of the desktop icon corresponding to the standby layout parameter on the desktop of the mobile terminal.
Optionally, the step of determining the target layout scheme of the desktop icon from the layout scheme of the desktop icon according to the received setting instruction includes:
when the mobile terminal is in a manual layout mode of desktop icons, receiving selection operation input by a user based on the layout scheme;
generating a setting instruction according to the display position and the selection operation of the layout scheme, and taking the layout scheme selected by the setting instruction as a target layout scheme; or alternatively, the process may be performed,
when the mobile terminal is in an automatic layout mode of desktop icons, acquiring a current use scene of the mobile terminal;
and generating a setting instruction according to the current use scene, and taking the layout scheme selected by the setting instruction as a target layout scheme.
Optionally, the step of writing the newly added layout data into the desktop database of the mobile terminal further includes:
when detecting that the mobile terminal does not establish a desktop database, detecting whether the mobile terminal contains virtual keys;
when the mobile terminal is detected to have no virtual key, writing original layout data in the desktop database into the desktop database;
and when the virtual key of the mobile terminal is detected, writing the newly added layout data into the desktop database.
Optionally, the method for arranging the desktop icons of the mobile terminal further comprises the following steps:
when detecting that the mobile terminal does not establish a desktop database, and writing original layout data in the desktop database into the desktop database, executing the screen duty ratio parameter of the mobile terminal, and determining a layout scheme adapting to the desktop icons of the mobile terminal according to the screen duty ratio parameter and the latest layout data;
and executing the step of detecting the screen duty ratio parameter of the mobile terminal after detecting that the desktop database is not built by the mobile terminal and writing the newly added layout data into the desktop database, and determining the layout scheme adapting to the desktop icon of the mobile terminal according to the screen duty ratio parameter and the latest layout data.
In addition, in order to achieve the above object, the present invention also provides a device for desktop layout of a mobile terminal, where the device for controlling a screen display direction includes:
the data writing module is used for writing newly-added layout data into a desktop database of the mobile terminal, and synchronizing the newly-added layout data into the original layout data in the desktop database so as to generate the latest layout data;
the desktop adaptation module is used for detecting the screen duty ratio parameter of the mobile terminal and determining a layout scheme for adapting to the desktop icons of the mobile terminal according to the screen duty ratio parameter and the latest layout data;
The instruction processing module is used for determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons according to the received setting instruction;
and the layout adjustment module is used for adjusting the layout scheme of the desktop icons of the mobile terminal according to the target layout scheme of the desktop icons.
In addition, in order to achieve the above purpose, the present invention also provides a terminal device;
the terminal device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program when executed by the processor implements the steps of the mobile terminal desktop icon layout method as described above.
In addition, in order to achieve the above object, the present invention also provides a computer storage medium;
the computer storage medium stores a computer program which, when executed by a processor, implements the steps of the mobile terminal desktop icon layout method described above.
The embodiment of the invention provides a mobile terminal desktop layout method, a mobile terminal desktop layout device, a mobile terminal and a readable storage medium, wherein newly added layout data is written into a mobile terminal desktop database and is synchronized to original layout data in the desktop database so as to generate latest layout data; detecting a screen duty ratio parameter of the mobile terminal, and determining a layout scheme adapting to a desktop icon of the mobile terminal according to the screen duty ratio parameter and the latest layout data; according to the received setting instruction, determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons; and adjusting the layout scheme of the desktop icons of the mobile terminal according to the target layout scheme of the desktop icons. According to the method, in the process of updating the desktop database, original layout data in the generated latest layout data is read, so that a user is kept to use an original desktop layout mode, meanwhile, a layout scheme of more adaptive and reasonable desktop icons is recommended to the user according to each hardware parameter of the mobile terminal, the layout parameters of corresponding desktop icons in the latest layout data are read according to a setting instruction, the layout scheme of the current desktop icons of the mobile terminal is adjusted, and a richer and diversified layout scheme is provided for the user to use under the icon layout habit compatible with the current use of the user.
Drawings
FIG. 1 is a schematic diagram of an alternative hardware architecture of a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a wireless communication device of the mobile terminal of FIG. 1;
FIG. 3 is a flowchart illustrating a desktop layout method of a mobile terminal according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a desktop layout method of a mobile terminal according to a second embodiment of the present invention;
FIG. 5 is a flowchart illustrating a third embodiment of a desktop layout method for a mobile terminal according to the present invention;
FIG. 6 is a flowchart illustrating a desktop layout method for a mobile terminal according to a fourth embodiment of the present invention;
FIG. 7 is a schematic diagram of functional modules of an embodiment of a desktop layout apparatus for a mobile terminal according to the present invention;
FIG. 8 is a schematic diagram of an application scenario of the desktop layout method of the mobile terminal of the present invention;
fig. 9 is an interface schematic diagram of a mobile terminal according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (PersonalDigital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
The memory 109 may be used to store software programs and various data, and the memory 109 may be a computer storage medium, and the memory 109 stores a layout program of the desktop icon of the mobile terminal of the present invention. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 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.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. The processor 110 executes a layout program of the desktop icons of the mobile terminal in the memory 109 to implement the steps of the embodiments of the method for layout icons of the desktop icons of the mobile terminal of the present invention.
Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to the respective components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
The invention provides a mobile terminal desktop icon layout method, which is mainly applied to upgrading of a mobile terminal desktop database and comprises the following steps:
writing newly added layout data into a desktop database of the mobile terminal, and synchronizing the newly added layout data into the original layout data in the desktop database to generate latest layout data; detecting a screen duty ratio parameter of the mobile terminal, and determining a layout scheme adapting to a desktop icon of the mobile terminal according to the screen duty ratio parameter and the latest layout data; determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons according to the received setting instruction; and adjusting the layout scheme of the desktop icons of the mobile terminal according to the target layout scheme of the desktop icons.
Specifically, in a first embodiment of the desktop icon layout method for a mobile terminal according to the present invention, referring to fig. 3, the method includes:
step S10, writing the newly added layout data into a desktop database of the mobile terminal, and synchronizing the newly added layout data into the original layout data in the desktop database to generate the latest layout data.
Writing newly-added layout data into a desktop database of the mobile terminal, wherein the newly-added layout data can comprise layout parameters corresponding to the layout schemes of all desktop icons on the market, and synchronizing the newly-written newly-added layout data with original layout data contained in the desktop database of the mobile terminal to generate the latest layout data of the desktop database of the mobile terminal.
Specifically, for example, when it is detected that the desktop database of the mobile terminal is updated, newly-added layout data including layout parameters corresponding to layout schemes of all desktop icons on the market is written into the desktop database of the mobile terminal, and all the layout parameters in the newly-written newly-added layout data are copied into original layout data included in the desktop database of the mobile terminal, so that the latest layout data of the current desktop database is generated.
And S20, detecting a screen duty ratio parameter of the mobile terminal, and determining a layout scheme adapting to the desktop icons of the mobile terminal according to the screen duty ratio parameter and the latest layout data.
And detecting the screen duty ratio parameter of the current mobile terminal, adapting all layout parameters in the latest layout data according to the duty ratio value in the detected screen duty ratio parameter, acquiring the layout parameter corresponding to the applicable screen duty ratio range when detecting that the screen duty ratio value belongs to the applicable screen duty ratio range of the layout scheme corresponding to the all layout parameters in the newly added layout data, and determining the layout scheme corresponding to the layout parameter as one of the layout schemes of the desktop icons of the current mobile terminal.
Specifically, for example, it is detected that the ratio of the screen duty ratio parameters of the current mobile terminal is 70%, the newly added layout data contains all 4 groups of layout parameters, and the ratio ranges of the screens applicable to the layout schemes of the desktop icons are as follows: the ratio range of the 1 group of applicable screens is 40% -50%, the ratio range of the 2 group of applicable screens is 50% -60%, the ratio range of the 3 group of applicable screens is 60% -75%, and the ratio range of the 4 group of applicable screens is 70% -85%, then the fact that the current mobile terminal screen ratio of 70% is within 60% -75% of the 3 group of applicable ranges and 70% -85% of the 4 group of applicable ranges is detected, namely, the layout schemes of the desktop icons corresponding to the 3 groups of layout parameters and the 4 groups of layout parameters are used as one of the layout schemes of the desktop icons of the current mobile terminal.
Step S30, determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons according to the received setting instruction.
Detecting a layout scheme setting mode of a desktop icon of the mobile terminal, and determining a desktop icon layout scheme selected by a user as a target layout scheme of the desktop icon of the mobile terminal when the current setting mode is detected to be in a manual setting mode; when the current layout scheme mode of the desktop icons of the mobile terminal is detected to be in an automatic mode, the current use scene of the mobile terminal is detected, the target layout scheme in the layout scheme of the desktop icons corresponding to the layout parameters is automatically adapted according to the use scene, and based on different setting modes, the automatic selection of the target layout scheme setting instruction by a user is detected or the target layout scheme is automatically adapted according to the current use scene setting instruction of the mobile terminal, so that diversified demands of the user on the arrangement of a plurality of application icons are met, and the effect of intelligently adapting the layout scheme is achieved.
And S40, adjusting the layout scheme of the desktop icons of the mobile terminal according to the target layout scheme of the desktop icons.
Detecting arrangement information of desktop icons in a target arrangement scheme of the desktop icons, wherein the arrangement information comprises, but is not limited to, the number, the size and the spacing, and the final arrangement scheme of the desktop icons of the mobile terminal is adapted to be adjusted according to the detected arrangement information and the arrangement scheme of the current desktop icons of the mobile terminal.
Specifically, for example, if the number of icons in the target layout scheme of the desktop icons of the mobile terminal is 24, the length and width of the size are 1cm, and the spacing between the four sides is 0.7cm, the target layout scheme of the desktop icons is adjusted according to the arrangement sequence of the icons in the layout scheme of the current desktop icons of the mobile terminal, and the adjusted layout scheme of the desktop icons is used as the final scheme of the layout of the desktop icons of the mobile terminal; as shown in fig. 9 (a), the original layout scheme of the current desktop icon of the mobile terminal needs all application icons displayed by two pages, and according to the detected arrangement information that the number of icons in the target layout scheme of the desktop icon of the mobile terminal is 24, the length and width of the icons are 1cm, and the spacing is 0.7cm, the icons in the original layout scheme are arranged into the target layout scheme of the desktop icons capable of displaying all application icons by one page as shown in fig. 9 (b), and the final layout scheme of the desktop icons in the target layout scheme is adjusted according to the arrangement sequence of the icons in the original layout scheme.
In this embodiment, by reading the original layout data in the generated latest layout data in the process of updating the desktop database, under the original desktop layout mode of the user, and recommending a layout scheme of more applicable and reasonable desktop icons for the user according to each hardware parameter of the mobile terminal, and under the condition of keeping the previous use habit of the user, reading the layout parameter of the corresponding desktop icon in the latest layout data according to the autonomous setting instruction of the user, or automatically adapting to the mobile terminal by detecting the use scene of the mobile terminal, the layout scheme of the desktop icon of the mobile terminal is further adjusted, so that the layout scheme of the desktop icon is intelligently pushed and adjusted under the icon layout habit of the compatible user, and a richer and diversified layout scheme is provided for the user.
Further, on the basis of the first embodiment of the present invention, a second embodiment of the desktop icon layout method of the present invention is provided, where the step S10 of the first embodiment of the present invention is refined, referring to fig. 4, the step of writing newly added layout data into a desktop database of the mobile terminal, and synchronizing the newly added layout data into original layout data in the desktop database to generate latest layout data includes:
and S11, when the change of the version number of the desktop database of the mobile terminal is detected, writing the newly added layout data into the desktop database.
When the change of the version number of the desktop database of the mobile terminal is detected, the desktop database is judged to start to be updated, and new layout data is written into the desktop database, wherein the new layout data comprises layout parameters corresponding to the layout schemes of all desktop icons on the market.
And step S12, copying the newly added layout data into the original layout data in the desktop database to generate the latest layout data.
And synchronizing the newly written newly added layout data with original layout data contained in the mobile terminal desktop database to generate the latest layout data of the mobile terminal desktop database, wherein the original layout data contains layout parameters of the original desktop icons generated according to the autonomous setting of the user.
Specifically, for example, when detecting a change of the version number of the desktop database of the mobile terminal, determining that the desktop database starts to be upgraded, starting to write newly-added layout data containing layout parameters corresponding to the layout schemes of all desktop icons on the market into the desktop database of the mobile terminal, and copying all the layout parameters in the newly-added layout data into the original layout data containing the original layout parameters generated according to the autonomous setting of the user while writing the data, thereby generating the latest layout data of the current desktop database.
And S13, reading original layout parameters in the original desktop layout data, and applying an original layout scheme of the desktop icons corresponding to the original layout parameters on the desktop of the mobile terminal.
And reading layout parameters of the original desktop icons generated according to the autonomous setting of the user, and reserving an original layout scheme of the desktop icons based on the autonomous setting of the user on the current desktop of the mobile terminal.
Specifically, for example, the latest layout data generated by the mobile terminal comprises layout parameters of original desktop icons generated according to the autonomous setting of the user, and in the process of upgrading the desktop database of the mobile terminal, an original layout scheme containing the original layout parameters which are set by the user independently and correspond to the desktop icons is compatible and used, so that the layout of the desktop icons currently used by the user is not changed in the process of upgrading the desktop database of the mobile terminal, and the situation that the user cannot accurately find the application icons according to the original layout is avoided.
Further, step S11 further includes:
and a, detecting whether the mobile terminal contains a virtual key, and stopping writing the newly added layout data into the desktop database when detecting that the mobile terminal does not have the virtual key.
And when the mobile terminal is detected to not contain the virtual key, determining that the current mobile terminal is the physical key equipment, and stopping writing the newly added layout data into the desktop database.
And b, reading original layout parameters in the original desktop layout data, and applying an original layout scheme of the original desktop icons on the desktop of the mobile terminal.
When the mobile terminal is detected to be the physical key equipment, the layout parameters of the original desktop icons, which are generated according to the autonomous setting of the user, in the desktop database are read, the original layout scheme of the desktop icons is applied to the desktop of the current mobile terminal, and the layout parameters which cannot be applied to the equipment are prevented from being written into the desktop database of the physical key equipment, so that equipment resources are saved.
And c, when the fact that the mobile terminal contains the virtual key is detected, writing the newly added layout data into the desktop database.
When the mobile terminal is detected to contain the virtual key, the current mobile terminal is determined to be the full screen device, the newly added layout data is written into the desktop database, and the data is written into the desktop database on the premise of ensuring that the mobile terminal can apply the newly added layout data, so that the situation that the desktop database space of the device is occupied by invalid data is avoided.
In the embodiment, when the desktop database is updated, on the premise of being compatible with the original layout of the desktop icons which are set by the user independently, newly added layout data are written into the desktop database and the layout scheme of the desktop icons is adapted, so that the use habit of the user is reserved; and judging whether the current mobile terminal is physical key equipment or full-screen equipment, writing newly added layout data into a desktop database of the full-screen equipment and executing layout scheme operation for adapting desktop icons, and performing layout scheme for adapting the desktop icons on the physical key equipment only according to the original layout data, so that equipment resources are saved.
In another embodiment, step S10 further includes:
step S14, when detecting that the mobile terminal does not establish the desktop database, detecting whether the mobile terminal contains virtual keys.
Detecting whether the desktop database of the mobile terminal contains data or not, and further detecting whether the mobile terminal contains virtual keys or not when detecting that the desktop database of the mobile terminal does not contain data.
When it is detected that the mobile terminal desktop database contains data, the steps described in the first embodiment are performed.
And step S15, when the fact that the mobile terminal has no virtual key is detected, writing the original layout data in the desktop database into the desktop database.
When the fact that the mobile terminal has no virtual key is further detected, the current mobile terminal is judged to be the physical key equipment, original layout data are written into the desktop database, and the fact that newly-added layout data which cannot be applied occupy the desktop database space of the physical key equipment is avoided.
And S16, when the virtual key of the mobile terminal is detected, writing the newly added layout data into a desktop database.
When the mobile terminal is further detected to contain virtual keys, the current mobile terminal is judged to be full screen equipment, newly added layout data is written into a desktop database, the mobile terminal can apply the written newly added layout data, and equipment resource waste is avoided.
Further, the method for arranging the desktop icons of the mobile terminal further comprises the following steps:
and S50, after detecting that the desktop database is not built by the mobile terminal and writing the original layout data in the desktop database into the desktop database, executing the steps of detecting the screen duty ratio parameter of the mobile terminal and determining the layout scheme of the desktop icons of the adaptive mobile terminal according to the screen duty ratio parameter and the original layout data.
When no data in the desktop database of the mobile terminal is detected, judging that the desktop database is not built by the current mobile terminal, and further when the current mobile terminal is detected to be physical key equipment, building the desktop database only containing original layout data in the current mobile terminal, automatically adapting layout parameters in the desktop database according to screen occupation ratio parameters of the current mobile terminal, determining a layout scheme for adapting desktop icons of the mobile terminal, and automatically adapting the layout scheme according to hardware parameters of the mobile device.
And step S60, after detecting that the desktop database is not built by the mobile terminal and writing the newly added layout data into the desktop database, executing the step of detecting the screen duty ratio parameter of the mobile terminal and determining the layout scheme of the desktop icon of the adaptive mobile terminal according to the screen duty ratio parameter and the latest layout data.
When no data in the desktop database of the mobile terminal is detected, judging that the desktop database is not built by the current mobile terminal, and further when the current mobile terminal is detected to be a full-screen device, building the desktop database only containing newly-added layout data in the current mobile terminal, automatically adapting layout parameters in the desktop database according to screen occupation ratio parameters of the current mobile terminal, determining a layout scheme for adapting desktop icons of the current mobile terminal, and automatically adapting the layout scheme according to hardware parameters of the mobile device.
In this embodiment, by further detecting whether the mobile terminal includes a virtual key, it is determined that the mobile terminal is a physical key device or a full screen device, and a desktop database including only original layout data and only newly added layout data is built according to a device type, so that the situation that the newly added layout data which cannot be applied occupies the space of the desktop database of the physical key device is avoided, and the respective layout schemes are automatically adapted through hardware parameters of the mobile terminal, so that the layout scheme is more intelligently pushed to the user.
Further, on the basis of any one of the first to second embodiments of the present invention, a third embodiment of the information cleaning method of the present invention is provided, where the step of detecting a screen duty parameter of the mobile terminal and determining a layout scheme adapted to a desktop icon of the mobile terminal according to the screen duty parameter and the latest layout data according to fig. 5 includes:
step S21, detecting the screen duty ratio parameters of the mobile terminal, and matching all layout parameters in the latest layout data one by one according to the screen duty ratio parameters.
And detecting the screen duty ratio parameters of the current mobile terminal, and adapting all layout parameters in the latest layout data one by one according to the detected screen duty ratio value.
Specifically, for example, it is detected that the ratio of the screen duty ratio parameters of the current mobile terminal is 70%, the newly added layout data contains all 4 groups of layout parameters, and the ratio ranges of the screens applicable to the layout schemes of the desktop icons are as follows: the ratio range of 1 group of applicable screens is 40% -50%, the ratio range of 2 groups of applicable screens is 50% -60%, the ratio range of 3 groups of applicable screens is 60% -75%, the ratio range of 4 groups of applicable screens is 70% -85%, and it is detected that the current mobile terminal screen ratio of 70% is within 60% -75% of 3 groups of applicable ranges and 70% -85% of 4 groups of applicable ranges.
And S22, determining standby layout parameters matched with the screen duty ratio parameters in the all layout parameters.
When the screen occupation ratio is detected, and the layout scheme applicable to the corresponding desktop icon in all layout parameters in the latest layout data is in the range of the screen occupation ratio value, the layout scheme is acquired, and the layout scheme is determined to be one of standby layout schemes of the desktop icon of the current mobile terminal.
Specifically, for example, when it is detected that the current mobile terminal screen occupation ratio 70% is within 60% -75% of the 3-group application range and 70% -85% of the 4-group application range, the layout schemes of the desktop icons corresponding to the 3 rd group layout parameters and the 4 th group layout parameters are used as one of standby layout schemes of the desktop icons of the current mobile terminal.
And S23, displaying a layout scheme of desktop icons corresponding to the standby layout parameters on the desktop of the mobile terminal.
And pushing and displaying the desktop icons to be used according to the screen occupation ratio and the matching sequence on the desktop of the mobile terminal.
Specifically, for example, a standby layout scheme of desktop icons belonging to 3 groups of application ranges 60% -75% and 4 groups of application ranges 70% -85% is determined by a screen occupation ratio of the mobile terminal of 70%, one page is selected in an intermediate suspension area of the mobile terminal according to an adaptive determined sequence, and the standby layout schemes of the desktop icons of the 3 rd group and the 4 th group, which are displayed in a switchable manner, are pushed and displayed.
In this embodiment, by detecting hardware parameters of the mobile terminal, all layout parameters in the latest layout data are matched one by one according to the hardware parameters; determining a standby layout parameter matched with the hardware parameter in the all layout parameters; and displaying the layout scheme of the desktop icon corresponding to the standby layout parameter on the desktop of the mobile terminal. According to the method, the device and the system, the desktop icon layout schemes which are more reasonable and applicable to the mobile terminal are automatically adapted according to the automatically detected hardware parameters of the mobile terminal, and the details of the pushed layout schemes can be intuitively and conveniently known by a user through displaying the desktop icon layout schemes to the user, so that the convenience of setting is improved.
Further, on the basis of any one of the first, second and third embodiments of the present invention, a fourth embodiment of the information cleaning method of the present invention is provided, the present embodiment is a refinement of step S30 of the first embodiment of the present invention, and referring to fig. 6, the step of determining, from the layout scheme of the desktop icon, the target layout scheme of the desktop icon according to the received setting instruction includes:
step S31, when the mobile terminal is in the manual layout mode of the desktop icons, a selection operation input by a user based on a layout scheme is received.
When the current setting mode is detected to be in the manual setting mode, touch operation input by a user for displaying a standby layout scheme area on the mobile terminal is acquired.
Step S32, generating a setting instruction according to the display position and the selection operation of the layout scheme, and taking the layout scheme selected by the setting instruction as a target layout scheme.
Generating a setting instruction according to the acquired touch instruction of the user in the floating display area of the desktop of the mobile terminal, and determining the current standby layout scheme displayed when the setting instruction occurs as the target layout scheme of the desktop icon of the mobile terminal.
Specifically, for example, when a desktop operation of a mobile terminal is detected from when a desktop database is updated to when a user clicks or touches the desktop of the mobile terminal in a current period of time, it is determined that a layout scheme setting mode of the currently set desktop icon of the mobile terminal is a manual mode, as shown in fig. 8 (a), a layout scheme of the 3 rd desktop icon corresponding to the 3 rd group of layout parameters in the newly added layout data, and as shown in fig. 8 (b), a layout scheme of the 4 th desktop icon corresponding to the 4 th group of layout parameters in the newly added layout data, when a user is detected to slide the mobile desktop laterally, the layout scheme of the currently displayed 3 rd desktop icon is switched to the layout scheme of the 4 th desktop icon, and when a user is detected to click a display area of the layout scheme of the desktop icon of the mobile terminal, the layout scheme of the currently displayed 4 th desktop icon is determined as a target layout scheme of the desktop icon.
In the embodiment, the method and the device have the advantages that all standby layout schemes are displayed on the desktop of the mobile terminal, and the designated standby layout scheme is set as the target layout scheme according to the autonomous selection of the user, so that the diversified demands of the user on the arrangement of a plurality of application icons are met.
In another embodiment, the step of determining the target layout scheme of the desktop icon from the layout scheme of the desktop icon according to the received setting instruction further includes:
and c, when the mobile terminal is in the automatic layout mode of the desktop icons, acquiring the current use scene of the mobile terminal.
When detecting that the layout scheme mode of the desktop icon of the mobile terminal is in the automatic mode, further detecting the current use scene of the mobile terminal.
And d, generating a setting instruction according to the current use scene, and taking the layout scheme selected by the setting instruction as a target layout scheme.
Generating a target layout scheme instruction in the layout scheme of the desktop icon corresponding to the automatic adaptation layout parameter according to the current use scene of the mobile terminal, and automatically adapting the target layout scheme in the layout scheme of the desktop icon corresponding to the layout parameter according to the current use scene of the mobile terminal when the layout scheme mode of the desktop icon of the mobile terminal is detected to be in the automatic mode.
Specifically, for example, when starting from the time of upgrading the desktop database and until no user clicking or touching the desktop operation of the mobile terminal is detected in the current time period, determining that the layout scheme setting mode of the desktop icon of the mobile terminal is an automatic mode, when detecting that the current usage scene of the mobile terminal is an "old man mode" scene, that is, when detecting that the font size display setting item of the mobile terminal system is in super-large display, determining that the current usage scene is an "old man mode", and automatically adapting the layout scheme of the desktop icon 3 corresponding to the layout parameter 3 in the newly-added layout data as shown in fig. 8 (a) to be the target layout scheme of the desktop icon of the mobile terminal. The old man mode refers to a mode that the mobile terminal is suitable for old people to use, for example, when the mobile terminal is in the old man mode, the output volume, the font size and the interface touch key size are larger.
In this embodiment, according to the current usage scenario of the mobile terminal, the target layout scheme is automatically adapted according to the current usage scenario setting instruction of the mobile terminal, so as to implement a layout scheme for more intelligently adapting to icons on the desktop of the mobile terminal.
In addition, referring to fig. 7, an embodiment of the present invention further provides a layout device of desktop icons of a mobile terminal, where the layout device of desktop icons of the mobile terminal includes:
The data writing module is used for writing newly-added layout data into a desktop database of the mobile terminal, and synchronizing the newly-added layout data into the original layout data in the desktop database so as to generate the latest layout data;
the desktop adaptation module is used for detecting the screen duty ratio parameter of the mobile terminal and determining a layout scheme for adapting to the desktop icons of the mobile terminal according to the screen duty ratio parameter and the latest layout data;
the instruction processing module is used for determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons according to the received setting instruction;
the layout adjustment module is used for adjusting the layout scheme of the desktop icons of the mobile terminal according to the target layout scheme of the desktop icons;
the original layout data comprises layout parameters of original desktop icons generated according to autonomous setting of a user.
Optionally, the data writing module includes:
the first starting unit is used for writing newly added layout data into a desktop database when detecting the version number change of the desktop database of the mobile terminal;
the synchronization unit copies the newly added layout data into the original layout data in the desktop database to generate the latest layout data;
And the first application unit reads the original layout parameters in the original desktop layout data and applies an original layout scheme of the desktop icons corresponding to the original layout parameters on the desktop of the mobile terminal.
Optionally, the first starting unit is further configured to:
detecting whether the mobile terminal contains a virtual key, and stopping writing the newly added layout data into the desktop database when detecting that the mobile terminal does not have the virtual key;
reading original layout parameters in the original desktop layout data, and applying an original layout scheme of an original desktop icon on a mobile terminal desktop;
and when the mobile terminal is detected to contain the virtual key, writing the newly added layout data into the desktop database.
Optionally, the desktop adaptation module includes:
the matching unit detects the screen duty ratio parameters of the mobile terminal and matches all layout parameters in the latest layout data one by one according to the screen duty ratio parameters;
a determining unit for determining standby layout parameters matched with the screen duty ratio parameters in the all layout parameters;
and the display unit displays the layout scheme of the desktop icons corresponding to the standby layout parameters on the desktop of the mobile terminal.
Optionally, the instruction processing module includes:
An operation detection unit for detecting a selection operation input by a user based on a layout scheme when the mobile terminal is in a manual layout mode of desktop icons;
the first setting instruction unit generates a setting instruction according to the display position and the selection operation of the layout scheme, and takes the layout scheme selected by the setting instruction as a target layout scheme; or alternatively, the process may be performed,
the scene detection unit is used for acquiring the current use scene of the mobile terminal when the mobile terminal is in an automatic layout mode of desktop icons;
and the second setting instruction unit generates a setting instruction according to the current use scene, and takes the layout scheme selected by the setting instruction as a target layout scheme.
Optionally, the data writing module further includes:
the virtual key detection unit is used for detecting whether the mobile terminal contains a virtual key or not when detecting that the desktop database is not built by the mobile terminal;
the first writing unit is used for writing the original layout data in the desktop database into the desktop database when the mobile terminal is detected to have no virtual key;
and the second writing unit is used for writing the newly added layout data into the desktop database when the virtual key of the mobile terminal is detected.
Optionally, the layout device of the desktop icons of the mobile terminal further includes:
the method comprises the steps of a first self-adapting unit, a second self-adapting unit and a third self-adapting unit, wherein the first self-adapting unit executes screen duty ratio parameters of the detected mobile terminal after detecting that a desktop database is not established by the mobile terminal and original layout data in the desktop database is written into the desktop database, and determines a layout scheme adapting to desktop icons of the mobile terminal according to the screen duty ratio parameters and the latest layout data;
and the second self-adapting unit is used for executing the step of detecting the screen duty ratio parameter of the mobile terminal after detecting that the desktop database is not built by the mobile terminal and writing the newly added layout data into the desktop database, and determining the layout scheme of the desktop icon of the adaptive mobile terminal according to the screen duty ratio parameter and the latest layout data.
The steps for implementing each functional module of the layout device of the desktop icons of the mobile terminal may refer to each embodiment of the layout method of the desktop icons of the mobile terminal of the present invention, which is not described herein again.
The invention also provides a terminal, which comprises: memory, processor, communication bus, and layout program of mobile terminal desktop icons stored on the memory:
The communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the layout program of the desktop icons of the mobile terminal so as to realize the steps of the embodiments of the desktop icon layout method of the mobile terminal.
The present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being further executable by one or more processors for implementing the steps of the embodiments of the mobile terminal desktop icon layout method described above.
The specific implementation manner of the computer readable storage medium of the present invention is basically the same as the embodiments of the method for arranging desktop icons of the mobile terminal, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (8)

1. The mobile terminal desktop icon layout method is characterized by comprising the following steps of:
writing new layout data into a desktop database of the mobile terminal, and synchronizing the new layout data into original layout data in the desktop database to generate latest layout data, wherein the new layout data comprises layout parameters corresponding to layout schemes of all desktop icons on the market;
detecting a screen duty ratio parameter of the mobile terminal, and determining a layout scheme adapting to a desktop icon of the mobile terminal according to the screen duty ratio parameter and the latest layout data;
according to the received setting instruction, determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons;
according to the target layout scheme of the desktop icons, the layout scheme of the desktop icons of the mobile terminal is adjusted;
the step of detecting the screen duty ratio parameter of the mobile terminal and determining the layout scheme of the desktop icon of the adaptive mobile terminal according to the screen duty ratio parameter and the latest layout data comprises the following steps:
detecting screen duty ratio parameters of the mobile terminal, and matching all layout parameters in the latest layout data one by one according to the screen duty ratio parameters;
Determining standby layout parameters matched with the screen duty ratio parameters in the all layout parameters;
displaying a layout scheme of desktop icons corresponding to the standby layout parameters on a desktop of the mobile terminal;
the step of determining the target layout scheme of the desktop icons from the layout scheme of the desktop icons according to the received setting instruction comprises the following steps:
when the mobile terminal is in a manual layout mode of desktop icons, receiving selection operation input by a user based on the layout scheme;
generating a setting instruction according to the display position and the selection operation of the layout scheme, and taking the layout scheme selected by the setting instruction as a target layout scheme; or alternatively, the process may be performed,
when the mobile terminal is in an automatic layout mode of desktop icons, acquiring a current use scene of the mobile terminal;
and generating a setting instruction according to the current use scene, and taking the layout scheme selected by the setting instruction as a target layout scheme.
2. The method for arranging desktop icons of a mobile terminal according to claim 1, wherein the original arrangement data includes arrangement parameters of original desktop icons generated according to autonomous setting of a user;
the step of writing new layout data into a desktop database of the mobile terminal and synchronizing the new layout data into original layout data in the desktop database to generate latest layout data comprises the following steps:
When detecting the version number change of the desktop database of the mobile terminal, writing newly added layout data into the desktop database;
copying the newly added layout data into the original layout data in the desktop database to generate latest layout data;
and reading the original layout parameters in the original desktop layout data, and applying an original layout scheme of the desktop icons corresponding to the original layout parameters on the desktop of the mobile terminal.
3. The method according to claim 2, wherein the step of writing newly added layout data into the desktop database when detecting a change in version number of the desktop database of the mobile terminal comprises:
detecting whether the mobile terminal contains a virtual key, and stopping writing the newly added layout data into the desktop database when detecting that the mobile terminal does not have the virtual key;
reading original layout parameters in the original desktop layout data, and applying an original layout scheme of an original desktop icon on a mobile terminal desktop;
and when the mobile terminal is detected to contain the virtual key, writing the newly added layout data into the desktop database.
4. The method of claim 1, wherein the step of writing the newly added layout data into the mobile terminal desktop database further comprises:
When detecting that the mobile terminal does not establish a desktop database, detecting whether the mobile terminal contains virtual keys;
when the mobile terminal is detected to have no virtual key, writing original layout data in the desktop database into the desktop database;
and when the virtual key of the mobile terminal is detected, writing the newly added layout data into the desktop database.
5. The mobile terminal desktop icon layout method of claim 4, further comprising:
when detecting that the mobile terminal does not establish a desktop database, and writing original layout data in the desktop database into the desktop database, executing the step of detecting the screen duty ratio parameter of the mobile terminal, and determining a layout scheme adapting to the desktop icons of the mobile terminal according to the screen duty ratio parameter and the original layout data;
and executing the step of detecting the screen duty ratio parameter of the mobile terminal after detecting that the desktop database is not built by the mobile terminal and writing the newly added layout data into the desktop database, and determining the layout scheme adapting to the desktop icon of the mobile terminal according to the screen duty ratio parameter and the latest layout data.
6. The device for arranging the desktop of the mobile terminal is characterized by comprising the following components:
the data writing module is used for writing newly-added layout data into a desktop database of the mobile terminal, and synchronizing the newly-added layout data into the original layout data in the desktop database to generate latest layout data, wherein the newly-added layout data comprises layout parameters corresponding to the layout schemes of all desktop icons on the market;
the desktop adaptation module is used for detecting the screen duty ratio parameter of the mobile terminal and determining a layout scheme for adapting to the desktop icons of the mobile terminal according to the screen duty ratio parameter and the latest layout data;
the instruction processing module is used for determining a target layout scheme of the desktop icons from the layout scheme of the desktop icons according to the received setting instruction;
the layout adjustment module is used for adjusting the layout scheme of the desktop icons of the mobile terminal according to the target layout scheme of the desktop icons;
the desktop adaptation module comprises:
the matching unit detects the screen duty ratio parameters of the mobile terminal and matches all layout parameters in the latest layout data one by one according to the screen duty ratio parameters;
A determining unit for determining standby layout parameters matched with the screen duty ratio parameters in the all layout parameters;
the display unit displays the layout scheme of the desktop icons corresponding to the standby layout parameters on the desktop of the mobile terminal;
the instruction processing module comprises:
an operation detection unit for detecting a selection operation input by a user based on a layout scheme when the mobile terminal is in a manual layout mode of desktop icons;
the first setting instruction unit generates a setting instruction according to the display position and the selection operation of the layout scheme, and takes the layout scheme selected by the setting instruction as a target layout scheme; or alternatively, the process may be performed,
the scene detection unit is used for acquiring the current use scene of the mobile terminal when the mobile terminal is in an automatic layout mode of desktop icons;
and the second setting instruction unit generates a setting instruction according to the current use scene, and takes the layout scheme selected by the setting instruction as a target layout scheme.
7. A terminal, the terminal comprising: memory, a processor and a layout program of mobile terminal desktop icons stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the mobile terminal desktop icon layout method of any one of claims 1 to 5.
8. A readable storage medium, wherein a layout program of mobile terminal desktop icons is stored on the readable storage medium, and when executed by a processor, the layout program of mobile terminal desktop icons implements the steps of the mobile terminal desktop icon layout method according to any one of claims 1 to 5.
CN201811372176.4A 2018-11-16 2018-11-16 Mobile terminal desktop icon layout method and device, terminal and readable storage medium Active CN109375982B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811372176.4A CN109375982B (en) 2018-11-16 2018-11-16 Mobile terminal desktop icon layout method and device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811372176.4A CN109375982B (en) 2018-11-16 2018-11-16 Mobile terminal desktop icon layout method and device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN109375982A CN109375982A (en) 2019-02-22
CN109375982B true CN109375982B (en) 2023-09-08

Family

ID=65389775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811372176.4A Active CN109375982B (en) 2018-11-16 2018-11-16 Mobile terminal desktop icon layout method and device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN109375982B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253637B (en) * 2020-09-22 2024-04-26 华为技术有限公司 Icon data migration method, electronic equipment and computer readable storage medium
CN117519859A (en) * 2022-07-30 2024-02-06 荣耀终端有限公司 Interface adjustment method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593218A (en) * 2013-11-29 2014-02-19 苏军生 Terminal suitable for being used by the aged and based on Android operating system
CN104461281A (en) * 2014-11-07 2015-03-25 广东欧珀移动通信有限公司 Managing method and managing server of mobile terminal desktop icons and mobile terminal
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170277395A1 (en) * 2016-03-25 2017-09-28 Le Holdings (Beijing) Co., Ltd. Control method for terminal and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593218A (en) * 2013-11-29 2014-02-19 苏军生 Terminal suitable for being used by the aged and based on Android operating system
CN104461281A (en) * 2014-11-07 2015-03-25 广东欧珀移动通信有限公司 Managing method and managing server of mobile terminal desktop icons and mobile terminal
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system

Also Published As

Publication number Publication date
CN109375982A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN108391025B (en) Network access management method, mobile terminal and computer readable storage medium
CN110007816B (en) Display area determining method, terminal and computer readable storage medium
CN108881635B (en) Screen brightness adjusting method, mobile terminal and computer readable storage medium
CN109890022B (en) Data transmission control method, mobile terminal and computer readable storage medium
CN107888768B (en) Unlocking control method, terminal and computer readable storage medium
CN110096375B (en) Method and device for sharing data by application programs and computer readable storage medium
CN109817130B (en) Color temperature regulating method, device and computer readable storage medium
CN110020386B (en) Application page sharing method, mobile terminal and computer readable storage medium
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN108984063B (en) Desktop interaction regulation and control method and device and computer readable storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN110096213B (en) Terminal operation method based on gestures, mobile terminal and readable storage medium
CN109375982B (en) Mobile terminal desktop icon layout method and device, terminal and readable storage medium
CN109389394B (en) Multi-screen payment control method, equipment and computer readable storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN109948368B (en) Privacy authority control method, device and computer readable storage medium
CN109388947B (en) Background management method, device and computer readable storage medium
CN109375979B (en) Flow control method, terminal and readable storage medium
CN109308147B (en) Application icon display method and device and computer readable storage medium
CN109032648B (en) Application program updating method, mobile terminal and storage medium
CN109062688B (en) Memory allocation method, server and mobile terminal
CN107831998B (en) Interface moving method, terminal and computer readable storage medium
CN110572518B (en) Screen-extinguishing control method, mobile terminal and computer-readable storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230807

Address after: Room 7-59, No. 500, Loushanguan Road, Changning District, Shanghai 200050

Applicant after: Aiyunbao (Shanghai) Technology Co.,Ltd.

Address before: 518057 Dazu Innovation Building, 9018 Beihuan Avenue, Nanshan District, Shenzhen City, Guangdong Province, 6-8, 10-11, 6 and 6-10 floors in Area A, B and C

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant