Skin display method and device, electronic equipment and storage medium
By obtaining the application information of the target application and obtaining the skin image associated with the target application group, it is displayed as a floating window covering interface, and solving the problem of complex skin settings of the application user interface in the prior art, achieving the effect of simplifying the setting process.
Patent Information
- Application Number
- CN202311660993.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2025-06-06
AI Technical Summary
In the prior art, the user interface skin setting process of applications is complicated, and it is necessary to set the same skin for multiple applications, resulting in a cumbersome setting process.
By obtaining the application information of the target application from the interface displayed by the electronic device, if the target application is located in the target application group, a target skin image associated with the application group is obtained, and the skin image is displayed in the form of a floating window on the upper layer of the interface of the target application to cover the interface.
This simplifies the skin setting process and can be applied to all applications in the same target application group with just one setting, avoiding complex settings.
Smart Images

Figure CN120104217A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a skin display method, device, electronic device and storage medium. Background Art
[0002] At present, with the popularization of smart terminals, users' lives are increasingly dependent on smart terminals and various applications installed on them.
[0003] The user interface of various applications is the medium for interaction and information exchange between users and applications or operating systems running on the terminal. Users can control applications or operating systems through the user interface. Therefore, the skin setting of the user interface has received widespread attention. Various applications and operating systems have the function of adjusting the user interface skin, and the skins of the user interfaces of various applications are usually different. If the skins of the user interfaces of multiple applications need to be adjusted to be the same, the same skins need to be set for the user interfaces of the multiple applications respectively, so that the skins of the user interfaces of the multiple applications are the same. Obviously, this setting method has the problem of complicated setting process. Summary of the invention
[0004] In view of this, the embodiments of the present application propose a skin display method, device, electronic device and storage medium, which can effectively alleviate the problem of complex skin settings of the user interface of an application program existing in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a skin display method, the method comprising: obtaining application information of a target application from which an interface displayed by an electronic device comes; if it is determined according to the application information that the target application is located in a target application group, obtaining a target skin image associated with the target application group; the target application group includes at least two applications, and the target skin image is used as a skin for each application in the target application group; displaying the target skin image in the form of a floating window on the upper layer of the interface of the target application, and the floating window covers the interface.
[0006] In a second aspect, an embodiment of the present application provides a skin display device, which is applied to an electronic device, and the device includes: an information acquisition module, a skin acquisition module, and a skin display module. The information acquisition module is used to obtain application information of a target application from which the interface displayed by the electronic device comes; the skin acquisition module is used to obtain a target skin image associated with the target application group when it is determined that the target application is in a target application group according to the application information; the target application group includes at least two applications, and the target skin image is used as a skin for each application in the target application group; the skin display module is used to display the target skin image in the form of a floating window on the upper layer of the interface of the target application, and the floating window covers the interface.
[0007] In one possible implementation, the information acquisition module is further used to call an accessibility service to obtain application information of a target application from which the interface displayed on the electronic device comes through the accessibility service.
[0008] In one possible implementation, the information acquisition module includes an application running submodule and an information acquisition submodule; the application running submodule is used to run a skin setting application in the background after starting the target application; the target skin image associated with the target application group is determined in response to a skin setting operation triggered on a skin configuration interface of the skin setting application, and the skin setting application is different from the applications in the application group; the information acquisition submodule is used to call the accessibility service through the skin setting application running in the background during the running of the target application, so as to obtain application information of the target application running on the electronic device through the accessibility service.
[0009] In one possible implementation, the device further includes an interface display module, an application selection module, a skin selection module, and an associated storage module. The interface display module is used to display a skin configuration interface; the application selection module is used to respond to an application selection operation triggered on the skin configuration interface and treat at least two applications selected by the application selection operation as an application group; the skin selection module is used to respond to a skin image selection operation triggered for the application group and determine the skin image selected by the skin image selection operation; the associated storage module is used to associate and store the application group with the skin image selected by the skin image selection operation.
[0010] In an implementable device, the device also includes a resolution acquisition module and a resolution adjustment module. The resolution acquisition module is used to acquire the resolution of the skin image; the resolution adjustment module is used to adjust the resolution of the skin image to obtain a resolution-adjusted skin image when the resolution of the skin image is greater than a preset resolution threshold, wherein the resolution of the resolution-adjusted skin image is less than the preset resolution threshold; the associated storage module is also used to associate and store the application group with the resolution-adjusted skin image.
[0011] In one possible implementation, the device also includes an interface parameter acquisition module and an image rotation control module: the interface parameter acquisition module is used to obtain the rotation angle and rotation direction of the interface when it is detected that the interface displayed by the electronic device is rotating; the image rotation control module is used to control the rotation of the target skin image based on the rotation angle and rotation direction.
[0012] In one possible implementation, the skin display module is further used to fix the target skin image on the upper layer of the target application interface and slide to display the target application interface when a sliding operation triggered on the target application interface is detected.
[0013] In one possible implementation, the skin display module is further used to respond to a triggering operation of a full-screen play control in the interface of the target application, play the target video in full screen, and hide the floating window.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory; one or more programs are stored in the memory and configured to be executed by the processor to implement the above method.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored, wherein the above method is executed when the program code is executed by a processor.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device obtains the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above method.
[0017] The embodiments of the present application provide a skin display method, device, electronic device and storage medium. The method includes: obtaining application information of a target application from which the interface displayed by the electronic device is derived; if it is determined that the target application is in a target application group according to the application information, obtaining a target skin image associated with the target application group; the target application group includes at least two applications, and the target skin image is used as the skin of each application in the target application group; the target skin image is displayed in the form of a floating window on the upper layer of the interface of the target application, and the floating window covers the interface. By adopting the above method, as long as it is detected that the target application from which the interface displayed by the current electronic device is derived is an application in the target application group, the current application is controlled to display the target skin. Obviously, since the skins of the applications in the target application group are the same, only one skin needs to be set for each application in the same target application group, thereby avoiding the problem of complex skin setting caused by the need to set the same skin in the skin setting interface of each application in the target application group in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A diagram showing an application scenario of a skin display method provided by an embodiment of the present application is shown;
[0020] Figure 2 A schematic diagram of a process of a skin display method provided in an embodiment of the present application is shown;
[0021] Figure 3 A schematic diagram of an interface of a first application provided in an embodiment of the present application is shown;
[0022] Figure 4 A schematic diagram of an interface of a second application provided in an embodiment of the present application is shown;
[0023] Figure 5 A schematic diagram showing a first application provided in an embodiment of the present application covering a skin image is shown;
[0024] Figure 6 A schematic diagram showing a skin image covered by a second application provided in an embodiment of the present application is shown;
[0025] Figure 7 Another schematic diagram showing a first application provided by an embodiment of the present application covering a skin image;
[0026] Figure 8 Another schematic diagram of a process of a skin display method proposed in an embodiment of the present application is shown;
[0027] Fig. 9 Another schematic diagram of a process of a skin display method proposed in an embodiment of the present application is shown;
[0028] Fig.10 A connection block diagram of a skin display device proposed in an embodiment of the present application is shown;
[0029] Fig.11 A structural block diagram of an electronic device for executing the method of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0031] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0032] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0033] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0034] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0035] It should also be noted that in the embodiments of the present application, the collection, use, processing and storage of application information are all subject to the user's permission and must comply with the regulations of the region.
[0036] Figure 1 A skin display method is provided in the present application, and the method can be applied to electronic devices, and the electronic devices can be any terminal devices with display functions, such as mobile phones, computers, tablet computers, vehicle-mounted terminals, etc.
[0037] When an electronic device executes the above-mentioned skin display method, the method includes: obtaining application information of a target application from which an interface displayed by the electronic device comes; if it is determined based on the application information that the target application is in a target application group, obtaining a target skin image associated with the target application group; the target application group includes at least two applications, and the target skin image is used as a skin for each application in the target application group; and displaying the target skin image in the form of a floating window on the upper layer of the interface of the target application, and the floating window covers the interface.
[0038] Figure 1 Specifically, the target application is an instant messaging application, the target application is in the target application group, and the target skin image corresponding to the target application group is a two-dimensional cartoon. After obtaining the target application and the corresponding target skin image, the target skin image is displayed in the form of a floating window on the upper layer of the interface of the target application, and finally the following is generated: Figure 1 Schematic diagram of the interface of the target application after overlaying the target skin image.
[0039] By adopting the above method, as long as it is detected that the target application of the interface displayed by the current electronic device is an application in the target application group, the current application is controlled to display the target skin, thereby avoiding the problem of complicated skin setting caused by the need to set the same skin in the skin setting interface of each application in the target application group.
[0040] To facilitate understanding of this solution, the following briefly introduces several concepts:
[0041] A skin is a background image in the display interface of an application. The background image can be a static image or a dynamic image.
[0042] A floating window is a system tool of an electronic device. It is a movable window that floats on the surface of other applications to open different applications. When an electronic device uses a floating window, it needs the authorization of the operating system on which it is installed.
[0043] An operating system is a set of interrelated system software programs that manage and control computer operations, use and run hardware and software resources, and provide public services to organize user interactions. According to the operating environment, operating systems can be divided into desktop operating systems, mobile operating systems, server operating systems, embedded operating systems, etc. The above operating systems can be but are not limited to any of Microsoft Windows operating system, macOS operating system, Linux operating system, Google ChromeOS operating system, iOS operating system, Android operating system, Hongmeng system, KaiOS operating system, iPad OS operating system, Fuchsia OS operating system, etc.
[0044] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0045] Please read Figure 2 , Figure 2 The present application also provides a skin display method, which can be applied to an electronic device, and the method includes:
[0046] Step S110: Acquire application information of a target application from which the interface displayed by the electronic device comes.
[0047] Among them, the interface displayed by the electronic device can be one or more; if the electronic device displays one interface, the interface can be displayed in full screen of the electronic device, or it can be displayed in part of the screen of the electronic device; if the electronic device displays multiple interfaces, the multiple interfaces can occupy part of the screen of the electronic device, or they can occupy the entire screen of the electronic device.
[0048] In one possible implementation of the present application, the electronic device displays one interface, and the interface displayed by the electronic device is displayed in full screen on the screen of the electronic device.
[0049] The application information of the target application from the interface source may be the application identifier of the target application from the interface source, or the application package name of the target application from the interface source. It should be understood that the above application information is only illustrative, and as long as different applications can be distinguished based on different application information, it is not specifically limited in this embodiment.
[0050] The above method of obtaining the application information of the target application that is the source of the interface displayed on the electronic device may be to call the accessibility service and obtain the application information of the target application that is the source of the interface displayed on the electronic device through the accessibility service; it may also be to intercept the interface displayed by the electronic device, obtain the target application that is the source of the interface displayed by the electronic device based on the intercepted interface and the interface corresponding to the preset application, and obtain the application information of the target application; it may also be to identify the interface displayed by the electronic device, determine the target application of the interface displayed by the electronic device based on the identification result, and obtain the application information of the target application. It should be understood that the above method of obtaining the application information of the target application that is the source of the interface displayed by the electronic device is only illustrative, and there may be more ways to obtain it, which are not specifically limited here and can be set according to actual needs.
[0051] In one possible implementation, the above step S110 is to call an accessibility service, and obtain application information of a target application from which the interface displayed on the electronic device comes through the accessibility service.
[0052] It should be noted that the use of barrier-free services requires authorization from the operating system of the electronic device. Barrier-free services refer to the fact that electronic devices enjoy some services outside the system level without root, such as automatic installation, monitoring operations, retrieving window contents, etc. Among them, root, also known as the root user, is the only super user in Unix (such as Solaris, AIX, BSD) and UNIX-like systems (such as Linux, QNX, etc.), as well as Android and iOS mobile device systems. It is named because it can read, write and execute operations on the root directory. It is equivalent to the SYSTEM (XP and below) / TrustedInstaller (Vista and above) user in the Windows system. It has the highest authority in the system, such as starting or stopping a process, deleting or adding users, adding or disabling hardware, creating new files, modifying files or deleting all files, etc.
[0053] In an embodiment of the present application, the accessibility service is mainly used to detect application information of a target application corresponding to an interface displayed by an electronic device, such as detecting an application package name of a target application corresponding to an interface displayed by an electronic device.
[0054] Step S120: If it is determined according to the application information that the target application is in the target application group, a target skin image associated with the target application group is acquired.
[0055] The target application group includes at least two applications, and the target skin image is used as the skin of each application in the target application group.
[0056] Among them, the electronic device may store information of multiple application groups. Among them, the information of the application group may include application information of each application in the application group, and may also include an application group identifier. Each application group includes at least two applications corresponding to the same skin image, and the at least two applications included in each application group may be obtained based on the user's selection, or may be determined based on the types of applications installed in the electronic device. The skin image corresponding to each application group may be stored in association with the application information of each application in the application group.
[0057] In one possible implementation, if at least two applications included in each application group are obtained based on user selection, the process of determining the application group can be that, in the skin configuration interface, in response to an application selection operation triggered by the user, at least two applications selected by the application selection operation are applied to obtain an application group based on the two selected applications.
[0058] In another possible implementation, if at least two applications included in each application group are determined based on the type of each application installed in the electronic device, and the type may specifically refer to the functional type of each application, then specifically, at least two applications with the same functional type among the applications installed in the electronic device may be taken as a group of application groups. For example, instant messaging applications may be taken as applications in a group of application groups, music playback applications may be taken as applications in a group of application groups, video playback applications may be taken as applications in a group of application groups, and short video playback applications may be taken as applications in a group of application groups. It should be understood that the above-mentioned method of determining application groups based on the functional type of the application is merely illustrative, and there may be more ways of grouping application groups, which will not be described one by one in this embodiment.
[0059] The above-mentioned skin image can be a dynamic image or a static image, which can be set according to actual needs and is not specifically limited here.
[0060] The above manner of determining that the target application is in the target application group according to the application information may be that when the application information is one of the application information of each application in the target application group, it may be determined that the target application is in the target application group.
[0061] The target skin image may be obtained based on the historically used skin of the application in the target application group, or may be uploaded by the user, or may be obtained based on a user search, or may be selected by the user from an image library, and may be set according to actual needs.
[0062] In one possible implementation of the present application, the target skin image may be obtained by determining the skin image selected by the skin image selection operation in response to the skin image selection operation in the skin configuration interface.
[0063] It should be understood that the process of establishing an application group and the process of selecting a skin image can be performed step by step (such as the process of establishing an application group and the process of selecting a skin image as mentioned above), or can be performed sequentially (see below for details), and can be set according to actual needs.
[0064] The application groups and the images corresponding to the application groups can be configured based on the skin configuration interface. Specifically, the skin configuration interface can include application configuration controls, image configuration controls, application lists, and image lists.
[0065] In one possible implementation, the skin configuration interface includes an application configuration control, and the electronic device jumps to the application configuration interface in response to a touch operation on the application configuration control. The application configuration interface includes application information of each application installed in the electronic device, and the application configuration interface can select at least two applications from each application as an application group in response to a user selection operation. The application interface can also be provided with an image configuration control, and the electronic device can also jump to display a skin selection interface in response to a touch operation on the image configuration control, and multiple skin images are displayed in the skin selection interface. The electronic device can also determine the specified skin image as the skin image corresponding to the application group in response to a selection operation of a specified skin image from the multiple skin images.
[0066] In another possible implementation, the skin configuration interface includes a skin configuration control, and the skin configuration control can be jumped to the skin selection interface in response to jumping to the skin selection interface, and the skin selection interface includes multiple skin images, so as to determine the specified operation from the multiple skin images based on the user's image selection operation. The skin selection interface can also be provided with an application configuration control, and the electronic device can also display the application information of each application installed in the electronic device in response to the touch operation of the application configuration control. The application configuration interface can select at least two applications from each application as an application group in response to the user's selection operation, and use the specified skin image as the skin image corresponding to the application group.
[0067] In another embodiment, if the skin configuration interface includes an application list and an image list. The application list includes application information of each application installed in the electronic device, and the image list includes multiple images arranged in an array. The electronic device can respond to the application selection operation triggered in the skin configuration interface, treat at least two applications selected by the application selection operation as an application group, and respond to the skin image selection operation triggered for the application group, determine the skin image selected by the skin image selection operation, thereby obtaining the application group and the skin image corresponding to the application group.
[0068] It should be noted that the multiple skin images in the various implementation methods listed above can be obtained based on the user's search, or can be images stored in the user's electronic device, or can be obtained by similarity matching based on the historically used skins of applications in the target application group, or can be randomly selected from a gallery, or can be screened from a gallery based on the frequency of use of each image in the gallery, and no specific limitation is made here.
[0069] It should be understood that the above process of obtaining the application group and the skin image corresponding to the application group is only illustrative, and there may be more acquisition methods, which will not be described one by one in this embodiment.
[0070] Step S130: displaying the target skin image in a floating window on the upper layer of the interface of the target application, and the floating window covers the interface.
[0071] It should be noted that in the embodiment of the present application, the floating window is only used to display the target skin on the upper layer of the display interface. When the user performs a touch operation on the electronic device, the touch operation only acts on the interface of the target application displayed by the electronic device, and not on the floating window. Therefore, the floating window will not respond to the user's touch operation.
[0072] It should be understood that Figure 1 As shown in , the target skin image displayed in the form of a floating window should have a certain degree of transparency, so that when the floating window covers the interface, the content displayed on the interface can also be clearly seen.
[0073] By adopting the above method of the present application, the target skin image is displayed in a floating window on the upper layer of the interface of the target application, so that the target skin image displayed in the floating window can be used as the background image of the interface of the target application. Thereby, the background of the interface of the target application is set by using a floating window. In addition, when the interface of other applications belonging to the same target application group as the target application is displayed, the target skin image will also be displayed in a floating window on the upper layer of the interface, that is, as long as it is detected that the target application from which the interface displayed by the current electronic device is derived is an application in the target application group, the current application is controlled to display the target skin. Obviously, since the skins of the applications in the target application group are the same, it is only necessary to set the skin once for each application in the same target application group, thus avoiding the problem of complex skin setting caused by the need to set the same skin in the skin setting interface of each application in the target application group in the related art.
[0074] Please refer to Figure 3-Figure 6 As shown, the first application and the second application belonging to the same application group provided by the embodiment of the present application are shown. Among them, the first application is an instant messaging application, and the second application is a content interaction application. Figure 3 shows a schematic diagram of an interface of a first application, Figure 4Schematic diagram of the interface of a second application is shown. Before adopting the solution of this application, the third application and the fourth application have no background. If the solution of the related art is adopted, if the following is to be obtained: Figure 5 The interface of the first application after setting the background is shown and the Figure 6 The interface of the second application after setting the background shown in FIG. 1 needs to find the background setting option for the first application and the second application after multiple operations, and select the background setting option from multiple background images when the background setting option is triggered. Figure 1 After selecting the target skin image in the target application group, the selected skin image is used as the skin of the first application. Similarly, the second application also needs to be set in the above manner. In this application, after setting the skin once, it is only necessary to control the current application to display the target skin when it is detected that the target application of the interface displayed by the current electronic device is an application in the target application group. That is, as long as it is detected that the currently displayed interface belongs to the first application, it can be displayed as follows Figure 5 The interface image shown; and when detecting that the currently displayed interface belongs to the second application, the following can be displayed Figure 6 The interface image shown. This effectively avoids the problem of complex skin setting operations. It should be understood that the above application group may include more applications besides the first application and the second application, such as the third application and the fourth application, which are not specifically limited here.
[0075] In order to ensure the display effect of the interface of the target application during the use of the target application, in one embodiment, when the floating window covers the interface, if a sliding operation on the interface of the target application is detected, the target skin image will be fixedly displayed on the upper layer of the interface of the target application, and the interface of the target application will be displayed by sliding.
[0076] By fixing the target skin image on the upper layer of the target application's interface and sliding the target application's interface when a sliding operation on the target application's interface is detected, it is possible to effectively avoid the situation in which the target skin image slides along with the sliding operation during the sliding display process. In other words, it is possible to avoid the situation in which, during the sliding operation on the interface, the target skin image is no longer displayed in the interface or is partially displayed, thereby affecting the user experience.
[0077] In order to prevent the target skin image displayed in the floating window from affecting the visual effect of the user when watching the video, in one possible implementation of the present application, the application program interface includes a full-screen playback control for the target video. After executing step S130, the method also includes: in response to a triggering operation of the full-screen playback control in the interface of the target application, playing the target video in full screen and hiding the floating window.
[0078] Among them, the full-screen playback control can be located at a specified position of the target video in the application interface, such as the center, lower right corner or upper right corner, etc. The above-mentioned full-screen playback control can be located in the specified position of the target video and remain displayed, or it can be displayed in response to a specified operation on the target video in the application interface (such as a click operation or a sliding operation, etc.).
[0079] In this embodiment, the target video may also include a zoom control, and the method also includes: when the target video is played in full screen, in response to the zoom control, the target video is displayed in a reduced size in the application interface, and the target skin image is displayed in the form of a floating window on the upper layer of the application interface so that the floating window covers the interface.
[0080] Among them, the above-mentioned zoom control can be located at the target position of the target video, or it can be displayed at the target position of the target video in response to a click operation on the target video. The above-mentioned target position can be the upper right corner, lower right corner or bottom of the video screen of the target video, and can be set according to actual needs.
[0081] Taking into account that when a user uses an electronic device, it may be necessary to use the electronic device at different visual angles, for example, when using the electronic device in landscape mode, in order to display the interface of the target application in landscape mode while also being able to display the corresponding target skin image and to make the target skin image have a good visual effect, in one possible implementation of the present application, the method also includes: if it is detected that the interface displayed by the electronic device is rotated, obtaining the rotation angle and rotation direction of the interface; based on the rotation angle and rotation direction, controlling the rotation of the target skin image.
[0082] The rotation of the interface displayed on the electronic device may be that when it is detected that the use angle of the electronic device meets the conditions, the control interface rotates based on the preset rotation angle and preset rotation direction corresponding to the use angle, or it may be based on the user's rotation operation touch instruction, and the control interface rotates based on the preset rotation angle and preset rotation direction corresponding to the rotation operation touch instruction.
[0083] The preset rotation angle may be 90° or 180°, and the preset rotation direction may be clockwise or counterclockwise.
[0084] like Figure 7 As shown, it is shown in Figure 5 After the interface shown is rotated, the rotation angle of the interface is 90°, and the rotation direction is clockwise. Based on the rotation angle and the rotation direction, the interface image is obtained by controlling the rotation of the target skin image.
[0085] In addition, in order to improve the display effect of the rotated target skin, a partial area of the rotated target skin may be enlarged and displayed.
[0086] By obtaining the rotation angle and rotation direction of the interface when detecting that the interface displayed by the electronic device is rotated, and controlling the rotation of the target skin image based on the rotation angle and rotation direction, the user's viewing angle can be kept consistent with the target skin image, so that when the interface rotates, the display effect of the target skin image set in the interface can also be guaranteed.
[0087] It should be understood that if the aforementioned steps are specifically steps executed in a software program product (skin setting application), that is, the processing of the aforementioned steps can be executed by the skin setting application, then the skin setting application can be installed in an electronic device and used to execute the aforementioned steps in the skin display method. Correspondingly, the aforementioned step S110 may be that after starting the target application, the skin setting application is run in the background; the target skin image associated with the target application group is determined in response to a skin setting operation triggered on the skin configuration interface of the skin setting application, and the skin setting application is different from the applications in the application group. In the process of running the target application, the accessibility service is called by the skin setting application running in the background to obtain application information of the target application running on the electronic device through the accessibility service.
[0088] Regarding the skin setting operation triggered on the skin configuration interface of the skin setting application, please refer to the specific description of the skin image selection process in step S120 mentioned above, which will not be repeated in detail in this embodiment of the application.
[0089] When the skin setting application running in the background calls the accessibility service to obtain the application information of the target application from which the interface displayed by the electronic device comes through the accessibility service, the above steps can be executed at preset intervals, such as 0.5 seconds, 0.1 seconds, etc., and can also be executed in real time.
[0090] To improve the fluency of application switching, the above process of obtaining application information of the target application from which the interface displayed by the electronic device is derived through accessibility services can be executed in real time, thereby ensuring the real-time nature of the target skin image subsequently displayed on the upper layer of the target application's interface.
[0091] In order to ensure the real-time performance of the target skin image subsequently displayed on the upper layer of the interface of the target application, while avoiding occupying too much content during the operation of the target application, in one possible implementation of the present application, it can be that when the skin setting application is running in the electronic device, the dynamic resource loading technology is called to execute the various steps in the aforementioned skin display method (that is, when the skin setting application is running in the electronic device, the dynamic resource loading technology is called to execute the call to the accessibility service, so as to obtain the application information of the target application running on the electronic device through the accessibility service, and when it is confirmed that the target application is in the target application group, the target skin image associated with the target application group is obtained, and the target skin image is displayed in the form of a floating window on the upper layer of the interface of the target application).
[0092] Specifically, when the skin setting application is running in an electronic device and the dynamic resource loading technology is called to execute the various steps in the aforementioned skin display method, the loader can be used to load the corresponding apk, dex, jar (must contain dex files) of the skin setting application, and then obtain the resources (class, picture, color, etc.) inside the apk, dex, jar through reflection for use by the host application (skin setting application). When using dynamic resource loading technology, two types of loaders are generally required: one of the loaders is PathClassLoader - it can only load installed apk, that is, apk in the / data / app directory. The other loader is DexClassLoader - it can load apk, jar, dex that are not installed in the electronic device, as long as the corresponding path can be found.
[0093] In this solution, by calling dynamic resource loading technology when running the skin setting application, it can be ensured that no matter when the user switches the skin, the skin setting program can update the interface in real time, thereby ensuring the smoothness of the application interface update and improving the user experience.
[0094] like Figure 8 As shown, the embodiment of the present application also provides a skin display method, which can be applied to an electronic device, and the method includes:
[0095] Step S210: Display the skin configuration interface.
[0096] The skin configuration interface may display multiple images, and may also display program information of multiple application programs installed in the electronic device.
[0097] Among them, the multiple images can be obtained in response to an image search operation triggered by the user in the skin configuration interface, or can be obtained based on historical skin images, or based on the preferences of the user of the electronic device, and can be set according to actual needs.
[0098] Step S220: In response to an application selection operation triggered on the skin configuration interface, at least two applications selected by the application selection operation are grouped as an application group.
[0099] The above-mentioned application selection operation may include voice operation, touch operation or gesture operation, etc., as long as at least two applications can be selected from the multiple applications displayed on the skin configuration interface.
[0100] Step S230: In response to the skin image selection operation triggered for the application group, determining the skin image selected by the skin image selection operation.
[0101] Similarly, the above-mentioned skin image selection operation may also include voice operation, touch operation or gesture operation, etc., as long as at least one image can be selected from the multiple images displayed on the skin configuration interface.
[0102] It should be noted that when multiple images are selected, when the multiple images are used as skins for each application in the application group, each of the multiple images can be replaced in turn at a specific time, or can be replaced at preset intervals, such as every morning, every weekend, or every hour.
[0103] It should also be noted that if the aforementioned steps are specifically steps executed in a software program product (skin setting application), the skin setting interface may also include a sharing control. After determining the skin image selected by the skin image selection operation, it may also generate sharing information including the selected skin image in response to the touch operation of the sharing control, and share the analysis information with other users through the information interaction client (such as an instant messaging client) in the electronic device. This allows users to share their favorite skins with other users. The sharing information may also include information about the skin setting application. By sharing the information about the skin application, the speed of promoting and using the skin setting application can also be increased.
[0104] Step S240: storing the application group in association with the skin image selected by the skin image selection operation.
[0105] The above-mentioned method of associating and storing the application group and the skin image selected by the skin image selection operation may be to store them in a list or in a key-value pair, which can be set according to actual needs and is not specifically limited here.
[0106] Taking into account that the memory of skin images obtained by taking photos and searching is usually large, in order to avoid occupying too much memory in the subsequent storage process and to avoid consuming too much system memory in the skin setting process, in one embodiment, before executing step S240, the method also includes: obtaining the resolution of the skin image; if the resolution of the skin image is greater than a preset resolution threshold, adjusting the resolution of the skin image to obtain a resolution-adjusted skin image, wherein the resolution of the resolution-adjusted skin image is less than the preset resolution threshold; the above-mentioned step S240 can also be: storing the application group in association with the resolution-adjusted skin image.
[0107] Among them, the above-mentioned resolution can be set according to actual needs and will not be described in detail in this embodiment. The present application can reduce the resolution of the skin image so that the skin image occupies less memory, thereby reducing the occupation of system resources when displaying the skin image, such as memory, CPU and battery resources.
[0108] In an implementation, the skin configuration interface can also adjust the transparency of the skin image in response to the transparency adjustment operation of the skin image to obtain the skin image with adjusted transparency. The above step S240 can also be to store the application group in association with the skin image with adjusted transparency.
[0109] Step S250: Acquire application information of the target application from which the interface displayed by the electronic device comes.
[0110] Step S260: If it is determined according to the application information that the target application is in the target application group, a target skin image associated with the target application group is acquired.
[0111] The target application group includes at least two applications, and the target skin image is used as the skin of each application in the target application group.
[0112] Step S270: Displaying the target skin image in a floating window on the upper layer of the interface of the target application, and the floating window covers the interface.
[0113] For the detailed description of the above steps S240 - S270 , please refer to the detailed description of steps S110 - S140 above, which will not be described in detail in this embodiment.
[0114] The embodiment of the present application displays a skin configuration interface, and in response to an application selection operation triggered in the skin configuration interface, at least two applications selected by the application selection operation are treated as an application group; and in response to a skin image selection operation triggered for the application group, the skin image selected by the skin image selection operation is determined; and the application group is associated with the skin image selected by the skin image selection operation and stored. Thus, by executing a skin configuration process once in the skin configuration interface, skin configuration can be completed for multiple applications that need to use the same background, avoiding the problem of complex skin settings caused by the need to set the same skin in the skin setting interface of each application in the target application group in the related art.
[0115] See also Fig. 9 This embodiment provides a skin display method, which is specifically executed by a skin setting application installed in an electronic device. After the skin setting application is started, the method specifically includes the following steps: Fig. 9 The process shown:
[0116] Set the application group and the skin corresponding to the application group.
[0117] For the process of setting the application groups and the skins corresponding to the application groups, please refer to the description of step S120 and the description of steps S210 to S230 above.
[0118] The skin setting application can provide a rich selection of skins, for example, the skin setting application can be associated with an online skin library so that users can download and share skins from the Internet. At the same time, the skin setting application can also support users to upload their own pictures Step S320: Apply for electronic pieces as skins to achieve a higher degree of personalization.
[0119] Apply for floating window permission of the operating system of the electronic device.
[0120] Among them, the floating window can always be displayed on the top layer of the mobile phone screen, covering other applications. Through the floating window permission, the skin setting application can call the floating window to display the target skin corresponding to the target application on the upper layer of the target application's interface. The floating window should have a user-friendly design and support setting static pictures and dynamic pictures as skins to be displayed in the floating window. In addition, the floating window can also be provided with a transparency adjustment control, allowing the user to adjust the transparency of the skin image displayed in the floating window based on the control to meet the needs of different users.
[0121] It should be understood that if the floating window permission of the operating system is not applied for, the task will be terminated.
[0122] If you are granted the floating window permission of the operating system, apply for the accessibility service permission.
[0123] It should be understood that the task can be terminated if the accessibility service permission is not applied for.
[0124] If the accessibility service permission is applied for, the skin setting application will be switched to the background, and the application information of the target application from which the interface displayed by the electronic device is derived will be obtained.
[0125] In this embodiment, the information of other applications, such as the application package name, can be accessed through the barrier-free service. After the skin setting application is switched to the background, the skin setting application can also detect the application information currently being used by the user in real time through the barrier-free service.
[0126] By real-time detection callback of the accessibility service, the skin setting application can obtain application information of the application (target application) currently being used by the user, such as the package name, in real time. The package name can be used as a unique identifier of the target application and can be used to confirm the application currently being used by the user.
[0127] The obtained program package name is matched and verified with the application package name of each application in the application group to determine whether the application currently being used by the user is in the application group.
[0128] Obviously, this step is very important, because the skin setting application needs to decide whether to display the skin set by the user according to the judgment result. If the application currently being used by the user belongs to an application group, the application group is determined to be the target application group.
[0129] The target skin image is displayed in a floating window on the upper layer of the interface of the target application.
[0130] The target skin image is the skin image corresponding to the target application group. In order to maintain the stable display of the skin, the floating window can be optimized, for example, when a user slides the interface of the target application, the position of the floating window is fixed, or when a user plays the target video in the interface of the target application in full screen, the target video is played in full screen and the floating window is automatically hidden.
[0131] In the process of implementing the solution, special attention should be paid to performance and resource usage. Skin settings should minimize the usage of system resources, such as memory, CPU, and battery. At this time, the target image corresponding to each target application group can be an image with a resolution smaller than the preset resolution.
[0132] When the above-mentioned skin setting application is applied on a specific device, in order to improve the compatibility of the solution, it is necessary to conduct sufficient testing on different Android versions and devices to ensure that the functions of the skin setting application can work normally in various environments.
[0133] User privacy and security issues are also key points that need to be paid attention to when implementing this solution. Accordingly, when applying for system floating window permissions and accessibility service permissions, it is necessary to fully explain the purpose of the permissions to users to avoid causing user concerns, and the skin setting application has the permission to use floating windows and accessibility services only with user authorization. In addition, when using user data, the skin setting application should comply with relevant laws, regulations and privacy policies to ensure the security and privacy of user data.
[0134] The skin display method provided by the present application provides users with convenient skin settings. This solution achieves the value of simplifying the operation of the skin setting process, improving user experience, and increasing the attractiveness of skin setting applications by applying for system floating window permissions, barrier-free service permissions, realizing skin floating window interface and interaction, and real-time detection of the application currently used by the user, etc. At the same time, it can also improve the competitiveness and market share of skin setting applications. After one setting, multiple applications can automatically use the same skin. In this way, users do not need to repeatedly set skins between multiple applications, saving time and energy. In addition, the execution of the above steps can be performed by the skin setting application calling dynamic resource loading technology, so that no matter when the user switches skins, the skin setting application can update the interface in real time to provide a smooth user experience.
[0135] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0136] See also Fig.10Another embodiment of the present application provides a skin display device 300, which is applied to an electronic device. The device 300 includes: an information acquisition module 310, a skin acquisition module 320, and a skin display module 330. The information acquisition module 310 is used to obtain application information of a target application from which the interface displayed by the electronic device comes; the skin acquisition module 320 is used to obtain a target skin image associated with the target application group when it is determined that the target application is in a target application group according to the application information; the target application group includes at least two applications, and the target skin image is used as the skin of each application in the target application group; the skin display module 330 is used to display the target skin image in the form of a floating window on the upper layer of the interface of the target application, and the floating window covers the interface.
[0137] In one possible implementation, the information acquisition module 310 is further used to call an accessibility service to obtain application information of a target application from which the interface displayed on the electronic device comes through the accessibility service.
[0138] In one possible implementation, the information acquisition module 310 includes an application running submodule and an information acquisition submodule; the application running submodule is used to run a skin setting application in the background after starting the target application; the target skin image associated with the target application group is determined in response to a skin setting operation triggered on a skin configuration interface of the skin setting application, and the skin setting application is different from the applications in the application group; the information acquisition submodule is used to call an accessibility service through the skin setting application running in the background during the running of the target application, so as to obtain application information of the target application running on the electronic device through the accessibility service.
[0139] In one possible implementation, the device 300 further includes an interface display module, an application selection module, a skin selection module, and an associated storage module. The interface display module is used to display the skin configuration interface; the application selection module is used to respond to the application selection operation triggered on the skin configuration interface and treat at least two applications selected by the application selection operation as an application group; the skin selection module is used to respond to the skin image selection operation triggered for the application group and determine the skin image selected by the skin image selection operation; the associated storage module is used to associate and store the application group with the skin image selected by the skin image selection operation.
[0140] In an implementable device, device 300 also includes a resolution acquisition module and a resolution adjustment module. The resolution acquisition module is used to acquire the resolution of a skin image; the resolution adjustment module is used to adjust the resolution of the skin image to obtain a resolution-adjusted skin image when the resolution of the skin image is greater than a preset resolution threshold, wherein the resolution of the resolution-adjusted skin image is less than the preset resolution threshold; and the associated storage module is also used to associate and store the application group with the resolution-adjusted skin image.
[0141] In one possible implementation, the device 300 also includes an interface parameter acquisition module and an image rotation control module: the interface parameter acquisition module is used to obtain the rotation angle and rotation direction of the interface when it is detected that the interface displayed by the electronic device is rotating; the image rotation control module is used to control the rotation of the target skin image based on the rotation angle and rotation direction.
[0142] In one possible implementation, the skin display module 330 is further configured to, when a sliding operation triggered on the interface of the target application is detected, fix the target skin image on the upper layer of the interface of the target application and slide to display the interface of the target application.
[0143] In one possible implementation, the skin display module 330 is further configured to respond to a triggering operation of a full-screen play control in the interface of the target application, play the target video in full screen, and hide the floating window.
[0144] Each module in the above-mentioned device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules. It should be noted that the device embodiment in this application corresponds to the aforementioned method embodiment. The specific principles in the device embodiment can be found in the contents of the aforementioned method embodiment, which will not be repeated here.
[0145] The following will be combined Fig.11 An electronic device provided by the present application is described.
[0146] See also Fig.11 Based on the skin display method provided in the above embodiment, the embodiment of the present application also provides another electronic device 100 including a processor 102 that can execute the above method. The electronic device 100 can be a server or a terminal device, and the terminal device can be a smart phone, tablet computer, computer or portable computer and other devices.
[0147] The electronic device 100 further includes a memory 104 . The memory 104 stores a program that can execute the contents of the aforementioned embodiments, and the processor 102 can execute the program stored in the memory 104 .
[0148] Among them, the processor 102 may include one or more cores for processing data and a message matrix unit. The processor 102 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104. Optionally, the processor 102 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 102 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 102, but may be implemented separately through a communication chip.
[0149] The memory 104 may include a random access memory (RAM) or a read-only memory (ROM). The memory 104 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 104 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the following various method embodiments, etc. The data storage area may also store data (e.g., application information or skin images) acquired by the electronic device 100 during use.
[0150] The electronic device 100 may also include a network module and a screen. The network module is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices, such as communicating with an audio playback device. The network module may include various existing circuit components for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity modules (SIM) cards, memories, and the like. The network module may communicate with various networks such as the Internet, corporate intranets, wireless networks, or communicate with other devices via wireless networks. The above-mentioned wireless networks may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The screen may display interface content and perform data interaction, such as displaying the aforementioned interface, and triggering operations via the screen.
[0151] In some embodiments, the electronic device 100 may further include: a peripheral interface 106 and at least one peripheral device. The processor 102, the memory 104 and the peripheral interface 106 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral interface via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency component 108, a positioning component 112, a camera 114, an audio component 116, a display screen 118 and a power supply 122.
[0152] The peripheral interface 106 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 102 and the memory 104. In some embodiments, the processor 102, the memory 104, and the peripheral interface 106 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 102, the memory 104, and the peripheral interface 106 may be implemented on a separate chip or circuit board, which is not limited in the embodiments of the present application.
[0153] The radio frequency component 108 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency component 108 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency component 108 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency component 108 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency component 108 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency component 108 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0154] The positioning component 112 is used to locate the current geographic location of the electronic device to implement navigation or LBS (Location Based Service). The positioning component 112 can be a positioning component based on the US GPS (Global Positioning System), Beidou system or Galileo system.
[0155] The camera 114 is used to capture images or videos. Optionally, the camera 114 includes a front camera and a rear camera. Usually, the front camera is arranged on the front panel of the electronic device 100, and the rear camera is arranged on the back of the electronic device 100. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera 114 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0156] The audio component 116 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 102 for processing, or input them into the RF component 108 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there can be multiple microphones, which are respectively arranged at different parts of the electronic device 100. The microphone can also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 102 or the RF component 108 into sound waves. The speaker can be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio component 114 may also include a headphone jack.
[0157] The display screen 118 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 118 is a touch display screen, the display screen 118 also has the ability to collect touch signals on the surface or above the surface of the display screen 118. The touch signal can be input to the processor 102 as a control signal for processing. At this time, the display screen 118 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 118 can be one, and the front panel of the electronic device 100 is set; in other embodiments, the display screen 118 can be at least two, which are respectively set on different surfaces of the electronic device 100 or are folded; in some other embodiments, the display screen 118 can be a flexible display screen, which is set on the curved surface or folded surface of the electronic device 100. Even, the display screen 118 can also be set as a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 118 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, machine light-emitting diode).
[0158] The power supply 122 is used to power various components in the electronic device 100. The power supply 122 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 122 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0159] The embodiment of the present application also provides a structural block diagram of a computer-readable storage medium. The computer-readable medium stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0160] The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for program codes that execute any of the method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code can be compressed, for example, in an appropriate form.
[0161] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device performs the method described in the above various optional implementations.
[0162] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A skin display method, It is characterized in that Applied to electronic equipment, the method comprises: Obtain application information of a target application from which the interface displayed by the electronic device comes; If it is determined according to the application information that the target application is in a target application group, obtaining a target skin image associated with the target application group; the target application group includes at least two applications, and the target skin image is used as a skin for each application in the target application group; The target skin image is displayed in the form of a floating window on the upper layer of the interface of the target application, and the floating window covers the interface.
2. The method according to claim 1, It is characterized in that The step of obtaining application information of a target application from which the interface displayed by the electronic device comes includes: An accessibility service is called to obtain application information of a target application from which the interface displayed on the electronic device comes through the accessibility service.
3. The method according to claim 2, It is characterized in that The calling of the accessibility service to obtain application information of the target application from which the interface displayed on the electronic device comes through the accessibility service includes: After the target application is started, a skin setting application is run in the background; the target skin image associated with the target application group is determined in response to a skin setting operation triggered on a skin configuration interface of the skin setting application, and the skin setting application is different from the applications in the application group; During the process of running the target application, the accessibility service is called by the skin setting application running in the background, so as to obtain application information of the target application running on the electronic device through the accessibility service.
4. The method according to claim 1, It is characterized in that If it is determined according to the application information that the target application is in a target application group, before acquiring the target skin image associated with the target application group, the method further includes: Display the skin configuration interface; In response to an application selection operation triggered on the skin configuration interface, at least two applications selected by the application selection operation are grouped as an application group; In response to a skin image selection operation triggered for the application group, determining a skin image selected by the skin image selection operation; The application group is associated with the skin image selected by the skin image selection operation and stored.
5. The method according to claim 4, It is characterized in that Before storing the application group in association with the skin image selected by the skin image selection operation, the method further includes: Acquiring the resolution of the skin image; If the resolution of the skin image is greater than a preset resolution threshold, adjusting the resolution of the skin image to obtain a skin image after the resolution is adjusted, wherein the resolution of the skin image after the resolution is adjusted is less than the preset resolution threshold; The step of associating and storing the application group with the skin image selected by the skin image selection operation includes: The application group is associated with the skin image after the resolution is adjusted and stored.
6. The method according to claim 1, It is characterized in that After displaying the target skin image in a floating window on an upper layer of the interface of the target application, the method further includes: If it is detected that the interface displayed by the electronic device is rotated, the rotation angle and rotation direction of the interface are obtained; Based on the rotation angle and the rotation direction, the target skin image is controlled to rotate.
7. The method according to claim 1, It is characterized in that After displaying the target skin image in a floating window on an upper layer of the interface of the target application, the method further includes: If a sliding operation triggered on the interface of the target application is detected, the target skin image is fixedly displayed on the upper layer of the interface of the target application, and the interface of the target application is displayed by sliding.
8. The method according to claim 1, It is characterized in that The application program interface includes a full-screen playback control for the target video, and after the target skin image is displayed in a floating window on the upper layer of the target application interface, the method further includes: In response to a triggering operation on a full-screen play control in the interface of the target application, the target video is played in full screen and the floating window is hidden.
9. A skin display device, It is characterized in that Applied to electronic equipment, the device comprises: An information acquisition module, used to acquire application information of a target application from which the interface displayed by the electronic device comes; a skin acquisition module, configured to acquire a target skin image associated with a target application group when it is determined according to the application information that the target application is in a target application group; the target application group includes at least two applications, and the target skin image is used as a skin for each application in the target application group; The skin display module is used to display the target skin image in the form of a floating window on the upper layer of the interface of the target application, and the floating window covers the interface.
10. An electronic device, It is characterized in that include: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores program codes, and the program codes can be called by a processor to execute the method according to any one of claims 1 to 8.
12. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.