Application interface display method and device, equipment and storage medium
By dynamically adjusting the paper texture depth of electronic devices in paper-like display mode, the problem of fixed paper texture in the prior art is solved, and a more comfortable interface display effect and an improved user experience is achieved.
Patent Information
- Application Number
- CN202310967925.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-02
- Publication Date
- 2025-02-18
AI Technical Summary
In the paper-like display mode, the paper texture of existing electronic devices is fixed and cannot be dynamically adjusted according to different application interfaces, resulting in poor user experience.
By obtaining the target application interface and determining its corresponding texture depth, set the background texture of the target application interface to the dynamically adjusted target paper texture to match the user's application scenario.
It realizes dynamic adjustment of the depth of paper texture according to the application interface, improves the user experience and provides a more comfortable interface display effect.
Smart Images

Figure CN119473100A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of interface display, and in particular to an application interface display method, device, equipment and storage medium. Background Art
[0002] Studies have shown that the display effect of physical paper is relatively friendly to the human eye under the same ambient light conditions. In order to protect users' eyesight and provide users with a better electronic device experience, many electronic devices are equipped with a paper-like display mode. When users turn on the paper-like display mode, the electronic device will display a paper-like texture, simulating the effect of displaying content on paper.
[0003] Currently, the paper texture provided on electronic devices is generally fixed. When a user turns on a paper-like display mode, the electronic device will apply the same paper texture to different display interfaces, and each display interface has the same paper-like display effect. Summary of the invention
[0004] The present application provides an application interface display method, device, equipment and storage medium to dynamically adjust a paper-like display effect.
[0005] In a first aspect, a method for displaying an application interface is provided, comprising:
[0006] Get the target application interface to be displayed;
[0007] Determining a target texture depth corresponding to the target application interface;
[0008] The background texture of the target application interface is set as the target paper texture, and the target application interface is displayed, and the depth of the target paper texture is the target texture depth.
[0009] In this technical solution, after obtaining the target application interface to be displayed, the target texture depth corresponding to the target application interface is first determined; then the background texture of the target application interface is set to the target paper texture with a texture depth of the target texture depth, and the target application interface is displayed; the depth of the paper texture is set according to the application interface, so that the depth of the paper texture matches the user's application scenario, thereby achieving the purpose of dynamically adjusting the paper-like display effect, providing users with a more comfortable interface display effect, and improving the user experience.
[0010] In conjunction with the target aspect, in a possible implementation, the determination of the target texture depth corresponding to the target application interface includes: obtaining a target scene identifier, the target scene identifier being the scene identifier of the application scene to which the target application interface belongs; querying the paper texture depth corresponding to the target scene identifier in a paper texture configuration set, and determining the paper texture depth corresponding to the target scene identifier as the target texture depth, the paper texture configuration set including paper texture configuration data pre-configured for different application scenes, the paper texture configuration data including paper texture depth. By searching the pre-configured paper texture configuration set for the paper texture depth corresponding to the target scene identifier of the application scene to which the application interface belongs as the texture depth corresponding to the application interface, the background texture of the application interface can be matched with the user application scene.
[0011] In combination with the target aspect, in a possible implementation, the obtaining of the target paper-like texture depth corresponding to the target application interface further includes: if the paper texture depth corresponding to the target scene identifier is not found in the paper texture configuration set, the preset paper texture depth is determined as the target texture depth. When the paper texture depth corresponding to the target scene identifier of the application scene to which the application interface belongs cannot be found, the preset paper texture depth is determined as the texture depth corresponding to the application interface, which can ensure that all application interfaces can have a paper-like display effect.
[0012] In terms of the target, in a possible implementation, the paper texture configuration data also includes a paper texture type; before setting the background texture of the target application interface as the target paper texture, it also includes: querying the target paper texture type corresponding to the target scene identifier in the paper texture configuration set; and determining the paper texture corresponding to the target paper texture type as the target paper texture. By searching the pre-configured paper texture set for the target paper texture type corresponding to the target scene identifier of the application scene to which the application interface belongs, and determining the paper texture corresponding to the target paper texture type as the background texture of the application interface, the background texture of the application interface can be matched with the user application scene.
[0013] In conjunction with the objective, in a possible implementation, the method further includes: receiving a texture configuration update message issued by a paper texture management platform; and updating a paper texture configuration set according to the texture configuration update message. Updating the paper texture configuration set according to the paper texture configuration update message issued by the paper texture management platform can achieve the update of the paper texture configuration set.
[0014] In conjunction with the objective, in a possible implementation, the method further includes: receiving a texture configuration user instruction; and updating a paper texture configuration set according to the texture configuration user instruction. Updating the paper texture configuration set according to a paper texture configuration update message issued by a paper texture management platform can enable the paper texture configuration set to meet user needs.
[0015] In conjunction with the target aspect, in a possible implementation, before setting the background texture of the target application interface as the target paper texture, the method further includes: obtaining the display direction of the target application interface; and adjusting the display direction of the target paper texture to be consistent with the display direction of the target application interface. Adjusting the display direction of the paper texture to be consistent with the display direction of the application interface can ensure the consistency of the paper texture display.
[0016] In conjunction with the target aspect, in a possible implementation, the adjusting the display direction of the target paper texture to be consistent with the display direction of the target application interface includes: obtaining a texture bitmap corresponding to the target paper texture; rotating the texture bitmap so that the display direction of the texture bitmap is consistent with the display direction of the target application interface. The display direction of the paper texture is made consistent with the display direction of the application interface by rotating the texture bitmap corresponding to the paper texture, and the implementation method is simple and convenient.
[0017] In a second aspect, an application interface display device is provided, comprising:
[0018] An interface acquisition module, used to acquire the target application interface to be displayed;
[0019] A depth determination module, used to determine a target texture depth corresponding to the target application interface;
[0020] The interface display module is used to set the background texture of the target application interface as the target paper texture, and display the target application interface, wherein the depth of the target paper texture is the target texture depth.
[0021] In a third aspect, a display device is provided, comprising a memory, a display panel, and one or more processors, wherein the memory and the display panel are connected to the one or more processors, the display panel is used to display an application interface, and the one or more processors are used to execute one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the display device implements the application interface display method of the first aspect mentioned above.
[0022] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the application interface display method of the first aspect.
[0023] The present application can achieve the following technical effects: it realizes setting the depth of paper texture according to the application interface, so that the depth of paper texture matches the user's application scenario, achieves the purpose of dynamically adjusting the paper-like display effect, and can provide users with a more comfortable interface display effect and enhance user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of a system block diagram of a paper texture management system provided in an embodiment of the present application;
[0025] Figure 2 A flowchart of an application interface display method provided for an application embodiment;
[0026] Figure 3 A schematic diagram of paper texture configuration data provided in an embodiment of the present application;
[0027] Figure 4 A flowchart of another application interface display method provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of the display direction of the application interface provided in an embodiment of the present application;
[0029] Figure 6 A schematic diagram of the display direction of paper texture provided in an embodiment of the present application;
[0030] Figure 7 A schematic diagram of the background texture of the application interface provided in an embodiment of the present application;
[0031] Figure 8 It is a structural schematic diagram of an application interface display device provided in an embodiment of the present application;
[0032] Fig. 9 It is a structural schematic diagram of a display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0034] The technical solution of the present application is applicable to application interface display scenarios. The technical solution of the present application can be applied to a display device with a paper-like display function (hereinafter referred to as a target display device), wherein the target display device refers to a display device that can provide a paper-like display service and can display a paper-like texture (hereinafter referred to as paper texture) as the background texture of the application interface when the user turns on the paper-like display service. In order to provide paper-like display services, the present application also provides a paper texture management platform for managing and configuring paper textures. The paper texture management platform and the target display device constitute a paper texture management system.
[0035] For easier understanding, the paper texture management system is first introduced. Figure 1 , Figure 1 A schematic diagram of a system block diagram of a paper texture management system provided in an embodiment of the present application is shown in FIG. Figure 1As shown, the paper texture management system 10 includes a paper texture management platform 101 and a target display device 102, wherein the paper texture management platform 101 is used to configure and manage paper texture configuration data in different application scenarios, and the paper texture configuration data may include paper texture depth, paper texture type, paper texture color temperature, paper texture color, etc. After testing different application scenarios and determining the best paper texture suitable for the application scenario, the backstage manager can configure the paper texture configuration data corresponding to the best paper texture into the paper texture management platform, and the best paper texture configuration data may refer to the paper texture that makes the eyes look most comfortable in the application scenario. The paper texture management platform 101 can also send the paper texture configuration data in different application scenarios to the target display device 102. The paper texture management platform may include a server, a database, etc. The target display device 102 is a display device for users, such as a mobile phone, a learning tablet, etc. The target display device 102 can save the paper texture configuration data in different application scenarios sent by the paper texture management platform 101 in the paper texture configuration set, and select the corresponding paper texture configuration data as the background texture for display according to different application scenarios to provide paper-like display services to users. The target display device 102 may include a texture configuration management module, an application activity stack management module, a system application management module, a system setting database, a paper-like texture management module and a window management module. The texture configuration management module can subscribe to the paper texture configuration data in different application scenarios published by the paper texture management platform 101, and save the paper texture configuration data in different application scenarios in the paper texture configuration set of the target display device 102. The application activity stack management module is used to manage the activity interface displayed by the target display device 102. When the user performs an operation of opening an application interface on the target display device 102 (such as clicking an icon, etc.), the application activity stack management module responds to the user operation and calls the corresponding application interface. The system application management module records the detailed information of each application installed in the operating system of the target display device 102, such as the name of the application, the application identifier assigned to the application, the file identifier of the application file corresponding to the application, the memory occupied by the application, etc. The system setting database is used to save various key configuration information of the operating system of the target display device 102. In this application, the system setting data can be used to save the scene identifier of the application scene. The paper-like texture management module is used to control the adjustment logic of the display and texture depth of the paper-like layer. The paper-like texture management module can call the window management module to overlay and render the paper-like texture layer on the top layer of the display window to achieve a paper-like display effect. The window management module 1026 is used to control the display rendering logic of the layer. The window management module can dynamically adjust the display parameters of the paper-like layer to adjust the display effect of the paper-like layer.
[0036] Based on the above Figure 1The paper texture management system shown can implement the technical solution of the present application. The technical solution of the present application is described in detail below.
[0037] See also Figure 2 , Figure 2 A flowchart of an application interface display method provided in an application embodiment, such as Figure 2 As shown, the method comprises the following steps:
[0038] S201, obtaining a target application interface to be displayed.
[0039] Here, the target application interface is the application interface that needs to be displayed currently, and the target application interface can be the display interface of any application. The target application interface to be displayed can be obtained by detecting user operations. Different detected user operations will result in different target application interfaces to be displayed. Among them, the target application interface to be displayed can be determined by calling the application activity stack management module in the target display device to detect user operations. After determining the target application interface to be displayed, the application activity stack management module in the target display device can call the system application management module in the target display device to determine the scene identifier of the application scene to which the target application interface belongs, and record the scene identifier of the application scene to which the target application interface belongs in the system setting database in the target display device.
[0040] S202, determining a target texture depth corresponding to a target application interface.
[0041] Here, the target texture depth corresponding to the target application interface is the texture depth of the paper texture suitable for the target application interface, and the best display effect is achieved by using the paper texture with the target texture depth as the background texture of the target application interface.
[0042] In this application, different application interfaces in the target display device are distinguished according to the application scenario. The target texture depth corresponding to the target application interface can be determined through the following steps A1-A4:
[0043] A1. Obtain the target scene identifier.
[0044] Here, the target scene identifier is a scene identifier of an application scene to which the target application interface belongs, and the target scene identifier is used to uniquely identify the application scene to which the target application interface belongs.
[0045] In a feasible implementation, different application scenarios can be divided according to applications, and different applications correspond to different application scenarios. The application identifier can be used as a scenario identifier to distinguish different application scenarios. In this case, the application identifier of the target application to which the target application interface belongs can be obtained, and the application identifier of the target application can be determined as the target scenario identifier. Among them, the system setting database in the target display device can be queried to obtain the application identifier of the target application to which the target application interface belongs.
[0046] In another feasible implementation, different application scenarios can also be divided according to application files. Different application files correspond to different application scenarios. The file identifier of the application file can be used as a scene identifier to distinguish different application scenarios. In this case, the file identifier of the target application file to which the target application interface belongs can be obtained, and the file identifier of the target application file can be determined as the target scene identifier. Among them, the system setting database in the target display device can be queried to obtain the file identifier of the target application file to which the target application interface belongs.
[0047] The division of application scenarios is not limited to the above two situations. The application scenarios can be divided according to actual needs and the scenario identifiers that identify the application scenarios can be determined.
[0048] A2. In the paper texture configuration set, query the paper texture depth corresponding to the target scene identifier.
[0049] Here, the paper texture configuration set includes paper texture configuration data pre-configured for different application scenarios, and the paper texture configuration data may include paper texture type, paper texture depth, paper texture color, paper texture color temperature, etc. The paper texture type reflects the type of paper texture, and the type of paper texture may specifically include parchment, kraft paper, newspaper, letterhead paper, etc.; the paper texture depth reflects the depth of the paper texture, for example, the depth of the paper texture can be divided into 5 levels from 1 to 5 according to the level division, and the higher the level, the deeper the depth; the paper texture color reflects the color of the paper texture, and the paper texture color temperature reflects the cold and warm tones of the paper texture. The paper texture configuration data in the paper texture configuration set can be obtained by background configuration, and the texture configuration management module in the target display device can obtain the paper texture configuration data in the paper texture management platform and save it locally in the target display device. The paper texture configuration data in the paper texture configuration set can also be set by the user, and the texture configuration management module in the target display device can save the paper configuration data set by the user for different application scenarios.
[0050] For example, the paper texture configuration data may be as follows: Figure 3 As shown, Figure 3 The "name" in is the scene identifier. Figure 3In the application program, the file identifier of the application file is used as the scene identifier to distinguish different application scenarios. Figure 3 The "value" in is the paper texture depth value.
[0051] When the paper texture depth corresponding to the target scene identifier is queried in the paper texture configuration set, it means that the paper texture depth is pre-configured for the target application interface, and step A3 is executed; when the paper texture depth corresponding to the target scene identifier is not queried in the paper texture configuration set, it means that the paper texture depth is not pre-configured for the target application interface, and step A4 is executed.
[0052] A3. Determine the paper texture depth corresponding to the target scene identifier as the target texture depth.
[0053] For example, the target scene is identified as Figure 3 In "com.android.deskclosk", it can be determined that the paper texture depth corresponding to the target scene identifier is 90, and 90 is determined as the target texture depth.
[0054] By searching the pre-configured paper texture configuration set for a paper texture depth corresponding to the target scene identifier of the application scene to which the application interface belongs as the texture depth corresponding to the application interface, the background texture of the application interface can be matched with the user application scene.
[0055] A4. Set the preset paper texture depth as the target texture depth.
[0056] When the paper texture depth corresponding to the target scene identifier of the application scene to which the application interface belongs cannot be found, the preset paper texture depth is determined as the texture depth corresponding to the application interface, which can ensure that all application interfaces can have a paper-like display effect.
[0057] Optionally, before determining the target texture depth corresponding to the target application interface, it can also be determined whether the paper-like display service in the target display device is turned on. If the paper-like display service of the target display device is turned on, step S102 is executed; if the paper-like display service of the target display device is not turned on, the target application interface is directly displayed.
[0058] S203, setting the background texture of the target application interface as the target paper texture, displaying the target application interface, and the depth of the target paper texture as the target texture depth.
[0059] Here, the background texture of the target application interface can be set to the target paper texture through the paper-like texture management module, and the window management module can be called to render the target application interface and the background texture of the target application interface, so as to display the target application interface. For example, if the target texture depth is 90, the background texture of the target application interface is set to the paper texture with a depth of 90, and then the target application interface and the background texture of the target application interface are rendered.
[0060] In some possible cases, there may be multiple types of paper textures. In addition to selecting different paper texture depths according to different application scenarios, different types of paper textures may also be selected according to different application scenarios. Before step S103, the paper texture type corresponding to the target application interface may also be determined. Before the above step S203, the following steps B1-B3 may also be included:
[0061] B1. In the paper texture configuration set, query the target paper texture type corresponding to the target scene identifier.
[0062] When the target paper texture type corresponding to the target scene identifier is found in the paper texture configuration set, step B2 is executed; when the target paper texture type corresponding to the target scene identifier is not found in the paper texture configuration set, step B3 is executed.
[0063] B2. Determine the paper texture corresponding to the target paper texture type as the target paper texture.
[0064] For example, if the target paper texture type corresponding to the target scene identifier is kraft paper, then kraft paper is determined as the background texture of the target application interface.
[0065] B3. Determine the paper texture corresponding to the preset paper texture type as the target paper texture.
[0066] In the above Figure 2 In the corresponding technical solution, after obtaining the target application interface to be displayed, the target texture depth corresponding to the target application interface is first determined; then the background texture of the target application interface is set to the target paper texture with a texture depth of the target texture depth, and the target application interface is displayed; the depth of the paper texture is set according to the application interface, so that the depth of the paper texture matches the user's application scenario, thereby achieving the purpose of dynamically adjusting the paper-like display effect, and being able to provide users with a more comfortable interface display effect and enhance the user experience.
[0067] See also Figure 4 , Figure 4 A flowchart of another application interface display method provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the method comprises the following steps:
[0068] S301, obtaining a target application interface to be displayed.
[0069] S302: Determine a target texture depth corresponding to the target application interface.
[0070] Here, regarding the specific implementation of steps S301 to S302, please refer to the description of the aforementioned steps S201 to S202, which will not be repeated here.
[0071] S303: Obtain the display direction of the target application interface.
[0072] Here, the display direction of the target application interface includes two situations: horizontal display and vertical display. The horizontal display and vertical screen display can be as follows: Figure 5 As shown, vertical display means that the display screen is in vertical state, and the content in the target application interface is displayed along the short side of the display screen; horizontal display means that the display screen is in horizontal state, and the content in the target application interface is displayed along the long side of the display screen.
[0073] The display direction of the target application interface can be obtained by calling the system display management module.
[0074] S304: Adjust the display direction of the target paper texture to be consistent with the display direction of the target application interface.
[0075] Here, the target paper texture is the background texture of the target application interface. Assume that the target paper texture is Figure 6 As shown in a in FIG. 1 , when the display direction of the target application interface is vertical display, the display direction of the paper texture is vertical display. The vertically displayed paper texture can be as follows Figure 6 As shown in P1 in FIG. 1 ; when the display direction of the target application interface is horizontal display, the display direction of the paper texture is horizontal display, and the horizontally displayed paper texture can be as shown in FIG. Figure 6 As shown in P2.
[0076] In a feasible implementation, the target paper texture display direction may be adjusted to be consistent with the display direction of the target application interface through the following steps C1-C2:
[0077] C1. Obtain the texture bitmap corresponding to the target paper texture.
[0078] Here, the texture bitmap corresponding to the target paper texture stores the pixel information of each pixel in the paper texture in an m*n array, and the pixel information of each pixel includes channel values of multiple channels.
[0079] C2. Rotate the texture bitmap corresponding to the target paper texture so that the display direction of the texture bitmap corresponding to the target paper texture is consistent with the display direction of the target application interface.
[0080] Here, the texture bitmap corresponding to the target paper texture and the target application interface may be rotated at the same angle, so that the display direction of the texture bitmap corresponding to the target paper texture is consistent with the display direction of the target application interface.
[0081] By rotating the texture bitmap corresponding to the paper texture, the display direction of the paper texture is made consistent with the display direction of the application interface, and the implementation method is simple and convenient.
[0082] S305, setting the background texture of the target application interface as the target paper texture, displaying the target application interface, and the depth of the target paper texture as the target texture depth.
[0083] Here, the specific implementation of step S305 can refer to the description of the aforementioned step S203, which will not be repeated here.
[0084] In the above Figure 4 In the corresponding technical solution, after obtaining the target application interface to be displayed and determining the target texture depth corresponding to the target application interface, the display direction of the paper texture is first adjusted to be consistent with the display direction of the target application interface, and then the background texture of the target application interface is set to the paper texture of the target texture depth, and the target application interface is displayed, which can ensure the consistency of the paper texture display.
[0085] In some possible cases, the paper texture configuration data in the paper texture configuration dataset may also be updated.
[0086] The first case: the paper texture configuration data in the paper texture configuration set can be updated through the background.
[0087] Above Figure 2 or Figure 3 The corresponding technical solution may also include the following steps D1-D2:
[0088] D1. Receive texture configuration update messages issued by the paper texture management platform.
[0089] Here, the texture configuration update message is used to indicate that the paper texture configuration data in the paper texture management platform has changed, and the paper texture configuration update message may carry the changed paper texture configuration data.
[0090] D2. Update the paper texture configuration set according to the texture configuration update message.
[0091] Here, after receiving the texture configuration update message, the texture configuration management module in the target display device updates the paper texture configuration set stored locally in the target display device according to the transformed paper texture configuration data carried in the paper texture configuration message. The texture configuration management module in the target display device may also broadcast the texture configuration update message in the target display device, and after receiving the texture configuration update message, the paper-like management module in the target display device may re-determine the target texture depth corresponding to the target application interface according to the updated paper texture configuration set.
[0092] The second case: the user can update the paper texture configuration data in the paper texture configuration set. Figure 2 or Figure 3 The corresponding technical solution may also include the following steps E1-E2:
[0093] E1. Receive texture configuration user instructions.
[0094] Here, the texture configuration user instruction is triggered by the user, and the texture configuration user instruction can be obtained through the paper management module.
[0095] E2. Update the paper texture configuration set according to the texture configuration instruction.
[0096] Here, after receiving the texture configuration instruction, the paper-like management module may send the paper texture configuration data set by the user to the texture configuration management module, and the texture configuration management module updates the local paper texture configuration set according to the paper texture configuration data set by the user.
[0097] It should be understood that after updating the paper texture configuration set according to the above two situations, the paper texture configuration data changes. When the corresponding application interface (referring to the application interface in the application scenario where the texture configuration data changes) is displayed, the background texture of the application interface will also change accordingly. For example, the paper texture type corresponding to the target application interface is originally kraft paper. When the target application interface is displayed, the target paper texture is Figure 7 As shown in P3 in FIG. 1 , after the paper texture configuration set is updated, the paper texture type corresponding to the target application interface is changed to newspaper. When the target application interface is displayed, the target paper texture is as follows: Figure 7 As shown in P4.
[0098] The method of the present application is introduced above, and the device of the present application is introduced below.
[0099] See also Figure 8 , Figure 8 Schematic diagram of the structure of an application interface display device provided in an embodiment of the present application. Figure 8 As shown, the application interface display device 40 includes:
[0100] The interface acquisition module 401 is used to acquire the target application interface to be displayed;
[0101] A depth determination module 402, used to determine a target texture depth corresponding to the target application interface;
[0102] The interface display module 403 is used to set the background texture of the target application interface as the target paper texture, and display the target application interface. The depth of the target paper texture is the target texture depth.
[0103] In one possible design, the depth determination module 402 is specifically used to: obtain a target scene identifier, where the target scene identifier is a scene identifier of an application scene to which the target application interface belongs; query a paper texture depth corresponding to the target scene identifier in a paper texture configuration set, and determine the paper texture depth corresponding to the target scene identifier as the target texture depth, where the paper texture configuration set includes paper texture configuration data pre-configured for different application scenarios, and the paper texture configuration data includes paper texture depth.
[0104] In a possible design, the depth determination module 402 is specifically used for: if the paper texture depth corresponding to the target scene identifier is not found in the paper texture configuration set, determining the preset paper texture depth as the target texture depth.
[0105] In a possible design, the paper texture configuration data also includes a paper texture type; the above-mentioned interface display module 403 is also used to: in the paper texture configuration set, query the target paper texture type corresponding to the target scene identifier; and determine the paper texture corresponding to the target paper texture type as the target paper texture.
[0106] In a possible design, the application interface display device 40 further includes a texture configuration update module 404 for receiving a texture configuration update message issued by a paper texture management platform; and updating the paper texture configuration set according to the texture configuration update message.
[0107] In a possible design, the application interface display device 40 further includes a texture configuration update module 404 for receiving a texture configuration user instruction; updating the paper texture configuration set according to the texture configuration user instruction;
[0108] In a possible design, the interface display module 403 is further used to: obtain the display direction of the target application interface; and adjust the display direction of the target paper texture to be consistent with the display direction of the target application interface.
[0109] In a possible design, the interface display module 403 is specifically used to: obtain a texture bitmap corresponding to the target paper texture; rotate the texture bitmap so that a display direction of the texture bitmap is consistent with a display direction of the target application interface.
[0110] It should be noted that Figure 8 For the contents not mentioned in the corresponding embodiments, please refer to the description of the aforementioned method embodiments, which will not be repeated here.
[0111] The above-mentioned device, after acquiring the target application interface to be displayed, first determines the target texture depth corresponding to the target application interface; then sets the background texture of the target application interface to the target paper texture with a texture depth of the target texture depth, and displays the target application interface; and realizes setting the depth of the paper texture according to the application interface, so that the depth of the paper texture matches the user's application scenario, thereby achieving the purpose of dynamically adjusting the paper-like display effect, and being able to provide users with a more comfortable interface display effect and enhance the user experience.
[0112] See also Fig. 9 , Fig. 9 is a schematic diagram of the structure of a display device provided in an embodiment of the present application, wherein the display device 50 includes a processor 501, a memory 502, and a display panel 503. The memory 502 and the display panel 503 are connected to the processor 501, for example, via a bus.
[0113] The processor 501 is configured to support the display device 50 to perform the corresponding functions of the method in the above method embodiment. The processor 501 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0114] The memory 502 is used to store program codes, etc. The memory 502 may include a volatile memory (VM), such as a random access memory (RAM); the memory 502 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 502 may also include a combination of the above-mentioned types of memories.
[0115] The display panel 503 is used to display the application interface.
[0116] The processor 501 may call the program code to perform the following operations:
[0117] Get the target application interface to be displayed;
[0118] Determining a target texture depth corresponding to the target application interface;
[0119] The background texture of the target application interface is set as the target paper texture, and the target application interface is displayed, and the depth of the target paper texture is the target texture depth.
[0120] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.
[0121] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0122] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A method for displaying an application interface, characterized in that: include: Get the target application interface to be displayed; Determining a target texture depth corresponding to the target application interface; The background texture of the target application interface is set as the target paper texture, and the target application interface is displayed, and the depth of the target paper texture is the target texture depth.
2. The method according to claim 1, characterized in that The determining a target texture depth corresponding to the target application interface includes: Obtaining a target scene identifier, where the target scene identifier is a scene identifier of an application scene to which the target application interface belongs; In a paper texture configuration set, a paper texture depth corresponding to the target scene identifier is queried, and the paper texture depth corresponding to the target scene identifier is determined as a target texture depth. The paper texture configuration set includes paper texture configuration data pre-configured for different application scenarios, and the paper texture configuration data includes paper texture depth.
3. The method according to claim 2, characterized in that The step of obtaining the target paper-like texture depth corresponding to the target application interface further includes: If the paper texture depth corresponding to the target scene identifier is not found in the paper texture configuration set, the preset paper texture depth is determined as the target texture depth.
4. The method according to claim 2, characterized in that: The paper texture configuration data also includes paper texture type; Before setting the background texture of the target application interface to the target paper texture, the method further includes: In the paper texture configuration set, query the target paper texture type corresponding to the target scene identifier; The paper texture corresponding to the target paper texture type is determined as the target paper texture.
5. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: Receive texture configuration update messages issued by the paper texture management platform; The paper texture configuration set is updated according to the texture configuration update message.
6. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: Receive texture configuration user instructions; The paper texture configuration set is updated according to the texture configuration user instruction.
7. The method according to claim 1, characterized in that Before setting the background texture of the target application interface to the target paper texture, the method further includes: Obtaining the display direction of the target application interface; The display direction of the target paper texture is adjusted to be consistent with the display direction of the target application interface.
8. The method according to claim 7, characterized in that The adjusting the display direction of the target paper texture to be consistent with the display direction of the target application interface includes: Obtaining a texture bitmap corresponding to the target paper texture; The texture bitmap is rotated so that a display direction of the texture bitmap is consistent with a display direction of the target application interface.
9. An application interface display device, characterized in that: include: An interface acquisition module, used to acquire the target application interface to be displayed; A depth determination module, used to determine a target texture depth corresponding to the target application interface; The interface display module is used to set the background texture of the target application interface as the target paper texture, and display the target application interface, wherein the depth of the target paper texture is the target texture depth.
10. A display device, characterized in that: The device comprises a memory, a processor and a display panel, wherein the memory and the display panel are connected to the processor, the display panel is used to display an application interface, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the display device implements the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 8.