Interface display method and electronic equipment

By displaying the capsule icon and bubble icon that can share resources on the trust ring device interface, the problem of single dynamic effects of icons during the trust ring setting process is solved, improving user experience and operation convenience.

CN120335661AActive Publication Date: 2025-07-18HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410042202.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-07-18
Estimated Expiration
2044-01-10

AI Technical Summary

Technical Problem

In the prior art, the dynamic effect of the shared resource icon during the trust ring setting process is single, affecting the user experience.

Method used

An interface display method is provided, by displaying a card in response to an operation of the device icon and displaying a capsule icon of a shareable resource according to the operation on the card, causing it to move it arbitrarily on the trust ring device interface, in combination with the display of the bubble icon to indicate the business status and the connection process.

Benefits of technology

It enriches the movement trajectory of the icon during the trust ring setting process, improves the user experience, enhances the convenience and intuitiveness of the operation, and reduces system lag.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335661A_ABST
    Figure CN120335661A_ABST
Patent Text Reader

Abstract

The embodiment of the invention is applicable to the technical field of data processing, and provides an interface display method and electronic equipment, a first card is displayed in response to a first operation on a first equipment icon, the first equipment icon is an icon of first equipment in a trust ring equipment interface, and the first card is used for displaying at least one shared service control; then, in response to a second operation for displaying any shared service control (target shared service control) on the first card, a first capsule icon corresponding to the target shared service control is displayed, and the moving range of the first capsule icon is any range on the trust ring equipment interface, so that the target shared service control can be set in the trust ring setting process; the first capsule icon appearing in the interface can freely move on the trust ring setting interface, and compared with a traditional method that the icon can only move according to a track preset in a system, the interface display method provided by the embodiment of the invention has the advantages that the moving track of the first capsule icon is richer, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and more particularly, to an interface display method and an electronic device. Background Art

[0002] At present, multiple electronic devices are authenticated through trusted authentication and are connected to the same local area network or directly connected (such as establishing a Wi-Fi direct connection or a Bluetooth connection) to form a trust ring. Electronic devices within the trust ring can be managed collaboratively and resources can be shared.

[0003] Exemplarily, a mobile phone and a portable Android device (PAD) are connected to the same local area network to form a trust ring. Among them, a mouse and a keyboard are connected to the PAD, and the mobile phone can use the mouse and keyboard connected to the PAD through the trust ring. Before the mobile phone uses the mouse and keyboard connected to the PAD, it is usually necessary to drag the icons of the mouse and keyboard connected to the PAD to the icon of the mobile phone in the settings interface of the trust ring so that the mobile phone can obtain the permission to use the mouse and keyboard. However, at present, the icons of sharable resources (such as a mouse and a keyboard) are usually drawn by borrowing plugins of the operating system and are moved based on the control logic of the operating system. This results in a single dynamic effect when dragging the icons of sharable resources, affecting the user experience.

[0004] Based on this, how to enrich the dynamic effect of the icons of sharable resources during the trust ring setting process has become an urgent problem to be solved. Summary of the Invention

[0005] The present application provides an interface display method, which can enrich the dynamic effect of the icons of sharable resources during the trust ring setting process.

[0006] In a first aspect, an interface display method is provided, and the method includes:

[0007] In response to a first operation on a first device icon, a first card is displayed. The first device icon is the icon of a first device in the trust ring device interface, and the first card is used to display at least one shared service control;

[0008] In response to a second operation on a target shared service control, a first capsule icon corresponding to the target shared service control is displayed. The target shared service control is any shared service control displayed on the first card, and the moving range of the first capsule icon is any range on the trust ring device interface.

[0009] Among them, the first device icon can also be referred to as the first icon. The first device icon may refer to the bubble icon 10C3 of the PC in the trust ring device interface 10C. The first card may refer to a card displaying the shared services of the first device. For example, the first card may be asFigure 7 The card 10C41 shown. It can be understood that the first card includes a plurality of shared service controls. It can be understood that the operation on the target shared service control can be a click operation or a long - press operation, and the embodiments of the present application do not limit this. The first capsule icon can be, for example, Figure 8 the second keyboard - mouse sharing capsule icon 10C42A shown in (b) of

[0010] The interface display method provided by the embodiments of the present application, by responding to a first operation on the first device icon, displays the first card. The first device icon is the icon of the first device in the trusted ring device interface, and the first card is used to display at least one shared service control; then, in response to a second operation on any shared service control (target shared service control) displayed on the first card, displays the first capsule icon corresponding to the target shared service control. The moving range of the first capsule icon is any range on the trusted ring device interface. In this way, during the setup process of the trusted ring, the first capsule icon that appears in the interface can move arbitrarily on the trusted ring setup interface. Compared with the traditional method where the icon can only move along a preset trajectory in the system, the moving trajectory of the first capsule icon in the interface display method provided by the embodiments of the present application is richer, improving the user experience.

[0011] Combined with the first aspect, in some embodiments of the first aspect, the second operation on the target shared service control includes: performing a long - press operation on the target shared service control; in response to the second operation on the target shared service control, displaying the first capsule icon corresponding to the target shared service control includes: in response to the long - press operation on the target shared service control, displaying the first capsule icon corresponding to the target shared service control, and the first capsule icon is a capsule icon in a moving state.

[0012] In this way, only one long - press operation needs to be performed on the target shared service control to display the first capsule icon that can move arbitrarily on the trusted ring setup interface, improving the convenience and efficiency of moving the first capsule icon.

[0013] Combined with the first aspect, in some embodiments of the first aspect, the second operation on the target shared service control includes: performing a click operation on the target shared service control to display a second capsule icon, and the second capsule icon is a capsule icon in an initial state; performing a drag - and - drop operation on the second capsule icon; in response to the second operation on the target shared service control, displaying the first capsule icon corresponding to the target shared service control includes: in response to the drag - and - drop operation on the second capsule icon, displaying the first capsule icon corresponding to the target shared service control, and the first capsule icon is a capsule icon in a moving state.

[0014] Among them, the second capsule icon can refer to a capsule icon in an initial form. For example, the second capsule icon can be, for example,Figure 8 The first keyboard and mouse sharing capsule icon 10C42 shown in (a) of

[0015] In this way, the process of displaying the first capsule icon is divided into two parts. The first step is to display the second capsule icon by clicking on the target sharing service control. Then, when dragging the second capsule icon, the first capsule icon is displayed. This can avoid the situation where the first capsule icon cannot be displayed due to the user accidentally releasing the hand when directly displaying the first capsule icon by long-pressing the target sharing service control, improving the fault tolerance of displaying the first capsule icon.

[0016] Combined with the first aspect, in some embodiments of the first aspect, the method further includes: when it is detected that the first capsule icon moves to the second device icon, displaying a first bubble icon, where the second device icon refers to the second device in the trusted ring device interface, and the first bubble icon is used to indicate that the second device has successfully established the target sharing service, and the target sharing service refers to the sharing service corresponding to the target sharing service control.

[0017] Among them, the first bubble icon may refer to a bubble icon in a connected state. For example, the first bubble icon may be the first connection success bubble icon 10C44 shown in (a) of Figure 13 In this way, the interface display method provided by the embodiments of the present application displays the first bubble icon when it is detected that the first capsule icon moves to the second device icon. Among them, the second device icon refers to the second device in the trusted ring device interface, and the first bubble icon is used to indicate that the second device has successfully established the target sharing service, and the target sharing service refers to the sharing service corresponding to the target sharing service control. This is equivalent to being able to switch the first capsule icon displayed during the movement to the first bubble icon during the process of the second device establishing the target sharing service, enriching the display method of the icon during the process of the second device establishing the target sharing service and improving the user experience.

[0018] Combined with the first aspect, in some embodiments of the first aspect, before displaying the first bubble icon, the method further includes: displaying a second bubble icon, where the second bubble icon is used to indicate that the second device is waiting to establish the target sharing service.

[0019] Among them, the second bubble icon may refer to a bubble icon in a connection waiting state. For example, the second bubble icon may be the first connection waiting bubble 10C43.

[0020]

[0021] ​The interface display method provided by the embodiments of the present application, when it is detected that the first capsule icon moves to the second device icon, displays the second bubble icon in a connection waiting state, and then displays the first bubble icon in a connection successful state. It can be understood that usually, it takes a relatively long time for the second device to establish a target sharing service. If the second bubble icon is not displayed, when waiting to establish the target sharing service, the user cannot clearly know the current state of the second device. By displaying the second bubble icon in the connection waiting state, it prompts the user that the target sharing service is being established and only waiting is required, without the need for additional operations, thus avoiding the situation of system jamming caused by the user performing other operations.

[0022] In combination with the first aspect, in some embodiments of the first aspect, after displaying the first bubble icon, the method further includes: when it is detected that the first bubble icon moves back to the first device icon, closing the first bubble icon and closing the target sharing service established by the second device.

[0023] Among them, for the process of the first bubble icon moving back to the first device icon and closing the first bubble icon, reference can be made to, such as Figure 13 in (b) and Figure 13 in (c) shown in, that is, when the first connection successful bubble icon 10C44 is dragged back to the bubble icon 10C3 of the PC, the first connection successful bubble icon 10C44 is closed.

[0024] The interface display method provided by the embodiments of the present application can close the target sharing service established by the second device by moving the first bubble icon back to the first device icon, which can improve the convenience of closing the shared target service established by the second device.

[0025] In combination with the first aspect, in some embodiments of the first aspect, the method further includes: in response to a click on the first bubble icon, displaying a third capsule icon, and the first device identifier corresponding to the target sharing service is displayed on the third capsule icon.

[0026] Among them, the third capsule icon may refer to a capsule icon in a completed state. For example, the third capsule icon may be the third keyboard and mouse sharing capsule icon 10C45 shown in Figure 12 in (b).

[0027] In combination with the first aspect, in some embodiments of the first aspect, the third capsule icon further includes a first close button, and the method further includes: in response to an operation on the first close button, closing the third capsule icon and closing the target sharing service established by the second device.

[0028] Among them, for the process of closing the third capsule icon and closing the target sharing service established by the second device in response to an operation on the first close button, reference can be made to, such as Figure 12 in (c) and Figure 12As shown in (d) therein, when the close button on the third keyboard and mouse sharing capsule icon 10C45 is clicked, the third keyboard and mouse sharing capsule icon 10C45 is closed. When the third keyboard and mouse sharing capsule icon 10C45 is closed, the target sharing service established by the second device is closed.

[0029] The interface display method provided by the embodiments of the present application responds to the click of the first bubble icon to display the third capsule icon, and then responds to the operation on the first close button to close the third capsule icon and close the target sharing service established by the second device. In this way, it is equivalent to being able to operate on the first bubble icon displayed at the second device icon to close the target sharing service established by the second device, improving the intuitiveness of closing the target sharing service established by the second device.

[0030] In combination with the first aspect, in some embodiments of the first aspect, the method further includes: when it is detected that the first capsule icon has not moved to the second device icon and the user's hand-lifting operation is detected, a second capsule icon is displayed, and the second capsule icon is a capsule icon in an initial state.

[0031] Wherein, when the user raises the hand, the first capsule icon has not moved to the second device icon. Therefore, it is equivalent to the user canceling the operation of establishing business sharing this time. Based on this, the capsule icon in the moving state can be switched to the capsule icon in the initial state. The specific process can be seen in Figure 15 as shown in (a) therein and Figure 15 as shown in (b) therein.

[0032] It should be noted that business sharing can be to share the business in one electronic device in the trust ring with other electronic devices in the trust ring so that other electronic devices can carry out this business. The business can refer to the software and hardware resources in the electronic device. From the perspective of the electronic device, it is equivalent to transferring the software and hardware resources serving other electronic devices to the current electronic device. Therefore, business sharing can also be called service transfer.

[0033] In combination with the first aspect, in some embodiments of the first aspect, the second capsule icon includes a second close button, and the method further includes: responding to the click operation on the second close button to close the second capsule icon.

[0034] The interface display method provided by the embodiments of the present application can close the second capsule icon (i.e., the initial state capsule icon) through the second close button on the second capsule icon when the second capsule icon in the initial state is displayed, that is, cancel the operation of establishing business sharing, which can improve the convenience of canceling the operation of establishing business sharing.

[0035] In combination with the first aspect, in certain embodiments of the first aspect, the method further includes: in response to a drag operation on the first bubble icon, determining whether the first bubble icon has moved to a third device icon, where the third device icon refers to the icon of a third device in the trusted ring device interface; if the first bubble icon has moved to the third device icon, displaying a third bubble icon, where the third bubble icon is used to indicate that the third device has successfully established a target sharing service.

[0036] Among them, the third device icon may refer to the icon of other electronic devices (the third device) in the trusted ring except the first device and the second device. For example, when the trusted ring includes a PAD, a mobile phone, and a PC, if the first device is the PC and the second device is the mobile phone, then the third device may refer to the PAD in the trusted ring. The third device icon may refer to Figure 14 the PAD bubble icon 10C2 shown in (b) of Figure 14 The third bubble icon may be used to indicate that the third device has successfully established a target sharing service, and the target sharing service is the target sharing service successfully established by the second device. The third bubble icon may refer to

[0037] For the interface display method provided in the embodiments of the present application, after the second device has successfully established a target sharing service, by dragging the first bubble icon displayed at the second device icon and displaying the third bubble icon indicating that the third device has successfully established a target sharing service when the first bubble icon is dragged to the third device icon, the third device can directly achieve the successful establishment of the target sharing service by dragging the first bubble icon displayed at the second device icon, avoiding the situation where in the process of establishing the target sharing service again, it is necessary to first disconnect the previously established target sharing service and then establish the target sharing service for the new device, improving the efficiency and convenience of establishing the target sharing service again.

[0038] In combination with the first aspect, in certain embodiments of the first aspect, before displaying the third bubble icon, the method further includes: displaying a fourth bubble icon, where the fourth bubble icon is used to indicate that the third device is waiting to establish a target sharing service.

[0039] Among them, the fourth bubble icon may be used to indicate that the third device is waiting to establish a target sharing service, and the fourth bubble icon may be Figure 14 the second connection waiting bubble icon 10C46 shown in (c) of

[0040] In the interface display method provided by the embodiments of the present application, during the process of establishing a target sharing service on a third device, a fourth bubble icon in a connection waiting state is displayed, and then a third bubble icon in a connection successful state is displayed. It can be understood that usually, it takes a relatively long time to establish a target sharing service on the third device. If the fourth bubble icon is not displayed and the user is waiting to establish the target sharing service, the user cannot clearly know the current state of the third device. By displaying the fourth bubble icon in the connection waiting state, it is prompted to the user that the target sharing service is being established and the user only needs to wait without performing any additional operations, thus avoiding the situation of system lag caused by the user performing other operations.

[0041] In a second aspect, an interface display device is provided, including a unit for executing any of the methods in the first aspect. The device can be a server, a terminal device, or a chip inside the terminal device. The device can include an input unit and a processing unit.

[0042] When the device is a terminal device, the processing unit can be a processor, and the input unit can be a communication interface; the terminal device can further include a memory for storing computer program code. When the processor executes the computer program code stored in the memory, the terminal device is caused to execute any of the methods in the first aspect.

[0043] When the device is a chip inside the terminal device, the processing unit can be a processing unit inside the chip, and the input unit can be an output interface, a pin, a circuit, etc.; the chip can further include a memory, which can be a memory inside the chip (such as a register, a cache, etc.) or a memory located outside the chip (such as a read-only memory, a random access memory, etc.); the memory is used to store computer program code. When the processor executes the computer program code stored in the memory, the chip is caused to execute any of the methods in the first aspect.

[0044] In a possible implementation, the memory is used to store computer program code; a processor, the processor executes the computer program code stored in the memory. When the computer program code stored in the memory is executed, the processor is used to execute: in response to a first operation on a first device icon, display a first card, where the first device icon is the icon of a first device in a trust ring device interface, and the first card is used to display at least one sharing service control; in response to a second operation on a target sharing service control, display a first capsule icon corresponding to the target sharing service control, where the target sharing service control is any sharing service control displayed on the first card, and the moving range of the first capsule icon is any range on the trust ring device interface.

[0045] In a third aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer program code, which, when run on an interface display device, causes the interface display device to execute any one of the interface display methods in the first aspect.

[0046] In a fourth aspect, a computer program product is provided. The computer program product includes computer program code, which, when run on an interface display device, causes the interface display device to execute any one of the device methods in the first aspect.

[0047] The interface display method and the electronic device provided in the embodiments of the present application display a first card by responding to a first operation on a first device icon. The first device icon is the icon of a first device in a trust ring device interface, and the first card is used to display at least one shared service control. Then, in response to a second operation on any one of the shared service controls (target shared service control) displayed on the first card, a first capsule icon corresponding to the target shared service control is displayed. The moving range of the first capsule icon is any range on the trust ring device interface. In this way, during the setup process of the trust ring, the first capsule icon that appears in the interface can move arbitrarily on the trust ring setup interface. Compared with the traditional method where the icon can only move along a preset trajectory in the system, the moving trajectory of the first capsule icon in the interface display method provided in the embodiments of the present application is richer, improving the user experience. Description of the Drawings

[0048] Figure 1 is a schematic diagram of a trust ring including electronic devices;

[0049] Figure 2 is a schematic diagram of a hardware system of an electronic device applicable to the present application;

[0050] Figure 3 is a schematic diagram of a software system of an electronic device applicable to the present application;

[0051] Figure 4 is an interface schematic diagram of an interface display method provided in an embodiment of the present application;

[0052] Figure 5 is an interface schematic diagram of another interface display method provided in an embodiment of the present application;

[0053] Figure 6 is an interface schematic diagram of another interface display method provided in an embodiment of the present application;

[0054] Figure 7 is an interface schematic diagram of another interface display method provided in an embodiment of the present application;

[0055] Figure 8It is a schematic diagram of the interface of another interface display method provided by an embodiment of the present application;

[0056] Figure 9 It is a schematic diagram of the interface of another interface display method provided by an embodiment of the present application;

[0057] Figure 10 It is a schematic diagram of the interface of another interface display method provided by an embodiment of the present application;

[0058] Figure 11 It is a schematic diagram of the interface of another interface display method provided by an embodiment of the present application;

[0059] Figure 12 It is a schematic diagram of the interface of another interface display method provided by an embodiment of the present application;

[0060] Figure 13 It is a schematic diagram of the interface of another interface display method provided by an embodiment of the present application;

[0061] Figure 14 It is a schematic diagram of the interface of another interface display method provided by an embodiment of the present application;

[0062] Figure 15 It is a schematic diagram of the interface of another interface display method provided by an embodiment of the present application;

[0063] Figure 16 It is a schematic diagram of the structure of an interface layout module and a service interaction control module provided by an embodiment of the present application;

[0064] Figure 17 It is a schematic diagram of the interface of capsule icons in different forms provided by an embodiment of the present application;

[0065] Figure 18 It is a schematic diagram of the interface of bubble icons in different forms provided by an embodiment of the present application;

[0066] Figure 19 It is a schematic diagram of the process of an interface display method provided by an embodiment of the present application;

[0067] Figure 20 It is a schematic diagram of an interface display device provided by the present application;

[0068] Figure 21 It is a schematic diagram of an electronic device for interface display provided by the present application. Detailed implementation manners

[0069] Next, the technical solutions in the embodiments of the present application will be described in conjunction with the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B can mean A or B; herein, "and / or" is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.

[0070] Hereinafter, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first", "second", and "third" may explicitly or implicitly include one or more of such features.

[0071] For ease of understanding, some examples related to the concepts of the embodiments of the present application are given for reference.

[0072] 1. Trust ring.

[0073] Multiple electronic devices are connected to the same local area network or directly connected (such as establishing a Wi-Fi direct connection or a Bluetooth connection) through trusted authentication, and have the ability to communicate with each other, forming a trust ring. The electronic devices within the trust ring can be managed collaboratively and share resources. For example, the electronic devices within the trust ring can implement functions such as cross-terminal service invocation to collect materials, synchronize materials, organize materials, and synchronize the organization results.

[0074] Trusted authentication can be performed between electronic devices by any one of the following methods to establish a trust relationship and form a trust ring:

[0075] 1) Log in to the same account on two or more electronic devices. The electronic devices under the same account perform trusted authentication through the account to establish a trust relationship and form a trust ring.

[0076] 2) Two or more electronic devices perform trusted authentication through a private protocol to establish a trust relationship and form a trust ring.

[0077] 3) Two or more electronic devices perform trusted authentication by logging in to the cloud to establish a trust relationship and form a trust ring.

[0078] The above several methods are only examples, and the embodiments of the present application are not limited thereto.

[0079] It can be understood that the electronic device in this application can be an electronic device such as a mobile phone, a tablet computer, etc., and can also be a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device (such as a smart watch, a smart bracelet, etc.), a vehicle-mounted device, a smart home device (such as a smart TV, a large screen, etc.) and / or a smart city device. The specific type of the electronic device in the embodiments of this application is not particularly limited.

[0080] Exemplarily, as Figure 1 shown, for example, devices such as mobile phones, tablets, desktop computers, notebook computers, smart TVs, etc. can log in to the same account and access the same local area network to form a trust ring. In the trust ring, the tasks currently being performed on the mobile phone can be continued on the coordinated devices. For example, continue watching the video on the mobile phone on the smart screen, or easily browse and edit the files on the mobile phone on the computer.

[0081] 2. Trusted devices.

[0082] The electronic devices within the trust ring can be referred to as trusted devices of other devices. That is to say, through trusted authentication, the electronic devices with a trust relationship are called trusted devices. For example, a mobile phone and a tablet within the same trust ring can be referred to as trusted devices of each other. That is, the tablet is a trusted device of the mobile phone, and the mobile phone is also a trusted device of the tablet.

[0083] Resources can be shared between the trusted devices in the trust ring. Usually, when sharing resources between trusted devices, the permissions of the resources in one device need to be opened to another device. For example, open the permission of resource A1 of electronic device A to another electronic device B in the trust ring. In the process of opening the permission of resource A1 of electronic device A to electronic device B, it is necessary to drag the icon of resource A1 of electronic device A to the icon of electronic device B in the settings interface of the trust ring so that electronic device B can obtain the permission to use resource A1. However, at present, the icons displayed on the settings interface of the trust ring are usually drawn by borrowing the plug-ins of the operating system and moved based on the control logic of the operating system. This results in a single dynamic effect when dragging the icons of the sharable resources, affecting the user experience.

[0084] In view of this, an interface display method provided by an embodiment of the present application displays a first card in response to a first operation on a first device icon. The first device icon is the icon of a first device in a trust ring device interface, and the first card is used to display at least one shared service control. Then, in response to a second operation on any one of the shared service controls (target shared service control) displayed on the first card, a first capsule icon corresponding to the target shared service control is displayed. The moving range of the first capsule icon is any range on the trust ring device interface. In this way, during the setup process of the trust ring, the first capsule icon that appears in the interface can move arbitrarily on the trust ring setup interface. Compared with the traditional method where the icon can only move along a preset trajectory in the system, the moving trajectory of the first capsule icon provided by the embodiment of the present application is richer, improving the user experience.

[0085] The interface display method provided by the embodiment of the present application can be applied to an electronic device. Optionally, the electronic device includes a terminal device, which can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, wearable device, tablet computer (Pad), computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, and so on. The embodiments of the present application do not limit the specific technologies and specific device forms adopted by the terminal device.

[0086] Exemplarily, Figure 2The structural schematic diagram of the electronic device 100 is shown. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0087] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0088] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modulation and demodulation processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0089] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.

[0090] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may store instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0091] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0092] The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0093] The electronic device 100 implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0094] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0095] The electronic device 100 can implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.

[0096] The electronic device 100 can implement the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. Such as music playing, recording, etc.

[0097] It should be noted that any electronic device mentioned in the embodiments of this application may include more or fewer modules in the electronic device 100.

[0098] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of this application, taking the Android system with a layered architecture as an example, the software structure of the electronic device 100 is exemplarily described.

[0099] Figure 3 It is the software structure block diagram of the electronic device 100 in the embodiments of this application.

[0100] The layered architecture of the electronic device 100 divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, which are the application layer, the application framework layer, the Android runtime and the system libraries, and the kernel layer.

[0101] The application layer may include a series of application packages.

[0102] Such asFigure 3 As shown, the application package may include applications such as a trust ring, camera, gallery, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0103] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.

[0104] As Figure 3 shown, the application framework layer may include a window manager, content provider, view system, telephone manager, resource manager, notification manager, etc.

[0105] Android Runtime includes a core library and a virtual machine. Android runtime is responsible for the scheduling and management of the Android system.

[0106] The core library contains two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android.

[0107] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0108] The system library may include multiple functional modules. For example: surface manager, Media Libraries, 3D graphics processing library (e.g., OpenGL ES), 2D graphics engine (e.g., SGL), etc.

[0109] The kernel layer is the layer between the hardware and the software. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, a Wi-Fi driver, etc.

[0110] It should be noted that the electronic device mentioned in the embodiments of the present application may include more or fewer modules in the above-mentioned electronic device.

[0111] The application scenarios provided by the embodiments of the present application and different interfaces involved in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0112] The interface display method provided by the embodiments of the present application can be applied in the application scenario as Figure 4 shown. As Figure 4As shown, the mobile phone 10 and the PAD 20 log in to the same account, such as the account "1111". Trust authentication is performed between the mobile phone 10 and the PAD 20 to establish a trust relationship and form a trust ring. Since resources can be shared between the trusted devices in the trust ring, when sharing resources between the trusted devices, the permissions of the resources in one device need to be opened to another device.

[0113] For example, the mobile phone 10 and the PAD 20 are two electronic devices within a trust ring. The externally connected mouse and keyboard in the PAD 20 can be called by the mobile phone 10 by opening the usage permissions to the mobile phone 10. Among them, when opening the permissions of the externally connected mouse and keyboard in the PAD 20 to the mobile phone 10, a transfer icon of the externally connected mouse and keyboard is displayed in the settings interface of the PAD 20 or the mobile phone 10. For example, as Figure 5 shown in (a) of the figure, on any display interface 10A (such as the main interface) of the mobile phone 10, the user swipes downwards. In response to the user's operation of swiping downwards, the mobile phone 10 switches from the display interface 10A to the display interface 10B, as Figure 5 shown in (b) of the figure. Among them, the display interface 10B can be the interface of the display control center. The settings card 10B1 of the trust ring is included in the display interface 10B. The user clicks on the settings card 10B1 of the trust ring, as Figure 5 shown in (c) of the figure. In response to the user's operation of clicking on the settings card 10B1 of the trust ring, the display interface of the mobile phone 10 switches to the display interface 10C, that is, the settings interface of the trust ring, as Figure 5 shown in (d) of the figure. Among them, the bubble icons of each electronic device in the trust ring are displayed on the settings interface of the trust ring. For example, as Figure 5 shown in (d) of the figure, the trust ring includes a mobile phone bubble icon 10C1, a PAD bubble icon 10C2, and a PC bubble icon 10C3. Optionally, the settings interface of the trust ring can also display a prompt message, prompting the user that business sharing can be achieved by touching the bubble icon. For example, the settings interface of the trust ring can display a prompt message "Click on the device ball and select the required service to complete the transfer".

[0114] The user can wake up the selection card of the shareable services in the trusted device by clicking on the bubble icon of the trusted device. For example, as Figure 6 shown in (a) of the figure, the user can click on the PC bubble icon 10C3 in the display interface 10C. In response to the user's operation of clicking on the PC bubble icon 10C3, a shareable service selection card 10C4 can be displayed above the PC bubble icon 10C3, as Figure 6 shown in (b) of the figure. Among them, the services that can be shared with other electronic devices include screen sharing, keyboard and mouse sharing, remote control, file access, and cross-device call.

[0115] Screen sharing refers to displaying the display interface of electronic device B on electronic device A, while receiving user operations through electronic device A and responding to user operations.

[0116] Keyboard and mouse sharing may refer to opening the use rights of the mouse and keyboard of electronic device A to electronic device B, so that the user can input instructions to electronic device B through the mouse and keyboard of electronic device A.

[0117] Remote control may refer to a user directly establishing remote control over another electronic device through a device in the trust loop.

[0118] File access may refer to a user accessing a file stored in electronic device B through electronic device A.

[0119] Cross-end calling can refer to a user calling resources in electronic device B on electronic device A. For example, a user calls the camera, audio player and other hardware and software devices of electronic device B in the trust ring through electronic device A, thereby achieving flexible control of multiple devices in the trust ring.

[0120] The following describes how to establish service sharing between trusted devices in a trust ring.

[0121] It should be noted that business sharing can be sharing the business of one electronic device in the trust ring with other electronic devices in the trust ring so that other electronic devices can carry out the business. Business can refer to the software and hardware resources in the electronic device. From the perspective of the electronic device, it is equivalent to transferring the software and hardware resources serving other electronic devices to the current electronic device. Therefore, business sharing can also be called service transfer.

[0122] For example, the shared service is keyboard and mouse sharing.

[0123] like Figure 7 As shown, the user can realize keyboard and mouse sharing by touching the keyboard and mouse sharing icon 10C41 in the sharing service selection card 10C4. It is understandable that the user touching the keyboard and mouse sharing icon 10C41 can refer to the user clicking the keyboard and mouse sharing icon 10C41, or it can refer to the user long pressing the keyboard and mouse sharing icon 10C41, and the embodiment of the present application does not limit this.

[0124] In one possible case, the user clicks the keyboard and mouse sharing icon 10C41. In response to the user's operation of clicking the keyboard and mouse sharing icon 10C41, the sharing service selection card 10C41 is collapsed, and the first keyboard and mouse sharing capsule icon 10C42 is displayed. Figure 8as shown in (a) therein. Optionally, a pop-up window may also be displayed on the setup interface of the trust ring, and a prompt is displayed on the pop-up window to prompt the user to achieve keyboard and mouse sharing by dragging the first keyboard and mouse sharing capsule icon 10C42. For example, as Figure 8 shown in (a) therein, a prompt message of "Drag the service to the target device to complete the transfer" is displayed on the pop-up window. At this time, the user can click on the first keyboard and mouse sharing capsule icon 10C42, as Figure 8 shown in (b) therein. In response to the user's operation of clicking on the first keyboard and mouse sharing capsule icon 10C42, the close button 10C42 in the first keyboard and mouse sharing capsule icon 10C42 closes accordingly, and switches to the second keyboard and mouse sharing capsule icon 10C42A, moving along with the movement of the user's finger, as Figure 8 shown in (c) therein. Among them, the icons of devices that cannot perform the keyboard and mouse sharing service are set to gray, indicating that the devices cannot perform keyboard and mouse sharing. For example, the current keyboard and mouse sharing is to share the keyboard and mouse connected to the PC. Since the keyboard and mouse are originally connected to the PC, therefore, the PC cannot perform the keyboard and mouse sharing service. Then, below the setup interface of the trust ring, the icon of the PC is set to gray, indicating that the PC cannot perform the keyboard and mouse sharing service. It can be understood that during the process of dragging the second keyboard and mouse sharing capsule icon 10C42A, the movement trajectory of the second keyboard and mouse sharing capsule icon 10C42A can also be displayed on the setup interface of the trust ring, as Figure 8 shown in (d) therein.

[0125] In a possible situation, the user long-presses the keyboard and mouse sharing icon 10C41. In response to the user's operation of long-pressing the keyboard and mouse sharing icon 10C41, the sharing service selection card 10C41 is retracted, and the second keyboard and mouse sharing capsule icon 10C42A is displayed, as Figure 9 shown in (a) therein. At this time, the user's finger is still touching the second keyboard and mouse sharing capsule icon 10C42A, and the second keyboard and mouse sharing capsule icon 10C42A can already move according to the movement of the user's finger, without the user clicking on the second keyboard and mouse sharing capsule icon 10C42A to wake it up, as Figure 9 shown in (b) therein. It can be understood that during the process of dragging the second keyboard and mouse sharing capsule icon 10C42A, the movement trajectory of the second keyboard and mouse sharing capsule icon 10C42A can also be displayed on the display interface.

[0126] When the second keyboard and mouse sharing capsule icon 10C42A moves from the PC bubble icon 10C3 to the mobile phone bubble icon 10C1, as Figure 10As shown in (a) in the figure. It can be understood that the second keyboard and mouse sharing capsule icon 10C42A moving from the PC bubble icon 10C3 to the mobile phone bubble icon 10C1 may refer to the second keyboard and mouse sharing capsule icon 10C42A moving from the PC bubble icon 10C3 to within a preset range around the mobile phone bubble icon 10C1, for example, the distance between the second keyboard and mouse sharing capsule icon 10C42A and the mobile phone bubble icon 10C1 is less than a preset threshold. Alternatively, there is a partial overlap or a complete overlap between the second keyboard and mouse sharing capsule icon 10C42A and the mobile phone bubble icon 10C1. At this time, the second keyboard and mouse sharing capsule icon 10C42A is converted to the first connection waiting bubble 10C43, as shown in FIG. Figure 10 As shown in (b) in the figure. The second keyboard and mouse sharing capsule icon 10C42A is converted into the first connection waiting bubble 10C43, indicating that the PC begins to open the keyboard and mouse usage permissions to the mobile phone, and the mobile phone begins to establish a connection with the keyboard and mouse connected to the PC. It can be understood that in the process of dragging the second keyboard and mouse sharing capsule icon 10C42A, the prompt information displayed on the setting interface of the trust ring can be switched from "Click the device ball and select the required service to complete the process" to "The "Keyboard and Mouse Sharing" service is flowing". After the mobile phone successfully establishes a connection with the keyboard and mouse connected to the PC, the connection waiting bubble icon 10C43 is converted into the first connection success bubble icon 10C44. Figure 10 As shown in (c) in the figure. In this case, the user can input information to the mobile phone through the mouse and keyboard to control the mobile phone. At the same time, the prompt information displayed on the setting interface of the trust ring can be switched from "the "keyboard and mouse sharing" service is flowing" to "the "keyboard and mouse sharing" service is in use". Optionally, a pop-up window 10C5 can also be displayed on the setting interface of the trust ring, and the pop-up window 10C5 can display a prompt information that the sharing service is successfully established. For example, Figure 10 As shown in (c), the pop-up window 10C5 displays "“Keyboard and mouse sharing” has been successfully transferred", indicating that the mobile phone can now use the mouse and keyboard connected to the PC. Optionally, when the second keyboard and mouse sharing capsule icon 10C42A moves from the PC bubble icon 10C3 to within a preset range around the mobile phone bubble icon 10C1, the electronic device can also vibrate to prompt the user that the second keyboard and mouse sharing capsule icon 10C42A is dragged within the preset range of the mobile phone bubble icon 10C1. The user can choose to continue dragging the second keyboard and mouse sharing capsule icon 10C42A or let go as needed to open the sharing service corresponding to the second keyboard and mouse sharing capsule icon 10C42A to the mobile phone.

[0127] It should be noted that the method provided in the embodiment of the present application does not use the system's own plug-in to generate the above icon. For example, the system's own plug-in may refer to Android TMThe plug-in in the system. Therefore, the movement of the second keyboard and mouse sharing capsule icon 10C42A does not need to follow the movement rules of the system plug-in. That is to say, the second keyboard and mouse sharing capsule icon 10C42A can be moved arbitrarily on the settings interface of the trust ring.

[0128] Exemplarily, the second keyboard and mouse sharing capsule icon 10C42A can not move along the preset path 10C6 between the PC bubble icon 10C3 and the mobile phone bubble icon 10C1, where the preset path 10C5 can be as Figure 11 shown in (a) of. The second keyboard and mouse sharing capsule icon 10C42A can be moved to the edge of the settings interface of the trust ring, as Figure 11 shown in (b) of. Or, the second keyboard and mouse sharing capsule icon 10C42A is moved above the prompt message displayed on the settings interface of the trust ring, as Figure 11 shown in (c) of.

[0129] When the mobile phone successfully connects to the keyboard and mouse connected to the PC, the first connection success bubble icon 10C44 is displayed near the mobile phone bubble icon 10C1. For example, as Figure 10 shown in (c) of. At this time, the user clicks on the first connection success bubble icon 10C44, as Figure 12 shown in (a) of. In response to the user's operation of clicking on the first connection success bubble icon 10C44, the first connection success bubble icon 10C44 switches to the third keyboard and mouse sharing capsule icon 10C45, as Figure 12 shown in (b) of. Among them, compared with the first keyboard and mouse sharing capsule icon 10C42, the third keyboard and mouse sharing capsule icon 10C45 adds a close button 10C451. In a possible case, a prompt message is also displayed on the third keyboard and mouse sharing capsule icon 10C45 to prompt the source of the keyboard and mouse used by the mobile phone. Exemplarily, as Figure 12 shown in (b) of, the third keyboard and mouse sharing capsule icon 10C45 also displays a prompt message "MagicBook", which is used to indicate that the keyboard and mouse used by the mobile phone are the mouse and keyboard connected to the PC (MagicBook). The user clicks on the close button 10C451, as Figure 12 shown in (c) of. In response to the user's operation of clicking on the close button 10C451, the mobile phone disconnects the connection with the keyboard and mouse connected to the PC, and at the same time, the third keyboard and mouse sharing capsule icon 10C45 is removed from the settings interface of the trust ring, as Figure 12 shown in (d) of. It can be understood that the prompt message on the settings interface of the trust ring can also be switched from "Currently using the 'keyboard and mouse sharing' service" to "Click on the device ball and select the required service to complete the transfer".

[0130] In a possible scenario, the user can disconnect the connection between the keyboard and mouse of the mobile phone that is connected to the PC by dragging the first connection success bubble icon 10C44 back to the PC bubble icon 10C3. Exemplarily, as shown in (a) of Figure 13 , the user starts dragging the first connection success bubble icon 10C44 from the mobile phone bubble icon 10C1. The user drags the first connection success bubble icon 10C44 within the preset range of the PC bubble icon 10C3, as shown in (b) of Figure 13 . It can be understood that during the process of dragging the first connection success bubble icon 10C44, the first connection success bubble icon 10C44 is a gray icon, indicating that the current first connection success bubble icon 10C44 is in an unavailable state. If the first connection success bubble icon 10C44 is dragged within the preset range of the PC bubble icon 10C3, the first connection success bubble icon 10C44 disappears, and the prompt message displayed in the trust ring setting interface switches from "Currently using the 'keyboard and mouse sharing' service" to "Click on the device ball and select the required service to complete the transfer", as shown in (c) of Figure 13 . Optionally, when the first connection success bubble icon 10C44 is dragged within the preset range of the PC bubble icon 10C3, the electronic device can also vibrate to prompt the user that the first connection success bubble icon 10C44 has been dragged within the preset range of the PC bubble icon 10C3. The user can, according to requirements, choose to continue dragging the first connection success bubble icon 10C44 or let go, so that the sharing service corresponding to the first connection success bubble icon 10C44 opens the usage permission to the PC.

[0131] In a possible scenario, when the mobile phone successfully establishes a connection with the keyboard and mouse connected to the PC, the user can also directly drag the first connection success bubble icon 10C44 on the mobile phone bubble icon 10C1, so that other trusted devices within the trust ring can also establish a connection with the keyboard and mouse connected to the PC and use the keyboard and mouse connected to the PC. Exemplarily, as shown in (a) of Figure 14 , the user clicks on the first connection success bubble icon 10C44 on the mobile phone bubble icon 10C1 and starts dragging the first connection success bubble icon 10C44 towards the PAD bubble icon 10C2, as shown in (b) of Figure 14As shown in (b) therein. It can be understood that during the process of dragging the first connection success bubble icon 10C44, the first connection success bubble icon 10C44 is gray, indicating that the first connection success bubble icon 10C44 is currently unavailable. When the first connection success bubble icon 10C44 is within the preset range of the PAD bubble icon 10C2, for example, when the distance between the first connection success bubble icon 10C44 and the PAD bubble icon 10C2 is less than the preset threshold, the keyboard and mouse connected to the PC open the usage permission to the PAD, and the PAD starts to establish a connection with the keyboard and mouse connected to the PC. At this time, on the trust ring setting interface, a second connection waiting bubble icon 10C46 is displayed near the PAD bubble icon 10C2, as Figure 14 shown in (c) therein. The first connection success bubble icon 10C44 is converted to the second connection waiting bubble 10C46, indicating that the PC starts to open the usage permission of the keyboard and mouse to the PAD, and the PAD can start to establish a connection with the keyboard and mouse connected to the PC. Optionally, during the process of the PAD establishing a connection with the keyboard and mouse connected to the PC, the prompt message displayed on the trust ring setting interface can be switched from "The "keyboard and mouse sharing" service is in the process of transfer" to "Click on the device ball and select the required service to complete the transfer", as Figure 14 shown in (c) therein. After the PAD successfully establishes a connection with the keyboard and mouse connected to the PC, the second connection waiting bubble 10C46 is converted to the second connection success bubble icon 10C47, as Figure 14 shown in (d) therein. In this case, the user can input information to the PAD through the mouse and keyboard to control the PAD. Optionally, at this time, the prompt message displayed on the trust ring setting interface can be switched from "Click on the device ball and select the required service to complete the transfer" to "The "keyboard and mouse sharing" service is in use", as Figure 14 shown in (d) therein.

[0132] It can be understood that when the second keyboard and mouse sharing capsule icon 10C42A moves from the PC bubble icon 10C3 to the mobile phone bubble icon 10C1, if the second keyboard and mouse sharing capsule icon 10C42A has not moved to the mobile phone bubble icon 10C1 and the user raises their hand, as Figure 15 shown in (a) therein. In response to the user's operation of raising their hand, the second keyboard and mouse sharing capsule icon 10C42A is switched to the first keyboard and mouse sharing capsule icon 10C42 and is displayed at the PC bubble icon 10C3, as Figure 15 shown in (b) therein.

[0133] The following describes the specific process of how the above capsule icons and bubble icons are displayed on the trusted device.

[0134] Trusted devices in the trust ring may include an interface layout module, which is used to create and manage capsule icons and bubble icons that appear during the sharing business process. For example, the interface layout module can be used to create and manage the above-mentioned first keyboard and mouse sharing capsule icon 10C42, the second keyboard and mouse sharing capsule icon 10C42A, the first connection waiting bubble 10C43, the first connection success bubble icon 10C44, the third keyboard and mouse sharing capsule icon 10C45, the second connection waiting bubble icon 10C46, and the second connection success bubble icon 10C47. Among them, as Figure 16 shown, the interface layout module includes a capsule layout sub-module and a bubble layout sub-module, and the bubble layout sub-module can also be a service sphere layout sub-module. The capsule layout sub-module may include a capsule backplane common layout unit, a capsule service name common layout unit, a capsule service icon common layout unit, a capsule backplane animation customization unit, a capsule device name customized layout unit, and a capsule hidden button customized layout unit. The service sphere layout sub-module may include a service sphere backplane common layout unit, a service sphere device name common layout unit, a service sphere icon common layout unit, a service sphere animation customization unit, a service sphere device name customized layout unit, and a service sphere hidden button customized layout unit.

[0135] Among them, the capsule layout sub-module can be used to create capsule icons such as the above-mentioned first keyboard and mouse sharing capsule icon 10C42, the second keyboard and mouse sharing capsule icon 10C42A, and the third keyboard and mouse sharing capsule icon 10C45, and manage the initial form of the capsule icon, the moving animation of the capsule icon, and the connection status of the capsule icon. For example, as Figure 16 shown, the capsule backplane common layout unit in the capsule layout sub-module can be used to set the backplane layout of the capsule icon; the capsule service name common layout unit can be used to set the service name of the capsule icon; the capsule service icon common layout unit can be used to set the common layout of the capsule icon; the capsule backplane animation customization unit can generate a dynamic effect of the capsule icon backplane based on user settings; the capsule device name customized layout unit can generate the device name corresponding to the capsule icon based on the user device; the capsule hidden button customized layout unit can generate other buttons on the capsule icon based on user settings. In this way, a complete capsule icon can be generated through the capsule layout sub-module.

[0136] The service sphere layout sub-module can be used to create the above-mentioned first connection waiting bubble 10C43, the first connection success bubble icon 10C44, the second connection waiting bubble icon 10C46, and the second connection success bubble icon 10C47. At the same time, the service sphere layout sub-module can also manage the initial form of the bubble icon, the moving animation of the bubble icon, and the connection status of the bubble icon. For example, as Figure 16As shown, the service ball backplane common layout unit in the service ball layout sub-module can be used to set the backplane layout of the bubble icon; the service ball device name common layout unit can be used to set the name of the service ball icon; the service ball icon common layout unit can be used to set the common layout of the service ball icon; the service ball animation customization unit can generate the dynamic effect of the backplane of the bubble icon based on user settings; the service ball device name customized layout unit can generate the device name corresponding to the service ball icon based on the user device; the service ball hidden button customized layout unit can generate other buttons on the bubble icon based on user settings. In this way, a complete bubble icon can be generated through the service ball layout sub-module.

[0137] It can be understood that, in order to reduce the waiting time during the process of dragging the capsule icon or the bubble icon and improve the user experience, when the settings interface of the trust ring is displayed, the above-mentioned capsule layout sub-module and service ball layout sub-module have both started to load. In this way, during the process of the user dragging the capsule icon or the bubble icon, there is no need to wait for the capsule layout sub-module and the service ball layout sub-module to load, so that the electronic device can quickly generate the capsule icon or the bubble icon and quickly respond to the user's operation, realizing the movement and dynamic effect display of the capsule icon or the bubble icon.

[0138] The interface layout module can be connected to the service interaction control module. The service interaction control module can determine whether to generate the corresponding capsule icon and bubble icon, whether to move the corresponding capsule icon and bubble icon, whether to display or stop the dynamic effect of the corresponding capsule icon and bubble icon, and whether to switch between the capsule icon and the bubble icon according to the user's operation. Then the service interaction control module sends the determined action generation instruction to the interface layout module, so that the interface layout module controls the capsule icon and the bubble icon based on this instruction.

[0139] The following describes the specific process of determining the morphological conversion between the capsule icon and the bubble icon.

[0140] Exemplarily, the capsule icon can include three states: the initial form, the moving form, and the connected form. Among them, the initial form can be as shown in (a) of Figure 17 , the moving form can be as shown in (b) of Figure 17 , and the connected form can be as shown in (c) of Figure 17 . The initial form can include a service icon 161, a prompt message 162, and a close button 163. Among them, the service icon 161 can be an icon for sharing services, such as the icon for sharing the keyboard and mouse as shown in (a) of Figure 17 ; the prompt message 162 is used to indicate the shared service. For example, as shown in Figure 17The information "Keyboard and Mouse Sharing" shown in (a) indicates that the current sharing service is a keyboard and mouse sharing service; the close button 163 is used to close the capsule icon in its initial form. The moving form may include a service icon 161 and a prompt message 162; that is to say, compared with the initial form, the close button 163 is not present in the moving form. The connected form may include a service icon 161, a prompt message 162, a close button 163, and a device name 164; compared with the initial form, the device name 164 is added in the connected form. Among them, the device name 164 can be used to indicate the sharing source of the current sharing service, for example, as Figure 17 shown in (c), the device name 164 is "MagicBook", indicating that the sharing source of the current keyboard and mouse sharing is a PC named "MagicBook".

[0141] Among them, the first keyboard and mouse sharing capsule icon 10C42 can be the capsule icon in its initial form, the second keyboard and mouse sharing capsule icon 10C42A can be the capsule icon in the moving form, and the third keyboard and mouse sharing capsule icon 10C45 can be the capsule icon in the connected form.

[0142] Exemplarily, the bubble icon can include two forms, the connection waiting form and the connection successful form. Among them, the connection waiting form can be as Figure 18 shown in (a), and the connection successful form can be as Figure 18 shown in (b). The sharing service icon can be displayed in the connection successful form.

[0143] Among them, the first connection waiting bubble 10C43 and the second connection waiting bubble icon 10C46 can be the bubble icons in the connection waiting form, and the first connection successful bubble icon 10C44 and the second connection successful bubble icon 10C47 can be the bubble icons in the connection successful form.

[0144] How to convert between the various forms of the capsule icon and the various forms of the bubble icon can refer to the Figure 19 shown flowchart. As Figure 19 shown, it includes:

[0145] S101. In response to the user clicking on the first icon, display the first card.

[0146] Among them, the first icon can refer to the icon of the first device in the trusted device interface of the trusted devices in the trust ring. The first icon can also be called the first device icon.

[0147] Exemplarily, as Figure 6 shown in (a), the first icon can be the bubble icon 10C3 of the PC in the trusted device interface 10C.

[0148] The first card may refer to a card that displays the sharing services of the first device. For example, the first card may be the card 10C41 as shown in Figure 7 . It can be understood that the first card includes multiple sharing service controls.

[0149] S102. In response to the user's operation on the target sharing service control in the first card, display a capsule icon in its initial form.

[0150] The target sharing service control may refer to the "keyboard and mouse sharing" control shown in Figure 7 , or any control in the first card, and the embodiments of the present application do not limit this. It can be understood that the operation on the target sharing service control may be a click operation or a long - press operation, and the embodiments of the present application do not limit this. Click the first icon to display the first card. The capsule icon in its initial form may be the first keyboard and mouse sharing capsule icon 10C42 as shown in (a) of Figure 8 .

[0151] S103. Detect a drag - and - drop operation on the capsule icon in its initial form, and display a capsule icon in its moving form.

[0152] Exemplarily, the capsule icon in its moving form may be the second keyboard and mouse sharing capsule icon 10C42A as shown in (b) of Figure 8 .

[0153] In the interface display method provided by the embodiments of the present application, by responding to the operation of clicking the first icon, display the first card. The first icon may refer to the first device icon, and the first device icon is the icon of the first device in the trusted ring device interface. The first card is used to display at least one sharing service control; then, in response to a second operation on any sharing service control (target sharing service control) displayed on the first card, display the first capsule icon corresponding to the target sharing service control. The moving range of the first capsule icon is any range on the trusted ring device interface, so that during the setup process of the trusted ring, the first capsule icon that appears in the interface can move arbitrarily on the trusted ring setup interface. Compared with the traditional method where the icon can only move along a preset trajectory in the system, in the interface display method provided by the embodiments of the present application, the moving trajectory of the first capsule icon is richer, improving the user experience.

[0154] S104. When it is detected that the capsule icon in its moving form moves to the second icon, switch the capsule icon in its moving form to a bubble icon in the connection - waiting form.

[0155] Among them, the second icon may refer to the icon of another trusted device (such as the second device) in the trusted ring in the trusted ring device interface. For example, the second icon may refer to the bubble icon of the mobile phone in the trusted ring setup interface, as shown in Figure 6The bubble icon 10C1 of the mobile phone shown in (a) of [the figure]. The bubble icon in the connection waiting state may refer to the first connection waiting bubble 10C43. When it is detected that the second keyboard and mouse sharing capsule icon 10C42A moves to the bubble icon 10C1 of the mobile phone, the second keyboard and mouse sharing capsule icon 10C42A is switched to the first connection waiting bubble 10C43.

[0156] Among them, the capsule icon in the moving state can become the first capsule icon, and the bubble icon in the waiting state can also become the second bubble icon. The second icon can be called the second device icon.

[0157] For the interface display method provided by the embodiments of the present application, when it is detected that the first capsule icon moves to the second device icon, the second bubble icon in the connection waiting state is displayed, and then the first bubble icon in the connection successful state is displayed. It can be understood that usually it takes a long time for the second device to establish the target sharing service. If the second bubble icon is not displayed, when waiting to establish the target sharing service, the user cannot clearly know the state of the current second device. By displaying the second bubble icon in the connection waiting state, it is prompted to the user that the target sharing service is being established and only waiting is required, without the need to perform additional operations, thus avoiding the situation of system jamming caused by the user performing other operations.

[0158] S105. When it is detected that the second device has successfully established business sharing, the bubble icon in the connection waiting state is switched to the bubble icon in the connection successful state.

[0159] Among them, the second device successfully establishing business sharing may mean that the business permissions of the first device are successfully opened to the second device. For example, the sharing service refers to keyboard and mouse sharing, the second device refers to the mobile phone, and the first device refers to the PC. Then the second device successfully establishing business sharing may mean that the permissions of the mouse and keyboard connected to the PC are successfully opened to the mobile phone, and the mouse and keyboard connected to the PC can access the mobile phone. The bubble icon in the connection successful state may refer to, for example, Figure 13 the first connection successful bubble icon 10C44 shown in (a) of [the figure].

[0160] Among them, the bubble icon in the connection successful state can become the first bubble icon.

[0161] The interface display method provided by the embodiment of the present application displays a first bubble icon when it is detected that the first capsule icon moves to the second device icon, where the second device icon refers to the second device in the trusted ring device interface, and the first bubble icon is used to indicate that the second device has successfully established a target sharing service. The target sharing service refers to the sharing service corresponding to the target sharing service control. In this way, during the process of the second device establishing the target sharing service, the first capsule icon displayed during the movement can be switched to the first bubble icon, enriching the display method of the icon during the process of the second device establishing the target sharing service and improving the user experience.

[0162] S106. When it is detected that the bubble icon in the connection success state is dragged back to the first device icon, close the bubble icon in the connection success state.

[0163] For example, as shown in (b) of Figure 13 and (c) of Figure 13 when the first connection success bubble icon 10C44 is dragged back to the bubble icon 10C3 of the PC, close the first connection success bubble icon 10C44. When closing the bubble icon in the connection success state, close the shared target service established by the second device.

[0164] Among them, the bubble icon in the connection success state can become the first bubble icon.

[0165] The interface display method provided by the embodiment of the present application can close the target sharing service established by the second device by moving the first bubble icon back to the first device icon, which can improve the convenience of closing the shared target service established by the second device.

[0166] S107. When it is detected that a click operation is performed on the bubble icon in the connection success state, switch the bubble icon in the connection success state to a capsule icon in the completed state.

[0167] For example, as shown in (a) of Figure 12 and (b) of Figure 12 when the first connection success bubble icon 10C44 is clicked, the first connection success bubble icon 10C44 is switched to the third keyboard and mouse sharing capsule icon 10C45.

[0168] Among them, the bubble icon in the connection success state can be called the first bubble icon, and the capsule icon in the completed state can be called the third capsule icon.

[0169] S108. When it is detected that a click operation is performed on the close button on the capsule icon in the completed state, close the capsule icon in the completed state and close the sharing service.

[0170] Among them, the close button on the capsule icon in the completed state can be called the first close button.

[0171] For example, as shown in Figure 12 (c) in Figure 12 and (d) in

[0172] When the close button on the third keyboard and mouse sharing capsule icon 10C45 is clicked, the third keyboard and mouse sharing capsule icon 10C45 is closed. The interface display method provided by the embodiment of the present application displays the third capsule icon by responding to the click on the first bubble icon, and then closes the third capsule icon by responding to the operation on the first close button, and closes the target sharing service established by the second device. In this way, it is equivalent to operating on the first bubble icon displayed at the second device icon to close the target sharing service established by the second device, improving the intuitiveness of closing the target sharing service established by the second device.

[0173] S109. When it is monitored that the capsule icon in the moving state has not moved to the second icon and the user raises the hand, the capsule icon in the moving state is switched to the capsule icon in the initial state.

[0174] Among them, when the user raises the hand, the first capsule icon (that is, the capsule icon in the moving state) has not moved to the second device icon. Therefore, it is equivalent to the user canceling the operation of establishing the service sharing this time. Based on this, the capsule icon in the moving state (the first capsule icon) can be switched to the capsule icon in the initial state (the second capsule icon). The specific process can be seen in Figure 15 (a) in Figure 15 and (b) in

[0175] S110. When it is monitored that the user clicks the close button on the capsule icon in the initial state, the capsule icon in the initial state is closed.

[0176] Among them, the close button on the capsule icon in the initial state can be called the second close button.

[0177] The interface display method provided by the embodiment of the present application can close the second capsule icon, that is, cancel the operation of establishing the service sharing, through the second close button on the second capsule icon when the capsule icon in the initial state (that is, the second capsule icon) is displayed, which can improve the convenience of canceling the operation of establishing the service sharing.

[0178] It should be understood that although the steps in the flowcharts in the above embodiments are shown sequentially according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least some of the other steps or sub-steps or stages of other steps.

[0179] It can be understood that in order to implement the above functions, the electronic device includes the corresponding hardware and / or software modules for executing each function. Combining the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.

[0180] The embodiments of the present application can divide the functional modules of the electronic device according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one module. It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there can be other division methods in actual implementation. It should be noted that the names of the modules in the embodiments of the present application are illustrative, and the names of the modules are not limited in actual implementation.

[0181] Figure 20 It is a schematic structural diagram of an interface display device provided by an embodiment of the present application.

[0182] It should be understood that the interface display device 600 can execute Figure 19 the interface display method shown; the interface display device 600 includes: an acquisition unit 610 and a processing unit 620.

[0183] The processing unit 620 is used to display a first card in response to a first operation on the first device icon, where the first device icon is the icon of the first device in the trusted ring device interface, and the first card is used to display at least one shared service control;

[0184] The processing unit 620 is configured to display a first capsule icon corresponding to the target shared service control in response to a second operation on the target shared service control, where the target shared service control is any shared service control displayed on the first card, and the moving range of the first capsule icon is any range on the trusted ring device interface.

[0185] In one embodiment, the processing unit 620 is further configured to perform a long - press operation on the target shared service control; in response to the long - press operation on the target shared service control, display a first capsule icon corresponding to the target shared service control, where the first capsule icon is a moving capsule icon.

[0186] In one embodiment, the processing unit 620 is specifically configured to perform a click operation on the target shared service, display a second capsule icon, where the second capsule icon is an initial - state capsule icon; perform a drag - and - drop operation on the second capsule icon; in response to the drag - and - drop operation on the second capsule icon, display a first capsule icon corresponding to the target shared service control, where the first capsule icon is a moving capsule icon.

[0187] In one embodiment, the processing unit 620 is further configured to display a first bubble icon when it monitors that the first capsule icon moves to a second device icon, where the second device icon refers to a second device in the trusted ring device interface, and the first bubble icon is used to indicate that the second device has successfully established a target shared service, and the target shared service refers to the shared service corresponding to the target shared service control.

[0188] In one embodiment, the processing unit 620 is further configured to display a second bubble icon, where the second bubble icon is used to indicate that the second device is waiting to establish the target shared service.

[0189] In one embodiment, the processing unit 620 is further configured to close the first bubble icon and close the target shared service established by the second device when it monitors that the first bubble icon moves back to the first device icon.

[0190] In one embodiment, the processing unit 620 is further configured to display a third capsule icon in response to a click on the first bubble icon, and a first device identifier corresponding to the target shared service is displayed on the third capsule icon.

[0191] In one embodiment, a first close button is further included on the third capsule icon, and the processing unit 620 is further configured to close the third capsule icon and close the target shared service established by the second device in response to an operation on the first close button.

[0192] In one embodiment, when the processing unit 620 also monitors that the first capsule icon has not moved to the second device icon and detects a user's hand-raising operation, it displays a second capsule icon, and the second capsule icon is a capsule icon in an initial state.

[0193] In one embodiment, the second capsule icon includes a second close button, and the processing unit 620 is further configured to close the second capsule icon in response to a click operation on the second close button.

[0194] In one embodiment, the processing unit 620 is further configured to determine whether the first bubble icon has moved to a third device icon in response to a drag operation on the first bubble icon, where the third device icon refers to the icon of the third device in the trusted ring device interface; if the first bubble icon moves to the third device icon, it displays a third bubble icon, and the third bubble icon is used to indicate that the third device has successfully established a target sharing service.

[0195] In one embodiment, the processing unit 620 is further configured to display a fourth bubble icon, and the fourth bubble icon is used to indicate that the third device is waiting to establish the target sharing service.

[0196] The interface display device provided in this embodiment is used to execute the interface display method in the above embodiment. The technical principles and technical effects are similar and will not be elaborated here.

[0197] It should be noted that the above interface display device 600 is embodied in the form of functional units. The term "unit" here can be implemented in the form of software and / or hardware, and no specific limitation is made thereto.

[0198] For example, the "unit" can be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group of processors, etc.) for executing one or more software or firmware programs, and a memory, a merged logic circuit, and / or other suitable components that support the described functions.

[0199] Therefore, the units in the examples described in the embodiments of the present application can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present application.

[0200] Figure 21The structural schematic diagram of an electronic device provided by the present application is shown. Figure 17 The dashed line in [description] indicates that the unit or module is optional. The electronic device 700 can be used to implement the interface display method described in the above method embodiments.

[0201] The electronic device 700 includes one or more processors 701, and the one or more processors 701 can support the electronic device 700 to implement the interface display method in the method embodiments. The processor 701 can be a general-purpose processor or a dedicated processor. For example, the processor 701 can be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gate, transistor logic devices, or discrete hardware components.

[0202] The processor 701 can be used to control the electronic device 700, execute software programs, and process the data of software programs. The electronic device 700 can also include a communication unit 705 for implementing signal input (reception) and output (transmission).

[0203] For example, the electronic device 700 can be a chip, and the communication unit 705 can be the input and / or output circuit of the chip, or the communication unit 705 can be the communication interface of the chip, and the chip can be a component of a terminal device or other electronic devices.

[0204] Again, for example, the electronic device 700 can be a terminal device, and the communication unit 705 can be the transceiver of the terminal device, or the communication unit 705 can be the transceiver circuit of the terminal device.

[0205] The electronic device 700 can include one or more memories 702, on which there is a program 704. The program 704 can be run by the processor 701 to generate an instruction 703, so that the processor 701 executes the impedance matching method described in the above method embodiments according to the instruction 703.

[0206] Optionally, data can also be stored in the memory 702. Optionally, the processor 701 can also read the data stored in the memory 702. The data can be stored at the same storage address as the program 704, or the data can be stored at a different storage address from the program 704.

[0207] The processor 701 and the memory 702 can be set separately or integrated together; for example, integrated on a system on chip (SOC) of a terminal device.

[0208] Exemplarily, the memory 702 can be used to store the relevant program 704 of the interface display method provided in the embodiments of the present application. The processor 701 can be used to call the relevant program 704 of the interface display method stored in the memory 702 when performing interface display, and execute the interface display method of the embodiments of the present application; including: in response to a first operation on a first device icon, display a first card, where the first device icon is the icon of a first device in the trusted ring device interface, and the first card is used to display at least one shared service control; in response to a second operation on a target shared service control, display a first capsule icon corresponding to the target shared service control, where the target shared service control is any shared service control displayed on the first card, and the moving range of the first capsule icon is any range on the trusted ring device interface.

[0209] The present application also provides a computer program product. When the computer program product is executed by the processor 701, it implements the interface display method described in any method embodiment of the present application.

[0210] The computer program product can be stored in the memory 702, for example, it is the program 704. After processes such as preprocessing, compilation, assembly, and linking, the program 704 is finally converted into an executable target file that can be executed by the processor 701.

[0211] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a computer, it implements the interface display method described in any method embodiment of the present application. The computer program can be a high-level language program or an executable target program.

[0212] The computer-readable storage medium is, for example, the memory 702. The memory 702 may be a volatile memory or a non-volatile memory, or the memory 702 may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0213] In this application, "at least one" means one or more, and "a plurality" means two or more. "At least one of the following" or a similar expression means any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c may represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c may be single or multiple.

[0214] It should be understood that in various embodiments of this application, the magnitudes of the sequence numbers of the above processes do not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of this application.

[0215] Those of ordinary skill in the art will realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0216] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.

[0217] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only a logical function division, and there can be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings, direct couplings, or communication connections shown or discussed with each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.

[0218] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0219] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.

[0220] As described above, the above are only the specific implementation manners of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, and all should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims

1. An interface display method, characterized in that, The method includes: In response to a first operation on a first device icon, a first card is displayed. The first device icon is the icon of a first device in a trust ring device interface, and the first card is used to display at least one shared service control. In response to a second operation on a target shared service control, a first capsule icon corresponding to the target shared service control is displayed. The target shared service control is any one of the shared service controls displayed on the first card, and the moving range of the first capsule icon is any range on the trust ring device interface.

2. The method according to claim 1, wherein The second operation on the target shared service control includes: Performing a long-press operation on the target shared service control. The displaying of the first capsule icon corresponding to the target shared service control in response to the second operation on the target shared service control includes: In response to the long-press operation on the target shared service control, a first capsule icon corresponding to the target shared service control is displayed, and the first capsule icon is a moving capsule icon.

3. The method according to claim 1, wherein The second operation on the target shared service control includes: Performing a click operation on the target shared service to display a second capsule icon, and the second capsule icon is an initial-state capsule icon. Performing a drag operation on the second capsule icon. The displaying of the first capsule icon corresponding to the target shared service control in response to the second operation on the target shared service control includes: In response to the drag operation on the second capsule icon, a first capsule icon corresponding to the target shared service control is displayed, and the first capsule icon is a moving capsule icon.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: When it is detected that the first capsule icon moves to a second device icon, a first bubble icon is displayed. The second device icon refers to a second device in the trust ring device interface, and the first bubble icon is used to indicate that the second device has successfully established a target shared service. The target shared service refers to the shared service corresponding to the target shared service control.

5. The method according to claim 4, wherein Before displaying the first bubble icon, the method further includes: Displaying a second bubble icon, and the second bubble icon is used to indicate that the second device is waiting to establish the target shared service.

6. The method according to claim 4 or 5, characterized in that After displaying the first bubble icon, the method further includes: When it is detected that the first bubble icon moves back to the first device icon, the first bubble icon is closed, and the target shared service established by the second device is closed.

7. The method according to claim 4, characterized in that, The method further includes: In response to clicking the first bubble icon, a third capsule icon is displayed, and a first device identifier corresponding to the target shared service is displayed on the third capsule icon.

8. The method according to claim 7, wherein The third capsule icon further includes a first close button, and the method further includes: In response to an operation on the first close button, the third capsule icon is closed, and the target shared service established by the second device is closed.

9. The method according to any one of claims 1 to 3, characterized in that, The method further includes: When it is detected that the first capsule icon does not move to the second device icon and a user's hand-lifting operation is detected, a second capsule icon is displayed, and the second capsule icon is an initial-state capsule icon.

10. The method according to claim 9, wherein The second capsule icon includes a second close button, and the method further includes: In response to a click operation on the second close button, close the second capsule icon.

11. The method according to claim 4, wherein The method further includes: In response to a drag operation on the first bubble icon, determine whether the first bubble icon moves to a third device icon, where the third device icon refers to the icon of a third device in the trusted ring device interface; If the first bubble icon moves to the third device icon, display a third bubble icon, where the third bubble icon is used to indicate that the third device has successfully established a target sharing service.

12. The method according to claim 11, wherein Before displaying the third bubble icon, the method further includes: Display a fourth bubble icon, where the fourth bubble icon is used to indicate that the third device is waiting to establish the target sharing service.

13. An electronic device, characterized in that, The electronic device includes a module for executing the method according to any one of claims 1-8.

14. An electronic device, characterized in that, The electronic device includes: one or more processors, and a memory; The memory is coupled to the one or more processors, and the memory is used to store computer program code, where the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the electronic device to execute the method according to any one of claims 1 to 12.

15. A chip system, characterized in that, The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions to cause the electronic device to execute the method according to any one of claims 1 to 12.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes instructions, and when the instructions run on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Control method and device, and storage medium

    CN111930024A

  • Input device sharing method, electronic device and system

    CN114579016A

  • Equipment collaboration method and related device

    CN116156044A

  • Device interaction method, electronic device and system

    WO2023030196A1