An application interaction method, charging bin and storage medium

CN122902909APending Publication Date: 2026-10-13GUANGZHOU WEIYI INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311786042.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2026-10-13

AI Technical Summary

Technical Problem

[0006]本发明提供了一种应用交互方法、充电仓及存储介质,以解决如何在充电仓提高用户获取应用程序的信息的效率的问题

Benefits of technology

[0024]在本实施例的充电仓中,在桌面中按照预设的布局显示多个应用程序的图标,应用程序包括与耳机交互的目标应用;若目标应用启动并进入后台运行,则在多个图标均保留在桌面的条件下,压缩多个图标的当前布局、以在桌面中腾出交互区域;播放为目标应用设计的动画,动画的内容为目标应用进入交互区间;在动画结束时,在交互区域中显示目标应用在运行时生成的动态信息;若目标应用关闭,则恢复多个图标在压缩前的布局,以取消交互区域。在没有目标应用提供服务时,桌面显示多个应用程序的图标,而有目标应用提供服务时,即便回到桌面,也能在交互区域清晰地展示其动态信息,增加应用程序主动交互的操作,减少用户执行触控操作的频次,减少频繁启动应用程序,大大提高了用户获取应用程序的信息的效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122902909A_ABST
    Figure CN122902909A_ABST
Patent Text Reader

Abstract

The application discloses an application interaction method, a charging bin and a storage medium, and the method comprises the following steps: displaying icons of a plurality of application programs in a desktop according to a preset layout, wherein the application programs comprise a target application program interacting with a headset; if the target application program is started and enters a background running state, then under the condition that the plurality of icons are all reserved in the desktop, the current layout of the plurality of icons is compressed to vacate an interaction area in the desktop; an animation designed for the target application program is played, the content of the animation is that the target application program enters the interaction area; when the animation ends, dynamic information generated by the target application program when running is displayed in the interaction area; and if the target application program is closed, the layout of the plurality of icons before compression is restored to cancel the interaction area. The method increases the operation of active interaction of the application program, reduces the frequency of touch operation of the user, reduces the frequent starting of the application program, and greatly improves the efficiency of the user in obtaining information of the application program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of human-computer interaction technology, and more particularly to an application interaction method, a charging case, and a storage medium. Background Technology

[0002] Wireless earbuds and charging cases are usually sold as a set. When not in use, the wireless earbuds are stored in the charging case, which charges them. When in use, the wireless earbuds connect wirelessly to a smart device to play audio data provided by the smart device.

[0003] Some charging cases are equipped with a touch screen that displays information about various applications, such as the battery level of the earbuds, the battery level of the charging case, volume, song information, noise cancellation mode, etc. Users can operate on the screen to switch songs, adjust the volume, and turn noise cancellation on or off.

[0004] Currently, when a user launches the application, completes the operation, and exits the application, the application's UI (User Interface) is closed. If the user wants to view the application's information again, they need to restart the application and browse the application's information through the UI.

[0005] The touchscreen in the charging case is small (around 1.5 inches), and the elements on the touchscreen are small, making it difficult for users to operate. This results in low efficiency for users to obtain application information, which is especially noticeable when repeatedly launching applications. Summary of the Invention

[0006] This invention provides an application interaction method, a charging case, and a storage medium to address the problem of how to improve the efficiency of users obtaining application information in the charging case.

[0007] According to one aspect of the present invention, an application interaction method is provided for use in a charging case, the charging case having earphones, the method comprising:

[0008] Multiple application icons are displayed on the desktop according to a preset layout, including the target application that interacts with the headphones;

[0009] If the target application is launched and runs in the background, then, while all the icons remain on the desktop, the current layout of the icons is compressed to free up an interactive area on the desktop.

[0010] Play an animation designed for the target application, the content of which is the target application entering the interactive area;

[0011] At the end of the animation, dynamic information generated by the target application during runtime is displayed in the interactive area;

[0012] If the target application is closed, the layout of the multiple icons before compression is restored to cancel the interactive area.

[0013] According to another aspect of the present invention, a charging case is provided, the charging case having a screen and earphones, the screen including a touch screen and a display screen, the display screen being used for:

[0014] Multiple application icons are displayed on the desktop according to a preset layout, including the target application that interacts with the headphones;

[0015] If the target application is launched and runs in the background, then, while all the icons remain on the desktop, the current layout of the icons is compressed to free up an interactive area on the desktop.

[0016] Play an animation designed for the target application, the content of which is the target application entering the interactive area;

[0017] At the end of the animation, dynamic information generated by the target application during runtime is displayed in the interactive area;

[0018] If the target application is closed, the layout of the multiple icons before compression is restored to cancel the interactive area.

[0019] According to another aspect of the present invention, a charging case is provided, the charging case comprising:

[0020] At least one processor; and

[0021] A memory communicatively connected to the at least one processor; wherein,

[0022] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the application interaction method described in any embodiment of the present invention.

[0023] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program configured to cause a processor to execute and implement the application interaction method described in any embodiment of the present invention.

[0024] In the charging case of this embodiment, icons of multiple applications are displayed on the desktop according to a preset layout. These applications include a target application that interacts with the earphones. If the target application is launched and runs in the background, the current layout of the multiple icons is compressed to free up an interactive area on the desktop, while all icons remain on the desktop. An animation designed for the target application is played, showing the target application entering the interactive area. At the end of the animation, dynamic information generated by the target application during runtime is displayed in the interactive area. If the target application is closed, the layout of the multiple icons before compression is restored, thus canceling the interactive area. When no target application is providing services, icons of multiple applications are displayed on the desktop. When a target application is providing services, even when returning to the desktop, its dynamic information is clearly displayed in the interactive area. This increases the frequency of active interaction by the application, reduces the frequency of user touch operations, and minimizes the need to frequently launch applications, greatly improving the efficiency of users obtaining application information.

[0025] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0026] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0027] Figure 1 This is a flowchart of an application interaction method provided according to Embodiment 1 of the present invention;

[0028] Figure 2 This is a structural diagram of a charging case provided according to Embodiment 1 of the present invention;

[0029] Figure 3 This is an example diagram of a desktop provided according to Embodiment 1 of the present invention;

[0030] Figure 4 This is an example diagram of an interactive area provided according to Embodiment 1 of the present invention;

[0031] Figures 5A to 5F This is an example diagram of an animation of an alarm clock entering an interactive area according to Embodiment 1 of the present invention;

[0032] Figures 6A to 6E This is an example diagram of an animation of an alarm clock exiting the interactive area according to Embodiment 1 of the present invention;

[0033] Figure 7 This is a flowchart of an application interaction method provided according to Embodiment 2 of the present invention;

[0034] Figure 8 This is a flowchart of an application interaction method provided according to Embodiment 3 of the present invention;

[0035] Figure 9 This is a schematic diagram of a charging compartment according to Embodiment 4 of the present invention;

[0036] Figure 10 This is a schematic diagram of a charging compartment according to Embodiment 5 of the present invention. Detailed Implementation

[0037] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0038] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0039] Example 1

[0040] Figure 1 This is a flowchart of an application interaction method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where an interactive area is designed in a charging case to display dynamic information of an application. This method can be applied to a charging case, which can be implemented in hardware and / or software. Figure 1 As shown, the method includes:

[0041] Step 101: Display the icons of multiple applications on the desktop according to the preset layout.

[0042] like Figure 2As shown, the charging case 210 contains earphones 220, especially earphones 220 that support wireless protocols (such as Bluetooth). The charging case 210 provides earphones 220 with services such as charging management, discharging management, status indication, and data transmission.

[0043] The charging case 210 is equipped with a screen 211 that supports touch operation, which includes a display screen and a touch screen.

[0044] The display screen is used to show information about various applications in the charging case, and it can include LCD (Liquid Crystal Display), LED (Light Emitting Diode) display, OLED (Organic Light Emitting Diode) display, and so on.

[0045] A touchscreen is used to receive touch operations triggered by a user and can include capacitive touchscreens, resistive touchscreens, and so on.

[0046] The charging case can be equipped with native operating systems such as Android, iOS, Harmony OS, and Hyper OS, or a customized operating system can be installed on top of the native operating system.

[0047] Multiple applications can be installed in the charging case's operating system. These applications can be system applications (i.e., applications that come pre-installed on the charging case's operating system itself, such as music players, alarm clocks, notepads, calendars, compasses, weather forecasts, etc.) or applications that are independent of the operating system (i.e., third-party applications). Third-party applications can be pre-installed on the charging case's operating system before the charging case leaves the factory, or they can be installed on the charging case's operating system by the user according to their needs after the charging case leaves the factory. Examples include electronic maps, instant messaging tools, translation tools, etc. This embodiment does not impose any restrictions on this.

[0048] In this embodiment, some applications that can interact with the headphones can be pre-selected from all applications based on factors such as the importance of the application and user needs, and these applications are recorded as target applications.

[0049] In the operating system of the charging case, an interactive area for the target application is designed for the desktop. The interactive area serves as a mechanism for interaction with the user. It can be a customized function of the operating system, or it can be encapsulated as an API (Application Programming Interface). This API is then made available to developers, who can develop applications according to the API specifications, enabling the applications to interact with the user using the interactive area.

[0050] Interacting with headphones can refer to transmitting data generated by the application (such as audio data and noise reduction modes) to the headphones for processing, such as playing audio data or adjusting noise reduction parameters according to the noise reduction mode. It can also refer to transmitting data generated by the headphones (such as audio data and operation commands) to the application for processing, such as recording audio data, performing voice recognition on the audio data, pausing audio playback, switching to the next track, etc., according to operation commands.

[0051] Generally, before the charging case leaves the factory, users can select some applications from the applications already installed in the charging case's operating system as target applications. After the charging case leaves the factory, users can install applications adapted to the interactive area into the charging case's operating system as target applications.

[0052] If the default target application does not meet the user's needs, the user can manage the target applications and remove some of them in the settings interface of the charging case's operating system.

[0053] like Figure 1 As shown, during the startup and operation of the charging case 210, a desktop 230 can be displayed on the screen, and icons of multiple applications are displayed on the desktop 230 in a layout pre-designed for the characteristics of the charging case 210.

[0054] Among the applications whose icons are already displayed on the desktop are target applications that interact with the headphones, such as alarm clocks, electronic maps, instant messaging tools, music players, and so on.

[0055] Generally, when resources in the charging case are limited, the number of applications installed in the operating system of the charging case is relatively small. All application icons can be directly displayed on the desktop. That is, the application icons displayed on the desktop can be the icons of all applications installed in the operating system of the charging case.

[0056] As the resources in the charging case continue to increase, the number of applications installed in the operating system of the charging case also increases. At this point, the icons of some applications can be displayed on the desktop in the form of being stored in folders or divided into multiple pages.

[0057] In a practical implementation, a customized view can be generated on the desktop, in which icons of multiple applications are displayed according to a preset layout.

[0058] Among them, a View is a UI component used to build a user interface. It can be a visible element such as a button, text box, or image data, or it can be a container used to organize other Views.

[0059] In one layout design, considering that the screen bezel is usually black, the desktop wallpaper can be predominantly black to maintain overall harmony.

[0060] The icons are all rectangular in shape, each with a visible area, and the areas outside the visible area of ​​the icons are transparent.

[0061] like Figure 3 As shown, the shape of the visible area in the icon can be set in the theme, and can include regular graphics, such as circles, rectangles, etc., or irregular graphics, etc. This embodiment does not limit this.

[0062] The size of an icon is a variable that can be adjusted according to the interactive area (such as enlarging or shrinking). When the size of an icon is adjusted, the visible range of the icon also changes accordingly (such as enlarging or shrinking).

[0063] Multiple icons are distributed according to a preset pattern to form the main functional area. The spacing between the icons is a variable and can be adjusted accordingly (such as increasing or decreasing) based on the interactive area.

[0064] In one aspect of this design, multiple icons are divided into multiple rows. In adjacent rows of icons, an icon in one row moves into the gap between two icons in the other row, resulting in an alternating distribution of icons between rows.

[0065] The term "trend" refers to the fact that the distance between the center point of an icon in one row and the gap between two icons in another row is less than a certain threshold, and the center point of an icon in one row does not necessarily overlap with the gap between two icons in another row.

[0066] For example, such as Figure 3 As shown, multiple icons are arranged in 3 rows on the desktop. Icons C1, B1, B2 and C2 are in the first row, icons B6, A and B3 are in the second row, and icons C4, B5, B4 and C3 are in the third row.

[0067] In rows 1 and 2, icon B6 moves toward the gap between icon C1 and icon B1, while icon B1 moves toward the gap between icon B6 and icon A.

[0068] In this case, the spacing between icons can include the spacing between two adjacent rows of icons, which can be expressed as the distance between the center points of two adjacent rows of icons, or the spacing between two adjacent icons in the same row, which can be expressed as the distance between the center points of two adjacent icons in the same row.

[0069] In another version of this design, multiple icons are divided into multiple columns. In two adjacent columns, an icon in one column moves into the gap between two icons in the other column, so that the icons in each column are staggered.

[0070] The term "trend" refers to the fact that the distance between the center point of an icon in one column and the gap between two icons in another column is less than a certain threshold, and the center point of an icon in one column does not necessarily overlap with the gap between two icons in another column.

[0071] In this case, the spacing between icons can include the spacing between two adjacent columns of icons, which can be expressed as the distance between the center points of two adjacent columns of icons, or the spacing between two adjacent icons in the same column, which can be expressed as the distance between the center points of two adjacent icons in the same column.

[0072] When desktop space is limited, the visible area of ​​an icon (in terms of its shape, such as a radius) decreases from the center to the edge. This causes the user's attention to decrease from the center to the edge. That is, in the initial state, the closer the icon is to the center of the desktop, the larger its visible area, and the more focused the user's attention. The closer the icon is to the edge of the desktop, the smaller its visible area, and the more scattered the user's attention. In this way, according to factors such as the importance of the application and the user's needs, the application icons can be arranged from the center of the desktop to the edge, increasing the probability that the user can quickly locate the application and improving the ease of user operation.

[0073] For example, such as Figure 3 As shown, icon A has the largest visible area, followed by icons B1, B2, B3, B4, B5, and B6, while icons C1, C2, C3, and C4 have the smallest visible areas.

[0074] In this design, parameters such as the number of rows, the number of icons in each row, the position of each icon, and the size of the visible area can be automatically calculated based on the number of icons. Given the position of each icon and the size of the visible area, the spacing between adjacent icons can be calculated.

[0075] Of course, the above layout is only an example. When implementing this embodiment, other layouts can be set according to the actual situation. For example, the visible area of ​​the icons can be rectangular, the rows and columns can be aligned, the visible area of ​​each icon can be the same size, etc. This embodiment does not limit this. In addition, besides the above layout, those skilled in the art can also use other layouts according to actual needs, and this embodiment does not limit this either.

[0076] In some embodiments of the present invention, one or more interactive areas are allowed to be loaded on the desktop.

[0077] In some designs, such as Figure 4 As shown, an interactive area of ​​400 belongs to a whole.

[0078] In some designs, such as Figure 4 As shown, the same interactive area 400 can be divided into multiple sub-regions, such as sub-region 401 and sub-region 402.

[0079] Target applications assigned to the same sub-region are mutually exclusive, while target applications assigned to different sub-regions are compatible.

[0080] Mutual exclusion can refer to a conflict or interference between the functions of target applications (especially those that occupy audio data played by headphones). Allowing one target application to run is permitted, thus allowing the display of dynamic information generated by one target application during runtime within the same sub-interval.

[0081] For example, when a music player plays music and an instant messaging tool makes a call, both the music player and the instant messaging tool will occupy the headphones for a long time to play audio data. If the music player and the instant messaging tool are running at the same time, their audio data will interfere with each other, making it impossible for the user to hear clearly. Therefore, the music player and the instant messaging tool are mutually exclusive.

[0082] Furthermore, for mutually exclusive target applications, the priority between target applications can be defined by the current user or a group of users, or it can be defined by learning the behavior of the current user or a group of users in using the charging case. This embodiment does not impose any restrictions on this.

[0083] When multiple target applications are mutually exclusive, a target application can be selected to run according to priority. For example, the electronic map has a higher priority than the alarm clock, so the electronic map is run first. Alternatively, a target application can be selected to run according to the user's needs. For example, while the music player is playing music data, the user can start an instant messaging tool to make a call. At this time, the music player is paused, etc. This embodiment does not impose any restrictions on this.

[0084] Compatibility can refer to the fact that the functions of target applications (especially those that occupy audio data played by headphones) may not conflict, or have few conflicts, do not interfere with each other, and allow the target applications to run simultaneously.

[0085] For example, a music player plays music data while an alarm clock counts down. The music player occupies the headphones for a long time to play audio data, while the alarm clock briefly occupies the headphones to play audio data at the end of the countdown. The alarm clock interferes less with the music player, and users can clearly distinguish between the audio data of the music player and the audio data of the alarm clock. Therefore, the music player and the alarm clock are compatible.

[0086] As the number of target applications continues to increase, the mutual exclusion and compatibility relationships between target applications are generally customized and maintained by technical personnel in the background and maintained on a cloud server. When updating the mutual exclusion and compatibility relationships between target applications, the data is distributed to each charging station.

[0087] In addition, the charging case's operating system can also expose the mutual exclusion and compatibility relationships between target applications to users in services such as developer mode, allowing users to adjust the mutual exclusion and compatibility relationships between target applications according to their needs.

[0088] Step 102: If the target application starts and runs in the background, compress the current layout of the multiple icons while keeping them on the desktop to free up interactive space on the desktop.

[0089] In general, users can trigger a touch operation to launch a target application by tapping its icon. For example, a user can tap the target application's icon, or long-press the target application's icon and select the target application's function from the pop-up menu. When the touchscreen receives a touch operation to launch a target application's icon, it transmits the touch operation to the operating system, which then launches the target application corresponding to that icon based on the touch operation.

[0090] In addition to user-initiated launches, the target application can also be launched by other associated applications, timed launches, or other means. This embodiment does not impose any restrictions on this.

[0091] Once launched, the target application displays its UI on the screen, allowing users to trigger various touch operations on the UI, such as playing songs and setting countdowns.

[0092] When the operation is completed, the user can trigger a touch operation to exit, such as swiping up from the edge. When the touch screen receives the touch operation to exit, it passes the touch operation to the operating system. The operating system then exits the current application and puts it into the background based on the touch operation.

[0093] like Figure 3 and Figure 4As shown, when the target application runs in the background, multiple icons can be kept on the desktop as a prerequisite for compression. The current layout of multiple icons can be compressed to reduce the space occupied by multiple icons as a whole on the desktop, thereby freeing up a blank area on the desktop as an interactive area 400.

[0094] A blank area refers to an area on the desktop that does not contain any elements.

[0095] The interactive area refers to the area where the target application interacts with the user, allowing it to display dynamic information generated by the target application while it is running in the background.

[0096] Compressing the current layout of multiple icons essentially involves adjusting the layout of the icons so that the relative positions of the adjusted layout do not change compared to the original layout, thus creating a compression effect. To make the transition of adjusting the layout of multiple icons more natural and coherent, the process of compressing the current layout of multiple icons can be presented in the form of animation.

[0097] Compared to changing the relative positions of icons, such as removing some icons, changing the rows or columns of some icons, compressing the current layout of multiple icons can maintain the relative positions of multiple icons as a whole, preserve the user's impression of the layout of each icon, minimize the impact on the user's operating habits, and minimize the impact on the main function area.

[0098] In a compressed scenario, there is no interactive area on the current desktop. In this case, the current layout of multiple icons can be the original layout of the multiple icons on the desktop.

[0099] In another compression scenario, multiple interactive areas are allowed to be loaded simultaneously on the desktop. Other target applications are running in the background and loading interactive areas for other interactive areas on the desktop. That is, the current desktop has at least one interactive area. If the current target application is compatible with other target applications, a new interactive area can be generated on the desktop. In this case, the current layout of multiple icons is the layout formed by compressing the original layout of multiple icons on the desktop at least once. The number of compressions is the same as the number of interactive areas on the desktop.

[0100] If multiple icons are drawn in a view on the desktop, the width or height of the view can be reduced on the desktop to create a blank area outside the view as an interactive area. This allows the current layout of the multiple icons to be compressed while retaining them in the reduced view.

[0101] Furthermore, during the process of compressing the current layout of multiple icons, a certain edge on the desktop can be determined as the target edge based on the UI control strategy.

[0102] In one example of a control strategy, the relationship between a fixed target application (represented by a package name, etc.) and an interaction area (represented by an ID, etc., including sub-ranges) is fixed, as is the relationship between the interaction area and the edge of the desktop (represented by an ID, etc.). Then, the interaction area (including sub-ranges) corresponding to the target application can be queried, and the edge corresponding to that interaction area (including sub-ranges) can be queried as the target edge.

[0103] In another example of a control strategy, the order in which desktop edges are selected (such as top, bottom, left, and right) can be specified. After determining the sorting of the interactive areas (including sub-regions) to be loaded, the sorting (including sub-regions) is matched with the order to select a certain edge as the target edge.

[0104] Of course, the above control strategy is only an example. When implementing this embodiment, other control strategies can be set according to the actual situation, and this embodiment does not limit them. In addition, besides the above control strategies, those skilled in the art can also adopt other control strategies according to actual needs, and this embodiment does not limit them either.

[0105] Move multiple icons in the opposite direction to the target edge so that they tend to move towards the opposite edge, creating a blank area at the target edge as an interactive space.

[0106] If you move multiple icons in the opposite direction to the target edge and all of them remain on the desktop, you can confirm that you have successfully compressed the current layout of the multiple icons.

[0107] If multiple icons are moved in the opposite direction to the target edge, and some icons are moved off the desktop, the current size of the multiple icons and / or the current spacing between the icons can be reduced during the movement of the multiple icons, thereby compressing the current layout of the multiple icons. That is, the current size of multiple icons can be reduced individually, the current spacing between icons can be reduced individually, or the current size of multiple icons and the current spacing between icons can be reduced simultaneously.

[0108] While reducing the current spacing between icons, the current size of multiple icons can be reduced by a certain percentage to preserve the visible area of ​​multiple icons as much as possible and reduce the impact on the main function area.

[0109] Furthermore, in reducing the current spacing between icons, for a single icon (represented by the center point), it means changing the current position of the single icon (represented by the center point). That is, the single icon (represented by the center point) is currently displaced, and at the same time, the current positions of multiple icons (represented by the center point) are changed, resulting in an overall effect of reducing the current spacing between icons.

[0110] If there is no interactive area on the current desktop, the current size of multiple icons can be the original size of the icons on the desktop, and the current spacing between icons can be the original spacing between icons on the desktop.

[0111] If there is an interactive area on the current desktop, the current size of multiple icons can be the original size of the icons on the desktop after at least one compression, and the current spacing between icons can be the original spacing between icons on the desktop after at least one compression.

[0112] Step 103: Play the animation designed for the target application.

[0113] In this embodiment, animations can be pre-designed for each target application, wherein the content of the animation is the target application entering the interactive area, such as shrinking and flying in.

[0114] For example, such as Figure 5A , Figure 5B , Figure 5C , Figure 5D , Figure 5E and Figure 5F In the animation designed for the alarm clock, part of the process involves displaying the alarm countdown time information in the interactive area.

[0115] Furthermore, the animations for each target application can be built into the charging case's operating system before the charging case leaves the factory, or they can be distributed to the charging case by a cloud server after the charging case leaves the factory and stored in the charging case's operating system.

[0116] When the target application exits to the background, an animation designed for the target application can be played, making the transition from the target application entering the background to displaying the target application's dynamic information in the interactive area more natural.

[0117] Step 104: At the end of the animation, display the dynamic information generated by the target application at runtime in the interactive area.

[0118] After the target application runs in the background, it can continuously acquire dynamic information generated by the target application while it is running in the background.

[0119] Dynamic information refers to information generated in real time by the target application. This dynamic information is mostly key information that users pay attention to regarding the target application. If the key information is some fixed information, then the fixed information can be used as dynamic information.

[0120] Dynamic information can be defined by technical personnel when developing the API, and users can also select certain dynamic information and / or exclude certain dynamic information within the defined scope.

[0121] For example, for a music player, dynamic information includes the lyrics of the song being played and a sound waveform that matches the song. If the music player cannot download lyrics online, it can use a fixed musical note icon as dynamic information. For an alarm clock, dynamic information includes the countdown timer and the time information in the stopwatch. For an electronic map, dynamic information includes navigation information. For instant messaging tools, dynamic information includes the caller (such as avatar, nickname, etc.) and the call duration, etc.

[0122] At the end of the animation, dynamic information generated by the target application during runtime can be displayed in the interactive area for users to browse.

[0123] In the specific implementation, the charging case's operating system has components such as application shortcuts (e.g., ShortcutManager) and application views (AppsView). Application shortcuts can be used to store application data and keep the application active to prevent it from being closed by the operating system. Application views can be used to draw UI elements such as View.

[0124] Therefore, you can pre-register all target applications (including the current target application) already installed in the charging case's operating system to application shortcuts (such as ShortcutManager), or register the target application currently running in the background to application shortcuts (such as ShortcutManager) in real time, so that the target application remains active in the background and is prevented from being closed by the operating system.

[0125] When the target application runs in the background, the dynamic information generated by the target application during runtime is written into the application shortcut (such as ShortcutManager) to store the dynamic information generated by the target application during runtime in the application shortcut (such as ShortcutManager).

[0126] Controls can be generated in the interactive area. If the same interactive area is divided into multiple sub-areas, controls can be generated in the self-service area.

[0127] On the desktop, multiple icons (views) and interactive areas (controls) are on the same layer. Compared to using floating windows as interactive areas, using controls as interactive areas can not only meet the user's need to obtain information from the target application, but also reduce the amount of interactive areas obscuring the main function area and reduce the impact on the main function area.

[0128] In general, multiple icons (views) and interactive areas (controls) fill the entire desktop to make full use of desktop space.

[0129] The AppsView listens for application shortcuts (such as ShortcutManager). When it detects that the application shortcut (such as ShortcutManager) stores dynamic information generated by the target application at runtime, it draws the dynamic information generated by the target application at runtime in the application shortcut (such as ShortcutManager) onto the control, so that the dynamic information generated by the target application at runtime is displayed on the interactive area of ​​the desktop.

[0130] Step 105: If the target application is closed, cancel the interactive area and restore the layout of multiple icons before compression.

[0131] If the target application is closed after running in the background for a period of time, the interactive area where the target application is located can be removed from the desktop, and the layout of multiple icons before compression can be restored, thereby gradually restoring the normal use of the main function area.

[0132] In this process, the user can trigger a touch operation to indicate that the target application is closed. When the touch screen receives the touch operation to indicate that the target application is closed, it will pass the touch operation to the operating system, and the operating system will close the target application based on the touch operation.

[0133] In addition, some target applications automatically shut down after performing specific operations; for example, an alarm clock automatically shuts down when the countdown is complete.

[0134] In this situation, an animation designed for the target application can be played, in which the target application closes. After the animation finishes playing, the interactive area is removed, and the layout of multiple icons before compression is restored.

[0135] For example, such as Figure 6A , Figure 6B , Figure 6C , Figure 6D and Figure 6E As shown, when the alarm clock finishes its countdown, it cancels the countdown time information, displays the process of the alarm ringing, and finally cancels the interactive area, restoring the layout of multiple icons as before compression.

[0136] In one scenario of restoration, if the current desktop has an interactive area (i.e., the interactive area where the current target application is located), then the layout of multiple icons before compression can be the original layout of the multiple icons on the desktop.

[0137] In another recovery scenario, multiple interactive areas are allowed to be loaded simultaneously on the desktop. Other target applications have entered the background and are loading interactive areas for other interactive areas on the desktop. That is, the current desktop has at least two interactive areas. In this case, the layout of multiple icons before compression is the layout formed after at least one compression of the original layout of multiple icons on the desktop. The number of compressions is one less than the number of interactive areas on the desktop.

[0138] Generally, restoring the layout of multiple icons before compression is the reverse of compressing the current layout of multiple icons.

[0139] If, when compressing the current layout of multiple icons, the icons are moved in the opposite direction to the target edge to create interactive space at the target edge, then when restoring the layout of the multiple icons before compression, the icons are moved to their original coordinates along the direction of the target edge so that they converge with the target edge, thereby filling the interactive area at the target edge.

[0140] If, when compressing the current layout of multiple icons, the current size of the icons is reduced and / or the current spacing between the icons is decreased during the movement of the icons, then when restoring the layout of the multiple icons before compression, the icons will be enlarged to their original size and / or the spacing between the icons will be increased to their original distance during the movement of the icons.

[0141] If the current layout of multiple icons is compressed, and the current size of each icon is reduced individually, then when restoring the layout of the multiple icons before compression, each icon will be enlarged to its original size individually.

[0142] If the current spacing between multiple icons is reduced when compressing the current layout of multiple icons, then when restoring the layout of multiple icons before compression, the spacing between the icons will be increased to the distance before compression.

[0143] If compressing the current layout of multiple icons also shrinks their current size and reduces the spacing between them, then restoring the layout of the icons to their pre-compression size will simultaneously enlarge them back to their pre-compression dimensions and increase the spacing between them back to their pre-compression distance.

[0144] Furthermore, in increasing the spacing between icons to the distance before compression, for a single icon (represented by the center point), the position of the single icon (represented by the center point) is adjusted to the position before compression, that is, the single icon (represented by the center point) restores its displacement, while the positions of multiple icons (represented by the center point) are adjusted to the position before compression, thus presenting the effect of increasing the spacing between icons to the distance before compression.

[0145] If there is an interactive area on the current desktop (i.e., the interactive area where the current target application is located), the size of multiple icons before compression can be the original size of the multiple icons on the desktop, and the spacing between icons before compression can be the original spacing between icons on the desktop.

[0146] If there are multiple interactive areas on the current desktop, the size of the multiple icons before compression can be the original size of the multiple icons on the desktop after at least one compression. The spacing between the icons before compression can be the original spacing between the icons on the desktop after at least one compression. The number of compressions is the number of interactive areas on the desktop minus one.

[0147] As the charging case's resources continue to improve, it is transforming from an accessory into a standalone smart device. Currently, users primarily listen to the earphones (including the charging case), but in the future, the earphones (including the charging case) will listen to the users.

[0148] The earphones are characterized by private interaction, hands-free operation, and the ability for sensors to collect various human characteristic data and environmental data in real time. In this regard, the design philosophy of the charging case leans towards simplicity, ease, and proactive interaction, minimizing user choices and judgments, and accurately displaying the most important information rather than overwhelming the UI with excessive information.

[0149] In the charging case of this embodiment, icons of multiple applications are displayed on the desktop according to a preset layout. These applications include a target application that interacts with the earphones. If the target application is launched and runs in the background, the current layout of the multiple icons is compressed to free up an interactive area on the desktop, while all icons remain on the desktop. An animation designed for the target application is played, showing the target application entering the interactive area. At the end of the animation, dynamic information generated by the target application during runtime is displayed in the interactive area. If the target application is closed, the layout of the multiple icons before compression is restored, thus canceling the interactive area. When no target application is providing services, icons of multiple applications are displayed on the desktop. When a target application is providing services, even when returning to the desktop, its dynamic information is clearly displayed in the interactive area. This increases the frequency of active interaction by the application, reduces the frequency of user touch operations, and minimizes the need to frequently launch applications, greatly improving the efficiency of users obtaining application information.

[0150] Example 2

[0151] Figure 7 This is a flowchart of an application interaction method provided in Embodiment 2 of the present invention. This embodiment adds a processing procedure for compatibility based on the previous embodiments. Figure 7 As shown, the method includes:

[0152] Step 701: Display the icons of multiple applications on the desktop according to the preset layout.

[0153] The applications include target applications that interact with the headphones.

[0154] Step 702: If the target application is launched and running in the background, then, while multiple icons remain on the desktop, compress the current layout of the multiple icons to free up interactive area on the desktop.

[0155] Step 703: Play the animation designed for the current target application.

[0156] The animation shows the target application entering the interactive area.

[0157] Step 704: At the end of the animation, display the dynamic information generated by the current target application at runtime in the interactive area.

[0158] Step 705: If a new target application is launched, the current target application is kept running, and the dynamic information generated by the current target application during runtime is kept displayed in the interactive area.

[0159] Generally, users can trigger a touch operation to launch a new target application, other than the current target application. For example, a user can tap the icon of a new target application, or long-press the icon of a new target application and select the function of the new target application from the pop-up menu, etc. When the touch screen receives a touch operation to launch an icon, it transmits the touch operation to the operating system, and the operating system launches the application corresponding to the icon based on the touch operation.

[0160] In addition to user-initiated launches, new target applications can also be launched by other associated applications, timed launches, or other means. This embodiment does not impose any restrictions on this.

[0161] When a new target application is launched, it can be checked whether the relationship between the new target application and the current target application is mutually exclusive or compatible.

[0162] If the relationship between the new target application and the current target application is compatible, the current target application can continue to run, maintain the current target application's use of the headphones, especially by sending audio data generated by the current target application running in the background to the headphones for playback, maintain the display of dynamic information generated by the current target application during runtime in the interactive area, and allow the new target application to use the headphones, especially by sending audio data generated by the new target application running in the background to the headphones for playback.

[0163] Step 706: If the new target application runs in the background, play the animation designed for the new target application.

[0164] Once launched, the new target application will display its UI on the screen. Users can then trigger various touch operations on the UI to perform actions such as playing songs and setting countdowns within the new target application.

[0165] When the operation is completed, the user can trigger a touch operation to exit, such as swiping up from the edge. When the touch screen receives the touch operation to exit, it passes the touch operation to the operating system. The operating system then exits the new application based on the touch operation and puts it into the background.

[0166] When a new target application enters the background, an animation designed for the new target application can be played. The animation shows the new target application entering the interactive area, making the transition from the new target application entering the background to the display of the new target application's dynamic information in the interactive area more natural.

[0167] Step 707: At the end of the animation, display the dynamic information generated by the new target application at runtime in the interactive area.

[0168] When a new target application starts running in the background, it can continuously acquire dynamic information generated by the new target application while it is running in the background.

[0169] At the end of the animation, dynamic information generated by the new target application during runtime can be displayed in the interactive area for users to browse.

[0170] The interactive area displays the location (e.g., sub-interval) of dynamic information generated by the current target application at runtime, which is different from the location (e.g., sub-interval) of dynamic information generated by a new target application at runtime.

[0171] In practice, the target applications (including new target applications) already installed in the charging case's operating system can be pre-registered to application shortcuts (such as ShortcutManager), or new target applications that run in the background can be registered to application shortcuts (such as ShortcutManager) in real time, so that the new target applications can run in the background and remain active, preventing the target applications from being closed by the operating system.

[0172] The AppsView listens for application shortcuts (such as ShortcutManager). When it detects that the application shortcut (such as ShortcutManager) stores dynamic information generated by the new target application at runtime, it draws the dynamic information generated by the new target application at runtime in the application shortcut (such as ShortcutManager) onto the control, so that the dynamic information generated by the new target application at runtime is displayed on the interactive area of ​​the desktop.

[0173] Step 708: If the new target application is closed, then the dynamic information generated by the new target application at runtime will be disabled in the interactive area.

[0174] If the new target application is closed after running in the background for a period of time, the acquisition of dynamic information generated by the new target application during runtime can be stopped, thereby canceling the display of dynamic information generated by the new target application during runtime in the interactive area.

[0175] In addition, it can stop new target applications from using the headphones, especially stop sending audio data generated by the current target application running in the background to the headphones for playback.

[0176] Step 709: If the current target application is closed, restore the layout of multiple icons before compression to remove the interactive area.

[0177] Example 3

[0178] Figure 8 This is a flowchart of an application interaction method provided in Embodiment 3 of the present invention. This embodiment adds a processing procedure for mutual exclusion based on the previous embodiments. Figure 8 As shown, the method includes:

[0179] Step 801: Display the icons of multiple applications on the desktop according to the preset layout.

[0180] The applications include target applications that interact with the headphones.

[0181] Step 802: If the target application is launched and running in the background, then, while multiple icons remain on the desktop, compress the current layout of the multiple icons to free up interactive area on the desktop.

[0182] Step 803: Play the animation designed for the current target application.

[0183] The animation shows the target application entering the interactive area.

[0184] Step 804: At the end of the animation, display the dynamic information generated by the current target application at runtime in the interactive area.

[0185] Step 805: If a new target application is launched and the priority of the new target application is higher than that of the current target application, then the current target application is paused.

[0186] Generally, users can trigger a touch operation to launch a new target application, other than the current target application. For example, a user can tap the icon of a new target application, or long-press the icon of a new target application and select the function of the new target application from the pop-up menu, etc. When the touch screen receives a touch operation to launch an icon, it transmits the touch operation to the operating system, and the operating system launches the application corresponding to the icon based on the touch operation.

[0187] In addition to user-initiated launches, new target applications can also be launched by other associated applications, timed launches, or other means. This embodiment does not impose any restrictions on this.

[0188] When a new target application is launched, it can be checked whether the relationship between the new target application and the current target application is mutually exclusive or compatible.

[0189] If the relationship between the new target application and the current target application is mutually exclusive, then the relationship between the priorities of the new target application and the current target application can be further checked. If the priority of the new target application is higher than that of the current target application, then the current target application can be stopped from running, and the current target application can be stopped from using the headphones. In particular, the audio data generated by the current target application running in the background can be stopped from being sent to the headphones for playback. In addition, the new target application can be allowed to use the headphones, and the audio data generated by the new target application running in the background can be sent to the headphones for playback.

[0190] Step 806: If the new target application runs in the background, play the animation designed for the new target application.

[0191] Once launched, the new target application will display its UI on the screen. Users can then trigger various touch operations on the UI to perform actions such as playing songs and setting countdowns within the new target application.

[0192] When the operation is completed, the user can trigger a touch operation to exit, such as swiping up from the edge. When the touch screen receives the touch operation to exit, it passes the touch operation to the operating system. The operating system then exits the new application based on the touch operation and puts it into the background.

[0193] When a new target application enters the background, an animation designed for the new target application can be played. The animation shows the new target application entering the interactive area, making the transition from the new target application entering the background to the display of the new target application's dynamic information in the interactive area more natural.

[0194] Step 807: At the end of the animation, display the dynamic information generated by the new target application at runtime in the interactive area to replace the dynamic information generated by the current target application at runtime.

[0195] When a new target application starts running in the background, it can continuously acquire dynamic information generated by the new target application while it is running in the background.

[0196] Since the current application is paused, it stops generating dynamic information. When the animation ends, the dynamic information generated by the new target application during runtime can be displayed in the interactive area for the user to browse.

[0197] The interactive area displays the location (e.g., sub-interval) of dynamic information generated by the current target application at runtime, which is the same as the location (e.g., sub-interval) of dynamic information generated by the new target application at runtime.

[0198] In practice, the target applications (including new target applications) already installed in the charging case's operating system can be pre-registered to application shortcuts (such as ShortcutManager), or new target applications that run in the background can be registered to application shortcuts (such as ShortcutManager) in real time, so that the new target applications can run in the background and remain active, preventing the target applications from being closed by the operating system.

[0199] The AppsView listens for application shortcuts (such as ShortcutManager). When it detects that the application shortcut (such as ShortcutManager) stores dynamic information generated by the new target application at runtime, it draws the dynamic information generated by the new target application at runtime in the application shortcut (such as ShortcutManager) onto the control, so that the dynamic information generated by the new target application at runtime is displayed on the interactive area of ​​the desktop.

[0200] Step 808: If the new target application is closed, the current target application will be restored to run, and the dynamic information generated by the current target application during runtime will be displayed again in the interactive area.

[0201] If the new target application is closed after running in the background for a period of time, the acquisition of dynamic information generated by the new target application during runtime can be stopped, thereby canceling the display of dynamic information generated by the new target application during runtime in the interactive area.

[0202] In addition, it can restore the current target application to run, allowing the current target application to occupy the headphones, especially by sending the audio data generated by the current target application running in the background to the headphones for playback, and by restoring the display of dynamic information generated by the current target application during runtime in the interactive area.

[0203] In the specific implementation, the application view (AppsView) is called to listen for application shortcuts (such as ShortcutManager). When it is detected that the application shortcut (such as ShortcutManager) stores dynamic information generated by the current target application at runtime, the dynamic information generated by the current target application at runtime in the application shortcut (such as ShortcutManager) is drawn in the control, so that the dynamic information generated by the current target application at runtime is displayed on the interactive area of ​​the desktop.

[0204] Step 809: If the current target application is closed, cancel the interactive area and restore the layout of multiple icons before compression.

[0205] Step 810: If a new target application is launched and the priority of the new target application is lower than that of the current target application, then the current target application will continue to run.

[0206] Generally, users can trigger a touch operation to launch a new target application, other than the current target application. For example, a user can tap the icon of a new target application, or long-press the icon of a new target application and select the function of the new target application from the pop-up menu, etc. When the touch screen receives a touch operation to launch an icon, it transmits the touch operation to the operating system, and the operating system launches the application corresponding to the icon based on the touch operation.

[0207] In addition to user-initiated launches, new target applications can also be launched by other associated applications, timed launches, or other means. This embodiment does not impose any restrictions on this.

[0208] When a new target application is launched, it can be checked whether the relationship between the new target application and the current target application is mutually exclusive or compatible.

[0209] If the relationship between the new target application and the current target application is mutually exclusive, then the relationship between the priorities of the new target application and the current target application can be further checked. If the priority of the new target application is lower than that of the current target application, then the current target application can be kept running in the background, and the current target application can be kept in use of the headphones, especially by sending the audio data generated by the current target application running in the background to the headphones for playback. In addition, the new target application can be allowed to use the headphones, especially by sending the audio data generated by the new target application running in the background to the headphones for playback.

[0210] Step 811: If a new target application runs in the background, the dynamic information generated by the current target application during runtime will continue to be displayed in the interactive area.

[0211] Once launched, the new target application will display its UI on the screen. Users can then trigger various touch operations on the UI to perform actions such as playing songs and setting countdowns within the new target application.

[0212] When the operation is completed, the user can trigger a touch operation to indicate exit, such as swiping up from the edge. When the touch screen receives the touch operation indicating exit, it passes the touch operation to the operating system. The operating system exits the new application, puts it into the background, and maintains the display of dynamic information generated by the current target application during runtime in the interactive area.

[0213] Step 812: If the current target application is closed, the dynamic information generated by the new target application at runtime will be displayed in the interactive area to replace the dynamic information generated by the current target application at runtime.

[0214] If the target application is closed after running in the background for a period of time, it can continuously acquire new dynamic information generated by the target application while it is running in the background, and display the new dynamic information generated by the target application while it is running in the interactive area for the user to browse.

[0215] Example 4

[0216] Figure 9 This is a schematic diagram of a charging compartment according to Embodiment 4 of the present invention. Figure 9 As shown, the charging case 900 includes a screen 910 and earphones 920. The screen 910 includes a touchscreen 911 and a display screen 912. The display screen 912 is used for:

[0217] Multiple application icons are displayed on the desktop according to a preset layout, including the target application that interacts with the headphones;

[0218] If the target application is launched and runs in the background, then, while all the icons remain on the desktop, the current layout of the icons is compressed to free up an interactive area on the desktop.

[0219] Play an animation designed for the target application, the content of which is the target application entering the interactive area;

[0220] At the end of the animation, dynamic information generated by the target application during runtime is displayed in the interactive area;

[0221] If the target application is closed, the layout of the multiple icons before compression is restored to cancel the interactive area.

[0222] In one embodiment of the present invention, in the layout, the shape of the visible area of ​​the icon includes a regular shape or an irregular shape, the regular shape including a circle, the multiple icons are divided into multiple rows or columns, in two adjacent rows or columns of icons, one of the icons in one row or column tends to the gap between two icons in another row or column; the size of the visible area of ​​the icon decreases from the middle to the edge.

[0223] The same interactive area is divided into multiple sub-areas;

[0224] Target applications assigned to the same sub-interval are mutually exclusive, while target applications assigned to different sub-intervals are compatible.

[0225] Within the same sub-interval, dynamic information generated by the target application at runtime can be displayed.

[0226] In one embodiment of the present invention, the charging compartment 900 further includes a processor;

[0227] The processor is configured to maintain the current target application running if a new target application is launched.

[0228] The display screen 912 is also used for:

[0229] Maintain the display of dynamic information generated by the target application at runtime in the interactive area;

[0230] If the new target application enters the background, an animation designed for the new target application will be played, the content of which is the new target application entering the interactive area;

[0231] When the animation ends, new dynamic information generated by the target application at runtime is displayed in the interactive area;

[0232] If the new target application is closed, the dynamic information generated by the new target application at runtime will be removed from the display area in the interaction area.

[0233] In one embodiment of the present invention, the charging compartment 900 further includes a processor;

[0234] The processor is configured to pause the operation of the current target application if a new target application is launched and the priority of the new target application is higher than that of the current target application.

[0235] The display screen 912 is also used for:

[0236] If the new target application enters the background, an animation designed for the new target application will be played, the content of which is the new target application entering the interactive area;

[0237] When the animation ends, new dynamic information generated by the target application at runtime is displayed in the interactive area to replace the current dynamic information generated by the target application at runtime.

[0238] The processor is further configured to restore the current target application to run if the new target application is closed;

[0239] The display screen 912 is also used to restore and display dynamic information generated by the target application during runtime in the interactive area;

[0240] The processor is further configured to maintain the operation of the current target application if a new target application is launched and the priority of the new target application is lower than the priority of the current target application;

[0241] The display screen 912 is also used for:

[0242] If a new target application runs in the background, the dynamic information generated by the current target application during runtime will continue to be displayed in the interactive area;

[0243] If the current target application is closed, new dynamic information generated by the target application at runtime will be displayed in the interaction area to replace the dynamic information generated by the current target application at runtime.

[0244] In one embodiment of the present invention, the charging compartment 900 further includes a processor;

[0245] The processor is used for:

[0246] Create a view on the desktop;

[0247] The view displays icons of multiple applications in a preset layout;

[0248] Accordingly, the processor is also used for:

[0249] Reduce the width or height of the view on the desktop to create a blank area outside the view as an interactive area;

[0250] While retaining multiple icons in the zoomed-out view, the current layout of the multiple icons is compressed.

[0251] In one embodiment of the present invention, the charging compartment 900 further includes a processor, the processor being used for:

[0252] Register the target application to an application shortcut;

[0253] Write the dynamic information generated by the target application at runtime into the application shortcut;

[0254] The application view is invoked to generate controls in the interactive area, and the dynamic information generated by the target application in the application shortcut at runtime is drawn in the controls.

[0255] In one embodiment of the present invention, the display screen 912 is further configured to:

[0256] Determine the target edge on the desktop;

[0257] Move multiple icons in a direction opposite to the edge of the target to create a blank area at the edge of the target as an interactive area;

[0258] During the movement of multiple icons, the current size of the multiple icons is reduced and / or the current spacing between the icons is decreased;

[0259] Accordingly, the display screen 912 is also used for:

[0260] The icons are moved to their original coordinates along the direction of the target edge to fill the interactive area at the target edge;

[0261] During the movement of multiple icons, the icons are enlarged to their original size and / or the spacing between the icons is increased to the original distance before compression.

[0262] The charging case provided in this embodiment of the invention can execute the application interaction method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the application interaction method.

[0263] Example 5

[0264] Figure 10A schematic diagram of the charging compartment 10, which can be used to implement an embodiment of the present invention, is shown. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the invention described and / or claimed herein.

[0265] like Figure 10 As shown, the charging compartment 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the charging compartment 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0266] Multiple components in the charging case 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, optical disk, etc.; and a communication unit 19, such as a network card, modem, wireless transceiver, etc. The communication unit 19 allows the charging case 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0267] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as application interaction methods.

[0268] In some embodiments, the application interaction method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on charging case 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the application interaction method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to execute the application interaction method by any other suitable means (e.g., by means of firmware).

[0269] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0270] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0271] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0272] To provide user interaction, the systems and techniques described herein can be implemented on the charging case, which includes: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the charging case. Other types of devices can also be used to provide user interaction; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0273] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0274] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0275] Example 6

[0276] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the application interaction method provided in any embodiment of this invention.

[0277] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0278] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0279] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. An application interaction method, characterized in that, Applied to a charging case containing earphones, the method includes: Multiple application icons are displayed on the desktop according to a preset layout, including the target application that interacts with the headphones; If the target application starts and runs in the background, then, while all the icons remain on the desktop, the current layout of the icons is compressed to free up an interactive area on the desktop. Play an animation designed for the target application, the content of which is the target application entering the interactive area; At the end of the animation, dynamic information generated by the target application during runtime is displayed in the interactive area; If the target application is closed, the layout of the multiple icons before compression is restored to cancel the interactive area.

2. The method according to claim 1, characterized in that, In the layout, the shape of the visible area of ​​the icon includes regular or irregular shapes, and the regular shapes include circles. The multiple icons are divided into multiple rows or columns. In two adjacent rows or columns of icons, one icon in one row or column tends to the gap between two icons in another row or column. The size of the visible area of ​​the icon decreases from the middle to the edge. The same interactive area is divided into multiple sub-areas; Target applications assigned to the same sub-interval are mutually exclusive, while target applications assigned to different sub-intervals are compatible. Within the same sub-interval, dynamic information generated by the target application at runtime can be displayed.

3. The method according to claim 1, characterized in that, Also includes: If a new target application is launched, the current target application continues to run, and the dynamic information generated by the current target application during runtime continues to be displayed in the interactive area; If the new target application enters the background, an animation designed for the new target application will be played, the content of which is the new target application entering the interactive area; When the animation ends, new dynamic information generated by the target application at runtime is displayed in the interactive area; If the new target application is closed, the dynamic information generated by the new target application at runtime will be removed from the display area in the interaction area.

4. The method according to claim 1, characterized in that, Also includes: If a new target application is launched and the priority of the new target application is higher than that of the current target application, then the current target application is paused. If the new target application enters the background, an animation designed for the new target application will be played, the content of which is the new target application entering the interactive area; When the animation ends, new dynamic information generated by the target application at runtime is displayed in the interactive area to replace the current dynamic information generated by the target application at runtime. If the new target application is closed, the current target application will resume running, and the dynamic information generated by the current target application during runtime will be displayed again in the interactive area. If a new target application is launched and the priority of the new target application is lower than that of the current target application, then the current target application will continue to run. If a new target application runs in the background, the dynamic information generated by the current target application during runtime will continue to be displayed in the interactive area; If the current target application is closed, new dynamic information generated by the target application at runtime will be displayed in the interaction area to replace the dynamic information generated by the current target application at runtime.

5. The method according to claim 1, characterized in that, The step of displaying icons of multiple applications on the desktop according to a preset layout includes: Create a view on the desktop; The view displays icons of multiple applications in a preset layout; The step of compressing the current layout of the multiple icons to free up interactive space on the desktop, while all of the icons remain on the desktop, includes: Reduce the width or height of the view on the desktop to create a blank area outside the view as an interactive area; While retaining multiple icons in the zoomed-out view, the current layout of the multiple icons is compressed.

6. The method according to any one of claims 1-5, characterized in that, Displaying dynamic information generated by the target application at runtime in the interactive area includes: Register the target application to an application shortcut; Write the dynamic information generated by the target application at runtime into the application shortcut; The application view is invoked to generate controls in the interactive area, and the dynamic information generated by the target application in the application shortcut at runtime is drawn in the controls.

7. The method according to any one of claims 1-5, characterized in that, The step of compressing the current layout of the icons to free up blank space on the desktop, while all the icons remain on the desktop, includes: Determine the target edge on the desktop; Move multiple icons in a direction opposite to the edge of the target to create a blank area at the edge of the target as an interactive area; During the movement of multiple icons, the current size of the multiple icons is reduced and / or the current spacing between the icons is decreased; Restoring the layout of the icons before compression to cancel the interactive area includes: The icons are moved along the direction of the target edge to their original coordinates before compression, in order to fill the interactive area at the target edge. During the movement of multiple icons, the icons are enlarged to their original size and / or the spacing between the icons is increased to the original distance before compression.

8. A charging case, characterized in that, The charging case includes a screen and earphones. The screen includes a touchscreen and a display screen, and the display screen is used for: Multiple application icons are displayed on the desktop according to a preset layout, including the target application that interacts with the headphones; If the target application starts and runs in the background, then, while all the icons remain on the desktop, the current layout of the icons is compressed to free up an interactive area on the desktop. Play an animation designed for the target application, the content of which is the target application entering the interactive area; At the end of the animation, dynamic information generated by the target application during runtime is displayed in the interactive area; If the target application is closed, the layout of the multiple icons before compression is restored to cancel the interactive area.

9. A charging case, characterized in that, The charging compartment includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the application interaction method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the application interaction method according to any one of claims 1-7.