Equipment collaboration method, electronic equipment and storage medium

By displaying the desktop layout information of the second device in a multi-device collaboration scenario, the first device displays the desktop layout information of the second device, and solves the problem of cumbersome operation of the multi-device collaboration and improves the user experience.

CN119620978APending Publication Date: 2025-03-14ZTE TERMINAL CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311188153.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-13
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the scenario of collaborative work of multiple devices, the operation is more cumbersome and the user experience is not high.

Method used

Through a device collaboration method, after receiving the user's operation, the first device displays the desktop layout information of the second device, allowing the user to operate the second device directly on the second desktop, and realizes the coordinated work of multiple devices.

Benefits of technology

It reduces the complexity of operation when multiple devices work together, improves the user experience, and eliminates the need for users to re-learn the operation of the second device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119620978A_ABST
    Figure CN119620978A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a device cooperation method, an electronic device and a storage medium, relates to the technical field of terminals, and is used for reducing the operation complexity during cooperative work of multiple devices. The method is applied to a first device and comprises the steps that a first operation of a user is received on a first desktop, and the first desktop comprises desktop layout information of the first device; and in response to the first operation, displaying a second desktop, the second desktop including desktop layout information of a second device, and the second device being a device establishing a cooperative relationship with the first device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal technology, and in particular to a device collaboration method, an electronic device, and a storage medium. Background Art

[0002] With the development of smart terminals and smart home technologies, a user or family often has multiple electronic devices, which can build a distributed system to form interoperable collaboration to complete distributed scenarios. One type of device collaboration in the prior art is to achieve collaboration between a mobile phone and a tablet computer (PAD), computer or TV through the screen projection function.

[0003] However, in the scenario where multiple devices work together, the operation is rather cumbersome and the user experience is not good. Summary of the invention

[0004] The present invention discloses a device collaboration method, an electronic device and a storage medium, which are used to reduce the operational complexity when multiple devices work in collaboration.

[0005] In order to achieve the above objectives, the present disclosure adopts the following technical solutions:

[0006] In a first aspect, a device collaboration method is provided, the method being applied to a first device, the method comprising:

[0007] Receiving a first operation of a user on a first desktop, where the first desktop includes desktop layout information of a first device;

[0008] In response to the first operation, a second desktop is displayed, the second desktop includes desktop layout information of a second device, and the second device is a device that establishes a collaborative relationship with the first device.

[0009] In a second aspect, a collaborative device is provided, which is applied to a first device and includes:

[0010] A receiving unit, configured to receive a first operation of a user on a first desktop, wherein the first desktop includes desktop layout information of a first device;

[0011] The display unit is used to display a second desktop in response to a first operation, where the second desktop includes desktop layout information of a second device, and the second device is a device that establishes a collaborative relationship with the first device.

[0012] In a third aspect, an electronic device is provided, comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method provided in the first aspect above.

[0013] According to a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the method provided in the first aspect.

[0014] According to a fifth aspect, a computer program product comprising computer instructions is provided. When the computer instructions are executed on a computer, the computer executes the method provided in the first aspect.

[0015] In the disclosed embodiment, after the first device receives the user's first operation on the first desktop of the first device, the first device can display the second desktop, and the second desktop includes the desktop layout information of the second device that has established a collaborative relationship with the first device, so that the user can directly operate the second device on the second desktop to achieve multi-device collaborative work, which is convenient to operate and reduces the complexity of operations when multiple devices work together. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are used to provide further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0017] Figure 1 A schematic diagram of the structure of a communication system provided by an embodiment of the present disclosure;

[0018] Figure 2 A schematic diagram of a flow chart of a device collaboration method provided in an embodiment of the present disclosure;

[0019] Figure 3 An interactive schematic diagram of an electronic device provided by an embodiment of the present disclosure;

[0020] Figure 4 An interactive schematic diagram of another electronic device provided by an embodiment of the present disclosure;

[0021] Figure 5 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0022] Figure 6 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0023] Figure 7 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0024] Figure 8 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0025] Fig. 9A schematic diagram of a first selection operation provided in an embodiment of the present disclosure;

[0026] Fig.10 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0027] Fig.11 A schematic diagram of displaying a third desktop provided by an embodiment of the present disclosure;

[0028] Fig.12 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0029] Fig.13 A schematic diagram of a second selection operation provided by an embodiment of the present disclosure;

[0030] Fig.14 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0031] Fig.15 A schematic diagram of a fourth desktop display provided by an embodiment of the present disclosure;

[0032] Fig.16 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0033] Fig.17 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0034] Fig.18 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0035] Fig.19 A flowchart of another device collaboration method provided by an embodiment of the present disclosure;

[0036] Fig. 20 A schematic diagram of the overall process of a device collaboration method provided by an embodiment of the present disclosure;

[0037] Fig.21 A schematic diagram of the composition of a collaborative device provided in an embodiment of the present disclosure;

[0038] Fig. 22 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0040] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and other forms thereof, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open, inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" and the like are intended to indicate that specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.

[0041] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, unless otherwise specified, "plurality" means two or more.

[0042] In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0043] Additionally, the use of “based on” is meant to be open and inclusive, as a process, step, calculation, or other action “based on” one or more stated conditions or values ​​may, in practice, be based on additional conditions or values ​​beyond those stated.

[0044] As the types of electronic devices gradually increase, users can be equipped with electronic devices such as laptops, PADs, mobile phones, smart screens, smart watches, and smart car machines configured in smart vehicles. How to manage the above-mentioned electronic devices more conveniently, make them interconnected, form a set of intelligent ecosystems that can be freely combined in the near field, and establish intelligent collaborative linkage among multiple electronic devices has gradually become a hot spot for product innovation.

[0045] Currently, in multi-device collaboration scenarios, the following problems often occur:

[0046] 1. The function entrance is deep. The typical entrance is to pull down the status bar of the electronic device to enter the setting menu of the electronic device, and initiate near-field device discovery through the menu entrance of the electronic device to establish a collaborative relationship between the electronic devices.

[0047] 2. The operation of establishing a collaborative relationship between electronic devices is relatively complicated. It is necessary to operate separately on both sides of the electronic device to establish a collaborative relationship. There are many steps in the interactive process, and users need to do some learning. For example, screen casting, copying and pasting across devices, pushing applications to the other electronic device through the recent application list, or pulling up the application of the other electronic device in the docker area and casting it to the local electronic device. These operations are relatively complicated and have a certain operational threshold for users to master.

[0048] 3. Users need to understand some more abstract concepts, such as push, pull up, mirror screen projection, different display screen projection, super terminal, one-touch connection, one-touch pull up, etc.

[0049] In summary, currently in the scenario of multiple devices working together, the operation is rather cumbersome and the user experience is not good.

[0050] Based on this, the embodiments of the present disclosure provide a device collaboration method, an electronic device and a storage medium. After the first device receives a first operation of a user on a first desktop of the first device, the first device can display a second desktop. The second desktop includes desktop layout information of the second device that establishes a collaborative relationship with the first device. It should be understood that the second device is a device that establishes a collaborative relationship with the first device, which can be understood as an electronic device equipped by the user. The user knows how to operate the second device. Therefore, the first device displays a second desktop including the desktop layout information of the second device. The user does not need to relearn the operation of the second device and the user does not need to understand some abstract concepts. The user can directly operate the second device on the second desktop to realize multi-device collaboration. The operation is convenient, which reduces the complexity of the operation when multiple devices work together, and helps to improve the user experience.

[0051] The scheme of the embodiment of the present application is introduced below with reference to the accompanying drawings.

[0052] Figure 1 A schematic diagram of a communication system provided in an embodiment of the present disclosure is shown in FIG. Figure 1 , the communication system may include multiple electronic devices (eg, electronic device 11, electronic device 12, and electronic device 13).

[0053] For each of the multiple electronic devices, the electronic device may be a mobile phone, PC, tablet computer, desktop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), router, TV, electronic voice recorder and other devices. Alternatively, the electronic device may include audio, camera, air conditioner, refrigerator, smart curtain, projector, desk lamp, chandelier, rice cooker, security equipment (such as smart electronic lock), robot, sweeper, smart scale and other devices that can access home wireless local area network. Alternatively, the electronic device may include smart headphones, smart glasses, smart watches, smart bracelets, augmented reality (AR) virtual reality (VR) devices, wireless locators, trackers, electronic collars and other wearable devices and other devices. The embodiments of the present disclosure do not impose any special restrictions on the specific form of the electronic device.

[0054] Continue as Figure 1 As shown, the embodiment of the present disclosure takes the electronic device 11 as a mobile phone, the electronic device 12 as a tablet computer, and the electronic device 13 as a laptop computer as an example to illustrate a device collaboration method provided by the embodiment of the present disclosure.

[0055] In some embodiments, multiple electronic devices in the communication system may be connected via a wired network or a wireless network.

[0056] As an example, the above-mentioned wired network or wireless network can be implemented using any known network communication protocol, such as Ethernet, universal serial bus (USB), FIREWIRE, global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), Bluetooth (BLE), wireless fidelity (WIFI), near field communication technology (NFC), voice over Internet protocol (VoIP), communication protocols supporting network slicing architecture, or any other suitable communication protocols.

[0057] Exemplarily, multiple electronic devices in the communication system can establish a communication connection through the same Wi-Fi network. In addition, multiple electronic devices in the communication system can also establish a communication connection by logging into the same user account.

[0058] It should be understood that Figure 1 is an exemplary structural diagram, Figure 1 The number of electronic devices included in the communication system shown is not limited. Figure 1 In addition to the electronic equipment shown, Figure 1 The device shown may also include other devices, which are not limited to this.

[0059] Next, if Figure 2 As shown, the embodiment of the present disclosure provides a device collaboration method, which is applied to a first device, and the first device can be the above Figure 1 One of the multiple electronic devices in the communication system shown, for example, the first device is the above Figure 1The first device 11 shown. In some embodiments, the first device may be pre-set or determined based on a user's operation. For example, among multiple electronic devices, the electronic device awakened by the user is the first device, which is not limited in the embodiments of the present disclosure. The method includes the following steps:

[0060] S101: Receive a first operation from a user on a first desktop.

[0061] In some embodiments, when a user needs multiple devices to work together, the user issues a first operation on a first desktop of a first device, and correspondingly, the first device receives the user's first operation on the first desktop. The first device may also be called by other names, such as a central device.

[0062] As an example, the first desktop is the last desktop of the first device in a preset direction, and the first operation includes a sliding operation in the preset direction, wherein the preset direction includes a left direction and a right direction.

[0063] Exemplarily, taking the preset direction as the right direction as an example, assuming that the first device includes three desktops, namely Desktop 1, Desktop 2 and Desktop 3, in order from left to right, and Desktop 3 is the last desktop of the first device in the right direction, then Desktop 3 is the first desktop, and the first operation can be a right swipe operation on Desktop 3.

[0064] In some embodiments, the first desktop includes desktop layout information of the first device. The desktop layout information includes at least one of the following: an application icon, an application name, a desktop background, a folder icon, a folder name, a status bar, and a notification bar. It should be understood that the content included in the above desktop layout information is only exemplary, and those skilled in the art can make corresponding adjustments to the desktop layout information according to actual application scenarios, and the embodiments of the present disclosure are not limited to this.

[0065] S102: In response to the first operation, display a second desktop.

[0066] Among them, the second desktop includes the desktop layout information of the second desktop, and the second device is a device that establishes a collaborative relationship with the first device. For the description of the desktop layout information of the second desktop, you can refer to the above description of the desktop layout information of the first desktop, which will not be repeated here. For the description of how the first device establishes a collaborative relationship with the second device, you can refer to the following steps S701-step S702, or refer to the following description of steps S801-step S803, which will not be repeated here.

[0067] In some embodiments, the second device may also have other names, for example, a coordinated device.

[0068] In some embodiments, the second desktop also includes an identifier of the second device, and the identifier of the second device is used to uniquely indicate the second device, for example, it can be the identifier of the second device.

[0069] It should be understood that the second desktop also includes the identifier of the second device, so that the user can determine which device is currently establishing a collaborative relationship with the first device based on the identifier of the second device displayed on the second desktop.

[0070] In some embodiments, the second desktop is determined by the first device based on its own screen display parameters and the screen display parameters of the second device, and the screen display parameters of the first device or the second device include at least one of the following: screen size, screen resolution, and screen pixel density.

[0071] It should be understood that the first device and the second device can be different electronic devices, and the screen display parameters of different electronic devices are different. If the first device displays the second desktop with the screen display parameters of the second device, the second desktop displayed by the first device may not be able to normally display the desktop layout information of the second device. For example, assuming that the first device is a mobile phone and the second device is a tablet computer, the screen display parameters of the mobile phone and the screen display parameters of the tablet computer are quite different. If the mobile phone displays the desktop layout information of the tablet computer with the screen display parameters of the tablet computer, that is, displays the second desktop, it may cause the desktop layout information of the tablet computer to be unable to be fully displayed on the second desktop, affecting the user's experience. For another example, assuming that the first device is a tablet computer and the second device is a mobile phone, if the tablet computer displays the desktop layout information of the mobile phone with the screen display parameters of the mobile phone, it may cause the desktop layout information of the mobile phone displayed on the second desktop of the tablet computer to be too small, affecting the user's experience.

[0072] Therefore, in an embodiment of the present disclosure, the second desktop is determined by the first device based on the screen display parameters of the first device and the screen display parameters of the second device. That is, in a device collaboration method provided in an embodiment of the present disclosure, the second desktop is adaptively adjusted by the first device based on the screen display parameters of the first device and the screen display parameters of the second device. The first device has a screen adaptation function, so that the second desktop displayed by the first device can normally display the desktop layout information of the second device, which helps to improve the user experience.

[0073] In some embodiments, the collaborative relationship between the first device and the second device may be established based on the following methods.

[0074] Mode 1: When the first device and the second device are connected to the same local area network, the above-mentioned collaborative relationship is established based on the local area network.

[0075] As an example, the local area network may be a wireless local area network (WLAN).

[0076] Mode 2: When the first device and the second device are not connected to the same local area network, the above-mentioned collaborative relationship is established based on the Wireless Fidelity Point-to-Point (P2P) WIFIP2P protocol.

[0077] It should be understood that when the collaborative relationship is established based on the WIFIP2P protocol, the first device is the group owner (GO) in the WIFIP2P connection, and the second device is the group client (GC) in the WIFIP2P connection. GO can form a multi-device wireless network with GC, so that a collaborative relationship between multiple devices can be achieved. For example, multiple GCs can establish a screen projection relationship with GO at the same time.

[0078] In some embodiments, when the collaborative relationship is established based on the WIFIP2P protocol, because the first device serves as the GO of the WIFIP2P connection, the first device is a fixed electronic device. If another electronic device is replaced as the first device, the current first device will disconnect the existing WIFIP2P connection with the second device, and then re-establish the WIFIP2P connection with the new first device as the GO, thereby ensuring that the collaborative device (second device) as the GC can only communicate with the central device (first device) as the GO.

[0079] It should be understood that ensuring that the collaborative device (second device) as GC can only communicate with the central device (first device) as GO can shorten the more energy-consuming screen projection time and help reduce the energy consumption of the first device and the second device.

[0080] The following is a specific example Figure 2 For example, assuming Figure 1 The communication system shown includes an electronic device 1 and an electronic device 2. For example, both the electronic device 1 and the electronic device 2 are tablet computers. Figure 3 As shown in FIG. 1 , when the electronic device currently operated by the user is electronic device 1, electronic device 1 is the first device and electronic device 2 is the second device. The user slides the screen to the right on the desktop of electronic device 1 to enter the desktop of electronic device 2, that is, electronic device 1 displays the desktop of electronic device 2. Similarly, continue as Figure 3As shown, when the electronic device currently operated by the user is electronic device 2, electronic device 2 is the first device and electronic device 1 is the second device. The user slides the screen to the left on the desktop of electronic device 2 to enter the desktop of electronic device 1, that is, electronic device 2 displays the desktop of electronic device 1.

[0081] For example, suppose Figure 1 The communication system shown includes electronic device 1, electronic device 2 and electronic device 3. For example, electronic device 1 and electronic device 3 are both mobile phones, and electronic device 2 is a tablet computer. Figure 4 As shown in the figure, when the electronic device currently operated by the user is electronic device 1, for example, electronic device 1 is the first device, and electronic devices 2 and 3 are the second devices. The user slides the screen to the right on the desktop of electronic device 1 to enter the desktop of electronic device 2, that is, electronic device 1 displays the desktop of electronic device 2. Similarly, continue as Figure 4 As shown, in the case where the electronic device currently operated by the user is electronic device 2, electronic device 2 is the first device, and electronic device 1 and electronic device 3 are the second devices. On the desktop of electronic device 2, the user slides the screen to the left to enter the desktop of electronic device 1, that is, electronic device 2 displays the desktop of electronic device 1. On the desktop of electronic device 2, the user slides the screen to the right to enter the desktop of electronic device 3, that is, electronic device 2 displays the desktop of electronic device 3. And in the case where the electronic device currently operated by the user is electronic device 3, electronic device 3 is the first device, and electronic device 1 and electronic device 2 are the second devices. On the desktop of electronic device 3, the user slides the screen to the left to enter the desktop of electronic device 2, that is, electronic device 3 displays the desktop of electronic device 2.

[0082] based on Figure 2In the embodiment shown, after the first device receives the first operation of the user on the first desktop of the first device, the first device can display the second desktop, and the second desktop includes the desktop layout information of the second device that establishes a collaborative relationship with the first device. It should be understood that the second device is a device that establishes a collaborative relationship with the first device, which can be understood as an electronic device equipped by the user. The user knows how to operate the second device, so the first device displays the second desktop including the desktop layout information of the second device. The user does not need to relearn the operation of the second device and the user does not need to understand some abstract concepts. The user can browse the application and resource information of the second device on the second desktop of the first device, and then directly control the second device on the second desktop of the first device to realize the collaborative work of multiple devices. The operation is convenient, the complexity of the operation when multiple devices work together is reduced, and it helps to improve the user experience. In addition, in the embodiment of the present disclosure, the user only needs to issue the first operation, and the first device can display the second desktop. The user does not need to wait for the time consumed by the first device and the second device to establish a collaborative relationship, which further helps to improve the user experience.

[0083] In some embodiments, Figure 5 As shown, after step S102, the method may further include the following steps:

[0084] S201: Receive a second operation from a user on a second desktop.

[0085] In some embodiments, after the first device displays the second desktop, if the user needs to control the second device, the user can issue a second operation on the second desktop. Correspondingly, the first device receives the second operation of the user on the second desktop.

[0086] For example, when the user needs to use an application installed on the second device, the user can click the icon of the application on the second desktop, and then the first device receives the user's click operation on the second desktop.

[0087] S202: Send the control instruction triggered by the second operation to the second device.

[0088] For example, when a user needs to use an application installed on the second device, the user can click on the icon of the application on the second desktop. After the first device receives the user's click operation on the second desktop, it determines that the user needs to start the application, and then the first device sends a startup instruction for starting the application triggered by the click operation to the second device, so that the second device starts the application corresponding to the startup instruction based on the startup instruction.

[0089] based on Figure 5In the embodiment shown, after the first device receives the user's second operation on the second desktop, the first device sends the control instruction triggered by the second operation to the second device, so that the second device executes the control instruction triggered by the second operation, thereby realizing cross-device access to resources or applications, and enabling control of the second device to be completed on the first device without the need for cross-device touch, which is convenient to operate, reduces the complexity of operations when multiple devices work together, and helps to improve the user experience.

[0090] In some embodiments, the first desktop includes at least an icon of the first application. Figure 6 As shown, after step S102, the method may further include the following steps:

[0091] S301: In response to a third operation of a user moving an icon of a first application to a second desktop, first indication information is sent to a second device.

[0092] In some embodiments, when a user needs to install a first application displayed on a first desktop onto a second device, the user can issue a third operation on the first desktop to the first device to move the icon of the first application to the second desktop, and the first device receives the third operation accordingly. The first desktop includes an icon of at least one application, and the first application is one of the at least one application.

[0093] For example, when the user needs to install the first application displayed on the first desktop to the second device, the user can long press the icon of the first application on the first desktop, or quickly click the icon of the first application to select the icon of the first application, and then press the icon of the first application and slide the screen to the right or slide the screen to the left to enter the second desktop, and then release the icon of the first application on the second desktop, thus completing the third operation of moving the icon of the first application to the second desktop. It should be noted that the above description of the third operation is only exemplary, and those skilled in the art can make adaptive adjustments according to actual application scenarios, and the embodiments of the present disclosure are not limited to this.

[0094] After receiving the third operation, the first device sends first indication information to the second device in response to the third operation, where the first indication information is used to instruct the second device to install the first application. In this way, the cross-device application installation is completed.

[0095] As an example, the first indication information includes an installation package of the first application, so that the second device can quickly install the first application based on the installation package of the first application.

[0096] In some embodiments, the second desktop includes at least an icon of the second application. Figure 7 As shown, after step S102, the method may further include the following steps:

[0097] S401: In response to a fourth operation of a user moving an icon of a second application to a first desktop, installing the second application.

[0098] In some embodiments, when the user needs to install the second application displayed on the second desktop to the first device, the user can issue a fourth operation to move the icon of the second application to the first desktop to the first device on the second desktop, and the first device receives the fourth operation accordingly. The second desktop includes an icon of at least one application, and the second application is one of the at least one application.

[0099] For example, when the user needs to install the second application displayed on the second desktop to the first device, the user can long press the icon of the second application on the second desktop, or quickly click the icon of the second application to select the icon of the second application, and then press the icon of the second application and slide the screen to the right or slide the screen to the left to enter the first desktop, and then release the icon of the second application on the first desktop, thus completing the fourth operation of moving the icon of the second application to the first desktop. It should be noted that the above description of the fourth operation is only exemplary, and those skilled in the art can make adaptive adjustments according to actual application scenarios, and the embodiments of the present disclosure are not limited to this.

[0100] After receiving the fourth operation, the first device installs the second application in response to the fourth operation.

[0101] As an example, the first device installs the second application by sending a request message to the second device, where the request message is used to request the installation package of the second application. Afterwards, the first device receives a response message to the request message sent by the second device, where the response message may include the installation package of the second application. Then, the first device may install the second application based on the installation package of the second application.

[0102] As another example, the first device installs the second application, and the first device may obtain the installation package of the second application from an application market configured based on the first device, and then install the second application based on the obtained installation package of the second application.

[0103] based on Figure 6 or Figure 7 In an embodiment of the present disclosure, a device collaboration method is provided, which can complete the cross-device application installation on the first device without operating the second device. The operation is convenient, reduces the operation complexity when multiple devices work together, and helps to improve the user experience.

[0104] It should be noted that the above embodiments are described using the third operation or the fourth operation to implement cross-device application installation as an example. In some embodiments, the third operation or the fourth operation can also be applied to the cross-device data copy and paste process, and the embodiments of the present disclosure do not limit this.

[0105] In some embodiments, the first desktop includes at least an icon of a third application, and the second desktop includes at least an icon of a fourth desktop. The third application and the fourth application are different. Based on this, Figure 8 As shown, after step S102, the method may further include the following steps:

[0106] S501: In response to a user's first selection operation on an icon of a third application on a first desktop and an icon of a fourth application on a second desktop, display a start control.

[0107] In some embodiments, when a user needs to start a third application on a first desktop and a fourth application on a second desktop, the user can issue a first selection operation on an icon of the third application on the first desktop and on an icon of the fourth application on the second desktop. Correspondingly, the first device receives the first selection operation of the user on the icon of the third application on the first desktop and on the icon of the fourth application on the second desktop.

[0108] For example, Fig. 9 As shown, when the user needs to start the third application on the first desktop and the fourth application on the second desktop, the user can long press the icon of the third application on the first desktop, or quickly click the icon of the third application to select the icon of the third application, and then slide the screen to the right or slide the screen to the left to enter the second desktop, and then long press the icon of the fourth application on the second desktop, or quickly click the icon of the fourth application to select the icon of the fourth application, thus completing the first selection operation of the icon of the third application on the first desktop and the icon of the fourth application on the second desktop. It should be noted that the above description of the first selection operation is only exemplary, and those skilled in the art can make adaptive adjustments according to actual application scenarios, and the embodiments of the present disclosure are not limited to this.

[0109] After receiving the first selection operation, the first device displays a start control in response to the first selection operation. The start control may be displayed at the top of the screen of the first device, in the middle of the screen of the first device, or at the bottom of the screen of the first device. The embodiment of the present disclosure does not limit the display position of the start control.

[0110] For example, continue as above Fig. 9 As shown, the content displayed by the start control may be “one-button start”.

[0111] S502: In response to a fifth operation of the user on the start control, start a third application and send second indication information to the second device.

[0112] In some embodiments, after the first device displays the start control, if the user determines that the third application and the fourth application need to be started, the user can issue a fifth operation to the start control. Accordingly, the first device receives the fifth operation of the user on the start control, and in response to the fifth operation, starts the third application and sends the second indication information to the second device. The second indication information is used to indicate the start of the fourth application.

[0113] In some embodiments, the fifth operation may be a single-click operation, a double-click operation, etc., which is not limited in the embodiments of the present disclosure.

[0114] based on Figure 8 In the illustrated embodiment, when a user needs an application on a first device and an application on a second device, a first selection operation can be issued to an application on the first device and an application on the second device. After receiving the first selection operation, the first device displays a start control. After receiving a fifth operation of the user on the start control, the first device starts an application on the first device and sends a second indication message to the second device to instruct the second device to start an application on the second device. In this way, the user only needs to operate on the first device to achieve "one-click start" of cross-device applications. There is no need for cross-device touch, the operation is convenient, the complexity of operations when multiple devices work together is reduced, and it helps to improve the user experience.

[0115] In some embodiments, Fig.10 As shown, after step S502, the method may further include the following steps:

[0116] S503: When it is detected that both the third application and the fourth application are started, display the third desktop.

[0117] In some embodiments, after the first device launches the third application and sends a second indication message to the second device to instruct the second device to launch the fourth application, the first device detects whether both the third application and the fourth application are launched. When it is detected that both the third application and the fourth application are launched, the first device displays a third desktop, wherein the third desktop includes an application window of the third application and an application window of the fourth application.

[0118] As an example, the first device detects whether the third application and the fourth application are both started, which may be that the first device detects that the third application has been started, and upon receiving the start indication information sent by the second device, determines that the third application and the fourth application have been started. The start indication information is used to indicate that the fourth application has been started.

[0119] It should be understood that when the first device detects that both the third application and the fourth application are started, the third desktop is displayed, and the third desktop includes the application window of the third application and the application window of the fourth application, thereby realizing the display of application running status on the same device across device applications, so that users can centrally control the third application and the fourth application on the third desktop, without the need for cross-device touch, and the operation is convenient, which reduces the complexity of operations when multiple devices work together, and helps to improve the user experience.

[0120] For example, Fig.11 FIG. 1 is a schematic diagram showing a display of a third desktop provided by an embodiment of the present disclosure, see Fig.11 , the third desktop includes an application window of a third application and an application window of a fourth application. It should be noted that, Fig.11 The fact that the application window size of the third application and the application window size of the fourth application are consistent is merely exemplary. The embodiments of the present disclosure do not limit the display style, display size, display position, etc. of the application window of the third application and the application window of the fourth application displayed on the third desktop.

[0121] In some embodiments, Fig.12 As shown, after step S503, the method may further include the following steps:

[0122] S504: In response to a second selection operation of the user on the third desktop on the application window of the third application and the application window of the fourth application, select the application window of the third application and the application window of the fourth application.

[0123] In some embodiments, when the user needs to close the third application and the fourth application, the user can issue a second selection operation to the application window of the third application and the application window of the fourth application on the third desktop to select the application window of the third application and the application window of the fourth application. Correspondingly, the first device receives the second selection operation on the third desktop, and selects the application window of the third application and the application window of the fourth application in response to the second selection operation.

[0124] As an example, when the user needs to close the third application and the fourth application, the user can long press the application window of the third application on the third desktop, or quickly click the application window of the third application, to select the application window of the third application, and long press the application window of the fourth application on the second desktop, or quickly click the application window of the fourth application, to select the application window of the fourth application. In this way, the second selection operation of the application window of the third application and the application window of the fourth application on the third desktop is completed.

[0125] As another example, Fig.13As shown, when the user needs to close the third application and the fourth application, the user can also slide over the application window of the third application and the application window of the fourth application on the third desktop with one finger to implement the second selection operation on the application window of the third application and the application window of the fourth application on the third desktop. It should be noted that the above description of the second selection operation is only exemplary, and those skilled in the art can make adaptive adjustments according to actual application scenarios, and the embodiments of the present disclosure are not limited to this.

[0126] Afterwards, the first device selects the application window of the third application and the application window of the fourth application in response to the second selection operation.

[0127] S505: In response to a sixth operation of the user on the third desktop, close the third application and send third indication information to the second device.

[0128] In some embodiments, after the first device selects the application window of the third application and the application window of the fourth application, if the user determines to close the third application and the fourth application, the user can issue a sixth operation on the third desktop to instruct to close the third application and the fourth application. Accordingly, the first device receives the sixth operation on the third desktop, and in response to the sixth operation, closes the third application, and sends third indication information to the second device, where the third indication information is used to instruct to close the fourth application.

[0129] As an example, the sixth operation may be a three-finger push-down operation.

[0130] It should be understood that in response to the user's sixth operation on the third desktop, the third application is closed and the third indication information is sent to the second device, thereby realizing "one-click closing" of the cross-device application on the first device. There is no need for cross-device touch, the operation is convenient, and the complexity of operations when multiple devices work together is reduced, which helps to improve the user experience.

[0131] In some embodiments, Fig.14 As shown, after step S503, the method may further include the following steps:

[0132] S506: Receive a seventh operation from the user on the third desktop.

[0133] In some embodiments, after the first device displays the third desktop, if the user needs to adjust the size of the application window of the third application and the size of the application window of the fourth application, the user can issue a seventh operation on the third desktop, and the seventh operation is used to adjust the size of the application window of the third application and the size of the application window of the fourth application.

[0134] As an example, the seventh operation may be a single-finger circle drawing operation.

[0135] S507: In response to the seventh operation, display a fourth desktop.

[0136] The fourth desktop includes an application window after the third application is adjusted and an application window after the fourth application is adjusted.

[0137] Combination Fig.11 The embodiment shown, as Fig.15 FIG. 1 is a schematic diagram showing a fourth desktop provided by an embodiment of the present disclosure. Fig.15 Before the first device responds to the seventh operation, the size of the application window of the third application displayed on the third desktop is consistent with the size of the application window of the fourth application. After the first device responds to the seventh operation, the size of the application window of the third application displayed on the fourth desktop is larger than the size of the application window of the fourth application, so that the adjusted application window of the third application is highlighted.

[0138] It should be noted that the fact that the size of the application window of the third application displayed on the fourth desktop is larger than the size of the application window of the fourth application is merely exemplary. Those skilled in the art may also adjust the size, display position, and display order of the adjusted application window of the third application and the adjusted application window of the fourth application according to actual application scenarios, and the embodiments of the present disclosure are not limited to this.

[0139] based on Fig.14 In the illustrated embodiment, when the user needs to adjust the size of the application window of the third application and the size of the application window of the fourth application, the user only needs to issue the seventh operation, and the first device can respond to the seventh operation to display the adjusted application window of the third application and the adjusted application window of the fourth application. There is no need for cross-device touch, the operation is convenient, and the complexity of operations when multiple devices work together is reduced, which helps to improve the user experience.

[0140] In some embodiments, Fig.16 As shown, after step S102, the method may further include the following steps:

[0141] S601: Receive update information sent by a second device.

[0142] In some embodiments, when the second device detects that the desktop layout information of the second device has changed, the second device sends update information to the first device. The update information includes information about the change in the desktop layout information of the second device. Accordingly, the first device receives the update information sent by the second device.

[0143] S602: Update the second desktop based on the update information, and display the updated second desktop.

[0144] The updated second desktop includes update information.

[0145] Exemplarily, taking the second device as a mobile phone, when the second device receives a new text message, the notification bar of the second device displays a prompt of the new text message, that is, the notification bar of the second device changes, and then the second device sends update information to the first device, and the update information includes the changed notification bar.

[0146] It should be noted that after the first device and the second device establish a collaborative relationship, the second device will transmit the desktop layout information of the second device to the first device, so that the first device can generate a second desktop based on the desktop layout information of the second device, and display the second desktop. After receiving the desktop layout information of the second device transmitted by the second device, the first device generates a second desktop and displays the second desktop, and the first device locally caches the desktop layout information of the second device, so that when the desktop layout information of the second device changes, the second device only needs to send the information of the change in the desktop layout information of the second device to the first device, that is, only needs to send update information to the first device, thereby reducing the amount of data sent by the second device to the first device, which helps to reduce the energy consumption of the first device and the second device.

[0147] In some embodiments, when at least one of the first device and the second device is in non-WLAN mode, the second device can send the desktop layout information and update information of the second device to the first device based on Bluetooth. In this way, the power consumption of the first device and the second device can be reduced.

[0148] The above embodiment is an exemplary description of the first device and the second device establishing a collaborative relationship. Fig.17 As shown, before step S102, the method may further include the following steps:

[0149] S701. Obtain device information of a second device connected to the same local area network as the first device.

[0150] In some embodiments, after the first device receives the first operation of the user on the first desktop, the first device determines that the user needs to use multi-device collaborative work, so the first device obtains the device information of the second device connected to the same local area network as the first device, so as to establish a collaborative relationship with the second device to achieve multi-device collaborative work. The device information of the second device includes the user account of the second device.

[0151] In some embodiments, when the first device is in a local area network mode, the first device obtains device information of a second device connected to the same local area network as the first device.

[0152] As an example, the local area network is a WLAN.

[0153] S702: When the user account of the second device is consistent with the user account of the first device, establish a collaborative relationship with the second device.

[0154] It should be understood that when the user account of the second device is consistent with the user account of the first device, it means that the second device and the first device are electronic devices belonging to the same user, and the first device can establish a collaborative relationship with the second device.

[0155] In some embodiments, establishing the collaborative relationship with the second device may be establishing the collaborative relationship with the second device based on a WLAN.

[0156] In some embodiments, the collaborative relationship includes a screen projection relationship.

[0157] The above embodiments are described by taking the case where the user account of the second device is consistent with the user account of the first device as an example. In some embodiments, when the user account of the second device is inconsistent with the user account of the first device, the first device sends a first prompt message, the first prompt message includes the identifier of the second device, and the first prompt message is used to prompt the establishment of a collaborative relationship between the first device and the second device. The identifier of the second device is used to uniquely indicate the second device, for example, it can be the name of the second device, so that the user can establish a collaborative relationship between the first device and the second device based on the identifier of the second device.

[0158] It should be understood that when the user account of the second device is inconsistent with the user account of the first device, it means that the second device and the first device may not be electronic devices belonging to the same user, and the first device cannot directly establish a collaborative relationship with the second device. Therefore, the first device sends a first prompt message to prompt the user to establish a collaborative relationship between the first device and the second device through a binding authorization operation.

[0159] In some embodiments, Fig.18 As shown, before step S102, the method may further include the following steps:

[0160] S801. Send a probe request frame.

[0161] In some embodiments, after the first device receives the first operation of the user on the first desktop, the first device determines that the user needs to use multiple devices to work collaboratively, so the first device sends a detection request frame, and the detection request frame is used to discover the second device.

[0162] In some embodiments, when the first device is in a non-local area network mode, the first device sends the probe request frame in a broadcast form.

[0163] S802: Receive a probe response frame.

[0164] In some embodiments, after the second device receives the probe request frame, in response to the probe request frame, it sends a probe response frame, wherein the probe response frame includes device information of the second device sending the probe response frame, and the device information of the second device includes a user account of the second device. Accordingly, the first device receives the probe response frame sent by the second device.

[0165] S803: When the signal strength of the detection response frame is greater than a preset threshold and the user account of the second device is the same as the user account of the first device, establish a collaborative relationship with the second device.

[0166] It should be understood that the signal strength of the detection response frame sent by the second device is related to the distance between the second device and the first device. The stronger the signal strength, the closer the distance to the first device. When the signal strength of the detection response frame is greater than the preset threshold, it means that the distance between the second device and the first device is within a certain range. In this case, the first device establishes a collaborative relationship with the second device, which can reduce the power consumption of the first device and the second device when the first device and the second device work together. The user account of the second device is the same as the user account of the first device, which means that the second device and the first device are electronic devices belonging to the same user, and a collaborative relationship can be established. Therefore, when the signal strength of the detection response frame is greater than the preset threshold, and the user account of the second device is the same as the user account of the first device, it means that the distance between the first device and the second device is close, and the user account is the same, and the first device can establish a collaborative relationship with the second device. Among them, the preset threshold can be pre-set by the administrator, and the embodiment of the present disclosure is not limited to this.

[0167] As an example, the first device establishes a collaborative relationship with the second device, which may be that the first device establishes a collaborative relationship with the second device based on BLE+WIFI P2P.

[0168] In some embodiments, the collaborative relationship includes a screen projection relationship.

[0169] The above embodiment is illustrated by taking the case where the signal strength of the detection response frame is greater than the preset threshold and the user account of the second device is the same as the user account of the first device as an example. In some embodiments, when the signal strength of the detection response frame is greater than the preset threshold and the user account of the second device is different from the user account of the first device, a second prompt message is issued, and the second prompt message includes an identifier of the second device. The second prompt message is used to prompt the establishment of a collaborative relationship between the first device and the second device.

[0170] It should be understood that when the signal strength of the detection response frame is greater than the preset threshold and the user account of the second device is different from the user account of the first device, it means that the distance between the first device and the second device is relatively close, but the first device and the second device may not be electronic devices of the same user, and the first device cannot directly establish a collaborative relationship with the second device. Therefore, when the signal strength of the detection response frame is greater than the preset threshold and the user account of the second device is different from the user account of the first device, the first device sends a second prompt message to prompt the user to establish a collaborative relationship between the first device and the second device through a binding authorization operation.

[0171] based on Fig.18 In the embodiment shown, when the signal strength of the detection response frame is greater than a preset threshold and the user account of the second device is the same as the user account of the first device, a collaborative relationship is established with the second device, which can avoid interference with the first device caused by non-target devices that are more than a certain range away from the first device triggering the scanning and discovery process, thereby helping to reduce the power consumption of the first device to ensure the battery life of the first device.

[0172] The above embodiment is an example of how to establish a collaborative relationship between a first device and a second device. In some embodiments, when multiple devices establish a collaborative relationship in the prior art, the multiple devices need to maintain the collaborative relationship, which results in high energy consumption of the multiple devices. Based on this, Fig.19 As shown, after step S102, the method may further include the following steps:

[0173] S901. Receive an eighth operation from a user on a second desktop.

[0174] In some embodiments, after the first device displays the second desktop, if the user needs to switch the first device to the first desktop, the user issues an eighth operation on the second desktop, where the eighth operation is used to instruct to switch to the first desktop. Correspondingly, the first device receives the eighth operation of the user on the second desktop.

[0175] As an example, the eighth operation may be a sliding operation in the opposite direction of the preset direction. For example, assuming that the preset direction is the right direction, the eighth operation may be a sliding operation in the left direction.

[0176] S902: In response to the eighth operation, display the first desktop and disconnect the collaborative relationship with the second device.

[0177] It should be understood that when the user issues the eighth operation, it means that the user may need to use an application on the first device. At this time, the first device can disconnect the collaborative relationship with the second device, that is, there is no need to maintain the collaborative relationship with the second device, which helps to reduce the power consumption of the first device and the second device to ensure the battery life of the first device and the second device.

[0178] In some embodiments, when the first device detects that all screen projection applications launched on the second device are closed, and the first device establishes a collaborative relationship with the second device via WIFIP2P, the first device disconnects the collaborative relationship with the second device. This can reduce the power consumption of the first device and the second device and ensure the battery life of the first device and the second device.

[0179] The following is an example of a device coordination method provided by an embodiment of the present disclosure. Fig. 20 As shown, the method comprises the following steps:

[0180] S1. A first device receives a first operation of a user on a first desktop.

[0181] In some embodiments, when a user needs to use multiple devices to work together, the user can slide the screen of the first device in a preset direction to slide to the last screen of the first device, that is, the first desktop, and then the user continues to try to slide the screen in the preset direction on the first desktop to issue the first operation. Correspondingly, the first device receives the user's first operation on the first desktop.

[0182] S2. The first device starts the background automatic scanning action of the near-field device, finds the device list, and completes the mutual discovery between devices.

[0183] S3. The first device determines whether the discovered second device has logged in to the same user account.

[0184] If it is determined that the same user account is not logged in, the following S4 is executed. If it is determined that the same user account is logged in, the following S5 is executed.

[0185] S4. The first device sends a first prompt message.

[0186] For the description of the first prompt information, please refer to the above description of the first prompt information, which will not be repeated here.

[0187] S5. The first device establishes a collaborative relationship with the second device.

[0188] In some embodiments, after the first device establishes a collaborative relationship with the second device, the first device can obtain the desktop type and desktop layout information of the second device in the background.

[0189] In some embodiments, after the first device establishes a collaborative relationship with the second device, the first device may also send its own desktop type and desktop layout information to the second device so that the second device can cache the desktop type and desktop layout information of the first device.

[0190] S6. The first device determines whether it is in WLAN mode.

[0191] If it is determined that the device is not in the WLAN mode, the following S7 is executed. If it is determined that the device is in the WLAN mode, the following S8 is executed.

[0192] S7. The first device obtains desktop layout information that needs to be synchronously refreshed in real time.

[0193] Among them, the desktop layout information that needs to be refreshed in real time includes the notification bar, communication status icon, etc.

[0194] As an example, the first device may periodically send request information to the second device for obtaining desktop layout information that requires real-time synchronous refresh, so as to request the second device to report the desktop layout information that requires real-time synchronous refresh, and then the first device receives the desktop layout information that requires real-time synchronous refresh sent by the second device.

[0195] As another example, the second device periodically reports its own desktop layout information that needs to be synchronously refreshed in real time to the first device. Then, the first device receives the desktop layout information that needs to be synchronously refreshed in real time that is periodically reported by the second device.

[0196] S8. The first device caches the desktop layout information of the second device.

[0197] In this way, when the desktop layout information of the second device changes, the second device only needs to send the change information to the first device, which can reduce the amount of data transmitted and the energy consumption between the first device and the second device.

[0198] S9. The first device displays the second desktop in response to the first operation.

[0199] After the first device displays the second desktop, the second desktop includes the desktop layout information of the second device, and the user can browse the applications that can be started on the second desktop.

[0200] S10. The first device receives a second operation of the user on the second desktop, and sends a control instruction triggered by the second operation to the second device.

[0201] When the user needs to start an application on the second desktop, the user issues a second operation on the second desktop. Accordingly, the first device receives the second operation of the user on the second desktop, and sends the control instruction triggered by the second operation to the second device, so that the second device starts the corresponding application based on the control instruction. After that, the first device displays the application window of the application in the form of a projection window.

[0202] As an example, the user can choose to display the application window of the application on the screen of the second device, or the user can also choose to display the application window of the application on the projection window of the first device and the second device in screen mirroring mode at the same time. The embodiments of the present disclosure are not limited to this.

[0203] It should be noted that the above embodiment is described by taking the example of a first device establishing a collaborative relationship with a second device to perform collaborative work. The embodiment of the present disclosure does not limit the number of second devices. The description of a first device establishing a collaborative relationship with multiple second devices to perform collaborative work can refer to the above description of a first device establishing a collaborative relationship with a second device to perform collaborative work, and will not be repeated here.

[0204] The above mainly introduces the solution provided by the present application from the perspective of the interaction between each node. It is understandable that each node, such as the first device, includes a hardware structure and / or software module corresponding to the execution of each function in order to realize the above functions. It should be easily appreciated by those skilled in the art that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0205] Fig.21 The figure shows a schematic diagram of the composition of a collaborative device provided in an embodiment of the present application. Fig.21 As shown, the collaboration device 100 includes a receiving unit 1001 and a display unit 1002. In some embodiments, the collaboration device 100 may further include a sending unit 1003.

[0206] The receiving unit 1001 is used to receive a first operation of a user on a first desktop, where the first desktop includes desktop layout information of a first device.

[0207] The display unit 1002 is used to display a second desktop in response to the first operation, where the second desktop includes desktop layout information of a second device, and the second device is a device that establishes a collaborative relationship with the first device.

[0208] In some embodiments, the first desktop is the last desktop of the first device in a preset direction, and the first operation includes a sliding operation in the preset direction.

[0209] In some embodiments, the second desktop is determined by the first device based on its own screen display parameters and the screen display parameters of the second device, where the screen display parameters include at least one of the following: screen size, screen resolution, and screen pixel density.

[0210] In some embodiments, the desktop layout information includes at least one of the following: an application icon, an application name, a desktop background, a folder icon, a folder name, a status bar, and a notification bar.

[0211] In some embodiments, the second desktop also includes an identification of the second device.

[0212] In some embodiments, the receiving unit 1001 is used to receive a second operation of the user on the second desktop.

[0213] The sending unit 1003 is used to send the control instruction triggered by the second operation to the second device, so that the second device executes the control instruction triggered by the second operation.

[0214] In some embodiments, when the first device and the second device are connected to the same local area network, the collaborative relationship is established based on the local area network; or,

[0215] In the case that the first device and the second device are not connected to the same local area network, the collaborative relationship is established based on the Wireless Fidelity Point-to-Point (WIFIP2P) protocol.

[0216] In some embodiments, the first desktop includes at least an icon of the first application, and the sending unit 1003 is further used to send a first indication message to the second device in response to a third operation of the user moving the icon of the first application to the second desktop, and the first indication message is used to instruct the second device to install the first application.

[0217] In some embodiments, the second desktop includes at least an icon of the second application, and the receiving unit 1001 is further configured to install the second application in response to a fourth operation of the user moving the icon of the second application to the first desktop.

[0218] In some embodiments, the first desktop includes at least an icon of a third application, and the second desktop includes at least an icon of a fourth application, and the third application and the fourth application are different; the display unit 1002 is further configured to display a launch control in response to a first selection operation of the user on the icon of the third application on the first desktop and on the icon of the fourth application on the second desktop;

[0219] The sending unit 1003 is further used to start the third application in response to the user's fifth operation on the start control, and send second indication information to the second device, where the second indication information is used to indicate the start of the fourth application.

[0220] In some embodiments, the display unit 1002 is further configured to display a third desktop when it is detected that both the third application and the fourth application are started, where the third desktop includes an application window of the third application and an application window of the fourth application.

[0221] In some embodiments, the sending unit 1003 is also used to: in response to a second selection operation of the user on the application window of the third application and the application window of the fourth application on the third desktop, select the application window of the third application and the application window of the fourth application; in response to a sixth operation of the user on the third desktop, close the third application, and send a third indication message to the second device, where the third indication message is used to indicate closing the fourth application.

[0222] In some embodiments, the receiving unit 1001 is further used to receive a seventh operation of the user on the third desktop, where the seventh operation is used to adjust the size of the application window of the third application and the size of the application window of the fourth application.

[0223] The display unit 1002 is further configured to display a fourth desktop in response to a seventh operation, where the fourth desktop includes an adjusted application window of the third application and an adjusted application window of the fourth application.

[0224] In some embodiments, the receiving unit 1001 is further used to receive update information sent by the second device, where the update information includes information about changes in the desktop layout information of the second device.

[0225] The display unit 1002 is further configured to update the second desktop based on the update information and display the updated second desktop.

[0226] In some embodiments, the receiving unit 1001 is further used to: obtain device information of a second device connected to the same local area network as the first device, the device information of the second device including a user account of the second device;

[0227] When the user account of the second device is consistent with the user account of the first device, a collaborative relationship with the second device is established.

[0228] In some embodiments, the sending unit 1003 is also used to send a first prompt message when the user account of the second device is inconsistent with the user account of the first device. The first prompt message includes an identifier of the second device, and the first prompt message is used to prompt the establishment of a collaborative relationship between the first device and the second device.

[0229] In some embodiments, the sending unit 1003 is further used to send a probe request frame, where the probe request frame is used to discover the second device.

[0230] The receiving unit 1001 is also used to: receive a detection response frame; the detection response frame includes device information of the second device that sends the detection response frame, and the device information of the second device includes a user account of the second device; when the signal strength of the detection response frame is greater than a preset threshold and the user account of the second device is the same as the user account of the first device, establish a collaborative relationship with the second device.

[0231] In some embodiments, the sending unit 1003 is also used to send a second prompt message when the signal strength of the detection response frame is greater than a preset threshold and the user account of the second device is different from the user account of the first device, the second prompt message includes an identifier of the second device, and the second prompt message is used to prompt the establishment of a collaborative relationship between the first device and the second device.

[0232] In some embodiments, the receiving unit 1001 is further used to receive an eighth operation of the user on the second desktop, where the eighth operation is used to instruct switching to the first desktop;

[0233] The display unit 1002 is further configured to display the first desktop in response to an eighth operation, and disconnect the collaborative relationship with the second device.

[0234] It should be noted that Fig.21 The units in the system may also be referred to as modules, for example, the sending unit may be referred to as a sending module. Fig.21 In the illustrated embodiment, the names of the various units may not be the names shown in the figure. For example, the receiving unit may also be called a communication unit.

[0235] Fig.21 If each unit in the embodiment is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0236] When the above-mentioned collaborative device 100 implements the functions of the above-mentioned integrated modules in the form of hardware, the present application embodiment provides a structural schematic diagram of an electronic device. Fig. 22 As shown, the electronic device 110 includes: a processor 1102 , a communication interface 1103 , and a bus 1104 . Optionally, the electronic device 110 may further include a memory 1101 .

[0237] The processor 1102 may be a device that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor 1102 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor 1102 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0238] The communication interface 1103 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0239] The memory 1101 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0240] As a possible implementation, the memory 1101 may exist independently of the processor 1102, and the memory 1101 may be connected to the processor 1102 via a bus 1104 for storing instructions or program codes. When the processor 1102 calls and executes the instructions or program codes stored in the memory 1101, the device coordination method provided in the embodiment of the present application can be implemented.

[0241] In another possible implementation, the memory 1101 may also be integrated with the processor 1102 .

[0242] The bus 1104 may be an extended industry standard architecture (EISA) bus, etc. The bus 1104 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 22 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0243] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the electronic device can be divided into different functional modules to complete all or part of the functions described above.

[0244] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. The computer-readable storage medium can be any of the above embodiments or memory. The above computer-readable storage medium can also be an external storage device of the above electronic device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above electronic device. Further, the above computer-readable storage medium can also include both an internal storage unit of the above electronic device and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above electronic device. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.

[0245] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program product is run on a computer, the computer is enabled to execute any one of the device collaboration methods provided in the above embodiments.

[0246] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0247] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0248] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A device collaboration method, characterized in that: The method is applied to a first device, and the method includes: Receiving a first operation of a user on a first desktop, where the first desktop includes desktop layout information of the first device; In response to the first operation, a second desktop is displayed, wherein the second desktop includes desktop layout information of a second device, and the second device is a device that establishes a collaborative relationship with the first device.

2. The method according to claim 1, characterized in that The first desktop is the last desktop of the first device in a preset direction, and the first operation includes a sliding operation in the preset direction.

3. The method according to claim 1, characterized in that The second desktop is determined by the first device based on its own screen display parameters and the screen display parameters of the second device, where the screen display parameters include at least one of the following: screen size, screen resolution, and screen pixel density.

4. The method according to claim 1, characterized in that: The desktop layout information includes at least one of the following: an application icon, an application name, a desktop background, a folder icon, a folder name, a status bar, and a notification bar.

5. The method according to claim 1, characterized in that The second desktop also includes an identifier of the second device.

6. The method according to claim 1, characterized in that The method further comprises: receiving a second operation of the user on the second desktop; The control instruction triggered by the second operation is sent to the second device, so that the second device executes the control instruction triggered by the second operation.

7. The method according to claim 1, characterized in that In the case where the first device and the second device are connected to the same local area network, the collaborative relationship is established based on the local area network; or, In the case that the first device and the second device are not connected to the same local area network, the collaborative relationship is established based on the Wireless Fidelity Point-to-Point (WIFIP2P) protocol.

8. The method according to claim 1, characterized in that The first desktop includes at least an icon of a first application, and the method further includes: In response to a third operation of the user moving the icon of the first application to the second desktop, first indication information is sent to the second device, where the first indication information is used to instruct the second device to install the first application.

9. The method according to claim 1, characterized in that: The second desktop includes at least an icon of a second application, and the method further includes: In response to a fourth operation of the user moving the icon of the second application to the first desktop, the second application is installed.

10. The method according to claim 1, characterized in that The first desktop includes at least an icon of a third application, and the second desktop includes at least an icon of a fourth application, and the third application and the fourth application are different; the method further includes: In response to a first selection operation of the user on the icon of the third application on the first desktop and on the icon of the fourth application on the second desktop, displaying a launch control; In response to a fifth operation of the user on the start control, the third application is started, and second indication information is sent to the second device, where the second indication information is used to instruct the start of the fourth application.

11. The method according to claim 10, characterized in that The method further comprises: When it is detected that both the third application and the fourth application are started, a third desktop is displayed, where the third desktop includes an application window of the third application and an application window of the fourth application.

12. The method according to claim 11, characterized in that After displaying the third desktop, the method further includes: In response to a second selection operation of the user on the application window of the third application and the application window of the fourth application on the third desktop, selecting the application window of the third application and the application window of the fourth application; In response to a sixth operation of the user on the third desktop, the third application is closed, and third indication information is sent to the second device, where the third indication information is used to instruct closing the fourth application.

13. The method according to claim 11, characterized in that After displaying the third desktop, the method further includes: receiving a seventh operation of the user on the third desktop, wherein the seventh operation is used to adjust a size of an application window of the third application and a size of an application window of the fourth application; In response to the seventh operation, a fourth desktop is displayed, wherein the fourth desktop includes the adjusted application window of the third application and the adjusted application window of the fourth application.

14. The method according to claim 1, characterized in that The method further comprises: receiving update information sent by the second device, wherein the update information includes information about changes in the desktop layout information of the second device; Based on the update information, the second desktop is updated, and the updated second desktop is displayed.

15. The method according to claim 1, characterized in that Before displaying the second desktop in response to the first operation, the method further includes: Acquire device information of a second device connected to the same local area network as the first device, where the device information of the second device includes a user account of the second device; When the user account of the second device is consistent with the user account of the first device, a collaborative relationship with the second device is established.

16. The method according to claim 15, characterized in that The method further comprises: When the user account of the second device is inconsistent with the user account of the first device, a first prompt message is issued, the first prompt message includes an identifier of the second device, and the first prompt message is used to prompt the establishment of a collaborative relationship between the first device and the second device.

17. The method according to claim 1, characterized in that Before displaying the second desktop in response to the first operation, the method further includes: Sending a probe request frame, where the probe request frame is used to discover the second device; receiving a probe response frame; the probe response frame including device information of the second device that sends the probe response frame, and the device information of the second device including a user account of the second device; When the signal strength of the detection response frame is greater than a preset threshold and the user account of the second device is the same as the user account of the first device, a collaborative relationship with the second device is established.

18. The method according to claim 17, characterized in that The method further comprises: When the signal strength of the detection response frame is greater than the preset threshold and the user account of the second device is different from the user account of the first device, a second prompt message is issued, and the second prompt message includes an identifier of the second device, and the second prompt message is used to prompt the establishment of a collaborative relationship between the first device and the second device.

19. The method according to claim 1, characterized in that The method further comprises: receiving an eighth operation of the user on the second desktop, where the eighth operation is used to instruct switching to the first desktop; In response to the eighth operation, the first desktop is displayed, and the collaborative relationship with the second device is disconnected.

20. An electronic device, characterized in that: include: Processor and memory; The memory stores instructions executable by the processor; When the processor is configured to execute the instructions, the electronic device implements the method according to any one of claims 1 to 19.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises computer instructions, which, when executed on a computer, cause the computer to perform the method according to any one of claims 1 to 19.

Citation Information

Cited By

  • Device coordination method, electronic device, and storage medium

    EP4603962A1

  • Device coordination method, electronic device, and storage medium

    WO2025055536A1