[go: up one dir, main page]

CN115657897A - Cross-device desktop management method, first electronic device and second electronic device - Google Patents

Cross-device desktop management method, first electronic device and second electronic device Download PDF

Info

Publication number
CN115657897A
CN115657897A CN202210994354.7A CN202210994354A CN115657897A CN 115657897 A CN115657897 A CN 115657897A CN 202210994354 A CN202210994354 A CN 202210994354A CN 115657897 A CN115657897 A CN 115657897A
Authority
CN
China
Prior art keywords
electronic device
desktop
application
information
user
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
CN202210994354.7A
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 CN202210994354.7A priority Critical patent/CN115657897A/en
Publication of CN115657897A publication Critical patent/CN115657897A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供一种跨设备桌面管理方法、第一电子设备及第二电子设备,其中,跨设备桌面管理方法,应用于第一电子设备,包括:向第二电子设备发送访问请求,访问请求用于请求访问第二电子设备的桌面信息;接收第二电子设备发送的桌面信息;根据桌面信息显示第二电子设备的桌面;接收用户对第二电子设备的桌面的编辑操作;根据编辑操作生成对第二电子设备的桌面编辑信息,其中,桌面编辑信息用于编辑第二设备的桌面;向第二电子设备发送桌面编辑信息。上述方法能够实现跨设备桌面管理,为用户提供更有效率、更为捷径的用户体验。

Figure 202210994354

Embodiments of the present invention provide a cross-device desktop management method, a first electronic device, and a second electronic device, wherein the cross-device desktop management method is applied to the first electronic device, and includes: sending an access request to the second electronic device, accessing The request is used to request access to the desktop information of the second electronic device; receive the desktop information sent by the second electronic device; display the desktop of the second electronic device according to the desktop information; receive the user's editing operation on the desktop of the second electronic device; generating desktop editing information for the second electronic device, wherein the desktop editing information is used to edit the desktop of the second device; and sending the desktop editing information to the second electronic device. The above method can realize cross-device desktop management, and provide users with a more efficient and shortcut user experience.

Figure 202210994354

Description

跨设备桌面管理方法、第一电子设备及第二电子设备Cross-device desktop management method, first electronic device and second electronic device

技术领域technical field

本发明涉及人机交互技术领域,尤其涉及一种跨设备桌面管理方法、第一电子设备 及第二电子设备。The present invention relates to the technical field of human-computer interaction, in particular to a cross-device desktop management method, a first electronic device and a second electronic device.

背景技术Background technique

随着电子技术的发展,手机上的应用越来越丰富,使得手机成为用户使用最为频繁的电子设备。其中,手机上的桌面是用户最常看到的界面,因此桌面的管理已成为 影响用户体验的关键因素。With the development of electronic technology, more and more applications are available on mobile phones, making mobile phones the most frequently used electronic devices by users. Among them, the desktop on the mobile phone is the interface that users see most often, so the management of the desktop has become a key factor affecting user experience.

在一些场景下,我们需要对电子设备的桌面进行管理时,如果电子设备不在身边时,就无法对电子设备的桌面进行管理,从而造成极大的不便,为了更便捷、更有效 的对用户的对电子设备的桌面进行管理,如何快捷方便地实现跨设备的桌面管理,已 成为待解决的问题。In some scenarios, when we need to manage the desktop of the electronic device, if the electronic device is not around, we cannot manage the desktop of the electronic device, which will cause great inconvenience. To manage the desktops of electronic devices, how to quickly and conveniently realize cross-device desktop management has become a problem to be solved.

发明内容Contents of the invention

本申请实施例提供一种跨设备桌面管理方法、第一电子设备、第二电子设备、电子设备、计算机存储介质及计算机程序产品,能够实现跨设备的桌面管理,用户提供 更有效率、更为捷径的用户体验。Embodiments of the present application provide a cross-device desktop management method, a first electronic device, a second electronic device, an electronic device, a computer storage medium, and a computer program product, which can realize cross-device desktop management, and provide users with more efficient and more Shortcut user experience.

第一方面,本申请实施例提供了一种跨设备桌面管理方法,跨设备桌面管理方法可以应用于多个设备之间的跨设备桌面管理的场景中。例如:用户通过一电子设备(如, 电子设备A)对其它的电子设备(如,电子设备B、电子设备C或电子设备D等)进 行桌面、锁屏界面的壁纸切换、应用图标增减、图标布局、窗口小工具编辑等与电子 设备的桌面、AOD(Always On Display,息屏显示)界面、锁屏界面相关的调整或编辑 操作,以为用户提供更有效率、更为捷径的用户体验。本发明实施例以桌面为例,对 跨设备桌面管理方法进行说明,可以理解的是,本领域技术人员也可将跨设备桌面管 理方法扩展至其他用户图形用户界面。In the first aspect, the embodiment of the present application provides a cross-device desktop management method, and the cross-device desktop management method can be applied to a scenario of cross-device desktop management among multiple devices. For example: the user uses an electronic device (for example, electronic device A) to perform desktop and lock screen wallpaper switching, application icon increase and decrease, etc. Adjustment or editing operations related to the desktop, AOD (Always On Display) interface, and lock screen interface of electronic devices, such as icon layout and widget editing, to provide users with a more efficient and shortcut user experience. The embodiment of the present invention takes the desktop as an example to illustrate the cross-device desktop management method. It can be understood that those skilled in the art can also extend the cross-device desktop management method to other user GUIs.

跨设备桌面管理方法用于实现第一电子设备对第二电子设备的跨桌面管理,第一电子设备可以是但不限于智能手机、平板电脑、个人计算机(personalcomputer,PC)、 个人数字助理(PDA,Personal Digital Assistant)、智能手表、上网本、可穿戴电子设备、 增强现实技术(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、智慧屏、车载设备、智能汽车、智能音响、机器人等设备,本申请对第一电子设备的具体形式 不做特殊限制。The cross-device desktop management method is used to realize the cross-desktop management of the first electronic device to the second electronic device, and the first electronic device can be but not limited to a smart phone, a tablet computer, a personal computer (personalcomputer, PC), a personal digital assistant (PDA) , Personal Digital Assistant), smart watches, netbooks, wearable electronic devices, augmented reality (augmented reality, AR) devices, virtual reality (virtual reality, VR) devices, smart screens, vehicle-mounted devices, smart cars, smart speakers, robots and other devices, the present application does not specifically limit the specific form of the first electronic device.

第一电子设备能够与第二电子设备建立通信连接,第二电子设备能够向第一电子设备共享桌面信息,且第一电子设备能够展示第二电子设备的共享的桌面信息,并且 基于展示的桌面信息,对第二电子设备的桌面进行编辑,然后将桌面编辑信息发送给 第二电子设备,使得第二电子设备根据桌面编辑信息载入并展示第一电子设备编辑后 的桌面。也就是说,第二电子设备能够基于其与第一电子设备间的通信连接,向第一 电子设备分享其桌面信息访问权限,以使得第一电子设备的设备用户能够基于所分享 的桌面信息访问权限对第二电子设备的桌面信息进行跨设备访问,第二电子设备同样 可以是上述所列举的智能手机、平板电脑、个人计算机(personalcomputer,PC)、个人 数字助理(PDA,PersonalDigital Assistant)、智能手表、上网本、可穿戴电子设备、增强 现实技术(augmentedreality,AR)设备、虚拟现实(virtual reality,VR)设备、智慧屏、车 载设备、智能汽车、智能音响、机器人等设备,但并不局限于此,除了上述的任意类 型的设备,第二电子设备还可以是云端的服务器设备,如云端单独部署的某一服务器 设备或集中部署的服务器集群中的某一服务器设备等。The first electronic device can establish a communication connection with the second electronic device, the second electronic device can share desktop information with the first electronic device, and the first electronic device can display the shared desktop information of the second electronic device, and based on the displayed desktop information, editing the desktop of the second electronic device, and then sending the desktop editing information to the second electronic device, so that the second electronic device loads and displays the edited desktop of the first electronic device according to the desktop editing information. That is to say, based on the communication connection between the second electronic device and the first electronic device, the second electronic device can share its desktop information access authority with the first electronic device, so that the device user of the first electronic device can access the desktop information based on the shared desktop information. Permission to perform cross-device access to the desktop information of the second electronic device, and the second electronic device can also be a smart phone, a tablet computer, a personal computer (personal computer, PC), a personal digital assistant (PDA, PersonalDigital Assistant), a smartphone, etc. Watches, netbooks, wearable electronic devices, augmented reality (augmented reality, AR) devices, virtual reality (virtual reality, VR) devices, smart screens, automotive devices, smart cars, smart audio, robots and other devices, but not limited to Here, in addition to any of the above-mentioned devices, the second electronic device may also be a server device in the cloud, such as a server device independently deployed in the cloud or a server device in a server cluster deployed centrally.

所述跨设备桌面管理方法,应用于第一电子设备,包括:The cross-device desktop management method, applied to the first electronic device, includes:

向第二电子设备发送访问请求,所述访问请求用于请求访问所述第二电子设备的桌面信息;sending an access request to the second electronic device, where the access request is used to request access to the desktop information of the second electronic device;

接收所述第二电子设备发送的桌面信息;receiving desktop information sent by the second electronic device;

根据桌面信息显示所述第二电子设备的桌面;displaying the desktop of the second electronic device according to the desktop information;

接收用户对所述第二电子设备的桌面的编辑操作;receiving a user's editing operation on the desktop of the second electronic device;

根据所述编辑操作生成对所述第二电子设备的桌面编辑信息,其中,所述桌面编辑信息用于编辑所述第二设备的桌面;generating desktop editing information for the second electronic device according to the editing operation, wherein the desktop editing information is used to edit the desktop of the second device;

向所述第二电子设备发送所述桌面编辑信息。Send the desktop editing information to the second electronic device.

可以理解,本发明实施例提供的跨设备桌面管理方法,能够实现设备之间的跨设备桌面管理,可以在例如我们需要对电子设备的桌面进行管理时,电子设备不在身边, 导致无法对电子设备的桌面进行管理等场景时,实现远程对电子设备进行桌面管理, 为用户提供更便捷、更有效的使用体验。It can be understood that the cross-device desktop management method provided by the embodiment of the present invention can realize the cross-device desktop management between devices. For example, when we need to manage the desktop of the electronic device, the electronic device is not around, so that In scenarios such as managing desktops of electronic devices, remote desktop management of electronic devices can be realized, providing users with a more convenient and effective experience.

具体地,以第一电子设备和第二电子设备均为手机为例,手机桌面可以包括以下至少一项:状态栏、窗口小工具(widget)(例如:时间widget、天气widget)、应用图标 以及停靠栏(dock栏,未显示)。在一些示例中,手机桌面还可以显示有导航栏,例如 采用虚拟按键进行导航。导航键一般包括后退(back)键、主屏幕(home)键、最近任务 (recent)键和通知栏键中的一项或多项。其中,后退键用于返回上一界面。主屏幕键用 于返回桌面。最近任务键用于显示最近使用过的应用程序。通知栏键用于打开通知栏。 在另一些示例中,手机可以采用手势导航。例如:在屏幕左边或右边向内滑动的手势 用于返回上一界面。在屏幕底部向上滑动的手势用于返回桌面。在屏幕底部向上滑动 并停住用于显示最近使用过的应用程序。在屏幕顶部向下滑动用于打开通知栏。当然, 手机还可以采用其它方式进行导航,这里不再一一赘述。Specifically, taking the example that both the first electronic device and the second electronic device are mobile phones, the desktop of the mobile phone may include at least one of the following items: status bar, widget (widget) (for example: time widget, weather widget), application icon and Dock bar (dock bar, not shown). In some examples, the mobile phone desktop can also display a navigation bar, such as using virtual keys for navigation. The navigation keys generally include one or more of a back (back) key, a main screen (home) key, a recent task (recent) key and a notification bar key. Among them, the back key is used to return to the previous interface. The Home key is used to return to the desktop. The recent tasks key is used to display recently used applications. The notification bar key is used to open the notification bar. In other examples, the phone may employ gesture navigation. For example: the gesture of sliding inward on the left or right side of the screen is used to return to the previous interface. The swipe up gesture at the bottom of the screen is used to return to the desktop. Swipe up and hold at the bottom of the screen to display recently used apps. Swipe down from the top of the screen to open the notification shade. Of course, the mobile phone can also use other methods for navigation, which will not be repeated here.

手机可以包括一个或多个的桌面。用户可以通过在一个桌面上向左或向右滑动的手势来切换手机当前显示的桌面。需要说明的是,本申请实施例是以手机包含三个桌 面为例进行说明的。事实上,手机可以包含一个或多个桌面中任何一种情况。A phone can include one or more desktops. Users can switch the desktop currently displayed on the phone by swiping left or right on a desktop. It should be noted that the embodiment of the present application is described by taking a mobile phone including three desktops as an example. In fact, a phone can contain one or more desktops of any kind.

在本发明实施例中,第一电子设备至少能够用于为用户在第一电子设备上请求跨设备访问第二电子设备的桌面信息提供请求访问入口。In the embodiment of the present invention, the first electronic device can at least be used to provide a request access portal for the user to request cross-device access to the desktop information of the second electronic device on the first electronic device.

作为一种实施方式,可以在第一电子设备的操作系统中增设在不同设备间进行跨设备桌面信息共享的功能,以使得该功能作为操作系统的一自带功能;作为另一种实 施方式,也可以采用移动APP(Application,应用程序)的形式在第一电子设备上提供其 与其它电子设备间的跨设备桌面访问。As an implementation, a function of cross-device desktop information sharing between different devices can be added to the operating system of the first electronic device, so that this function can be used as a built-in function of the operating system; as another implementation, Cross-device desktop access between the first electronic device and other electronic devices may also be provided in the form of a mobile APP (Application, application program).

针对第一种实施方式,在一种具体实现中,用户可通过在第一电子设备的自身功能中调出其跨设备桌面访问功能,在调出该功能时提供至少一个待选电子设备的设备 标识(如手机号、电脑的IP(Internet Protocol,网络互连协议)地址、设备账户等),使得 用户可以在待选电子设备中选择至少一个电子设备作为第二电子设备,并向第二电子 设备发送跨设备桌面访问的访问请求。With regard to the first implementation mode, in a specific implementation, the user can call out its cross-device desktop access function in the first electronic device's own function, and provide at least one device of the electronic device to be selected when calling out the function. Identification (such as mobile phone number, IP (Internet Protocol, Internet Protocol) address of the computer, device account, etc.), so that the user can select at least one electronic device among the electronic devices to be selected as the second electronic device, and send the second electronic device to the second electronic device. The device sends an access request for cross-device desktop access.

可选的,上述的待选电子设备可以是第一电子设备所对应的设备账户的关联设备, 当用户在第一电子设备登录一个设备账户后,第一电子设备能够获知该设备账户除第一电子设备以外的其它关联设备的设备标识(如手机号、电脑的IP(Internet Protocol,网络互连协议)地址、设备账户等),第一电子设备与关联设备之间可以达成桌面跨设备访 问权限共享,用户可以手动自定义管理控制,从而确定第一电子设备调出跨设备桌面 访问功能时所对应的待选电子设备。其中,一个设备账户的关联设备可以是用户授权 建立关联关系的电子设备,和/或该设备账户历史登陆次数到达预设次数的电子设备, 和/或该设备账户正登录的电子设备等。一个设备账户的关联账号可以是该设备账户所 属家庭群组中的其它设备账户或用户授权与该设备账户建立关联允许界面跨设备管理 的设备账户。Optionally, the aforementioned electronic device to be selected may be an associated device of the device account corresponding to the first electronic device. When the user logs in a device account on the first electronic device, the first electronic device can know The device identification of other associated devices other than the electronic device (such as mobile phone number, computer IP (Internet Protocol, Internet Protocol) address, device account, etc.), the desktop cross-device access authority can be achieved between the first electronic device and the associated device Sharing, the user can manually customize the management control, so as to determine the corresponding electronic device to be selected when the first electronic device invokes the cross-device desktop access function. Among them, the associated device of a device account may be an electronic device authorized by the user to establish an association relationship, and/or an electronic device whose historical login times of the device account have reached a preset number of times, and/or an electronic device that the device account is currently logging in to, etc. The associated account of a device account can be another device account in the family group to which the device account belongs or a device account authorized by the user to establish an association with the device account to allow cross-device management of the interface.

可选的,上述的待选电子设备可以是通过蓝牙、Wi-fi(Wireless-fidelity)等无线 技术所匹配到的周边的电子设备,例如第一电子设备与其它电子设备处于同一Wi-fi的信号范围内,或者处于蓝牙的有效传输范围内等。以蓝牙为例,当其它电子设备与 第一电子设备配对成功后,第一电子设备可以与其配对成功的电子设备之间达成界面 跨设备访问权限共享关系,在用户调出跨设备桌面访问功能时,与第一电子设备配对 成功的电子设备可作为第一电子设备跨设备桌面访问的待选电子设备。Optionally, the aforementioned electronic device to be selected may be a peripheral electronic device matched by wireless technologies such as Bluetooth and Wi-fi (Wireless-fidelity), for example, the first electronic device and other electronic devices are in the same Wi-fi within the signal range, or within the effective transmission range of Bluetooth, etc. Taking Bluetooth as an example, when other electronic devices are successfully paired with the first electronic device, the first electronic device can reach an interface cross-device access permission sharing relationship with the successfully paired electronic device. When the user invokes the cross-device desktop access function , the electronic device successfully paired with the first electronic device can be used as a candidate electronic device for cross-device desktop access by the first electronic device.

当然,待选电子设备还可以是用户手动配置或添加的电子设备,用户将第一电子设备与配置的电子设备之间建立界面跨设备访问权限共享关系,用户可以手动自定义 管理控制。Of course, the electronic device to be selected can also be an electronic device manually configured or added by the user. The user establishes an interface cross-device access permission sharing relationship between the first electronic device and the configured electronic device, and the user can manually customize management control.

界面跨设备访问权限共享关系可以是单向共享关系或者双向共享关系,并不限于其中一种,且在实际应用中,同样可以将该单双向共享关系的选择功能开放给用户, 由用户根据需求选择其中一种。The interface cross-device access permission sharing relationship can be a one-way sharing relationship or a two-way sharing relationship, and is not limited to one of them. In practical applications, the selection function of the one-way and two-way sharing relationship can also be opened to the user, and the user can choose according to the needs. Choose one of them.

针对上述第二种实施方式,用户可通过桌面共享APP(该APP可以是一专门用于桌面共享的APP,也可以是在一些社交APP中增设该桌面共享功能)中向其它电子设备发 送跨设备访问权限共享关系的请求,之后在其它电子设备的桌面共享APP接受该请求 后可建立两者间的跨设备访问权限共享关系,需要说明的是,该共享关系可以是单向 共享关系,也可以是双向共享关系,并不限于其中的某一种,甚至在实际应用中,还 可以由用户根据需求选择采用单向还是双向的共享关系。在该实施方式中,电子设备 的桌面共享APP可以采用单独联系人或群组联系人的方式预先存储多个电子设备的设 备信息(如设备的共享APP账号等),以使得在有数据共享需求时,可通过向单独联系 人或群组发送桌面共享请求实现其与单独联系人的单个设备或群组对应的多个电子设 备间的数据共享。For the above-mentioned second embodiment, the user can send cross-device information to other electronic devices through the desktop sharing APP (this APP can be an APP specially used for desktop sharing, or the desktop sharing function can be added in some social APPs). A request for a sharing relationship of access rights, after the desktop sharing APP of other electronic devices accepts the request, a cross-device access sharing relationship between the two devices can be established. It should be noted that the sharing relationship can be a one-way sharing relationship, or it can be It is a two-way sharing relationship, and it is not limited to one of them. Even in practical applications, users can choose to adopt a one-way or two-way sharing relationship according to their needs. In this embodiment, the desktop sharing APP of the electronic device can pre-store the device information of multiple electronic devices (such as the shared APP account of the device, etc.) in the form of individual contacts or group contacts, so that when there is a data sharing requirement When , data sharing among multiple electronic devices corresponding to a single device or a group of an individual contact can be realized by sending a desktop sharing request to the individual contact or the group.

实际应用中,通常双方设备在各自通过对方的授权验证后才能建立两者间的桌面信息共享关系,这些在实际应用中都是可以多样化实施、灵活选择的。In practical applications, usually, the desktop information sharing relationship between the two devices can only be established after each device has passed the authorization verification of the other party, which can be implemented in a variety of ways and flexibly selected in practical applications.

结合第一方面,在一种可选地实现方式中,所述向第二电子设备发送访问请求,包括:With reference to the first aspect, in an optional implementation manner, the sending the access request to the second electronic device includes:

显示桌面编辑界面,所述桌面编辑界面包括N个选项图标,所述N个选项图标分 别对应N个待选电子设备,所述N个选项图标包括与所述第二电子设备对应的第一选 项图标,N大于或等于1;Displaying a desktop editing interface, the desktop editing interface includes N option icons, the N option icons respectively correspond to N electronic devices to be selected, and the N option icons include the first option corresponding to the second electronic device icon, N greater than or equal to 1;

响应于用户对所述第一选项图标的选择操作,向所述第二电子设备发送所述访问请求。In response to a user's selection operation on the first option icon, the access request is sent to the second electronic device.

可以理解,本发明实施例提供的跨设备桌面管理方法能够实现跨设备之间应用程序的快速分享,可以无需通过其它通讯软件,操作简单,进一步给用户带来便捷,提 升用户体验。It can be understood that the cross-device desktop management method provided by the embodiment of the present invention can realize fast sharing of application programs between cross-device without using other communication software, and is easy to operate, further bringing convenience to users and improving user experience.

具体实现中,用户可以通过在第一电子设备的任一桌面上执行第一预设操作,使得第一电子设备进入桌面编辑模式。其中,第一预设操作例如可以是在桌面上空白位 置长按、双指捏合、点击特定按钮、按压特定物理键(或物理键组合)、悬浮手势等。当 然,用户也可以通过语音命令等其它方式,触发手机进入桌面编辑模式。In a specific implementation, the user may cause the first electronic device to enter a desktop editing mode by performing a first preset operation on any desktop of the first electronic device. Among them, the first preset operation can be, for example, long press on a blank position on the desktop, pinch two fingers, click a specific button, press a specific physical key (or combination of physical keys), hover gestures, and the like. Of course, the user can also trigger the phone to enter the desktop editing mode through other methods such as voice commands.

当手机进入桌面编辑模式后,显示桌面编辑界面。本申请实施例中第一电子设备的显示区域包含两个区域。其中一个区域可用于显示桌面实时的缩略图;另一个区域 则可用于用户执行编辑桌面的操作,例如选择壁纸,添加窗口小工具,选择切换效果, 开启或关闭相关功能等。示例性的,第一区域和第二区域呈上下排列,第一区域位于 第二区域的上方或下方,或者第一区域和第二区域呈左右排列,第一区域位于第二区 域的左侧或右侧。其中,第一区域和第二区域的面积可以相同或不同。在一个示例中, 第一区域和第二区域不重叠。When the mobile phone enters the desktop editing mode, the desktop editing interface is displayed. In the embodiment of the present application, the display area of the first electronic device includes two areas. One of the areas can be used to display real-time thumbnails of the desktop; the other area can be used for users to perform operations on the desktop, such as selecting wallpapers, adding widgets, selecting transition effects, enabling or disabling related functions, etc. Exemplarily, the first area and the second area are arranged up and down, the first area is located above or below the second area, or the first area and the second area are arranged left and right, and the first area is located on the left side of the second area or Right. Wherein, the areas of the first region and the second region may be the same or different. In one example, the first area and the second area do not overlap.

可以理解的是,在第二区域上也可以包括一些供用户操作的控件。该控件可以是对桌面进行编辑的控件,也可以是对桌面缩略图进行操作的控件。也就是说,本申请 实施例中并不严格区分第一区域和第二区域的功能以及显示内容,这将有利于优化桌 面编辑界面中各个控件的布局,提升用户的使用体验。It can be understood that some controls for the user to operate may also be included on the second area. The control may be a control for editing the desktop, or a control for operating the thumbnail of the desktop. That is to say, in the embodiment of the present application, the functions and display contents of the first area and the second area are not strictly distinguished, which will help to optimize the layout of each control in the desktop editing interface and improve the user experience.

作为一种示例,当第一电子设备进入桌面编辑模式时,显示桌面编辑界面,桌面编辑界面地第二区域首先显示用于第一电子设备进行桌面编辑的控件,例如,壁纸控 件、窗口小工具控件、切换效果控件和桌面设置控件等;当用户在桌面编辑界面上执 行第二预设操作后,第二区域所显示的页面切换为显示N个待选电子设备对应的N个 选项图标的页面,以实现用户在N个待选电子设备中选择所要进行跨设备桌面编辑的 电子设备,N个待选电子设备例如可以包括:手机1、手机2及电脑1。其中,第二预 设操作可以为在第二区域上进行向左滑动、向右滑动、向上滑动或者向下滑动、按压 特定物理键(或物理键组合)等等,在本发明实施例中,具体为向左滑动。As an example, when the first electronic device enters the desktop editing mode, the desktop editing interface is displayed, and the second area of the desktop editing interface first displays controls for the first electronic device to edit the desktop, such as wallpaper controls, widgets control, switching effect control and desktop setting control, etc.; when the user performs the second preset operation on the desktop editing interface, the page displayed in the second area is switched to a page displaying N option icons corresponding to N electronic devices to be selected , so that the user can select an electronic device for cross-device desktop editing among N electronic devices to be selected, and the N electronic devices to be selected may include, for example, mobile phone 1 , mobile phone 2 and computer 1 . Wherein, the second preset operation may be sliding to the left, sliding to the right, sliding up or down, pressing a specific physical key (or combination of physical keys), etc. on the second area. In this embodiment of the present invention, Specifically, swipe left.

以第二电子设备为手机1为例,当用户选择手机1对应选项图标时,表征用户选 择手机1作为请求进行跨桌面编辑的对象,从而触发第一电子设备向第二电子设备发 送访问请求。Taking mobile phone 1 as the second electronic device as an example, when the user selects the option icon corresponding to mobile phone 1, it means that the user selects mobile phone 1 as the object to request cross-desktop editing, thereby triggering the first electronic device to send an access request to the second electronic device.

其中,在本发明其它实施方式中,待选电子设备(例如手机1)在第一电子设备 上的显示名称还可以使用待选电子设备所关联的设备账户的名称和/或待选电子设备 的设备类型和/或设备型号等作为显示,待选电子设备在第一电子设备上的显示图标 (例如手机1对应的图标)还可以使用待选电子设备所关联的设备账户的头像、待选 电子设备的设备类型和/或设备型号对应的设备实体图像作为显示。当然,在本发明其 它实施方式中,也可以只显示待选电子设备对应的名称或者只显示待选电子设备对应 的图标,具体可灵活设置,本发明对此不做限定。Wherein, in other embodiments of the present invention, the display name of the electronic device to be selected (such as mobile phone 1) on the first electronic device may also use the name of the device account associated with the electronic device to be selected and/or the name of the electronic device to be selected. The device type and/or device model, etc. are used as a display, and the display icon of the electronic device to be selected on the first electronic device (such as the icon corresponding to the mobile phone 1) can also use the avatar of the device account associated with the electronic device to be selected, the electronic device to be selected. The device entity image corresponding to the device type and/or device model of the device is used as a display. Of course, in other embodiments of the present invention, only the name corresponding to the electronic device to be selected or the icon corresponding to the electronic device to be selected can also be displayed, which can be flexibly set, and the present invention does not limit this.

本发明实施例中,第一电子设备与第二电子设备间的通信连接,可以是但不限于蓝牙、Wi-Fi(Wireless-Fidelity,无线保真)、互联网或移动网络等任意连接方式下的通信连接。In the embodiment of the present invention, the communication connection between the first electronic device and the second electronic device may be, but not limited to, any connection mode such as Bluetooth, Wi-Fi (Wireless-Fidelity, wireless fidelity), Internet or mobile network. communication connection.

本发明实施例中,第一电子设备与第二电子设备间的通信还可以通过第三方服务器来实现,即由第三方服务器来实现第一电子设备与第二电子设备之间的信息的传递。In the embodiment of the present invention, the communication between the first electronic device and the second electronic device can also be realized through a third-party server, that is, the third-party server realizes the transfer of information between the first electronic device and the second electronic device.

需要说明的是,第一电子设备向第二电子设备发送访问请求并非必须进入桌面编辑模式才能实现,例如通过用于桌面共享的APP也可实现,只要能够实现对第二电子 设备进行跨设备桌面访问发起访问请求均可。It should be noted that the first electronic device does not have to enter the desktop editing mode to send an access request to the second electronic device. For example, it can also be realized through an APP for desktop sharing, as long as the cross-device desktop Access can initiate an access request.

在本发明其它实施例中,当第一电子设备进入桌面编辑模式时,第二区域还可以直接进入用于选择期望进行跨设备编辑的电子设备的页面,无需用户在桌面编辑界面 上执行第二预设操作。In other embodiments of the present invention, when the first electronic device enters the desktop editing mode, the second area can also directly enter the page for selecting the electronic device desired to perform cross-device editing, without the need for the user to execute the second editing mode on the desktop editing interface. Default action.

在本发明其它实施例中,当用户在桌面编辑界面上执行第二预设操作后,第二区域所显示的页面还可以切换为用于选择期望进行跨设备编辑的电子设备的设备类型的 页面,示例性地,电子设备的设备类型可以包括但不限于手机、Pad、电脑及音响等, 当用户选择对应手机类型的控件时,对应手机类型的控件下平铺一个或者多个手机选 项,用户选中相应的手机选项后,例如选中手机1后,触发第一电子设备向手机1对 应的电子设备(在本发明实施例中为第二电子设备)发送访问请求。可以理解,通过 对待选的电子设备进行分类处理,可以方便用户能够快速找到期望选择的电子设备, 从而提高用户使用体验。In other embodiments of the present invention, after the user performs the second preset operation on the desktop editing interface, the page displayed in the second area can also be switched to a page for selecting the device type of the electronic device desired to be edited across devices , Exemplarily, the device type of the electronic device may include but not limited to mobile phone, Pad, computer, audio, etc. When the user selects the control corresponding to the mobile phone type, one or more mobile phone options are tiled under the control corresponding to the mobile phone type, and the user selects After the corresponding mobile phone option is selected, for example, after the mobile phone 1 is selected, the first electronic device is triggered to send an access request to the electronic device corresponding to the mobile phone 1 (the second electronic device in the embodiment of the present invention). It can be understood that by classifying the electronic devices to be selected, it is convenient for the user to quickly find the desired electronic device, thereby improving user experience.

结合第一方面,在一种可选地实现方式中,所述用户对所述第二电子设备的桌面的编辑操作包括以下任意一种或者多种:更换壁纸、添加或删除窗口小工具、修改桌 面切换效果、设置桌面布局及修改应用图标。With reference to the first aspect, in an optional implementation manner, the user's editing operation on the desktop of the second electronic device includes any one or more of the following: changing wallpaper, adding or deleting widgets, modifying Desktop switching effects, setting desktop layout and modifying application icons.

示例性地,更换桌面壁纸具体可以为:第一电子设备响应于用户点击壁纸控件的操作,显示壁纸编辑界面,该界面地第二区域显示多个选项,例如更多选项、图库选 项、壁纸e选项、壁纸f选项和壁纸选项。其中每个壁纸选项对应一个壁纸,用户可 以通过这些选项选择相应的壁纸应用于第二电子设备的桌面。其中图库为第一电子设 备本地保存的图片,当用户选择图库选项时,在图库选项展开第一电子设备本地保存 的图片,以供用户选择。其中更多选项可以为用户提供网络图片,当用户选择更多选 项时,图库选项展开网络图片,以供用户选择。可以理解的是,第一区域中对应于桌 面的页面显示有根据用户对桌面的编辑实时显示预览效果。当用户选定所期望的壁纸 时,例如壁纸e选项时,确认对所选壁纸的设置操作,从而完成壁纸的更换,用户也 可以在对选择的壁纸进行其它设置,例如虚化、滚动等,此时第一区域也可以实时显 示这些效果,本申请实施例不再一一赘述。Exemplarily, changing the desktop wallpaper may specifically be: the first electronic device responds to the user's operation of clicking the wallpaper control, and displays the wallpaper editing interface, and the second area of the interface displays multiple options, such as more options, gallery options, wallpaper e options, wallpaper foptions, and wallpaper options. Each wallpaper option corresponds to a wallpaper, and the user can select a corresponding wallpaper to apply to the desktop of the second electronic device through these options. Wherein the gallery is a picture locally stored by the first electronic device, and when the user selects the gallery option, the picture stored locally by the first electronic device is expanded in the gallery option for the user to select. Wherein more options can provide the network picture for the user, when the user selects more options, the gallery option expands the network picture for the user to choose. It can be understood that the page corresponding to the desktop in the first area displays a real-time display preview effect according to the editing of the desktop by the user. When the user selects the desired wallpaper, such as the wallpaper e option, confirm the setting operation of the selected wallpaper, thereby completing the replacement of the wallpaper. The user can also perform other settings on the selected wallpaper, such as blurring, scrolling, etc. At this time, the first area may also display these effects in real time, which will not be described in detail in this embodiment of the present application.

示例性地,添加或删除窗口小工具具体可以为:第一电子设备响应于用户点击窗口小工具控件,第一电子设备可以显示多个widget。各个widget有相同或不同的尺寸。 即widget占用桌面中的面积不同。那么,当widget添加到桌面上时可能影响到桌面布 局的美观和适用性。因此,在本申请中,用户可以通过第一区域中第二电子设备的桌 面的实时预览图进行确定是否添加widget的位置或是否删除widget等,窗口小工具包 括时钟widget、天气widget、邮箱widget、浏览器widget、备忘录widget以及其它用 户常用的工具。例如,用户可以通过点击或拖动的方式将相应的widget添加到第一区 域10A中相应的页面中。即用户可以查看到各个桌面添加相应的widget后的效果图。 当然,用户也可以通过长按住第一区域中各个页面中某个widget,并将该widget拖到 第一区域中出现的删除控件处,以从该页面上删除该widget。也就是说,此时页面上 显示的桌面删除widget后的效果图。Exemplarily, adding or deleting a widget may specifically be: the first electronic device may display multiple widgets in response to the user clicking a widget control. Each widget has the same or different dimensions. That is, widgets occupy different areas on the desktop. Then, when the widget is added to the desktop, it may affect the aesthetics and applicability of the desktop layout. Therefore, in this application, the user can determine whether to add the position of the widget or whether to delete the widget, etc. through the real-time preview of the desktop of the second electronic device in the first area. The widgets include clock widgets, weather widgets, mailbox widgets, Browser widget, memo widget and other tools commonly used by users. For example, the user can click or drag to add the corresponding widget to the corresponding page in the first area 10A. That is, the user can view the renderings of each desktop after adding corresponding widgets. Of course, the user can also press and hold a certain widget in each page in the first area, and drag the widget to the delete control that appears in the first area to delete the widget from the page. That is to say, the desktop displayed on the page at this time is an effect picture after the widget is deleted.

示例性地,修改桌面切换效果具体可以为:第一电子设备响应于用户点击切换效果控件,在第二区域上展开显示多种切换效果的选项。用户可以通过选择相应的切换 效果的选项,使得用户在第一区域切换不同页面时,可以观看到桌面切换时的效果。Exemplarily, modifying the desktop switching effect may be specifically: the first electronic device expands and displays various switching effect options in the second area in response to the user clicking the switching effect control. The user can select the option of the corresponding switching effect, so that when the user switches different pages in the first area, he can watch the effect when the desktop is switched.

示例性地,设置桌面布局具体可以为:第一电子设备响应于用户点击桌面设置控件,对第二电子设备的桌面进行设置,用户对桌面布局设置项进行修改后,第一电子 设备立即对桌面布局进行更改并显示。Exemplarily, setting the desktop layout may specifically be: the first electronic device sets the desktop of the second electronic device in response to the user clicking the desktop setting control, and after the user modifies the desktop layout setting items, the first electronic device immediately sets the desktop The layout changes and displays.

示例性地,第一电子设备对第二电子设备的桌面上的应用图标进行修改,可以包括:对桌面上的应用图标的位置进行修改、对桌面上的应用图标进行删除等。其中, 对桌面上的应用图标及位置进行修改可以是:用户可以在页面中选中任一个或任几个 应用图标,并采用长按的方式将选中的应用图标拖至其它页面;或者是,用户可以在 页面中选中任一个或任几个应用图标,并采用长按的方式将选中的应用图标拖至本页 面的其它位置,又或者,在dock栏有空位置时,也可以将非dock栏的应用图标移至 dock栏。又或者,也可以将选中的dock栏的应用图标和其它非dock栏的应用图标一 同移至其它桌面中。Exemplarily, the modification by the first electronic device to the application icon on the desktop of the second electronic device may include: modifying the position of the application icon on the desktop, deleting the application icon on the desktop, and the like. Wherein, modifying the application icons and their positions on the desktop can be: the user can select any one or several application icons on the page, and drag the selected application icons to other pages by long pressing; or, the user can You can select any one or several application icons on the page, and drag the selected application icons to other positions on the page by long-pressing, or, when there is space in the dock bar, you can also drag the non-dock bar The icon of the application is moved to the dock bar. Alternatively, the selected application icon in the dock can also be moved to other desktops together with the application icons in other non-dock columns.

示例性地,对桌面上的应用图标进行删除具体可以为:长按需要删除的应用图标以选中需要删除的应用图标,同时使得在应用图标显示删减角标,如“×”角标,点 击“×”角标,删除该应用图标以及卸载该应用图标对应的应用程序,或者,用户选 中一个或多个应用图标后,显示删减区域,将一个或多个应用图标拖至删减区域,以 实现对应用图标的删减以及应用图标对应的应用程序的卸载。第一电子设备会对桌面 的应用图标的变化进行实时显示。Exemplarily, the deletion of the application icon on the desktop may specifically be: press and hold the application icon to be deleted to select the application icon to be deleted, and at the same time make the deletion corner mark displayed on the application icon, such as the "×" corner mark, click "×" corner mark, delete the application icon and uninstall the application corresponding to the application icon, or, after the user selects one or more application icons, the deletion area is displayed, and one or more application icons are dragged to the deletion area, In order to realize the deletion of the application icon and the uninstallation of the application program corresponding to the application icon. The first electronic device will display the changes of the application icons on the desktop in real time.

需要知道的是,第一电子设备包含对第二电子设备的桌面的以下编辑功能不限于以上所列举的几种,本发明不一一列举。It should be known that the following editing functions of the desktop of the second electronic device included in the first electronic device are not limited to the ones listed above, and the present invention does not list them all.

示例性地,在本发明实施例中,当通过第一电子设备对第二电子设备进行桌面编辑的过程中,第一电子设备还可以显示用于对桌面编辑操作进行确认的完成按钮,当 用户通过点击或者按压等方式选定该完成按钮后,可以触发第一电子设备根据用户对 第二电子设备的桌面编辑操作生成桌面编辑信息,并将桌面编辑信息发送至第二电子 设备。Exemplarily, in this embodiment of the present invention, when the first electronic device is editing the desktop of the second electronic device, the first electronic device may also display a finish button for confirming the desktop editing operation, when the user After the completion button is selected by clicking or pressing, the first electronic device may be triggered to generate desktop editing information according to the user's desktop editing operation on the second electronic device, and send the desktop editing information to the second electronic device.

需要说明的是,此处以点击完成按钮后才向第二电子设备发送桌面编辑信息为例进行了说明,在本发明其它实施方式中,也可以采用即时同步的方式,即用户在第一 电子设备上进行一次桌面编辑后,无需点击完成按钮触发,即时生成桌面编辑信息至 第二电子设备,第二电子设备根据桌面编辑信息对其桌面设置进行同步更新。It should be noted that, here, the desktop editing information is sent to the second electronic device after clicking the Finish button as an example. In other embodiments of the present invention, the instant After desktop editing is performed on the computer, there is no need to click the finish button to trigger, and the desktop editing information is immediately generated to the second electronic device, and the second electronic device synchronously updates its desktop settings according to the desktop editing information.

结合第一方面,在一种可选地实现方式中,所述方法还包括:With reference to the first aspect, in an optional implementation manner, the method further includes:

显示M个选项图标,所述M个选项图标分别对应M个待选电子设备,所述M个 选项图标包括与所述第二电子设备对应的第一选项图标,M大于或等于1;M option icons are displayed, and the M option icons correspond to M electronic devices to be selected respectively, and the M option icons include the first option icon corresponding to the second electronic device, and M is greater than or equal to 1;

接收用户将第一应用程序的第一应用图标移动到所述第一选项图标的第一预定操 作,所述第一应用程序安装在所述第一电子设备上;Receiving a first predetermined operation in which the user moves the first application icon of the first application program to the first option icon, and the first application program is installed on the first electronic device;

响应于所述第一预定操作将所述第一应用程序的应用程序信息发送给所述第二电 子设备。The application information of the first application is sent to the second electronic device in response to the first predetermined operation.

作为一种示例,在接收用户对第一应用图标的第一预定操作之前,用户可以通过在第一电子设备的任一桌面上执行第一预设操作,使得第一电子设备进入桌面编辑模 式,当手机进入桌面编辑模式后,显示桌面编辑界面,桌面编辑界面包括有M个选项 图标。其中,第一预定操作、桌面编辑界面及待选电子设备的选项图标的实现过程可 以参照上文的对应内容,为避免重复,此处不再一一赘述。As an example, before receiving the user's first predetermined operation on the first application icon, the user may make the first electronic device enter the desktop editing mode by performing the first preset operation on any desktop of the first electronic device, After the mobile phone enters the desktop editing mode, the desktop editing interface is displayed, and the desktop editing interface includes M option icons. Wherein, the implementation process of the first predetermined operation, the desktop editing interface and the option icon of the electronic device to be selected can refer to the corresponding content above, and in order to avoid repetition, it will not be repeated here.

在本发明实施例中,第一应用程序的应用程序信息可以包括但不限于:第一应用程序的安装信息和/或第一应用程序的界面调用信息。其中,第二电子设备接收到第一 应用程序的界面调用信息后可以根据界面调用信息在桌面上显示第一应用程序对应的 第一应用图标(第一应用图标根据第一应用程序是否安装呈现不同的状态,如果第一 应用程序未安装,第一应用图标可以呈现待下载状态,如果第一应用程序已被第二电 子设备安装,第一应用图标可以呈现已安装状态),第一应用程序的安装信息包括第 一应用程序的安装链接或者安装包。In this embodiment of the present invention, the application information of the first application may include but not limited to: installation information of the first application and/or interface call information of the first application. Wherein, after the second electronic device receives the interface call information of the first application program, it can display the first application icon corresponding to the first application program on the desktop according to the interface call information (the first application icon is displayed differently according to whether the first application program is installed or not). state, if the first application program is not installed, the first application icon may present a state to be downloaded, if the first application program has been installed by the second electronic device, the first application icon may present an installed state), the first application program The installation information includes an installation link or an installation package of the first application program.

结合第一方面,在一种可选地实现方式中,在将所述第一应用程序的应用程序信息发送给所述第二电子设备之后,所述方法还包括:With reference to the first aspect, in an optional implementation manner, after sending the application information of the first application to the second electronic device, the method further includes:

接收所述第二电子设备的第一消息,所述第一消息用于提示所述第一电子设备:所述第二电子设备对所述第一电子设备的权限校验未通过,和/或所述第二电子设备已 安装所述第一应用程序,和/或所述第一应用程序的应用程序信息的数据结构不满足预 设要求;receiving a first message from the second electronic device, where the first message is used to prompt the first electronic device that: the authorization check of the first electronic device by the second electronic device fails, and/or The second electronic device has installed the first application, and/or the data structure of the application information of the first application does not meet the preset requirements;

根据所述第一消息,提示用户所述第一应用程序分享失败。According to the first message, the user is prompted that the sharing of the first application fails.

在一种具体实现过程中,当第二电子设备接收到第一应用程序的应用程序信息后, 可以先对第一电子设备进行权限校验,当权限校验通过后,再确定是否已安装第一应用程序;如果确定未安装第一应用程序,可以再对第一应用程序的应用程序信息的数 据结构进行合法性校验。In a specific implementation process, when the second electronic device receives the application program information of the first application program, it may first perform permission verification on the first electronic device, and then determine whether the second electronic device has been installed after the permission verification is passed. An application program; if it is determined that the first application program is not installed, a validity check may be performed on the data structure of the application program information of the first application program.

其中,如果第二电子设备对第一电子设备进行权限校验未通过,和/或第二电子设备已安装第一应用程序,和/或第一应用程序的应用程序信息的数据结构进行合法性校 验未通过时,第二电子设备可以向第一电子设备返回第一消息,第一消息用于提示第 一电子设备:第一电子设备权限校验未通过,和/或第二电子设备已安装第一应用程序, 和/或第一应用程序的应用程序信息的数据结构错误等,以达到通知第一电子设备第一 应用程序跨设备分享失败的目的。第二电子设备接收到第一消息后,生成提示信息, 以提示用户第一应用程序分享失败。Wherein, if the second electronic device fails to verify the authority of the first electronic device, and/or the second electronic device has installed the first application program, and/or the data structure of the application program information of the first application program is validated When the verification fails, the second electronic device may return a first message to the first electronic device, and the first message is used to prompt the first electronic device: the verification of the authority of the first electronic device fails, and/or the second electronic device has The first application program is installed, and/or the data structure of the application program information of the first application program is wrong, etc., so as to achieve the purpose of notifying the first electronic device that the cross-device sharing of the first application program fails. After receiving the first message, the second electronic device generates prompt information to prompt the user that the sharing of the first application fails.

结合第一方面,在一种可选地实现方式中,所述方法还包括:With reference to the first aspect, in an optional implementation manner, the method further includes:

在将所述第一应用程序的应用程序信息发送给所述第二电子设备之后,所述方法还包括:After sending the application information of the first application to the second electronic device, the method further includes:

接收所述第二电子设备的第二消息,所述第二消息用于表示所述第一应用程序已成功分享至所述第二电子设备。receiving a second message from the second electronic device, where the second message is used to indicate that the first application program has been successfully shared to the second electronic device.

结合第一方面,在一种可选地实现方式中,在接收所述第二电子设备的第二消息之后,所述方法还包括:With reference to the first aspect, in an optional implementation manner, after receiving the second message from the second electronic device, the method further includes:

响应于所述第二消息,卸载所述第一应用程序。In response to the second message, the first application is uninstalled.

可以理解,本发明实施例通过在将用户选定的第一应用程序成功分享给第二电子设备之后,将第一电子设备上的第一应用程序删除,可以适用于用户不需要同时在第 一电子设备和第二电子设备使用第一应用程序的场景,从而减少对第一电子设备内存 空间的使用。It can be understood that in the embodiment of the present invention, after the first application program selected by the user is successfully shared with the second electronic device, the first application program on the first electronic device is deleted, which can be applied to users who do not need to be on the first electronic device at the same time. The electronic device and the second electronic device use the scene of the first application program, thereby reducing the use of the memory space of the first electronic device.

结合第一方面,在一种可选地实现方式中,所述向第二电子设备发送访问请求,包括:With reference to the first aspect, in an optional implementation manner, the sending the access request to the second electronic device includes:

显示Q个选项图标,所述Q个选项图标分别对应Q个待选电子设备,所述Q个 选项图标包括与所述第二电子设备对应的第一选项图标,Q大于或等于1;Display Q option icons, the Q option icons correspond to Q electronic devices to be selected respectively, the Q option icons include the first option icon corresponding to the second electronic device, and Q is greater than or equal to 1;

接收用户将第一应用程序的第一应用图标移至第一选项图标的第二预定操作,所述第一应用程序安装在所述第一电子设备上;receiving a second predetermined operation in which the user moves the first application icon of the first application program installed on the first electronic device to the first option icon;

基于所述第二预定操作,向第二电子设备发送所述访问请求;sending the access request to a second electronic device based on the second predetermined operation;

对应地,所述接收用户对所述第二电子设备的桌面的编辑操作,包括:Correspondingly, the receiving user's editing operation on the desktop of the second electronic device includes:

接收用户对所述第一应用图标的移动操作,所述移动操作用于将所述第一应用图标移动至所述第二电子设备的目标桌面,或者将所述第一应用图标移动至所述目标桌 面的目标区域;receiving a user's move operation on the first application icon, where the move operation is used to move the first application icon to the target desktop of the second electronic device, or move the first application icon to the the target area of the target desktop;

对应地,所述根据所述编辑操作生成对所述第二电子设备的桌面编辑信息,包括:Correspondingly, the generating the desktop editing information of the second electronic device according to the editing operation includes:

根据所述移动操作生成位置信息,所述位置信息包括用户对所述目标桌面的选择信息,或者包括用户对所述目标桌面和所述目标桌面的目标区域的选择信息;generating location information according to the moving operation, the location information including user selection information on the target desktop, or user selection information on the target desktop and a target area of the target desktop;

将所述第一应用程序的应用程序信息以及所述位置信息发送给所述第二电子设备;sending the application information of the first application and the location information to the second electronic device;

其中,所述第一应用程序的应用程序信息用于第二电子设备以待下载状态显示所述第一应用图标,或者用于第二电子设备下载和安装所述第一应用程序,以已安装状 态显示所述第一应用图标;所述位置信息用于所述第二电子设备确定在所述目标桌面 或者所述目标桌面的目标区域显示所述第一应用图标。Wherein, the application program information of the first application program is used for the second electronic device to display the first application icon in the state of waiting for download, or for the second electronic device to download and install the first application program, in order to be installed The state displays the first application icon; the location information is used by the second electronic device to determine to display the first application icon on the target desktop or a target area of the target desktop.

其中,所述第二预定操作和所述移动操作可以是一个连续的操作。Wherein, the second predetermined operation and the moving operation may be a continuous operation.

可以理解,本发明实施例提供的跨桌面管理方法,用于可以通过预定手势访问并展示其它电子设备的桌面,实现将应用图标在第二电子设备中所显示的桌面位置进行 指定,为用户提供了跨设备应用分享的精细化体验,实现了不同应用场景下的跨设备 应用分享。It can be understood that the cross-desktop management method provided by the embodiment of the present invention is used to access and display the desktops of other electronic devices through predetermined gestures, so as to designate the position of the desktop displayed by the application icon on the second electronic device, and provide users with It provides a refined experience of cross-device application sharing, and realizes cross-device application sharing in different application scenarios.

在本发明实施例中,第一应用程序的应用程序信息可以包括但不限于:第一应用程序的安装信息和/或第一应用程序的界面调用信息。其中,第二电子设备接收到第一 应用程序的界面调用信息后可以根据界面调用信息在桌面上显示第一应用程序对应的 第一应用图标(第一应用图标根据第一应用程序是否安装呈现不同的状态,如果第一 应用程序未安装,第一应用图标可以呈现待下载状态,如果第一应用程序已被第二电 子设备安装,第一应用图标可以呈现已安装状态),第一应用程序的安装信息包括第 一应用程序的安装链接或者安装包。In this embodiment of the present invention, the application information of the first application may include but not limited to: installation information of the first application and/or interface call information of the first application. Wherein, after the second electronic device receives the interface call information of the first application program, it can display the first application icon corresponding to the first application program on the desktop according to the interface call information (the first application icon is displayed differently according to whether the first application program is installed or not). state, if the first application program is not installed, the first application icon may present a state to be downloaded, if the first application program has been installed by the second electronic device, the first application icon may present an installed state), the first application program The installation information includes an installation link or an installation package of the first application program.

作为一种示例,在接收用户对第一应用图标的第二预定操作之前,用户可以通过在第一电子设备的任一桌面上执行第一预设操作,使得第一电子设备进入桌面编辑模 式,当手机进入桌面编辑模式后,进入桌面编辑界面,通过桌面编辑界面显示Q个待 选电子设备的选项图标。其中,第一预定操作、桌面编辑界面及待选电子设备的选项 图标的实现过程可以参照上文的对应内容,为避免重复,此处不再一一赘述。As an example, before receiving the user's second predetermined operation on the first application icon, the user may execute the first preset operation on any desktop of the first electronic device, so that the first electronic device enters the desktop editing mode, After the mobile phone enters the desktop editing mode, it enters the desktop editing interface, and displays Q option icons of electronic devices to be selected through the desktop editing interface. Wherein, the implementation process of the first predetermined operation, the desktop editing interface and the option icon of the electronic device to be selected can refer to the corresponding content above, in order to avoid repetition, it will not be repeated here.

作为一种示例,用户对第一应用图标的第二预定操作可以为:用户选定第一应用图标,然后通过长按的方式将第一应用图标拖动至第二区域内的第二电子设备对应的 第一选项图标,然后继续以长按的方式在第二区域处第二电子设备对应的选项图标的 对应区域内停留,当停留的时间到达第一预设时长时,触发第一电子设备向第二电子 设备发送访问请求。其中,第一预设时长例如可以为1秒、2秒、3秒等等。用户选定 的第一应用图标h的数量可以为一个或者多个。As an example, the user's second predetermined operation on the first application icon may be: the user selects the first application icon, and then drags the first application icon to the second electronic device in the second area by long pressing The corresponding first option icon, and then continue to stay in the corresponding area of the option icon corresponding to the second electronic device in the second area by long pressing, and when the staying time reaches the first preset duration, the first electronic device will be triggered An access request is sent to the second electronic device. Wherein, the first preset duration may be, for example, 1 second, 2 seconds, 3 seconds and so on. The quantity of the first application icon h selected by the user can be one or more.

作为一种示例,移动操作可以为:当第一电子设备的第一区域显示第二电子设备的桌面后,用户可以继续通过长按的方式将第一应用图标移动至第一区域所显示第二 电子设备的桌面。通常情况下,第一区域只显示第二电子设备的一个桌面的缩略图, 当第一区域当前所显示的第二电子设备的桌面为用户期望的目标桌面时,用户可以继 续通过长按的方式将第一应用图标移动至第一区域当前显示第二电子设备的桌面;如 果用户想要选择第二电子设备的其它桌面,可以通过长按的方式将第一应用图标移动 至页面的左侧或右侧并停留,当停留到达第二预设时长时,第一电子设备的第一区域 可以切换至第二电子设备的其它桌面的缩略图,从而实现对目标桌面的选择。其中, 第二预设时长例如可以为1秒、2秒、3秒等等。As an example, the moving operation can be: after the first area of the first electronic device displays the desktop of the second electronic device, the user can continue to move the first application icon to the second application icon displayed in the first area by long pressing. Desktop of electronic devices. Usually, the first area only displays a thumbnail of a desktop of the second electronic device. When the desktop of the second electronic device currently displayed in the first area is the user's desired target desktop, the user can continue to press and hold Move the first application icon to the first area and the desktop of the second electronic device is currently displayed; if the user wants to select other desktops of the second electronic device, he can move the first application icon to the left side of the page or stay on the right side, when the stay reaches the second preset duration, the first area of the first electronic device can be switched to the thumbnails of other desktops of the second electronic device, so as to realize the selection of the target desktop. Wherein, the second preset duration may be, for example, 1 second, 2 seconds, 3 seconds and so on.

在本发明实施例中,用户不仅可以指定分享后第一应用图标在第二电子设备中所显示的桌面,还可以对第一应用图标在第二电子设备中所显示的桌面位置进行指定, 用户可以通过长按的方式将第一应用图标拖置于所要选择的目标桌面的目标(期望) 区域,从而实现对目标桌面和目标桌面的目标区域的选择。In the embodiment of the present invention, the user can not only designate the desktop displayed on the second electronic device by the first application icon after sharing, but also designate the desktop position displayed on the second electronic device by the first application icon. The first application icon can be dragged to the target (desired) area of the target desktop to be selected by long pressing, so as to realize the selection of the target desktop and the target area of the target desktop.

作为一种示例,当用户将第一应用图标移动至第二电子设备的目标桌面,或者用于将第一应用图标移动至第二电子设备的目标桌面的目标区域后,点击或者按压界面 中显示的完成控件,从而触发第一电子设备根据用户对第一应用图标的移动操作生成 位置信息,并将位置信息发送至第二电子设备。位置信息包括用户对目标桌面的选择 信息或者用户对目标桌面和目标桌面的目标区域的选择信息,其中,目标桌面的选择 信息可以是目标桌面的标识(例如桌面编号等),目标桌面的目标区域的选择信息可 以是目标区域在目标桌面的坐标位置信息。As an example, after the user moves the first application icon to the target desktop of the second electronic device, or is used to move the first application icon to the target area of the target desktop of the second electronic device, click or press the to trigger the first electronic device to generate location information according to the user's movement operation on the first application icon, and send the location information to the second electronic device. The location information includes the user's selection information on the target desktop or the user's selection information on the target desktop and the target area of the target desktop, wherein the selection information of the target desktop can be an identification of the target desktop (for example, a desktop number, etc.), The selection information may be coordinate position information of the target area on the target desktop.

需要知道的是,当用户将第一应用图标移动至第二电子设备的目标桌面,或者用于将第一应用图标移动至第二电子设备的目标桌面的目标区域后,还可以对第二电子 设备的桌面进行其它的桌面编辑操作,例如上文中的更换壁纸、添加或删除窗口小工 具、修改应用图标等桌面编辑操作;用户完成桌面编辑操作后,可以通过点击或者按 压所显示的完成控件,从而生成桌面编辑信息至第二电子设备,其中,桌面编辑信息 至少包括位置信息和第一应用程序的应用程序信息。It should be known that after the user moves the first application icon to the target desktop of the second electronic device, or is used to move the first application icon to the target area of the target desktop of the second electronic device, the second electronic Perform other desktop editing operations on the desktop of the device, such as changing the wallpaper, adding or deleting widgets, modifying application icons and other desktop editing operations above; after the user completes the desktop editing operation, he can click or press the displayed completion control, Therefore, desktop editing information is generated to the second electronic device, wherein the desktop editing information includes at least location information and application program information of the first application program.

还需要说明的是,此处以点击完成按钮后才向第二电子设备发送应用程序信息和位置信息为例进行的说明,在本发明其它实施方式中,也可以是用户在第一电子设备 上将第一应用图标拖置于所要选择的目标桌面的目标(期望)区域后,无需点击完成 按钮触发,第一电子设备即时发送第一应用程序的应用程序信息给第二电子设备。如 果用户还需要对第二电子设备的桌面进行其它的桌面编辑操作,同样的,也可以是根 据用户的桌面编辑操作即时生成桌面编辑信息至第二电子设备,第二电子设备根据桌 面编辑信息对其桌面设置进行同步更新。It should also be noted that the description here takes the example of sending the application program information and location information to the second electronic device after clicking the Finish button. In other embodiments of the present invention, the user may also set After the first application icon is dragged and placed on the target (desired) area of the target desktop to be selected, the first electronic device immediately sends the application program information of the first application program to the second electronic device without clicking the finish button to trigger. If the user also needs to perform other desktop editing operations on the desktop of the second electronic device, similarly, it can also generate desktop editing information to the second electronic device in real time according to the user's desktop editing operation, and the second electronic device can edit the desktop according to the desktop editing information. Its desktop settings are updated synchronously.

结合第一方面,在一种可选地实现方式中,所述第二电子设备的桌面信息包括所述第二电子设备的应用程序信息,在所述接收所述第二电子设备发送的桌面信息之后, 所述方法还包括:With reference to the first aspect, in an optional implementation manner, the desktop information of the second electronic device includes application program information of the second electronic device, and when receiving the desktop information sent by the second electronic device Afterwards, the method also includes:

根据所述第二电子设备的应用程序信息判断所述第二电子设备是否已安装所述第 一应用程序;judging whether the second electronic device has installed the first application program according to the application program information of the second electronic device;

如果否,则提示用户所述第二电子设备已安装有所述第一应用程序。If not, prompting the user that the second electronic device has already installed the first application program.

在本发明实施例中,当第一电子设备接收第二电子设备发送的桌面信息后,还可以根据第二电子设备的桌面信息确定第二电子设备是否已安装第一应用程序,其中, 第二电子设备的桌面信息包括第二电子设备的应用程序信息;如果第二电子设备未安 装第一应用程序,则第一电子设备显示第二电子设备的桌面。如果第二电子设备已安 装第一应用程序,则生成提示信息,以提示用户第二电子设备已安装有第一应用程序。 当然,上述过程可以是非必要的,第一电子设备可以直接根据第二电子设备发送的桌 面信息显示第二电子设备的桌面。In the embodiment of the present invention, after the first electronic device receives the desktop information sent by the second electronic device, it can also determine whether the second electronic device has installed the first application program according to the desktop information of the second electronic device, wherein, the second The desktop information of the electronic device includes application program information of the second electronic device; if the first application program is not installed on the second electronic device, the first electronic device displays the desktop of the second electronic device. If the second electronic device has installed the first application program, then generate prompt information to prompt the user that the second electronic device has the first application program installed. Of course, the above process may be unnecessary, and the first electronic device may directly display the desktop of the second electronic device according to the desktop information sent by the second electronic device.

结合第一方面,在一种可选地实现方式中,在将所述第一应用程序的应用程序信息以及所述位置信息发送给所述第二电子设备之后,所述方法还包括:With reference to the first aspect, in an optional implementation manner, after sending the application information of the first application and the location information to the second electronic device, the method further includes:

接收所述第二电子设备的第三消息,所述第三消息用于表示所述第一应用程序已成功分享至所述第二电子设备。Receive a third message from the second electronic device, where the third message is used to indicate that the first application program has been successfully shared to the second electronic device.

结合第一方面,在一种可选地实现方式中,在接收所述第二电子设备的第三消息之后,所述方法还包括:With reference to the first aspect, in an optional implementation manner, after receiving the third message from the second electronic device, the method further includes:

响应于所述第三消息,卸载所述第一应用程序。In response to the third message, the first application is uninstalled.

可以理解,本发明实施例通过在将用户选定的第一应用程序成功分享给第二电子设备之后,将第一电子设备上的第一应用程序删除,可以适用于用户不需要同时在第 一电子设备和第二电子设备使用第一应用程序的场景,从而减少对第一电子设备内存 空间的使用。It can be understood that in the embodiment of the present invention, after the first application program selected by the user is successfully shared with the second electronic device, the first application program on the first electronic device is deleted, which can be applied to users who do not need to be on the first electronic device at the same time. The electronic device and the second electronic device use the scene of the first application program, thereby reducing the use of the memory space of the first electronic device.

第二方面,本申请实施例提供一种跨设备桌面管理方法,应用于第二电子设备,所述方法包括:In a second aspect, the embodiment of the present application provides a cross-device desktop management method, which is applied to a second electronic device, and the method includes:

接收所述第一电子设备的访问请求,所述访问请求用于请求访问所述第二电子设备的桌面信息;receiving an access request from the first electronic device, where the access request is used to request access to desktop information of the second electronic device;

根据所述第一电子设备的访问请求,发送桌面信息给所述第一电子设备,所述桌面信息用于显示所述第二电子设备的桌面;Sending desktop information to the first electronic device according to the access request of the first electronic device, where the desktop information is used to display the desktop of the second electronic device;

接收所述第一电子设备发送的桌面编辑信息,根据所述桌面编辑信息对桌面进行编辑。The desktop editing information sent by the first electronic device is received, and the desktop is edited according to the desktop editing information.

结合第二方面,在一种可选地实现方式中,所述根据所述桌面编辑信息对桌面进行编辑,包括:With reference to the second aspect, in an optional implementation manner, editing the desktop according to the desktop editing information includes:

更换壁纸、添加或删除窗口小工具、修改桌面切换效果、设置桌面布局及修改应用图标中的任意一种或者多种。Any one or more of changing wallpapers, adding or deleting widgets, modifying desktop switching effects, setting desktop layouts, and modifying application icons.

结合第二方面,在一种可选地实现方式中,所述方法还包括:With reference to the second aspect, in an optional implementation manner, the method further includes:

接收所述第一电子设备发送的第一应用程序的应用程序信息;receiving application information of the first application sent by the first electronic device;

根据所述第一应用程序的应用程序信息,以待下载状态显示第一应用程序对应的第一应用图标,或者下载并安装所述第一应用程序,以已安装状态显示第一应用程序 对应的第一应用图标。According to the application information of the first application, display the first application icon corresponding to the first application in a state to be downloaded, or download and install the first application, and display the icon corresponding to the first application in an installed state First app icon.

结合第二方面,在一种可选地实现方式中,在所述接收所述第一电子设备发送的第一应用程序的应用程序信息之后,所述方法还包括:With reference to the second aspect, in an optional implementation manner, after receiving the application information of the first application sent by the first electronic device, the method further includes:

对所述第一电子设备进行权限校验,以及判断是否已安装所述第一应用程序,以及判断所述应用程序信息的数据结构是否满足合法性要求;Performing permission verification on the first electronic device, and judging whether the first application program has been installed, and judging whether the data structure of the application program information meets the legality requirements;

如果所述第一电子设备未通过权限校验,和/或未安装所述第一应用程序,和/或所述应用程序信息的数据结构不满足合法性要求,则发送第一消息给所述第二电子设 备,所述第一消息用于提示所述第一应用程序分享失败,具体用于提示:所述第二电 子设备对所述第一电子设备的权限校验未通过,和/或所述第二电子设备已安装所述第 一应用程序,和/或所述第一应用程序的应用程序信息的数据结构不满足预设要求。If the first electronic device fails the permission check, and/or the first application program is not installed, and/or the data structure of the application program information does not meet the legality requirements, then send a first message to the For the second electronic device, the first message is used to prompt that the sharing of the first application program fails, and is specifically used to prompt that: the permission verification of the first electronic device by the second electronic device fails, and/or The second electronic device has installed the first application program, and/or the data structure of the application program information of the first application program does not meet the preset requirements.

结合第二方面,在一种可选地实现方式中,所述接收所述第一电子设备发送的桌面编辑信息,根据所述桌面编辑信息对桌面进行编辑,包括:With reference to the second aspect, in an optional implementation manner, the receiving desktop editing information sent by the first electronic device, and editing the desktop according to the desktop editing information includes:

接收所述第一电子设备发送的第一应用程序的应用程序信息和位置信息,所述位置信息包括用户对所述目标桌面的选择信息,或者包括用户对所述目标桌面和所述目 标桌面的目标区域的选择信息,所述目标桌面为所述第二电子设备的桌面;receiving the application information and location information of the first application program sent by the first electronic device, the location information including the user's selection information on the target desktop, or including the user's selection information on the target desktop and the target desktop selection information of the target area, the target desktop is the desktop of the second electronic device;

根据所述第一应用程序的应用程序信息和所述位置信息,以待下载状态在所述目标桌面或者在所述目标桌面的目标区域显示所述第一应用程序对应的第一应用图标, 或者,下载并安装所述第一应用程序,然后以已安装状态在所述目标桌面或者在所述 目标桌面的目标区域显示所述第一应用程序对应的第一应用图标。According to the application information of the first application and the location information, displaying the first application icon corresponding to the first application on the target desktop or in the target area of the target desktop in a waiting state, or , downloading and installing the first application program, and then displaying a first application icon corresponding to the first application program on the target desktop or in a target area of the target desktop in an installed state.

第三方面,本申请实施例提供一种第一电子设备,第一电子设备包括:In a third aspect, an embodiment of the present application provides a first electronic device, where the first electronic device includes:

第一发送模块,用于向第二电子设备发送访问请求,所述访问请求用于请求访问所述第二电子设备的桌面信息;A first sending module, configured to send an access request to a second electronic device, where the access request is used to request access to desktop information of the second electronic device;

第一接收模块,用于接收所述第二电子设备发送的桌面信息;The first receiving module is configured to receive the desktop information sent by the second electronic device;

第一显示模块,用于根据桌面信息显示所述第二电子设备的桌面;a first display module, configured to display the desktop of the second electronic device according to the desktop information;

第二接收模块,用于接收用户对所述第二电子设备的桌面的编辑操作,其中,所述桌面编辑信息用于编辑所述第二设备的桌面;The second receiving module is configured to receive a user's editing operation on the desktop of the second electronic device, wherein the desktop editing information is used to edit the desktop of the second device;

第一生成模块,用于根据所述编辑操作生成对所述第二电子设备的桌面编辑信息, 其中,所述桌面编辑信息用于编辑所述第二设备的桌面;及A first generating module, configured to generate desktop editing information for the second electronic device according to the editing operation, wherein the desktop editing information is used to edit the desktop of the second device; and

第二发送模块,用于向所述第二电子设备发送所述桌面编辑信息。A second sending module, configured to send the desktop editing information to the second electronic device.

在一种可行的实施方式中,第一发送模块包括:In a feasible implementation manner, the first sending module includes:

第一显示单元,用于显示桌面编辑界面,所述桌面编辑界面包括N个选项图标, 所述N个选项图标分别对应N个待选电子设备,所述N个选项图标包括与所述第二电 子设备对应的第一选项图标,N大于或等于1;及The first display unit is configured to display a desktop editing interface, the desktop editing interface includes N option icons, the N option icons respectively correspond to N electronic devices to be selected, and the N option icons include the second The first option icon corresponding to the electronic device, N is greater than or equal to 1; and

第一发送单元,用于响应于用户对所述第一选项图标的选择操作,向所述第二电子设备发送所述访问请求。A first sending unit, configured to send the access request to the second electronic device in response to a user's selection operation on the first option icon.

在一种可行的实施方式中,用户对第二电子设备的桌面的编辑操作包括以下任意一种或者多种:更换壁纸、添加或删除窗口小工具、修改桌面切换效果、设置桌面布 局及修改应用图标。In a feasible implementation manner, the user's editing operation on the desktop of the second electronic device includes any one or more of the following: changing the wallpaper, adding or deleting widgets, modifying the desktop switching effect, setting the desktop layout and modifying the application. icon.

在一种可行的实施方式中,第一电子设备还包括:In a feasible implementation manner, the first electronic device further includes:

第二显示模块,用于显示M个选项图标,所述M个选项图标分别对应M个待选 电子设备,所述M个选项图标包括与所述第二电子设备对应的第一选项图标,M大于 或等于1;The second display module is used to display M option icons, the M option icons respectively correspond to M electronic devices to be selected, and the M option icons include a first option icon corresponding to the second electronic device, M greater than or equal to 1;

第三接收模块,用于接收用户将第一应用程序的第一应用图标移动到所述第一选项图标的第一预定操作,所述第一应用程序安装在所述第一电子设备上;及A third receiving module, configured to receive a first predetermined operation in which the user moves the first application icon of the first application program to the first option icon, the first application program being installed on the first electronic device; and

第三发送模块,用于响应于所述第一预定操作将所述第一应用程序的应用程序信息发送给所述第二电子设备。A third sending module, configured to send the application information of the first application to the second electronic device in response to the first predetermined operation.

在一种可行的实施方式中,第一电子设备还包括:In a feasible implementation manner, the first electronic device further includes:

第四接收模块,用于接收所述第二电子设备的第一消息,所述第一消息用于提示所述第一电子设备:所述第二电子设备对所述第一电子设备的权限校验未通过,和/ 或所述第二电子设备已安装所述第一应用程序,和/或所述第一应用程序的应用程序信 息的数据结构不满足预设要求;及A fourth receiving module, configured to receive a first message from the second electronic device, where the first message is used to prompt the first electronic device: the permission verification of the first electronic device by the second electronic device The verification fails, and/or the second electronic device has installed the first application, and/or the data structure of the application information of the first application does not meet the preset requirements; and

第一提示模块,用于根据所述第一消息,提示用户所述第一应用程序分享失败。The first prompting module is configured to prompt the user that the sharing of the first application fails according to the first message.

在一种可行的实施方式中,第一电子设备还包括:In a feasible implementation manner, the first electronic device further includes:

第五接收模块,用于用于接收所述第二电子设备的第二消息,所述第二消息用于表示所述第一应用程序已成功分享至所述第二电子设备。The fifth receiving module is configured to receive a second message from the second electronic device, and the second message is used to indicate that the first application program has been successfully shared to the second electronic device.

在一种可行的实施方式中,第一电子设备还包括:In a feasible implementation manner, the first electronic device further includes:

第一卸载模块,用于根据所述第二消息,卸载所述第一应用程序。A first uninstalling module, configured to uninstall the first application program according to the second message.

在一种可行的实施方式中,第一发送模块包括:In a feasible implementation manner, the first sending module includes:

第一显示单元,用于显示Q个选项图标,所述Q个选项图标分别对应Q个待选电 子设备,所述Q个选项图标包括与所述第二电子设备对应的第一选项图标,Q大于或 等于1;The first display unit is configured to display Q option icons, the Q option icons respectively correspond to Q electronic devices to be selected, the Q option icons include a first option icon corresponding to the second electronic device, Q greater than or equal to 1;

第一接收单元,用于接收用户将第一应用程序的第一应用图标移至第一选项图标的第二预定操作,所述第一应用程序安装在所述第一电子设备上;The first receiving unit is configured to receive a second predetermined operation in which the user moves the first application icon of the first application program to the first option icon, and the first application program is installed on the first electronic device;

对应地,所述第二接收模块包括:Correspondingly, the second receiving module includes:

第二接收单元,用于接收用户对所述第一应用图标的移动操作,所述移动操作用于将所述第一应用图标移动至所述第二电子设备的目标桌面,或者将所述第一应用图 标移动至所述目标桌面的目标区域;The second receiving unit is configured to receive a user's moving operation on the first application icon, and the moving operation is used to move the first application icon to a target desktop of the second electronic device, or move the first application icon to the target desktop of the second electronic device. An application icon is moved to the target area of the target desktop;

对应地,所述第一生成模块包括:Correspondingly, the first generation module includes:

第一生成单元,用于根据所述移动操作生成位置信息,所述位置信息包括用户对所述目标桌面的选择信息,或者包括用户对所述目标桌面和所述目标桌面的目标区域 的选择信息;及A first generating unit, configured to generate location information according to the moving operation, where the location information includes user selection information on the target desktop, or user selection information on the target desktop and a target area of the target desktop ;and

第二发送单元,用于将所述第一应用程序的应用程序信息以及所述位置信息发送给所述第二电子设备;其中,所述第一应用程序的应用程序信息用于第二电子设备以 待下载状态显示所述第一应用图标,或者用于第二电子设备下载和安装所述第一应用 程序,以已安装状态显示所述第一应用图标;所述位置信息用于所述第二电子设备确 定在所述目标桌面或者所述目标桌面的目标区域显示所述第一应用图标。A second sending unit, configured to send the application information of the first application and the location information to the second electronic device; wherein, the application information of the first application is used by the second electronic device Displaying the first application icon in a state to be downloaded, or for the second electronic device to download and install the first application program, and displaying the first application icon in an installed state; the location information is used for the second electronic device The second electronic device determines to display the first application icon on the target desktop or a target area of the target desktop.

在一种可行的实施方式中,所述第二电子设备的桌面信息包括所述第二电子设备的应用程序信息,所述第一电子设备还包括:In a feasible implementation manner, the desktop information of the second electronic device includes application program information of the second electronic device, and the first electronic device further includes:

第一判断模块,用于根据所述第二电子设备的应用程序信息判断所述第二电子设备是否已安装所述第一应用程序;A first judging module, configured to judge whether the second electronic device has installed the first application program according to the application program information of the second electronic device;

第二提示模块,用于如果所述第二电子设备未安装所述第一应用程序,则提示用户所述第二电子设备已安装有所述第一应用程序。A second prompting module, configured to prompt the user that the second electronic device has the first application installed if the second electronic device has not installed the first application.

在一种可行的实施方式中,所述第一电子设备还包括:In a feasible implementation manner, the first electronic device further includes:

第六接收模块,用于接收所述第二电子设备的第三消息,所述第三消息用于表示所述第三消息用于表示所述第一应用程序已成功分享至所述第二电子设备。The sixth receiving module is configured to receive a third message from the second electronic device, and the third message is used to indicate that the third message is used to indicate that the first application program has been successfully shared to the second electronic device. equipment.

在一种可行的实施方式中,所述第一电子设备还包括:In a feasible implementation manner, the first electronic device further includes:

第二卸载模块,用于根据所述第三消息,卸载所述第一应用程序。A second uninstalling module, configured to uninstall the first application program according to the third message.

第四方面,本申请实施例提供一种第二电子设备,第二电子设备包括:In a fourth aspect, the embodiment of the present application provides a second electronic device, and the second electronic device includes:

第一接收模块,用于接收第一电子设备的访问请求,所述访问请求用于请求访问第二电子设备的桌面信息;The first receiving module is configured to receive an access request from the first electronic device, and the access request is used to request access to desktop information of the second electronic device;

第一发送模块,用于根据所述第一电子设备的访问请求,发送桌面信息给所述第一电子设备,所述桌面信息用于显示所述第二电子设备的桌面;及The first sending module is configured to send desktop information to the first electronic device according to the access request of the first electronic device, and the desktop information is used to display the desktop of the second electronic device; and

第二接收模块,用于接收所述第一电子设备发送的桌面编辑信息,根据所述桌面编辑信息对桌面进行编辑。The second receiving module is configured to receive desktop editing information sent by the first electronic device, and edit the desktop according to the desktop editing information.

在一种可行的实施方式中,第二接收模块具体用于更换壁纸、添加或删除窗口小工具、修改桌面切换效果、设置桌面布局及修改应用图标中的任意一种或者多种。In a feasible implementation manner, the second receiving module is specifically configured to change any one or more of wallpapers, add or delete widgets, modify desktop switching effects, set desktop layouts, and modify application icons.

在一种可行的实施方式中,第二电子设备还包括:In a feasible implementation manner, the second electronic device further includes:

第三接收模块,用于接收所述第一电子设备发送的第一应用程序的应用程序信息; 及A third receiving module, configured to receive the application information of the first application sent by the first electronic device; and

第一显示模块,用于根据所述第一应用程序的应用程序信息,以待下载状态显示所述第一应用程序对应的第一应用图标,或者,下载并安装所述第一应用程序,以已 安装状态显示所述第一应用程序对应的第一应用图标。The first display module is configured to display the first application icon corresponding to the first application in a state to be downloaded according to the application information of the first application, or download and install the first application, to The installed state displays the first application icon corresponding to the first application program.

在一种可行的实施方式中,第二电子设备还包括:In a feasible implementation manner, the second electronic device further includes:

第一验证模块,用于对所述第一电子设备进行权限校验,以及判断是否已安装所述第一应用程序,以及判断所述应用程序信息的数据结构是否满足合法性要求;及The first verification module is used to verify the authority of the first electronic device, and determine whether the first application program has been installed, and determine whether the data structure of the application program information meets the legality requirements; and

第二发送模块,用于如果所述第一电子设备未通过权限校验,和/或未安装所述第一应用程序,和/或所述应用程序信息的数据结构不满足合法性要求,则发送第一消息 给所述第二电子设备,所述第一消息用于提示所述第一应用程序分享失败,具体用于 提示:所述第二电子设备对所述第一电子设备的权限校验未通过,和/或所述第二电子 设备已安装所述第一应用程序,和/或所述第一应用程序的应用程序信息的数据结构不 满足预设要求。The second sending module is configured to: if the first electronic device fails the authority check, and/or the first application program is not installed, and/or the data structure of the application program information does not meet the legality requirements, then Sending a first message to the second electronic device, the first message is used to prompt that the sharing of the first application program fails, and is specifically used to prompt: the verification of the authority of the second electronic device to the first electronic device The verification fails, and/or the second electronic device has installed the first application program, and/or the data structure of the application program information of the first application program does not meet the preset requirements.

在一种可行的实施方式中,第二接收模块,包括:In a feasible implementation manner, the second receiving module includes:

第一接收单元,用于接收所述第一电子设备发送的第一应用程序的应用程序信息和位置信息,所述位置信息包括用户对所述目标桌面的选择信息,或者包括用户对所 述目标桌面和所述目标桌面的目标区域的选择信息,所述目标桌面为所述第二电子设 备的桌面;及The first receiving unit is configured to receive the application program information and location information of the first application program sent by the first electronic device, the location information includes the user's selection information for the target desktop, or includes the user's selection information for the target desktop selection information of a desktop and a target area of the target desktop, the target desktop being the desktop of the second electronic device; and

第二显示单元,用于根据所述第一应用程序的应用程序信息和所述位置信息,以待下载状态在所述目标桌面或者在所述目标桌面的目标区域显示所述第一应用图标, 或者,下载并安装所述第一应用程序,然后以已安装状态在所述目标桌面或者在所述 目标桌面的目标区域显示所述第一应用程序对应的第一应用图标。The second display unit is configured to display the first application icon on the target desktop or in a target area of the target desktop in a state to be downloaded according to the application information of the first application and the location information, Alternatively, the first application program is downloaded and installed, and then a first application icon corresponding to the first application program is displayed on the target desktop or in a target area of the target desktop in an installed state.

第五方面,本申请实施例提供一种电子设备,所述电子设备包括存储器、处理器、触摸传感器及显示屏,所述存储器中存储有计算机程序,所述处理器与所述存储器连 接,所述处理器执行计算机程序以实现上述第一方面或者第一方面的任一可选的实现 方式中的方法的指令。In the fifth aspect, the embodiment of the present application provides an electronic device, the electronic device includes a memory, a processor, a touch sensor, and a display screen, the memory stores a computer program, the processor is connected to the memory, and the The processor executes the computer program to implement the first aspect or the instructions of the method in any optional implementation manner of the first aspect.

第六方面,本申请实施例提供一种电子设备,所述电子设备包括存储器、处理器、触摸传感器及显示屏,所述存储器中存储有计算机程序,所述处理器与所述存储器连 接,所述处理器执行计算机程序以实现上述第二方面或者第二方面的任一可选的实现 方式中的方法的指令。In a sixth aspect, an embodiment of the present application provides an electronic device, the electronic device includes a memory, a processor, a touch sensor, and a display screen, a computer program is stored in the memory, the processor is connected to the memory, and the The processor executes the computer program to implement the second aspect or the instructions of the method in any optional implementation manner of the second aspect.

第七方面,本申请实施例提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行第一方面或者第一方面的 任一可选的实现方式中的方法的指令。In the seventh aspect, the embodiment of the present application provides a computer-readable storage medium, including computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the first aspect or any one of the first aspect. Instructions for methods in the chosen implementation.

第八方面,本申请实施例提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行第二方面或者第二方面的 任一可选的实现方式中的方法的指令。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, including computer instructions, which, when the computer instructions are run on an electronic device, cause the electronic device to execute the second aspect or any optional method of the second aspect. Instructions for methods in the chosen implementation.

第九方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面或者第一方面的任一可选的实现方式中 的方法的指令。In the ninth aspect, the embodiment of the present application provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute the method in the first aspect or any optional implementation manner of the first aspect instructions.

第十方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第二方面或者第位方面的任一可选的实现方式中 的方法的指令。In the tenth aspect, the embodiment of the present application provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute the method in any optional implementation manner of the second aspect or the second aspect instructions.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附 图获得其他的附图。此处的附图被并入说明书中并构成本说明书的一部分,示出了符 合本申请的实施例,并与说明书一起用于解释本申请的原理。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort. The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

图1为本申请实施例提供的电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图2是本发明实施例的电子设备的软件结构框图;Fig. 2 is a software structural block diagram of the electronic equipment of the embodiment of the present invention;

图3是本发明实施例的跨设备桌面管理方法的一流程图;Fig. 3 is a flowchart of the cross-device desktop management method according to the embodiment of the present invention;

图4是本发明实施例的跨设备桌面管理方法的一交互流程图;Fig. 4 is an interactive flowchart of the cross-device desktop management method according to the embodiment of the present invention;

图5为本发明实施例提供的第一电子设备的一种示例性的桌面示意图;FIG. 5 is an exemplary schematic diagram of a desktop of a first electronic device provided by an embodiment of the present invention;

图6为本发明实施例提供的第二电子设备的一种示例性的桌面示意图;FIG. 6 is an exemplary schematic diagram of a desktop of a second electronic device provided by an embodiment of the present invention;

图7a-图7i为本发明实施例提供的第一电子设备实现跨设备桌面管理方法的过程中的桌面示意图;7a-7i are schematic diagrams of the desktop in the process of the first electronic device implementing the cross-device desktop management method according to the embodiment of the present invention;

图8a-图8b为本发明实施例提供的第一电子设备实现跨设备桌面管理方法的过程中的桌面示意图;8a-8b are schematic diagrams of the desktop in the process of the first electronic device implementing the cross-device desktop management method according to the embodiment of the present invention;

图9是本发明实施例的跨设备桌面管理方法的又一流程图;FIG. 9 is another flow chart of the cross-device desktop management method according to the embodiment of the present invention;

图10是本发明实施例的跨设备桌面管理方法的又一交互流程图;Fig. 10 is another interactive flowchart of the cross-device desktop management method according to the embodiment of the present invention;

图11-图12是本发明实施例的第一电子设备实现跨设备桌面管理方法的过程中的桌面示意图;11-12 are schematic diagrams of the desktop in the process of implementing the cross-device desktop management method by the first electronic device according to the embodiment of the present invention;

图13为本发明实施例提供的第二电子设备的又一种示例性的桌面示意图;Fig. 13 is another exemplary desktop schematic diagram of the second electronic device provided by the embodiment of the present invention;

图14为本发明实施例提供的第二电子设备的又一种示例性的桌面示意图;Fig. 14 is another exemplary desktop schematic diagram of the second electronic device provided by the embodiment of the present invention;

图15是本发明实施例的跨设备桌面管理方法的又一流程图;Fig. 15 is another flow chart of the cross-device desktop management method according to the embodiment of the present invention;

图16是本发明实施例的跨设备桌面管理方法的又一交互流程图;Fig. 16 is another interactive flowchart of the cross-device desktop management method according to the embodiment of the present invention;

图17-图18是本发明实施例的第一电子设备实现跨设备桌面管理方法的过程中的桌面示意图;17-18 are schematic diagrams of the desktop in the process of implementing the cross-device desktop management method by the first electronic device according to the embodiment of the present invention;

图19为本发明实施例提供的第二电子设备的又一种示例性的桌面示意图;Fig. 19 is another exemplary desktop schematic diagram of the second electronic device provided by the embodiment of the present invention;

图20为本发明实施例提供的第二电子设备的又一种示例性的桌面示意图;Fig. 20 is another exemplary desktop schematic diagram of the second electronic device provided by the embodiment of the present invention;

图21为本发明实施例提供的第一电子设备的结构示意图;Fig. 21 is a schematic structural diagram of a first electronic device provided by an embodiment of the present invention;

图22为本发明实施例提供的第二电子设备的结构示意图。Fig. 22 is a schematic structural diagram of a second electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了更好的理解本发明的技术方案,下面结合附图对本申请实施例进行详细描述。In order to better understand the technical solutions of the present invention, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的 所有其它实施例,都属于本发明保护的范围。It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单 独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字 符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是 指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b, 或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b, c可以是单个,也可以是多个。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .

图1示出了电子设备100的结构示意图。FIG. 1 shows a schematic structural diagram of an electronic device 100 .

电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用 串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141, 电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬 声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190, 马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器 180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E, 距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传 感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification 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, bone conduction sensor 180M, etc.

可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组 合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软 件或软件和硬件的组合实现。It can be understood that, the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.

处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理 器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit, GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信 号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理 器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使 用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直 接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory may hold instructions or data that processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly recalled from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.

在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S) 接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口, 用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or A universal serial bus (universal serial bus, USB) interface, etc.

I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和 一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C 总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K, 使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功 能。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100.

I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170 之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160 传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can 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 through an I2S bus to implement communication between the processor 110 and the audio module 170 . In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.

PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音 频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳 机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常 被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线 通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可 以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的 功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus can 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 and the wireless communication module 160. For example: the processor 110 communicates with the bluetooth module in the wireless communication module 160 through the UART interface to realize the bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.

MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(displayserial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子 设备100的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (displayserial interface, DSI), and the like. In some embodiments, the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 . The processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the electronic device 100.

GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏 194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置 为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.

USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB 接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电, 也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机 播放音频。该接口还可以用于连接其它电子设备,例如AR设备等。The USB interface 130 is an interface conforming to the USB standard specification, specifically, it may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.

可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可 以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB 接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140 可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池 142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is configured to receive a charging input from a charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142, it can also provide power for electronic equipment through the power management module 141.

电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理 模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121, 显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于 监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其它一些实施例 中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模 块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives the input of the battery 142 and/or the charging management module 140, and provides power for the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线 通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于 覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可 以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开 关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of the WLAN. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低 噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波, 并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通 信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射 出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器 110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110 的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves to radiate through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随 后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处 理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受 话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中, 调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于 处理器110,与移动通信模块150或其它功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent of the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.

无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth, BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术 (infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处 理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从 处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless local area network (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system, etc. applied on the electronic device 100. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. 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 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be transmitted from the processor 110, perform frequency modulation on it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.

在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无 线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其它设备 通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分 多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multipleaccess,WCDMA),时分码分多址(time-division code division multiple access, TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/ 或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS), 全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统 (beidounavigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellitesystem, QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (codedivision multiple access, CDMA), wideband code Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou satellite navigation system (beidounavigation satellite system, BDS), a quasi-zenith satellite system (quasi- zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).

电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为 图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算, 用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显 示信息。The electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor. GPU is a microprocessor for image processing, connected to display screen 194 and application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.

显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采 用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode, OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled, MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。 在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整 数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (organic light-emitting diode, OLED), an active matrix organic light-emitting diode or an active-matrix organic light emitting diode (active-matrix organic light emitting diode). , AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及 应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头 被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传 递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算 法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以 设置在摄像头193中。The ISP is used for processing the data fed back by the camera 193 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 193.

摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输 出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。 在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整 数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其它数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量 进行傅里叶变换等。Digital signal processors are used to process digital signals, not only digital image signals, but also other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动 态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通 过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音 识别,文本理解等。The NPU is a neural-network (NN) computing processor. By referring to the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process input information and continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as: image recognition, face recognition, speech recognition, text understanding, etc.

外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现 数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. Such as saving music, video and other files in the external memory card.

内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储 操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存 储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。 此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器, 例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS) 等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中 的存储器的指令,执行电子设备100的各种功能应用以及数据处理。The internal memory 121 may be used to store computer-executable program codes including instructions. The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The data storage area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.

电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C, 耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.

音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些 实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模 块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be set in the processor 110, or some functional modules of the audio module 170 can be set in the processor 110.

扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100 可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "horn", is used to convert audio electrical signals into sound signals. Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.

受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100 接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the receiver 170B can be placed close to the human ear to receive the voice.

麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨 打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入 到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电 子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在 另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集 声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by putting his mouth close to the microphone 170C, and input the sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, so as to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.

耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以 是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口, 美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA) 标准接口。The earphone interface 170D is used for connecting wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电 阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以 是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的 电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示 屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也 可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同 触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有 触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消 息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用 图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 180A may be disposed on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when there is a touch operation with a touch operation intensity less than the first pressure threshold acting on the short message application icon, the instruction of viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, execute the instruction of creating a new short message.

陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。 陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B 检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通 过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航, 体感游戏场景。The gyro sensor 180B can be used to determine the motion posture of the electronic device 100 . In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse motion to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖 皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据 磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状 态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 may detect opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Then according to the detected opening and closing state of the holster or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.

加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。 当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.

距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。 在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速 对焦。The distance sensor 180F is used to measure the distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F for distance measurement to achieve fast focusing.

接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。 电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射 光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100 可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检 测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光 传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The electronic device 100 emits infrared light through the light emitting diode. Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 . The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for a call, so as to automatically turn off the screen to save power. Proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.

环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。 环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋 里,以防误触。The ambient light sensor 180L is used for sensing ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.

指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指 纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint features to unlock fingerprints, access application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and so on.

温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值, 电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施 热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热, 以避免低温导致电子设备100异常关机。在其它一些实施例中,当温度低于又一阈值 时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the electronic device 100 may reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194, 由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用 于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应 用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输 出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示 屏194所处的位置不同。Touch sensor 180K, also known as "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation may be provided through the display screen 194. In some other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.

骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M 可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏, 接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结 合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨 块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传 感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be set in the earphone, combined into a bone conduction earphone. The audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the voice part acquired by the bone conduction sensor 180M, so as to realize the voice function. The application processor can analyze the 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.

按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按 键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制 有关的键信号输入。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100.

马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸 振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同 的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的 振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对 应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate a vibrating reminder. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) may correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for the touch operations on different areas of the display screen 194. Different application scenarios (such as: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示 消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging status, the change of the battery capacity, and can also be used to indicate messages, missed calls, notifications, etc.

SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM 卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或 N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型 可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口 195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数 据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM 卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 . The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calling and data communication. In some embodiments, the electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .

电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务 架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设 备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the software structure of the electronic device 100 is illustrated by taking the Android system with a layered architecture as an example.

图2是本发明实施例的电子设备100的软件结构框图。FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present invention.

分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程 序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, Android runtime (Android runtime) and system library, and the kernel layer from top to bottom.

应用程序层可以包括一系列应用程序包。The application layer can consist of a series of application packages.

如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN, 蓝牙,音乐,视频,短信息等应用程序。As shown in FIG. 2, the application package may include application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电 话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

其中,窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。Among them, the window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.

在本申请的实施例中,应用程序框架层还可以包括活动管理器AMS用于负责管理Activity,负责系统中各组件的启动、切换、调度及应用程序的管理和调度等工作。In the embodiment of the present application, the application framework layer may also include an activity manager AMS, which is responsible for managing activities, and responsible for starting, switching, and scheduling of various components in the system, as well as management and scheduling of application programs.

例如,当检测到手机进入桌面编辑模式后,第一应用可以调用活动管理器,设置两个窗口的模式。其中一个窗口可用于显示桌面实时的缩略图,另一个窗口则用于显 示可供用户编辑桌面的相关控件,例如选择壁纸控件,添加桌面小工具控件,选择切 换效果控件,开启或关闭相关功能的控件等。窗口管理器则根据活动管理器设置的两 个窗口的模式绘制各个窗口相应的界面。For example, after detecting that the mobile phone enters the desktop editing mode, the first application may call the activity manager to set the modes of the two windows. One of the windows can be used to display a real-time thumbnail of the desktop, and the other window is used to display related controls for users to edit the desktop, such as selecting wallpaper controls, adding desktop widget controls, selecting switching effect controls, and turning on or off related functions. controls etc. The window manager draws the corresponding interface of each window according to the modes of the two windows set by the activity manager.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图 标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.

电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完 成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状 态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕 上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.

Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管 理。Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管 理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.

表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG 等。The media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.

2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.

下面结合捕获拍照场景,示例性说明电子设备100软件以及硬件的工作流程。The workflow of the software and hardware of the electronic device 100 will be exemplarily described below in conjunction with capturing and photographing scenes.

以下实施例中所涉及的技术方案均可以在具有上述硬件架构和软件架构的电子设 备100中实现。The technical solutions involved in the following embodiments can all be implemented in the electronic device 100 having the above-mentioned hardware architecture and software architecture.

本发明实施例提供的跨设备桌面管理方法可以应用于多个设备之间的跨设备桌面 管理的场景中。例如:用户通过一电子设备(如,电子设备A)对其它的电子设备(如, 电子设备B、电子设备C或电子设备D等)进行桌面、锁屏界面的壁纸切换、应用图 标增减、图标布局、窗口小工具编辑等与电子设备的桌面、AOD(Always On Display, 息屏显示)界面、锁屏界面相关的调整或编辑操作,以为用户提供更有效率、更为捷 径的用户体验。下面以桌面为例,对在本发明实施例提供的跨设备桌面管理方法进行 说明。可以理解的是,本领域技术人员也可将跨设备桌面管理方法扩展至其他用户图 形用户界面。The cross-device desktop management method provided by the embodiment of the present invention can be applied to the scenario of cross-device desktop management between multiple devices. For example: the user uses an electronic device (for example, electronic device A) to switch other electronic devices (such as electronic device B, electronic device C, or electronic device D, etc.) Adjustment or editing operations related to the desktop, AOD (Always On Display) interface and lock screen interface of electronic devices, such as icon layout and window widget editing, to provide users with a more efficient and shortcut user experience. Taking the desktop as an example, the cross-device desktop management method provided in the embodiment of the present invention will be described below. It can be understood that those skilled in the art can also extend the cross-device desktop management method to other user GUIs.

本发明实施例提供一种跨设备桌面管理方法,用于实现第一电子设备对第二电子设备的跨桌面管理,第一电子设备可以是图1所示的电子设备100,第一电子设备可 以是但不限于智能手机、平板电脑、个人计算机(personalcomputer,PC)、个人数字助 理(PDA,Personal Digital Assistant)、智能手表、上网本、可穿戴电子设备、增强现实技 术(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、智慧屏、车载设备、智能汽车、智能音响、机器人等设备,本申请对第一电子设备的具体形式不做特殊限 制。An embodiment of the present invention provides a cross-device desktop management method for realizing cross-desktop management of a second electronic device by a first electronic device. The first electronic device may be the electronic device 100 shown in FIG. 1 , and the first electronic device may be It is but not limited to smartphones, tablet computers, personal computers (personal computer, PC), personal digital assistants (PDA, Personal Digital Assistant), smart watches, netbooks, wearable electronic devices, augmented reality (augmented reality, AR) devices, For virtual reality (virtual reality, VR) equipment, smart screens, vehicle-mounted equipment, smart cars, smart audio, robots and other equipment, this application does not specifically limit the specific form of the first electronic equipment.

第一电子设备能够与第二电子设备建立通信连接,第二电子设备能够向第一电子设备共享桌面信息,且第一电子设备能够展示第二电子设备的共享的桌面信息,并且 基于展示的桌面信息,对第二电子设备的桌面进行编辑,然后将桌面编辑信息发送给 第二电子设备,使得第二电子设备根据桌面编辑信息重新载入并展示第一电子设备编 辑后的桌面。也就是说,第二电子设备能够基于其与第一电子设备间的通信连接,向 第一电子设备分享其桌面信息访问权限,以使得第一电子设备的设备用户能够基于所 分享的桌面信息访问权限对第二电子设备的桌面信息进行跨设备访问,第二电子设备 同样可以是上述所列举的智能手机、平板电脑、个人计算机(personalcomputer,PC)、 个人数字助理(PDA,Personal Digital Assistant)、智能手表、上网本、可穿戴电子设备、 增强现实技术(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、智慧屏、 车载设备、智能汽车、智能音响、机器人等设备,但并不局限于此,除了上述的任意 类型的设备,第二电子设备还可以是云端的服务器设备,如云端单独部署的某一服务 器设备或集中部署的服务器集群中的某一服务器设备等。The first electronic device can establish a communication connection with the second electronic device, the second electronic device can share desktop information with the first electronic device, and the first electronic device can display the shared desktop information of the second electronic device, and based on the displayed desktop information, edit the desktop of the second electronic device, and then send the desktop editing information to the second electronic device, so that the second electronic device reloads and displays the edited desktop of the first electronic device according to the desktop editing information. That is to say, based on the communication connection between the second electronic device and the first electronic device, the second electronic device can share its desktop information access authority with the first electronic device, so that the device user of the first electronic device can access the desktop information based on the shared desktop information. Permission to perform cross-device access to the desktop information of the second electronic device, and the second electronic device can also be a smart phone, a tablet computer, a personal computer (personal computer, PC), a personal digital assistant (PDA, Personal Digital Assistant), Smart watches, netbooks, wearable electronic devices, augmented reality (augmented reality, AR) devices, virtual reality (virtual reality, VR) devices, smart screens, vehicle-mounted devices, smart cars, smart audio, robots and other devices, but not To be limited thereto, in addition to any of the above-mentioned devices, the second electronic device may also be a server device in the cloud, such as a server device independently deployed in the cloud or a server device in a server cluster deployed centrally.

图3为本申请提供的一种跨设备桌面管理方法的流程图;图4为本申请提供的一种跨设备桌面管理方法中第一电子设备和第二电子设备的交互流程图。FIG. 3 is a flow chart of a cross-device desktop management method provided by the present application; FIG. 4 is a flow chart of interaction between a first electronic device and a second electronic device in a cross-device desktop management method provided by the present application.

结合图3和图4,本申请提供的一种跨设备桌面管理方法,可以包括如下步骤:With reference to Figure 3 and Figure 4, a cross-device desktop management method provided by the present application may include the following steps:

步骤S101:第一电子设备向第二电子设备发送访问请求,访问请求用于请求访问第二电子设备的桌面信息。Step S101: the first electronic device sends an access request to the second electronic device, and the access request is used to request access to desktop information of the second electronic device.

步骤S102:第二电子设备接收第一电子设备的访问请求,并基于访问请求返回桌面信息给第一电子设备。Step S102: the second electronic device receives the access request from the first electronic device, and returns desktop information to the first electronic device based on the access request.

步骤S103:第一电子设备接收第二电子设备发送的桌面信息,以及根据桌面信息显示第二电子设备的桌面;Step S103: the first electronic device receives the desktop information sent by the second electronic device, and displays the desktop of the second electronic device according to the desktop information;

步骤S104:第一电子设备接收用户对所显示的第二电子设备的桌面的编辑操作,并根据用户对第二电子设备的桌面的编辑操作生成桌面编辑信息,将桌面编辑信息发 送至第二电子设备;Step S104: The first electronic device receives the user's editing operation on the displayed desktop of the second electronic device, generates desktop editing information according to the user's editing operation on the second electronic device's desktop, and sends the desktop editing information to the second electronic device. equipment;

步骤S105:第二电子设备根据桌面编辑信息对其桌面进行调整。Step S105: the second electronic device adjusts its desktop according to the desktop editing information.

图5为本申请提供的第一电子设备的一种示例性的桌面示意图;图6为本申请提供的第二电子设备的一种示例性的桌面示意图。FIG. 5 is an exemplary desktop schematic diagram of the first electronic device provided in the present application; FIG. 6 is an exemplary desktop schematic diagram of the second electronic device provided in the present application.

如图5和图6所示,以第一电子设备和第二电子设备均为手机为例,图5所示的 界面10和图6所示的界面20均为手机桌面(也可称为主屏幕界面)的一个示例。手机桌 面可以包括以下至少一项:状态栏、窗口小工具(widget)(例如:时间widget、天气 widget)、应用图标以及停靠栏(dock栏,未显示)。在一些示例中,手机桌面还可以显 示有导航栏,例如采用虚拟按键进行导航。导航键一般包括后退(back)键、主屏幕(home) 键、最近任务(recent)键和通知栏键中的一项或多项。其中,后退键用于返回上一界面。 主屏幕键用于返回桌面。最近任务键用于显示最近使用过的应用程序。通知栏键用于 打开通知栏。在另一些示例中,手机可以采用手势导航。例如:在屏幕左边或右边向 内滑动的手势用于返回上一界面。在屏幕底部向上滑动的手势用于返回桌面。在屏幕 底部向上滑动并停住用于显示最近使用过的应用程序。在屏幕顶部向下滑动用于打开 通知栏。当然,手机还可以采用其它方式进行导航,这里不再一一赘述。As shown in Figure 5 and Figure 6, taking the first electronic device and the second electronic device both as mobile phones as an example, the interface 10 shown in Figure 5 and the interface 20 shown in Figure 6 are both mobile phone desktops (also called main An example of a screen interface). The mobile phone desktop may include at least one of the following: a status bar, a widget (widget) (for example: time widget, weather widget), an application icon, and a dock bar (dock bar, not shown). In some examples, the mobile phone desktop can also display a navigation bar, such as using virtual buttons for navigation. The navigation keys generally include one or more of a back (back) key, a main screen (home) key, a recent task (recent) key, and a notification bar key. Among them, the back key is used to return to the previous interface. The Home key is used to return to the desktop. The recent tasks key is used to display recently used applications. The notification bar key is used to open the notification bar. In other examples, the phone may employ gesture navigation. For example: the gesture of sliding inward on the left or right side of the screen is used to return to the previous interface. The swipe up gesture at the bottom of the screen is used to return to the desktop. Swipe up and hold at the bottom of the screen to display recently used apps. Swipe down from the top of the screen to open the notification shade. Of course, the mobile phone can also use other methods for navigation, which will not be repeated here.

手机可以包括一个或多个的桌面。用户可以通过在一个桌面上向左或向右滑动的手势来切换手机当前显示的桌面。例如:用户在如图5所述的界面10(可记为桌面A) 上执行向左滑动的手势,则手机显示另一个桌面(可记为桌面B)。若用户在界面10上 再次执行向右滑动的手势,则手机显示手机又一个桌面(可记为桌面C)。需要说明的是, 本申请实施例是以手机包含三个桌面为例进行说明的。事实上,手机可以包含一个或 多个桌面中任何一种情况。A phone can include one or more desktops. Users can switch the desktop currently displayed on the phone by swiping left or right on a desktop. For example, if the user performs a gesture of sliding to the left on the interface 10 (referred to as desktop A) as shown in FIG. 5 , the mobile phone displays another desktop (referred to as desktop B). If the user performs the gesture of sliding to the right again on the interface 10, then the mobile phone displays another desktop (can be recorded as desktop C) of the mobile phone. It should be noted that, the embodiment of the present application is described by taking the mobile phone including three desktops as an example. In fact, a phone can contain one or more desktops of any kind.

在本发明实施例中,第一电子设备至少能够用于为用户在第一电子设备上请求跨设备访问第二电子设备的桌面信息提供请求访问入口。In the embodiment of the present invention, the first electronic device can at least be used to provide a request access portal for the user to request cross-device access to the desktop information of the second electronic device on the first electronic device.

作为一种实施方式,可以在第一电子设备的操作系统中增设在不同设备间进行跨设备桌面信息共享的功能,以使得该功能作为操作系统的一自带功能;作为另一种实 施方式,也可以采用移动APP(Application,应用程序)的形式在第一电子设备上提供其 与其它电子设备间的跨设备桌面访问。As an implementation, a function of cross-device desktop information sharing between different devices can be added to the operating system of the first electronic device, so that this function can be used as a built-in function of the operating system; as another implementation, Cross-device desktop access between the first electronic device and other electronic devices may also be provided in the form of a mobile APP (Application, application program).

针对第一种实施方式,在一种具体实现中,用户可通过在第一电子设备的自身功能中调出其跨设备桌面访问功能,在调出该功能时提供至少一个待选电子设备的设备 标识(如手机号、电脑的IP(Internet Protocol,网络互连协议)地址、设备账户等),使得 用户可以在待选电子设备中选择至少一个电子设备作为第二电子设备,并向第二电子 设备发送跨设备桌面访问的访问请求。With regard to the first implementation mode, in a specific implementation, the user can call out its cross-device desktop access function in the first electronic device's own function, and provide at least one device of the electronic device to be selected when calling out the function. Identification (such as mobile phone number, IP (Internet Protocol, Internet Protocol) address of the computer, device account, etc.), so that the user can select at least one electronic device among the electronic devices to be selected as the second electronic device, and send the second electronic device to the second electronic device. The device sends an access request for cross-device desktop access.

可选的,上述的待选电子设备可以是第一电子设备所对应的设备账户的关联设备, 当用户在第一电子设备登录一个设备账户后,第一电子设备能够获知该设备账户除第一电子设备以外的其它关联设备的设备标识(如手机号、电脑的IP(Internet Protocol,网络互连协议)地址、设备账户等),第一电子设备与关联设备之间可以达成桌面跨设备访 问权限共享,用户可以手动自定义管理控制,从而确定第一电子设备调出跨设备桌面 访问功能时所对应的待选电子设备。其中,一个设备账户的关联设备可以是用户授权 建立关联关系的电子设备,和/或该设备账户历史登陆次数到达预设次数的电子设备, 和/或该设备账户正登录的电子设备等。一个设备账户的关联账号可以是该设备账户所 属家庭群组中的其它设备账户或用户授权与该设备账户建立关联允许界面跨设备管理 的设备账户。Optionally, the aforementioned electronic device to be selected may be an associated device of the device account corresponding to the first electronic device. When the user logs in a device account on the first electronic device, the first electronic device can know The device identification of other associated devices other than the electronic device (such as mobile phone number, computer IP (Internet Protocol, Internet Protocol) address, device account, etc.), the desktop cross-device access authority can be achieved between the first electronic device and the associated device Sharing, the user can manually customize the management control, so as to determine the corresponding electronic device to be selected when the first electronic device invokes the cross-device desktop access function. Among them, the associated device of a device account may be an electronic device authorized by the user to establish an association relationship, and/or an electronic device whose historical login times of the device account have reached a preset number of times, and/or an electronic device that the device account is currently logging in to, etc. The associated account of a device account can be another device account in the family group to which the device account belongs or a device account authorized by the user to establish an association with the device account to allow cross-device management of the interface.

可选的,上述的待选电子设备可以是通过蓝牙、Wi-fi(Wireless-fidelity)等无线 技术所匹配到的周边的电子设备,例如第一电子设备与其它电子设备处于同一Wi-fi的信号范围内,或者处于蓝牙的有效传输范围内等。以蓝牙为例,当其它电子设备与 第一电子设备配对成功后,第一电子设备可以与其配对成功的电子设备之间达成界面 跨设备访问权限共享关系,在用户调出跨设备桌面访问功能时,与第一电子设备配对 成功的电子设备可作为第一电子设备跨设备桌面访问的待选电子设备。Optionally, the aforementioned electronic device to be selected may be a peripheral electronic device matched by wireless technologies such as Bluetooth and Wi-fi (Wireless-fidelity), for example, the first electronic device and other electronic devices are in the same Wi-fi within the signal range, or within the effective transmission range of Bluetooth, etc. Taking Bluetooth as an example, when other electronic devices are successfully paired with the first electronic device, the first electronic device can reach an interface cross-device access permission sharing relationship with the successfully paired electronic device. When the user invokes the cross-device desktop access function , the electronic device successfully paired with the first electronic device can be used as a candidate electronic device for cross-device desktop access by the first electronic device.

当然,待选电子设备还可以是用户手动配置或添加的电子设备,用户将第一电子设备与配置的电子设备之间建立界面跨设备访问权限共享关系,用户可以手动自定义 管理控制。Of course, the electronic device to be selected can also be an electronic device manually configured or added by the user. The user establishes an interface cross-device access permission sharing relationship between the first electronic device and the configured electronic device, and the user can manually customize management control.

界面跨设备访问权限共享关系可以是单向共享关系或者双向共享关系,并不限于其中一种,且在实际应用中,同样可以将该单双向共享关系的选择功能开放给用户, 由用户根据需求选择其中一种。The interface cross-device access permission sharing relationship can be a one-way sharing relationship or a two-way sharing relationship, and is not limited to one of them. In practical applications, the selection function of the one-way and two-way sharing relationship can also be opened to the user, and the user can choose according to the needs. Choose one of them.

针对上述第二种实施方式,用户可通过桌面共享APP(该APP可以是一专门用于桌面共享的APP,也可以是在一些社交APP中增设该桌面共享功能)中向其它电子设备发 送跨设备访问权限共享关系的请求,之后在其它电子设备的桌面共享APP接受该请求 后可建立两者间的跨设备访问权限共享关系,需要说明的是,该共享关系可以是单向 共享关系,也可以是双向共享关系,并不限于其中的某一种,甚至在实际应用中,还 可以由用户根据需求选择采用单向还是双向的共享关系。在该实施方式中,电子设备 的桌面共享APP可以采用单独联系人或群组联系人的方式预先存储多个电子设备的设 备信息(如设备的共享APP账号等),以使得在有数据共享需求时,可通过向单独联系 人或群组发送桌面共享请求实现其与单独联系人的单个设备或群组对应的多个电子设 备间的数据共享。For the above-mentioned second embodiment, the user can send cross-device information to other electronic devices through the desktop sharing APP (this APP can be an APP specially used for desktop sharing, or the desktop sharing function can be added in some social APPs). A request for a sharing relationship of access rights, after the desktop sharing APP of other electronic devices accepts the request, a cross-device access sharing relationship between the two devices can be established. It should be noted that the sharing relationship can be a one-way sharing relationship, or it can be It is a two-way sharing relationship, and it is not limited to one of them. Even in practical applications, users can choose to adopt a one-way or two-way sharing relationship according to their needs. In this embodiment, the desktop sharing APP of the electronic device can pre-store the device information of multiple electronic devices (such as the shared APP account of the device, etc.) in the form of individual contacts or group contacts, so that when there is a data sharing requirement When , data sharing among multiple electronic devices corresponding to a single device or a group of an individual contact can be realized by sending a desktop sharing request to the individual contact or the group.

实际应用中,通常双方设备在各自通过对方的授权验证后才能建立两者间的桌面信息共享关系,这些在实际应用中都是可以多样化实施、灵活选择的。In practical applications, usually, the desktop information sharing relationship between the two devices can only be established after each device has passed the authorization verification of the other party, which can be implemented in a variety of ways and flexibly selected in practical applications.

针对步骤S101:第一电子设备向第二电子设备发送访问请求,访问请求用于请求访问第二电子设备的桌面信息。For step S101: the first electronic device sends an access request to the second electronic device, and the access request is used to request access to desktop information of the second electronic device.

在实际应用中,第一电子设备生成访问请求的过程可以包括:In practical applications, the process of generating the access request by the first electronic device may include:

用户可以通过在第一电子设备的任一桌面上执行第一预设操作,使得第一电子设备进入桌面编辑模式。其中,第一预设操作例如可以是在桌面上空白位置长按(例如 图7a所示)、双指捏合、点击特定按钮、按压特定物理键(或物理键组合)、悬浮手势 等。当然,用户也可以通过语音命令等其它方式,触发手机进入桌面编辑模式。The user may make the first electronic device enter a desktop editing mode by performing a first preset operation on any desktop of the first electronic device. Among them, the first preset operation can be, for example, long press on a blank position on the desktop (such as shown in Figure 7a), two-finger pinching, clicking a specific button, pressing a specific physical key (or combination of physical keys), hovering gestures, etc. Of course, the user can also trigger the phone to enter the desktop editing mode through other methods such as voice commands.

图7b示出了一种示例性的第一电子设备进入桌面编辑模式的桌面示意图;Fig. 7b shows an exemplary schematic diagram of the desktop of the first electronic device entering the desktop editing mode;

当手机进入桌面编辑模式后,显示桌面编辑界面。本申请实施例中第一电子设备的显示区域包含两个区域。其中一个区域(例如第一区域10A)可用于显示桌面实时的缩 略图;另一个区域(例如第二区域10B)则可用于用户执行编辑桌面的操作,例如选择壁 纸,添加窗口小工具,选择切换效果,开启或关闭相关功能等。示例性的,第一区域 10A和第二区域10B呈上下排列(如图7a所示),第一区域10A位于第二区域10B的 上方或下方,或者第一区域10A和第二区域10B呈左右排列,第一区域10A位于第二 区域10B的左侧或右侧。其中,第一区域10A和第二区域10B的面积可以相同或不同。 在一个示例中,第一区域10A和第二区域10B不重叠。When the mobile phone enters the desktop editing mode, the desktop editing interface is displayed. In the embodiment of the present application, the display area of the first electronic device includes two areas. One of the areas (for example, the first area 10A) can be used to display a real-time thumbnail of the desktop; the other area (for example, the second area 10B) can be used for the user to perform operations on editing the desktop, such as selecting a wallpaper, adding a widget, and selecting a switch effects, enable or disable related functions, etc. Exemplarily, the first area 10A and the second area 10B are arranged up and down (as shown in FIG. 7a ), the first area 10A is located above or below the second area 10B, or the first area 10A and the second area 10B are arranged in a left-right manner. Arranged, the first region 10A is located on the left or right side of the second region 10B. Wherein, the areas of the first region 10A and the second region 10B may be the same or different. In one example, the first area 10A and the second area 10B do not overlap.

可以理解的是,在第二区域10B上也可以包括一些供用户操作的控件。该控件可以是对桌面进行编辑的控件,也可以是对桌面缩略图进行操作的控件。也就是说,本 申请实施例中并不严格区分第一区域10A和第二区域10B的功能以及显示内容,这将 有利于优化桌面编辑界面中各个控件的布局,提升用户的使用体验。It can be understood that the second area 10B may also include some controls for the user to operate. The control may be a control for editing the desktop, or a control for operating the thumbnail of the desktop. That is to say, in the embodiment of the present application, the functions and display contents of the first area 10A and the second area 10B are not strictly distinguished, which will help to optimize the layout of each control in the desktop editing interface and improve the user experience.

与现有技术不同的是,在本发明实施例中,第二区域10B还可以用于实现对其它电子设备进行跨设备桌面编辑。Different from the prior art, in the embodiment of the present invention, the second area 10B can also be used to implement cross-device desktop editing on other electronic devices.

作为一种示例,当第一电子设备进入桌面编辑模式时,第二区域10B首先显示用于第一电子设备进行桌面编辑的控件,例如,图7b所示的壁纸控件、窗口小工具控件、 切换效果控件和桌面设置控件等;当用户在桌面编辑界面上执行第二预设操作后,第 二区域10B所显示的页面切换为用于选择期望进行跨设备编辑的电子设备的页面,以 实现用户在至少一个待选电子设备中选择所要进行跨设备桌面编辑的电子设备,具体 可以参见图7c所示的第二区域10B,图7c所示的第二区域10B显示有待选电子设备 (例如手机1、手机2及电脑1)对应的选项图标。手机1、手机2及电脑1分别对应 一个待选电子设备。其中,第二预设操作可以为在第二区域10B上进行向左滑动、向 右滑动、向上滑动或者向下滑动、按压特定物理键(或物理键组合)等等,在本发明实施 例中,具体为向左滑动。As an example, when the first electronic device enters the desktop editing mode, the second area 10B first displays controls for the first electronic device to edit the desktop, for example, the wallpaper control, widget control, switch Effect controls and desktop setting controls, etc.; after the user performs the second preset operation on the desktop editing interface, the page displayed in the second area 10B is switched to a page for selecting an electronic device that is expected to be edited across devices, so as to realize the user's Select the electronic device to be cross-device desktop editing in at least one electronic device to be selected, specifically can refer to the second area 10B shown in FIG. 7c, the second area 10B shown in FIG. , mobile phone 2 and computer 1) corresponding option icons. Mobile phone 1, mobile phone 2 and computer 1 respectively correspond to an electronic device to be selected. Wherein, the second preset operation may be sliding to the left, sliding to the right, sliding up or down, pressing a specific physical key (or combination of physical keys), etc. on the second area 10B. In this embodiment of the present invention , specifically to swipe left.

以第二电子设备为手机1为例,当用户选择手机1对应选项图标时,表征用户选 择手机1作为请求进行跨桌面编辑的对象,从而触发第一电子设备向第二电子设备发 送访问请求。Taking mobile phone 1 as the second electronic device as an example, when the user selects the option icon corresponding to mobile phone 1, it means that the user selects mobile phone 1 as the object to request cross-desktop editing, thereby triggering the first electronic device to send an access request to the second electronic device.

其中,在本发明其它实施方式中,待选电子设备(例如手机1)在第一电子设备 上的显示名称还可以使用待选电子设备所关联的设备账户的名称和/或待选电子设备 的设备类型和/或设备型号等作为显示,待选电子设备在第一电子设备上的显示图标 (例如手机1对应的图标)还可以使用待选电子设备所关联的设备账户的头像、待选 电子设备的设备类型和/或设备型号对应的设备实体图像作为显示。当然,在本发明其 它实施方式中,也可以只显示待选电子设备对应的名称或者只显示待选电子设备对应 的图标,具体可灵活设置,本发明对此不做限定。Wherein, in other embodiments of the present invention, the display name of the electronic device to be selected (such as mobile phone 1) on the first electronic device may also use the name of the device account associated with the electronic device to be selected and/or the name of the electronic device to be selected. The device type and/or device model, etc. are used as a display, and the display icon of the electronic device to be selected on the first electronic device (such as the icon corresponding to the mobile phone 1) can also use the avatar of the device account associated with the electronic device to be selected, the electronic device to be selected. The device entity image corresponding to the device type and/or device model of the device is used as a display. Of course, in other embodiments of the present invention, only the name corresponding to the electronic device to be selected or the icon corresponding to the electronic device to be selected can also be displayed, which can be flexibly set, and the present invention does not limit this.

其中,图7c所示的“+”选项用于用户对待选电子设备进行添加和管理。当用户 选择“+”选项时,可以添加新的待选电子设备。Wherein, the "+" option shown in FIG. 7c is used for the user to add and manage the electronic device to be selected. When the user selects the "+" option, a new electronic device to be selected can be added.

本发明实施例中,第一电子设备与第二电子设备间的通信连接,可以是但不限于蓝牙、Wi-Fi(Wireless-Fidelity,无线保真)、互联网或移动网络等任意连接方式下的通信连接。In the embodiment of the present invention, the communication connection between the first electronic device and the second electronic device may be, but not limited to, any connection mode such as Bluetooth, Wi-Fi (Wireless-Fidelity, wireless fidelity), Internet or mobile network. communication connection.

本发明实施例中,第一电子设备与第二电子设备间的通信还可以通过第三方服务器来实现,即由第三方服务器来实现第一电子设备与第二电子设备之间的信息的传递。In the embodiment of the present invention, the communication between the first electronic device and the second electronic device can also be realized through a third-party server, that is, the third-party server realizes the transfer of information between the first electronic device and the second electronic device.

需要说明的是,第一电子设备向第二电子设备发送访问请求并非必须进入桌面编辑模式才能实现,例如通过用于桌面共享的APP也可实现,只要能够实现对第二电子 设备进行跨设备桌面访问发起访问请求均可。It should be noted that the first electronic device does not have to enter the desktop editing mode to send an access request to the second electronic device. For example, it can also be realized through an APP for desktop sharing, as long as the cross-device desktop Access can initiate an access request.

在本发明其它实施例中,当第一电子设备进入桌面编辑模式时,第二区域10B还可以直接进入用于选择期望进行跨设备编辑的电子设备的页面(可参见图7c),无需 用户在图7b所示的桌面编辑界面上执行第二预设操作。In other embodiments of the present invention, when the first electronic device enters the desktop editing mode, the second area 10B can also directly enter the page for selecting the electronic device desired to perform cross-device editing (see FIG. The second preset operation is performed on the desktop editing interface shown in FIG. 7b.

在本发明其它实施例中,当用户在桌面编辑界面上执行第二预设操作后,第二区域10B所显示的页面还可以切换为用于选择期望进行跨设备编辑的电子设备的设备类 型的页面,具体可以参见图8a,示例性地,电子设备的设备类型可以包括但不限于手 机、Pad、电脑及音响等,当用户选择对应手机类型的控件时,对应手机类型的控件下 平铺一个或者多个手机选项,具体可以参见图8b,用户选中相应的手机选项后,例如 选中手机1后,触发第一电子设备向手机1对应的电子设备(在本发明实施例中为第 二电子设备)发送访问请求。可以理解,通过对待选的电子设备进行分类处理,可以 方便用户能够快速找到期望选择的电子设备,从而提高用户使用体验。In other embodiments of the present invention, after the user performs the second preset operation on the desktop editing interface, the page displayed in the second area 10B can also be switched to a device type for selecting the electronic device desired to perform cross-device editing. page, see Figure 8a for details. Exemplarily, the device types of electronic devices may include but are not limited to mobile phones, Pads, computers, and stereos. When the user selects the control corresponding to the mobile phone type, a tile or A plurality of mobile phone options, specifically refer to Figure 8b, after the user selects the corresponding mobile phone option, for example, after selecting the mobile phone 1, the first electronic device is triggered to the electronic device corresponding to the mobile phone 1 (in the embodiment of the present invention, it is the second electronic device) Send an access request. It can be understood that by classifying the electronic devices to be selected, it is convenient for the user to quickly find the desired electronic device, thereby improving the user experience.

针对步骤S102:第二电子设备接收第一电子设备的访问请求,并基于访问请求返回桌面信息给第一电子设备。For step S102: the second electronic device receives the access request from the first electronic device, and returns desktop information to the first electronic device based on the access request.

其中,第二电子设备接收到第一电子设备的访问请求后,可以先对第一电子设备的访问请求进行验证,验证通过后,再将桌面信息发送给第一电子设备,以保障安全 性;当然,也可以直接响应于第一电子设备的访问请求将桌面信息发送给第一电子设 备。Wherein, after receiving the access request from the first electronic device, the second electronic device may first verify the access request of the first electronic device, and after the verification is passed, send the desktop information to the first electronic device to ensure security; Certainly, the desktop information may also be sent to the first electronic device directly in response to the access request of the first electronic device.

桌面信息可以包括但不限于:桌面UI(User Interface,用户界面)信息部分和桌面数据部分,其中,桌面UI信息部分可以包括但不限于桌面布局描述参数、各个状态 栏、窗口小工具、导航栏、导航键及应用图标的位置参数、尺寸信息等中的一个或者 任意多个,桌面数据部分具有特定数据结构,例如各个状态栏、窗口小工具(widget)、 壁纸信息、应用图标信息等,其中,应用程序信息包括的应用程序的数据位置、类型、 包名(Package Name)及安装包中的任意一种或者多种等等。当然,在本发明实施例中, 桌面信息还可以包括锁屏界面和/或AOD界面的UI信息部分和数据部分,例如锁屏界 面的布局描述参数等,本发明对此不做具体的限定。Desktop information can include but not limited to: desktop UI (User Interface, user interface) information part and desktop data part, wherein, desktop UI information part can include but not limited to desktop layout description parameter, each status bar, widget, navigation bar , navigation keys, and application icon position parameters, size information, etc. or one or more of them. The desktop data part has a specific data structure, such as each status bar, window widget (widget), wallpaper information, application icon information, etc., wherein , the application program information includes any one or more of the data location, type, package name (Package Name) and installation package of the application program. Of course, in the embodiment of the present invention, the desktop information may also include the UI information part and the data part of the lock screen interface and/or AOD interface, such as the layout description parameters of the lock screen interface, etc., and the present invention does not specifically limit this.

针对步骤S103:第一电子设备接收第二电子设备发送的桌面信息,以及根据桌面信息显示第二电子设备的桌面。For step S103: the first electronic device receives the desktop information sent by the second electronic device, and displays the desktop of the second electronic device according to the desktop information.

其中,第一电子设备根据桌面信息所显示的第二电子设备的桌面不等同于第二电子设备的桌面。例如,可以显示第二电子设备的桌面的缩略图或者部分内容示意图, 具体根据第一电子设备的窗口管理器的绘制规则确定。Wherein, the desktop of the second electronic device displayed by the first electronic device according to the desktop information is not identical to the desktop of the second electronic device. For example, a thumbnail or partial content diagram of the desktop of the second electronic device may be displayed, specifically determined according to a drawing rule of the window manager of the first electronic device.

其中,第一电子设备根据桌面信息所显示的第二电子设备的桌面可以是显示第二电子设备的所有桌面中的部分或者全部。Wherein, the desktop of the second electronic device displayed by the first electronic device according to the desktop information may display part or all of all desktops of the second electronic device.

作为一种示例,第一电子设备获取第二电子设备的桌面信息后,第一电子设备的窗口管理器根据第二电子设备的桌面信息进行第二电子设备的桌面的缩略图进行绘 制,并将绘制的第二电子设备的桌面缩略图显示在上述的第一区域10A内(可参见图 7d),即第一电子设备由显示第一电子设备自身的桌面缩略图切换到显示第二电子设 备的桌面缩略图。As an example, after the first electronic device obtains the desktop information of the second electronic device, the window manager of the first electronic device draws a thumbnail of the desktop of the second electronic device according to the desktop information of the second electronic device, and The drawn desktop thumbnail of the second electronic device is displayed in the above-mentioned first area 10A (refer to FIG. 7d), that is, the first electronic device switches from displaying the desktop thumbnail of the first electronic device itself to displaying the desktop of the second electronic device. Desktop thumbnails.

例如,图7d所示出的界面的第一区域10A的中间位置显示有页面10a,为第二电 子设备的一个桌面的缩略图。具体的,页面10a上包括该桌面的应用图标,窗口小工 具等。用户可以在页面10a上对该桌面的应用图标和窗口小工具进行编辑,编辑的方 法将在下文相应的位置进行说明,这里先不做说明。在页面10a的左右侧还显示有其 它页面,分别对应其第二电子设备的其它桌面。用户可以通过左右滑动的手势切换显 示在中间的页面,而显示在中间位置的页面所对应的桌面为正在编辑的桌面。For example, a page 10a is displayed in the middle of the first area 10A of the interface shown in Figure 7d, which is a thumbnail of a desktop of the second electronic device. Specifically, the page 10a includes application icons, window widgets, etc. of the desktop. The user can edit the application icons and widgets on the desktop on the page 10a, and the editing method will be explained in the corresponding position below, and will not be explained here. There are also other pages displayed on the left and right sides of the page 10a, respectively corresponding to other desktops of the second electronic device. The user can switch the page displayed in the middle by sliding left and right, and the desktop corresponding to the page displayed in the middle is the desktop being edited.

页面10a可以不包括该桌面中的dock栏的应用图标,即在桌面编辑界面中不可对桌面dock栏的应用图标进行编辑。当然,在本申请中,页面10a也可以包括该桌面中 dock栏的应用图标,即在桌面编辑界面中可以对桌面dock栏的应用图标进行编辑,对 dock栏的应用图标的编辑也将在下文进行详述。The page 10a may not include the application icons of the dock bar on the desktop, that is, the application icons of the dock bar of the desktop cannot be edited in the desktop editing interface. Of course, in this application, the page 10a can also include the application icons of the dock bar on the desktop, that is, the application icons of the dock bar of the desktop can be edited in the desktop editing interface, and the editing of the application icons of the dock bar will also be described below to elaborate.

示例性地,当第一电子设备将绘制的第二电子设备的桌面缩略图显示在上述的第一区域10A内时,第一区域10A的右上方显示用于方便用户返回本机设备对应的桌面 缩略图的控件,当用户在图7d所示的界面上点击或者按压返回本机的控件时,第一区 域10A显示的内容切换至第一电子设备的桌面缩略图。当然,在本发明其他实施例中, 为了方便返回本机设备对应的桌面缩略图,图7d所示出的界面的第二区域10B还可以 包含第一电子设备对应的选项图标,当用户在图7d所示的界面上点击或者按压第一电 子设备对应的选项图标时,第一区域10A所显示的内容切换至第一电子设备的桌面缩 略图。For example, when the first electronic device displays the drawn desktop thumbnail image of the second electronic device in the above-mentioned first area 10A, the upper right of the first area 10A displays the corresponding desktop for the convenience of the user to return to the local device. For the control of the thumbnail, when the user clicks or presses the control on the interface shown in FIG. 7d to return to the local device, the content displayed in the first area 10A switches to the desktop thumbnail of the first electronic device. Of course, in other embodiments of the present invention, in order to facilitate returning to the desktop thumbnail corresponding to the local device, the second area 10B of the interface shown in FIG. 7d may also include an option icon corresponding to the first electronic device. When the option icon corresponding to the first electronic device is clicked or pressed on the interface shown in 7d, the content displayed in the first area 10A is switched to the desktop thumbnail of the first electronic device.

针对步骤S104:第一电子设备接收用户对所显示的第二电子设备的桌面的编辑操作,并根据用户对第二电子设备的桌面的编辑操作生成桌面编辑信息,将桌面编辑信 息发送至第二电子设备;For step S104: the first electronic device receives the user's editing operation on the displayed desktop of the second electronic device, generates desktop editing information according to the user's editing operation on the second electronic device's desktop, and sends the desktop editing information to the second electronic device. Electronic equipment;

作为一种示例,当第一电子设备的第一区域10A显示第二电子设备的桌面后,用户可以在图7d所显示的界面执行第三预设操作,使得第二区域10B所显示的界面切换 至可用于用户执行编辑桌面的操作的界面,例如,图7e所示的壁纸控件图标、窗口小 工具控件图标、切换效果控件图标和桌面设置控件图标等;As an example, after the first area 10A of the first electronic device displays the desktop of the second electronic device, the user can perform a third preset operation on the interface shown in FIG. 7d, so that the interface displayed in the second area 10B is switched To an interface that can be used for the user to perform the operation of editing the desktop, for example, the wallpaper control icon, the widget control icon, the switching effect control icon and the desktop setting control icon shown in FIG. 7e;

其中,第三预设操作可以为在第二区域10B上进行向左滑动、向右滑动、向上滑 动或者向下滑动、按压特定物理键(或物理键组合)等等,在本发明实施例中,具体为向 右滑动。Wherein, the third preset operation may be sliding to the left, sliding to the right, sliding up or down, pressing a specific physical key (or combination of physical keys), etc. on the second area 10B. In this embodiment of the present invention , to swipe right.

在其它实施方式中,当第一电子设备的第一区域10A显示第二电子设备的桌面的同时,用户也可以不进行第三预设操作,直接切换至可用于用户执行编辑桌面的操作 的内容,例如,图7e所示的壁纸控件图标、窗口小工具控件图标、切换效果控件图标 和桌面设置控件图标等。In other embodiments, when the first area 10A of the first electronic device displays the desktop of the second electronic device, the user may not perform the third preset operation, and directly switch to the content that can be used for the user to perform the operation of editing the desktop , for example, the wallpaper control icon, the widget control icon, the switching effect control icon, the desktop setting control icon and the like shown in FIG. 7e.

可以理解,在本发明实施例中,当第一电子设备在第一区域10A对第二电子设备的桌面缩略图进行显示后,第一电子设备可以根据用户的第三预定操作将第二区域 10B所显示的用于对期望进行跨设备桌面编辑的电子设备的选择页面切换到用于执行 编辑桌面操作的页面,例如选择壁纸,添加桌面小工具,选择切换效果,开启或关闭 相关功能等,或者当第一电子设备在第一区域10A对第二电子设备的桌面缩略图进行 显示的同时,第一电子设备自动将第二区域10B的用于选择需要进行跨设备桌面编辑 的电子设备的页面部分切换到用于用户执行编辑桌面的操作的页面部分。这样,用户 在编辑第二电子设备的桌面时,可以快捷的操作的相应选项。例如:壁纸控件下平铺 有一个或者多个壁纸选项,用户可以直接点击相应的壁纸选项,直接更换桌面的壁纸。 若用户想查看更多其它编辑控件下的选项,也可以通过控件收起壁纸控件下的选项。 若用户想查看某个编辑控件(例如切换效果编辑控件)下的选项,也可以通过该编辑控件 对应的展开控件展开该编辑控件下的更多的选项。It can be understood that, in the embodiment of the present invention, after the first electronic device displays the desktop thumbnail of the second electronic device in the first area 10A, the first electronic device may display the desktop thumbnail image of the second area 10B according to the third predetermined operation of the user. The displayed selection page for the electronic device desired to perform cross-device desktop editing is switched to a page for performing editing desktop operations, such as selecting wallpapers, adding desktop gadgets, selecting transition effects, turning on or off related functions, etc., or When the first electronic device displays the thumbnail image of the desktop of the second electronic device in the first area 10A, the first electronic device automatically displays the part of the page in the second area 10B that is used to select the electronic device that needs cross-device desktop editing Switches to the part of the page where the user performs actions to edit the desktop. In this way, when the user edits the desktop of the second electronic device, he can quickly operate the corresponding options. For example: there are one or more wallpaper options in the tile under the wallpaper control, and the user can directly click on the corresponding wallpaper option to directly change the desktop wallpaper. If the user wants to view more options under other editing controls, the options under the wallpaper control can also be collapsed through the control. If the user wants to view the options under a certain edit control (such as the transition effect edit control), he can also expand more options under the edit control through the expansion control corresponding to the edit control.

第一电子设备可以包含以下跨桌面编辑功能中的任一种或多种,本申请实施例对此不做限定。The first electronic device may include any one or more of the following cross-desktop editing functions, which is not limited in this embodiment of the present application.

1、更换桌面壁纸1. Change the desktop wallpaper

请参阅图7e,响应于用户在如图7e所示的界面上点击壁纸控件的操作,第一电 子设备可以显示如图7f所示的壁纸编辑界面,该界面中第二区域10B显示有多个选项, 例如更多选项、图库选项、壁纸e选项、壁纸f选项和壁纸选项。其中每个壁纸选项 对应一个壁纸,用户可以通过这些选项选择相应的壁纸应用于第二电子设备的桌面。 其中图库为第一电子设备本地保存的图片,当用户选择图库选项时,在图库选项展开 第一电子设备本地保存的图片,以供用户选择。其中更多选项可以为用户提供网络图 片,当用户选择更多选项时,图库选项展开网络图片,以供用户选择。Please refer to FIG. 7e. In response to the user’s operation of clicking the wallpaper control on the interface shown in FIG. 7e, the first electronic device may display the wallpaper editing interface as shown in FIG. Options, such as more options, gallery options, wallpaper e options, wallpaper f options, and wallpaper options. Each wallpaper option corresponds to a wallpaper, and the user can select a corresponding wallpaper to apply to the desktop of the second electronic device through these options. The gallery is the pictures locally stored by the first electronic device. When the user selects the gallery option, the pictures stored locally by the first electronic device are displayed in the gallery option for the user to select. Wherein more options can provide the network picture for the user, when the user selects more options, the gallery option expands the network picture for the user to choose.

可以理解的是,第一区域10A中对应于桌面的页面显示有根据用户对桌面的编辑实时显示预览效果。It can be understood that, the page corresponding to the desktop in the first area 10A displays a real-time display preview effect according to the editing of the desktop by the user.

当用户选定所期望的壁纸时,例如壁纸e选项时,通过图7g所示的应用控件可以确认对所选壁纸的设置操作,当然,用户还可以通过图7g所示的返回控件返回到图 7e所示的界面。When the user selects the desired wallpaper, such as the wallpaper e option, the setting operation of the selected wallpaper can be confirmed through the application control shown in Figure 7g, and of course, the user can also return to the picture through the return control shown in Figure 7g. The interface shown in 7e.

当然,用户也可以在对选择的壁纸进行其它设置,例如虚化、滚动等,此时第一 区域10A也可以实时显示这些效果,本申请实施例不再一一赘述。Of course, the user can also perform other settings on the selected wallpaper, such as blurring, scrolling, etc. At this time, the first area 10A can also display these effects in real time, and the embodiments of the present application will not repeat them one by one.

2、添加或删除窗口小工具2. Add or delete widgets

继续参见图7e所示的界面,响应于用户点击窗口小工具控件,第一电子设备可以显示多个widget。各个widget有相同或不同的尺寸。即widget占用桌面中的面积不同。 那么,当widget添加到桌面上时可能影响到桌面布局的美观和适用性。因此,在本申 请中,用户可以通过第一区域10A中第二电子设备的桌面的实时预览图进行确定是否 添加widget的位置或是否删除widget等,窗口小工具包括时钟widget、天气widget、 邮箱widget、浏览器widget、备忘录widget以及其它用户常用的工具。Continuing to refer to the interface shown in FIG. 7e, in response to the user clicking on the widget control, the first electronic device may display a plurality of widgets. Each widget has the same or different dimensions. That is, widgets occupy different areas on the desktop. Then, when the widget is added to the desktop, it may affect the beauty and applicability of the desktop layout. Therefore, in this application, the user can determine whether to add the position of the widget or whether to delete the widget, etc. through the real-time preview of the desktop of the second electronic device in the first area 10A. The widgets include clock widgets, weather widgets, and mailbox widgets. , browser widget, memo widget and other tools commonly used by users.

示例性的,用户可以通过点击或拖动的方式将相应的widget添加到第一区域10A中相应的页面中。即用户可以查看到各个桌面添加相应的widget后的效果图。当然, 用户也可以通过长按住第一区域10A中各个页面中某个widget,并将该widget拖到第 一区域10A中出现的删除控件处,以从该页面上删除该widget。也就是说,此时页面 上显示的桌面删除widget后的效果图。Exemplarily, the user can click or drag to add the corresponding widget to the corresponding page in the first area 10A. That is, the user can view the renderings of each desktop after adding corresponding widgets. Of course, the user can also press and hold a certain widget in each page in the first area 10A, and drag the widget to the delete control that appears in the first area 10A to delete the widget from the page. That is to say, at this moment, the desktop displayed on the page is an effect picture after the widget is deleted.

3、修改桌面切换效果3. Modify the desktop switching effect

继续参见图7e所示的界面,响应于用户点击切换效果控件,第一电子设备在第二区域10B上展开显示多种切换效果的选项。用户可以通过选择相应的切换效果的选项, 使得用户在第一区域10A切换不同页面时,可以观看到桌面切换时的效果。Continuing to refer to the interface shown in FIG. 7e , in response to the user clicking on the switching effect control, the first electronic device expands and displays various switching effect options on the second area 10B. The user can select the corresponding switching effect option, so that when the user switches between different pages in the first area 10A, the user can watch the desktop switching effect.

4、设置桌面布局4. Set the desktop layout

继续参见图7e所示的界面,响应于用户点击桌面设置控件,对第二电子设备的桌面进行设置,用户对桌面布局设置项进行修改后,第一电子设备立即对桌面布局进行 更改并显示。Continue referring to the interface shown in Figure 7e, in response to the user clicking the desktop setting control, the desktop of the second electronic device is set, and after the user modifies the desktop layout setting items, the first electronic device immediately changes and displays the desktop layout.

5、修改应用图标5. Modify the application icon

继续参见图7e所示的界面,对第二电子设备的桌面上的应用图标进行修改,可以包括:对桌面上的应用图标的位置进行修改、对桌面上的应用图标进行删除等。Continuing to refer to the interface shown in FIG. 7e, modifying the application icon on the desktop of the second electronic device may include: modifying the position of the application icon on the desktop, deleting the application icon on the desktop, and the like.

其中,对桌面上的应用图标及位置进行修改可以是:用户可以在页面中选中任一个或任几个应用图标,并采用长按的方式将选中的应用图标拖至其它页面;或者是, 用户可以在页面中选中任一个或任几个应用图标,并采用长按的方式将选中的应用图 标拖至本页面的其它位置,又或者,在dock栏有空位置时,也可以将非dock栏的应 用图标移至dock栏。又或者,也可以将选中的dock栏的应用图标和其它非dock栏的 应用图标一同移至其它桌面中。Among them, modifying the application icons and positions on the desktop can be: the user can select any one or several application icons on the page, and use the long press method to drag the selected application icons to other pages; or, the user can You can select any one or several application icons on the page, and drag the selected application icons to other positions on the page by long-pressing, or, when there is space in the dock bar, you can also drag the non-dock bar The icon of the application is moved to the dock bar. Alternatively, the selected application icon of the dock bar can also be moved to other desktops together with the application icons of other non-dock bars.

对桌面上的应用图标进行删除具体可以为:长按需要删除的应用图标以选中需要删除的应用图标,同时使得在应用图标显示删减角标,如“×”角标,点击“×”角 标,删除该应用图标以及卸载该应用图标对应的应用程序,或者,用户选中一个或多 个应用图标后,显示删减区域,将一个或多个应用图标拖至删减区域,以实现对应用 图标的删减以及应用图标对应的应用程序的卸载。第一电子设备会对桌面的应用图标 的变化进行实时显示。Deleting the application icon on the desktop can be as follows: press and hold the application icon to be deleted to select the application icon to be deleted, and at the same time make the deletion corner mark appear on the application icon, such as the "×" corner mark, click the "×" corner icon, delete the application icon and uninstall the application program corresponding to the application icon, or, after the user selects one or more application icons, the deletion area is displayed, and one or more application icons are dragged to the deletion area to realize the application Deletion of icons and uninstallation of applications corresponding to application icons. The first electronic device will display the changes of the application icons on the desktop in real time.

需要知道的是,第一电子设备包含对第二电子设备的桌面的以下编辑功能不限于以上所列举的几种,本发明不一一列举。It should be known that the following editing functions of the desktop of the second electronic device included in the first electronic device are not limited to the ones listed above, and the present invention does not list them all.

请参阅图7h,在本发明实施例中,当通过第一电子设备对第二电子设备进行桌面编辑的过程中,第一电子设备还会显示用于对桌面编辑操作进行确认的完成按钮,当 用户通过点击或者按压等方式选定该完成按钮后,可以触发第一电子设备根据用户对 第二电子设备的桌面编辑操作生成桌面编辑信息,并将桌面编辑信息发送至第二电子 设备。Please refer to Figure 7h. In this embodiment of the present invention, when the first electronic device is editing the desktop of the second electronic device, the first electronic device will also display a finish button for confirming the desktop editing operation. After the user selects the finish button by clicking or pressing, the first electronic device may be triggered to generate desktop editing information according to the user's desktop editing operation on the second electronic device, and send the desktop editing information to the second electronic device.

需要说明的是,此处以点击完成按钮后才向第二电子设备发送桌面编辑信息为例进行了说明,在本发明其它实施方式中,也可以采用即时同步的方式,即用户在第一 电子设备上进行一次桌面编辑后,无需点击完成按钮触发,即时生成桌面编辑信息至 第二电子设备,第二电子设备根据桌面编辑信息对其桌面设置进行同步更新。It should be noted that, here, the desktop editing information is sent to the second electronic device after clicking the Finish button as an example. In other embodiments of the present invention, the instant After desktop editing is performed on the computer, there is no need to click the finish button to trigger, and the desktop editing information is immediately generated to the second electronic device, and the second electronic device synchronously updates its desktop settings according to the desktop editing information.

步骤S105:第二电子设备根据桌面编辑信息对其桌面进行调整。Step S105: the second electronic device adjusts its desktop according to the desktop editing information.

具体实现过程中,当第二电子设备接收到桌面编辑信息后,可以先对第二电子设备进行权限校验,当权限校验通过后,再对桌面编辑信息进行合法性校验,具体可以 是对桌面编辑信息的数据结构进行合法性校验,当合法性校验通过后,存储桌面编辑 信息,并根据桌面编辑信息进行对桌面进行调整,例如更换壁纸、添加或删除窗口小 工具、修改桌面切换效果、设置桌面布局及修改应用图标中的任意一种或者多种;窗 口管理器则桌面编辑信息重新绘制各个窗口相应的界面,并将绘制好的界面发送给内 核层的显示驱动,由显示驱动调用屏幕进行显示,从而实现跨设备桌面的调整。In the specific implementation process, when the second electronic device receives the desktop editing information, it can first verify the authority of the second electronic device, and after the authority verification is passed, it can then verify the legality of the desktop editing information. Specifically, it can be Verify the legality of the data structure of the desktop editing information. After the legality verification is passed, the desktop editing information is stored, and the desktop is adjusted according to the desktop editing information, such as changing the wallpaper, adding or deleting window widgets, and modifying the desktop. Any one or more of switching effects, setting the desktop layout, and modifying application icons; the window manager edits the information on the desktop to redraw the corresponding interface of each window, and sends the drawn interface to the display driver of the kernel layer, which is controlled by the display The driver invokes the screen for display, so as to realize the adjustment of the cross-device desktop.

应该知道的是,在本发明实施例中,第二电子设备接收到桌面编辑信息后,对第一电子设备进行权限校验和/或对桌面编辑信息的数据结构进行合法性校验可以是非 必要的。It should be known that, in this embodiment of the present invention, after the second electronic device receives the desktop editing information, it may not be necessary to check the authority of the first electronic device and/or check the legality of the data structure of the desktop editing information. of.

图7i示出了第二电子设备通过第一电子设备的跨桌面编辑后的一种桌面示意图,如图7i所示,经过用户在第一电子设备上对第二电子设备的壁纸进行设置后,第二电 子设备的桌面20的壁纸由图6所示的壁纸更改为图7i所示的壁纸。Fig. 7i shows a schematic diagram of the desktop of the second electronic device after cross-desktop editing of the first electronic device. As shown in Fig. 7i, after the user sets the wallpaper of the second electronic device on the first electronic device, The wallpaper of the desktop 20 of the second electronic device is changed from the wallpaper shown in FIG. 6 to the wallpaper shown in FIG. 7i.

可以理解,本发明实施例通过跨设备桌面管理的方法,可以实现电子设备之间的跨桌面管理,可以远程对其它电子设备的桌面进行编辑,形成了更有效率、更为便捷 的用户体验。It can be understood that the embodiment of the present invention can realize cross-desktop management between electronic devices through the cross-device desktop management method, and can remotely edit the desktops of other electronic devices, forming a more efficient and convenient user experience.

图9为本申请提供的一种跨设备桌面管理方法的又一流程图;图10为本申请提供的一种跨设备桌面管理方法的又一交互流程图。FIG. 9 is another flowchart of a cross-device desktop management method provided by the present application; FIG. 10 is another interactive flowchart of a cross-device desktop management method provided by the present application.

参见图9及图10,本申请提供的一种跨设备桌面管理方法,可以包括如下步骤:Referring to FIG. 9 and FIG. 10, a cross-device desktop management method provided by the present application may include the following steps:

步骤S201:第一电子设备显示第一应用图标,第一应用图标为第一应用程序对应的图标;Step S201: The first electronic device displays a first application icon, where the first application icon is an icon corresponding to the first application program;

步骤S202:接收用户对第一应用图标的第一预定操作,并基于用户对第一应用图标的第一预定操作,将第一应用程序的应用程序信息发送给第二电子设备;Step S202: receiving the user's first predetermined operation on the first application icon, and sending the application program information of the first application program to the second electronic device based on the user's first predetermined operation on the first application icon;

步骤S203:第二电子设备接收到第一应用程序的应用程序信息后,以待下载状态显示第一应用图标,或者下载并安装第一应用程序,以已安装状态显示第一应用图标。Step S203: After receiving the application program information of the first application program, the second electronic device displays the first application icon in a state to be downloaded, or downloads and installs the first application program, and displays the first application icon in an installed state.

在本发明实施例中,第一应用程序的应用程序信息可以包括但不限于:第一应用程序的安装信息和/或第一应用程序的界面调用信息。其中,第二电子设备接收到第一 应用程序的界面调用信息后可以根据界面调用信息在桌面上显示第一应用程序对应的 第一应用图标,其中,第一应用图标可以根据第一应用程序是否安装呈现不同的状态, 如果第一应用程序未安装,第一应用图标可以呈现待下载状态,如果第一应用程序已 安装,第一应用图标可以呈现已安装状态,第一应用程序的安装信息包括第一应用程 序的安装链接或者安装包。In this embodiment of the present invention, the application information of the first application may include but not limited to: installation information of the first application and/or interface call information of the first application. Wherein, after the second electronic device receives the interface call information of the first application program, it can display the first application icon corresponding to the first application program on the desktop according to the interface call information, wherein the first application icon can be based on whether the first application program The installation presents different states. If the first application program is not installed, the first application icon may present a state to be downloaded. If the first application program is installed, the first application icon may present an installed state. The installation information of the first application program includes An installation link or an installation package of the first application program.

可以理解,上述实施例提供的跨设备桌面管理方法能够实现设备之间的应用程序分享,方便快捷,提升用户使用体验。It can be understood that the cross-device desktop management method provided in the above embodiment can realize the sharing of application programs between devices, which is convenient and fast, and improves user experience.

针对步骤S201:第一电子设备显示第一应用图标,第一应用图标为第一应用程序对应的图标。For step S201: the first electronic device displays a first application icon, where the first application icon is an icon corresponding to the first application program.

其中,第一应用程序为第一电子设备已安装的应用程序,并显示于第一电子设备的桌面。Wherein, the first application program is an application program installed on the first electronic device, and is displayed on the desktop of the first electronic device.

作为一种示例,在执行步骤S202之前,用户可以通过在第一电子设备的任一桌面上执行第一预设操作,使得第一电子设备进入桌面编辑模式,当手机进入桌面编辑模 式后,进入桌面编辑界面,通过桌面编辑界面显示待选电子设备的选项图标(可以参 见图7a-图7c,图8a-图8b),第一预定操作、桌面编辑界面及待选电子设备的选项图 标的实现过程可以参照上文的对应内容,为避免重复,此处不再一一赘述。As an example, before step S202 is performed, the user can execute the first preset operation on any desktop of the first electronic device, so that the first electronic device enters the desktop editing mode, and when the mobile phone enters the desktop editing mode, enter The desktop editing interface displays the option icon of the electronic device to be selected through the desktop editing interface (see Fig. 7a-Fig. 7c, Fig. 8a-Fig. 8b), the realization of the first predetermined operation, the desktop editing interface and the option icon of the electronic device to be selected You can refer to the corresponding content above for the process, and to avoid repetition, details will not be repeated here.

针对步骤S202:接收用户对第一应用图标的第一预定操作,并基于用户对第一应用图标的第一预定操作,将第一应用程序的应用程序信息发送给第二电子设备;For step S202: receiving the user's first predetermined operation on the first application icon, and sending the application program information of the first application program to the second electronic device based on the user's first predetermined operation on the first application icon;

请参阅图11,第二电子设备为手机1为例,用户对第一应用图标的第一预定操作可以为:用户选定第一应用图标h,并通过长按的方式将第一应用图标h拖动至第二 区域10B处第二电子设备对应的选项图标的对应区域内。如图12所示,将第一应用图 标h拖动至手机1对应的选项图标的上方,然后用户再松开第一应用图标h,从而触 发第一电子设备将第一应用图标h对应的应用程序信息发送给第二电子设备,实现了 将第一电子设备的第一应用程序h分享给第二电子设备。其中,用户选定的第一应用 图标h的数量可以为一个或者多个。Please refer to FIG. 11 , the second electronic device is mobile phone 1 as an example, the user’s first predetermined operation on the first application icon can be: the user selects the first application icon h, and long presses the first application icon h Drag it to the corresponding area of the option icon corresponding to the second electronic device at the second area 10B. As shown in Figure 12, the first application icon h is dragged to the top of the option icon corresponding to the mobile phone 1, and then the user releases the first application icon h, thereby triggering the first electronic device to open the application corresponding to the first application icon h The program information is sent to the second electronic device, so that the first application program h of the first electronic device is shared with the second electronic device. Wherein, the quantity of the first application icon h selected by the user can be one or more.

针对步骤S203:第二电子设备接收到第一应用程序的应用程序信息后,以待下载状态显示第一应用图标,或者下载并安装第一应用程序,以已安装状态显示第一应用 图标。For step S203: After receiving the application information of the first application, the second electronic device displays the first application icon in a waiting state, or downloads and installs the first application, and displays the first application icon in an installed state.

图13为本申请提供的第二电子设备的又一种示例性的桌面示意图,图14为本申请提供的第二电子设备的又一种示例性的桌面示意图,图13示出了第一应用图标h以 待下载状态显示第一应用图标的一种示例,图14示出了第一应用图标h以已安装状态 显示第一应用图标的一种示例。Fig. 13 is another exemplary desktop schematic diagram of the second electronic device provided by the present application, Fig. 14 is another exemplary desktop schematic diagram of the second electronic device provided by the present application, and Fig. 13 shows the first application An example in which the icon h displays the first application icon in the state to be downloaded, and FIG. 14 shows an example in which the first application icon h displays the first application icon in the installed state.

在本发明实施例中,第二电子设备接收到第一应用程序的应用程序信息后,以待下载状态显示第一应用图标,或者下载并安装第一应用程序,以已安装状态显示第一 应用图标,可以包括:In the embodiment of the present invention, after the second electronic device receives the application program information of the first application program, it displays the first application icon in the state to be downloaded, or downloads and installs the first application program, and displays the first application program in the installed state. Icons, which can include:

步骤S2021:第二电子设备接收到第一应用图标对应的应用程序信息后,判断是否已安装第一应用程序;如果是,则执行步骤S2022,如果否,则执行步骤S2023。Step S2021: After receiving the application program information corresponding to the first application icon, the second electronic device determines whether the first application program has been installed; if yes, execute step S2022; if not, execute step S2023.

步骤S2022:第二电子设备向第一电子设备发送第一消息,第一消息用于表示第一电子设备已安装有第一应用程序,然后执行步骤2024。Step S2022: the second electronic device sends a first message to the first electronic device, the first message is used to indicate that the first electronic device has installed the first application program, and then step 2024 is executed.

步骤S2023:第二电子设备以待下载状态显示第一应用图标,或者根据第一应用程序的应用程序信息下载并安装第一应用程序,以已安装状态显示第一应用图标。Step S2023: The second electronic device displays the first application icon in a state to be downloaded, or downloads and installs the first application program according to the application information of the first application program, and displays the first application icon in an installed state.

步骤S2024:第一电子设备根据第一消息生成提示信息,提示信息用于提示用于第一应用程序分享失败。Step S2024: The first electronic device generates prompt information according to the first message, and the prompt information is used to prompt that the sharing of the first application fails.

在一种具体实现过程中,当第二电子设备接收到第一应用程序的应用程序信息后, 可以先对第一电子设备进行权限校验,当权限校验通过后,再确定是否已安装第一应用程序;如果确定未安装第一应用程序,可以再对第一应用程序的应用程序信息的数 据结构进行合法性校验,当合法性校验通过后,根据第一应用程序的应用程序信息以 待下载状态显示第一应用图标,或者直接根据第一应用程序的应用程序信息下载并安 装第一应用程序,然后以已安装状态显示第一应用图标。In a specific implementation process, when the second electronic device receives the application program information of the first application program, it may first perform permission verification on the first electronic device, and then determine whether the second electronic device has been installed after the permission verification is passed. An application program; if it is determined that the first application program is not installed, the data structure of the application program information of the first application program can be checked for validity, and when the validity check is passed, the application program information of the first application program The first application icon is displayed in a state to be downloaded, or the first application is directly downloaded and installed according to the application information of the first application, and then the first application icon is displayed in an installed state.

其中,如果第二电子设备对第一电子设备进行权限校验未通过,或者第二电子设备已安装第一应用程序,或者第一应用程序的应用程序信息的数据结构进行合法性校 验未通过时,第二电子设备可以向第一电子设备返回第一消息,第一消息用于提示第 一电子设备:第一电子设备权限校验未通过,或者第二电子设备已安装第一应用程序, 或者第一应用程序的应用程序信息的数据结构错误等,以达到通知第一电子设备第一 应用程序跨设备分享失败的目的。第二电子设备接收到第一消息后,生成提示信息, 以提示用户第一应用程序分享失败。Wherein, if the second electronic device fails to pass the authority verification of the first electronic device, or the second electronic device has installed the first application program, or the data structure of the application program information of the first application program fails to pass the legality verification , the second electronic device may return a first message to the first electronic device, and the first message is used to prompt the first electronic device that: the first electronic device has failed the authority verification, or the second electronic device has installed the first application program, Or the data structure of the application program information of the first application program is wrong, etc., so as to achieve the purpose of notifying the first electronic device that the cross-device sharing of the first application program fails. After receiving the first message, the second electronic device generates prompt information to prompt the user that the sharing of the first application fails.

应该理解,在本发明实施例中,第二电子设备接收到第一应用图标对应的应用程序信息后,对第一电子设备进行权限校验和/或第一应用程序的应用程序信息的数据结 构进行合法性校验可以是非必要的。It should be understood that, in the embodiment of the present invention, after receiving the application program information corresponding to the first application icon, the second electronic device performs permission verification on the first electronic device and/or the data structure of the application program information of the first application program Validity checks may be optional.

其中,针对第二电子设备以待下载状态显示第一应用图标的情况,第二电子设备可以向用户询问是否根据应用程序信息对第一应用程序进行下载,当用户许可后且在 连接网络的情况下可以对第一应用程序进行下载并安装,如果应用程序信息包括有第 一应用程序的安装包,则可在用户许可后,直接根据安装包安装第一应用程序。Among them, for the situation where the second electronic device displays the first application icon in the state of waiting for download, the second electronic device can ask the user whether to download the first application program according to the application program information. The first application program can be downloaded and installed, and if the application program information includes the installation package of the first application program, the first application program can be directly installed according to the installation package after the user permits.

其中,针对第二电子设备以已安装状态显示第一应用图标的情况,第二电子设备可以无需经过用户许可,在有网络连接的情况下对第一应用程序进行下载并安装;如 果应用程序信息包括有第一应用程序的安装包,则也可无需网络连接,直接根据安装 包下载并安装第一应用程序。Among them, for the situation that the second electronic device displays the first application icon in the installed state, the second electronic device can download and install the first application program when there is a network connection without the user's permission; if the application program information If the installation package including the first application program is included, the first application program may be directly downloaded and installed according to the installation package without a network connection.

在本发明实施例中,跨设备桌面管理方法还可以包括:In the embodiment of the present invention, the cross-device desktop management method may also include:

步骤S204:第一电子设备接收第二电子设备的第二消息,第二消息用于表示第一电子设备已成功分享第一应用程序给第二电子设备;Step S204: the first electronic device receives a second message from the second electronic device, the second message is used to indicate that the first electronic device has successfully shared the first application with the second electronic device;

步骤S205:第一电子设备卸载第一应用程序。Step S205: the first electronic device uninstalls the first application program.

可以理解,本发明实施例通过在将用户选定的第一应用程序成功分享给第二电子设备之后,将第一电子设备上的第一应用程序删除,可以适用于用户不需要同时在第 一电子设备和第二电子设备使用第一应用程序的场景,从而减少对第一电子设备内存 空间的使用。It can be understood that in the embodiment of the present invention, after the first application program selected by the user is successfully shared with the second electronic device, the first application program on the first electronic device is deleted, which can be applied to users who do not need to be on the first electronic device at the same time. The electronic device and the second electronic device use the scene of the first application program, thereby reducing the use of the memory space of the first electronic device.

在本发明其它实施方式中,实现对应用程序的分享不限于桌面编辑模式,例如,本申请实施例还可以设置“跨设备一键分享”的功能,从而实现应用程序的分享。In other embodiments of the present invention, the sharing of applications is not limited to the desktop editing mode. For example, the embodiment of the present application can also set the function of "one-key sharing across devices", so as to realize the sharing of applications.

图15为本申请提供的一种跨设备桌面管理方法的又一流程图;图16为本申请提供的一种跨设备桌面管理方法的又一交互流程图。FIG. 15 is another flowchart of a cross-device desktop management method provided by the present application; FIG. 16 is another interactive flowchart of a cross-device desktop management method provided by the present application.

参见图15及图16,本申请提供的一种跨设备桌面管理方法,可以包括如下步骤:Referring to Figure 15 and Figure 16, a cross-device desktop management method provided by the present application may include the following steps:

步骤S301:第一电子设备显示第一应用图标,第一应用图标为第一应用程序对应的图标;Step S301: the first electronic device displays a first application icon, where the first application icon is an icon corresponding to the first application program;

步骤S302:接收用户对第一应用图标的第二预定操作,并基于用户对第一应用图标的第二预定操作,向第二电子设备发送访问请求,访问请求用于请求访问第二电子 设备的桌面信息;Step S302: receiving the user's second predetermined operation on the first application icon, and based on the user's second predetermined operation on the first application icon, sending an access request to the second electronic device, the access request is used to request access to the second electronic device's desktop information;

步骤S303:第二电子设备接收第一电子设备的访问请求,并基于访问请求发送桌面信息给第一电子设备;Step S303: the second electronic device receives the access request from the first electronic device, and sends desktop information to the first electronic device based on the access request;

步骤S304:第一电子设备接收第二电子设备发送的桌面信息,以及根据桌面信息显示第二电子设备的至少一个桌面;Step S304: the first electronic device receives the desktop information sent by the second electronic device, and displays at least one desktop of the second electronic device according to the desktop information;

步骤S305:第一电子设备接收用户对第一应用图标的移动操作,移动操作用于将第一应用图标移动至第二电子设备的目标桌面,或者用于将第一应用图标移动至第二 电子设备的目标桌面的目标区域;Step S305: The first electronic device receives the user's move operation on the first application icon, and the move operation is used to move the first application icon to the target desktop of the second electronic device, or to move the first application icon to the second electronic device. the target area of the device's target desktop;

步骤S306:第一电子设备根据移动操作生成位置信息,将第一应用程序的应用程序信息以及位置信息发送给第二电子设备;Step S306: the first electronic device generates location information according to the moving operation, and sends the application information and location information of the first application to the second electronic device;

步骤S307:第二电子设备接收第一应用程序的应用程序信息以及位置信息,根据目标位置信息确定目标桌面,或者确定目标桌面及目标桌面的目标区域,第二电子设 备以待下载状态在目标桌面显示第一应用图标或者在目标桌面的目标区域内显示第一 应用图标,或者,下载并安装第一应用程序,然后以已安装状态在目标桌面显示第一 应用图标或者在目标桌面的目标区域显示第一应用图标。Step S307: The second electronic device receives the application program information and location information of the first application program, determines the target desktop according to the target location information, or determines the target desktop and the target area of the target desktop, and the second electronic device is in the state of waiting for downloading on the target desktop Display the first application icon or display the first application icon in the target area of the target desktop, or download and install the first application program, and then display the first application icon on the target desktop or in the target area of the target desktop in an installed state First app icon.

可以理解,本发明实施例提供的跨桌面管理方法,用于可以通过预定手势访问并展示其它电子设备的桌面,实现将应用图标在第二电子设备中所显示的桌面位置进行 指定,为用户提供了跨设备应用分享的精细化体验,实现了不同应用场景下的跨设备 应用分享。It can be understood that the cross-desktop management method provided by the embodiment of the present invention is used to access and display the desktops of other electronic devices through predetermined gestures, so as to designate the position of the desktop displayed by the application icon on the second electronic device, and provide users with It provides a refined experience of cross-device application sharing, and realizes cross-device application sharing in different application scenarios.

在本发明实施例中,第一应用程序的应用程序信息可以包括但不限于:第一应用程序的安装信息和/或第一应用程序的界面调用信息。其中,第二电子设备接收到第一 应用程序的界面调用信息后可以根据界面调用信息在桌面上显示第一应用程序对应的 第一应用图标(第一应用图标根据第一应用程序是否安装呈现不同的状态,如果第一 应用程序未安装,第一应用图标可以呈现待下载状态,如果第一应用程序已被第二电 子设备安装,第一应用图标可以呈现已安装状态),第一应用程序的安装信息包括第 一应用程序的安装链接或者安装包。In this embodiment of the present invention, the application information of the first application may include but not limited to: installation information of the first application and/or interface call information of the first application. Wherein, after the second electronic device receives the interface call information of the first application program, it can display the first application icon corresponding to the first application program on the desktop according to the interface call information (the first application icon is displayed differently according to whether the first application program is installed or not). state, if the first application program is not installed, the first application icon may present a state to be downloaded, if the first application program has been installed by the second electronic device, the first application icon may present an installed state), the first application program The installation information includes an installation link or an installation package of the first application program.

针对步骤S301:第一电子设备显示第一应用图标,第一应用图标为第一应用程序对应的图标。For step S301: the first electronic device displays a first application icon, where the first application icon is an icon corresponding to the first application program.

其中,第一应用程序为第一电子设备已安装的应用程序,并显示在第一电子设备的桌面。Wherein, the first application program is an application program installed on the first electronic device, and is displayed on the desktop of the first electronic device.

作为一种示例,在执行步骤S302之前,用户可以通过在第一电子设备的任一桌面上执行第一预设操作,使得第一电子设备进入桌面编辑模式,当手机进入桌面编辑模 式后,进入桌面编辑界面,通过桌面编辑界面显示待选电子设备的选项图标(可以参 见图7a-图7c,图8a-图8b),第一预定操作、桌面编辑界面及待选电子设备的选项图 标的实现过程可以参照上文的对应内容,为避免重复,此处不再一一赘述。As an example, before step S302 is performed, the user can execute the first preset operation on any desktop of the first electronic device, so that the first electronic device enters the desktop editing mode, and when the mobile phone enters the desktop editing mode, enter The desktop editing interface displays the option icon of the electronic device to be selected through the desktop editing interface (see Fig. 7a-Fig. 7c, Fig. 8a-Fig. 8b), the realization of the first predetermined operation, the desktop editing interface and the option icon of the electronic device to be selected You can refer to the corresponding content above for the process, and to avoid repetition, details will not be repeated here.

针对步骤S302:接收用户对第一应用图标的第二预定操作,并基于用户对第一应用图标的第二预定操作,向第二电子设备发送访问请求,访问请求用于请求访问第二 电子设备的桌面信息;For step S302: receiving the user's second predetermined operation on the first application icon, and based on the user's second predetermined operation on the first application icon, sending an access request to the second electronic device, the access request is used to request access to the second electronic device desktop information;

请参阅图11,第二电子设备为手机1为例,用户对第一应用图标的第二预定操作可以为:用户选定第一应用图标h,然后通过长按的方式将第一应用图标h拖动至第 二区域10B处第二电子设备对应的选项图标的对应区域内,然后如图12所示,继续以 长按的方式在第二区域10B处第二电子设备对应的选项图标的对应区域内停留,当停 留的时间到达第一预设时长时,触发第一电子设备向第二电子设备发送访问请求。其 中,第一预设时长例如可以为1秒、2秒、3秒等等。用户选定的第一应用图标h的数 量可以为一个或者多个。Please refer to FIG. 11 , the second electronic device is mobile phone 1 as an example, the user’s second predetermined operation on the first application icon can be: the user selects the first application icon h, and then long presses the first application icon h Drag it to the corresponding area of the option icon corresponding to the second electronic device at the second area 10B, and then, as shown in FIG. Staying in the area, when the staying time reaches the first preset duration, the first electronic device is triggered to send an access request to the second electronic device. Wherein, the first preset duration can be, for example, 1 second, 2 seconds, 3 seconds and so on. The quantity of the first application icon h selected by the user can be one or more.

步骤S303和步骤S304分别与上文中的步骤S102和步骤S103相同,步骤S303和 步骤S304的实现过程可以参考上文中的对应描述,为避免重复,此处不再一一赘述。Step S303 and step S304 are respectively the same as step S102 and step S103 above, and the realization process of step S303 and step S304 can refer to the corresponding description above, in order to avoid repetition, it is not repeated here.

其中,针对步骤S304,在本发明实施例中,当第一电子设备接收第二电子设备发送的桌面信息后,还可以根据第二电子设备的桌面信息确定第二电子设备是否已安装 第一应用程序,其中,第二电子设备的桌面信息包括第二电子设备的应用程序信息; 如果第二电子设备未安装第一应用程序,则第一电子设备显示第二电子设备的桌面。 如果第二电子设备已安装第一应用程序,则生成提示信息,以提示用户第二电子设备 已安装有第一应用程序。当然,上述过程可以是非必要的,第一电子设备可以直接根 据第二电子设备发送的桌面信息显示第二电子设备的桌面。Wherein, for step S304, in the embodiment of the present invention, after the first electronic device receives the desktop information sent by the second electronic device, it may also determine whether the second electronic device has installed the first application or not according to the desktop information of the second electronic device. program, wherein the desktop information of the second electronic device includes application program information of the second electronic device; if the first application program is not installed on the second electronic device, the first electronic device displays the desktop of the second electronic device. If the second electronic device has installed the first application program, then generate prompt information to prompt the user that the second electronic device has the first application program installed. Of course, the above process may be unnecessary, and the first electronic device may directly display the desktop of the second electronic device according to the desktop information sent by the second electronic device.

针对步骤S305:第一电子设备接收用户对第一应用图标的移动操作,移动操作用于将第一应用图标移动至第二电子设备的目标桌面,或者用于将第一应用图标移动至 第二电子设备的目标桌面的目标区域。For step S305: the first electronic device receives the user's move operation on the first application icon, and the move operation is used to move the first application icon to the target desktop of the second electronic device, or to move the first application icon to the second The target area of the target desktop of the electronic device.

其中,第二预定操作和移动操作可以是一个连续的操作。Wherein, the second predetermined operation and the moving operation may be a continuous operation.

如图17所示,作为一种示例,移动操作可以为:当第一电子设备的第一区域10A 显示第二电子设备的桌面后,用户可以继续通过长按的方式将第一应用图标移动至第 一区域10A所显示第二电子设备的桌面。通常情况下,第一区域10A只显示第二电子 设备的一个桌面的缩略图,例如页面10a,当第一区域10A当前所显示的第二电子设 备的桌面为用户期望的目标桌面时,用户可以继续通过长按的方式将第一应用图标移 动至第一区域10A当前显示第二电子设备的桌面;如果用户想要选择第二电子设备的 其它桌面,可以通过长按的方式将第一应用图标移动至页面10a的左侧或右侧并停留, 当停留到达第二预设时长时,第一电子设备的第一区域10A可以切换至第二电子设备 的其它桌面的缩略图,从而实现对目标桌面的选择。其中,第二预设时长例如可以为 1秒、2秒、3秒等等。As shown in FIG. 17 , as an example, the moving operation can be: after the first area 10A of the first electronic device displays the desktop of the second electronic device, the user can continue to move the first application icon to the The desktop of the second electronic device is displayed in the first area 10A. Usually, the first area 10A only displays a thumbnail of a desktop of the second electronic device, such as page 10a. When the desktop of the second electronic device currently displayed in the first area 10A is the target desktop desired by the user, the user can Continue to move the first application icon to the desktop of the second electronic device currently displayed in the first area 10A by long pressing; if the user wants to select other desktops of the second electronic device, the first application icon can be moved by long pressing. Move to the left or right side of the page 10a and stay there. When the stay reaches the second preset duration, the first area 10A of the first electronic device can switch to thumbnails of other desktops of the second electronic device, thereby achieving the target Choice of desktop. Wherein, the second preset duration can be, for example, 1 second, 2 seconds, 3 seconds and so on.

在本发明实施例中,用户不仅可以指定分享后第一应用图标在第二电子设备中所显示的桌面,还可以对第一应用图标在第二电子设备中所显示的桌面位置进行指定, 用户可以通过长按的方式将第一应用图标拖置于所要选择的目标桌面的目标(期望) 区域,从而实现对目标桌面和目标桌面的目标区域的选择,具体可参见图17。In the embodiment of the present invention, the user can not only designate the desktop displayed on the second electronic device by the first application icon after sharing, but also designate the desktop position displayed on the second electronic device by the first application icon. The first application icon can be dragged to the target (desired) area of the target desktop to be selected by long pressing, so as to realize the selection of the target desktop and the target area of the target desktop, see FIG. 17 for details.

针对步骤S306:第一电子设备根据移动操作生成位置信息,将第一应用程序的应用程序信息以及位置信息发送给第二电子设备;For step S306: the first electronic device generates location information according to the moving operation, and sends the application information and location information of the first application to the second electronic device;

如图18所示,作为一种示例,当用户将第一应用图标移动至第二电子设备的目标桌面,或者用于将第一应用图标移动至第二电子设备的目标桌面的目标区域后,点击 或者按压图18的完成控件,从而触发第一电子设备根据用户对第一应用图标的移动操 作生成位置信息,并将位置信息发送至第二电子设备。位置信息包括用户对目标桌面 的选择信息或者用户对目标桌面和目标桌面的目标区域的选择信息,其中,目标桌面 的选择信息可以是目标桌面的标识(例如桌面编号等),目标桌面的目标区域的选择 信息可以是目标区域在目标桌面的坐标位置信息。As shown in FIG. 18, as an example, when the user moves the first application icon to the target desktop of the second electronic device, or is used to move the first application icon to the target area of the target desktop of the second electronic device, Click or press the completion control in FIG. 18 , thereby triggering the first electronic device to generate location information according to the user's movement operation on the first application icon, and send the location information to the second electronic device. The location information includes the user's selection information on the target desktop or the user's selection information on the target desktop and the target area of the target desktop, wherein the selection information of the target desktop can be an identification of the target desktop (for example, a desktop number, etc.), The selection information may be coordinate position information of the target area on the target desktop.

需要知道的是,当用户将第一应用图标移动至第二电子设备的目标桌面,或者用于将第一应用图标移动至第二电子设备的目标桌面的目标区域后,还可以对第二电子 设备的桌面进行其它的桌面编辑操作,例如上文中的更换壁纸、添加或删除窗口小工 具、修改应用图标等桌面编辑操作;用户完成桌面编辑操作后,可以通过点击或者按 压图18的完成控件,从而生成桌面编辑信息至第二电子设备,其中,桌面编辑信息至 少包括位置信息和第一应用程序的应用程序信息。It should be known that after the user moves the first application icon to the target desktop of the second electronic device, or is used to move the first application icon to the target area of the target desktop of the second electronic device, the second electronic Perform other desktop editing operations on the desktop of the device, such as changing the wallpaper, adding or deleting widgets, modifying application icons and other desktop editing operations above; after the user completes the desktop editing operation, he can click or press the completion control in Figure 18, Therefore, desktop editing information is generated to the second electronic device, wherein the desktop editing information includes at least location information and application program information of the first application program.

还需要说明的是,此处以点击完成按钮后才向第二电子设备发送应用程序信息和位置信息为例进行的说明,在本发明其它实施方式中,也可以是用户在第一电子设备 上将第一应用图标拖置于所要选择的目标桌面的目标(期望)区域后,无需点击完成 按钮触发,第一电子设备即时发送第一应用程序的应用程序信息给第二电子设备。如 果用户还需要对第二电子设备的桌面进行其它的桌面编辑操作,同样的,也可以是根 据用户的桌面编辑操作即时生成桌面编辑信息至第二电子设备,第二电子设备根据桌 面编辑信息对其桌面设置进行同步更新。It should also be noted that the description here takes the example of sending the application program information and location information to the second electronic device after clicking the Finish button. In other embodiments of the present invention, the user may also set After the first application icon is dragged and placed on the target (desired) area of the target desktop to be selected, the first electronic device immediately sends the application program information of the first application program to the second electronic device without clicking the finish button to trigger. If the user also needs to perform other desktop editing operations on the desktop of the second electronic device, similarly, it can also generate desktop editing information to the second electronic device in real time according to the user's desktop editing operation, and the second electronic device can edit the desktop according to the desktop editing information. Its desktop settings are updated synchronously.

针对步骤S307:第二电子设备接收第一应用程序的应用程序信息以及位置信息,根据目标位置信息确定目标桌面或者确定目标桌面及目标桌面的目标区域,第二电子 设备以待下载状态在目标桌面显示第一应用图标或者在目标桌面的目标区域内显示第 一应用图标,或者,下载并安装第一应用程序,然后以已安装状态在目标桌面显示第 一应用图标或者在目标桌面的目标区域显示第一应用图标。For step S307: the second electronic device receives the application program information and location information of the first application program, determines the target desktop or determines the target desktop and the target area of the target desktop according to the target location information, and the second electronic device is in the state of waiting for downloading on the target desktop Display the first application icon or display the first application icon in the target area of the target desktop, or download and install the first application program, and then display the first application icon on the target desktop or in the target area of the target desktop in an installed state First app icon.

其中,图19为本申请提供的第二电子设备的又一种示例性的桌面示意图,图20 为本申请提供的第二电子设备的又一种示例性的桌面示意图,图19示出了第一应用图 标h以待下载状态在目标桌面的目标区域显示的一种示例,图20示出了第一应用图标 h以已安装状态在目标桌面的目标区域显示的一种示例。Wherein, FIG. 19 is another exemplary desktop schematic diagram of the second electronic device provided by the present application, and FIG. 20 is another exemplary desktop schematic diagram of the second electronic device provided by the present application. An example of displaying an application icon h in a target area of a target desktop in a state to be downloaded, FIG. 20 shows an example of displaying a first application icon h in a target area of a target desktop in an installed state.

在一种具体实现过程中,当第二电子设备接收到第一应用程序的应用程序信息和位置信息后,可以先对第一电子设备进行权限校验,当权限校验通过后,再确定是否 已安装第一应用程序;如果确定未安装第一应用程序,可以再对第一应用程序的应用 程序信息和位置信息的数据结构进行合法性校验,当合法性校验通过后,根据第一应 用程序的应用程序信息以待下载状态在目标桌面显示第一应用图标或者在目标桌面的 目标区域显示第一应用图标,或者直接根据第一应用程序的应用程序信息下载并安装 第一应用程序,然后以已安装状态在目标桌面显示第一应用图标或者在目标桌面的目 标区域显示第一应用图标。In a specific implementation process, when the second electronic device receives the application program information and location information of the first application program, it can first perform permission verification on the first electronic device, and then determine whether to The first application program has been installed; if it is determined that the first application program is not installed, the validity check can be performed on the data structure of the application program information and location information of the first application program. The application program information of the application program displays the first application program on the target desktop or displays the first application program icon in the target area of the target desktop in a state to be downloaded, or directly downloads and installs the first application program according to the application program information of the first application program, Then display the first application icon on the target desktop or display the first application icon on the target area of the target desktop in the installed state.

其中,如果第二电子设备对第一电子设备进行权限校验未通过,或者第二电子设备已安装第一应用程序,或者第一应用程序的应用程序信息和/或位置信息的数据结构 进行合法性校验未通过时,第二电子设备可以向第一电子设备返回第一消息,第一消 息用于提示第一电子设备:第一电子设备权限校验未通过,或者第二电子设备已安装 第一应用程序,或者第一应用程序的应用程序信息和/或位置信息的数据结构错误等, 以达到通知第一电子设备第一应用程序跨设备分享失败的目的。第二电子设备接收到 第一消息后,生成提示信息,以提示用户第一应用程序分享失败。Wherein, if the second electronic device fails to pass the verification of the authority of the first electronic device, or the second electronic device has installed the first application program, or the data structure of the application program information and/or location information of the first application program is legal When the identity check fails, the second electronic device can return a first message to the first electronic device, and the first message is used to prompt the first electronic device: the first electronic device has failed the permission check, or the second electronic device has been installed The first application program, or the data structure of the application program information and/or location information of the first application program is wrong, etc., so as to achieve the purpose of notifying the first electronic device of the cross-device sharing failure of the first application program. After receiving the first message, the second electronic device generates prompt information to prompt the user that the sharing of the first application fails.

在本发明实施例中,跨设备桌面管理方法还可以包括:In the embodiment of the present invention, the cross-device desktop management method may also include:

步骤S308:第一电子设备接收第二电子设备的第三消息,第三消息用于表征第一电子设备已成功分享第一应用程序给第二电子设备;Step S308: the first electronic device receives a third message from the second electronic device, the third message is used to indicate that the first electronic device has successfully shared the first application program with the second electronic device;

步骤S309:第一电子设备卸载第一应用程序。Step S309: the first electronic device uninstalls the first application program.

应该知道的是,在本发明实施例中,第二电子设备接收到第一应用图标对应的应用程序信息和位置信息后,对第一电子设备进行权限校验和/或第一应用程序的应用程 序信息和位置信息的数据结构进行合法性校验可以是非必要的。It should be known that, in this embodiment of the present invention, after receiving the application program information and location information corresponding to the first application icon, the second electronic device performs permission verification and/or application of the first application program on the first electronic device. It may not be necessary to check the validity of the data structures of the program information and the location information.

可以理解,本发明实施例通过在将用户选定的第一应用程序成功分享给第二电子设备之后,将第一电子设备上的第一应用程序删除,可以适用于用户不需要同时在第 一电子设备和第二电子设备使用第一应用程序的场景,从而减少对第一电子设备内存 空间的使用。It can be understood that in the embodiment of the present invention, after the first application program selected by the user is successfully shared with the second electronic device, the first application program on the first electronic device is deleted, which can be applied to users who do not need to be on the first electronic device at the same time. The electronic device and the second electronic device use the scene of the first application program, thereby reducing the use of the memory space of the first electronic device.

请参阅图21,本发明实施例还提供一种第一电子设备400,第一电子设备400包括:Please refer to FIG. 21 , the embodiment of the present invention also provides a first electronic device 400, and the first electronic device 400 includes:

第一发送模块410,用于向第二电子设备发送访问请求,访问请求用于请求访问第二电子设备的桌面信息;The first sending module 410 is configured to send an access request to the second electronic device, where the access request is used to request access to the desktop information of the second electronic device;

第一接收模块420,用于接收第二电子设备发送的桌面信息;The first receiving module 420 is configured to receive the desktop information sent by the second electronic device;

第一显示模块430,用于根据桌面信息显示第二电子设备的桌面;The first display module 430 is configured to display the desktop of the second electronic device according to the desktop information;

第二接收模块440,用于接收用户对第二电子设备的桌面的编辑操作,其中,桌 面编辑信息用于编辑第二设备的桌面;The second receiving module 440 is configured to receive the user's editing operation on the desktop of the second electronic device, wherein the desktop editing information is used to edit the desktop of the second device;

第一生成模块450,用于根据编辑操作生成对第二电子设备的桌面编辑信息,其中,桌面编辑信息用于编辑第二设备的桌面;及The first generating module 450 is configured to generate desktop editing information for the second electronic device according to an editing operation, wherein the desktop editing information is used to edit the desktop of the second device; and

第二发送模块460,用于向第二电子设备发送桌面编辑信息。The second sending module 460 is configured to send the desktop editing information to the second electronic device.

在一种可行的实施方式中,第一发送模块410包括:In a feasible implementation manner, the first sending module 410 includes:

第一显示单元,用于显示桌面编辑界面,桌面编辑界面包括N个选项图标,N个 选项图标分别对应N个待选电子设备,N个选项图标包括与第二电子设备对应的第一 选项图标,N大于或等于1;及The first display unit is used to display the desktop editing interface, the desktop editing interface includes N option icons, the N option icons correspond to N electronic devices to be selected, and the N option icons include the first option icon corresponding to the second electronic device , N is greater than or equal to 1; and

第一发送单元,用于响应于用户对第一选项图标的选择操作,向第二电子设备发送访问请求。The first sending unit is configured to send an access request to the second electronic device in response to the user's selection operation on the first option icon.

在一种可行的实施方式中,用户对第二电子设备的桌面的编辑操作包括以下任意一种或者多种:更换壁纸、添加或删除窗口小工具、修改桌面切换效果、设置桌面布 局及修改应用图标。In a feasible implementation manner, the user's editing operation on the desktop of the second electronic device includes any one or more of the following: changing the wallpaper, adding or deleting widgets, modifying the desktop switching effect, setting the desktop layout and modifying the application. icon.

在一种可行的实施方式中,第一电子设备400还包括:In a feasible implementation manner, the first electronic device 400 further includes:

第二显示模块,用于显示M个选项图标,M个选项图标分别对应M个待选电子 设备,M个选项图标包括与第二电子设备对应的第一选项图标,M大于或等于1;第 三接收模块,用于接收用户将第一应用程序的第一应用图标移动到第一选项图标的第 一预定操作,第一应用程序安装在第一电子设备上;及The second display module is used to display M option icons, the M option icons correspond to M electronic devices to be selected, the M option icons include the first option icon corresponding to the second electronic device, and M is greater than or equal to 1; 3. a receiving module, configured to receive a first predetermined operation in which the user moves the first application icon of the first application program to the first option icon, and the first application program is installed on the first electronic device; and

第三发送模块,用于响应于第一预定操作将第一应用程序的应用程序信息发送给第二电子设备。The third sending module is configured to send the application program information of the first application program to the second electronic device in response to the first predetermined operation.

在一种可行的实施方式中,第一电子设备400还包括:In a feasible implementation manner, the first electronic device 400 further includes:

第四接收模块,用于接收第二电子设备的第一消息;及A fourth receiving module, configured to receive the first message from the second electronic device; and

第一提示模块,用于根据第一消息,提示用户第一应用程序分享失败。The first prompting module is configured to prompt the user that the sharing of the first application fails according to the first message.

在一种可行的实施方式中,第一电子设备400还包括:In a feasible implementation manner, the first electronic device 400 further includes:

第五接收模块,用于接收第二电子设备的第二消息,第二消息用于表示第一应用程序已成功分享至第二电子设备。The fifth receiving module is configured to receive a second message from the second electronic device, and the second message is used to indicate that the first application program has been successfully shared to the second electronic device.

在一种可行的实施方式中,第一电子设备400还包括:In a feasible implementation manner, the first electronic device 400 further includes:

第一卸载模块,用于根据第二消息,卸载第一应用程序。The first uninstalling module is configured to uninstall the first application program according to the second message.

在一种可行的实施方式中,第一发送模块410包括:In a feasible implementation manner, the first sending module 410 includes:

第一显示单元,用于显示Q个选项图标,Q个选项图标分别对应Q个待选电子设 备,Q个选项图标包括与第二电子设备对应的第一选项图标,Q大于或等于1;The first display unit is used to display Q option icons, the Q option icons correspond to Q electronic devices to be selected respectively, the Q option icons include the first option icon corresponding to the second electronic device, and Q is greater than or equal to 1;

第一接收单元,用于接收用户将第一应用程序的第一应用图标移至第一选项图标的第二预定操作,第一应用程序安装在第一电子设备上;The first receiving unit is configured to receive a second predetermined operation in which the user moves the first application icon of the first application program to the first option icon, and the first application program is installed on the first electronic device;

对应地,第二接收模块440包括:Correspondingly, the second receiving module 440 includes:

第二接收单元,用于接收用户对第一应用图标的移动操作,移动操作用于将第一应用图标移动至第二电子设备的目标桌面,或者将第一应用图标移动至目标桌面的目 标区域;The second receiving unit is configured to receive the user's moving operation on the first application icon, the moving operation is used to move the first application icon to the target desktop of the second electronic device, or move the first application icon to the target area of the target desktop ;

对应地,第一生成模块450包括:Correspondingly, the first generation module 450 includes:

第一生成单元,用于根据移动操作生成位置信息,位置信息包括用户对目标桌面的选择信息,或者包括用户对目标桌面和目标桌面的目标区域的选择信息;及The first generating unit is configured to generate location information according to a moving operation, where the location information includes user selection information on the target desktop, or includes user selection information on the target desktop and a target area of the target desktop; and

第二发送单元,用于将第一应用程序的应用程序信息以及位置信息发送给第二电子设备;a second sending unit, configured to send the application information and location information of the first application to the second electronic device;

其中,位置信息用于第二电子设备确定在目标桌面或者目标桌面的目标区域显示第一应用图标。Wherein, the location information is used by the second electronic device to determine to display the first application icon on the target desktop or a target area of the target desktop.

在一种可行的实施方式中,第二电子设备的桌面信息包括第二电子设备的应用程序信息,第一电子设备400还包括:In a feasible implementation manner, the desktop information of the second electronic device includes application program information of the second electronic device, and the first electronic device 400 further includes:

第一判断模块,用于根据第二电子设备的应用程序信息判断第二电子设备是否已安装第一应用程序;A first judging module, configured to judge whether the second electronic device has installed the first application program according to the application program information of the second electronic device;

第二提示模块,用于如果第二电子设备已安装第一应用程序,则提示用户第二电子设备已安装有第一应用程序;及The second prompt module is used to prompt the user that the second electronic device has the first application program installed if the second electronic device has the first application program installed; and

在一种可行的实施方式中,第一电子设备400还包括:In a feasible implementation manner, the first electronic device 400 further includes:

第六接收模块,用于接收第二电子设备的第三消息,第三消息用于表示第一应用程序已成功分享至第二电子设备。The sixth receiving module is configured to receive a third message from the second electronic device, and the third message is used to indicate that the first application program has been successfully shared to the second electronic device.

在一种可行的实施方式中,第一电子设备400还包括:In a feasible implementation manner, the first electronic device 400 further includes:

第二卸载模块,用于根据第三消息,卸载第一应用程序。The second uninstalling module is configured to uninstall the first application program according to the third message.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述第一电子设备的各个模块和单元的具体工作过程,可以参考前述方法实施例中的对应内容, 在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of each module and unit of the first electronic device described above can refer to the corresponding content in the foregoing method embodiment, and will not be repeated here. .

请参阅图22,本发明实施例还提供一种第二电子设备500,第一电子设备500包括:Please refer to FIG. 22 , the embodiment of the present invention also provides a second electronic device 500, and the first electronic device 500 includes:

第一接收模块510,用于接收第一电子设备的访问请求,访问请求用于请求访问第二电子设备的桌面信息;The first receiving module 510 is configured to receive an access request from the first electronic device, where the access request is used to request access to the desktop information of the second electronic device;

第一发送模块520,用于根据第一电子设备的访问请求,发送桌面信息至第一电子设备,桌面信息用于显示第二电子设备的桌面;及The first sending module 520 is configured to send desktop information to the first electronic device according to the access request of the first electronic device, and the desktop information is used to display the desktop of the second electronic device; and

第二接收模块530,用于接收第一电子设备发送的桌面编辑信息,根据桌面编辑信息对桌面进行编辑。The second receiving module 530 is configured to receive desktop editing information sent by the first electronic device, and edit the desktop according to the desktop editing information.

在一种可行的实施方式中,第二接收模块530具体用于更换壁纸、添加或删除窗口小工具、修改桌面切换效果、设置桌面布局及修改应用图标中的任意一种或者多种。In a feasible implementation manner, the second receiving module 530 is specifically configured to change any one or more of wallpapers, add or delete widgets, modify desktop switching effects, set desktop layouts, and modify application icons.

在一种可行的实施方式中,第二电子设备500还包括:In a feasible implementation manner, the second electronic device 500 further includes:

第三接收模块,用于接收第一电子设备发送的第一应用程序的应用程序信息;及The third receiving module is configured to receive the application program information of the first application program sent by the first electronic device; and

第一显示模块,用于根据第一应用程序的应用程序信息,以待下载状态显示第一应用程序对应的第一应用图标,或者,下载并安装第一应用程序,以已安装状态显示 第一应用程序对应的第一应用图标。The first display module is configured to display the first application icon corresponding to the first application program in the state of waiting to be downloaded according to the application program information of the first application program, or download and install the first application program, and display the first application program in the installed state. The first application icon corresponding to the application program.

在一种可行的实施方式中,第二电子设备500还包括:In a feasible implementation manner, the second electronic device 500 further includes:

第一验证模块,用于对第一电子设备进行权限校验,以及判断是否已安装第一应用程序,以及判断应用程序信息的数据结构是否满足合法性要求;及The first verification module is used to verify the authority of the first electronic device, determine whether the first application program has been installed, and determine whether the data structure of the application program information meets the legality requirements; and

第二发送模块,用于如果第一电子设备未通过权限校验,和/或未安装第一应用程序,和/或应用程序信息的数据结构不满足合法性要求,则发送第一消息给第二电子设 备,第一消息用于提示第一应用程序分享失败,具体用于提示:第二电子设备对第一 电子设备的权限校验未通过,和/或第二电子设备已安装第一应用程序,和/或第一应 用程序的应用程序信息的数据结构不满足预设要求。The second sending module is used to send the first message to the first electronic device if the first electronic device fails the authority check, and/or the first application program is not installed, and/or the data structure of the application program information does not meet the legality requirements. For the second electronic device, the first message is used to prompt that the sharing of the first application has failed, and is specifically used to prompt: the second electronic device has failed the verification of the authority of the first electronic device, and/or the second electronic device has installed the first application The program, and/or the data structure of the application program information of the first application program does not meet the preset requirements.

在一种可行的实施方式中,第二接收模块530包括:In a feasible implementation manner, the second receiving module 530 includes:

第一接收单元,用于接收第一电子设备发送的第一应用程序的应用程序信息和位置信息,位置信息包括用户对目标桌面的选择信息,或者包括用户对目标桌面和目标 桌面的目标区域的选择信息,目标桌面为第二电子设备的桌面;及The first receiving unit is configured to receive the application program information and location information of the first application program sent by the first electronic device, the location information includes the user's selection information on the target desktop, or includes the user's selection information on the target desktop and the target area of the target desktop Select information, the target desktop is the desktop of the second electronic device; and

第二显示单元,用于根据第一应用程序的应用程序信息和位置信息,以待下载状态在目标桌面或者在目标桌面的目标区域显示第一应用图标,或者,下载并安装第一 应用程序,然后以已安装状态在目标桌面或者在目标桌面的目标区域显示第一应用程 序对应的第一应用图标。The second display unit is configured to display the first application icon on the target desktop or in the target area of the target desktop in a state to be downloaded according to the application information and location information of the first application, or to download and install the first application, Then, the first application icon corresponding to the first application program is displayed on the target desktop or in the target area of the target desktop in an installed state.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述第二电子设备的各个模块和单元的具体工作过程,可以参考前述方法实施例中的对应内容, 在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of each module and unit of the second electronic device described above can refer to the corresponding content in the foregoing method embodiments, which will not be repeated here. .

本申请还提供的一种电子设备,如图1所示,电子设备100包括内部存储器121、 内部存储器121中存储有计算机程序,处理器110与内部存储器121连接,处理器110 执行计算机程序以实现如上述任一实施例提供的跨设备桌面管理方法。The present application also provides an electronic device. As shown in FIG. 1, the electronic device 100 includes an internal memory 121, and a computer program is stored in the internal memory 121. The processor 110 is connected to the internal memory 121. The processor 110 executes the computer program to realize The cross-device desktop management method provided by any one of the above embodiments.

本申请还提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如上述任一实施例提供的跨设备桌面管理方法中的各 个步骤。The present application also provides a computer storage medium, including computer instructions. When the computer instructions are run on the electronic device, the electronic device is made to execute each step in the cross-device desktop management method provided by any of the above embodiments.

本申请还提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,该计算机程序产品在计算机上运行时,使得计算机执行上述任一实施例提供的跨设备桌 面管理方法中的各个步骤。The present application also provides a computer program product. When the computer program product runs on the computer, the computer program product runs on the computer, so that the computer executes each step in the cross-device desktop management method provided by any of the above-mentioned embodiments. .

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的电子设备、计算机存储介质和计算机程序产品的具体工作过程,可以参考前述方法实施例 中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the electronic device, computer storage medium and computer program product described above can refer to the corresponding process in the foregoing method embodiment, and will not be described here. Let me repeat.

以上,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申 请的保护范围应以权利要求的保护范围为准。The above are only the specific implementation methods of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and all should be covered within the protection scope of the present application. The scope of protection of this application should be based on the scope of protection of the claims.

Claims (20)

1.一种跨设备桌面管理方法,应用于第一电子设备,其特征在于,所述方法包括:1. A cross-device desktop management method applied to a first electronic device, wherein the method comprises: 向第二电子设备发送访问请求,所述访问请求用于请求访问所述第二电子设备的桌面信息;sending an access request to the second electronic device, where the access request is used to request access to the desktop information of the second electronic device; 接收所述第二电子设备发送的桌面信息;receiving desktop information sent by the second electronic device; 根据桌面信息显示所述第二电子设备的桌面;displaying the desktop of the second electronic device according to the desktop information; 接收用户对所述第二电子设备的桌面的编辑操作;receiving a user's editing operation on the desktop of the second electronic device; 根据所述编辑操作生成对所述第二电子设备的桌面编辑信息,其中,所述桌面编辑信息用于编辑所述第二设备的桌面;generating desktop editing information for the second electronic device according to the editing operation, wherein the desktop editing information is used to edit the desktop of the second device; 向所述第二电子设备发送所述桌面编辑信息。Send the desktop editing information to the second electronic device. 2.如权利要求1所述的方法,其特征在于,所述向第二电子设备发送访问请求,包括:2. The method according to claim 1, wherein the sending the access request to the second electronic device comprises: 显示桌面编辑界面,所述桌面编辑界面包括N个选项图标,所述N个选项图标分别对应N个待选电子设备,所述N个选项图标包括与所述第二电子设备对应的第一选项图标,N大于或等于1;Displaying a desktop editing interface, the desktop editing interface includes N option icons, the N option icons respectively correspond to N electronic devices to be selected, and the N option icons include the first option corresponding to the second electronic device icon, N greater than or equal to 1; 响应于用户对所述第一选项图标的选择操作,向所述第二电子设备发送所述访问请求。In response to a user's selection operation on the first option icon, the access request is sent to the second electronic device. 3.如权利要求1或2所述的方法,其特征在于,所述用户对所述第二电子设备的桌面的编辑操作包括以下任意一种或者多种:更换壁纸、添加或删除窗口小工具、修改桌面切换效果、设置桌面布局及修改应用图标。3. The method according to claim 1 or 2, wherein the user's editing operation on the desktop of the second electronic device includes any one or more of the following: changing wallpaper, adding or deleting widgets , Modify the desktop switching effect, set the desktop layout and modify the application icon. 4.如权利要求1所述的方法,其特征在于,所述方法还包括:4. The method of claim 1, further comprising: 显示M个选项图标,所述M个选项图标分别对应M个待选电子设备,所述M个选项图标包括与所述第二电子设备对应的第一选项图标,M大于或等于1;Display M option icons, the M option icons correspond to M electronic devices to be selected, the M option icons include the first option icon corresponding to the second electronic device, and M is greater than or equal to 1; 接收用户将第一应用程序的第一应用图标移动到所述第一选项图标的第一预定操作,所述第一应用程序安装在所述第一电子设备上;receiving a first predetermined operation in which the user moves a first application icon of a first application program installed on the first electronic device to the first option icon; 响应于所述第一预定操作将所述第一应用程序的应用程序信息发送给所述第二电子设备。sending application information of the first application to the second electronic device in response to the first predetermined operation. 5.如权利要求4所述的方法,其特征在于,在将所述第一应用程序的应用程序信息发送给所述第二电子设备之后,所述方法还包括:5. The method according to claim 4, characterized in that, after sending the application information of the first application to the second electronic device, the method further comprises: 接收所述第二电子设备的第一消息;receiving a first message from the second electronic device; 根据所述第一消息,提示用户所述第一应用程序分享失败。According to the first message, the user is prompted that the sharing of the first application fails. 6.如权利要求4或5所述的方法,其特征在于,在将所述第一应用程序的应用程序信息发送给所述第二电子设备之后,所述方法还包括:6. The method according to claim 4 or 5, wherein after sending the application information of the first application to the second electronic device, the method further comprises: 接收所述第二电子设备的第二消息,所述第二消息用于表示所述第一应用程序已成功分享至所述第二电子设备。receiving a second message from the second electronic device, where the second message is used to indicate that the first application program has been successfully shared to the second electronic device. 7.如权利要求6所述的方法,其特征在于,在接收所述第二电子设备的第二消息之后,所述方法还包括:7. The method according to claim 6, wherein after receiving the second message from the second electronic device, the method further comprises: 响应于所述第二消息,卸载所述第一应用程序。In response to the second message, the first application is uninstalled. 8.如权利要求1所述的方法,其特征在于,所述向第二电子设备发送访问请求,包括:8. The method according to claim 1, wherein the sending the access request to the second electronic device comprises: 显示Q个选项图标,所述Q个选项图标分别对应Q个待选电子设备,所述Q个选项图标包括与所述第二电子设备对应的第一选项图标,Q大于或等于1;Displaying Q option icons, the Q option icons respectively corresponding to Q electronic devices to be selected, the Q option icons including the first option icon corresponding to the second electronic device, and Q is greater than or equal to 1; 接收用户将第一应用程序的第一应用图标移至第一选项图标的第二预定操作,所述第一应用程序安装在所述第一电子设备上;receiving a second predetermined operation in which the user moves the first application icon of the first application program installed on the first electronic device to the first option icon; 基于所述第二预定操作,向第二电子设备发送所述访问请求;sending the access request to a second electronic device based on the second predetermined operation; 对应地,所述接收用户对所述第二电子设备的桌面的编辑操作,包括:Correspondingly, the receiving user's editing operation on the desktop of the second electronic device includes: 接收用户对所述第一应用图标的移动操作,所述移动操作用于将所述第一应用图标移动至所述第二电子设备的目标桌面,或者将所述第一应用图标移动至所述目标桌面的目标区域;receiving a user's move operation on the first application icon, where the move operation is used to move the first application icon to the target desktop of the second electronic device, or move the first application icon to the the target area of the target desktop; 对应地,所述根据所述编辑操作生成对所述第二电子设备的桌面编辑信息,包括:Correspondingly, the generating the desktop editing information of the second electronic device according to the editing operation includes: 根据所述移动操作生成位置信息,所述位置信息包括用户对所述目标桌面的选择信息,或者包括用户对所述目标桌面和所述目标桌面的目标区域的选择信息;generating location information according to the moving operation, the location information including user selection information on the target desktop, or user selection information on the target desktop and a target area of the target desktop; 将所述第一应用程序的应用程序信息以及所述位置信息发送给所述第二电子设备;sending the application information of the first application and the location information to the second electronic device; 其中,所述位置信息用于所述第二电子设备确定在所述目标桌面或者所述目标桌面的目标区域显示所述第一应用图标。Wherein, the location information is used by the second electronic device to determine to display the first application icon on the target desktop or a target area of the target desktop. 9.如权利要求8所述的方法,其特征在于,所述第二电子设备的桌面信息包括所述第二电子设备的应用程序信息,在所述接收所述第二电子设备发送的桌面信息之后,所述方法还包括:9. The method according to claim 8, wherein the desktop information of the second electronic device includes application program information of the second electronic device, and when receiving the desktop information sent by the second electronic device Afterwards, the method also includes: 根据所述第二电子设备的应用程序信息判断所述第二电子设备是否已安装所述第一应用程序;judging whether the second electronic device has installed the first application program according to the application program information of the second electronic device; 如果否,则提示用户所述第二电子设备已安装有所述第一应用程序。If not, prompting the user that the second electronic device has already installed the first application program. 10.如权利要求8或9所述的方法,其特征在于,在所述将所述第一应用程序的应用程序信息以及所述位置信息发送给所述第二电子设备之后,所述方法还包括:10. The method according to claim 8 or 9, characterized in that, after sending the application information of the first application and the location information to the second electronic device, the method further include: 接收所述第二电子设备的第三消息,所述第三消息用于表示所述第一应用程序已成功分享至所述第二电子设备。Receive a third message from the second electronic device, where the third message is used to indicate that the first application program has been successfully shared to the second electronic device. 11.如权利要求10所述的方法,其特征在于,在所述接收所述第二电子设备的第三消息之后,所述方法还包括:11. The method according to claim 10, characterized in that, after receiving the third message from the second electronic device, the method further comprises: 响应于所述第三消息,卸载所述第一应用程序。In response to the third message, the first application is uninstalled. 12.一种跨设备桌面管理方法,应用于第二电子设备,其特征在于,所述方法包括:12. A cross-device desktop management method applied to a second electronic device, characterized in that the method comprises: 接收所述第一电子设备的访问请求,所述访问请求用于请求访问桌面信息;receiving an access request from the first electronic device, where the access request is used to request access to desktop information; 根据所述第一电子设备的访问请求,发送桌面信息给所述第一电子设备,所述桌面信息用于显示所述第二电子设备的桌面;Sending desktop information to the first electronic device according to the access request of the first electronic device, where the desktop information is used to display the desktop of the second electronic device; 接收所述第一电子设备发送的桌面编辑信息,根据所述桌面编辑信息对桌面进行编辑。The desktop editing information sent by the first electronic device is received, and the desktop is edited according to the desktop editing information. 13.如权利要求12所述的方法,其特征在于,所述根据所述桌面编辑信息对桌面进行编辑,包括:13. The method according to claim 12, wherein editing the desktop according to the desktop editing information comprises: 更换壁纸、添加或删除窗口小工具、修改桌面切换效果、设置桌面布局及修改应用图标中的任意一种或者多种。Any one or more of changing wallpapers, adding or deleting widgets, modifying desktop switching effects, setting desktop layouts, and modifying application icons. 14.如权利要求12所述的方法,其特征在于,所述方法还包括:14. The method of claim 12, further comprising: 接收所述第一电子设备发送的第一应用程序的应用程序信息;receiving application information of the first application sent by the first electronic device; 根据所述第一应用程序的应用程序信息,以待下载状态显示第一应用程序对应的第一应用图标,或者下载并安装所述第一应用程序,以已安装状态显示第一应用程序对应的第一应用图标。According to the application information of the first application, display the first application icon corresponding to the first application in a state to be downloaded, or download and install the first application, and display the icon corresponding to the first application in an installed state First app icon. 15.如权利要求14所述的方法,其特征在于,在所述接收所述第一电子设备发送的第一应用程序的应用程序信息之后,所述方法还包括:15. The method according to claim 14, characterized in that, after receiving the application information of the first application sent by the first electronic device, the method further comprises: 对所述第一电子设备进行权限校验,以及判断是否已安装所述第一应用程序,以及判断所述应用程序信息的数据结构是否满足合法性要求;Performing permission verification on the first electronic device, and judging whether the first application program has been installed, and judging whether the data structure of the application program information meets the legality requirements; 如果所述第一电子设备未通过权限校验,和/或未安装所述第一应用程序,和/或所述应用程序信息的数据结构不满足合法性要求,则发送第一消息给所述第二电子设备,所述第一消息用于提示所述第一应用程序分享失败。If the first electronic device fails the permission check, and/or the first application program is not installed, and/or the data structure of the application program information does not meet the legality requirements, then send a first message to the For the second electronic device, the first message is used to prompt that the sharing of the first application fails. 16.如权利要求12所述的方法,其特征在于,所述接收所述第一电子设备发送的桌面编辑信息,根据所述桌面编辑信息对桌面进行编辑,包括:16. The method according to claim 12, wherein the receiving desktop editing information sent by the first electronic device, and editing the desktop according to the desktop editing information comprises: 接收所述第一电子设备发送的第一应用程序的应用程序信息和位置信息,所述位置信息包括用户对所述目标桌面的选择信息,或者包括用户对所述目标桌面和所述目标桌面的目标区域的选择信息,所述目标桌面为所述第二电子设备的桌面;receiving the application information and location information of the first application program sent by the first electronic device, the location information including the user's selection information on the target desktop, or including the user's selection information on the target desktop and the target desktop selection information of the target area, the target desktop is the desktop of the second electronic device; 根据所述第一应用程序的应用程序信息和所述位置信息,以待下载状态在所述目标桌面或者在所述目标桌面的目标区域显示所述第一应用程序对应的第一应用图标,或者,下载并安装所述第一应用程序,然后以已安装状态在所述目标桌面或者在所述目标桌面的目标区域显示所述第一应用程序对应的第一应用图标。According to the application program information of the first application program and the location information, displaying the first application icon corresponding to the first application program on the target desktop or in the target area of the target desktop in a state to be downloaded, or , downloading and installing the first application program, and then displaying a first application icon corresponding to the first application program on the target desktop or in a target area of the target desktop in an installed state. 17.一种电子设备,其特征在于,所述电子设备包括存储器、处理器、触摸传感器及显示屏,所述存储器中存储有计算机程序,所述处理器与所述存储器连接,所述处理器执行计算机程序以实现如权利要求1~11中任一项所述的跨设备桌面管理方法。17. An electronic device, characterized in that the electronic device includes a memory, a processor, a touch sensor and a display screen, a computer program is stored in the memory, the processor is connected to the memory, and the processor Executing the computer program to realize the cross-device desktop management method according to any one of claims 1-11. 18.一种电子设备,其特征在于,所述电子设备包括存储器、处理器、触摸传感器及显示屏,所述存储器中存储有计算机程序,所述处理器与所述存储器连接,所述处理器执行计算机程序以实现如权利要求12~16中任一项所述的跨设备桌面管理方法。18. An electronic device, characterized in that the electronic device includes a memory, a processor, a touch sensor and a display screen, a computer program is stored in the memory, the processor is connected to the memory, and the processor Execute the computer program to realize the cross-device desktop management method according to any one of claims 12-16. 19.一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1~11中任一项所述的跨设备桌面管理方法的步骤。19. A computer storage medium, characterized by comprising computer instructions, when the computer instructions are run on an electronic device, the electronic device is made to execute the cross-device desktop according to any one of claims 1-11 The steps of the management method. 20.一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求12~16中任一项所述的跨设备桌面管理方法的步骤。20. A computer storage medium, characterized by comprising computer instructions, when the computer instructions are run on an electronic device, the electronic device is made to execute the cross-device desktop according to any one of claims 12-16 The steps of the management method.
CN202210994354.7A 2020-06-29 2020-06-29 Cross-device desktop management method, first electronic device and second electronic device Pending CN115657897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210994354.7A CN115657897A (en) 2020-06-29 2020-06-29 Cross-device desktop management method, first electronic device and second electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010609863.4A CN113867657A (en) 2020-06-29 2020-06-29 Cross-device desktop management method, first electronic device and second electronic device
CN202210994354.7A CN115657897A (en) 2020-06-29 2020-06-29 Cross-device desktop management method, first electronic device and second electronic device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010609863.4A Division CN113867657A (en) 2020-06-29 2020-06-29 Cross-device desktop management method, first electronic device and second electronic device

Publications (1)

Publication Number Publication Date
CN115657897A true CN115657897A (en) 2023-01-31

Family

ID=78981093

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210994354.7A Pending CN115657897A (en) 2020-06-29 2020-06-29 Cross-device desktop management method, first electronic device and second electronic device
CN202010609863.4A Pending CN113867657A (en) 2020-06-29 2020-06-29 Cross-device desktop management method, first electronic device and second electronic device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010609863.4A Pending CN113867657A (en) 2020-06-29 2020-06-29 Cross-device desktop management method, first electronic device and second electronic device

Country Status (4)

Country Link
US (1) US20230236714A1 (en)
EP (1) EP4163782A4 (en)
CN (2) CN115657897A (en)
WO (1) WO2022001279A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025025586A1 (en) * 2023-07-28 2025-02-06 超聚变数字技术有限公司 Resource management method, and server

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610193B (en) * 2020-12-04 2024-10-11 华为技术有限公司 Content sharing method, electronic device and storage medium
CN116483227A (en) * 2022-01-14 2023-07-25 华为技术有限公司 Appearance setting method and electronic device
WO2023142940A1 (en) * 2022-01-28 2023-08-03 华为技术有限公司 Application component sharing method and related device
CN114327189B (en) * 2022-03-07 2022-09-30 深圳传音控股股份有限公司 Operation method, intelligent terminal and storage medium
CN114817783B (en) * 2022-04-06 2025-05-16 维沃移动通信有限公司 Desktop template creation and application method, device and electronic device
CN119892978A (en) * 2022-06-30 2025-04-25 华为技术有限公司 Device interaction method, electronic device and computer readable storage medium
CN119513055A (en) * 2023-08-23 2025-02-25 中兴终端有限公司 Application data synchronization method, electronic device and readable storage medium
CN119620978A (en) * 2023-09-13 2025-03-14 中兴终端有限公司 Device cooperation method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681542A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Information processing method and system and terminal
CN106686536A (en) * 2017-02-23 2017-05-17 厦门美图移动科技有限公司 Terminal application sharing method and device
WO2017213937A1 (en) * 2016-06-11 2017-12-14 Apple Inc. Configuring context-specific user interfaces
CN109725800A (en) * 2018-12-14 2019-05-07 Oppo广东移动通信有限公司 Wallpaper setting method and device, terminal and storage medium
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010109024A1 (en) * 2009-03-25 2010-09-30 Mobile Security Software, S.L. System and method for remotely accessing the desktop of mobile devices independently of the operating system of the mobile device
US9779106B2 (en) * 2011-08-15 2017-10-03 Lenovo (Beijing) Co., Ltd. Application management method and device
US9912724B2 (en) * 2013-12-06 2018-03-06 Vmware, Inc. Moving objects of a remote desktop in unstable network environments
US9805176B2 (en) * 2015-07-30 2017-10-31 Toshiba Tec Kabushiki Kaisha Shared system and terminal device
CN106406838A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Screen shot sharing method, apparatus, and system
DK201670595A1 (en) * 2016-06-11 2018-01-22 Apple Inc Configuring context-specific user interfaces
JP6938887B2 (en) * 2016-10-06 2021-09-22 富士フイルムビジネスイノベーション株式会社 Information processing equipment, information processing systems and programs
US11379252B1 (en) * 2018-01-31 2022-07-05 Parallels International Gmbh System and method for providing layouts for a remote desktop session
EP3707885B1 (en) * 2019-01-29 2023-07-26 Citrix Systems, Inc. Systems and methods of enabling fast user access to remote desktops

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681542A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Information processing method and system and terminal
WO2017213937A1 (en) * 2016-06-11 2017-12-14 Apple Inc. Configuring context-specific user interfaces
CN106686536A (en) * 2017-02-23 2017-05-17 厦门美图移动科技有限公司 Terminal application sharing method and device
CN109725800A (en) * 2018-12-14 2019-05-07 Oppo广东移动通信有限公司 Wallpaper setting method and device, terminal and storage medium
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025025586A1 (en) * 2023-07-28 2025-02-06 超聚变数字技术有限公司 Resource management method, and server

Also Published As

Publication number Publication date
CN113867657A (en) 2021-12-31
EP4163782A4 (en) 2023-12-27
EP4163782A1 (en) 2023-04-12
WO2022001279A1 (en) 2022-01-06
US20230236714A1 (en) 2023-07-27

Similar Documents

Publication Publication Date Title
KR102470275B1 (en) Voice control method and electronic device
KR102630338B1 (en) Application display method and electronic device
CN110471639B (en) Display method and related device
CN114363462B (en) Interface display method, electronic equipment and computer readable medium
CN113961157B (en) Display interaction system, display method and equipment
CN115657897A (en) Cross-device desktop management method, first electronic device and second electronic device
WO2021103981A1 (en) Split-screen display processing method and apparatus, and electronic device
WO2021036571A1 (en) Desktop editing method and electronic device
CN115866121A (en) Application interface interaction method, electronic device and computer-readable storage medium
CN111669459A (en) Keyboard display method, electronic device and computer-readable storage medium
CN113311975A (en) Application interaction method among multiple devices and related devices
CN112148400A (en) Display method and device in locked state
WO2022068483A1 (en) Application startup method and apparatus, and electronic device
CN109857401B (en) Display method of electronic equipment, graphical user interface and electronic equipment
CN110633043A (en) A split-screen processing method and terminal device
CN111913750A (en) Application management method, device and device
WO2021078032A1 (en) User interface display method and electronic device
CN112068907A (en) Interface display method and electronic equipment
CN115016697A (en) Screen projection method, computer device, readable storage medium, and program product
WO2024001972A1 (en) Interaction method and related device
WO2023142943A1 (en) Application component configuration method and related device
CN116301483A (en) Application card management method, electronic device and storage medium
CN112312410B (en) Deployment method and device of wireless access point
CN114244951B (en) Method for opening page by application program, medium and electronic equipment thereof
WO2024037542A1 (en) Touch input method, system, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20230131

RJ01 Rejection of invention patent application after publication