Shortcut display system, method, and related apparatus
By determining the conditions for shortcut display in multi-screen collaboration, mobile application icons can be displayed directly on the computer, solving the problem of cumbersome operation and improving user convenience and application launching efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2021-07-29
- Publication Date
- 2026-05-08
AI Technical Summary
After connecting via multi-screen collaboration, users need to open the corresponding screen mirroring interface window on their computer and select the application, which makes the operation cumbersome and the application opening efficiency low.
By determining whether the device meets the conditions for shortcut display, the phone's application icons can be displayed directly on the computer, reducing operation steps and improving accuracy.
It improves the ease of user operation and the efficiency of launching applications, reduces screen space occupation and avoids icon interference, thus enhancing the user experience.
Smart Images

Figure CN115700462B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a shortcut display system, method and related apparatus. Background Technology
[0002] Based on distributed technology, multi-screen collaboration enables cross-system and cross-device collaboration. By establishing a collaborative connection between one electronic device and others, multi-screen collaboration allows for rapid resource sharing; for example, collaborative operations can improve work efficiency. When a mobile phone and computer are connected, the user can use applications on the phone and play data from the phone via the computer. However, if the computer wants to open a specific application on the phone after the connection, it first needs to open the corresponding screen mirroring window on the computer, then select the application in the phone's mirroring window to remotely open the application on the phone. For users, this process is cumbersome, time-consuming, and inefficient. Summary of the Invention
[0003] In view of the above, it is necessary to provide a shortcut display system, method, electronic device and storage medium to improve the convenience of user operation and improve the efficiency of opening applications.
[0004] In a first aspect, embodiments of this application provide a shortcut display system. The system includes a first device and a second device. The first device and the second device establish a collaborative connection. If the first device determines that the projection interface window corresponding to the second device is not displayed, it determines that the first device meets the shortcut display conditions. The second device identifies a target application. The first device determines a target application icon based on the target application. The first device displays the target application icon. The shortcut display system provided by this application can improve the convenience of user operation and increase the efficiency of opening applications.
[0005] In one implementation, if the first device has already displayed the screen mirroring interface window corresponding to the second device, it is determined that the first device does not meet the shortcut display condition.
[0006] In one implementation, if the first device determines that the screen mirroring interface window corresponding to the second device is not displayed, determining that the first device meets the shortcut display condition includes: if the first device determines that the screen mirroring interface window corresponding to the second device is not displayed, the first device determines whether the user has controlled the second device to open the application on the second device through the first device; if the first device determines that the user has controlled the second device to open the application on the second device through the first device, the first device is determined to meet the shortcut display condition; if the first device determines that the user has not controlled the second device to open the application on the second device through the first device, the first device is determined not to meet the shortcut display condition.
[0007] The above technical solution can improve the accuracy of determining whether the first device meets the conditions for shortcut display, thereby improving the efficiency of opening applications.
[0008] In one implementation, the first device displays a screen mirroring interface window corresponding to the second device, wherein the screen mirroring interface window includes an application interface corresponding to a first application; the second device determines the target application by: if the screen mirroring interface window displayed on the first device is closed, the second device determines the first application as the target application. Through the above technical solution, determining the target application corresponding to the second device based on a closed screen mirroring interface window can improve the accuracy and efficiency of determining the target application.
[0009] In one implementation, the second device determines the target application by: detecting a user's trigger operation on an application icon on the second device and calculating the duration of the trigger operation; if the duration is greater than or equal to a duration threshold, the second device determines whether the application corresponding to the application icon is set to be displayed across devices; if the application is not set to be displayed across devices, the second device generates a prompt to enable cross-device display; based on the user's confirmation instruction to enable cross-device display, the second device determines the application as the target application. This technical solution can improve the accuracy of identifying the target application.
[0010] In one implementation, if the application is set to be displayed across devices, the second device generates a prompt to disable cross-device display; based on the user's confirmation of the prompt, the second device determines the application as a non-target application. This technical solution improves the accuracy of displaying application shortcuts across devices by adjusting the target application based on the user's selection.
[0011] In one implementation, the target application icon includes a device identifier, which indicates that the application corresponding to the target application icon is installed on the second device. This technical solution effectively distinguishes between the application icon corresponding to the first device and the application icon corresponding to the second device, avoiding situations where users encounter two identical application icons when the first and second devices have the same application, making it impossible to directly determine which application icon corresponds to the first device and which corresponds to the second device. This improves the accuracy of displaying application shortcuts across devices.
[0012] In one implementation, if the first device receives a trigger operation from a user on a target application icon displayed on the first device, the first device determines the second application corresponding to the target application icon on the second device; the first device controls the second device to open the second application and display a screen mirroring interface window, the screen mirroring interface window displaying the interface of the second application. This technical solution improves the ease of operation of electronic devices and enhances the user experience.
[0013] In one implementation, after the first device displays the screen projection interface window, the first device stops displaying the target application icon. This technical solution reduces the space occupied on the display screen, and reducing the number of application icons displayed on the screen avoids interference caused by too many icons, improving the efficiency of users selecting the desired icons.
[0014] In one implementation, the second device determines whether the application corresponding to the target application icon is installed on its device at preset time intervals. If the second device determines that the application corresponding to the target application icon is not installed on its device, it prompts the first device to stop displaying the target application icon. This technical solution, by determining that the application corresponding to the target application icon is not installed on the second device and stopping the display of the target application icon for the uninstalled application, avoids situations where, after a user deletes the application corresponding to the target application icon on the second device, clicking on the icon of the deleted application on the first device results in no response. This avoids invalid user operations, improves the user experience, and also increases the efficiency of displaying application shortcuts across devices.
[0015] In one implementation, the first device displaying the target application icon includes: the second device generating a display modification instruction based on a user's operation and sending the display modification instruction to the first device; the first device determining the icon to be displayed based on the display modification instruction and the target application icon; and displaying the icon to be displayed. By modifying the icon displayed on the first device according to the display modification instruction from the second device, the accuracy of displaying application icons can be improved.
[0016] In one implementation, if the first device and the second device disconnect from their collaborative connection, the first device processes the target application icon according to preset image processing rules and displays the processed target application icon. This technical solution allows users to intuitively perceive the connection status between the first and second devices, improving the user experience.
[0017] In one implementation, if the first device detects a user's click on the processed target application icon, it establishes a collaborative connection with the second device. The first device controls the second device to open the third application corresponding to the clicked target application icon and displays a projection interface window, which shows the interface of the third application. Through this technical solution, after the first device and the second device establish a collaborative connection, the first device controls the second device to open the corresponding application based on the user's click, improving the efficiency of opening applications.
[0018] Secondly, embodiments of this application provide a shortcut display method applied to a first device, wherein the first device and a second device establish a collaborative connection. The method includes: if the first device determines that the projection interface window corresponding to the second device is not displayed, determining that the first device meets the shortcut display conditions; determining a target application icon based on a target application determined by the second device, and displaying the target application icon. Through the above technical solution, the convenience of user operation and the efficiency of opening applications can be improved.
[0019] Thirdly, embodiments of this application provide an electronic device, which includes a memory and a processor; the memory is used to store program instructions; the processor is used to read the program instructions stored in the memory to implement the shortcut display method as described above.
[0020] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-readable instructions, which, when executed by a processor, implement the shortcut display method described above. Attached Figure Description
[0021] Figure 1a This is a schematic diagram of a screen projection technology provided in an embodiment of this application.
[0022] Figure 1b This is a schematic diagram illustrating another screen projection technology provided in an embodiment of this application.
[0023] Figure 2 This is a schematic diagram of a shortcut display method provided in an embodiment of this application.
[0024] Figure 3 A schematic diagram of a scenario for another shortcut display method provided in an embodiment of this application.
[0025] Figure 4 A flowchart illustrating a shortcut display method provided in an embodiment of this application.
[0026] Figure 5 This is a schematic diagram illustrating a scenario for displaying a target application icon, provided in an embodiment of this application.
[0027] Figure 6 This is a schematic diagram of a scenario where a display menu corresponding to a second device application icon is provided in an embodiment of this application.
[0028] Figure 7a This is a schematic diagram illustrating a scenario where a target application icon is displayed on a first device, as provided in an embodiment of this application.
[0029] Figure 7b This is a schematic diagram illustrating another scenario in which a target application icon is displayed on a first device, as provided in an embodiment of this application.
[0030] Figure 7c This is a schematic diagram illustrating another scenario of displaying a target application icon on a first device, provided as an embodiment of this application.
[0031] Figure 8a This is a schematic diagram of a scenario for obtaining a target display icon, provided in an embodiment of this application.
[0032] Figure 8b This is a schematic diagram of a scenario for obtaining a target display icon, provided in an embodiment of this application.
[0033] Figure 8c This is a schematic diagram of a scenario for obtaining a target display icon, provided in an embodiment of this application.
[0034] Figure 9 This is a flowchart illustrating a method for determining a target application icon, as provided in an embodiment of this application.
[0035] Figure 10 This is a schematic diagram of a shortcut display system provided in an embodiment of this application.
[0036] Figure 11 This is a schematic diagram illustrating a structure for implementing cross-device display of application shortcuts between a first device and a second device, as provided in an embodiment of this application.
[0037] Figure 12 This is a flowchart illustrating a method for displaying shortcuts using a first device, as provided in an embodiment of this application.
[0038] Figure 13 This is a schematic diagram illustrating a process of enabling an application on a second device via a first device, as provided in an embodiment of this application.
[0039] Figure 14 This is a flowchart illustrating how to display an application icon corresponding to a second device application on a first device, as provided in an embodiment of this application.
[0040] Figure 15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0041] In the following description, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of this application, words such as "exemplary," "or," and "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary," "or," and "for example" is intended to present the relevant concepts in a concrete manner.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used in this application's specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It should be understood that, unless otherwise stated, " / " in this application means "or". For example, A / B can mean A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. "At least one" refers to one or more. "More than one" refers to two or more. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, and a, b, and c (seven cases).
[0043] Based on distributed technology, multi-screen collaboration enables cross-system and cross-device collaboration. By establishing a collaborative connection between one electronic device and others, the first device can remotely control the other connected devices, facilitating rapid resource sharing. For example, collaborative operations can improve office efficiency. When a mobile phone and computer establish a collaborative connection, the phone screen is displayed on the computer, allowing the computer to remotely control the phone. This includes operating mobile applications and accessing files on the computer, and making and receiving audio / video calls directly from the phone. However, to open a specific application on the phone via the computer after the connection, the corresponding screen mirroring window must first be opened on the computer, and then the application must be selected within that window to remotely open it on the phone.
[0044] For example, a computer and a mobile phone can work together, with the phone's screen displayed on the computer screen. To open the phone app on your phone via your computer, such as... Figure 1a As shown, first, you need to open the screen mirroring interface window 201 corresponding to the main interface 21 of the mobile phone 20 on the screen 110 of the computer 10. Then, you need to find and click the icon 3 corresponding to the phone application in the screen mirroring interface window 201 displayed on the screen 110 of the computer 10. Figure 1b As shown, the above steps enable the phone application on mobile phone 20 to be opened via computer 10, and the corresponding projection interface window 301 of the phone application interface 31 of mobile phone 20 is displayed on the screen 110 of computer 10. For users, this process is relatively cumbersome and requires a lot of time to open the application on the collaborative device, resulting in low efficiency in opening the application.
[0045] To address the technical problem that the user operation in the aforementioned multi-screen collaboration technology is cumbersome and inconvenient, resulting in low efficiency in launching applications, this application provides a shortcut display method to improve the convenience of user operation and increase the efficiency of launching applications.
[0046] In embodiments of this application, after cross-device collaboration is established, it can be determined whether one device meets the conditions for displaying an application shortcut of another device. If the device meets the conditions, the target application icon on the other device is obtained and displayed on that device. Figure 2As shown, after computer 10 and mobile phone 20 establish collaboration, it is determined whether computer 10 meets the conditions for displaying the application shortcut corresponding to mobile phone 20. If computer 10 meets the conditions for displaying the application shortcut corresponding to mobile phone 20, the phone application 21 on mobile phone 20 is identified, and the phone application icon 201 corresponding to phone application 21 is displayed on the screen 110 of computer 10. For example, after computer 10 and mobile phone 20 establish collaboration, if the screen mirroring interface window corresponding to mobile phone 20 is not displayed on computer 10, it is determined that computer 10 meets the conditions for displaying the application shortcut corresponding to mobile phone 20. For example, the target application on mobile phone 20 can be identified by obtaining application information sent by mobile phone 20.
[0047] Users can open the application corresponding to the target application icon displayed on the computer 10 by clicking the icon on the mobile phone 20, and a screen mirroring interface window will be generated on the computer 10, displaying the interface of the target application. For example, Figure 3 As shown, if a user clicks the phone application icon 201 on the display screen 110 of computer 10, the phone application on mobile phone 20 can be opened. After the phone application is opened, the application interface 21 corresponding to the phone application is displayed on mobile phone 20, and the projection interface 301 corresponding to the application interface 21 is displayed on the display screen 110 of computer 10 in the form of a projection interface window.
[0048] For example, the display of the target application icon can be changed accordingly based on the user's settings. For instance, if the screen mirroring interface window corresponding to the phone application on the mobile phone 20 is already displayed on the computer 10, the display status of the phone application icon on the computer 10 can be adjusted according to the user's settings. For example, the phone application icon can be stopped from being displayed on the computer 10, or it can be displayed continuously.
[0049] refer to Figure 4 The diagram shown is a flowchart of a shortcut display method provided in an embodiment of this application. To facilitate a clear description of collaborative operations across devices, Figure 4 The method described herein is from the perspective of a first device. The first and second devices mentioned in this method can be electronic devices with screens, such as mobile phones, tablets, desktop computers, laptops, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), and netbooks; no limitations are imposed here. The method specifically includes:
[0050] S41, after establishing a collaborative connection with the second device, determines whether the conditions for shortcut display are met.
[0051] If the first device establishes a collaborative connection with the second device, determine whether the first device meets the conditions for displaying shortcuts.
[0052] For example, the shortcut display condition may include: the first device does not display the corresponding screen mirroring interface window of the second device. For instance, the condition can be determined by checking whether the duration for which the first device does not display the corresponding screen mirroring interface window of the second device reaches or exceeds a preset duration. If the duration for which the first device does not display the corresponding screen mirroring interface window of the second device reaches or exceeds the preset duration, the first device is determined to meet the shortcut display condition; if the duration for which the first device does not display the corresponding screen mirroring interface window of the second device does not exceed the preset duration, the first device is determined not to meet the shortcut display condition.
[0053] The absence of a screen mirroring interface window corresponding to the second device on the first device may include the screen mirroring interface window corresponding to the second device being closed and / or the screen mirroring interface window corresponding to the second device being hidden.
[0054] For example, shortcut display conditions may also include: the user has controlled the second device to open an application on the second device through the first device, i.e., the user has used the collaborative control function. If the user has previously controlled the second device to open an application on the second device through the first device, the first device is determined to meet the shortcut display conditions. For example, if a screen mirroring interface window corresponding to the interface of the second device is displayed on the first device, and the user has controlled the second device to open the application corresponding to that application icon by clicking the application icon in the screen mirroring interface window, the first device is determined to meet the shortcut display conditions.
[0055] In some embodiments of this application, if the screen mirroring interface window corresponding to the second device is not displayed on the first device, it is determined whether the user has controlled the second device to open the application on the second device through the first device. If the user has controlled the second device to open the application on the second device through the first device, it is determined that the first device meets the shortcut display condition; if the user has not controlled the second device to open the application on the second device through the first device, it is determined that the first device does not meet the shortcut display condition. By determining that the screen mirroring interface window corresponding to the second device is not displayed on the first device, and further judging the user's needs based on whether the user has used the collaborative control function, it is determined whether the first device meets the shortcut display condition.
[0056] If the first device meets the conditions for displaying shortcuts, the application icon for the second device can be displayed on the first device; if the first device does not meet the conditions for displaying shortcuts, the application icon for the second device will not be displayed on the first device.
[0057] S42, if the shortcut display conditions are met, obtain the target application icon corresponding to the second device and display the target application icon.
[0058] The target application icon corresponds to the target application on the second device. The target application can be an application on the second device that is authorized to be invoked by the first device. The target application icon is used to open the target application and display the corresponding screen mirroring interface window on the first device.
[0059] In some embodiments of this application, the target application icon corresponding to the second device is obtained based on the target application determined by the second device. The second device can determine the target application on the second device based on the user's operation on the second device. Specific embodiments for determining the target application corresponding to the second device based on the user's operation can be referred to in the following description.
[0060] If a user clicks on the target application icon corresponding to the second device displayed on the first device, the target application corresponding to the target application icon on the second device can be opened, and the interface of the target application can be displayed on the first device in the form of a screen mirroring window.
[0061] The second device can contain multiple target applications, and multiple target application icons can be displayed on the screen of the first device. Based on the user's selection of a target application icon from among the multiple target application icons, the target application corresponding to that icon is opened, and its interface is displayed on the first device as a projection window.
[0062] The following example illustrates this using a computer as the first device and a mobile phone as the second device. Figure 5 As shown, computer 10 and mobile phone 20 establish a collaborative connection, and computer 10 meets the conditions for displaying shortcuts. If the target applications on mobile phone 20 are: target application A, target application B, target application C, and target application D, where target application A corresponds to target application icon A, target application B corresponds to target application icon B, target application C corresponds to target application icon C, and target application D corresponds to target application icon D, then target application icons A, B, C, and D are displayed on the screen 110 of computer 10. If the user clicks target application icon B on the screen 110 of computer 10, target application B on mobile phone 20 is opened, and the corresponding projection interface window for target application B is displayed on the screen 110 of computer 10; if the user clicks target application icon C on the screen 110 of computer 10, target application C on mobile phone 20 is opened, and the corresponding projection interface window for target application C is displayed on the screen 110 of computer 10.
[0063] In some embodiments of this application, if the screen mirroring interface window of the target application corresponding to the target application icon is displayed on the first device, the first device stops displaying the target application icon, and / or if the first device and the second device are detected to have lost their collaborative connection, the target application icon is stopped being displayed.
[0064] For example, if the first device displays the casting interface window of the target application corresponding to a certain target application icon, the first device stops displaying the target application icon. The first device can continue displaying the target application icon when the casting interface window is closed.
[0065] By displaying the target application icon on the first device and then stopping the display of the target application icon, and / or by detecting that the first device and the second device have lost their collaborative connection, the space occupied on the display screen can be reduced. At the same time, reducing the number of application icons displayed on the display screen can avoid the interference caused by too many icons and improve the efficiency of users in selecting the icons they need.
[0066] In some embodiments of this application, if the first device and the second device are detected to have lost their collaborative connection, the target application icon is processed according to a preset icon processing rule, and the first device displays the processed target application icon. The icon processing rule can be determined according to user preferences or factory settings; no limitations are placed on the icon processing rule here. For example, the icon processing rule may include grayscale processing of the target application icon, and the first device displays the grayscale processed target application icon.
[0067] For example, if a user clicks the processed target application icon on the first device, a collaborative connection with the second device can be re-established.
[0068] After the first device and the second device disconnect from each other, the target application icon is processed according to the preset icon processing rules. The first device then displays the processed target application icon, allowing users to intuitively perceive the connection status between the first device and the second device, thus improving the user experience.
[0069] In some embodiments of this application, if the first device detects that the user clicks on the processed target application icon, it establishes a collaborative connection with the second device; and determines the application corresponding to the target application icon clicked by the user, and identifies the application as the third application; the first device controls the second device to open the third application and display a screen projection interface window, the screen projection interface window displaying the interface of the third application.
[0070] After establishing a collaborative connection between the first and second devices, the first device controls the second device to open the corresponding application based on the user's click, thereby improving the efficiency of opening applications.
[0071] In some embodiments of this application, displaying a target application icon includes: receiving a display modification instruction from the second device; determining an icon to be displayed for the second device based on the display modification instruction and the target application icon corresponding to the second device; and displaying the icon to be displayed.
[0072] The display modification instructions can be generated based on the user's actions on the second device. These instructions are used to add and / or delete icons that can be displayed on the first device. For example, display modification instructions can be generated based on the user's selections in the menu corresponding to the applied icons on the second device.
[0073] By modifying the icons displayed on the first device according to the display modification instructions of the second device, the accuracy of displaying application icons can be improved.
[0074] like Figure 6 As shown, if a user clicks the "Show Collaboration App Icon" option in the menu corresponding to the phone app icon on the second device, a display modification command is generated. This command displays the phone app icon of the second device on electronic devices that have established collaboration with the second device. If a user clicks the "Hide Collaboration App Icon" option in the menu corresponding to the phone app icon on the second device, a display modification command is generated. This command hides the phone app icon of the second device on electronic devices that have established collaboration with the second device. Figure 6 The menus shown are for illustrative purposes only and are not intended to be limiting. For instance, the menu content displayed for an application icon can be changed according to the user's settings. For example, if an application icon is set to display a collaboration application icon, the corresponding menu content will be "Hide collaboration application icon"; conversely, if an application icon is set to hide a collaboration application icon, the corresponding menu content will be "Show collaboration application icon".
[0075] For example, the application to be modified corresponding to the display instruction is determined, the application corresponding to the target application icon is determined, the display application corresponding to the second device is determined based on the application to be modified and the application corresponding to the target application icon, and the icon corresponding to the display application is determined as the display icon corresponding to the second device.
[0076] For example, the target application icons for the second device correspond to applications A, B, and C. Figure 7aAs shown, the application icons corresponding to applications A, B, and C are displayed on the first device. If a display modification command is received from the second device, the application to be modified is determined to be application A, and the modification is: the icon of application A is not displayed on the first device. Based on the application to be modified (application A) and the applications corresponding to the target application icon (application A, application B, and application C), the applications to be displayed on the second device are determined to be applications B and C, and the icons corresponding to applications B and C are determined as the display icons for the second device. Figure 7b As shown, the application icons corresponding to application B and application C are displayed on the first device.
[0077] For example, the target application icons for the second device correspond to applications A, B, and C. Figure 7a As shown, the application icons corresponding to applications A, B, and C are displayed on the first device. Upon receiving a display modification instruction from the second device, the application to be modified is determined to be application D, and the modification is to display the icon of application D on the first device. Based on the application to be modified (application D) and the applications corresponding to the target application icons (application A, application B, and application C), the applications to be displayed on the second device are determined to be applications A, B, C, and D, and the icons corresponding to applications A, B, C, and D are determined as the display icons for the second device. Figure 7c As shown, the application icons corresponding to applications A, B, C, and D are displayed on the first device.
[0078] In some embodiments of this application, the second device determines whether the application corresponding to the target application icon is installed on the device at preset time intervals; if the second device determines that the application corresponding to the target application icon is not installed on the device, the second device generates a corresponding prompt, prompting the first device to stop displaying the target application icon corresponding to the application that is not installed on the second device.
[0079] For example, the first device displays the target application icons corresponding to applications A, B, C, and D on the second device. The second device determines whether applications A, B, C, and D are installed on the device at preset time intervals. If the second device determines that application A is not installed on the device, it generates a corresponding prompt to prompt the first device to stop displaying the target application icon corresponding to application A.
[0080] By determining that the application corresponding to the target application icon is not installed on the second device, the display of the target application icon corresponding to the uninstalled application is stopped. This avoids the situation where, after the user deletes the application corresponding to the target application icon on the second device, clicking on the application icon corresponding to the deleted application on the first device will not get a response, thus avoiding invalid user operations, improving the user experience, and also improving the efficiency of displaying application shortcuts across devices.
[0081] The following describes in detail, with reference to the accompanying drawings, some implementation methods of a shortcut display method according to this embodiment.
[0082] In some embodiments of this application, obtaining the target application icon corresponding to the second device may include: obtaining application information sent by the second device; and determining the target application icon corresponding to the second device based on the application information.
[0083] The application information is used to identify the target application in the second device, and the application information may include the application icon corresponding to the target application.
[0084] For example, the second device can determine the target application based on the manufacturer's factory settings or the user's custom settings. The second device generates application information based on the target application and sends this information to the first device, enabling the first device to retrieve the target application icon corresponding to the second device. For instance, the first device might identify the application icon in the application information as the target application icon for the second device.
[0085] For example, if it is confirmed that the first device meets the shortcut display conditions, the first device sends a command to the second device to display application shortcuts, so that the second device sends application information to the first device according to the command.
[0086] The application information sent by the second device can ensure that the icon displayed on the first device is consistent with the icon on the second device, which can improve the accuracy of obtaining the target application icon corresponding to the second device, thereby speeding up the efficiency of displaying the target application icon on the first device.
[0087] In some embodiments of this application, if the first device obtains the target application icon corresponding to the second device, it can store the obtained target application icon in a preset storage space. The next time the first device needs to obtain the target application icon corresponding to the second device, it can directly retrieve the target application icon from the preset storage space.
[0088] For example, after the first device identifies the target application based on the application information sent by the second device, it searches in a preset storage space to determine whether the application icon corresponding to each target application exists. If the application icon corresponding to each target application exists, the target application icon corresponding to the second device is directly retrieved from the preset storage space.
[0089] In some embodiments of this application, if an application icon corresponding to a target application does not exist, an icon acquisition instruction corresponding to the target application is generated and sent to the second device, so that the second device sends the application icon corresponding to the target application to the first device according to the icon acquisition instruction.
[0090] By storing the acquired target application icon, the speed of acquiring the target application icon for the second device can be accelerated.
[0091] In some embodiments of this application, a default icon corresponding to the application can be preset. If the target application icon corresponding to the application cannot be obtained from the second device, the default icon corresponding to the application can be used as the target application icon corresponding to the second device.
[0092] For example, if the second device does not send the application icon corresponding to the application to the first device according to the icon acquisition instruction, the default icon corresponding to the application can be used as the target application icon corresponding to the application, that is, the target application icon corresponding to the second device.
[0093] In some implementations, displaying the target application icon on the first device may include: combining the obtained target application icon with the device identifier corresponding to the second device to obtain a target display icon, and using the obtained target display icon as the target application icon to be displayed, wherein the device identifier is used to indicate that the application corresponding to the target application icon is installed on the second device.
[0094] For example, the target application icon obtained can be combined with the device identifier corresponding to the second device using methods such as bitmaps to obtain the target display icon, which can then be used as the target application icon to be displayed. The device identifier can be an image identifier, a text identifier, or a combination of both. This example only illustrates the form of the device identifier and does not impose any limitations on its form. For example, ... Figure 8a As shown, the target application icon 81 and image identifier 82 are combined to obtain the target display icon 800; as shown Figure 8b As shown, the target application icon 81 and text identifier 83 are combined to obtain the target display icon 800; as shown Figure 8cAs shown, the target application icon 81, image identifier 82, and text identifier 83 are combined to obtain the target display icon 800.
[0095] By combining the obtained target application icon with the device identifier corresponding to the second device, a target display icon is obtained. This target display icon is then used as the target application icon to be displayed. This effectively distinguishes the application icon corresponding to the first device from the application icon corresponding to the second device. It avoids situations where users are faced with two identical application icons when the first and second devices have the same application, making it impossible to directly determine which application icon corresponds to the first device and which corresponds to the second device. This improves the accuracy of displaying application shortcuts across devices.
[0096] In some embodiments of this application, the first device displays a screen mirroring interface window corresponding to the second device, wherein the screen mirroring interface window includes an application interface corresponding to a first application. The method further includes: if the screen mirroring interface window displayed on the first device is closed, displaying an application icon corresponding to the first application. For example, if the screen mirroring interface window displayed on the first device is closed, and the screen mirroring interface window includes an application interface corresponding to application A, the first device displays an application icon corresponding to application A.
[0097] In some embodiments of this application, if the first device receives a user's trigger operation on an application icon, it controls the second device to open the application corresponding to the application icon and generates a screen mirroring interface window on the first device, wherein the screen mirroring interface window displays the interface of the application.
[0098] In other embodiments of this application, if the screen mirroring interface window displayed on the first device is closed, the first device disconnects the collaborative connection with the device corresponding to the screen mirroring interface window. For example, if the device corresponding to the screen mirroring interface window displayed on the first device is the second device, and the screen mirroring interface window displayed on the first device is closed, the first device disconnects the collaborative connection with the second device. When the first device receives a user's trigger operation on an application icon, it establishes a collaborative connection with the second device; simultaneously, it controls the second device to open the application corresponding to the application icon and generates a screen mirroring interface window on the first device, the screen mirroring interface window displaying the interface of the application.
[0099] refer to Figure 9 The diagram shown is a flowchart of a method for determining a target application provided in an embodiment of this application. The method can be applied to different types of second devices, which can be electronic devices with screens such as mobile phones, tablets, desktop computers, laptops, handheld computers, ultra-mobile personal computers (UMPCs), and netbooks. The method specifically includes:
[0100] S51, detect the user's trigger operation on the application icon, and calculate the duration of the trigger operation.
[0101] For example, a user can trigger an action on an application icon by clicking it with a mouse, and / or a user can trigger an action on an application icon by clicking it with a touchscreen.
[0102] S52, if the duration is greater than or equal to the duration threshold, determine whether the application corresponding to the application icon is set to be displayed across devices.
[0103] For example, if the duration of a user's trigger action on an application icon is greater than or equal to a duration threshold, the application information corresponding to that application icon is obtained, and based on the application information, it is determined whether the application corresponding to that icon is set to be displayed across devices. If the application is set to be displayed across devices, when the second device establishes collaboration with the first device and the first device meets the shortcut display conditions, the first device can display the application icon corresponding to that application. If the user clicks the application icon on the first device, the application corresponding to that icon on the second device can be opened, and the corresponding screen mirroring interface window of the application can be displayed on the first device.
[0104] S53, if the application corresponding to the application icon is not set to be displayed across devices, generate a prompt to enable cross-device display.
[0105] In some embodiments of this application, if the application corresponding to the application icon is not set to be displayed across devices, a prompt to enable cross-device display is generated and displayed, for example, the prompt to enable cross-device display is displayed in the application menu corresponding to the application.
[0106] S54, based on the user's confirmation instruction to enable cross-device display, the application is identified as the target application.
[0107] If a user decides to enable cross-device display for an application, that application will be identified as the target application.
[0108] By identifying the target application based on user actions, the accuracy of target application identification can be improved.
[0109] In some implementations, if the first device that has established collaboration with the second device meets the shortcut display conditions, it can send the application information of the determined target application to the first device, so that the first device can determine the target application icon corresponding to the second device based on the application information.
[0110] In some embodiments of this application, if the application corresponding to the application icon is set to be displayed across devices, a prompt to turn off cross-device display is generated; based on the user's confirmation instruction to turn off cross-device display, the application is determined to be a non-target application.
[0111] For example, if the application corresponding to the application icon is set to be displayed across devices, a prompt to turn off cross-device display is generated and displayed, for example, the prompt to turn off cross-device display is displayed in the application menu corresponding to the application.
[0112] If a user determines to enable cross-device display for an application, that application will be designated as a non-target application. If the first device, which is collaborating with the second device, meets the shortcut display conditions, the first device will not display the icon corresponding to the non-target application on the second device.
[0113] In some embodiments of this application, the first device displays a screen mirroring interface window corresponding to the second device, wherein the screen mirroring interface window includes an application interface corresponding to the first application, and the method further includes: if the screen mirroring interface window displayed on the first device is closed; the second device determines the first application as the target application.
[0114] After identifying the first application as the target application, the application icon corresponding to the first application is displayed on the first device. For example, if the screen mirroring interface window displayed on the first device is closed, and this screen mirroring interface window includes the application interface corresponding to application A, application A is identified as the target application, and the application icon corresponding to application A is displayed on the first device. By determining the target application corresponding to the second device based on the screen mirroring interface window closed by the user, the accuracy and efficiency of identifying the target application can be improved.
[0115] Figure 10 This is a schematic diagram of a shortcut display system provided in an embodiment of this application. The system includes a first device and a second device, and the first device and the second device establish a cooperative connection. Figure 10 As shown, 1001, if the first device determines that the screen mirroring interface window corresponding to the second device is not displayed, the first device is determined to meet the shortcut display conditions; 1002, the second device determines the target application; 1003, the first device determines the target application icon based on the target application; 1004, the first device displays the target application icon.
[0116] For example, if the first device has already displayed the screen mirroring interface window corresponding to the second device, it is determined that the first device does not meet the shortcut display conditions.
[0117] In some embodiments of this application, if the first device determines that the user has controlled the second device to open an application on the second device through the first device, the first device is determined to meet the shortcut display condition; if the first device determines that the user has not controlled the second device to open an application on the second device through the first device, the first device is determined not to meet the shortcut display condition.
[0118] For some specific implementation methods of the second device determining the target, the first device determining the target application icon based on the target application, and the first device displaying the target application icon, as well as the technical effects brought about by this method, please refer to the relevant descriptions in the above-mentioned methods for determining shortcut display and target applications, which will not be repeated here.
[0119] Figure 11 This is a schematic diagram illustrating a structure for implementing cross-device display of application shortcuts between a first device and a second device, as provided in an embodiment of this application.
[0120] The system includes several components: APP1 shortcut for opening APP1 (including its icon); CreateShortcutsApp for cross-device application shortcut display at the application layer (e.g., generating commands to enable or disable cross-device application shortcut display); CreateShortcutsService for cross-device application shortcut display at the system framework layer (including Windows and Android frameworks, for example, generating device-specific application shortcuts); ShortcutManager for desktop management at the desktop layer (e.g., determining which application shortcuts from a second device are displayed on a first device); and OneHop Engine for device discovery, connection, and data transfer between terminals.
[0121] Figure 12 This is a flowchart illustrating a method for displaying shortcuts using a first device, as provided in an embodiment of this application. The method for displaying shortcuts using a first device may include:
[0122] S71, if the screen mirroring interface window corresponding to the second device is hidden on the first device, notify the shortcut creation program to display the shortcut of the application on the second device.
[0123] S72 uses the material data provided by the shortcut creation service to create a shortcut for the second device application.
[0124] S73 displays the shortcut corresponding to the application on the second device on the first device.
[0125] The material data may include icons, application-related intents, application names, etc. The shortcut for the second device application may include the application icon for the second device. In some embodiments of this application, if all the materials required to create a shortcut for the second device application cannot be found in the material data provided by the shortcut creation service of the first device, the missing material data can be requested from the shortcut creation service of the second device; alternatively, the shortcut for the second device application can be drawn according to the drawing rules pre-set in the first device. For example, if the application for the second device is a phone application, and all the materials required to create a shortcut for the phone application cannot be found, the shortcut for the phone application can be drawn according to the drawing rules pre-set in the first device.
[0126] The shortcuts for the created second-device applications can be displayed in the application shortcuts folder on the first device's desktop. If a user clicks the shortcut for the second-device application on the first device, the application will open on the second device, and the corresponding screen mirroring interface window will be displayed on the first device.
[0127] In some embodiments, the screen mirroring interface window and the application shortcut (e.g., the application icon) can be displayed simultaneously on the first device, or one of them can be displayed selectively. For example, the shortcut of application A and the screen mirroring interface window of application A can be displayed simultaneously, or one of the shortcut of application A or the screen mirroring interface window of application A can be displayed selectively.
[0128] Figure 13 This application provides a schematic diagram of a process for opening an application on a second device via a first device. As shown in the figure, the shortcut creation program of the first device first receives a click event from the user on the shortcut of the second device application displayed on the first device and the application information corresponding to the click event. The application information may include the application name corresponding to the application. Then, the shortcut creation program of the first device sends the application information corresponding to the click event to the shortcut creation service corresponding to the first device.
[0129] For example, the shortcut creation program of the first device sends the application name corresponding to the click event and the intent corresponding to the application to the shortcut creation service of the first device; then, the shortcut creation service of the first device sends the application information corresponding to the click event to the shortcut creation program on the second device through the tap capability, so that the second device can open the corresponding application according to the application information; if the second device opens the corresponding application according to the application information, the shortcut creation program of the first device generates a command to display the screen mirroring interface window, and the first device displays the screen mirroring interface window corresponding to the application opened by the second device according to the command.
[0130] Figure 14 This application provides a flowchart illustrating how to display an application icon corresponding to an application on a second device on a first device. A user sends a close command to close the projection interface window corresponding to the second device on the first device. For example, the user can generate the close command by clicking the close icon on the projection interface window corresponding to the second device on the first device. Upon receiving the close command, the first device disconnects from the second device and sends an application reporting command to the second device. This allows the second device to report application information corresponding to the application used when the collaboration with the first device was disconnected. The first device then determines the application icon corresponding to the application based on this application information and displays the application icon on the first device.
[0131] For example, the first device can generate a display icon based on the device identifier corresponding to the second device and the application icon corresponding to the application, and display the display icon on the first device.
[0132] As shown in the figure, if the first device receives a click from the user on the application icon (e.g., phone) of the second device displayed on the first device, the first device establishes a collaborative connection with the second device and controls the second device to open the application (phone) corresponding to the application icon. Once the application (phone) of the second device has finished starting, the screen mirroring interface window corresponding to the application (phone) of the second device is displayed on the first device.
[0133] Figure 15 This is a schematic diagram of the structure of an electronic device with a screen, provided as an embodiment of this application. The electronic device 100 with a screen can be either the first device or the second device in the embodiments of this application. (See reference...) Figure 15The 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, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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.
[0134] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0135] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0136] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0137] The processor 110 may also include a memory for storing instructions and data. In some embodiments of this application, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0138] In some embodiments of this application, the processor 110 may include one or more interfaces. These 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.
[0139] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments of this application, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100. In some embodiments of this application, the second device can determine the target application based on the user's use of the touch function.
[0140] The I2S interface can be used for audio communication. In some embodiments of this application, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to realize communication between the processor 110 and the audio module 170.
[0141] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals.
[0142] The UART interface is a general-purpose serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication.
[0143] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments of this application, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to perform the shooting function. The processor 110 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to perform the display function, such as displaying the target application icon.
[0144] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments of this application, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0145] USB interface 130 is an interface that conforms to the USB standard specification, specifically it can be a Mini USB interface, Micro USB interface, USB Type C interface, etc.
[0146] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0147] The charging management module 140 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger.
[0148] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance).
[0149] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0150] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0151] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
[0152] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments of this application, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and housed within the same device as the mobile communication module 150 or other functional modules.
[0153] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module.
[0154] In some embodiments of this application, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0155] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0156] 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 Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments of this application, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1, and target application icons can be displayed on the display screens.
[0157] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0158] The ISP is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, converting it into an image visible to the naked eye. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments of this application, the ISP can be set in the camera 193.
[0159] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
[0160] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0161] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0162] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0163] Internal memory 121 may include one or more random access memory (RAM) and one or more non-volatile memory (NVM).
[0164] Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, fifth generation DDR SDRAM is generally called DDR5 SDRAM), etc.
[0165] Non-volatile memory can include disk storage devices and flash memory.
[0166] Flash memory can be classified according to its operating principle, including NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.; according to the level of the storage cell, including single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc.; and according to the storage specification, including universal flash storage (UFS) and embedded multimedia card (eMMC), etc.
[0167] The random access memory can be directly read and written by the processor 110. It can be used to store executable programs (such as machine instructions) of the operating system or other running programs, as well as user and application data.
[0168] Non-volatile memory can also store executable programs and user and application data, and can be pre-loaded into random access memory for direct reading and writing by the processor 110.
[0169] The external memory interface 120 can be used to connect to external non-volatile memory, thereby expanding the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to perform data storage functions. For example, music, video, and other files can be stored in the external non-volatile memory.
[0170] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0171] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Audio module 170 can also be used for encoding and decoding audio signals.
[0172] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0173] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0174] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C.
[0175] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0176] Pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments of this application, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensor 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. Capacitive pressure sensors can include at least two parallel plates with conductive materials. When a force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal of pressure sensor 180A. In some embodiments of this application, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with a touch operation intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed. In some embodiments of the application, the user's triggering operation on the application icon on the electronic device 100 can be detected by the pressure sensor 180A, and the duration of the triggering operation can be calculated.
[0177] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments of this application, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 around three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.
[0178] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments of this application, the electronic device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.
[0179] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover.
[0180] The accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in various directions (typically three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic device 100, and can be applied to applications such as screen orientation switching and pedometers.
[0181] A distance sensor 180F is used to measure distance. The electronic device 100 can measure distance via infrared or laser. In some embodiments of this application, during a shooting scenario, the electronic device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.
[0182] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 100 emits infrared light outward through the LED. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 may use the proximity sensor 180G to detect when a user holds the electronic device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.
[0183] The ambient light sensor 180L is used to sense the brightness of ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0184] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0185] Temperature sensor 180J is used to detect temperature. In some embodiments of this application, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature processing strategy.
[0186] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0187] The bone conduction sensor 180M can acquire vibration signals. In some embodiments of this application, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments of this application, the bone conduction sensor 180M can also be installed in headphones to form bone conduction headphones. The audio module 170 can parse the voice signal based on the vibration signal from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information based on the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.
[0188] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0189] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0190] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0191] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple SIM cards can be inserted into the same SIM card interface 195 simultaneously. The types of the multiple SIM cards can be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments of this application, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0192] This embodiment also provides a computer storage medium storing computer instructions. When the computer instructions are executed on the electronic device 100, the electronic device 100 performs the aforementioned related method steps to implement the shortcut display method in the above embodiment.
[0193] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the shortcut display method in the above embodiment.
[0194] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component or module. The apparatus may include a connected processor and a memory. The memory is used to store computer execution instructions. When the apparatus is running, the processor can execute the computer execution instructions stored in the memory to cause the chip to execute the shortcut display method in the above method embodiments.
[0195] In this embodiment, the electronic device 100, computer storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0196] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0197] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0198] The unit described as a separate component may or may not be physically separate. The component shown as a unit can be one physical unit or multiple physical units, that is, it can be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of the solution in this embodiment according to actual needs.
[0199] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0200] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0201] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. A shortcut display system, comprising a first device and a second device, wherein the first device and the second device establish a cooperative connection, characterized in that: If the first device determines that the screen mirroring interface window corresponding to the second device is not displayed, it is determined that the first device meets the shortcut display conditions; The second device determines the target application; The first device determines a target application icon and a target display icon based on the target application, wherein the target display icon is an icon obtained by combining the target application icon obtained from the second device and the device identifier corresponding to the second device; The first device displays the target display icon and does not display the screen projection interface window corresponding to the second device; If the first device and the second device disconnect from the cooperative connection, the first device processes the target display icon according to the preset image processing rules and displays the processed target display icon; If the first device detects a user's operation on the processed target display icon, the first device establishes a collaborative connection with the second device.
2. The shortcut display system according to claim 1, characterized in that: If the first device has already displayed the screen mirroring interface window corresponding to the second device, it is determined that the first device does not meet the shortcut display conditions.
3. The shortcut display system according to claim 1, characterized in that, The step of determining that the first device meets the shortcut display conditions when the first device determines that the screen mirroring interface window corresponding to the second device is not displayed includes: If the first device determines that the screen mirroring interface window corresponding to the second device is not displayed, the first device determines whether the user has controlled the second device to open the application on the second device through the first device. If the first device determines that the user has controlled the second device to open the application on the second device through the first device, it determines that the first device meets the shortcut display condition; If the first device determines that the user has not controlled the second device to open the application on the second device through the first device, it determines that the first device does not meet the shortcut display conditions.
4. The shortcut display system according to claim 1, characterized in that, The second device identifies the target application as including: The second device detects user actions triggered by application icons on the second device and calculates the duration of the triggered actions; If the duration is greater than or equal to the duration threshold, the second device determines whether the application corresponding to the application icon is set to be displayed across devices. If the application is not set to display across devices, the second device generates a prompt to enable cross-device display; Based on the user's confirmation instruction to enable cross-device display, the second device identifies the application as the target application.
5. The shortcut display system according to claim 4, characterized in that: If the application is set to display across devices, the second device generates a prompt to disable cross-device display; Based on the user's confirmation instruction to disable cross-device display, the second device determines the application as a non-target application.
6. The shortcut display system according to claim 1, characterized in that, The device identifier indicates that the application corresponding to the target display icon is installed on the second device.
7. The shortcut display system according to claim 1, characterized in that, If the first device displays the screen mirroring interface window corresponding to the second device, and the screen mirroring interface window includes the application interface corresponding to the first application, then the first device is determined to meet the shortcut display condition: When the first device displays the screen mirroring interface window, the second device determines the target application, including: If the screen mirroring interface window displayed on the first device is closed, the second device will identify the first application as the target application.
8. The shortcut display system according to claim 1, characterized in that: If the first device receives a trigger operation from the user on a target display icon displayed on the first device, the first device determines the second application corresponding to the target display icon on the second device; The first device controls the second device to open the second application and display a screen mirroring interface window, which displays the interface of the second application.
9. The shortcut display system according to claim 8, characterized in that: After the first device displays the screen projection interface window, the first device stops displaying the target display icon.
10. The shortcut display system according to claim 1, characterized in that: According to a preset time interval, the second device determines whether the application corresponding to the target display icon is installed on the device; If the second device determines that the application corresponding to the target display icon is not installed on the device, it prompts the first device to stop displaying the target display icon corresponding to the application.
11. The shortcut display system according to claim 1, characterized in that, The first device displays the target display icon including: The second device generates a display modification instruction based on the user's operation and sends the display modification instruction to the first device; The first device determines the icon to be displayed based on the display modification instruction and the target display icon, and displays the icon to be displayed.
12. The shortcut display system according to claim 1, characterized in that: The first device controls the second device to open the third application corresponding to the target display icon clicked by the user, and displays the screen projection interface window, which displays the interface of the third application.
13. A shortcut display method, applied to a first device, wherein the first device establishes a collaborative connection with a second device, characterized in that, The method includes: If the first device determines that the screen mirroring interface window corresponding to the second device is not displayed, it is determined that the first device meets the shortcut display conditions; Based on the target application determined by the second device, a target application icon and a target display icon are determined, wherein the target display icon is an icon obtained by combining the target application icon obtained from the second device and the device identifier corresponding to the second device, and the target display icon is displayed while the first device does not display the screen projection interface window corresponding to the second device; If the first device disconnects from the second device, the first device processes the target display icon according to a preset image processing rule and displays the processed target display icon; if the first device detects a user's operation on the processed target display icon, the first device establishes a collaborative connection with the second device.
14. An electronic device, characterized in that, The electronic device includes a memory and a processor; The memory is used to store program instructions; The processor is configured to read the program instructions stored in the memory to implement the shortcut display method as described in claim 13.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the shortcut display method as described in claim 13.
Citation Information
Patent Citations
Split-screen display method and electronic equipment
CN110708086A
Data transmission method and related equipment
CN112527221A