CN114064160A - Application icon layout method and related device - Google Patents

Application icon layout method and related device Download PDF

Info

Publication number
CN114064160A
CN114064160A CN202010753568.6A CN202010753568A CN114064160A CN 114064160 A CN114064160 A CN 114064160A CN 202010753568 A CN202010753568 A CN 202010753568A CN 114064160 A CN114064160 A CN 114064160A
Authority
CN
China
Prior art keywords
electronic device
desktop
application
information
icon
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
CN202010753568.6A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010753568.6A priority Critical patent/CN114064160A/en
Priority to PCT/CN2021/109524 priority patent/WO2022022674A1/en
Publication of CN114064160A publication Critical patent/CN114064160A/en
Pending legal-status Critical Current

Links

Images

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

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)
  • User Interface Of Digital Computer (AREA)

Abstract

An application icon layout method and a related device are provided. In the method, the first electronic device can transmit first information carrying desktop layout information and application icon position information to the second electronic device through one or more technologies of Bluetooth, Wi-Fi and NFC. The first electronic device may also transmit the first information to the second electronic device via a cellular mobile communication technology or a WAN technology. The first electronic equipment can respond to user operation and send first information carrying desktop layout information and application icon position information to the second electronic equipment. The second electronic device may receive the first information, and may layout the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information. Thus, convenience in using the electronic apparatus can be improved.

Description

Application icon layout method and related device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to an application icon layout method and a related device.
Background
At present, electronic devices such as mobile phones are rapidly developed, and the applications of the electronic devices are more and more. As users use an electronic device for longer and longer periods of time, users become more familiar with where icons for various applications are located on the desktop of the device. Therefore, when the electronic equipment is used, the user can quickly find the icon of the application on the desktop of the electronic equipment and open the icon.
However, when the user replaces a new electronic device, the user may spend a long time looking for an icon of an application on the desktop because the user is unfamiliar with the location of the icon of the application on the desktop of the new electronic device. Thus, convenience in using the electronic apparatus is reduced.
Disclosure of Invention
The application discloses an application icon layout method and a related device. The desktop icons of the second electronic device can be arranged according to the desktop arrangement and the positions of the application icons on the first electronic device. In this way, the user can quickly find the icon of the application on the desktop of the second electronic device and open the icon, so that the convenience of using the electronic device can be improved.
In a first aspect, the present application provides an application icon layout method, including: the first electronic equipment displays a first desktop, and the second electronic equipment displays a second desktop; the second electronic equipment receives a first user operation; responding to the first user operation, and transmitting a first broadcast by the second electronic equipment; the first electronic equipment receives a second user operation; responding to the second user operation, the first electronic equipment discovers the second electronic equipment through the first broadcast and sends first information to the second electronic equipment; the first information carries desktop layout information of the first desktop and position information of an application icon on the first desktop; and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
By implementing the method provided by the first aspect, the application icons on the desktop of the second electronic device may be laid out according to the desktop layout and the positions of the application icons on the first electronic device. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
For example, the location of the icons of various applications on the first electronic device at the desktop of the device is familiar to the user. The user can quickly find the icon of the application on the desktop of the first electronic equipment and open the icon. The location of the icons of the respective applications on the second electronic device on the desktop of the device is unfamiliar to the user. In this way, the application icons on the desktop of the second electronic device can be arranged according to the desktop arrangement and the positions of the application icons on the first electronic device. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
In a second aspect, an embodiment of the present application provides an application icon layout method, where the method includes: the second electronic equipment displays a second desktop; the second electronic equipment receives a first user operation; responding to the first user operation, and transmitting a first broadcast by the second electronic equipment; the first broadcast is used for the first electronic device to discover the second electronic device; the second electronic equipment receives first information sent by the first electronic equipment, wherein the first information carries desktop layout information of a desktop of the first electronic equipment and position information of an application icon on the desktop of the first electronic equipment; and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
In the method provided by the second aspect, the application icons on the desktop of the second electronic device may be laid out according to the desktop layout and the positions of the application icons on the first electronic device. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
The desktop layout may include the page number of the desktop and the maximum number of icons accommodated on each page (for example, 4 icons are accommodated on each row and 6 columns are accommodated on each page of the desktop, that is, the maximum number is 4 × 6 ═ 24). In the embodiment of the present application, the maximum number of icons accommodated on each page may refer to the maximum number of icons accommodated on the application icon area. The position of the application icon on the desktop refers to the row and the column of the application icon on the application icon area and the navigation bar. The rows are counted from top to bottom, and the columns are counted from left to right.
In the embodiment of the application, the first information is not limited to carrying the position information of the application icon on the desktop, and can also carry the position information of the control on the desktop. The first electronic equipment can send the first information carrying the position information of the control on the desktop to the second electronic equipment. The second electronic device may lay out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information, and lay out the corresponding controls according to the first information. After the controls are laid out, the positions of the corresponding controls on the second electronic device on the desktop or the pull-down menu bar are the same as those on the first electronic device.
The control can comprise a small tool and various functional controls on one screen, such as a payment code control, a taxi taking control, a logistics information display control, an air ticket display control and the like. Controls may also include functionality controls on the control center, such as Wi-Fi switches, Bluetooth switches, music components, and the like.
In this embodiment of the application, the first information may be obtained by encoding the first electronic device in an XML encoding manner. After receiving the first information, the second electronic device can obtain the desktop layout and the position information of the application icons through XML decoding, and can also obtain the folder information. The folder information may include information such as a folder name, an application icon included in the folder, a location of the folder on a desktop, and a location of the application icon in the folder. The desktop icon position can comprise an application icon position in the navigation bar and an application icon position in the non-navigation bar.
In the embodiment of the application, each application icon can be uniquely identified by the name of the application icon and the pattern data of the icon. For example, the application names of the plurality of notepad applications are the same and are all "notepads". But the icon patterns of the plurality of notepad applications are different, the first electronic device may identify the icon of the application by the data of the application name "notepad" and the icon pattern of the application. The second electronic device may also determine an application icon of the same application by the application name and the data of the application icon.
In the embodiment of the application, after the extreme speed sharing switch of the second electronic device is turned on, the second electronic device may send a bluetooth broadcast or a Wi-Fi broadcast. The bluetooth broadcast and the Wi-Fi broadcast may carry the MAC address and device identification (e.g., Lisa's handset) of the second electronic device. When the first electronic device searches, the first electronic device may receive a bluetooth broadcast or a Wi-Fi broadcast sent by the second electronic device, that is, the second electronic device is searched (discovered). The first electronic device may display the device identifier of the second electronic device according to the received broadcast of the second electronic device. The user can touch the equipment identifier, and in response to the user operation acting on the equipment identifier, the first electronic equipment sends first information carrying desktop layout information and application icon position information to the second electronic equipment.
With reference to the second aspect, in some embodiments, the first broadcast is a bluetooth broadcast or a wireless fidelity Wi-Fi broadcast, and the first information is sent to the second electronic device by the first electronic device through a wireless local area network WLAN direct connection or a bluetooth connection.
With reference to the second aspect, in some embodiments, the first user operation is a user operation to turn on a bluetooth switch of the second electronic device or a user operation to turn on a Wi-Fi switch of the second electronic device; the second user operation is used for starting one or more of a Wi-Fi module and a Bluetooth module of the first electronic device.
In some embodiments of the application, when the desktop of the first electronic device includes a plurality of pages, the first information may further carry information of a page where each application icon is located.
With reference to the second aspect, in some embodiments, after the second electronic device receives the first information sent by the first electronic device, the second electronic device resets the desktop layout of the second desktop according to the first information and before the application icon is located on the second desktop, and the method further includes: the second electronic equipment displays a first user interface, and the first user interface comprises a first control and a first prompt; the first prompt indicates that the first information is received; the second electronic device resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop, including: and responding to the user operation acted on the first control, and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
With reference to the second aspect, in some embodiments, the second electronic device resets the desktop layout of the second desktop and sets the position of the application icon on the second desktop according to the first information, including: the second electronic equipment sets the icon of the first application at a first position of the second desktop according to the first information; the icon of the first application on the first electronic device is also located at the first position of the first desktop, and the first application is an application installed on both the first electronic device and the second electronic device; and when the second application on the second electronic equipment is repositioned, the second application is moved on the second desktop for the minimum distance, and the second application is an application which is installed on the first electronic equipment but is not installed on the second electronic equipment.
In some embodiments, in combination with the second aspect, the first information further carries folder information, the folder information including a location of a first folder on the first desktop, the first folder including a first icon and a second icon, a location of the first icon in the first folder, and a location of the second icon in the first folder.
For example, after the second electronic device lays out the installed application icon on the desktop according to the first information, the desktop of the second electronic device may also include 3 pages. However, since the left two pages are not distributed with application icons, the desktop of the second electronic device may also include only one page. After the re-layout, each application icon is located at the same position on the page as the same application icon on the first electronic device. Specifically, after the new layout, on the desktop of the second electronic device, the application icon of the AI loudspeaker box is located in row 1, column 2, and the same as the application icon of the AI loudspeaker box on the first electronic device. That is, the icon of the AI loudspeaker on the first electronic device is also located on row 1, column 2. After the re-layout, on the desktop of the second electronic device, the application icons of the gallery are located in row 3, column 2, and the same positions as the icons of the gallery application on the first electronic device. After the rearrangement, similarly, on the desktop of the second electronic device, the set application icon, the Huawei wearable application icon, the browser application icon, the mailbox application icon, the music application icon, the memo application icon, the heart health research application icon, and the application store application icon are located at the same position as the same application icon on the first electronic device.
Similarly, after the re-layout, the application icons in the navigation bar of the desktop of the second electronic device are located at the same positions as the same application icons on the first electronic device. The camera application icon, the dialing application icon, the information application icon and the contact application icon are respectively positioned in the 1 st column, the 2 nd column, the 3 rd column and the 4 th column of the navigation bar of the desktop of the second electronic equipment. This is the same position as the same application icon in the desktop navigation bar of the first electronic device.
Therefore, the application icons on the desktop of the second electronic equipment can be arranged according to the desktop arrangement and the positions of the application icons on the first electronic equipment according to the user operation. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
In a third aspect, an embodiment of the present application provides an application icon layout method, including: the first electronic equipment displays a first desktop; the first electronic equipment receives a second user operation; responding to the second user operation, the first electronic equipment discovers the second electronic equipment and sends first information to the second electronic equipment; the first information carries desktop layout information of the first desktop and position information of an application icon on the first desktop; the first information is used for the second electronic equipment to reset the desktop layout of the desktop of the second electronic equipment according to the first information and to set the position of the application icon on the desktop of the second electronic equipment.
In the method provided by the third aspect, the application icons on the desktop of the second electronic device may be laid out according to the desktop layout and the positions of the application icons on the first electronic device. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
With reference to the third aspect, in some embodiments, the first information is sent by the first electronic device to the second electronic device through a wireless local area network WLAN direct connection or a bluetooth connection.
With reference to the third aspect, in some embodiments, the second user operation is to turn on one or more of a Wi-Fi module, a bluetooth module, or both of the first electronic device and the second electronic device.
In a fourth aspect, an embodiment of the present application provides an application icon layout method, where the method includes: the second electronic equipment displays a second desktop; the second electronic device receives a user operation for starting the NFC module; the second electronic device receives first information sent by the first electronic device through the NFC module, wherein the first information carries desktop layout information of a desktop of the first electronic device and position information of an application icon on the desktop of the first electronic device; and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
By implementing the method provided by the fourth aspect, the application icons on the desktop of the second electronic device can be laid out according to the desktop layout and the positions of the application icons on the first electronic device. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
In a fifth aspect, an embodiment of the present application provides an application icon layout method, where the method includes: the second electronic device displays a second desktop; responding to the second electronic equipment to log in the first account, and displaying a second user interface by the second electronic equipment; the first electronic equipment of the second electronic equipment also logs in the first account; the second user interface includes a second control; in response to the user operation acting on the second control, the second electronic equipment receives first information from the first electronic equipment through a mobile communication technology, wherein the first information carries desktop layout information of a desktop of the first electronic equipment and position information of an application icon on the desktop of the first electronic equipment; and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
In some embodiments of the present application, the application icon layout method further includes: the first electronic equipment displays a first desktop, and the second electronic equipment displays a second desktop; the first electronic equipment receives a third user operation; in response to the third user operation, the second electronic device detects whether shaking is performed. The first electronic device may also detect whether shaking has been performed. When the first electronic device and the second electronic device are shaken, the first electronic device can carry first information of desktop layout information and application icon position information and send the first information to the second electronic device. And the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
Wherein the first electronic device and the second electronic device can determine whether shaking is performed through data detected by the acceleration sensor.
In other embodiments of the present application, the first electronic device may also transmit the first information to the second electronic device via an instant messaging application (e.g., a WeChat, QQ, etc. application) using mobile communication technology, WAN technology.
In the embodiment of the application, the first electronic device may transmit the first information to the second electronic device through a mobile communication technology or a WAN technology. The desktop icons of the second electronic equipment can be arranged according to the desktop layout and the positions of the application icons on the first electronic equipment according to the first information. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
In a sixth aspect, an embodiment of the present application provides a second electronic device, where the second electronic device includes: one or more processors, memory, a bluetooth module, and a Wi-Fi module; the Bluetooth module and the Wi-Fi module are used for sending a first broadcast and establishing Bluetooth connection or Wi-Fi connection with first electronic equipment; the memory coupled with the one or more processors, the memory for storing computer program code; the computer program code comprises computer instructions which are invoked by the one or more processors to cause the electronic device to perform the application icon layout method provided by the second aspect.
In a seventh aspect, an embodiment of the present application provides an electronic device, where the electronic device is a first electronic device, and the electronic device includes: one or more processors, memory, a bluetooth module, and a Wi-Fi module; the Bluetooth module and the Wi-Fi module are used for discovering the second electronic equipment through the first broadcast and establishing Bluetooth connection or Wi-Fi connection with the second electronic equipment; the memory coupled with the one or more processors, the memory to store computer program code, the computer program code comprising computer instructions; when the one or more processors execute the computer instructions, the electronic device is caused to execute the application icon layout method provided by the third aspect.
In an eighth aspect, an embodiment of the present application provides an electronic device, where the electronic device is a second electronic device, and the electronic device includes: one or more processors, memory, NFC modules; the NFC module is used for receiving first information sent by first electronic equipment; the memory coupled with the one or more processors, the memory to store computer program code, the computer program code comprising computer instructions; the computer instructions, when executed by the one or more processors, cause the electronic device to perform the application icon layout method provided in the fourth aspect.
In a ninth aspect, an embodiment of the present application provides an electronic device, where the electronic device is a second electronic device, and the electronic device includes: one or more processors, memory, mobile communications modules; the mobile communication module is used for receiving first information sent by first electronic equipment; the memory coupled with the one or more processors, the memory to store computer program code, the computer program code comprising computer instructions; when the one or more processors execute the computer instructions, the electronic device is caused to execute the application icon layout method provided by the fifth aspect.
In a tenth aspect, the present application provides a chip applied to a second electronic device, where the chip includes one or more processors, and the processor is configured to invoke computer instructions to cause the second electronic device to execute the method described in the second aspect and any possible implementation manner of the second aspect.
In an eleventh aspect, the present application provides a chip applied to a first electronic device, where the chip includes one or more processors, and the processor is configured to invoke computer instructions to cause the first electronic device to execute a method as described in any possible implementation manner of the third aspect and the third aspect.
In a twelfth aspect, the present application provides a chip, which is applied to a second electronic device, and the chip includes one or more processors, where the processor is configured to invoke computer instructions to cause the second electronic device to execute the method described in any possible implementation manner of the fourth aspect or the fifth aspect.
In a thirteenth aspect, embodiments of the present application provide a computer program product including instructions, which, when executed on a second electronic device, cause the electronic device to perform a method as described in the second aspect and any possible implementation manner of the second aspect.
In a fourteenth aspect, an embodiment of the present application provides a computer program product including instructions, which, when run on a first electronic device, causes the first electronic device to perform the method described in any one of the possible implementation manners of the third aspect and the third aspect.
In a fifteenth aspect, embodiments of the present application provide a computer program product comprising instructions, which, when run on a second electronic device, cause the electronic device to perform the method as described in the fourth or fifth aspect.
In a sixteenth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes instructions that, when executed on a second electronic device, cause the second electronic device to perform a method as described in the second aspect and any possible implementation manner of the second aspect.
In a seventeenth aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions that, when executed on a first electronic device, cause the first electronic device to perform a method as described in any one of the possible implementations of the third aspect and the third aspect.
In an eighteenth aspect, embodiments of the present application provide a computer-readable storage medium, which includes instructions that, when executed on a second electronic device, cause the second electronic device to perform the method described in the fourth aspect or the fifth aspect.
In a nineteenth aspect, embodiments of the present application provide a system that includes a first electronic device and a second electronic device. The first electronic device and the second electronic device are configured to perform the method described in the first aspect.
It is to be understood that the second electronic device provided by the sixth aspect, the electronic device provided by the seventh aspect, the electronic device provided by the eighth aspect, the electronic device provided by the ninth aspect, the chip provided by the tenth aspect, the chip provided by the eleventh aspect, the chip provided by the twelfth aspect, the computer program product provided by the thirteenth aspect, the computer program product provided by the fourteenth aspect, the computer program product provided by the fifteenth aspect, the computer storage medium provided by the sixteenth aspect, the computer storage medium provided by the seventeenth aspect, the computer storage medium provided by the eighteenth aspect, and the system provided by the nineteenth aspect are all configured to perform the method provided by the embodiments of the present application. Therefore, the beneficial effects achieved by the method can refer to the beneficial effects in the corresponding method, and are not described herein again.
Drawings
The drawings used in the embodiments of the present application are described below.
Fig. 1 is a schematic structural diagram of a system architecture according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device 30 provided in an embodiment of the present application;
fig. 3 is a block diagram of a software structure of the electronic device 30 according to the embodiment of the present application;
FIG. 4 is a schematic diagram of a user interface provided by an embodiment of the present application;
FIGS. 5A-5D are schematic diagrams of some user interfaces provided by embodiments of the present application;
FIGS. 6A-6D are schematic diagrams of some user interfaces provided by embodiments of the present application;
FIG. 7 is a schematic view of some of the user interfaces provided by embodiments of the present application;
FIG. 8 is a schematic view of some of the user interfaces provided by embodiments of the present application;
FIG. 9 is a schematic view of some of the user interfaces provided by embodiments of the present application;
FIG. 10 is a schematic view of some of the user interfaces provided by embodiments of the present application;
11A-11C are schematic diagrams of some user interfaces provided by embodiments of the present application;
FIGS. 12-17 are schematic diagrams of some user interfaces provided by embodiments of the present application;
fig. 18 is a flowchart illustrating an application icon layout method according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings. The terminology used in the description of the embodiments herein is for the purpose of describing particular embodiments herein only and is not intended to be limiting of the application.
First, an application scenario related to the embodiment of the present application is described. When a user changes an electronic device, the user may not be familiar with the layout of application icons on the desktop of the electronic device and the positions of the respective application icons. Similarly, when a user has multiple electronic devices (e.g., using two cell phones), the user may be familiar with where an icon applied to one of the electronic devices is located on the desktop, and may not be familiar with where an icon applied to another of the electronic devices is located on the desktop. Thus, when a user changes the electronic device or uses an unfamiliar electronic device, the user needs to spend a long time looking for the icon of the application on the desktop, which reduces the convenience of using the electronic device.
In order to improve convenience in using electronic equipment, embodiments of the present application provide an application icon layout method and a related apparatus. In the application icon layout method, the position of the icon of each application on the first electronic equipment on the desktop of the equipment is familiar to the user. The user can quickly find the icon of the application on the desktop of the first electronic equipment and open the icon. The location of the icons of the respective applications on the second electronic device on the desktop of the device is unfamiliar to the user.
The first electronic device may transmit data to the second electronic device through one or more of bluetooth, wireless fidelity (Wi-Fi), Near Field Communication (NFC), and the like. The data is, for example, first information carrying desktop layout information and application icon position information. The first electronic device may also transmit data to the second electronic device through cellular mobile communication technology such as 3G, LTE, 5G, etc. or Wide Area Network (WAN) technology. The first electronic equipment can respond to user operation and send first information carrying desktop layout information and application icon position information to the second electronic equipment. The second electronic device may receive the first information, and may layout the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information. And after the re-layout is completed, the positions of the icons of the same application on the desktop of the second electronic equipment and the first electronic equipment are the same. The desktop layout may include the page number of the desktop and the maximum number of icons contained on each page (for example, 4 icons per row and 6 columns of icons contained on each page of the desktop at the maximum, that is, the maximum number is 4 × 6 ═ 24).
In this way, the application icons on the desktop of the second electronic device can be arranged according to the desktop arrangement and the positions of the application icons on the first electronic device. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
The system architecture according to the embodiments of the present application is described below. Referring to fig. 1, fig. 1 is a schematic structural diagram of a system architecture according to an embodiment of the present disclosure. As shown in fig. 1, the system comprises a first electronic device 10 and a second electronic device 20. Wherein:
the position of the icons of the various applications on the first electronic device 10 on the desktop of the device is familiar to the user. The user can quickly find the icon of the application on the desktop of the first electronic equipment and open the icon.
The first electronic device 10 may transmit data with the second electronic device 20, and specifically, may transmit data through one or more technologies of bluetooth, Wi-Fi, NFC, and the like. For example, the first electronic device 10 may utilize a huawei share (hereinafter, implemented as a fast share control) to enable the first electronic device 10 to transmit data to the second electronic device 20. Specifically, the bluetooth module and the Wi-Fi module in the first electronic device 10 and the second electronic device 20 are both turned on. The first electronic device 10 may utilize bluetooth module scanning to discover the second electronic device 20. The first electronic device 10 may then display the scanned device identification of the second electronic device. In response to a user operation acting on the device identity, the first electronic device 10 may transmit data to the second electronic device 20 over the WLAN direct. The data is, for example, first information carrying desktop layout information and application icon position information.
The first electronic device 10 may transmit Data to the second electronic device 20 by using Bluetooth Low Energy (BLE) and/or classic bluetooth BR/EDR (Basic Rate/Enhanced Data Rate) technology. The bluetooth technology utilized by embodiments of the present application may include different versions of the bluetooth protocol, such as bluetooth versions 1.0, 1.2, 2.0+ EDR, 3.0+ HS, 4.0, 4.1, 4.2, and 5.0.
Among these, Wi-Fi technology is WLAN direct, for example. In this embodiment, the first electronic device 10 may transmit the first information carrying the desktop layout information and the application icon position information to the second electronic device 20 through the WLAN direct connection. The WLAN direct technology enables data to be directly transferred between the first electronic device 10 and the second electronic device 20 without passing through a wireless access point. In the embodiment of the present application, not limited to WLAN direct connection, the first electronic device 10 may also transmit the first information to the second electronic device 20 through other Wi-Fi technologies, for example, transmit data to the second electronic device 20 through the Wi-Fi access point by the first electronic device 10.
In the embodiment of the present application, in an NFC scenario, an NFC module in a first electronic device and an NFC module in a second electronic device may operate in a peer-to-peer (P2P) mode. The first electronic device and the second electronic device can transmit data.
In the embodiment of the present application, not limited to bluetooth, Wi-Fi, and NFC, the first electronic device 10 may also transmit data to the second electronic device 20 through cellular mobile communication technology such as 3G, LTE and 5G or WAN technology.
In the system architecture shown in fig. 1, a first electronic device 10 may send first information carrying desktop layout information and application icon position information to a second electronic device 20. The second electronic device 20 may lay out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information. After the re-layout is completed, the desktop layout of the second electronic device 20 is the same as that of the first electronic device 10, and the positions of the icons of the same application on the desktop of the second electronic device 20 are the same as those of the icons of the same application on the first electronic device 10.
In the embodiment of the present application, the first electronic device 10 and the second electronic device 20 may be a mobile phone, a smart watch, a tablet computer, a personal computer, and the like.
An example of a structure of an electronic apparatus, which can be employed by both the first electronic apparatus 10 and the second electronic apparatus 20, will be described below. Referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic device 30 according to an embodiment of the present disclosure.
The following describes an embodiment specifically by taking the electronic device 30 as an example. It should be understood that the electronic device 30 shown in fig. 2 is merely an example, and that the electronic device 30 may have more or fewer components than shown in fig. 2, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device 30 may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 30. In other embodiments of the present application, the electronic device 30 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 30. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 30.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate over a CSI interface to implement the capture functionality of electronic device 30. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 30.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 30, and may also be used to transmit data between the electronic device 30 and peripheral devices. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 30. In other embodiments of the present application, the electronic device 30 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 30. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 30 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 30 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 30. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 30, including Wireless Local Area Networks (WLANs), such as Wi-Fi networks, Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 30 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 30 can communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
In this embodiment, the wireless communication module and the mobile communication module in the first electronic device 10 may be configured to send the first information, which carries the layout information of the desktop and the location information of the application icon on the desktop. The second electronic device 20 may receive the first information through its own wireless communication module and mobile communication module.
The electronic device 30 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 30 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 30 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 30 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 30 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 30 may support one or more video codecs. In this way, the electronic device 30 can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 30 can be realized by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 30. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 30 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 30, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 30 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic device 30 can listen to music through the speaker 170A or listen to a hands-free conversation.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device 30 receives a call or voice information, it can receive the voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 30 may be provided with at least one microphone 170C. In other embodiments, the electronic device 30 may be provided with two microphones 170C to achieve noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 30 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and the like.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronics 30 determine the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 30 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 30 may also calculate the touched position based on the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 30. In some embodiments, the angular velocity of electronic device 30 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 30, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 30 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 30 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 30 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 30 is a flip phone, the electronic device 30 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 30 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 30 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 30 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 30 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 30 emits infrared light to the outside through the light emitting diode. The electronic device 30 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 30. When insufficient reflected light is detected, the electronic device 30 may determine that there are no objects near the electronic device 30. The electronic device 30 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 30 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 30 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 30 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 30 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 30 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 30 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 30 heats the battery 142 when the temperature is below another threshold to avoid a low temperature causing an abnormal shutdown of the electronic device 30. In other embodiments, when the temperature is below a further threshold, the electronic device 30 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the electronic device 30 at a different position than the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic device 30 may receive a key input, and generate a key signal input related to user setting and function control of the electronic device 30.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic device 30 by being inserted into the SIM card interface 195 or by being pulled out of the SIM card interface 195. The electronic device 30 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 30 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 30 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 30 and cannot be separated from the electronic device 30.
The software system of the electronic device 30 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 30.
Referring to fig. 3, fig. 3 is a block diagram of a software structure of the electronic device 30 according to the embodiment of the present disclosure.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, video, system application, short message, desktop, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions for the electronic device 30. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In the embodiment of the present application, the system application of the first electronic device 10 may include an icon synchronization module. The system application may obtain the layout of the desktop and the location of the application on the desktop from the desktop, an application program. The system application of the first electronic device 10 may sequentially transmit the layout of the desktop and the position of the application icon on the desktop to the kernel layer, and transmit the first information carrying the layout information of the desktop and the position information of the application icon on the desktop through the communication module (mobile communication module or wireless communication module).
The second electronic device 20 receives the first information through the communication module and transmits the first information to an upper layer application, for example, a system application of the second electronic device. And the icon synchronization function module of the system application adjusts the desktop layout and the position of the desktop application in the desktop application according to the first information, and transmits the adjusted data to the kernel layer after the adjustment is finished, and the kernel layer drives the display screen to display the data.
User interfaces according to embodiments of the present application are described below.
Referring to fig. 4, fig. 4 is a schematic diagram of a user interface according to an embodiment of the present disclosure. The user interface 100 shown in fig. 4 is a schematic user interface diagram of a desktop of the first electronic device 10.
As shown in fig. 4, the user interface 100 may comprise: a status bar 101, an application icon area 102, a navigation bar 103, and a page indicator 104. Wherein:
status bar 101 may include: one or more signal strength indicators for mobile communication signals (which may also be referred to as cellular signals), one or more signal strength indicators for Wi-Fi signals, a battery status indicator, a time indicator.
The application icon area 102 may contain one or more application icons. For example, an application icon 1021 of smart home, an application icon 1022 of AI speaker, an application icon 1023 of memo, an application icon 1024 of computer, an application icon 1025 of application store, an application icon 1026 of music, an application icon 1027 of browser, an application icon 1028 of heart health research, an application icon 1029 of mailbox, an application icon 1030 of gallery, a set application icon 1031, and an application icon 1032 of huayi.
The navigation bar 103 may also contain one or more application icons, such as camera application icon 1031, dialed application icon 1032, informational application icon 1033, contact application icon 1034.
In the embodiment of the present application, the desktop of the first electronic device 10 may include a plurality of pages, and the application icon may be distributed on the plurality of pages. The user may slide left and right to browse the application icons in other pages. The page indicator 104 may be used to indicate which page the user is currently browsing. For example, as shown in FIG. 4, page indicator 104 indicates that the currently viewed page is the rightmost page, and the user may slide to the left to cause first electronic device 10 to toggle to display to the other two left-hand pages.
In some embodiments of the present application, the navigation bar 103 may be stationary when the desktop of the first electronic device 10 is switched between multiple pages. That is, when the plurality of pages are switched, the application icon of the application icon area 102 is changed.
In the embodiment of the present application, the desktop of the first electronic device 10 may further include a calendar indicator, which may be used to indicate the current time, such as the date, day of the week, time division information, and the like. The desktop of the first electronic device 10 may further include a weather indicator, which may be used to indicate a weather type, such as cloudy sunny, light rain, etc., and may also be used to indicate information such as temperature, etc.
In this embodiment, the desktop layout of the first electronic device may include the page number of the desktop and the maximum number of icons accommodated on each page (for example, as shown in fig. 4, the maximum number of icons accommodated on each page of the desktop is 4 at most, and 6 columns at most, that is, the maximum number is 4 × 6 ═ 24). In the embodiment of the present application, the maximum number of icons accommodated on each page may refer to the maximum number of icons accommodated on the application icon area 102. The position of the application icon on the desktop refers to the row and column of the application icon on the page. The rows are counted from top to bottom, and the columns are counted from left to right.
For example, as shown in fig. 4, the smart home application icon 1021 is on row 1, column 1 of the desktop user interface 100. The AI speaker application icon 1022, the memo application icon 1023, and the computer application icon 1024 are respectively located in the 1 st row, 2 nd column, 1 st row, 3 rd column, and 1 st row, 4 th column of the desktop user interface.
An application icon 1025 of an application store, an application icon 1026 of music, an application icon 1027 of a browser, and an application icon 1028 of a heart health study are respectively located at row 2, column 1, row 2, column 2, row 2, column 3, and row 2, column 4 of the desktop user interface.
The application icon 1029 of the mailbox, the application icon 1030 of the gallery, the set application icon 1031 and the Huawei wearing application icon 1032 are respectively located in the 1 st column of the 3 rd row, the 2 nd column of the 3 rd row, the 3 rd column of the 3 rd row and the 4 th column of the 3 rd row of the user interface of the desktop.
The camera app icon 1031, the dialing app icon 1032, the information app icon 1033, and the contact app icon 1034 are respectively located in the 1 st, 2 nd, 3 rd, and 4 th columns of the navigation bar 103 of the user interface of the desktop.
In this embodiment, the first electronic device 10 may send the first information carrying the desktop layout information and the application icon position information to the second electronic device 20. The second electronic device 20 may receive the first information and lay out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information. After the re-layout is completed, the desktop layout of the second electronic device 20 is the same as that of the first electronic device 10, and the positions of the icons of the same application on the desktop of the second electronic device 20 are the same as those of the icons of the same application on the first electronic device 10.
In the embodiment of the present application, the application icon position may include a position of an application icon 102 on the desktop and a position of a navigation bar 103 of the application installed on the first electronic device 10.
In the embodiment of the application, the first information is not limited to carrying the position information of the application icon on the desktop, and can also carry the position information of the control on the desktop.
The widget may include a widget (widget), such as a calendar widget (for indicating a current time, such as a date, a day of the week, time information, and the like), a weather widget (for indicating a weather type, such as cloudy-sunny weather, light rain, and the like, and also for indicating information such as temperature, and also for indicating a place), and a memo widget (for displaying recent memo information).
The control may also contain a negative screen, which refers to a screen on the left side of the desktop of the device for presenting information. The controls also comprise various functional controls on one screen, such as a payment code control, a taxi taking control, a logistics information display control, an air ticket display control and the like.
Controls may also include functionality controls on the control center, such as Wi-Fi switches, bluetooth switches, music components (including start switch, next switch, etc.), camera switches, and the like. Controls may also include various function switches on a drop-down menu bar, such as a Wi-Fi switch, a Bluetooth switch, a brightness adjustment control, a mode switching control (e.g., to switch between a ring mode, a vibrate mode, and a mute mode). The controls may also contain cards for implementing various functions.
In this embodiment, the first electronic device 10 may send the first information carrying the position information of the control on the desktop to the second electronic device 20. The second electronic device 20 may lay out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information, and lay out the corresponding controls according to the first information. After the controls are laid out, the corresponding controls on the second electronic device 20 are located at the same positions on the desktop or the drop-down menu bar as on the first electronic device 10.
It should be understood that the above examples of the control are only used to explain the embodiments of the present application, and should not be construed as limiting. In this application embodiment, the first information may also carry position information of other controls on the desktop, which is not limited in this application embodiment.
Several examples of the first information process of the first electronic device 10 sending the information carrying the desktop layout and the position of the application icon to the second electronic device 20 will be described below with reference to the user interface.
When the setting control on the setting interface of the first electronic device 10 is in the open state, the first electronic device 10 may send first information carrying the desktop layout information and the application icon position information to the second electronic device 20 through the short-range wireless communication or the mobile communication network. The following describes the user interfaces involved in the following cases, respectively: (1) and sending first information carrying desktop layout information and application icon position information through one or more technologies of Bluetooth and Wi-Fi. (2) And sending first information carrying desktop layout information and application icon position information through an NFC technology. (3) And sending first information carrying desktop layout information and application icon position information through a cellular mobile communication technology or a WAN technology.
(1) Sending first information carrying desktop layout information and application icon position information through one or more technologies of Bluetooth and Wi-Fi
Specifically, please refer to fig. 5A to 5D, and fig. 5A to 5D are schematic diagrams of some user interfaces provided in the embodiments of the present application. Fig. 5A shows the user interface 30 as a setup interface on the first electronic device 10. In response to a user operation acting on an application icon provided on the user interface 100 shown in fig. 4, the first electronic device 30 may display the user interface 300. The user interface 30 may also be a next-level user interface of the set user interface, which is not limited in the embodiment of the present application.
As shown in FIG. 5A, the user interface 300 may include desktop layout options 301, a lock layout control 302, an auto-align control 303, an intelligent helper control 304, and a desktop synchronization control 305. The user interface 300 may also include a return control 306. Wherein:
and a return control 306 for returning to the previous level interface.
A desktop layout option 301 is used to set a desktop layout of the first electronic device 10, where the desktop layout includes, for example, 4 × 6, and application icons in 4 rows and 6 columns can be laid out on one page of the desktop. The desktop layout may also include 5 x 5, 5 x 6. 5 × 5 represents that 5 rows and 5 columns of application icons can be laid out on one page of the desktop, and 5 × 6 represents that 5 rows and 6 columns of application icons can be laid out on one page of the desktop.
And a locking layout control 302 for locking the layout of the current desktop and the position of the application icon on the first electronic device 10. After the layout of the desktop and the position of the application icon are locked, the application icon on the desktop cannot be moved and deleted, and the corresponding application cannot be uninstalled.
And the intelligent assistant control 304 is configured to start a leftmost screen display of the desktop of the first electronic device 10, and after the starting, the first electronic device 10 may display express delivery information, exercise step number information, a search box, and the like on the leftmost screen.
A desktop synchronization control 305 to synchronize the location and desktop layout of application icons across devices.
In the embodiment of the present application, the desktop synchronization control 305 may include an open state and a closed state. In response to a user operation acting on the desktop synchronization control 305, the first electronic device 10 may toggle the desktop synchronization control 305 between an open state and a closed state on the user interface 300.
As shown in fig. 5A and 5B, the desktop synchronization control 305 is in an off state, and the first electronic device 10 may display the desktop synchronization control 305 in an on state on the user interface 300 in response to a user operation acting on the desktop synchronization control 305.
In the embodiment of the present application, the first electronic device 10 may also display the user interface 400 in response to a user operation acting on the desktop synchronization control 305. As shown in fig. 5C, the user interface 400 may include a synchronization content selection area 401 and a synchronization mode selection area 402.
The synchronized content selection area 401 may contain an application icon selection area 4012 and a full selection control 4011. The application icon selection area 4012 may contain an icon of an application installed in the first electronic device 10. The application icons may include a selected state and an unselected state. The application icon selection area 4012 is in the selected state, and the application icon is sent out at the position on the desktop. The all-select control 4011 can also contain a selected state and an unselected state.
When the full selection control 4011 is in the selected state, all the application icons in the application icon selection area 4012 are in the selected state. In response to a user operation acting on the all-selection control 4011, the first electronic device 10 displays the all-selection control 4011 in a non-selected state from a selected state, and the first electronic device 10 displays all application icons in the application icon selection area 4012 in the selected state as the non-selected state. In response to a user operation applied to an application icon in the application icon selection area 4012, the first electronic device displays the application icon in an unselected state as a selected state.
The synchronization mode selection area 402 may be used to display the mode of the position of the plurality of sending application icons on the desktop. As shown in fig. 5C, the synchronization mode selection area 402 may include a fast sharing control 4021, a WeChat sharing control 4022, a QQ sharing control 4023, a twitter sharing control 4024, a face book sharing control 4025, a mail sharing control 4026, a WLAN direct connection sharing control 4027, a memo sharing control 4028, and a bluetooth sharing control 4029. Not limited to the example listed synchronization modes, the first electronic device 10 may display more sharing controls in response to a sliding operation applied to the synchronization mode selection area 402. Wherein:
the WeChat sharing control 4022, the QQ sharing control 4023, the Tute sharing control 4024, the face book sharing control 4025 and the mail sharing control 4026 can be used for sending out the position of the application icon in the selected state on the desktop and the layout of the desktop through the corresponding communication applications (WeChat application, QQ application, Tute application, face book application and mail application).
The memo sharing control 4028 may be configured to record the position of the application icon in the selected state on the desktop and the desktop layout through a memo application, and transmit the recorded application icon to the cloud device or other terminal devices through the memo application.
The WLAN direct connection sharing control 4027 may be configured to share the location of the application icon in the selected state on the desktop and the desktop layout through WLAN direct connection. The bluetooth sharing control 4029 may be configured to share the location and the desktop layout of the application icon in the selected state on the desktop via bluetooth. The extreme speed sharing control 4021 may be configured to share the position of the application icon in the selected state on the desktop and the desktop layout by combining bluetooth and Wi-Fi. Taking the fast sharing control 4021 as an example, the bluetooth sharing control 4029 is similar to the WLAN direct sharing control 4027.
The extreme sharing control 4021 may also prompt "click here to start WLAN and bluetooth, no traffic is required, and extreme sharing" is indicated.
In response to a user operation acting on the extreme speed sharing control 4021, the first electronic device 10 may turn on the Wi-Fi switch when the Wi-Fi switch is off, and the first electronic device 10 may also turn on the bluetooth switch when the bluetooth switch is off. After the bluetooth switch and the Wi-Fi switch are turned on, the bluetooth module and the Wi-Fi module of the first electronic device 10 are in a working state.
The first electronic device 10 may search for the peripheral device through bluetooth.
In this embodiment of the application, when a user wants to receive the position and the desktop layout of the application icon sent by the first electronic device 10 through another device (for example, the second electronic device 20), the user may turn on the fast sharing switch of the second electronic device 20 through a user operation, and specifically refer to the description of the fast sharing switch shown in fig. 6B and 6C. After the turbo sharing switch of the second electronic device 20 is turned on, the second electronic device 20 may transmit a bluetooth broadcast or a Wi-Fi broadcast. The bluetooth broadcast and Wi-Fi broadcast may carry a Media Access Control (MAC) address and a device identification (e.g., Lisa's handset) of the second electronic device 20.
When the first electronic device 10 searches, it may receive the bluetooth broadcast or the Wi-Fi broadcast sent by the second electronic device 20, that is, search for the second electronic device 20. The first electronic device 10 may display the device identification of the second electronic device 20 according to the received broadcast of the second electronic device 20.
Illustratively, as shown in fig. 5D, the first electronic device 10 displays the device identification of the searched device. The device identities of the searched devices comprise a device identity 403 and a device identity 404. The device identification 403 may prompt "display". The device identification 404 may prompt "handset of Lisa". The device identification 404 may be a device identification of the second electronic device 20.
The user may touch the device identifier 404 to send the location and desktop layout of the application icon of the first electronic device 10 to the device to which the device identifier 404 corresponds (i.e., the second electronic device 20).
In response to a user operation applied to the device identifier 404, the first electronic device 10 sends first information carrying desktop layout information and application icon position information to the second electronic device 20. Specifically, the first electronic device 10 may send the first information to the second electronic device 10 through a MAC address carried on the bluetooth broadcast. The first electronic device 10 may send the first information through the WLAN direct connection.
Referring to fig. 6A to 6D, fig. 6A to 6D are schematic user interfaces of some second electronic devices 20 according to an embodiment of the present disclosure.
The user interface 200 shown in fig. 6A is a schematic user interface of a desktop of the second electronic device 20. As shown in fig. 6A, the user interface 200 on the second electronic device 20 may also include: a status bar 201, an application icon area 202 and a navigation bar 203. Wherein:
the status bar 201 may be as described above with reference to the status bar 101 of fig. 4. The application icon area 202 may include an AI speaker application icon 2021, a gallery application icon 2022, a setup application icon 2023, a huawei wear application icon 2024, a browser application icon 2025, a mailbox application icon 2026, a music application icon 2027, a memo application icon 2028, a heart health research application icon 2029, and an application store application icon 2020.
The navigation bar 203 may contain one or more application icons, such as an informational application icon 2031, a contact application icon 2032, a camera application icon 2033, and a dialed application icon 2034.
In some embodiments of the present application, as shown in fig. 6A, the page count of the desktop of the second electronic device 20 may be 1 page.
It is understood that fig. 6A merely illustrates the user interface of the second electronic device 20, and should not be construed as a limitation to the embodiments of the present application.
As shown in fig. 6A and 6B, in response to a pull-down operation applied to the status bar 201 in the user interface depicted in fig. 6A, the second electronic device 20 displays the user interface 500 shown in fig. 6B. As shown in fig. 6B, the user interface 500 may include a plurality of switches, which may include a WLAN switch, a bluetooth switch, a flashlight switch, an auto-rotate switch, a screen capture switch, a flight mode switch, a movement data switch, a location information switch, an eye protection mode switch, a hot spot switch, a screen recording switch, a large screen projection switch, an NFC switch 503, and the like.
As shown in FIG. 6B, user interface 500 may also contain a very fast share control 501. The second electronic device 20 may toggle the very fast sharing control 501 between the on state and the off state in response to a user operation acting on the very fast sharing control 501. For example, as shown in fig. 6B and 6C, the very-fast sharing control 501 is in the off state, and in response to a user operation acting on the very-fast sharing control 501, the second electronic device 20 switches the very-fast sharing control 501 from the off state to the on state. With the express share control in the on state, the second electronic device 20 may send a bluetooth broadcast to be searched by surrounding devices. Not limited to bluetooth broadcasts, the second electronic device 20 may also transmit Wi-Fi broadcasts.
It can be understood that, in the embodiment of the present application, the fast sharing switch is illustrated on the user interface 500, but the interface where the fast sharing switch is located is not limited in the embodiment of the present application, for example, the fast sharing switch may also be located on the setting interface.
The bluetooth broadcast and the Wi-Fi broadcast may carry the media access control MAC address and the device identification (e.g., Lisa's handset) of the second electronic device 20.
When the first electronic device 10 searches, it may receive the bluetooth broadcast or the Wi-Fi broadcast sent by the second electronic device 20, that is, search for the second electronic device 20. The first electronic device 10 may display the device identification of the second electronic device 20 according to the received broadcast of the second electronic device 20.
In this embodiment, when the second electronic device 20 receives the first information from the first electronic device, the second electronic device 20 may display a prompt box 502 on the user interface 50. The first information can carry desktop layout information and application icon position information of the first electronic device. As shown in FIG. 6C, prompt box 502 may contain prompt 5021, decline control 5022, and accept control 5023. Wherein:
prompt 5021 may prompt "desktop sync request received".
The rejection control 5022 may be configured to reject the second electronic device 20 from performing the layout of the application icons on the desktop again according to the received first information.
And the accept control 5023 is used for the second electronic device 20 to perform layout of the application icons on the desktop again according to the received first information.
The embodiment of the present application is not limited to the second electronic device 20 displaying the prompt box 502 on the user interface 500. The prompt box may also be displayed on any user interface. When the second electronic device 20 displays any user interface, the second electronic device 20 may display the prompt box 502 according to the received first information.
Illustratively, in response to a user operation acting on the accept control 5023, the second electronic device 20 receives the first information and lays out the installed application icons on the desktop according to the desktop layout and application icon positions indicated by the first information. After the installed application icon is on the desktop according to the first information, as shown in fig. 6D, the second electronic device 20 displays the desktop that the user has rearranged.
In this embodiment of the application, the second electronic device 20 lays out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information. After the re-layout is completed, the icons of the same application on the second electronic device 20 and the first electronic device 10 are located at the same position on the desktop.
For example, as in the example depicted in fig. 6D, after the second electronic device 20 lays out the installed application icons on the desktop according to the first information, the desktop of the second electronic device 20 may also contain 3 pages. However, since the left two pages have no application icons, the desktop of the second electronic device 20 may only include one page. After the re-layout, each application icon is located at the same position on the page as the same application icon on the first electronic device 10.
Specifically, after the rearrangement, as shown in fig. 6D and fig. 4, on the desktop of the second electronic device 20, the application icon 2021 of the AI loudspeaker is located in the row 1, column 2, and is at the same position as the application icon 1022 of the AI loudspeaker on the first electronic device 10. I.e. the icon 1022 of the AI loudspeaker on the first electronic device 10 is also located on row 1, column 2. After the re-layout, the gallery application icon 2022 is located in row 3, column 2 on the desktop of the second electronic device 20, in the same position as the gallery application icon 1030 on the first electronic device 10. After the rearrangement, similarly, on the desktop of the second electronic device 20, the set application icon 2023, the Huawei wearing application icon 2024, the browser application icon 2025, the mailbox application icon 2026, the music application icon 2027, the memo application icon 2028, the heart health research application icon 2029, and the application store application icon 2020 are located at the same position as the same application icon on the first electronic device.
Similarly, after the re-layout, as shown in fig. 6D and 4, the application icons in the navigation bar 203 of the desktop of the second electronic device 20 are located at the same positions as the same application icons on the first electronic device. The camera application icon 2033, the dialing application icon 2034, the information application icon 2031 and the contact application icon 2032 are respectively located in the 1 st column, the 2 nd column, the 3 rd column and the 4 th column of the navigation bar 203 on the desktop of the second electronic device. This is the same position as the same application icon in the desktop navigation bar 103 of the first electronic device 10.
In this way, the application icons on the desktop of the second electronic device 20 can be laid out according to the desktop layout and the positions of the application icons on the first electronic device 10 according to the user operation. While the user is familiar with where the icons of the various applications on the first electronic device 10 are located on the desktop of the device. When using the second electronic device 20, the user can quickly find the icon of the application on the desktop of the second electronic device 20 and open it, so that the convenience of using the electronic device can be improved.
(2) Sending first information carrying desktop layout information and application icon position information through NFC technology
In other embodiments of the present application, the first electronic device may transmit the first information to the second electronic device 20 via NFC technology.
For example, referring to fig. 7, fig. 7 is a schematic view of some user interfaces provided by the embodiments of the present application. As shown in fig. 7 (a), in the user interface 300 of the first electronic device 10, the desktop synchronization control 305 is in an off state, and in response to a user operation acting on the desktop synchronization control 305, the first electronic device 10 may display the desktop synchronization control 305 in an on state on the user interface 300.
In the embodiment of the present application, the first electronic device 10 may also display the user interface 600 in response to a user operation acting on the desktop synchronization control 305 shown in fig. 7 (a). As shown in fig. 7 (B), user interface 600 may contain a prompt 601, a help control 602, and a cancel control 603.
The prompt 601 may prompt "please turn on NFC of the device that needs to synchronize the desktop icon layout and bump into the device.
In some embodiments of the present application, the first electronic device 10 may turn on the NFC switch in response to a user operation acting on the desktop synchronization control 305 shown in fig. 7 (a). After the NFC switch is turned on, the NFC module is turned on, and the first electronic device 10 may interact with another device through the NFC module. In other embodiments, the NFC switch on the first electronic device 10 needs to be manually turned on. The NFC switch of the first electronic device 10 resembles the second electronic device 20.
And the help control 602 can be used for prompting the specific operation flow of opening the NFC and transmitting through the NFC. In response to a user operation acting on the help control 602, the first electronic device 10 may display a specific operational flow of opening NFC and transmitting via NFC.
A cancel control 603 for canceling transmission of the first message.
In the embodiment of the present application, the user may manually turn on the NFC switch of the second electronic device 20. Specifically, as shown in fig. 6B, the NFC switch 503 on the second electronic device 20 may be in an off state, and in response to a user operation acting on the NFC switch 503, the second electronic device 20 may switch and display the NFC switch 503 from the off state to the on state. When the NFC switch 503 is in the on state, the NFC module on the second electronic device 20 is in the working state. The second electronic device 20 may transmit data with other electronic devices (e.g., the first electronic device 10) through the NFC module.
As shown in (C) of fig. 7, after the NFC switch of the second electronic device 20 is turned on, the second electronic device 20 may contact (i.e., hit) the first electronic device 10. When the first electronic device 10 and the second electronic device 20 are in contact, the first electronic device 10 may send first information carrying desktop layout information and application icon position information to the second electronic device 20 through NFC communication.
After the second electronic device 20 receives the first information, the second electronic device 20 may lay out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information. As shown in fig. 7 (D), after the new layout is completed, the desktop layout of the second electronic device 20 is the same as that of the first electronic device 10, and the position of the icon of the same application on the desktop of the second electronic device 20 is the same as that of the icon of the same application on the first electronic device 10. The description of the user interface 200 in fig. 6D may be referred to with respect to the user interface 200 shown in fig. 7 (D), and will not be repeated here.
(3) Sending first information carrying desktop layout information and application icon position information through cellular mobile communication technology or WAN technology
In this embodiment of the application, the first information carrying the desktop layout information and the application icon position information may be sent in response to a user operation on the user interface 300 (setting interface).
In other embodiments of the present application, when the same account (e.g., hua is an account) is logged in by multiple devices (e.g., the first electronic device 10 and the second electronic device 20), the first electronic device 10 or the second electronic device 20 may display a prompt interface to prompt the user that desktop synchronization may be performed (i.e., desktop layout may be adjusted by the first information carrying desktop layout information and application icon position information). The prompt interface may respond to a user operation, so that the first electronic device 10 sends first information carrying desktop layout information and application icon position information. Described separately below.
(a) User operation on the settings interface 300 triggers application icon synchronization on the desktop
Example one: shaking to transmit first information
Referring to fig. 8, fig. 8 is a schematic diagram of some user interfaces provided in the embodiments of the present application. As shown in fig. 8 (a), in the user interface 300 of the first electronic device 10, the desktop synchronization control 305 is in an off state, and in response to a user operation acting on the desktop synchronization control 305, the first electronic device 10 may display the desktop synchronization control 305 in an on state on the user interface 300. The user interface 300 may be the user interface described with reference to fig. 5A.
In this embodiment, the first electronic device 10 may also display a user interface 700 in response to a user operation acting on the desktop synchronization control 305 shown in fig. 8 (a). As shown in fig. 8 (B), the user interface 700 may contain a prompt 701, a help control 702, and a cancel control 703.
Prompt 701 may prompt "please pan a script device and a device that needs to synchronize desktop icon layouts.
In some embodiments of the present application, in response to a user operation acting on the desktop synchronization control 305 shown in fig. 8 (a), the first electronic device 10 may detect data through the acceleration sensor and determine whether the first electronic device 10 has performed a shake based on the detected data. In this embodiment, the desktop synchronization control on the setting interface of the second electronic device 20 may also be in an open state. The desktop synchronization control on the setup interface of the second electronic device 20 references the desktop synchronization control 305 on the user interface 30 of the first electronic device 10. When the desktop synchronization control on the setting interface is in the on state, the second electronic device 20 may also detect data through the acceleration sensor and determine whether the first electronic device 10 has shaken according to the detected data.
Help controls 702 can be used to prompt for a particular operational flow. In response to a user operation acting on the help control 702, the first electronic device 10 may display a specific operational flow of the user operation to transmit the first message.
A cancel control 703 for canceling transmission of the first message.
As shown in fig. 8 (B) and 8 (C), after the desktop synchronization controls of the setting interfaces of the first electronic device 10 and the second electronic device 20 are both in the open state, the user may hold the two electronic devices and shake (i.e., shake and shake). The first electronic device 10 may determine that the first electronic device 10 is shaken through data detected by the acceleration sensor, and transmit a notification indicating that the first electronic device 10 is shaken to a server through a cellular mobile communication technology or a WAN technology. Similarly, the server may also receive a notification indicating that the second electronic device 10 is shaking. The server may instruct the first electronic device 10 and the second electronic device 20 to transmit data therebetween so that the first electronic device 10 may transmit first information carrying the desktop layout information and the application icon position information to the second electronic device 20.
After the second electronic device 20 receives the first information, the second electronic device 20 may lay out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information. As shown in (D) of fig. 8, after the re-layout is completed, the second electronic device 20 and the first electronic device 10 have the same icon of the same application on the desktop. The description of the user interface 200 in fig. 6D may be referred to with respect to the user interface 200 shown in fig. 7 (D), and will not be repeated here.
In some embodiments of the present application, second electronic device 20 may display a prompt and accept control upon receiving the first information. The prompt may indicate that new desktop layout and icon position information has been received. In response to a user operation acting on the acceptance control, the second electronic device 20 performs layout of the installed application icons on the desktop in accordance with the desktop layout and application icon positions indicated by the first information.
It is understood that the present embodiment is described by taking the example of using cellular mobile communication technology or WAN technology to transmit the first message in the shake scene, but is not limited to the cellular mobile communication technology or WAN technology, and may also be technology of short-range wireless communication (for example, one or more of bluetooth and WiFi), and the present embodiment is not limited thereto.
Example two: transmitting first information through WeChat, QQ and other communication software
By way of introduction to WeChat, please refer to FIG. 9, which is a schematic diagram of some user interfaces provided by embodiments of the present application. As shown in (a) of fig. 9, the first electronic device 10 displays the user interface 400, and the description of the user interface 400 may refer to the description of fig. 5C. In response to a user operation acting on the WeChat analysis control 4022, the first electronic device 10 may display a user interface 704. User interface 704 is a user interface for a WeChat application. The first electronic device 10 may log in to the first wechat account. As shown in fig. 9 (B), the user interface 704 may contain a search box 7041, a contact list 7042. Wherein:
a search box 7041 may be used to search for contacts.
The contact list 7041 may contain one or more contacts. As shown in fig. 9 (B), the contact list 7041 may contain file transfer assistants 70421.
In response to a user operation applied to the file transfer assistant 70421, the first electronic device 10 may transmit the first information carrying the desktop layout information and the application icon position information to a device (e.g., the second electronic device 20) logging in the first wechat account by using a cellular mobile communication technology or a WAN technology.
In response to user operations acting on the file transfer assistant 70421, the first electronic device 10 may display a user interface 705. As shown in fig. 9 (C), the user interface 705 is a dialog interface of the wechat application. The user interface 705 may include a return control 7051, a prompt 7052 indicating the first information, a dialog 7053. Wherein:
a return control 7051 for returning to the previous level of the user interface 705.
Prompt 7052, indicating the first information.
A dialog 7053 for entering text messages, emoticon messages, and the like.
After the first electronic device 10 transmits the first information carrying the desktop layout information and the application icon position information to a device (for example, the second electronic device 20) logging in the first wechat account, the second electronic device 20 may re-layout the desktop application icon through the first information.
Referring to fig. 10, fig. 10 is a schematic view of some user interfaces provided by the embodiment of the present application. As shown in fig. 10 (a), the second electronic device 20 may also log in the first wechat account. The second electronic device 20 may display a dialog interface, i.e., the user interface 706, of the WeChat application. The user interface 706 may include a return control 7061, a prompt 7062 indicating the first information, a dialog 7063. Wherein:
a return control 7061 for returning to the previous level of the user interface 706.
Prompt 7062, indicating first information.
A dialog 7063 for entering text messages, emoticon messages, and the like.
In response to the user operation acting on prompt 7062, second electronic device 20 displays user interface 707. As shown in fig. 10 (B), user interface 707 includes a prompt 7071, a cancel control 7072, and an accept control 7073. Wherein:
prompt 7071, can prompt "is desktop layout and application icon location synchronized? ".
A cancel control 7072 can be used to cancel the application icon of the re-layout desktop. In response to a user operation acting on the cancel control 7072, the second electronic device 20 closes the user interface 707, returning to the user interface 706.
And an acceptance control 7073, configured to lay out the installed application icons on the desktop by the second electronic device 20 according to the desktop layout and the application icon positions indicated by the first information. In one possible embodiment, in the embodiment depicted in fig. 10 (a), the second electronic device 20 may only obtain a link indicating the first information. In response to a user operation acting on the accept control 7073, the second electronic device 20 may receive the first information and lay out the installed application icons on the desktop in accordance with the desktop layout and application icon positions indicated by the first information.
After the second electronic device 20 re-lays out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information, positions of the icons of the same application on the desktop on the second electronic device 20 and the first electronic device 10 are the same, which may refer to the description of the user interface 200 in fig. 6D, and details are not repeated here.
(b) The first electronic device 10 and the second electronic device 20 logging in the same account display prompt interfaces, and application icon synchronization on the desktop is triggered through user operation on the prompt interfaces
In some embodiments of the present application, when both the first electronic device 10 and the second electronic device 20 log in the same system account (for example, hua is an account), a server corresponding to the account may notify the first electronic device 10 and the second electronic device 20 that synchronization of application icons on a desktop is possible.
In the process of logging in the account numbers of the first electronic device 10 and the second electronic device 20, the first electronic device 10 may request a server to log in the hua as an account number through a cellular mobile communication technology or a WAN technology, and the server may verify the log-in request of the first electronic device 10, for example, the server may store a password corresponding to an account number set by a user and verify the password, and if the verification is passed, the first electronic device 10 logs in the hua as an account number. In this embodiment, after the first electronic device 10 logs in the hua as an account, the association relationship between the device information of the first electronic device 10 and the hua as account may be stored in the server. Similarly, the cloud server may store the association relationship between the device information of the second electronic device 10 and the huawei account.
When the account number is associated with device information of a plurality of devices, the server may notify the first electronic device 10 and the second electronic device 20 through a cellular mobile communication technology or a WAN technology, so that synchronization of application icons on a desktop may be performed.
Specifically, taking the first electronic device 10 as an example for introduction, please refer to fig. 11A to 11C, and fig. 11A to 11C are some schematic user interfaces provided in the embodiments of the present application. As shown in fig. 11A, upon receiving the notification, the first electronic device 10 may display a user interface 800. User interface 800 may include a prompt 801, an options control 802, an options control 803, and a cancel control 804.
Wherein:
prompt 801 may prompt "detect you are logging on two devices at the same time, may synchronize application icon positions across devices.
Option control 802 may be configured to send out the desktop layout and application icons of first electronic device 10 at the location of the desktop to cause second electronic device 20 to re-layout the desktop icons.
Option control 803 may be used for first electronic device 10 to receive a desktop layout and a position of an application icon on a desktop of another electronic device (e.g., second electronic device 20) under the same hua account, and perform a desktop icon layout again.
A cancel control 804 for canceling the desktop icon layout synchronization between the first electronic device 10 and the second electronic device 20. In response to a user operation acting on the cancel control 804, the first electronic device 10 may close the user interface 800.
In the embodiment of the present application, in response to a user operation acting on the option control 803, the first electronic device 10 may send a request to the server through cellular mobile communication technology or WAN technology. In response to the request, the server may notify the second electronic device 20 to send information carrying the desktop layout information and the location information of the application icon on the desktop to the first electronic device 10. The second electronic device 20 may send information carrying the desktop layout information and the location information of the application icon on the desktop to the first electronic device through one or more of bluetooth, Wi-Fi, NFC, cellular mobile communication technology, or WAN technology.
In addition, the first electronic device 10 is not limited to requesting the desktop layout and the application icon position from the second electronic device 20 via the server through the cellular mobile communication technology or the WAN technology, and the first electronic device 10 may also transmit data to the second through one or more of bluetooth, Wi-Fi, or NFC. Specifically, taking bluetooth and Wi-Fi as examples, in response to a user operation acting on the option control 803, the first electronic device 10 may turn on the bluetooth module and the Wi-Fi module and send a bluetooth broadcast. The second electronic device 20 may also turn on the bluetooth module and the Wi-Fi module. When the second electronic device 20 scans the bluetooth broadcast of the first electronic device 10, the second electronic device 20 may display the device identification of the first electronic device 10. In response to the user operation applied to the device identifier, the second electronic device 20 may send information carrying the desktop layout information and the location information of the application icon on the desktop to the first electronic device 10 through the WLAN direct.
In this embodiment, in response to a user operation acting on the option control 802, the first electronic device 10 may send, to the second electronic device 20 via the server, the first information carrying the desktop layout information and the application icon position information.
As shown in fig. 11B, the second electronic device 20 may display a prompt box 805 after receiving the first information, where the prompt box 805 may include a prompt 8051, a reject control 8052, and an accept control 8053. Wherein:
prompt 8051 may prompt "receive a desktop sync request. And after receiving, the desktop icon layout of the device is rearranged.
The reject control 8052 may be configured to reject, by the second electronic device 20, the layout of the application icon on the desktop according to the received first information.
And the receiving control 8053 is configured to, by the second electronic device 20, perform layout of the application icon on the desktop again according to the received first information.
In response to a user operation applied to the accept control 8053, the second electronic device 20 lays out the installed application icons on the desktop in accordance with the desktop layout and application icon positions indicated by the first information. After the installed application icon is on the desktop according to the first information, as shown in fig. 11C, the second electronic device 20 displays the desktop that the user has rearranged. The desktop rearranged by the second electronic device 20 can refer to the description of the user interface 200 in fig. 6D, and is not described here in detail.
In other embodiments, when multiple devices are logged onto the same account (e.g., hua is an account) at the same time, in the user interface illustrated in fig. 11A, in response to a user operation applied to option control 802, first electronic device 10 may display user interface 400 illustrated in fig. 5C. The first electronic device 10 may further send the first information carrying the desktop layout information and the application icon position information to the second electronic device 20 through one or more of bluetooth and Wi-Fi.
In other embodiments of the present application, when multiple devices log into the same account (e.g., huacheng account) at the same time, in the user interface illustrated in fig. 11A, in response to a user operation applied to option control 802, first electronic device 10 may further display user interface 600 illustrated in (B) of fig. 7. The first electronic device 10 may also send the first information carrying the desktop layout information and the application icon location information to the second electronic device 20 through NFC.
In other embodiments of the present application, when multiple devices log into the same account (e.g., huacheng account) at the same time, in the user interface illustrated in fig. 11A, in response to a user operation applied to option control 802, first electronic device 10 may further display user interface 700 illustrated in (B) of fig. 8. The first electronic device 10 may also transmit the first information carrying the desktop layout information and the application icon position information to the second electronic device 20 through a cellular mobile communication technology or a WAN technology.
In this embodiment, when the second electronic device 20 successfully logs in to the hua-shi account, the second electronic device 20 may display a user interface, which is similar to the user interface 800 on the first electronic device 10 shown in fig. 11A. The second electronic device 20 may also receive a user action acting on option 2. In response to the user operation applied to option 2, the second electronic device 20 may receive the first information from the first electronic device through the mobile communication technology. The first information carries desktop layout information of a desktop of the first electronic device and position information of the application icon on the desktop of the first electronic device. Thereafter, the second electronic device 20 may display a prompt box 805 illustrated in fig. 11B. In response to a user operation applied to the accept control 8053, the second electronic device 20 lays out the installed application icons on the desktop in accordance with the desktop layout and application icon positions indicated by the first information.
It is understood that the first electronic device 10 and the second electronic device 20 are described in this embodiment by way of example, and are all devices such as a mobile phone, a smart watch, a tablet computer, and a personal computer. The embodiment of the present application is not limited to the first electronic device 10 and the second electronic device 20 being the same type of device. In the following, the first electronic device 10 is taken as a mobile phone, and the second electronic device 20 is taken as a tablet computer for example.
Wherein the desktop of the first electronic device 10 refers to the embodiment described in fig. 4. Referring to fig. 12, fig. 12 is a schematic diagram of some user interfaces provided by the embodiment of the present application. As shown in fig. 12 (a), the second electronic device 20 may display a desktop 806. Desktop 806 can include wearable application icon 8061, heart health study application icon 8062, setup application icon 8063, gallery application icon 8064, mailbox application icon 8065, browser application icon 8066, application store application icon 8067, music application icon 8068, AI speaker application icon 8069, memo application icon 80610, QQ application icon 80611, and WeChat application icon 80612.
Wherein: huanwei application icon 8061 is located on the desktop at row 1, column 1. Application icon 8062 for the heart health study is located on desktop 806, row 1, column 2. Disposed application icon 8063 is located on desktop 806 in row 1, column 3. Gallery application icon 8064 is located on desktop 806 in row 1, column 4. Mailbox application icon 8065 is located on desktop 806 at row 1, column 5. Browser application icon 8066 is located on desktop 806 at row 2, column 1. Application icons 8067 for the application store are located on desktop 806 in row 2, column 2. Music application icon 8068 is located on desktop 806 in row 2, column 3. Application icon 8069 for the AI speaker is located on desktop 806 at row 2, column 4. Memo application icon 80610 is located on desktop 806 at row 2, column 5. Application icon 80611 for QQ is located on row 3, column 1 of desktop 806. WeChat application icon 80612 is located on desktop 806 at row 3, column 2.
The desktop 806 of the second electronic device 20 may also include a navigation bar 80613. The navigation bar 80613 can include an application icon for dialing numbers, an application icon for information, an application icon for contacts, and an application icon for a camera. The dialed application icon, informational application icon, contact application icon, and camera application icon are located in columns 1, 2, 3, and 4 of navigation bar 80613, respectively.
The first electronic device 10 may send the first information carrying the desktop layout information and the application icon position information to the second electronic device 20. Specifically, the first electronic device 10 may send the first information to the second electronic device 20 through one or more technologies of bluetooth, Wi-Fi, and NFC, or may send the first information through a mobile communication technology or a WAN technology, which is described with reference to fig. 5A to 5D, fig. 6A to 6D, fig. 7 to 10, and fig. 11A to 11C.
After receiving the first information, the second electronic device 20 (e.g., a tablet computer) may perform the desktop icon layout again according to the first information. As shown in fig. 12 (B), after the rearrangement, on the desktop 806 of the second electronic device 20, the application icon 8069 of the AI loudspeaker is located on the row 1, column 2, and is located at the same position as the application icon 1022 of the AI loudspeaker on the first electronic device 10. I.e. the icon 1022 of the AI loudspeaker on the first electronic device 10 is also located on row 1, column 2. After the re-layout, on the desktop 806 of the second electronic device 20, the memo application icon 80610 is located on row 1, column 3, in the same position as the memo application icon 1023 on the first electronic device 10. After the re-layout, similarly, on the desktop 806 of the second electronic device 20, the application icon 8067 of the application store, the application icon 8068 of the music, the application icon 8066 of the browser, the application icon 806 of the heart health study, the application icon 8065 of the mailbox, the application icon 80642 of the gallery, the application icon 8063 of the settings, and the application icon 8061 of the Huawei wear are located in the same position as the same application icon on the first electronic device 10.
As shown in fig. 12 (B), no icon is placed on the desktop 806 in row 1, column 1, and row 1, column 4.
Similarly, after the rearrangement, as shown in fig. 12 (B) and fig. 4, the application icons in the navigation bar 203 of the desktop of the second electronic device 20 are located at the same positions as the same application icons on the first electronic device. The camera app icon, the dialing app icon, the information app icon, and the contact app icon are located in column 1, column 2, column 3, and column 4 of the navigation bar 80613 of the second electronic device desktop 806, respectively. This is the same position as the same application icon in the desktop navigation bar 103 of the first electronic device 10.
In the embodiment of the present application, the first electronic device 10 may not include the application icon of the QQ and the application icon of the WeChat. That is, the first information may not include location information of the application icon of the QQ and the application icon of the WeChat. The application icon 80611 of the QQ and the application icon 80612 of the WeChat on the second electronic device 20 can be located on the desktop 806 of the second electronic device 20 at row 4, column 1 and column 4, column 2, respectively, on the desktop 806 on the principle that the movement distance on the desktop 806 is minimal. Please refer to fig. 15-17 for the principle of minimum moving distance.
In the embodiment of the present application, fig. 12 is only an example, and the second electronic device 20 is not limited to the application icon layout according to the example described in fig. 12. For example, after the re-layout, application icon 80611 for the QQ may be located on desktop 806 at row 1 and column 1 of desktop 806 on desktop 806 of second electronic device 20. WeChat application icon 80612 may be located on desktop 806 at row 1, column 4.
Some embodiments of the second electronic device 20 to rearrange the desktop icons in the embodiments of the present application are described below.
(1) Case of folder on desktop
In one possible embodiment, a plurality of application icons on the desktop of the first electronic device 10 may be located in one folder. The first electronic device 10 may send the information that the plurality of application icons are in the same folder and the location information of the folder on the desktop to the second electronic device 20 by carrying the information in the first information. When the plurality of applications are also installed on the second electronic device 20, the second electronic device 20 may create a folder according to the first information and place the plurality of application icons in the folder and the folder on the same position on the desktop as the first electronic device 10.
Specifically, please refer to fig. 13, and fig. 13 is a schematic diagram of a user interface according to an embodiment of the present application. As shown in fig. 13, the first electronic device 10 may display a desktop 105. Desktop 105 may include an icon for application 1, an icon for application 2, an icon for application 3, an icon for application 4, an icon for application 5, an icon for application 6, an icon for application 7, and an icon for application 8. The icons all correspond to different applications. Desktop 105 may also contain folder 1, folder 1 may contain icons for applications 9, 10. Illustratively, as shown in FIG. 13, folder 1 is named "video".
The icon of the application 1, the icon of the application 2, the icon of the application 3 and the icon of the application 4 are respectively located in the 1 st to 4 th columns of the 1 st row of the desktop 105. The icon of the application 5, the icon of the application 6, the icon of the application 7 and the icon of the application 8 are respectively positioned in the 1 st to 4 th columns of the 2 nd row of the desktop 105. Folder 1 is located on desktop 105 at row 3, column 1. In folder 1, application icon 9 is located in row 1, column 1 of folder 1, and application icon 10 is located in row 1, column 2 of folder 1.
The desktop 105 may also include a navigation bar 1051. The navigation bar 1051 may contain an icon for application 11, an icon for application 12, an icon for application 13, and an icon for application 14. The icon of the application 11, the icon of the application 12, the icon of the application 13, and the icon of the application 14 are located in the 1 st to 4 th columns of the navigation bar 1051, respectively.
The second electronic device 20 may display a desktop 204. Referring to fig. 14, fig. 14 is a schematic diagram of a user interface according to an embodiment of the present disclosure. As shown in fig. 14 (a), the desktop 204 may contain an application icon of application 1, an icon of application 6, folder 3 (containing an icon of application 7 and an icon of application 8, named "shopping"), an icon of application 9, an icon of application 10, and an icon of application 15. Desktop 204 may also include navigation bar 2041. Navigation bar 2041 may contain an icon for application 12, an icon for application 13, an icon for application 11, and an icon for application 14.
Wherein: the icon for application 6, folder 3, is located in column 1 and column 2, respectively, of row 1 of desktop 204. The icon of the application 9, the icon of the application 10, the icon of the application 15 and the icon of the application 1 are respectively positioned in the 1 st to 4 th columns of the 2 nd row of the desktop 204. The icon of the application 12, the icon of the application 13, the icon of the application 11, and the icon of the application 14 are located in the 1 st to 4 th columns of the navigation bar 2041, respectively.
The second electronic device 20 may perform the desktop application icon layout again according to the first information carrying the desktop layout information and the application icon position information. After the desktop application icon layout is performed again, as shown in fig. 14 (B), the icon of application 1 on the desktop 204 is located on the 1 st row and the 1 st column of the desktop 204 of the second electronic device. The icon of the application 6, the icon of the application 7 and the icon of the application 8 are respectively positioned on the 2 nd row and the 2 nd to 4 th columns of the second electronic device 204. This is the same position of the same application icon as the first electronic device 10. After the re-layout, the folder 3 is deleted.
The second electronic device 20 may also create the folder 2 and put icons of the applications 9 and 10 in the folder 2 according to the first information. The name of folder 2 in the second electronic device 20 is the same as the name of folder 1 in the first electronic device 10, and is "video". After the desktop application icon layout is re-performed, the location of folder 2 on desktop 204 is the same as the location of folder 1 on desktop 105 of first electronic device 19. I.e., folder 2 is on row 3, column 1 of desktop 204. In the folder 2, the icon of the application 9 is located at the same position as the icon of the application 9 in the folder 1 of the first electronic device 10, i.e. the icon of the application 9 is in the 1 st row and the 1 st column of the folder 2. Similarly, the icon for the application 10 in the folder 2 is located in the same position as the icon for the application 10 in the folder 1 of the first electronic device 10, i.e. the icon for the application 10 is in row 1, column 2 of the folder 2.
After the desktop application icon layout is performed again, the icon of the application 11, the icon of the application 12, the icon of the application 13, and the icon of the application 14 on the navigation bar 2041 of the second electronic device 20 are respectively located in the 1 st column, the 2 nd column, the 3 rd column, and the 4 th column of the navigation bar 2041 of the second electronic device desktop 204. This is the same position as the same application icon in the navigation bar 1051 of the desktop 105 of the first electronic device 10.
Wherein, since the first electronic device 10 may not install the application 15, the first information may not include the icon position of the application 15. I.e. the application 15 is a non-common application of the first electronic device 10 and the second electronic device 20. The icons of the application 15 can be arranged on the row 1, column 3 of the desktop 204 of the second electronic device 20 according to the principle of minimum moving distance.
In some embodiments of the present application, the first electronic device and the second electronic device may contain folders of the same name. One or more identical application icons are contained within the same name folder. After the layout is carried out again, the same-name folder on the second electronic equipment is reserved and arranged at the same position of the first electronic equipment, and the position of the same application icon in the same-name folder is the same as the position of the corresponding application icon in the first electronic equipment. After the new layout is carried out, the application icons which are different from the application icons on the first electronic equipment in the same-name folder on the second electronic equipment are moved out of the same-name folder, and the different application icons are moved according to the principle of the minimum moving distance.
In some embodiments of the present application, the first electronic device and the second electronic device contain folders of different names, but the same application icon is contained in the folders of different names. And after the desktop layout is carried out again, the folder with the different name on the second electronic equipment is moved to the same position as that on the first electronic equipment. And after the desktop layout is carried out again, the positions of the same application icons in the folders with different names on the second electronic equipment are the same as those on the first electronic equipment. And after the desktop layout is carried out again, the application icons which are different from the first electronic equipment in the folders with different names on the second electronic equipment are moved out of the folders and are moved according to the minimum moving distance principle.
In some embodiments of the present application, the first electronic device and the second electronic device include folders with the same name or different names, and the folders include the same application icon. After the layout is carried out again, the folder with the same name or different names on the second electronic equipment can be moved to the position same as that on the first electronic equipment, and the folder is moved according to the principle of minimum moving distance.
(2) For icons on the second electronic device 20 which are not commonly used with the icons on the first electronic device 10, the principle of moving the application icons in the smallest number is adopted, and the principle of moving the application icons in the smallest distance is adopted
In the embodiment of the present application, for an application (for example, the application 15 described in fig. 14) that is not installed in the first electronic device 10, the first information may not include an icon position of the application. I.e. the application is a non-common application of the first electronic device 10 and the second electronic device 20. The second electronic device 20 may determine the position of each application icon for these non-common applications by using the principle of minimum moving distance and the principle of minimum number of mobile application icons. It should be understood that the step-counting rule related to the moving distance in the embodiment of the present application is only used for explaining the embodiment of the present application, and should not be construed as a limitation.
For example, referring to fig. 15, fig. 15 is a schematic view of some user interfaces provided by embodiments of the present application. The desktop of the first electronic device 10 is the desktop 105 described with reference to fig. 13. As shown in (a) of fig. 15, the first electronic device 10 and the second electronic device 20 are each installed with an application 1, an application 3, an application 4, an application 7, an application 8, an application 9, an application 10, an application 12, an application 13, and an application 14. I.e. these applications are common applications.
After receiving the first information, the second electronic device 20 determines the positions of the commonly applied icons on the desktop according to the first information. The common application icons are located at the same position on the desktop as the corresponding application icons on the first electronic device 10. For example, as shown in fig. 15 (B), if the position of the icon of application 1 on the desktop 105 of the first electronic device 10 is row 1, column 1, the position of the icon of application 1 on the desktop 204 of the second electronic device 20 after the desktop icon layout is performed again is row 1, column 1.
The applications 15 and 16 on the second electronic device 20 are non-common applications with the first electronic device 10. I.e. the first electronic device 10 has not installed the application 15 and the application 16.
For non-common applications (application 15 and application 16), the number of application icons moving on the desktop 204 is minimized, and the total distance the application icons move is minimized. Specifically, as shown in fig. 15 (B), icons of the non-common applications 16 are located in the 1 st column of the navigation bar 2041 before the desktop icon layout is not resumed. After the re-layout, the icons of the applications 16 are still in column 1 of the navigation bar 2041. For non-common applications 15, row 2, column 3 of the desktop 204 is located before the desktop icon layout is not redone. After the re-layout, the icon for the application 15 is located on row 2, column 2 of the desktop 204, moving 1 step. The number of application icons that are moved on the desktop 204 is minimized (move 1 application icon, i.e., application 16 icon), and the total distance that the application icons are moved is minimized (move 1 step).
For example, referring to fig. 16, fig. 16 is a schematic view of some user interfaces provided by embodiments of the present application. As shown in fig. 16, the application 15 and the application 17 on the second electronic device 20 are non-common applications. Icons for non-common applications 15 are located on row 2, column 3 of the desktop 204 before the desktop icon layout is not redone. After the re-layout, the icon for application 15 is located on row 2, column 3 of desktop 204, moving by 1 step. For icons of non-common applications 17, row 1, column 3 of the desktop 204 is located before the desktop icon layout is not redone. After the re-layout, the icon for application 17 is located on row 1, column 3 of desktop 204, moving 1 step. The total distance the application icon moves is as small as possible (move 2 steps).
In addition, the second electronic device 20 does not have the application 10 installed thereon, and the second electronic device 20 may set the icon of the application 9 on the 3 rd row and 1 st column of the desktop 204 at the same position as the folder 1 on the first electronic device 10. The folder 1 contains icons of the applications 9.
In some embodiments of the present application, the desktop of the first electronic device 10 and the desktop of the second electronic device 20 may both comprise folders, e.g., the desktop of the first electronic device 10 comprises folder 3 and the desktop of the second electronic device 20 comprises folder 4. When the folder 3 and the folder 4 contain the same APP, the second electronic device 20 may adjust the folder 4 to the position of the folder 3 on the desktop according to the first information, and the application icons in the folder 4 also exist in the folder 3 after the layout is rearranged. The second electronic device 20 may also adjust the name of the folder 4 to be the same as the name of the folder 3. For example, the folder 3 includes an icon of the application 1 and an icon of the application 2. The folder 4 includes an icon of the application 2 and an icon of the application 3. The second electronic device 20 performs the desktop icon layout again, the folder 4 also includes the icon of the application 1 and the icon of the application 2, and the position of the folder 4 on the desktop of the second electronic device 20 is the same as the position of the folder 3 on the first electronic device 10.
In some embodiments of the present application, after the desktop icon layout is resumed according to the first information, the icon of the application 1 in the folder 5 on the second electronic device 20 needs to be removed from the folder 5. After removal, the folder 5 may still contain a plurality of application icons. After the desktop icon layout is resumed, the folder 5 can still exist with the minimum moving distance.
It should be understood that the above-mentioned folder scheme is only illustrated in the embodiment of the present application and should not be construed as limiting.
In the embodiment of the present application, the calculation of the moving distance of the icon on the second electronic device 20 is described below.
The icon moving distance on the second electronic device 20 refers to a distance that the same application icon moves on the desktop before and after the desktop icon layout is performed again by the second electronic device 20. The distance is in units of the number of steps of the icon adjacent to the non-navigation bar area on the desktop. The following examples are given.
Application icon to non-navigation bar on desktop
Before and after the desktop icon layout is repeated, the moving steps of the same application icon on the desktop checkerboard are the moving distance of the application icon. Here each step of application icons can only be moved to the position of the application icons adjacent up, down, left and right. For example, in the user interface shown in (a) and (B) of fig. 16, the application icon of application 1 moves from row 2, column 4 to row 1, column 1 for 4 steps. The icon of the application 15 moves from row 2, column 3, to row 2, column 2, for a total of 1 step.
When the application icons of the non-navigation bar on the desktop move to the navigation bar, the total moving step number is +10 steps moving on one page according to the checkerboard of the desktop. It is understood that the embodiment of the present application takes 10 steps as an example, and is not limited to this value, and other values may be added.
When the application icons of the non-navigation columns on the desktop move from one page of the desktop to another page, the total moving steps are +10 steps of moving on one page according to the checkerboard of the desktop. For example, referring to fig. 17, fig. 17 is a schematic view of some user interfaces provided by embodiments of the present application. Fig. 17 (a) shows the desktop 204 before being rearranged according to the first information. As shown in fig. 17 (a), the desktop 204 may further include a page indicator 2042, where the page indicator 2042 indicates that the currently browsed page is the rightmost page, and the user may slide to the left to cause the second electronic device 20 to switch to display to the other two left pages. After the second electronic device 20 performs the desktop icon layout again according to the first information, as shown in (B) of fig. 17, the page indicator 2042 indicates that the icon of the application 15 is set in the desktop middle page. Move from position 1 to position 2, i.e., move 1 step, shown in fig. 17 (B) on one page according to the desktop checkerboard. Position 1 is where the application 15 was on a page before the layout was changed, i.e. row 2, column 3 of the desktop. The total number of steps of the move is 11 (i.e., 1 step +10 steps).
The navigation bar 2041 and the desktop 204 in fig. 17 (a) can refer to the description in fig. 16 (a), and are not described here again.
② application icon for navigation bar
And the application icons of the navigation bar are not guided to the navigation bar when being moved to the desktop, and the total moving step number is +10 of the step number of the movement on one page according to the checkerboard of the desktop.
And moving the application icons of the navigation bar in the navigation bar according to the step number of the movement of the desktop checkerboard.
③ application icon in folder
And the application icon is moved out of the folder, and the application icon calculates the checkerboard moving steps by taking the position of the folder as a starting point.
In some embodiments of the present application, the total number of steps the folder moves as the entire folder moves before and after the desktop icon layout is redone is the number of steps the desktop checkerboard moves through a page multiplied by 10.
In the embodiment of the present application, when the number of icons that need to be moved in the non-commonly applied icons on the second electronic device 20 is n (n is an integer greater than or equal to 1), the exhaustive icon moving method has n factorial methods. In this embodiment of the application, the second electronic device 20 may determine the scheme for moving the icon by using a principle that the number of the application icons is minimum and a principle that the moving distance of the application icon is minimum. Therefore, the calculation amount of the second electronic device 20 can be reduced, the occupation of a processor and a memory of the second electronic device 20 is reduced, and the running speed of the device is improved.
In the embodiment of the present application, not limited to the scheme for determining the moving icon, the second electronic device 20 may also use other algorithms to determine the scheme for determining the moving icon. For example, the second electronic device 20 may also adopt the hungarian algorithm with a computational complexity of n3
An application icon layout method provided by the embodiment of the present application is described below. Referring to fig. 18, fig. 18 is a flowchart illustrating a method for laying out application icons according to an embodiment of the present application. As shown in fig. 18, the application icon layout method includes steps S101 to S105.
In the embodiment of the application, the first electronic device displays the first desktop, and the second electronic device displays the second desktop. The first desktop is, for example, the user interface shown in fig. 4 and the user interface shown in fig. 13. The second desktop is, for example, a user interface shown in fig. 6A, a user interface shown in (a) in fig. 12, a user interface shown in (a) in fig. 14, a user interface shown in (a) in fig. 15, a user interface shown in (a) in fig. 16, and a user interface shown in (a) in fig. 17.
S101, the second electronic device 20 receives the first user operation. The first user operation discovers the second electronic device 20 for other electronic devices, such as the first electronic device 10.
In this embodiment of the application, the first user operation may be a user operation of the user interface shown in fig. 6B acting on the extreme speed sharing control 501. The first user operation is a user operation of turning on a bluetooth switch of the second electronic device or a user operation of turning on a Wi-Fi switch of the second electronic device.
S102, in response to the first user operation, the second electronic device 20 transmits the first broadcast.
The first broadcast may be a bluetooth broadcast or a Wi-Fi broadcast. The first broadcast may also be other types of broadcasts, and the embodiment of the present application is not limited thereto.
S103, the first electronic device 10 receives the second user operation. The second user operation is used to discover the second electronic device 20.
In this embodiment of the application, the second user operation may include a user operation of the user interface shown in fig. 5C to 5D that acts on the extreme sharing control 4021 and a user operation that acts on the device identifier 404. The second user operation is used for starting one or more of a Wi-Fi module and a Bluetooth module of the first electronic device.
And S104, responding to the second user operation, the first electronic equipment 10 sends the first information to the second electronic equipment 20. The first information carries desktop layout information and application icon position information. The first information can also carry folder information and the position information of the folder.
In this embodiment of the application, the first information may be obtained by encoding the first electronic device 10 through an extensible markup language (XML) encoding manner. After receiving the first information, the second electronic device 20 may obtain the desktop layout and the application icon position information through XML decoding, and may also obtain the folder information. The folder information may include information such as a folder name, an application icon included in the folder, a location of the folder on a desktop, and a location of the application icon in the folder. The desktop icon position can comprise an application icon position in the navigation bar and an application icon position in the non-navigation bar.
For example, the first information may include:
a.the desktop layout takes the value of 4 multiplied by 6;
b.the position value of the application icon 1 is 1 row and 1 column;
c.the position value of the application icon 2 is 1 row and 2 columns;
d.the information of the folder 1 includes a name value of "shopping", a position value of the folder 1 is "2 rows and 4 columns", a layout value of the folder is "3 × 3", the folder includes application icons of an application icon 6 and an application icon 7, and a position value of the application icon 6 is "1 row and 1 column". The position of the application icon 7 takes the value of 1 row and 2 columns.
e.The position value of the application icon 3 in the navigation bar is 1 row and 1 column;
f.the position value of the application icon 4 in the navigation bar is 1 row and 2 columns;
g.the position value of the application icon 5 in the navigation bar is 1 row and 3 columns.
And b, c, e, f and g are positions of the application icons on the desktop. In the embodiment of the application, each application icon can be uniquely identified by the name of the application icon and the pattern data of the icon. For example, the application names of the plurality of notepad applications are the same and are all "notepads". However, the icon patterns of the plurality of notepad applications are different, and the first electronic device 10 can identify the icon of the application by the data of the application name "notepad" and the icon pattern of the application. The second electronic device 20 may also determine an application icon of the same application by the application name and the data of the application icon.
In some embodiments of the present application, when the desktop of the first electronic device 10 includes a plurality of pages, the first information may also carry information of a page where each application icon is located.
In other embodiments of the present application, the first information may be obtained by the first electronic device 10 through JSON coding (jsonencode). After receiving the first information, the second electronic device 20 may obtain the desktop layout and the application icon position information through JSON decoding, and may also obtain the folder information.
And S105, the second electronic device 20 lays out the installed application icons on the desktop according to the desktop layout and the application icon positions indicated by the first information.
In some embodiments of the application, the second electronic device, according to the first information, resets a desktop layout of the second desktop and sets the application icon before the location of the second desktop, further including: the second electronic device displays a first user interface that includes a first control and a first prompt. The first prompt indicates receipt of the first information. And then, responding to the user operation acted on the first control, and resetting the desktop layout of the second desktop and setting the position of the application icon on the second desktop according to the first information by the second electronic equipment.
The first user interface is, for example, a prompt box 502 shown in fig. 6C. Where the first prompt is, for example, prompt 5021 and the first control is, for example, accept control 5023.
In this embodiment of the application, the second electronic device, according to the first information, resetting a desktop layout of the second desktop and setting a position of the application icon on the second desktop, includes: the second electronic equipment sets the icon of the first application at a first position of the second desktop according to the first information; the icon of the first application on the first electronic device is also located at the first position of the first desktop, and the first application is an application installed on both the first electronic device and the second electronic device. And when the second application on the second electronic equipment is reset, the moving distance on the second desktop is minimum, and the second application is an application which is installed on the first electronic equipment and is not installed on the second electronic equipment.
Illustratively, as shown in fig. 6D and 4, the first application includes an application icon 2021 of an AI speaker, an application icon 2022 of a gallery, a set application icon 2023, an application icon 2024 of a dress, an application icon 2025 of a browser, an application icon 2026 of a mailbox, an application icon 2027 of music, an application icon 2028 of a memo, an application icon 2029 of heart health research, an application icon 2020 of an application store, and applications installed for both the first electronic device and the second electronic device. After the rearrangement, on the second desktop of the second electronic device 20, the app icon 2021 of the AI loudspeaker is located in the row 1, column 2, and is the same as the app icon 1022 of the AI loudspeaker on the first electronic device 10. I.e. the icon 1022 of the AI loudspeaker on the first electronic device 10 is also located on row 1, column 2. After the re-layout, the gallery application icon 2022 is located in row 3, column 2 on the desktop of the second electronic device 20, in the same position as the gallery application icon 1030 on the first electronic device 10. After the rearrangement, similarly, on the desktop of the second electronic device 20, the set application icon 2023, the Huawei wearing application icon 2024, the browser application icon 2025, the mailbox application icon 2026, the music application icon 2027, the memo application icon 2028, the heart health research application icon 2029, and the application store application icon 2020 are located at the same position as the same application icon on the first electronic device.
In the application icon layout method described in fig. 18, the application icons on the desktop of the second electronic device may be laid out according to the desktop layout and the positions of the application icons on the first electronic device. And the user is familiar with where the icons of the various applications on the first electronic device are located on the desktop of the device. When the second electronic equipment is used, the user can quickly find the icon of the application on the desktop of the second electronic equipment and open the icon, so that the convenience of using the electronic equipment can be improved.
In this embodiment of the application, on the rearranged second desktop, the position of each application icon on the second desktop is the same as the position of the same application icon on the first desktop on the first electronic device 10.
In the embodiment of the present application, not limited to bluetooth or Wi-Fi connection, the first information may be transmitted between the first electronic device 10 and the second electronic device 20 through NFC and a mobile communication network.
(1) NFC transmitting first information
The method can comprise the following steps:
step one, the second electronic equipment displays a second desktop.
The second desktop is, for example, a user interface shown in fig. 6A, a user interface shown in (a) in fig. 12, a user interface shown in (a) in fig. 14, a user interface shown in (a) in fig. 15, a user interface shown in (a) in fig. 16, and a user interface shown in (a) in fig. 17.
And step two, the second electronic equipment receives user operation for starting the NFC module.
The user operation for turning on the NFC module is, for example, a user operation that acts on the NFC switch 503 shown in fig. 6B.
And step three, the second electronic equipment receives first information sent by the first electronic equipment through the NFC module, wherein the first information carries desktop layout information of the desktop of the first electronic equipment and position information of the application icon on the desktop of the first electronic equipment.
And step four, the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
(2) Transmitting first information by mobile communication network
The method can comprise the following steps:
step one, the second electronic equipment displays a second desktop.
And step two, responding to the first account logged by the second electronic equipment, and displaying a second user interface by the second electronic equipment.
Specifically, referring to the embodiments described in fig. 11A to 11C, in some embodiments of the present application, when the second electronic device 20 successfully logs in the first account (for example, hua is the account), the second electronic device 20 may display a second user interface, which is similar to the user interface 800 on the first electronic device 10 shown in fig. 11A. The second user interface contains a second control, for example option 2. The second electronic device 20 may also receive a user action acting on option 2. In response to the user operation applied to option 2, the second electronic device 20 may receive the first information from the first electronic device through the mobile communication technology. The first information carries desktop layout information of a desktop of the first electronic device and position information of the application icon on the desktop of the first electronic device. Thereafter, the second electronic device 20 may display a prompt box 805 illustrated in fig. 11B. In response to a user operation applied to the accept control 8053, the second electronic device 20 lays out the installed application icons on the desktop in accordance with the desktop layout and application icon positions indicated by the first information.
The first electronic equipment of the second electronic equipment also logs in the first account.
And step three, responding to the user operation acted on the second control, and receiving the first information from the first electronic equipment by the second electronic equipment through the mobile communication technology.
The first information carries desktop layout information of a desktop of the first electronic device and position information of the application icon on the desktop of the first electronic device;
and step four, the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
Embodiments of the present application also provide a computer-readable storage medium having stored therein instructions, which when executed on a computer or processor, cause the computer or processor to perform one or more steps of any one of the methods described above.
The embodiment of the application also provides a computer program product containing instructions. The computer program product, when run on a computer or processor, causes the computer or processor to perform one or more steps of any of the methods described above.
In the above-described embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. An application icon layout method, the method comprising:
the first electronic equipment displays a first desktop, and the second electronic equipment displays a second desktop;
the second electronic equipment receives a first user operation;
the second electronic equipment transmits a first broadcast in response to the first user operation;
the first electronic equipment receives a second user operation;
responding to the second user operation, the first electronic equipment discovers the second electronic equipment through the first broadcast and sends first information to the second electronic equipment; the first information carries desktop layout information of the first desktop and position information of an application icon on the first desktop;
and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
2. An application icon layout method, the method comprising:
the second electronic equipment displays a second desktop;
the second electronic equipment receives a first user operation;
the second electronic equipment transmits a first broadcast in response to the first user operation; the first broadcast is for the first electronic device to discover the second electronic device;
the second electronic equipment receives first information sent by the first electronic equipment, wherein the first information carries desktop layout information of a desktop of the first electronic equipment and position information of an application icon on the desktop of the first electronic equipment;
and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
3. The method of claim 2, wherein the first broadcast is a bluetooth broadcast or a Wi-Fi broadcast, and wherein the first information is sent by the first electronic device to the second electronic device over a Wireless Local Area Network (WLAN) direct connection or a bluetooth connection.
4. The method of claim 3, wherein the first user operation is a user operation to turn on a bluetooth switch of the second electronic device or a user operation to turn on a Wi-Fi switch of the second electronic device;
the second user operation is used for starting one or more of a Wi-Fi module and a Bluetooth module of the first electronic device.
5. The method of any one of claims 2 to 4, wherein after the second electronic device receives the first information sent by the first electronic device, the second electronic device resets the desktop layout of the second desktop according to the first information and before the application icon is located on the second desktop, and the method further comprises:
the second electronic equipment displays a first user interface, and the first user interface comprises a first control and a first prompt; the first prompt indicates receipt of the first information;
the second electronic device resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop, including:
and responding to the user operation acted on the first control, and resetting the desktop layout of the second desktop and setting the position of the application icon on the second desktop by the second electronic equipment according to the first information.
6. The method of any of claims 2 to 5, wherein the second electronic device resetting the desktop layout of the second desktop and setting the location of the application icon on the second desktop according to the first information comprises:
the second electronic equipment sets the icon of the first application at a first position of the second desktop according to the first information;
the icon of the first application on the first electronic device is also located at the first position of the first desktop, and the first application is an application installed on both the first electronic device and the second electronic device;
and when the second application on the second electronic equipment is repositioned, the second application is moved on the second desktop for the minimum distance, and the second application is an application installed on the first electronic equipment but not installed on the second electronic equipment.
7. The method of any of claims 2 to 6,
the first information also carries folder information, and the folder information comprises the position of a first folder on the first desktop, the first folder comprises a first icon and a second icon, and the position of the first icon in the first folder and the position of the second icon in the first folder.
8. An application icon layout method, the method comprising:
the first electronic equipment displays a first desktop;
the first electronic equipment receives a second user operation;
responding to the second user operation, the first electronic equipment discovers the second electronic equipment and sends first information to the second electronic equipment; the first information carries desktop layout information of the first desktop and position information of an application icon on the first desktop;
the first information is used for the second electronic equipment to reset desktop layout of a desktop of the second electronic equipment according to the first information and to set the position of an application icon on the desktop of the second electronic equipment.
9. The method of claim 8, wherein the first information is sent by the first electronic device to the second electronic device over a Wireless Local Area Network (WLAN) direct connection or a Bluetooth connection.
10. The method of claim 9, wherein the second user operation is to turn on one or more of a Wi-Fi module, a bluetooth module, or a bluetooth module of the first electronic device.
11. An application icon layout method, the method comprising:
the second electronic equipment displays a second desktop;
the second electronic device receives a user operation for starting a Near Field Communication (NFC) module;
the second electronic device receives first information sent by the first electronic device through the NFC module, wherein the first information carries desktop layout information of a desktop of the first electronic device and position information of an application icon on the desktop of the first electronic device;
and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
12. An application icon layout method, the method comprising:
the second electronic device displays a second desktop;
responding to the second electronic equipment to log in the first account, and displaying a second user interface by the second electronic equipment;
the first electronic equipment of the second electronic equipment also logs in the first account; the second user interface includes a second control;
in response to the user operation acting on the second control, the second electronic equipment receives first information from the first electronic equipment through a mobile communication technology, wherein the first information carries desktop layout information of a desktop of the first electronic equipment and position information of an application icon on the desktop of the first electronic equipment;
and the second electronic equipment resets the desktop layout of the second desktop according to the first information and sets the position of the application icon on the second desktop.
13. An electronic device, the electronic device being a second electronic device, the electronic device comprising: one or more processors, memory, a bluetooth module, and a Wi-Fi module;
the Bluetooth module and the Wi-Fi module are used for sending a first broadcast and establishing Bluetooth connection or Wi-Fi connection with first electronic equipment;
the memory coupled with the one or more processors, the memory to store computer program code, the computer program code comprising computer instructions;
the computer instructions, when executed by the one or more processors, cause the electronic device to perform the application icon layout method of any of claims 2-7.
14. An electronic device, the electronic device being a first electronic device, the electronic device comprising: one or more processors, memory, a bluetooth module, and a Wi-Fi module;
the Bluetooth module and the Wi-Fi module are used for discovering the second electronic equipment through first broadcasting and establishing Bluetooth connection or Wi-Fi connection with the second electronic equipment;
the memory coupled with the one or more processors, the memory to store computer program code, the computer program code comprising computer instructions;
the computer instructions, when executed by the one or more processors, cause the electronic device to perform the application icon layout method of any of claims 8-10.
15. An electronic device, the electronic device being a second electronic device, the electronic device comprising: one or more processors, memory, NFC modules;
the NFC module is used for receiving first information sent by first electronic equipment;
the memory coupled with the one or more processors, the memory to store computer program code, the computer program code comprising computer instructions;
the computer instructions, when executed by the one or more processors, cause the electronic device to perform the application icon layout method of claim 11.
16. An electronic device, the electronic device being a second electronic device, the electronic device comprising: one or more processors, memory, mobile communications modules;
the mobile communication module is used for receiving first information sent by first electronic equipment;
the memory coupled with the one or more processors, the memory to store computer program code, the computer program code comprising computer instructions;
the computer instructions, when executed by the one or more processors, cause the electronic device to perform the application icon layout method of claim 12.
CN202010753568.6A 2020-07-30 2020-07-30 Application icon layout method and related device Pending CN114064160A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010753568.6A CN114064160A (en) 2020-07-30 2020-07-30 Application icon layout method and related device
PCT/CN2021/109524 WO2022022674A1 (en) 2020-07-30 2021-07-30 Application icon layout method and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010753568.6A CN114064160A (en) 2020-07-30 2020-07-30 Application icon layout method and related device

Publications (1)

Publication Number Publication Date
CN114064160A true CN114064160A (en) 2022-02-18

Family

ID=80037675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010753568.6A Pending CN114064160A (en) 2020-07-30 2020-07-30 Application icon layout method and related device

Country Status (2)

Country Link
CN (1) CN114064160A (en)
WO (1) WO2022022674A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117111965A (en) * 2023-03-21 2023-11-24 荣耀终端有限公司 Application program installation method, electronic device and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048682A (en) * 2022-08-02 2023-05-02 荣耀终端有限公司 Terminal system interface layout comparison method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789955A (en) * 2009-12-25 2010-07-28 宇龙计算机通信科技(深圳)有限公司 Desktop sharing control method, device and mobile terminal
US8621365B2 (en) * 2010-04-06 2013-12-31 Asustek Computer Inc. File sharing method and system
CN103235685B (en) * 2013-03-28 2016-08-10 小米科技有限责任公司 A kind of method and apparatus that terminal operating system desktop contents is set
CN106293356A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of desktop layouts is changed planes method and system
CN106648578A (en) * 2016-09-09 2017-05-10 深圳市金立通信设备有限公司 Desktop layout sharing method, sending terminal and receiving terminal
CN106547427A (en) * 2016-10-26 2017-03-29 北京奇虎科技有限公司 A kind of method of adjustment and device of desktop layouts
CN109358940A (en) * 2018-10-31 2019-02-19 努比亚技术有限公司 Desktop synchronization, mobile terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117111965A (en) * 2023-03-21 2023-11-24 荣耀终端有限公司 Application program installation method, electronic device and readable storage medium

Also Published As

Publication number Publication date
WO2022022674A1 (en) 2022-02-03

Similar Documents

Publication Publication Date Title
CN109814766B (en) Application display method and electronic equipment
CN114467297B (en) Video call display method and related device applied to electronic equipment
CN112130742B (en) Full screen display method and device of mobile terminal
CN109766036B (en) Message processing method and electronic equipment
CN112231025B (en) UI component display method and electronic equipment
CN111669459B (en) Keyboard display method, electronic device and computer readable storage medium
CN114556294A (en) Theme switching method and theme switching device
CN113961157B (en) Display interaction system, display method and equipment
WO2021052204A1 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN113691842A (en) Cross-device content projection method and electronic device
CN113254409A (en) File sharing method, system and related equipment
CN113448382A (en) Multi-screen display electronic device and multi-screen display method of electronic device
CN113821767A (en) Application program authority management method and device and electronic equipment
CN114995715B (en) Control method of floating ball and related device
CN114115770A (en) Display control method and related device
WO2022022674A1 (en) Application icon layout method and related apparatus
CN113746961A (en) Display control method, electronic device, and computer-readable storage medium
CN114756184A (en) Collaborative display method, terminal device and computer-readable storage medium
CN113438366A (en) Information notification interaction method, electronic device and storage medium
CN114691248A (en) Method, device and equipment for displaying virtual reality interface and readable storage medium
CN113950045A (en) Subscription data downloading method and electronic equipment
CN112840680A (en) Position information processing method and related device
CN113905334B (en) Information sharing method and device
CN115048193A (en) Multi-device distributed scheduling method and related devices
CN115857964A (en) Application program installation method and related 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