Device coordination method, electronic device, and storage medium

By receiving user operations on the first device and displaying desktop layout information of the second device, the complex operation problem in the multi-device collaboration scenario is solved, convenient multi-device collaborative work is achieved, and user experience is improved.

WO2025055536A1PCT designated stage expired Publication Date: 2025-03-20ZTE CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/105569
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-13
Filing Date
2024-07-15
Publication Date
2025-03-20

AI Technical Summary

Technical Problem

In the multi-device collaboration scenario, the functional entrance is deep and the operation is complex. Users need to understand abstract concepts, resulting in poor user experience.

Method used

By receiving user operations on the desktop of the first device and displaying desktop layout information of the second device, the user can directly operate the second device on the second desktop to realize the coordinated work of multiple devices.

Benefits of technology

The operation process of collaborative work of multiple devices has been simplified, the operation complexity has been reduced, and the user experience has been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024105569_20032025_PF_FP_ABST
    Figure CN2024105569_20032025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a device coordination method, an electronic device, and a storage medium. The device coordination method is applied to a first device, and comprises: receiving a first operation of a user on a first desktop, the first desktop comprising desktop layout information of the first device; and in response to the first operation, displaying a second desktop, the second desktop comprising desktop layout information of a second device, and the second device being a device that establishes a coordinative relationship with the first device.
Need to check novelty before this filing date? Find Prior Art

Description

Device collaboration method, electronic device, and storage medium

[0001] This application claims priority to Chinese patent application No. 202311188153.9 filed on September 13, 2023, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] 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

[0003] With the development of smart devices and smart home technologies, a user or household often has multiple electronic devices. These devices can form a distributed system, forming interoperable synergies to complete distributed business or functions.

[0004] Summary of the Invention

[0005] In a first aspect, a device collaboration method is provided, the device collaboration method being applied to a first device. The device collaboration method comprises: receiving a first user operation on a first desktop, the first desktop including 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, the second device being a device establishing a collaborative relationship with the first device.

[0006] In a second aspect, a collaborative device is provided, which is applied to a first device. The collaborative device includes: a receiving unit for receiving a first operation of a user on a first desktop, the first desktop including desktop layout information of the first device; and a display unit for displaying a second desktop in response to the first operation, the second desktop including desktop layout information of a second device, the second device being a device establishing a collaborative relationship with the first device.

[0007] 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.

[0008] In a fourth aspect, a computer-readable storage medium is provided, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes the method provided in the first aspect.

[0009] In a fifth aspect, a computer program product comprising computer instructions is provided, which, when executed on a computer, causes the computer to execute the method provided in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0011] FIG1 is a schematic structural diagram of a communication system according to an embodiment of the present disclosure.

[0012] FIG2 is a flow chart of a device collaboration method according to an embodiment of the present disclosure.

[0013] FIG3 is a schematic diagram of interaction of an electronic device according to an embodiment of the present disclosure.

[0014] FIG4 is a schematic diagram of interaction of another electronic device according to an embodiment of the present disclosure.

[0015] FIG5 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0016] FIG6 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0017] FIG7 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0018] FIG8 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0019] FIG9 is a schematic diagram of a first selection operation according to an embodiment of the present disclosure.

[0020] FIG10 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0021] FIG11 is a schematic diagram showing a third desktop according to an embodiment of the present disclosure.

[0022] FIG12 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0023] FIG13 is a schematic diagram of a second selection operation according to an embodiment of the present disclosure.

[0024] FIG14 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0025] FIG15 is a schematic diagram showing a fourth desktop according to an embodiment of the present disclosure.

[0026] FIG16 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0027] FIG17 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0028] FIG18 is a flowchart of another device collaboration method according to an embodiment of the present disclosure.

[0029] FIG19 is a flow chart of another device collaboration method according to an embodiment of the present disclosure.

[0030] FIG20 is a schematic diagram of the overall process of a device collaboration method according to an embodiment of the present disclosure.

[0031] FIG21 is a schematic diagram showing the composition of a collaborative device according to an embodiment of the present disclosure.

[0032] FIG22 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] The following will be combined with the accompanying 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 embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present disclosure.

[0034] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and its other forms, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open and 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" are intended to indicate that the particular 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 particular features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.

[0035] The terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature identified with "first," "second," etc., may explicitly or implicitly include one or more of such features. Throughout this disclosure, unless otherwise specified, "plurality" means two or more.

[0036] In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to describe examples, illustrations, or explanations. Any embodiment or design described in the embodiments of the present disclosure by "exemplary" or "for example" 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 the relevant concepts in a concrete way.

[0037] 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.

[0038] As the variety of electronic devices gradually increases, users can simultaneously equip themselves with laptops, PADs, mobile phones, smart screens, smart watches, smart car machines configured in smart vehicles, and other electronic devices. How to more conveniently manage these various electronic devices, enable them to interconnect with each other, form a set of intelligent ecosystems that can be freely combined in the near field, and establish intelligent collaborative linkages between multiple electronic devices has gradually become a hot spot for product innovation. For example, one type of inter-device collaboration in related technologies is to achieve collaboration between mobile phones and tablets (e.g., PADs), computers, or TVs through the screen projection function.

[0039] Currently, in multi-device collaboration scenarios, the following three problems often exist.

[0040] 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 electronic devices.

[0041] 2. Establishing collaborative relationships between electronic devices is relatively complex, requiring separate operations on both devices. The interactive process has many steps and requires users to learn a certain amount of skills. For example, screen mirroring, copying and pasting across devices, pushing applications to the other device through the recent application list, or pulling up applications from the other device in the docker zone to mirror the screen to the local device are relatively complex operations and require users to master them.

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

[0043] In summary, currently in the scenario where multiple devices work together, the operation is rather cumbersome and the user experience is not good.

[0044] 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 the first operation of the user on the first desktop of the first device, the first device can display a 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. It should be understood that the second device is a device that has established a collaborative relationship with the first device, and can be understood as an electronic device equipped by the user, and the user understands how to operate the second device. Therefore, 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 directly operate the second device on the second desktop to realize the collaborative work of multiple devices. The operation is convenient, which reduces the complexity of the operation when multiple devices work together, and helps to improve the user experience.

[0045] The following describes the solutions of the embodiments of the present disclosure in conjunction with the accompanying drawings.

[0046] FIG1 is a schematic structural diagram of a communication system according to an embodiment of the present disclosure. Referring to FIG1 , the communication system may include multiple electronic devices (eg, electronic device 11 , electronic device 12 , and electronic device 13 ).

[0047] For each of the multiple electronic devices, the electronic device can be a mobile phone, a PC (Personal Computer), a tablet computer, a desktop computer, a handheld computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a router, a television, an electronic voice recorder, and the like. Alternatively, the electronic device can include a speaker, a camera, an air conditioner, a refrigerator, smart curtains, a projector, a desk lamp, a chandelier, an electric rice cooker, a security device (such as a smart electronic lock), a robot, a sweeper, a smart scale, and the like that can access a home wireless local area network. Alternatively, the electronic device can include a smart headset, smart glasses, a smart watch, a smart bracelet, an augmented reality (AR) or virtual reality (VR) device, a wireless locator, a tracker, an electronic collar, and the like. The disclosed embodiments do not impose any particular restrictions on the form of the electronic device.

[0048] Continuing with FIG1 , the embodiment of the present disclosure takes the electronic device 11 being a mobile phone, the electronic device 12 being a tablet computer, and the electronic device 13 being a laptop computer as an example to illustrate a device collaboration method provided by the embodiment of the present disclosure.

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

[0050] 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 (NFC), voice over Internet protocol (VoIP), communication protocols that support network slicing architecture, or any other suitable communication protocols.

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

[0052] It should be understood that FIG1 is an exemplary structural diagram, and the number of electronic devices included in the communication system shown in FIG1 is not limited. Moreover, in addition to the electronic devices shown in FIG1 , the communication system shown in FIG1 may also include other devices, which is not limited.

[0053] Next, as shown in FIG2 , an embodiment of the present disclosure provides a device collaboration method, which is applied to a first device. The first device may be one of the multiple electronic devices in the communication system shown in FIG1 above. For example, the first device is the electronic device 11 shown in FIG1 above. 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 embodiment of the present disclosure. The device collaboration method includes the following S101 and S102.

[0054] In S101, a first operation of a user is received on a first desktop.

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

[0056] 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, which includes a left direction and a right direction.

[0057] For example, 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.

[0058] 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 merely exemplary, and those skilled in the art may make corresponding adjustments to the desktop layout information based on actual application scenarios, and the embodiments of the present disclosure are not limited thereto.

[0059] In S102 , in response to the first operation, a second desktop is displayed.

[0060] The second desktop includes 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, please 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, please refer to S701 and S702 below, or refer to the description of S801 to S803 below, which will not be repeated here.

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

[0062] In some embodiments, the second desktop further includes an identifier of the second device, where the identifier of the second device is used to uniquely indicate the second device, and may be, for example, the name of the second device.

[0063] 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.

[0064] 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. 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.

[0065] 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.

[0066] Therefore, in an embodiment of the present disclosure, 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. 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 its own screen display parameters 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.

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

[0068] 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.

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

[0070] In mode 2, when 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 Peer-to-Peer (WIFIP2P) protocol.

[0071] 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.

[0072] In some embodiments, when a collaborative relationship is established based on the Wi-Fi IP2P protocol, because the first device serves as the GO of the Wi-Fi IP2P 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 Wi-Fi IP2P connection with the second device and then re-establish a Wi-Fi IP2P connection with the new first device as the GO, thereby ensuring that the collaborative device (second device) serving as the GC can only communicate with the central device (first device) serving as the GO.

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

[0074] The embodiment shown in FIG2 is illustrated below with reference to an example. For example, assuming that the communication system shown in FIG1 includes electronic device 1 and electronic device 2, take electronic device 1 and electronic device 2 as an example, both being tablet computers. As shown in FIG3 , 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. On the desktop of electronic device 1, the user swipes the screen to the right to enter the desktop of electronic device 2, that is, electronic device 1 displays the desktop of electronic device 2. Similarly, continuing as shown in FIG3 , 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. On the desktop of electronic device 2, the user swipes 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.

[0075] As another example, assume that the communication system shown in Figure 1 includes electronic devices 1, 2, and 3. For example, assume that electronic devices 1 and 3 are both mobile phones, and electronic device 2 is a tablet computer. As shown in Figure 4, if the user is currently operating electronic device 1, electronic device 1 is the first device, and electronic devices 2 and 3 are the second devices. On the desktop of electronic device 1, the user swipes the screen right to access the desktop of electronic device 2, meaning that electronic device 1 displays the desktop of electronic device 2. Similarly, continuing with Figure 4, if the user is currently operating electronic device 2, electronic device 2 is the first device, and electronic devices 1 and 3 are the second devices. On the desktop of electronic device 2, the user swipes the screen left to access the desktop of electronic device 1, meaning that electronic device 2 displays the desktop of electronic device 1. On the desktop of electronic device 2, the user swipes the screen right to access the desktop of electronic device 3, meaning that electronic device 2 displays the desktop of electronic device 3. If the user is currently operating electronic device 3, electronic device 3 is the first device, and electronic devices 1 and 2 are the second devices. The user slides the screen to the left on the desktop of electronic device 3 to enter the desktop of electronic device 2, that is, electronic device 3 displays the desktop of electronic device 2.

[0076] Based on the embodiment shown in Figure 2, 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, which includes the desktop layout information of the second device that has established 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 understands how to operate the second device. Therefore, the first device displays the second desktop including the desktop layout information of the second device. The user does not need to relearn how to operate the second device or 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 achieve multi-device collaborative operation. The operation is convenient, the complexity of the operation when multiple devices work together is reduced, and it helps to improve the user's experience. In addition, in the embodiment of the present disclosure, the user only needs to issue the first operation for the first device to 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's experience.

[0077] In some embodiments, as shown in FIG5 , after S102 , the device coordination method may further include the following S201 and S202 .

[0078] In S201, a second operation of a user is received on a second desktop.

[0079] 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. Accordingly, the first device receives the user's second operation on the second desktop.

[0080] 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, and then the first device receives the user's click operation on the second desktop.

[0081] In S202, the control instruction triggered by the second operation is sent to the second device.

[0082] 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 the startup instruction of 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.

[0083] Based on the embodiment shown in Figure 5, 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 access to cross-device resources or applications, and realizing the ability to control the second device on the first device without 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.

[0084] In some embodiments, the first desktop includes at least an icon of the first application. Based on this, as shown in FIG6 , after S102 , the device collaboration method may further include the following S301 .

[0085] In S301, 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.

[0086] In some embodiments, when a user wants 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. Accordingly, the first device receives the third operation. The first desktop includes an icon of at least one application, and the first application is one of the at least one applications.

[0087] For example, when a 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. In this way, the third operation of moving the icon of the first application to the second desktop is completed. 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.

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

[0089] 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.

[0090] In some embodiments, the second desktop includes at least an icon of the second application. Based on this, as shown in FIG. 7 , after S102 , the device collaboration method may further include the following S401 .

[0091] In S401 , 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.

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

[0093] 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. In this way, the fourth operation of moving the icon of the second application to the first desktop is completed. 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. The embodiments of the present disclosure are not limited to this.

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

[0095] As an example, a first device may install a second application by sending a request to a second device, requesting the installation package for the second application. The first device then receives a response from the second device to the request, which may include the installation package for the second application. The first device may then install the second application based on the installation package.

[0096] As another example, the first device installs the second application, which may be that the first device obtains the installation package of the second application from an application market based on its own configuration, and then installs the second application based on the obtained installation package of the second application.

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

[0098] 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.

[0099] 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. Based on this, as shown in FIG8 , after S102 , the device collaboration method may further include the following S501 and S502 .

[0100] In 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, a launch control is displayed.

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

[0102] For example, as shown in Figure 9, when a user needs to launch a third application on the first desktop and a 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, then swipe the screen right or 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. In this way, 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 is completed. It should be noted that the above description of the first selection operation is merely exemplary, and those skilled in the art can make adaptive adjustments based on actual application scenarios. The embodiments of the present disclosure do not limit this.

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

[0104] For example, continuing with the above-mentioned FIG9 , the content displayed by the start control may be “one-button start”.

[0105] In S502, in response to the user's fifth operation on the start control, the third application is started, and second indication information is sent to the second device.

[0106] In some embodiments, after the first device displays the launch control, if the user determines that the third application and the fourth application need to be launched, the user can issue a fifth operation to the launch control. Accordingly, the first device receives the user's fifth operation on the launch control, and in response to the fifth operation, launches the third application and sends second indication information to the second device. The second indication information is used to instruct the launch of the fourth application.

[0107] 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.

[0108] Based on the embodiment shown in FIG8 , when a user needs to launch 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 launch control. Then, after receiving a fifth operation of the user on the launch control, the first device launches an application on the first device and sends a second instruction message to the second device to instruct the second device to launch an application on the second device. In this way, the user only needs to operate on the first device to achieve "one-click launch" of cross-device applications, without the need for cross-device touch control. The operation is convenient, reducing the complexity of operations when multiple devices work together, and helping to improve the user experience.

[0109] In some embodiments, as shown in FIG10 , after S502 , the device collaboration method may further include the following S503 .

[0110] In S503 , when it is detected that both the third application and the fourth application are started, the third desktop is displayed.

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

[0112] As an example, the first device detects whether both the third application and the fourth application are started. This may be that the first device detects that the third application has been started and, upon receiving start indication information sent by the second device, determines that both 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.

[0113] It should be understood that when the first device detects that both the third application and the fourth application are launched, it displays the third desktop. The third desktop includes the application window of the third application and the application window of the fourth application, thereby realizing the cross-device application display of application running status on the same device, allowing the user to centrally control the third application and the fourth application on the third desktop without the need for cross-device touch control, which is convenient and reduces the operational complexity of multi-device collaborative operation, thereby helping to improve the user experience.

[0114] For example, FIG11 is a schematic diagram showing a display of a third desktop according to an embodiment of the present disclosure. Referring to FIG11 , the third desktop includes an application window of a third application and an application window of a fourth application. It should be noted that the consistent size of the application window of the third application and the application window of the fourth application shown in FIG11 is merely exemplary, and the present disclosure does not limit the display style, size, or position of the application window of the third application and the application window of the fourth application displayed on the third desktop.

[0115] In some embodiments, as shown in FIG12 , after S503 , the device collaboration method may further include the following S504 and S505 .

[0116] In S504 , in response to the user's second selection operation on the application window of the third application and the application window of the fourth application on the third desktop, the application window of the third application and the application window of the fourth application are selected.

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

[0118] As an example, if 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.

[0119] As another example, as shown in Figure 13, when a user needs to close a third application and a fourth application, the user can slide over the application window of the third application and the application window of the fourth application on the third desktop with a single finger to perform a 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 merely exemplary, and those skilled in the art may make adaptive adjustments based on actual application scenarios, and the present disclosed embodiments do not impose any limitations on this.

[0120] 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.

[0121] In S505 , 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.

[0122] 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 the closing of the third application and the fourth application. Accordingly, the first device receives the sixth operation on the third desktop, closes the third application in response to the sixth operation, and sends third instruction information to the second device, where the third instruction information is used to instruct the closing of the fourth application.

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

[0124] 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 the "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.

[0125] In some embodiments, as shown in FIG. 14 , after S503 , the device collaboration method may further include the following S506 and S507 .

[0126] In S506 , a seventh operation of the user is received on the third desktop.

[0127] 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. 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.

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

[0129] In S507 , in response to the seventh operation, the fourth desktop is displayed.

[0130] The fourth desktop includes an adjusted application window of the third application and an adjusted application window of the fourth application.

[0131] In conjunction with the embodiment shown in FIG14 , FIG15 is a schematic diagram of a fourth desktop display according to an embodiment of the present disclosure. Referring to FIG15 , 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.

[0132] 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. The embodiments of the present disclosure do not limit this.

[0133] Based on the embodiment shown in Figure 14, 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.

[0134] In some embodiments, as shown in FIG. 16 , after S102 , the device collaboration method may further include the following S601 and S602 .

[0135] In S601, update information sent by the second device is received.

[0136] In some embodiments, upon detecting a change in the desktop layout information of the second device, 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.

[0137] In S602, the second desktop is updated based on the update information, and the updated second desktop is displayed.

[0138] The updated second desktop includes update information.

[0139] For example, 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.

[0140] 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 changed information in the desktop layout information of the second device to the first device, that is, it 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 and second devices.

[0141] 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 desktop layout information and update information of the second device to the first device via Bluetooth, thereby reducing power consumption of the first device and the second device.

[0142] The above embodiment is an exemplary description of the first device and the second device establishing a collaborative relationship. In some embodiments, as shown in FIG17 , before S102 , the device collaboration method may further include the following S701 and S702 .

[0143] In S701, device information of a second device connected to the same local area network as the first device is obtained.

[0144] In some embodiments, after a first device receives a first operation from a user on a first desktop, the first device determines that the user needs to use multi-device collaborative work. Therefore, the first device obtains device information of a 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 a user account of the second device.

[0145] 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.

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

[0147] In S702 , 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.

[0148] 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.

[0149] 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.

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

[0151] The above embodiments are described using 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 issues a first prompt message, and the first prompt message includes the identifier of the second device. 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 identify 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.

[0152] 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.

[0153] In some embodiments, as shown in FIG. 18 , before S102 , the device collaboration method may further include the following S801 to S803 .

[0154] In S801 , a probe request frame is sent.

[0155] In some embodiments, after receiving a first operation from a user on a first desktop, the first device determines that the user needs to use multiple devices for collaborative work, and thus sends a probe request frame for discovering a second device.

[0156] In some embodiments, when the first device is in a non-LAN mode, the first device sends the probe request frame in a broadcast form.

[0157] In S802, a probe response frame is received.

[0158] In some embodiments, after receiving the probe request frame, the second device sends a probe response frame in response to the probe request frame. 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.

[0159] In S803, when the signal strength of the probe 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.

[0160] It should be understood that the signal strength of the probe 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 probe 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 can establish a collaborative relationship. Therefore, when the signal strength of the probe 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 accounts are the same, and the first device can establish a collaborative relationship with the second device. The preset threshold can be pre-set by the administrator, and the embodiments of the present disclosure are not limited to this.

[0161] As an example, the first device establishes a collaborative relationship with the second device, and the first device may establish a collaborative relationship with the second device based on BLE+WIFI P2P.

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

[0163] The above embodiment is described using the case where the signal strength of the probe 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 as an example. In some embodiments, when the signal strength of the probe 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. The second prompt message includes an identifier of the second device and is used to prompt the establishment of a collaborative relationship between the first device and the second device.

[0164] It should be understood that when the signal strength of the probe response frame is greater than a preset threshold and the user account of the second device is different from that 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 belong to the 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 probe response frame is greater than a preset threshold and the user account of the second device is different from that 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.

[0165] Based on the embodiment shown in Figure 18, 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 between the first device and the second device. This can avoid interference with the first device caused by non-target devices that are more than a certain distance away from the first device triggering the scanning and discovery process, which helps to reduce the power consumption of the first device to ensure the battery life of the first device.

[0166] 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 related technologies, they need to maintain the collaborative relationship, which results in high energy consumption for multiple devices. Based on this, as shown in Figure 19, after S102, the device collaboration method may further include the following S901 and S902.

[0167] In S901, an eighth operation of the user is received on the second desktop.

[0168] In some embodiments, after the first device displays the second desktop, if the user desires to switch the first device to the first desktop, the user issues an eighth operation on the second desktop, the eighth operation being used to instruct the user to switch to the first desktop. Accordingly, the first device receives the eighth operation on the second desktop.

[0169] 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.

[0170] In S902, in response to the eighth operation, the first desktop is displayed, and the collaborative relationship with the second device is disconnected.

[0171] 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.

[0172] 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.

[0173] Another device collaboration method provided by the embodiment of the present disclosure is described below with reference to an example. As shown in FIG20 , the device collaboration method includes the following steps S1 to S10 .

[0174] In S1, a first device receives a first operation of a user on a first desktop.

[0175] In some embodiments, when a user needs to use multiple devices for collaborative work, the user can swipe the screen of a first device in a preset direction to reach the last screen of the first device, i.e., the first desktop. The user then attempts to swipe the screen in the preset direction on the first desktop to issue a first operation. Accordingly, the first device receives the user's first operation on the first desktop.

[0176] In 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.

[0177] In S3, the first device determines whether the discovered second device is logged in with the same user account.

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

[0179] In S4, the first device sends a first prompt message.

[0180] 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.

[0181] In S5 , the first device establishes a collaborative relationship with the second device.

[0182] 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.

[0183] 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.

[0184] In S6 , the first device determines whether it is in WLAN mode.

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

[0186] In S7, the first device obtains desktop layout information that needs to be synchronously refreshed in real time.

[0187] The desktop layout information that needs to be refreshed in real time includes the notification bar, communication status icons, etc.

[0188] As an example, the first device may periodically send a request message for obtaining desktop layout information that requires real-time synchronous refresh to the second device, requesting the second device to report the desktop layout information that requires real-time synchronous refresh. Thereafter, the first device receives the desktop layout information that requires real-time synchronous refresh sent by the second device.

[0189] As another example, the second device periodically reports its own desktop layout information that needs real-time synchronous refreshing to the first device. Then, the first device receives the desktop layout information that needs real-time synchronous refreshing periodically reported by the second device.

[0190] In S8 , the first device caches the desktop layout information of the second device.

[0191] 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 energy consumption between the first device and the second device.

[0192] In S9 , the first device displays the second desktop in response to the first operation.

[0193] After the first device displays the second desktop, the second desktop includes desktop layout information of the second device, and the user can browse startable applications on the second desktop.

[0194] In 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.

[0195] If a user needs to launch an application on the second desktop, they issue a second operation on the second desktop. Accordingly, the first device receives the second operation on the second desktop and sends the control instruction triggered by the second operation to the second device, so that the second device launches the corresponding application based on the control instruction. The first device then displays the application window of the application as a projection window.

[0196] 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. This embodiment of the present disclosure is not limited to this.

[0197] It should be noted that the above embodiments are described by taking the example of a first device establishing a collaborative relationship with a second device to perform collaborative work. The embodiments of the present disclosure do 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.

[0198] The above mainly introduces the solution provided by the present disclosure 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. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present disclosure 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 be beyond the scope of the present disclosure.

[0199] FIG21 is a schematic diagram showing the composition of a collaborative device according to an embodiment of the present disclosure. As shown in FIG21 , the collaborative device 100 includes a receiving unit 1001 and a display unit 1002. In some embodiments, the collaborative device 100 may further include a sending unit 1003.

[0200] The receiving unit 1001 is 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.

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

[0202] 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.

[0203] 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.

[0204] 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.

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

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

[0207] The sending unit 1003 is configured 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.

[0208] 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, when 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.

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

[0210] 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.

[0211] In some embodiments, the first desktop includes at least an icon for a third application, and the second desktop includes at least an icon for a fourth application, where 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 user first selecting the icon for the third application on the first desktop and the icon for the fourth application on the second desktop;

[0212] The sending unit 1003 is further configured to start the third application in response to a fifth operation of the user on the start control, and send second indication information to the second device, wherein the second indication information is used to instruct the start of the fourth application.

[0213] 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. The third desktop includes an application window of the third application and an application window of the fourth application.

[0214] In some embodiments, the sending unit 1003 is further configured to: in response to a second selection operation by 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; and in response to a sixth operation by the user on the third desktop, close the third application and send third indication information to the second device. The third indication information is used to instruct the closing of the fourth application.

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

[0216] The display unit 1002 is further configured to display a fourth desktop in response to a seventh operation. The fourth desktop includes an application window after adjustment of the third application and an application window after adjustment of the fourth application.

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

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

[0219] In some embodiments, the receiving unit 1001 is also 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; and establish a collaborative relationship with the second device when the user account of the second device is consistent with the user account of the first device.

[0220] In some embodiments, the sending unit 1003 is further configured 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 first device to establish a collaborative relationship with the second device.

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

[0222] Receiving unit 1001 is further configured to receive a probe response frame. The probe response frame includes device information of the second device sending the probe response frame, where the device information of the second device includes a user account of the second device. A collaborative relationship is established between the first device and the second device if the signal strength of the probe 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.

[0223] In some embodiments, the sending unit 1003 is further configured to send a second prompt message when the signal strength of the probe 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 first device to establish a collaborative relationship with the second device.

[0224] In some embodiments, the receiving unit 1001 is further configured to receive an eighth operation from the user on the second desktop, the eighth operation being used to instruct a switch to the first desktop. The display unit 1002 is further configured to display the first desktop in response to the eighth operation and to disconnect the collaborative relationship with the second device.

[0225] It should be noted that the units in Figure 21 may also be referred to as modules, for example, the sending unit may be referred to as a sending module. In addition, in the embodiment shown in Figure 21, the names of the units may not be the names shown in the figure, for example, the receiving unit may also be referred to as a communication unit.

[0226] If the various units in Figure 21 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the relevant technology 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, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present disclosure. The storage medium for storing computer software products includes: U disk (universal serial bus flash disk, universal serial bus flash disk), mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc. Various media that can store program codes.

[0227] In the case where the collaborative device 100 implements the functions of the integrated modules in hardware, an embodiment of the present disclosure provides a schematic diagram of the structure of an electronic device. As shown in Figure 22, the electronic device 110 includes: a processor 1102, a communication interface 1103, and a bus 1104. In some embodiments, the electronic device 110 may also include a memory 1101.

[0228] Processor 1102 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. 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 device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. 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 (digital signal processor) and a microprocessor, and the like.

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

[0230] The memory 1101 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device 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 code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0231] As an implementation, memory 1101 may exist independently of processor 1102. Memory 1101 may be connected to processor 1102 via bus 1104 to store instructions or program codes. When processor 1102 calls and executes the instructions or program codes stored in memory 1101, the device collaboration method provided in the embodiments of the present disclosure can be implemented.

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

[0233] Bus 1104 can be an Extended Industry Standard Architecture (EISA) bus, etc. Bus 1104 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG22 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0234] 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.

[0235] The embodiments of the present disclosure also provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium). All or part of the processes in the above-mentioned method embodiments can be completed by instructing the relevant hardware by a computer program, and the program can be stored in the above-mentioned computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments. The computer-readable storage medium may be the memory of any of the aforementioned embodiments. The above-mentioned computer-readable storage medium may also be an external storage device of the above-mentioned 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-mentioned electronic device. Further, the above-mentioned computer-readable storage medium may also include both an internal storage unit of the above-mentioned electronic device and an external storage device. The above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned electronic device. The above-mentioned computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0236] The embodiments of the present disclosure further provide 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.

[0237] In the technical solution provided by the present disclosure, 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. The second desktop includes the desktop layout information of the second device that establishes a collaborative relationship with the first device, so that the user can directly operate the second device on the second desktop to realize multi-device collaborative work, which is convenient to operate and reduces the complexity of operation when multi-devices work together.

[0238] Although the present disclosure is described herein in conjunction with various embodiments, in the process of implementing the disclosure for which protection is sought, those skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing 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 components. A single processor or other unit may 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.

[0239] Although the present disclosure has been described with reference to specific features and embodiments thereof, it will be apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present disclosure. Accordingly, this specification and the drawings are merely illustrative of the present disclosure as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present disclosure. Obviously, those skilled in the art may make various modifications and variations to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, the present disclosure is intended to encompass such modifications and variations if they fall within the scope of the claims of the present disclosure and their equivalents.

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

Claims

1. A device collaboration method, applied to a first device, comprising: 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, wherein: 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, wherein: 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, wherein: 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, wherein: The second desktop also includes an identifier of the second device.

6. The method according to claim 1, further comprising: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, further comprising: 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, wherein: 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, wherein: 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, further comprising: 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, wherein: 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, further comprising: 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, wherein: 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, further comprising: 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 of claim 1, further comprising: 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, comprising: Processor and memory; Wherein, 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, wherein: 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

Patent Citations

  • Equipment collaboration method, electronic equipment and storage medium

    CN119620978A

  • Equipment cooperation method, device and system, electronic equipment and storage medium

    CN112286618A

  • Method and device for installing application program, terminal equipment and storage medium

    CN113626041A

  • Cross-device desktop management method, first electronic equipment and second electronic equipment

    CN113867657A

  • Electronic equipment, processing method and downloading method of application program of electronic equipment and medium

    CN115185416A