Display method, electronic equipment, storage medium and chip

The first application determines and generates instruction information based on the business scenario to control the display or hiding of the Any Door application, which solves the problem of the Any Door application not being able to be displayed flexibly in traditional electronic devices and improves the user experience.

CN121807414APending Publication Date: 2026-04-07HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The "anywhere door" application in traditional electronic devices cannot flexibly show or hide according to business scenarios, resulting in a poor user experience.

Method used

The first application determines whether the Any Door needs to be displayed based on the business scenario, and generates an instruction message to send to the Any Door application to control its display or hiding.

Benefits of technology

It enables flexible content display based on the current business scenario, meeting user needs and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121807414A_ABST
    Figure CN121807414A_ABST
Patent Text Reader

Abstract

The invention discloses a display method, electronic equipment, a storage medium and a chip. The method is applied to the electronic equipment comprising a first application and any door application, a first interface of the first application comprises first content, and the method comprises the following steps: in response to detection of a first trigger operation on the first content, the first application judges whether any door provided by any door application needs to be displayed according to a service scene, and generates first indication information; the first application sends first indication information to any door application, so that any door application displays any door based on the first indication information under the condition that the first indication information is used for indicating that any door needs to be displayed, or when the first indication information is used for indicating that any door does not need to be displayed, the any door application does not display any door based on the first indication information. According to the method, the content can be flexibly displayed (for example, any door is displayed or not displayed) according to the current service scene, the user requirement is better met, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic devices, and more particularly, to a display method, an electronic device, a storage medium, and a chip. BACKGROUND

[0002] With the continuous development of terminal technology, users have more and more functional requirements for mobile terminals. In order to improve the convenience of use for users, some electronic devices support an arbitrary door, that is, the arbitrary door can enable the services provided by the electronic device to achieve one-step direct access across applications and devices, smart flow, so as to improve the user experience. For example, a user long-presses the screen content of an electronic device, and drags it gently to the edge of the screen, to directly access a quick service or an application, such as a car navigation, a print collection, a search sharing, a movie watching, and shopping.

[0003] In the conventional technology, a list recording a plurality of application package names is stored in an arbitrary door application in an electronic device, that is, as long as the package name of an application is recorded in the list, the arbitrary door cannot be displayed in the interface of the application, which leads to that the display method is not flexible enough and is difficult to meet the use requirements of users in different scenarios, resulting in poor user experience. SUMMARY

[0004] The present application provides a display method, an electronic device, a storage medium, and a chip, which can flexibly display content according to a current business scenario, better meet user requirements, and improve user experience.

[0005] In a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device including a first application and an arbitrary door application, a first interface of the first application including first content, and includes: in response to detecting a first trigger operation on the first content, the first application determines whether the arbitrary door application needs to display an arbitrary door according to a business scenario, and generates first indication information, wherein the arbitrary door is used to provide at least one service or application; the first application sends the first indication information to the arbitrary door application, so that the arbitrary door application displays the arbitrary door based on the first indication information in a case where the first indication information is used to indicate that the arbitrary door needs to be displayed, or the arbitrary door application does not display the arbitrary door based on the first indication information in a case where the first indication information is used to indicate that the arbitrary door does not need to be displayed.

[0006] The first application determines that the arbitrary door does not need to be displayed, which can also be understood as that the first application determines that the arbitrary door needs to be shielded, at this time, the first indication information is used to indicate that the arbitrary door needs to be shielded.

[0007] The first application determines that the arbitrary door needs to be displayed, which can also be understood as that the first application determines that the arbitrary door does not need to be shielded, at this time, the first indication information is used to indicate that the arbitrary door does not need to be shielded.

[0008] In the technical solution, in a case where a first triggering operation on first content in a first interface of a first application is detected, the first application can determine whether an arbitrary door needs to be displayed according to a business scenario, and send information (that is, first indication information) indicating whether the arbitrary door needs to be displayed to the arbitrary door application. Then, the arbitrary door application can display or not display the arbitrary door according to the information, so as to achieve the purpose of determining whether the arbitrary door needs to be displayed according to the business scenario. The method can flexibly display content according to the current business scenario, better meet user demand, and improve user experience.

[0009] In a possible implementation, in a case where the first application determines that the arbitrary door does not need to be displayed according to the business scenario, the first indication information includes a first field, where the first field is used to indicate that the arbitrary door does not need to be displayed; and in a case where the first application determines that the arbitrary door needs to be displayed according to the business scenario, the first indication information does not include the first field.

[0010] In the technical solution, whether the first indication information sent by the first application to the arbitrary door application includes the first field is used to indicate whether the arbitrary door application displays the arbitrary door, and the implementation process is relatively simple, which is conducive to improving display efficiency.

[0011] In another possible implementation, the first indication information includes a second field, where in a case where the first application determines that the arbitrary door needs to be displayed according to the business scenario, the second field has a first value, and the first value is used to indicate that the arbitrary door needs to be displayed; and in a case where the first application determines that the arbitrary door does not need to be displayed according to the business scenario, the second field has a second value, and the second value is used to indicate that the arbitrary door does not need to be displayed, and the first value and the second value are different.

[0012] In the technical solution, the value of the second field included in the first indication information sent by the first application to the arbitrary door application is used to indicate whether the arbitrary door application displays the arbitrary door, and the implementation process is relatively simple, which is conducive to improving display efficiency.

[0013] In a possible implementation, the first application is a resource library application, the first interface includes application icons of each application of remaining applications except the first application and the arbitrary door application in all applications installed in the electronic device, and the first content includes an application icon of a second application, where the second application is one of the remaining applications.

[0014] Optionally, the first interface can be displayed through a negative one screen of the electronic device.

[0015] In the technical solution, in a case where a first triggering operation on an application icon of a second application in a first interface of a resource library application is detected, the resource library application can determine whether an arbitrary door needs to be displayed according to a business scenario, and send information (that is, first indication information) indicating whether the arbitrary door needs to be displayed to the arbitrary door application. Then, the arbitrary door application can display or not display the arbitrary door according to the information, thereby achieving the purpose of determining whether the arbitrary door needs to be displayed according to the business scenario. The method can flexibly display content according to the current business scenario, better meet the user demand, and improve the user experience.

[0016] In another possible implementation, the first application determines whether the arbitrary door provided by the arbitrary door application needs to be displayed according to the business scenario, including: in a case where the first application determines that the desktop interface of the electronic device includes the application icon of the second application, the first application determines that the arbitrary door needs to be displayed; and in a case where the first application determines that the desktop interface does not include the application icon of the second application, the first application determines that the arbitrary door does not need to be displayed.

[0017] In the technical solution, the first application can determine whether the arbitrary door needs to be displayed based on whether the icon of the application currently displayed in the desktop interface includes the icon of the application on which the current first triggering operation is performed, so as to meet the demand of the user for adding the icon of the application that is not displayed in the desktop interface and is installed in the electronic device in the desktop interface, thereby better meeting the user.

[0018] In another possible implementation, the first application determines whether the arbitrary door provided by the arbitrary door application needs to be displayed according to the business scenario, including: in a case where the first application determines that the second application is an application of a first preset type, the first application determines that the arbitrary door needs to be displayed; and in a case where the first application determines that the second application is not an application of the first preset type, the first application determines that the arbitrary door does not need to be displayed.

[0019] In the technical solution, the first application can determine whether the arbitrary door needs to be displayed according to whether the second application as the first content is an application of the first preset type, thereby meeting the display demand of the user in this business scenario, that is, the demand of displaying the arbitrary door when the second application as the first content is an application of the first preset type, and the demand of not displaying the arbitrary door when the second application as the first content is not an application of the first preset type.

[0020] In another possible implementation, the first application is an application displayed in a desktop interface of the electronic device, the first interface is an application interface of the first application, and the first content includes at least one content displayed in the application interface of the first application, where the at least one content is one or more of text content, picture content, or video content.

[0021] In the technical solution, in a case where a first triggering operation on text content, picture content or video content in a first interface of a first application is detected, the first application itself can determine whether an arbitrary door needs to be displayed according to a business scenario, and send information (i.e., first indication information) indicating whether the arbitrary door needs to be displayed to an arbitrary door application. Then, the arbitrary door application can display or not display the arbitrary door according to the information, thereby achieving the purpose of determining whether the arbitrary door needs to be displayed according to the business scenario. The method can flexibly display content according to the current business scenario, better meet user needs, and improve user experience.

[0022] In another possible implementation, the first application determines whether the arbitrary door provided by the arbitrary door application needs to be displayed according to the business scenario, including: in a case where the first application determines that the first content is content of a second preset type, the first application determines that the arbitrary door needs to be displayed; and in a case where the first application determines that the first content is not content of the second preset type, the first application determines that the arbitrary door does not need to be displayed.

[0023] In the technical solution, the first application can determine whether the arbitrary door needs to be displayed according to whether the first content displayed by the first interface of the first application is content of a second preset type, thereby meeting user needs for display in this business scenario, i.e., the need to display the arbitrary door when the first content is of the second preset type, and the need not to display the arbitrary door when the first content is not of the second preset type.

[0024] In another possible implementation, the application program framework layer of the electronic device includes a drag framework module, and the first application sends first indication information to the arbitrary door application, so that the arbitrary door application displays the arbitrary door based on the first indication information in a case where the first indication information indicates that the arbitrary door needs to be displayed, or the arbitrary door application does not display the arbitrary door based on the first indication information in a case where the first indication information indicates that the arbitrary door does not need to be displayed, including: the first application sends second indication information to the drag framework module, where the second indication information indicates that the arbitrary door needs to be displayed or does not need to be displayed; the drag framework module generates the first indication information according to the second indication information, and sends the first indication information to the arbitrary door application, where the type of the first indication information is different from the type of the second indication information; the arbitrary door application displays a hot area of the arbitrary door in both side regions of a second interface according to the first indication information, where the second interface is an interface displayed by the electronic device in response to detection of a first triggering operation on the first content, the second interface is the first interface, a desktop interface of the electronic device or a partial interface of the first interface, and the hot area of the arbitrary door is used to trigger the arbitrary door; in response to detection of an operation of dragging the first content to the hot area of the arbitrary door in any one of the two side regions, the arbitrary door application opens the arbitrary door and displays the arbitrary door.

[0025] In a second aspect, an embodiment of the present application provides a display device, which comprises a unit for executing any of the display methods in the first aspect.

[0026] In a third aspect, an electronic device is provided, which comprises a unit for executing any of the display methods in the first aspect. The electronic device can be a terminal device or a chip in the terminal device. The electronic device can comprise an input unit and a processing unit.

[0027] When the electronic device is a terminal device, the processing unit can be a processor and the input unit can be a communication interface. The terminal device can further comprise a memory for storing computer program code, which, when executed by the processor, causes the terminal device to execute any of the display methods in the first aspect.

[0028] When the electronic device is a chip in a terminal device, the processing unit can be a processing unit inside the chip and the input unit can be an output interface, a pin or a circuit, etc. The chip can further comprise a memory, which can be a memory inside the chip (e.g., a register, a cache, etc.) or a memory outside the chip (e.g., a read-only memory, a random access memory, etc.). The memory is used to store computer program code, which, when executed by the processor, causes the chip to execute any of the display methods in the first aspect.

[0029] In a possible implementation, the memory is used to store computer program code, and the processor is used to execute the computer program code stored in the memory, which, when executed, causes the processor to execute any of the display methods in the first aspect.

[0030] In a fourth aspect, a computer readable storage medium is provided, which stores computer program code, which, when executed by an electronic device, causes the electronic device to execute any of the display methods in the first aspect.

[0031] In a fifth aspect, a computer program product is provided, which comprises computer program code, which, when executed by an electronic device, causes the electronic device to execute any of the display methods in the first aspect.

[0032] It can be understood that the beneficial effects of the second aspect to the fifth aspect described above can be referred to the related description of the first aspect, which will not be repeated here.

[0033] It should be understood that the description of technical features, technical solutions, advantages or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it can be understood that the description of a feature or advantage means that the specific technical feature, technical solution or advantage is included in at least one embodiment. Therefore, the description of technical features, technical solutions or advantages in this specification does not necessarily refer to the same embodiment. Further, the technical features, technical solutions and advantages described in this embodiment can be combined in any appropriate manner. Those skilled in the art will understand that the embodiments can be implemented without one or more specific technical features, technical solutions or advantages of the specific embodiments. In other embodiments, additional technical features and advantages can be identified in specific embodiments that do not embody all embodiments. BRIEF DESCRIPTION OF DRAWINGS

[0034] FIG. 1 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.

[0035] FIG. 2 is a schematic diagram of a software system of an electronic device provided by an embodiment of the present application.

[0036] FIG. 3A is a schematic diagram of a desktop interface of an electronic device provided by an embodiment of the present application.

[0037] FIG. 3B is a schematic diagram of a user interface of a resource library in an electronic device provided by an embodiment of the present application.

[0038] FIG. 4 is a schematic diagram of a user interface of a resource library in an electronic device provided by an embodiment of the present application.

[0039] FIG. 5 is a schematic diagram of a user interface of a resource library in an electronic device provided by an embodiment of the present application.

[0040] FIG. 6 is a schematic diagram of a user interface of a resource library in an electronic device provided by an embodiment of the present application.

[0041] FIG. 7 is a schematic diagram of a user interface of a resource library in an electronic device provided by an embodiment of the present application.

[0042] FIG. 8 is a schematic diagram of a display method provided by an embodiment of the present application.

[0043] FIG. 9 is a schematic diagram of a display method provided by an embodiment of the present application.

[0044] FIG. 10 is a schematic diagram of a display method provided by an embodiment of the present application. DETAILED DESCRIPTION

[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0046] The terms "first", "second", and the like in the description of the specification and claims and the drawings are used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the definition of "first", "second" features can explicitly or implicitly include one or more features.

[0047] In the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design presented as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or advantageous than other embodiments or design solutions. Rather, the use of "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0048] At present, any door provided by an electronic device can be based on intent recognition, so that the electronic device can provide services to achieve one-step direct access across applications and devices, intelligent flow, to improve user experience. For example, long-press the screen content of the electronic device, and gently drag to the edge of the screen, to directly access the shortcut service or application, such as taking a taxi navigation, printing collection, search sharing, watching movies shopping, etc.

[0049] In the prior art, a list recording package names of multiple applications is stored in an arbitrary door application in an electronic device, that is, in different business scenarios, the interface of an application cannot display (i.e., call out) the arbitrary door as long as the package name of the application is recorded in the list stored in the arbitrary door application. For example, in the case that a user performs a long press operation on the content in the interface of an application, the arbitrary door application determines whether the arbitrary door needs to be displayed (i.e., called out) based on the list. Specifically, in the case that the package name of application A is recorded in the list stored in the arbitrary door application in the electronic device and the user performs a long press operation on the content in the interface of application A, the interface of application A displayed by the electronic device does not display the arbitrary door. However, the above method has the following problems: on the one hand, for the package name of an application of the electronic device that is not recorded in the list, in some business scenarios, the user expects the electronic device to display the arbitrary door, but the electronic device displays the arbitrary door because the package name of the application is not recorded in the list, which does not meet the user's use demand and leads to poor user experience. On the other hand, for the package name of an application of the electronic device that is recorded in the list, in some business scenarios, the user expects the electronic device to display the arbitrary door, but the electronic device does not display the arbitrary door because the package name of the application is recorded in the list, which does not meet the user's use demand and leads to poor user experience.

[0050] Therefore, the present application provides a display method, an electronic device, a storage medium and a chip. The method is applied to an electronic device including a first application and an arbitrary door application, and a first interface of the first application includes first content. The method includes: in response to detecting a first trigger operation on the first content, the first application determines whether the arbitrary door provided by the arbitrary door application needs to be displayed according to a business scenario, and generates first indication information; and the first application sends the first indication information to the arbitrary door application, so that the arbitrary door application displays the arbitrary door based on the first indication information in the case that the first indication information indicates that the arbitrary door needs to be displayed, or the arbitrary door application does not display the arbitrary door based on the first indication information in the case that the first indication information indicates that the arbitrary door does not need to be displayed. The method can flexibly display content (for example, display the arbitrary door or not display the arbitrary door) according to the current business scenario, better meet the user's demand, and improve the user experience.

[0051] The display method provided by the embodiments of the present application can be applied to an electronic device. The electronic device can also be referred to as a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), an electronic device, and the like. The electronic device can be a mobile phone, a tablet computer, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, a smart television, a wireless terminal in a smart home, and the like. The mobile phone can include a foldable screen mobile phone, a straight mobile phone, and the like. The embodiments of the present application do not limit the specific device form of the electronic device.

[0052] Exemplarily, FIG. 1 is a schematic diagram of a hardware structure of an electronic device provided by the embodiments of the present application. Referring to FIG. 1 The electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a loudspeaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, and the like. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.

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

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

[0055] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions.

[0056] The memory can also be provided in the processor 110, used to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can be directly called from the memory. Avoiding repeated access, reducing the waiting time of the processor 110, thus improving the efficiency of the system.

[0057] For example, in some embodiments, the processor 110 is configured to: in response to detecting that the first trigger operation of the first interface of the first application includes the first content, determine whether the arbitrary door needs to be displayed according to the business scenario; and send first indication information to the arbitrary door application, so that the arbitrary door application displays the arbitrary door based on the first indication information in the case where the first indication information indicates that the arbitrary door needs to be displayed, or the arbitrary door application does not display the arbitrary door based on the first indication information in the case where the first indication information indicates that the arbitrary door does not need to be displayed. This method can flexibly display content (for example, display the arbitrary door or do not display the arbitrary door) according to the current business scenario, better meet the user demand, and improve the user experience.

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

[0059] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a limitation on the structure of the electronic device 100. In some other embodiments of the present application, the electronic device 100 can also use different interface connection modes or a combination of multiple interface connection modes in the above embodiments.

[0060] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 can charge the battery 142 and also supply power to the electronic device 100 through the power management module 141.

[0061] The power management module 141 is configured to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160, etc. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be arranged in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be arranged in the same device.

[0062] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc.

[0063] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied on the electronic device 100. The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied on the electronic device 100.

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

[0065] The display screen 194 is used to display application interfaces, images, videos, etc. For example, the application interface displayed by the display screen 194 can include but is not limited to FIG. 3A 、 FIG. 3B 、 FIG. 4 、 FIG. 5 、 FIG. 6 and FIG. 7The user interface shown. The display screen 194 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), etc. In some embodiments, the electronic device 100 can include 1 or N display screens 194, N being an integer greater than 1.

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

[0067] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize the algorithm of the image noise, brightness, and skin color. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be arranged in the camera 193.

[0068] The camera 193 is used to capture still images or videos. Objects generate optical images through lenses and project them onto photosensitive elements. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard RGB, YUV, etc. format image signal. In some embodiments, the electronic device 100 can include 1 or N cameras 193, N being an integer greater than 1.

[0069] The digital signal processor is used to process digital signals, which can process not only digital image signals but also other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0070] The video codec is used to compress or decompress digital video. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0071] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize data storage functions. For example, music, video, etc. files are saved in the external memory card.

[0072] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created by the electronic device 100 during use (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0073] The electronic device 100 can realize audio functions, such as music playing, recording, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc.

[0074] The pressure sensor 180A is used to sense a pressure signal, which can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be arranged on the display screen 194. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. For example, taking a mobile phone as an example, when a user touches the display screen 194 with a finger, the pressure sensor 180A detects the intensity of the touch operation, and the electronic device 100 adjusts the size of the icon according to the intensity of the touch operation. FIG. 3A FIG. 3A ​In the case that the icon 302a1 of the settings application in the interface 302 of the mobile phone shown in (2) of FIG. 1 is executed with a touch operation, the touch sensor in the mobile phone can detect the pressure intensity of the touch operation. The electronic device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold acts on the short message application icon, an instruction of viewing a short message is executed; when a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction of creating a new short message is executed.

[0075] The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch panel". The touch sensor 180K is used to detect a touch operation acting on or near it. The touch sensor 180K can pass the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, which is different from the position where the display screen 194 is located. For example, taking the mobile phone shown in FIG. 1 as an example, the touch sensor 180K can be disposed on the surface of the mobile phone. FIG. 3A In the case that the icon 302a1 of the settings application in the interface 302 of the mobile phone shown in (2) of FIG. 1 is executed with a touch operation, the touch sensor in the mobile phone can detect the pressure intensity of the touch operation. FIG. 3A In the case that the icon 302a1 of the settings application in the interface 302 of the mobile phone shown in (2) of FIG. 1 is executed with a touch operation, the touch sensor in the mobile phone can detect the pressure intensity of the touch operation.

[0076] The hardware system of the electronic device 100 is described in detail above, and the software system of the electronic device 100 is introduced below. The software system can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The software system of the electronic device 100 is exemplarily described taking an Android system with a layered architecture as an example.

[0077] Exemplarily, FIG. 2 is a schematic diagram of a software system of an electronic device provided by an embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some implementations, the software architecture of the electronic device 100 can be divided into five layers, namely FIG. 2 The application program layer 210, the application program framework (FWK) layer 220, the core library layer 230, and the kernel layer 240 shown in FIG. 2.

[0078] The application program layer 210 can include a plurality of application programs. Referring to FIG. 2, the application program layer 210 includes a short message application 210a, a browser application 210b, a settings application 210c, and a camera application 210d.FIG. 2 The application layer 210 can include a first application and an arbitrary gate application. The first application and the arbitrary gate application can be two different applications. In an embodiment of the present application, the first application is not specifically limited and can be set according to actual conditions. For example, the first application can be a third-party application or a system application. For example, the first application can be, but is not limited to, a resource library application, a gallery application, a chat application, or a shopping application.

[0079] Optionally, compared with the applications shown in the application layer 210, the application layer 210 can further include a larger number of applications, for example, the application layer 210 can further include a camera, a map, a calendar, music, a call, navigation, Bluetooth, a video, and the like. FIG. 2

[0080] Each of the above-mentioned applications can include a more specific function module. For example, the camera application can include a photographing module for executing a photographing instruction.

[0081] Each of the above-mentioned applications can be used to generate application data. For example, the gallery application is used to generate photo data.

[0082] The application framework layer 220 provides an application programming interface (API) and a programming framework for the application layer. The application framework layer 220 includes some pre-defined functions.

[0083] Referring to FIG. 2 The application framework layer 220 can include a window manager and a view framework. The window manager provides a window manager service (WMS). The WMS can be used for window management, window animation management, surface management, and as a relay station of an input system. The WMS can create and manage windows. The WMS is a service provided by the window manager. The window manager can also obtain a display screen size, determine whether there is a status bar, a lock screen, and a screen capture. The WMS can also be referred to as a window manager, a window management module, or a window service module, and the like. Referring to FIG. 2 The WMS can include a drag-and-drop controller (DragDropController) and a window session (IWindowSession). The DragDropController is used to control the method or step corresponding to the execution of the drag-and-drop event. The IWindowSession is used as a channel for passing data and is used to pass data sent by the first application to the context of the first application.

[0084] ​Optionally, the WMS can further include a DragState, a SurfaceControl.Transaction class, and an extended drag function class. The DragState is used to save information during the drag process, including but not limited to a drag event, a state of whether being dragged, and the like. The SurfaceControl.Transaction class is used to apply parameters of an animation effect (such as a drag animation effect, a release animation effect) of an embodiment of the present application to a created layer.

[0085] Referring to FIG. 2 , the view framework can include a View. The View can contain rich controls and can respond to operation events of a user. When the system interacts with the user, the system delivers the event to the View module, and then the View module makes a corresponding response operation. In another expression, the View is a basic building block of a user interface component, responsible for image interface rendering and event processing. The user can operate the interface through the View module.

[0086] Optionally, the view framework can further include a DragShadowBuilder, a SurfaceControl, a Session, and a ViewRootImpl. The View is a basic element of an interface. The DragShadowBuilder is used to implement creation of a shadow, or in other words, to create a shadow of a View being dragged, that is, a view following the movement of a finger. For example, a native architecture generates a shadow with transparency identical to the original View by default. The SurfaceControl is used to implement creation of a Surface. The Session is used to manage a window session. The ViewRootImpl is a top of a view hierarchy and can be understood as a manager of a root View of all Views in a window. The ViewRootImpl is used to implement a link between the View and the WMS and to control rendering of the window.

[0087] Optionally, in an embodiment of the present application, the above-mentioned drag controller, window session, and View can become a drag framework module or a drag framework.

[0088] Optionally, the above-mentioned application framework layer 220 can further include a view system, which is a user interface system of an Android application. The view system is used to be responsible for displaying a user interface of an application. A developer can use the view system to create various user interfaces, such as buttons, text boxes, drop-down boxes, and the like. For example, the user interface of the application displayed by the view system can be, but is not limited to, a FIG. 3A 、 FIG. 3B 、 FIG. 5 ,FIG. 6 or FIG. 7 the user interface shown.

[0089] Optionally, compared with FIG. 2 The application framework layer 220 shown in the figure contains modules, and the application framework layer 220 can also include a larger number of modules, for example, the application framework layer 220 can also include at least one of the following: a content provider, an input manager, a sensor manager, a notification manager, and an activity manager (AM).

[0090] The content provider is used to store and obtain data, and make the data accessible to the application. The data can include videos, images, audio, dialed and received calls, browsing history and bookmarks, phonebook, etc.

[0091] The input manager can provide an input management service (IMS), which can be used to manage the input of the system, such as touch screen input, key input, sensor input, etc. The IMS takes events from the input device node and distributes them to the appropriate window through interaction with the WMS.

[0092] The sensor manager is used to manage the sensors (such as FIG. 1 Any one of the sensors in the sensor module 180 shown) in the electronic device 100.

[0093] The notification manager enables the application to display notification information in the status bar, which can be used to convey messages of the notification type, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the completion of the download, message reminders, etc. The notification manager can also be a notification in the form of a chart or a scroll bar text appearing in the top status bar of the system, such as a notification of an application running in the background, and can also be a notification in the form of a dialog window appearing on the screen. For example, the text information is prompted in the status bar, a prompt sound is emitted, the electronic device vibrates, the indicator light flashes, etc.

[0094] The activity manager can provide an activity management service (AMS), which can be used for the startup, switching, scheduling of system components (such as activities, services, content providers, broadcast receivers), and the management and scheduling of application processes. The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.

[0095] The core library layer 230 can include a plurality of functional modules, and an Android runtime (Android Runtime). For example, the plurality of functional modules can be but not limited to FIG. 2The surface manager, the media framework, SQLite, libc, and the like are shown.

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

[0097] The core library contains two parts: one part is a function function that a programming language (for example, a java language) needs to call, and the other part is a core library of the Android.

[0098] The application layer 210 and the application framework layer 220 run in the virtual machine. The virtual machine executes the programming files (for example, java files) of the application layer 210 and the application framework layer 220 into binary files. The virtual machine is used to perform functions such as management of the object life cycle, stack management, thread management, management of security and exceptions, and garbage collection.

[0099] The kernel layer 240 is the basis of the Android operating system, and the final functions of the Android operating system are completed through the kernel layer. The kernel layer can contain multiple drivers such as a display driver, a camera driver, and a sensor driver. Each driver is used to abstract hardware to hide specific channels of the hardware, so that the application can access (or call) the hardware. Among them, the display driver is used to drive the display screen to display a preview image or optimize an image, etc. The camera driver is used to drive the image sensor of one or more cameras in the camera to collect images, and is also used to drive the image signal processor to pre-process the images.

[0100] Optionally, FIG. 2 The software system of the electronic device 100 shown can also include a hardware abstraction layer (HAL), which is an interface layer between the operating system kernel and the upper layer software, and its purpose is to abstract hardware. The hardware abstraction layer is an abstract interface of the device kernel driver, which is used to realize the application programming interface for providing access to the underlying device to the higher level Java API framework.

[0101] It should be noted that although the embodiments of the present application are described taking the Android system as an example, the basic principles are also applicable to electronic devices based on iOS or Windows operating systems.

[0102] It should be understood that the above FIG. 2 The software structure block diagram shown is only one example, and other software structures can also be selected, for example, the software structure has a different number of layers, the functional modules have different names and / or placement positions relative to FIG. 2 The software structure of the present application does not limit this. FIG. 2 ​

[0103] The following takes a non-foldable-screen mobile phone as an example, and the FIG. 3A to FIG. 7 The user interface of the electronic device performing the display method provided in the embodiments of the present application is exemplarily described. It should be noted that the execution subject of the display method provided in the embodiments of the present application can be an electronic device, or a functional module and / or functional entity capable of implementing the display method in the electronic device, and the present application can be implemented in a hardware and / or software manner, and the specific implementation can be determined according to actual use requirements, which is not limited in the embodiments of the present application.

[0104] Generally, an electronic device (for example, a mobile phone) with a display screen can display a desktop page, where the desktop page refers to a page that performs a page turning operation in response to a user's sliding operation. The electronic device can have one or more desktop interfaces, which can be displayed to the user through the display screen of the electronic device.

[0105] FIG. 3A FIG. 1 is a schematic diagram of a desktop interface of an electronic device provided in the embodiments of the present application.

[0106] Exemplarily, referring to the display screen of the mobile phone shown in (1) of FIG. 3A , the display screen displays a desktop interface 301, which includes a display area 301a, a display area 301b and a display area 301c. The display area 301a includes a plurality of icons corresponding to a plurality of applications, including an icon of a clock application, an icon of a calendar application, an icon of a weather application, an icon of a file management application, an icon of a gallery application and an icon of a camera application. The display area 301b includes an icon of a contacts application, an icon of a phone application and an icon of a message application. The display area 301c fixedly displays a navigation point 301c, which is used to indicate the positional relationship between the screen in the desktop interface (i.e., the user interface 301) currently displayed by the mobile phone and other screens of the desktop, and is used to indicate that the screen in the desktop interface (i.e., the user interface 301) currently displayed by the mobile phone is located on the first screen of the desktop.

[0107] When a user performs a leftward sliding operation in the desktop interface 301 as shown in (1) of FIG. 3A , the mobile phone can detect the leftward sliding operation, and then the mobile phone can display FIG. 3AThe desktop interface 302 includes a display area 302a, a display area 302b and a display area 302c. The display area 302a includes a plurality of icons corresponding to a plurality of applications respectively, i.e., an icon of a browser application, an icon of a memo application, an icon of a voice recording application, an icon of a video application, an icon of a mail application, an icon of a calculator application and an icon of a setting application 302a1. The display area 302b displays the same content as the display area 301b, which will not be described herein again. The display area 302c fixedly displays a navigation point 302c. The navigation point 302c is used to indicate the positional relationship between the screen in the desktop interface (i.e., the user interface 301) currently displayed by the mobile phone and other screens of the desktop, and is used to indicate that the screen in the desktop interface (i.e., the user interface 301) currently displayed by the mobile phone is the second screen of the desktop.

[0108] It can be understood that the specific content displayed on the first screen and the second screen is not limited in the embodiments of the present application. The wallpaper displayed on the first screen and the second screen can be consistent.

[0109] Optionally, the desktop of the mobile phone can further display more desktop interfaces in addition to the first screen and the second screen. The mobile phone can view the more desktop interfaces based on the leftward or rightward sliding operation of the user, which is not limited in the embodiments of the present application.

[0110] It should be understood that the above FIG. 3A The above FIG. 3A The desktop interface shown in the above The desktop interface shown in the above

[0111] The interface of the resource library application.

[0112] The display method provided in the embodiments of the present application can be applied in a resource library application in an electronic device, but is not limited thereto. The global entry provided by the resource library application can provide the user with efficient and convenient functions such as searching, adding and removing icons of installed applications in the electronic device, and quickly searching and arranging the desktop icons, thereby creating a simple and tidy desktop experience for the user. In order to better understand the display method provided in the embodiments of the present application, next, based on the above FIG. 3A The desktop interface of the mobile phone is taken as an example, and the desktop interface of the resource library switch in the mobile phone and the interface of the resource library application are introduced. It should be understood that when the resource library switch in the mobile phone is in the open state, the user can use the related functions provided by the resource library application through the mobile phone. When the resource library switch in the mobile phone is in the closed state, the user cannot use the related functions provided by the resource library application through the mobile phone.

[0113] In the embodiments of the present application, the user can open the resource library switch through the setting application, so that the resource library switch is in the open state. Referring to (2) of FIG. 3 in the embodiments of the present application, when the user clicks the icon 302a1 of the setting application in the desktop interface 302, the mobile phone can detect the click operation on the icon 302a1, and then the mobile phone can display the user interface 303 as shown in (2) of FIG. 3 as the interface of the setting application. The user interface 303 includes a plurality of setting options, that is, a WLAN option, a Bluetooth option, a smart interconnection option, a desktop and personalization option 303a, a display and brightness option, and an eye protection mode option. FIG. 3A FIG. 3A In response to the user performing a click operation on the desktop and personalization setting option 303a, the interface displayed by the mobile phone can be the user interface 304 as shown in (2) of FIG. 3, and the user interface 304 includes a plurality of desktop setting options, that is, a desktop layout option, a lock layout option, an automatic alignment option, a resource library option 304a, and a negative one screen option. The negative one screen option indicates that the negative one screen switch is in the open state, that is, the negative one screen is in the open state, that is, the mobile phone can display the negative one screen.

[0114] In response to the user performing a click operation on the resource library option 304a included in the user interface 304, the mobile phone can display the user interface 305 as shown in (3) of FIG. 3, and the user interface 305 includes a resource library option 305a and a newly downloaded application option. The switch 305a1 in the resource library option 305 is in the open state of the resource library switch. After the mobile phone detects the trigger operation of the user for exiting the user interface 305, the mobile phone can display the user interface 306 as shown in (4) of FIG. 3. It should be noted that the user interface 306 is the interface of the resource library application. FIG. 3B

[0115] FIG. 3B FIG. 3B FIG. 3A ​​​​​The illustrated desktop interface is the interface in which the resource library switch is in the closed state, and in the case where the resource library switch is in the open state, FIG. 3A The display area 302c in the user interface 302 illustrated in (2) of FIG. 3B The search area 306b in the user interface 306 illustrated in (4) of

[0116] In the case where the display screen of the mobile phone displays the user interface 306 illustrated in (4) of FIG. 3B In response to the upward swiping operation of the user interface 306 by the user, the mobile phone can display the interface of the resource library application, which can include the icons of all the applications installed in the mobile phone.

[0117] In one example, the interface of the resource library application in the mobile phone in which the resource library application is installed can be displayed on the minus one screen, and in the desktop interface of the mobile phone, there is no icon of the resource library application, therefore, in the interface of the resource library application, the icons of each of all the applications installed in the mobile phone except the resource library application can be displayed.

[0118] Optionally, in the interface of the resource library application, the icons of the plurality of applications installed in the mobile phone are displayed in the form of a plurality of folders, and the plurality of folders one-to-one correspond to a plurality of types, and each folder is used to display the icons of the applications of the corresponding type.

[0119] Optionally, the interface of the resource library application can also display a suggestion folder, which is used to display the icons of the applications installed in the mobile phone and frequently used by the user recently.

[0120] For example, the interface of the resource library application in the above example can be the user interface 307 illustrated in (5) of FIG. 3B The user interface 307 includes a plurality of type folders, i.e., a suggestion folder 307a, a social communication folder 307b, a shooting folder 307c, a tool folder 307d, and an office folder 307e. The suggestion folder 307a includes the icons of the settings application and the video application frequently used by the user recently. The plurality of type folders in the user interface 307 are classified from the plurality of icons included in the display area 301a, the display area 301b, and the display area 302a in the user interface 302 illustrated in (1) of FIG. 3A FIG. 3A The plurality of folders obtained by classifying the plurality of icons included in the display area 301a, the display area 301b, and the display area 302a in the user interface 302 illustrated in (1) of

[0121] In the case where the display screen of the mobile phone displays the user interface 306 illustrated in (4) of FIG. 3B ​In the case of the user interface 306 shown in (4) of the figure, in response to the user's long press operation on the icon 302a1 of the settings application in the user interface 306, the phone can also display as follows: FIG. 3B The user interface 308 is shown in Figure (6). User interface 308 is the negative one screen of the phone. User interface 308 includes an icon 302a1 for the settings application and an editing area 308a located above the icon 302a1. The editing area 308a includes a removal control 308a1, a share control, and application information. Subsequently, in response to the user's click on the icon 302a1 of the settings application in user interface 308, the phone can display the following: FIG. 3B The user interface 310 is shown in Figure (8). The user interface 310 includes a pop-up window 310a, which includes an uninstall control, a remove-from-desktop control 310a1, and a cancel control. The uninstall control triggers the phone to uninstall the Settings app. The remove-from-desktop control 310a1 triggers the phone to delete the Settings app icon 302a1 from the desktop interface 302. The cancel control triggers the phone to cancel the removal of the Settings app, so that the phone does not display the pop-up window 310a. Subsequently, in response to the user's click on the remove-from-desktop control 310a1 of the Settings app in the user interface 310, the user interface 310 displayed on the phone can be updated as follows: FIG. 3B The user interface 311 is shown in (9) of the figure. It should be understood that the difference between the user interface 311 and the desktop interface 302 is that the desktop interface 311 does not include the icon 302a1 of the settings application, while the desktop interface 302 includes the icon 302a1 of the settings application.

[0122] Displayed on the phone screen FIG. 3B In the case of the user interface 306 shown in (4) of the figure, in response to the user's swipe operation to the left on the user interface 306, the mobile phone can display as shown in the figure. FIG. 3B The user interface 309 shown in Figure (7) includes the following content and FIG. 3A The user interface 301 shown in (1) contains the same content, which will not be repeated here.

[0123] It should be understood that the above FIG. 3B The interfaces shown for turning on the library switch on the phone and the library application interface are for illustrative purposes only and do not constitute any limitation. It should also be understood that the above... FIG. 3B This example demonstrates how to enable the app library function on a mobile phone using a toggle switch, but it doesn't specify a particular method. In other words, the app library function can be enabled and disabled in ways other than using a toggle switch.

[0124] In the display method provided in the embodiments of the present application, in response to a triggering operation of a user, the electronic device can determine whether to open an arbitrary door or not open an arbitrary door according to a business scenario. In a case where the electronic device determines to open an arbitrary door, the electronic device can first display an arbitrary door hot area to open the arbitrary door. In a case where the electronic device determines not to open an arbitrary door, the electronic device does not display an arbitrary door hot area, so that an arbitrary door is not opened. Next, the user interface of the electronic device in the two scenarios (i.e., scenario one and scenario two below) is introduced respectively.

[0125] Scenario one: the first application in the electronic device determines a scenario in which an arbitrary door does not need to be opened according to a business scenario.

[0126] Example one: taking the first application as a resource library application, in a case where the resource library application determines not to display an arbitrary door according to a business scenario, the arbitrary door is not displayed.

[0127] For example, referring to FIG. 4 , a user interface 401 illustrated in (1) of FIG. 4 is an interface of a resource library application in a mobile phone, i.e., in response to a user's upward sliding operation on a user interface 309 illustrated in (7) of FIG. 3B , the mobile phone can display a user interface 401 as an interface of the resource library application illustrated in (1) of FIG. 4 . The user interface 401 is similar to the user interface 307 illustrated in (5) of FIG. 3B , and will not be described in detail here.

[0128] In response to a long press operation of a user on an icon 401a1 of a setting application in the user interface 401, after the mobile phone detects the long press operation, the mobile phone can blur other display areas in the user interface 401 except the icon 401a1 of the setting application, highlight the icon of the setting application, and display an editing area of the setting application, i.e., the mobile phone can display a user interface 402 as illustrated in (2) of FIG. 4 . The user interface 402 includes a highlighted icon of the setting application and an editing area 402a of the setting application, and a function area 402 includes an application information control for viewing the setting application and an uninstall application control for uninstalling the setting application. Moreover, in a case where the long press operation acts on the icon of the setting application in the user interface 402 for more than a preset time length, the user interface 402 displayed by the mobile phone can be updated to a user interface 403 as illustrated in (3) of FIG. 4 . The user interface 403 and the user interface 401 are different in that the user interface 403 includes a floating icon 402b of the setting application, and the user interface 401 includes an icon 401a1 of the setting application which is fixed in the user interface, i.e., not floating.

[0129] In response to a user dragging the floating settings application icon 402b downwards in the user interface 403, the phone detects the downward drag and can trigger the resource library application to execute the display method provided in this embodiment, and determine that it is not necessary to display the Any Door. Afterwards, the phone can display as follows: FIG. 4 The user interface 404 is shown in (4) above. It should be understood that the long press operation on the settings application icon in the user interface 402 mentioned above is the drag operation of the drag start operation, that is, the drag start operation of the downward drag operation is the long press operation. At the same time, when the mobile phone detects that the distance between the floating settings application icon 402b in the user interface 403 and the state-activated settings application icon 402b in the user interface 404 meets the preset distance, that is, when the drag distance corresponding to the drag operation performed by the user on the settings application icon 402b in the user interface 403 meets (i.e. equals) the preset drag distance, the user interface 404 displayed by the mobile phone will be updated as follows. FIG. 4 The user interface 405 shown in Figure (5) is the desktop interface displayed after the phone exits the resource library interface. User interface 405 includes display areas 405a, 405b, and 405c. The content displayed in display area 405b includes... FIG. 3A The content displayed in display area 301a shown in Figure (1), and the floating settings application icon 402b, and the content displayed in display area 405b. FIG. 3A The content displayed in display area 301b shown in Figure (1) is the same as that displayed in display area 405c. FIG. 3A The content displayed in the display area 301c shown in Figure (1) is the same as that shown above. For details not elaborated here, please refer to the above text. FIG. 3A The relevant description in Figure (1) is as follows.

[0130] Optionally, the phone displays as follows FIG. 4 In the case of the user interface 405 shown in (5) of the figure, the user can also drag the floating settings application icon 402b in the user interface 405 to place the floating settings application icon 402b on the desktop of the phone according to the user's needs.

[0131] In one example, the phone displays as follows FIG. 4 In the case of the user interface 405 shown in Figure (5), in response to detecting a drag operation where the user drags the floating settings application icon 402b in the user interface 405 to the right side of the phone's display screen, the phone can update the user interface 405 as shown in Figure (5). FIG. 4The user interface 406 is shown in Figure (6). User interface 406 includes display areas 406a, 406b, and 406c. Display area 406a is an updated version of display area 405a, display area 406b is an updated version of display area 405b, and the content of display area 406c is consistent with the content of display area 405c in user interface 405. The black navigation point in display area 406b is used to indicate that display area 406a displays a second screen with a desktop. Display areas 406a and... FIG. 3A The difference between the display area 302a shown in (2) is that the display area 406a displays the floating icon 402b of the settings application, while the display area 302a displays the fixed (i.e., non-floating) icon 302a1 of the settings application.

[0132] Optionally, users can also place the icon 402b of the floating settings application in user interface 406 into a folder on their desktop, according to their needs. See also FIG. 4 In Figure (7), in response to detecting that the user drags the floating settings application icon 402b in the user interface 406 onto the video application icon 406a, the phone creates a folder containing the video application icon 406a, that is, the phone can display as shown in Figure (7). FIG. 4 The folder 407a is shown in (7) of the diagram. Meanwhile, the display area 407b in the user interface 407 is the updated content of the display area 406b in the user interface 406. That is, after a preset time period following the phone's screen switching from the first screen on the desktop to the second screen on the desktop, the phone's screen will update the display area 406b to the display area 407b, and the content of the display area 407b and... FIG. 3B The content of the display area 306b shown in (4) remains consistent and will not be described again here. Afterwards, in response to the user releasing the floating settings application icon 402b in the user interface 407, the phone can display as shown... FIG. 4 The user interface 408 is shown in (8) of the diagram. The user interface 408 includes a folder 408a which is the updated folder 407a. The video application icon 408a2 included in the folder 408a is a scaled-down version of the video application icon 406a in the folder 407a. The settings application icon 408a1 included in the folder 408a is a scaled-down version of the floating settings application icon 402b in the user interface 407, which is fixed (i.e., not floating).

[0133] In another example, the phone displays as follows FIG. 4In the case of the user interface 406 shown in (6) of the figure, in response to the user releasing the floating settings application icon 402b in the user interface 406, the phone can display as shown in the figure. FIG. 4 The user interface 409 is shown in Figure (9). The user interface 409 includes display areas 409a, 409b, and 409c. Display area 409a is an updated version of display area 406a. The difference between display area 409a and display area 406a is that display area 409a includes the icon 401a1 of the settings application, which is fixed to the user interface, while display area 406a includes the floating icon 402b of the settings application. Display area 409b is an updated version of display area 406b. That is, after a preset time period after the phone's display screen switches from the first screen on the desktop to the second screen on the desktop, the phone's display screen will update display area 406b to display area 409b. The content of display area 409c is consistent with the content of display area 406c, and will not be described in detail here.

[0134] It should be understood that the above FIG. 4 This example illustrates how, in response to a user's triggered action on the settings app icon within the resource library app, the resource library app installed on the phone determines whether to display the "Anywhere Door" on the phone's screen based on the business scenario. Optionally, the aforementioned resource library app can be replaced with other apps installed on the phone besides the resource library app, adapting to the above... FIG. 6 The interface of the resource library application shown needs to be replaced with the interface of another application besides the resource library application. The above settings application can also be other applications installed on the phone, such as, but not limited to, gallery applications, shopping applications, or browser applications.

[0135] Example 2: Using the first application as the icon application, if the gallery application determines that it does not need to display the Any Door based on the business scenario, then the Any Door will not be displayed.

[0136] For example, see FIG. 6 As shown, FIG. 6 The user interface 601 shown in (1) includes multiple icons corresponding to multiple applications, including the icon 601a of the gallery application, and the icon of each application is used as the entry point to enter the interface of each application.

[0137] In response to the phone detecting that the user has interacted with the Gallery app icon 601a in the user interface 601, the phone can display the Gallery app interface, that is, the phone can display as shown in the image. FIG. 6The user interface 602 is shown in Figure (2). User interface 602 displays all image materials from the "All Photos" album in the gallery application, and the user selects image 602a. When the user performs a long-press operation on image 602a, the phone detects the long-press operation and triggers the gallery application to execute the display method provided in this embodiment, determining that it is not necessary to display the "any door". Afterwards, the phone can display... FIG. 4 The user interface 603 is shown in (3) of the figure. The user interface 603 includes the floating image 603a corresponding to the image 602a displayed by the user interface 602. At the same time, the arbitrary door hot zone is not displayed on both sides of the user interface 603. The arbitrary door hot zone is used to trigger the arbitrary door.

[0138] It should be understood that the above FIG. 6 and the above FIG. 4 The "Any Door" function on the phone is always enabled. This means that when the "Any Door" function is enabled, the phone can control whether the "Any Door" application displays the "Any Door" hotspot and the "Any Door" on the screen, depending on the business scenario. Alternatively, the phone can control whether the "Any Door" application displays the "Any Door" hotspot and the "Any Door" on the screen, depending on the business scenario. FIG. 6 and the above FIG. 5 The Any Door function on the phone is turned off. That is, when the Any Door function is turned off, the phone cannot control the Any Door application to display the Any Door hotspot and Any Door on the phone's screen.

[0139] Scenario 2: The first application in the electronic device determines the scenario where an arbitrary door needs to be opened based on the business scenario.

[0140] Example 1: Taking the first application as the resource library application, if the resource library application determines that it needs to display any door based on the business scenario, the any door hotspot is displayed to display the any door.

[0141] For example, see FIG. 5 As shown, FIG. 5 Figure (1) in the middle FIG. 4 The content shown in diagram (3) is respectively related to... FIG. 4 Figure (1) in the middle FIG. 4 The contents shown in (3) correspond one-to-one. For details not elaborated here, please refer to the above text. FIG. 5 The relevant description in the document.

[0142] In response to the phone detecting user activity FIG. 5 In the user interface 403 shown in Figure (3), the floating settings application icon 402b is dragged downwards. The resource library application executes the display method provided in this embodiment, that is, the resource library application determines whether to display any door based on the business scenario. Afterwards, the mobile phone can display as follows:FIG. 4 The user interface 410 shown in (4) above, user interface 410 and the above FIG. 5 The difference between the user interface 404 shown in (4) is that the user interface 410 includes arbitrary door hot zones 410a on both the left and right sides. Meanwhile, when the phone detects... FIG. 5 The floating settings application icon 402b in interface 410 shown in (4) of the diagram and FIG. 5 In the user interface 403 shown in Figure (3), if the distance between the floating settings application icon 402b in the user interface 403 meets the preset distance, that is, if the user... FIG. 5 If the drag operation performed by the icon 402b of the settings application in the user interface 403 shown in Figure (3) meets (i.e. equals) the preset drag distance, the user interface 410 displayed on the phone can be updated as follows: FIG. 5 The user interface 411 shown in Figure (5) is the first screen of the mobile phone, which is the desktop interface displayed after the mobile phone exits the resource library interface. The left and right sides of the user interface 411 also include any door hotspots.

[0143] Following this, in response to the phone detecting that the user has dragged the floating settings application icon 402b in the user interface 411 to any door hotspot on any side of the display screen, the phone can display the interface for opening any door, that is, the phone can display as follows: FIG. 7 The user interface 412 shown in Figure (6) displays a service area 412a provided by AnyDoor, and the service area 412a displays multiple application services provided by the mobile phone. Subsequently, in response to the mobile phone detecting that the user has dragged the floating settings application icon 402b in the user interface 412 to the icon of a certain application service in the service area 412a, the service corresponding to the icon of that application service can be quickly accessed, improving the efficiency of use.

[0144] Example 2: Taking the first application as a gallery application, if the gallery application determines that it needs to display any door based on the business scenario, then display the any door hotspot to display the any door.

[0145] For example, see FIG. 7 As shown, FIG. 7 Figure (1) in the middle FIG. 6 The content shown in diagram (2) is respectively related to... FIG. 6 Figure (1) in the middle FIG. 4 The contents shown in (2) correspond one-to-one. For details not elaborated here, please refer to the above text. FIG. 7 The relevant description in the document.

[0146] In the user's FIG. 7In the case that the picture 602a in (2) of FIG. 6 is subjected to the long press operation, after the mobile phone detects the long press operation, the icon 602a in the user interface 602 is floated, and the mobile phone triggers the gallery application to perform the display method provided by the present application, and determines that the arbitrary door needs to be displayed. Then, the mobile phone can display the user interface 604 as shown in (4) of FIG. 6. FIG. 7 The user interface 604 shown in (4) of FIG. 6 displays the floated picture 604a corresponding to the picture 602a in the user interface 602, and the two sides of the user interface 604 also display the arbitrary door hot area 604b, which is used to trigger the arbitrary door.

[0147] After that, in response to the mobile phone detecting that the user drags the floated picture 604a in the user interface to the arbitrary door hot area 604b on the side of the display screen, the mobile phone can display the interface of opening the arbitrary door, that is, the mobile phone can display the user interface 605 as shown in (4) of FIG. 6. FIG. 7 The user interface 605 displays the service area 605a provided by the arbitrary door, and the service area 605a displays a plurality of application services provided by the mobile phone. After that, in response to the mobile phone detecting that the user drags the floated picture 604a in the user interface 605 to the icon of a certain application service in the service area 605a, the icon of the certain application service can be implemented to correspond to the application service, such as the user interface 606 as shown in (5) of FIG. 6. FIG. 3A to FIG. 7 The floated picture 604a is dragged to the service icon of the collection space in the service area 605a to implement the collection service of the floated picture 604a to improve the use efficiency.

[0148] It should be understood that the above FIG. 3A to FIG. 7 The electronic device is a mobile phone with a non-foldable screen, and the first application is a resource library application or a gallery application. It can be understood that the display method provided by the present application is also applicable to other electronic devices (such as foldable mobile phones or tablets, etc.), and other applications (such as map applications, chat applications, or shopping applications, etc.) with display functions on the electronic device, and is not limited to resource library applications or gallery applications.

[0149] Next, taking the user interface of the mobile phone shown in the above FIG. 8 to FIG. 10 , the display method provided by the present application is described in detail. FIG. 8

[0150] Embodiment One

[0151] FIG. 1 ​is a schematic diagram of a display method provided in an embodiment of the present application. The display method provided in the embodiment of the present application can be executed by an electronic device. It can be understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in the embodiment of the present application can be, but is not limited to, an electronic device 100 shown in the embodiment of the present application. FIG. 8 As shown in the embodiment of the present application, the display method provided in the embodiment of the present application includes steps S801 to S808. Next, steps S801 to S808 are introduced. FIG. 4 As shown in the embodiment of the present application, the display method provided in the embodiment of the present application includes steps S801 to S808. Next, steps S801 to S808 are introduced.

[0152] In step S801, a resource library application detects that a user performs a long press and slide drag operation on an icon of an application A displayed on an interface of the resource library application.

[0153] The resource library application is an application program installed in the electronic device, and the application interface of the resource library application can display at least an icon of each application program installed in the electronic device except the resource library application. Optionally, the application interface of the resource library application can also display an icon of the resource library application.

[0154] The specific form of the electronic device is not limited in the embodiment of the present application. For example, the electronic device can be a mobile phone, a vehicle-mounted device (for example, an on board unit (OBU)), a tablet computer, a computer with display function (for example, a notebook computer, a palm computer, etc.), etc.

[0155] The application A and the resource library application are two different applications in the electronic device, and the application A is not limited in specific. For example, the application A can be a third-party application or a system application, etc.

[0156] For example, it is assumed that the resource library application is an application installed in a non-foldable screen mobile phone, and the application A is a setting application installed in the mobile phone. When the interface of the above-mentioned resource library application can be the user interface 401 shown in (1) of FIG. 4, the application A can be an icon 401a1 of the setting application shown in the user interface 401, and the long press and slide drag operation is used to update the user interface 401 to the user interface 404 shown in (4) of FIG. 4, wherein the icon 401a1 in the user interface 404 is obtained by performing the slide drag operation on the icon 401a1 in the user interface 401. FIG. 4 FIG. 5 For example, it is assumed that the resource library application is an application installed in a non-foldable screen mobile phone, and the application A is a setting application installed in the mobile phone. When the interface of the above-mentioned resource library application can be the user interface 401 shown in (1) of FIG. 4, the application A can be an icon 401a1 of the setting application shown in the user interface 401, and the long press and slide drag operation is used to update the user interface 401 to the user interface 404 shown in (4) of FIG. 4, wherein the icon 401a1 in the user interface 404 is obtained by performing the slide drag operation on the icon 401a1 in the user interface 401.

[0157] For example, it is assumed that the resource library application is an application installed in a non-foldable screen mobile phone, and the application A is a setting application installed in the mobile phone. When the interface of the above-mentioned resource library application can be the user interface 401 shown in (1) of FIG. 4, the application A can be an icon 401a1 of the setting application shown in the user interface 401, and the long press and slide drag operation is used to update the user interface 401 to the user interface 404 shown in (4) of FIG. 4, wherein the icon 401a1 in the user interface 404 is obtained by performing the slide drag operation on the icon 401a1 in the user interface 401. FIG. 5 ​When the user interface 401 shown in (1) of FIG. 10 is displayed, the application A can be an icon 401a1 of a settings application shown in the user interface 401, and the long-press-down-drag operation is used to update the user interface 401 to FIG. 5 When the user interface 410 shown in (4) of FIG. 10 is displayed, the icon 401a1 in the user interface 410 is obtained after the long-press-down-drag operation is performed on the icon 401a1 in the user interface 401.

[0158] It should be understood that the above step S801 is described by taking the application A as a settings application and the trigger operation as a long-press-down-drag operation as an example. Alternatively, the application A can also be another application, for example, the application A can be but is not limited to a gallery application or a map application, etc. Alternatively, the long-press-down-drag operation as the trigger operation can also be another operation, for example, the other operation can be but is not limited to a long-press-up-drag operation, etc.

[0159] In step S802, the resource library application determines whether any door needs to be displayed according to a business scenario.

[0160] The resource library application performs the above step S802, that is, the resource library application itself can determine whether any door provided by the any door application needs to be displayed according to a business scenario.

[0161] In the embodiments of the present application, the implementation manner of the resource library application determining whether any door needs to be displayed according to a business scenario is not specifically limited.

[0162] In one example, the resource library application determines whether any door needs to be displayed according to a business scenario, which can include the following steps: the resource library application determines whether any door needs to be displayed according to whether the type of the application A is a preset type of application; in the case where the type of the application A is a preset type, it is determined that any door needs to be displayed; in the case where the type of the application A is not a preset type, it is determined that any door does not need to be displayed. The preset type of application is not specifically limited and can be set according to an actual scenario. For example, the preset type of application can be at least one of the following applications: a third-party application, a system application, and an application for displaying pictures or text.

[0163] In the above implementation manner, the electronic device can determine whether any door needs to be displayed according to whether the type of the application A belongs to a preset type, so as to enable the user to use any door related services through the application A.

[0164] In another example, the resource library application determines whether to display the arbitrary door according to a business scenario, which may include the following steps: in a case where the desktop interface of the electronic device does not display an icon of the application A and the electronic device installs the application A, the resource library application determines not to display the arbitrary door; in a case where the desktop interface of the electronic device displays the icon of the application A and the electronic device installs the application A, the resource library application determines to display the arbitrary door.

[0165] In the above implementation, the electronic device can determine whether to display the arbitrary door according to whether the desktop interface displays an icon of an installed application. When the desktop interface does not display the icon of the installed application, it is determined that the arbitrary door does not need to be displayed, so as to facilitate the user to drag the icon of the installed application in the resource library application to the desktop interface for use. When the desktop interface displays the icon of the installed application, it is determined that the arbitrary door needs to be displayed, so as to enable the user to use the arbitrary door related service through the application A.

[0166] In yet another example, the resource library application determines whether to display the arbitrary door according to a business scenario, which may include the following steps: the resource library application determines whether to display the arbitrary door according to dimensions such as time, location, and event before and after relationship. For example, when the electronic device determines whether to display the arbitrary door according to time, the electronic device can determine the user's habit at this time point to determine whether to display the arbitrary door; when the electronic device determines whether to display the arbitrary door according to location, the electronic device can determine the user's activity at this moment according to the current location and the characteristics of the location to determine whether to display the arbitrary door; when the electronic device determines whether to display the arbitrary door according to location, the electronic device can determine the user's specific purpose next (for example, the user needs to drag the icon of the application A displayed on the interface of the resource library application to the desktop interface) according to the user's last operation on the electronic device (for example, deleting the icon of the application A on the desktop interface) to determine whether to display the arbitrary door.

[0167] In the embodiment of the present application, after the resource library application performs the step S802, in a case where it is determined to display the arbitrary door, the step S804 is performed; in a case where it is determined not to display the arbitrary door, the step S803 is performed.

[0168] In step S803, the resource library application sends a message including a shielding arbitrary door field to the arbitrary door application.

[0169] After the resource library application sends the message including the shielding arbitrary door field to the arbitrary door application, the arbitrary door application parses the message, and can know that the message includes the shielding arbitrary door field.

[0170] In step S803, the resource library application and the arbitrary gate application perform data interaction, so that the resource library application sends a message to the arbitrary gate application. In some embodiments, the resource library application and the arbitrary gate application can perform data interaction based on an Intent type message. Therefore, the resource library application performing step S803 may, for example, include the following steps: in a case where the resource library application encapsulates the arbitrary gate field into an Intent message, the resource library application sends the Intent message including the arbitrary gate field to the arbitrary gate application, so that the arbitrary gate application receives the Intent message.

[0171] In step S804, the resource library application sends a message not including the arbitrary gate field to the arbitrary gate application.

[0172] After the resource library application sends the message not including the arbitrary gate field to the arbitrary gate application, the arbitrary gate application parses the message and can know that the message does not include the arbitrary gate field.

[0173] In step S804, the resource library application and the arbitrary gate application perform data interaction, so that the resource library application sends a message to the arbitrary gate application. In some embodiments, the resource library application and the arbitrary gate application can perform data interaction based on an Intent type message. Therefore, the resource library application performing step S804 may, for example, include the following steps: the resource library application sends an Intent message not including the arbitrary gate field to the arbitrary gate application, so that the arbitrary gate application receives the Intent message.

[0174] In step S805, the service component corresponding to the arbitrary gate application determines whether the message sent by the resource library application includes the arbitrary gate field.

[0175] The service component corresponding to the arbitrary gate application determines whether the message sent by the resource library application includes the arbitrary gate field. The service component corresponding to the arbitrary gate application parses the message received from the resource library application to determine whether the parsed data includes the arbitrary gate field.

[0176] After the service component corresponding to the arbitrary gate application performs step S805, in a case where it is determined that the message sent by the resource library application includes the arbitrary gate field, step S807 is performed; in a case where it is determined that the message sent by the resource library application does not include the arbitrary gate field, step S806 is performed.

[0177] In step S806, the arbitrary gate hot area is displayed.

[0178] After the step S805, the step S806 is performed, that is, the service component corresponding to the arbitrary gate application displays the arbitrary gate hot area on the display screen of the electronic device in the case that the message sent by the resource library application does not carry the shielding arbitrary gate field. Optionally, after that, the step S807 can also be performed.

[0179] In the embodiments of the present application, the display of the arbitrary gate can refer to the display of the arbitrary gate hot area on the left side and / or the right side of the display screen of the electronic device, wherein the arbitrary gate hot area is used to trigger the arbitrary gate.

[0180] For example, the interface of the resource library application in the step S801 can be the user interface 401 shown in FIG. 1 (1), the application A can be the icon 401a1 of the setting application shown in the user interface 401, and the long press and slide dragging operation is used to update the user interface 401 to the user interface 404 shown in FIG. 1 (4). FIG. 5 For example, the interface of the resource library application in the step S801 can be the user interface 401 shown in FIG. 1 (1), the application A can be the icon 401a1 of the setting application shown in the user interface 401, and the long press and slide dragging operation is used to update the user interface 401 to the user interface 404 shown in FIG. 1 (4). FIG. 5 For example, the interface of the resource library application in the step S801 can be the user interface 401 shown in FIG. 1 (1), the application A can be the icon 401a1 of the setting application shown in the user interface 401, and the long press and slide dragging operation is used to update the user interface 401 to the user interface 404 shown in FIG. 1 (4). FIG. 4 For example, the interface of the resource library application in the step S801 can be the user interface 401 shown in FIG. 1 (1), the application A can be the icon 401a1 of the setting application shown in the user interface 401, and the long press and slide dragging operation is used to update the user interface 401 to the user interface 404 shown in FIG. 1 (4).

[0181] It should be understood that after the steps S801 to S806 are performed, the icon of the application A is still in the state of being dragged by the user.

[0182] In the step S807, the arbitrary gate hot area is not displayed.

[0183] After the step S805, the step S807 is performed, that is, the service component corresponding to the arbitrary gate application does not display the arbitrary gate hot area on the display screen of the electronic device in the case that the message sent by the resource library application carries the shielding arbitrary gate field.

[0184] For example, in the step S801, the resource library application is an application installed in a non-foldable screen mobile phone, and the application A is a setting application installed in the mobile phone. When the interface of the resource library application can be the user interface 401 shown in FIG. 1 (1), the application A can be the icon 401a1 of the setting application shown in the user interface 401, and the long press and slide dragging operation is used to update the user interface 401 to the user interface 404 shown in FIG. 1 (4). FIG. 4 For example, the interface of the resource library application in the step S801 can be the user interface 401 shown in FIG. 1 (1), the application A can be the icon 401a1 of the setting application shown in the user interface 401, and the long press and slide dragging operation is used to update the user interface 401 to the user interface 404 shown in FIG. 1 (4). FIG. 4 For example, the interface of the resource library application in the step S801 can be the user interface 401 shown in FIG. 1 (1), the application A can be the icon 401a1 of the setting application shown in the user interface 401, and the long press and slide dragging operation is used to update the user interface 401 to the user interface 404 shown in FIG. 1 (4). FIG. 4 For example, the interface of the resource library application in the step S801 can be the user interface 401 shown in FIG. 1 (1), the application A can be the icon 401a1 of the setting application shown in the user interface 401, and the long press and slide dragging operation is used to update the user interface 401 to the user interface 404 shown in FIG. 1 (4).

[0185] It should be understood that after the above steps S801 to S806 are performed, the icon of the application A is still in the state of being dragged by the user. Therefore, after the above step S807 is performed, i.e., in the case that the display screen of the electronic device does not display any door hot area, the user will continue to perform the dragging operation on the icon of the application A in the state of being dragged, so as to make the display screen of the electronic device display a different desktop interface, i.e., achieve the purpose of switching the desktop interface.

[0186] For example, after the above step S807 is performed, the interface displayed on the display screen of the electronic device is the user interface 404 shown in (4) of FIG. 13, and then the interface of the resource library application is exited, so that the display screen of the electronic device displays the user interface 405 (i.e., one desktop interface) shown in (5) of FIG. 13. Then, the user drags the icon 401a1 of the setting application from the left side of the display screen to the right side of the display screen, so that after the icon 401a1 of the setting application is dragged from the left side to the right side of the user interface 405, the electronic device displays the user interface 406 (i.e., another desktop interface) shown in (6) of FIG. 13, thereby achieving the purpose of switching the desktop interface. FIG. 4 FIG. 4 FIG. 5

[0187] In step S808, in response to detecting the dragging operation of dragging the icon of the application A to the any door hot area, the any door is opened.

[0188] After the above step S808 is performed, i.e., after the electronic device opens the any door, the display screen of the electronic device displays the any door.

[0189] For example, the interface of the resource library application in the above step S801 can be the user interface 403 shown in (3) of FIG. 13, the application A can be the icon 401a1 of the setting application shown in the user interface 403, the long-press sliding dragging operation is used to update the user interface 403 to the user interface 404 shown in (4) of FIG. 13, the any door hot area can be the any door hot area 410a shown in (4) of FIG. 13, the operation of dragging the icon of the application A to the any door hot area can refer to the dragging operation of the user finger on the icon 401a1 of the setting application in the user interface 411 shown in (5) of FIG. 13 and the user interface 412 shown in (6) of FIG. 13, and the any door can refer to the any door 412a shown in the user interface 412. FIG. 5 FIG. 5 FIG. 5 FIG. 5 FIG. 8

[0190] It should be understood that the above any door hot area FIG. 8 ​​​​​​​​The display method shown is only illustrative and does not limit the display method provided by the present application. In the above FIG. 8 In the method shown, the resource library application sends a message to the arbitrary door application, and whether the arbitrary door field is carried in the message is used as an example to notify the arbitrary door application whether the arbitrary door needs to be displayed. Alternatively, different values of the same field carried in the message sent by the resource library application to the arbitrary door application are used as an example to notify the arbitrary door application whether the arbitrary door needs to be displayed. For example, in the case where the resource library application determines that the arbitrary door needs to be displayed, the value of field A carried in the message sent by the resource library application to the arbitrary door application can be equal to 1, so that the arbitrary door application learns that the arbitrary door needs to be displayed based on the value of field A received in the message being equal to 1. In the case where the resource library application determines that the arbitrary door does not need to be displayed, the value of field A carried in the message sent by the resource library application to the arbitrary door application can be equal to 0, so that the arbitrary door application learns that the arbitrary door does not need to be displayed based on the value of field A received in the message being equal to 0. In the above FIG. 9 In the method shown, the resource library application is used as an example. Alternatively, the above resource library application can be replaced by other applications, which can be but are not limited to a gallery application, a chat application, or a map application, and the like.

[0191] The embodiment of the present application provides a more general display method of shielding an arbitrary door according to a scene. Specifically, in the case where the arbitrary door function of the electronic device is turned on, the resource library application can shield the arbitrary door according to whether the current business scene selects to shield the arbitrary door. In the case where the resource library application determines that the arbitrary door does not need to be displayed (i.e., dialed out) according to the current business scene, the resource library application carries the shielding arbitrary door field in the message sent to the arbitrary door application. Therefore, after the arbitrary door application receives the message and identifies that the message carries the shielding arbitrary door field, the arbitrary door application does not display the arbitrary door. Therefore, the electronic device does not display the arbitrary door, so as to meet the demand for other functions (e.g., switching a desktop page) other than the arbitrary door in the current business scene. In the case where the resource library application determines that the arbitrary door needs to be displayed (i.e., dialed out) according to the current business scene, the resource library application does not carry the shielding arbitrary door field in the message sent to the arbitrary door application. Therefore, after the arbitrary door application receives the message and does not identify that the message carries the shielding arbitrary door field, the arbitrary door application dials out the arbitrary door. Therefore, the electronic device displays the arbitrary door, so as to meet the demand for the arbitrary door in the current business scene. Based on the above implementation process, the arbitrary door feature is more friendly to the application (i.e., the resource library application), so that the application itself can determine whether it wants to dial out the arbitrary door provided by the arbitrary door application, instead of being determined by the arbitrary door application whether the arbitrary door needs to be dialed out.

[0192] Embodiment Two

[0193] FIG. 9is a schematic diagram of a display method provided in an embodiment of the present application. It should be understood that FIG. 8 The display method shown is based on the above FIG. 1 The module interaction flow in the electronic device of the display method shown. The display method provided in an embodiment of the present application can be executed by an electronic device. It can be understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in the embodiment of the present application can be, but is not limited to, an electronic device 100. FIG. 9 The electronic device 100 shown. As shown in FIG. 8 The display method provided in an embodiment of the present application includes steps S901 to S912. Next, steps S901 to S912 are introduced.

[0194] In step S901, the resource library application detects that the user performs a long press and slide drag operation on the icon of application A displayed by the interface of the resource library application.

[0195] The step S901 and the step S802 in the display method provided in the above FIG. 8 The step S801 in the display method provided in the above, and the contents not described in detail herein can be referred to the description in the step S801.

[0196] In step S902, the resource library application determines whether any door needs to be displayed according to the business scenario.

[0197] The step S902 and the step S802 in the display method provided in the above FIG. 2 The step S802 in the display method provided in the above, and the contents not described in detail herein can be referred to the description in the step S802.

[0198] In the embodiment of the present application, after the step S902 is executed, if the resource library application determines that any door does not need to be displayed according to the business scenario, the step S903 is continued to be executed; if the resource library application determines that any door needs to be displayed according to the business scenario, the step S904 is continued to be executed.

[0199] In step S903, the resource library application inserts a shield any door field into the MIME array included in the created Clipdata object #1.

[0200] After the resource library application executes the step S903, the Clipdata object #1 includes the MIME array, and the MIME array includes the shield any door field.

[0201] In the embodiment of the present application, the system of the mobile phone is an Android system, in which a Clipdata object can be understood as a container containing data description and data itself, representing a group of data in the clipboard. A multipurpose internet mail extensions (MIME) type is used to represent the format of the data.

[0202] Optionally, before the resource library application executes the step S903, a creating step of creating the Clipdata object #1 can also be executed.

[0203] In the step S904, the resource library application does not insert the shield-any-door field into the MIME array included in the created Clipdata object #1.

[0204] After the resource library application executes the step S904, the Clipdata object #1 includes the MIME array, and the MIME array does not include the shield-any-door field.

[0205] It should be noted that the steps S903 and S904 are introduced by taking whether the MIME array in the Clipdata object #1 includes the shield-any-door field as an example. Alternatively, the step S903 can be replaced by that the resource library application inserts an indication information 1 into the MIME array included in the created Clipdata object #1, and the indication information 1 is used to indicate that the any-door is not needed to be opened; and the step S904 can be replaced by that the resource library application inserts an indication information 2 into the MIME array included in the created Clipdata object #1, and the indication information 2 is used to indicate that the any-door is needed to be opened. The indication information 1 and the indication information 2 are not limited, and can be set according to actual scenes. In an example, the indication information 1 can include an able_anyone door field, and the indication information 2 can include an unable_anyone door field.

[0206] In the step S905, the resource library application sends the Clipdata object #1 to the drag framework module. Correspondingly, the drag framework module receives the Clipdata object #1 sent by the resource library application.

[0207] The drag framework module is a module in an application program framework layer of the mobile phone. In an example, the drag framework module can include the above-mentioned FIG. 2The drag-and-drop controller, the window session, and the view in the application framework layer 220 are shown. In this implementation, the resource library application performs the step S905 described above, i.e., the resource library application sends the Clipdata object #1 to the drag-and-drop framework module. In an example, the resource library application can send the Clipdata object #1 to the view in the drag-and-drop framework module, so that the view receives the Clipdata object #1.

[0208] In the step S906, the drag-and-drop framework module encapsulates the Clipdata object #1, the package name of the arbitrary gate application, and the class name of the service corresponding to the arbitrary gate application to generate an Intent message #1.

[0209] The purpose of the drag-and-drop framework module performing the step S906 described above is to encapsulate the Clipdata object #1 into a data type that can be recognized by the service component corresponding to the arbitrary gate application. It should be understood that the data type that can be recognized by the service component corresponding to the arbitrary gate application is taken as an example of the Intent message in the embodiments of the present application.

[0210] After performing the step S906 described above, the Intent message #1 includes the Clipdata object #1, the package name of the arbitrary gate application, and the class name of the service corresponding to the arbitrary gate application. In an example, when the Clipdata object #1 in the Intent message #1 is the object obtained after performing the step S903 described above, the arbitrary gate field is included in the MIME array of the Clipdata object #1. At this time, the Intent message #1 is used to describe an operation that does not need to display the arbitrary gate. In another example, when the Clipdata object #1 in the Intent message #1 is the object obtained after performing the step S904 described above, the arbitrary gate field is not included in the MIME array of the Clipdata object #1. At this time, the Intent message #1 is used to describe an operation that needs to display the arbitrary gate and the related data of the operation that needs to display the arbitrary gate.

[0211] The drag-and-drop framework module in the step S906 described above is not specifically limited. In an example, the drag-and-drop framework module can include the above FIG. 2The drag-and-drop controller, the window session and the view in the application framework layer 220 are shown. In this implementation, the drag-and-drop framework module encapsulates the Clipdata object #1, the package name of the arbitrary gate application and the class name of the service corresponding to the arbitrary gate application to generate the Intent message #1. In an example, the drag-and-drop framework module can include the following steps: the view sends the Clipdata object #1 to the window session; the window session sends the Clipdata object #1 to the drag-and-drop controller; and the drag-and-drop controller encapsulates the Clipdata object #1, the package name of the arbitrary gate application and the class name of the service corresponding to the arbitrary gate application to generate the Intent message #1.

[0212] In step S907, the drag-and-drop framework module sends the Intent message #1 to the context corresponding to the resource library application. Correspondingly, the context corresponding to the resource library application receives the Intent message #1 sent by the drag-and-drop framework module.

[0213] In an example, the drag-and-drop framework module can include the above FIG. 8 The drag-and-drop controller, the window session and the view in the application framework layer 220 are shown. In this implementation, the drag-and-drop framework module performs the above step S907, i.e., the drag-and-drop framework module sends the Intent message #1 to the context corresponding to the resource library application. In an example, the drag-and-drop framework module can include the following steps: the drag-and-drop controller sends the Intent message #1 to the context corresponding to the resource library application, so that the context corresponding to the resource library application receives the Intent message #1.

[0214] In step S908, the context corresponding to the source library application sends the Intent message #1 to the arbitrary gate application. Correspondingly, the arbitrary gate application receives the Intent message #1 sent by the context corresponding to the source library application.

[0215] In step S909, the arbitrary gate application creates the service component corresponding to the arbitrary gate application and binds the service component corresponding to the arbitrary gate application and the arbitrary gate application.

[0216] The arbitrary gate application performs the above step S909, i.e., in response to receiving the Intent message #1, the arbitrary gate application first creates the service component corresponding to the arbitrary gate application. Then, the arbitrary gate application binds the created service component corresponding to the arbitrary gate application and the arbitrary gate application, so that the arbitrary gate application displays the arbitrary gate when necessary by using the created service component corresponding to the arbitrary gate application to achieve the purpose of displaying the arbitrary gate hot area and / or.

[0217] In an example, when the mobile phone runs the Android system, the service component corresponding to the arbitrary gate application can be a service component under the Android system.

[0218] It should be understood that after the step S909 is performed, the mobile phone does not start the service component corresponding to the arbitrary door application.

[0219] In step S910, the service component corresponding to the arbitrary door application determines whether the arbitrary door field is included in the MIME array in the Clipdata object included in the Intent message #1.

[0220] After the service component corresponding to the arbitrary door application performs the step S910, in the case that it is determined that the arbitrary door field is included in the MIME array in the Clipdata object included in the Intent message #1, the step S912 is performed; in the case that it is determined that the arbitrary door field is not included in the MIME array in the Clipdata object included in the Intent message #1, the step S911 is performed.

[0221] In step S911, the service component corresponding to the arbitrary door application does not display the arbitrary door hot area.

[0222] The procedure of the service component corresponding to the arbitrary door application performing the step S911 is the same as the procedure of step S807 in the display method provided by the present application, and the content not described in detail herein can be referred to the related description in step S807. FIG. 8

[0223] In step S912, the service component corresponding to the arbitrary door application displays the arbitrary door hot area.

[0224] The step S912 is performed, that is, the service component corresponding to the arbitrary door application is started to display the arbitrary door hot area.

[0225] The procedure of the service component corresponding to the arbitrary door application performing the step S912 is the same as the procedure of step S806 in the display method provided by the present application, and the content not described in detail herein can be referred to the related description in step S806. FIG. 9 It should be understood that the display method shown in the above

[0226] does not constitute any limitation on the display method provided by the present application. For example, the above-mentioned resource library application can also be replaced by other applications, which can be but are not limited to a gallery application, a chat application or a map application, etc. FIG. 10

[0227] ​​This application provides a more general method for disabling the display of the "Any Door" feature based on a specific scenario. Specifically, when the "Any Door" function is enabled on an electronic device, the resource library application can choose whether to disable it based on the current business scenario. If the resource library application determines that displaying (i.e., calling up) the "Any Door" is unnecessary based on the current business scenario, the message sent by the resource library application to the "Any Door" application includes a "Disable Any Door" field. Therefore, upon receiving this message and recognizing the "Disable Any Door" field, the "Any Door" application will not display the "Any Door," thus preventing the electronic device from displaying it and fulfilling the need for other functions besides the "Any Door" feature (e.g., switching desktop pages) in the current business scenario. Conversely, if the resource library application determines that displaying (i.e., calling up) the "Any Door" is necessary based on the current business scenario, the message sent by the resource library application to the "Any Door" application does not include a "Disable Any Door" field. Therefore, upon receiving this message and not recognizing the "Disable Any Door" field, the "Any Door" application will call up the "Any Door," thus allowing the electronic device to display the "Any Door" feature and fulfilling the need for the "Any Door" feature in the current business scenario. Based on the above implementation process, the Any Door feature is more application-friendly (i.e., resource library applications), allowing applications to decide whether they want to call up the Any Door provided by the Any Door application, rather than the Any Door application determining whether it needs to call up the Any Door.

[0228] Example 3

[0229] FIG. 1 This is a schematic diagram illustrating a display method provided in an embodiment of this application. The display method provided in this embodiment can be executed by an electronic device. It is understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in this embodiment can be, but is not limited to, […]. FIG. 10 The electronic device 100 is shown. (For example...) FIG. 9 As shown, the display method provided in this application embodiment includes steps S1010 to S1030. Steps S1010 to S1030 will be described below.

[0230] In step S1010, in response to detecting a first trigger operation on the first content included in the first interface of the first application, the first application in the electronic device determines whether it needs to display the arbitrary door provided by the arbitrary door application in the electronic device according to the business scenario, and generates first indication information, wherein the arbitrary door is used to provide at least one service or application.

[0231] The first instruction information is used to indicate whether or not the arbitrary door needs to be displayed. There are no specific limitations on the content included in the first instruction information.

[0232] In one example, the first indication information includes a first field in a case where the first application determines that any door does not need to be displayed according to the business scenario, and the first field is used to indicate that any door does not need to be displayed; and the first indication information does not include the first field in a case where the first application determines that any door needs to be displayed according to the business scenario.

[0233] Optionally, the first field can also be referred to as a shielding any door field, and no specific limitation is made to this.

[0234] For example, one specific example of the first indication information can be FIG. 3A For example, one specific example of the first field in the Clipdata object #1 in step S903 of the display method provided can be a shielding any door field.

[0235] In another example, the first indication information includes a second field, and a value of the second field is a first value in a case where the first application determines that any door needs to be displayed according to the business scenario, the first value is used to indicate that any door needs to be displayed; and a value of the second field is a second value in a case where the first application determines that any door does not need to be displayed according to the business scenario, the second value is used to indicate that any door does not need to be displayed, and the first value and the second value are different.

[0236] The first value and the second value are different, and no specific limitation is made to the first value and the second value. For example, the first value is equal to 0, and the second value is equal to 1. For another example, the first value is equal to 1, and the second value is equal to 0.

[0237] Optionally, the first indication information can further include other information in addition to the first field or the second field, and the other information can be, but is not limited to, a package name of the first application and / or a package name of the any door application. The package name of the first application is used to identify the first application, and the package name of the any door application is used to identify the any door application.

[0238] The first content is content displayed in an interface (i.e., a first interface) of the first application, and the first content is associated with the first application, and no specific limitation is made to the type of the first content and the first application.

[0239] In one example, the first application is a resource library application, the first interface includes application icons of each of the remaining applications in addition to the first application and the any door application among all applications installed in the electronic device, the first content includes an application icon of a second application, and the second application is one of the remaining applications.

[0240] The first interface includes an application icon of each of the remaining applications among all the applications installed in the electronic device except the first application and the arbitrary door application. It can be understood that the resource library application and the arbitrary door application are applications installed in the electronic device, but the two applications usually do not have corresponding application icons in the electronic device. Therefore, the first interface can not include the application icon of the first application and the application icon of the arbitrary door application.

[0241] The type of each of the applications installed in the electronic device and the number of the applications installed in the electronic device are not specifically limited. For example, the applications installed in the electronic device can include FIG. 3A the clock, the calendar, the weather, the camera, the file management, the gallery, the address book, the phone, the information shown in (1) of FIG. 1, and FIG. 4 the browser, the memo, the recording, the mail, the video, the calculator, and the settings shown in (2) of FIG. 1.

[0242] Optionally, the first interface can be an interface displayed on the minus one screen of the electronic device.

[0243] Optionally, in the case where the electronic device has the application icon of the first application and the application icon of the arbitrary door application, the first interface in the above example can include the icons of all the applications installed in the electronic device.

[0244] In the above example, the first application determines whether the arbitrary door provided by the arbitrary door application needs to be displayed according to the business scenario. For example, the first application can include the following steps: in the case where the first application determines that the desktop interface of the electronic device includes the application icon of the second application, the first application determines that the arbitrary door needs to be displayed; in the case where the first application determines that the desktop interface does not include the application icon of the second application, the first application determines that the arbitrary door does not need to be displayed.

[0245] It should be understood that in the scenario where the desktop interface includes the application icon of the second application (i.e., the application already installed in the electronic device), the business needs of the user will not be to add the icon of the second application in the resource library interface to the desktop interface, and the user will be more inclined to use the arbitrary door. Therefore, in this scenario, it can be confirmed that the arbitrary door needs to be displayed to meet the user's needs for the arbitrary door. In the scenario where the desktop interface does not include the application icon of the second application, the business needs of the user will be more inclined to add the icon of the second application to the desktop interface. Therefore, in this scenario, it can be confirmed that the arbitrary door does not need to be displayed, so that the user can successfully drag the application icon of the second application from the first interface to the desktop interface to meet the user's needs for adding icons to the desktop interface.

[0246] In the implementation manner, the first application can determine whether the arbitrary door needs to be displayed based on whether the icon of the currently displayed application in the desktop interface includes the icon of the application on which the first trigger operation is currently performed, so as to meet the requirement of the user in the business scenario that the icon of the application which is not displayed in the desktop interface and is installed in the electronic device needs to be added in the desktop interface, thereby better meeting the user.

[0247] In the example, the first application can determine whether the arbitrary door provided by the arbitrary door application needs to be displayed according to the business scenario. For example, the first application can include the following steps: determining that the arbitrary door needs to be displayed when the second application is determined to be the first preset type of application; and determining that the arbitrary door does not need to be displayed when the second application is determined to be not the first preset type of application.

[0248] The first preset type of application can be a predefined application type, and the first preset type of application is not limited in particular, and can be set according to actual user requirements. For example, the first preset type of application can be, but is not limited to, one or more of a chat application, a gallery application, a map application, a video application, a document application, or an audio application.

[0249] For example, one specific example of the first application can be a resource library application, and one specific example of the first interface can be a gallery application in the user interface 401 shown in FIG. 1 of the application. FIG. 5 For example, one specific example of the first application can be a resource library application, and one specific example of the first interface can be a gallery application in the user interface 401 shown in FIG. 1 of the application.

[0250] For example, one specific example of the first application can be a resource library application, and one specific example of the first interface can be a gallery application in the user interface 401 shown in FIG. 1 of the application. FIG. 6 For example, one specific example of the first application can be a resource library application, and one specific example of the first interface can be a gallery application in the user interface 401 shown in FIG. 1 of the application.

[0251] In the implementation manner, the first application can determine whether the arbitrary door needs to be displayed according to whether the second application as the first content belongs to the first preset type of application, thereby meeting the display requirement of the user in the business scenario, that is, the requirement of displaying the arbitrary door when the second application as the first content belongs to the first preset type of application, and the requirement of not displaying the arbitrary door when the second application as the first content does not belong to the first preset type of application.

[0252] In another example, the first application is an application displayed in a desktop interface of the electronic device, the first interface is an application interface of the first application, and the first content includes at least one content displayed in the application interface of the first application, where the at least one content is one or more of text content, picture content, or video content.

[0253] For example, a specific example of the first application can be a gallery application in a user interface 601 illustrated in FIG. 1 of the first application, a specific example of the first interface can be a user interface 602 illustrated in FIG. 2 of the first application, and a specific example of the first content can be a picture 602a in the user interface 602 illustrated in FIG. 2 of the first application. FIG. 6 For example, a specific example of the first application can be a gallery application in a user interface 601 illustrated in FIG. 1 of the first application, a specific example of the first interface can be a user interface 602 illustrated in FIG. 2 of the first application, and a specific example of the first content can be a picture 602a in the user interface 602 illustrated in FIG. 2 of the first application. FIG. 6 For example, a specific example of the first application can be a gallery application in a user interface 601 illustrated in FIG. 1 of the first application, a specific example of the first interface can be a user interface 602 illustrated in FIG. 2 of the first application, and a specific example of the first content can be a picture 602a in the user interface 602 illustrated in FIG. 2 of the first application. FIG. 7 For example, a specific example of the first application can be a gallery application in a user interface 601 illustrated in FIG. 1 of the first application, a specific example of the first interface can be a user interface 602 illustrated in FIG. 2 of the first application, and a specific example of the first content can be a picture 602a in the user interface 602 illustrated in FIG. 2 of the first application.

[0254] For example, a specific example of the first application can be a gallery application in a user interface 601 illustrated in FIG. 1 of the first application, a specific example of the first interface can be a user interface 602 illustrated in FIG. 2 of the first application, and a specific example of the first content can be a picture 602a in the user interface 602 illustrated in FIG. 2 of the first application. FIG. 7 For example, a specific example of the first application can be a gallery application in a user interface 601 illustrated in FIG. 1 of the first application, a specific example of the first interface can be a user interface 602 illustrated in FIG. 2 of the first application, and a specific example of the first content can be a picture 602a in the user interface 602 illustrated in FIG. 2 of the first application. FIG. 7 For example, a specific example of the first application can be a gallery application in a user interface 601 illustrated in FIG. 1 of the first application, a specific example of the first interface can be a user interface 602 illustrated in FIG. 2 of the first application, and a specific example of the first content can be a picture 602a in the user interface 602 illustrated in FIG. 2 of the first application. FIG. 9 For example, a specific example of the first application can be a gallery application in a user interface 601 illustrated in FIG. 1 of the first application, a specific example of the first interface can be a user interface 602 illustrated in FIG. 2 of the first application, and a specific example of the first content can be a picture 602a in the user interface 602 illustrated in FIG. 2 of the first application.

[0255] In the above example, the first application determines whether to display the any door provided by the any door application according to the business scenario, and for example, the method can further include the following steps: in a case where the first application determines that the first content is a second preset type of content, the first application determines to display the any door; and in a case where the first application determines that the first content is not the second preset type of content, the first application determines not to display the any door.

[0256] The second preset type of content can be a content predefined and stored in the electronic device, and the second preset type of content is not limited in specific, and can be set according to actual user needs. For example, the second preset type of content can be, but is not limited to, one or more of text content, picture content, or video content.

[0257] The first touch operation is not limited in specific, and can be any type of touch operation. For example, the first touch operation can be a long press and downward sliding operation, a long press operation, a long press and upward sliding operation, and the like.

[0258] For example, a specific example of the first interface of the first application is a user interface 602 illustrated in FIG. 2 of the first application. FIG. 9 For example, a specific example of the first interface of the first application is a user interface 602 illustrated in FIG. 2 of the first application. FIG. 9 For example, a specific example of the first interface of the first application is a user interface 602 illustrated in FIG. 2 of the first application.

[0259] In step S1020, the first application sends first indication information to the arbitrary door application. Correspondingly, the arbitrary door application receives the first indication information sent by the first application.

[0260] In the embodiments of the present application, the sending manner of the first application sending the first indication information to the arbitrary door application (i.e., the data transmission method between the two applications) is not specifically limited.

[0261] In one example, the application framework layer of the electronic device includes a drag framework module, and the first application sends the first indication information to the arbitrary door application, so that the arbitrary door application displays the arbitrary door based on the first indication information in the case where the first indication information is used to indicate that the arbitrary door needs to be displayed, or the arbitrary door application does not display the arbitrary door based on the first indication information in the case where the first indication information is used to indicate that the arbitrary door does not need to be displayed, including: the first application sends second indication information to the drag framework module, where the second indication information is used to indicate that the arbitrary door needs to be displayed or does not need to be displayed; the drag framework module generates the first indication information according to the second indication information, and sends the first indication information to the arbitrary door application, where the type of the first indication information is different from the type of the second indication information; the arbitrary door application displays the hot area of the arbitrary door in the two side regions of a second interface according to the first indication information, where the second interface is an interface displayed by the electronic device in response to detecting a first triggering operation on the first content, the second interface is the first interface, a desktop interface of the electronic device, or a partial interface of the first interface, the hot area of the arbitrary door is used to trigger the arbitrary door; in response to detecting an operation of dragging the first content to the hot area of the arbitrary door in any one of the two side regions, the arbitrary door application opens the arbitrary door and displays the arbitrary door.

[0262] The arbitrary door application opens the arbitrary door and displays the arbitrary door, i.e., the arbitrary door application opens the arbitrary door and displays an interface of the arbitrary door.

[0263] Optionally, in the above example, the drag framework module generates the first indication information according to the second indication information, and sends the first indication information to the arbitrary door application, which may include the following steps: the drag framework module encapsulates the second indication information into information in a preset format to generate the first indication information; the drag framework module sends the first indication information to a context corresponding to the resource library application; and the context corresponding to the resource library application sends the first indication information to the arbitrary door application.

[0264] In the case where the first application determines that the arbitrary door needs to be displayed according to the business scenario, the second indication information and the first indication information are both used to indicate that the arbitrary door needs to be displayed. In the case where the first application determines that the arbitrary door does not need to be displayed according to the business scenario, the second indication information and the first indication information are both used to indicate that the arbitrary door does not need to be displayed.

[0265] The contents included in the second indication information and the first indication information are not specifically limited. In one example, in a case where the first application determines according to the business scenario that the arbitrary door needs to be displayed, the second indication information does not include the first field, and the first indication information also does not include the first field. In a case where the first application determines according to the business scenario that the arbitrary door does not need to be displayed, the second indication information includes the first field, and the first indication information also includes the first field. In another example, the second indication information and the first indication information both include the second field. In a case where the first application determines according to the business scenario that the arbitrary door does not need to be displayed, the second field in the second indication information and the first indication information has a second value. In a case where the first application determines according to the business scenario that the arbitrary door needs to be displayed, the second field in the second indication information and the first indication information has a first value. Optionally, the first indication information and the second indication information can also include other information, which is not specifically limited. For example, the first indication information and the second indication information can also include the package name of the first application and the package name of the arbitrary door application, and the like.

[0266] Optionally, in the above example, the arbitrary door application displays the hot area of the arbitrary door on both side regions of the second interface according to the first indication information, which is not specifically limited by the embodiments of the present application. Optionally, the arbitrary door application can also display the hot area of the arbitrary door on one side (for example, the left side or the right side) of the second interface according to the first indication information. Optionally, the arbitrary door application can also display the hot area of the arbitrary door on the upper side and / or the lower side of the second interface according to the first indication information.

[0267] For example, one of the first applications in the electronic device in the above example can be the resource library application shown in FIG. 9 For example, one of the arbitrary door applications can be the arbitrary door application shown in FIG. 9 For example, one of the first interfaces can be the interface of the resource library application shown in FIG. 9 For example, one of the first indication information can be the Clipdata object #1 in step S901 in FIG. 9 For example, one of the second indication information can be the Clipdata object #1 in step S907 in FIG. 5 For example, one of the second interfaces can be the user interface 410 shown in (4) of FIG. 5 For example, one of the hot areas of the second interface can be that the left and right sides of the user interface 410 include the arbitrary door hot area 410a, or, for example, one of the second interfaces can be the user interface 410 shown in FIG. 5A specific example of the hot area of the second interface can be an arbitrary door hot area 411a included on the left and right sides of the user interface 411 shown in (5) of FIG. 13. The interface displayed by the arbitrary door application can be FIG. 9 The user interface 412 shown in (6) of FIG. 13, and the content not described in detail can be referred to in the foregoing FIG. 5 The related description in the display method provided above and the foregoing FIG. 10 The related description in the display method provided above and the foregoing

[0268] Optionally, the first application can also send the first indication information to the arbitrary door application based on the data transmission mode between the two existing applications, and the purpose of this is not described herein.

[0269] In step S1030, in the case that the first indication information is used to indicate that the arbitrary door needs to be displayed, the arbitrary door application displays the arbitrary door based on the first indication information, or in the case that the first indication information is used to indicate that the arbitrary door does not need to be displayed, the arbitrary door application does not display the arbitrary door based on the first indication information.

[0270] It should be noted that in the foregoing steps S1010 to S1030, after the first application determines whether to display the arbitrary door according to the business scenario, the first indication information indicating whether to display the arbitrary door is sent to the arbitrary door application, so that the arbitrary door application displays or does not display the arbitrary door based on the received first indication information. Optionally, the arbitrary door application can also determine whether to display the arbitrary door according to the business scenario, and then the arbitrary door application displays or does not display the arbitrary door. The method of determining whether to display the arbitrary door by the arbitrary door application according to the business scenario is not specifically limited, and can be set according to the actual scenario.

[0271] It should be understood that the foregoing ​ The display method shown in the foregoing is only illustrative, and does not constitute any limitation on the display method provided by the present application. The foregoing description that the first application determines whether to display the arbitrary door according to the business scenario is only illustrative, and does not constitute any limitation. For example, the first application can also determine whether to display the arbitrary door based on other business scenarios.

[0272] In the embodiments of the present application, in the case that the first trigger operation on the first content in the first interface of the first application is detected, the first application itself can determine whether the arbitrary door needs to be displayed according to the business scenario, and send information (i.e., the first indication information) for indicating whether the arbitrary door needs to be displayed to the arbitrary door application, and then the arbitrary door application can display or not display the arbitrary door according to the information, so as to achieve the purpose of determining whether the arbitrary door needs to be displayed according to the business scenario. The method can flexibly display the content according to the current business scenario, better meet the user demand, and improve the user experience. Moreover, the method is determined by the first application whether the arbitrary door needs to be displayed, that is, the method is more friendly to the first application.

[0273] The present application also provides a computer program product, which, when executed by a processor, implements the display method described in any of the method embodiments of the present application.

[0274] The computer program product can be stored in a memory, for example, a program, which is finally converted into an executable object file capable of being executed by the processor through preprocessing, compiling, assembling, and linking, etc.

[0275] The present application also provides a computer readable storage medium, which stores a computer program, and the computer program, when executed by a computer, implements the display method described in any of the method embodiments of the present application. The computer program can be a high-level language program or an executable object program.

[0276] The present application also provides a chip applied to an electronic device, the chip comprising one or more processors configured to invoke computer instructions, so that the electronic device, when executed, implements the display method described in any of the method embodiments of the present application.

[0277] In the present application, "at least one" means one or more, and "multiple" means two or more. "At least one of the following" or the like means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, and c can be single or multiple.

[0278] It should be understood that the size of the sequence number of the above-mentioned processes in various embodiments of the present application does not mean the order of execution, and the execution order of the processes should be determined according to their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0279] Those skilled in the art can clearly understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0280] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

[0281] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic; for example, the division of the units is only a logical function division, and actual implementation can have another division manner; for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0282] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0283] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.

[0284] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A display method, characterized in that, An electronic device including a first application and an arbitrary door application, wherein a first interface of the first application includes first content, the method includes: In response to detecting a first trigger operation on the first content, the first application determines whether it needs to display the arbitrary door provided by the arbitrary door application based on the business scenario, and generates first indication information, wherein the arbitrary door is used to provide at least one service or application; The first application sends a first indication message to the Any Door application, such that if the first indication message indicates that the Any Door needs to be displayed, the Any Door application displays the Any Door based on the first indication message; or if the first indication message indicates that the Any Door does not need to be displayed, the Any Door application does not display the Any Door based on the first indication message.

2. The method according to claim 1, characterized in that, If the first application determines that the arbitrary door does not need to be displayed based on the business scenario, the first indication information includes a first field, wherein the first field is used to indicate that the arbitrary door does not need to be displayed; When the first application determines that the arbitrary door needs to be displayed based on the business scenario, the first indication information does not include the first field.

3. The method according to claim 1, characterized in that, The first indication information includes a second field, wherein, When the first application determines that the arbitrary door needs to be displayed based on the business scenario, the value of the second field is the first value, which is used to indicate that the arbitrary door needs to be displayed; If the first application determines that the arbitrary door does not need to be displayed based on the business scenario, the value of the second field is a second value, which is used to indicate that the arbitrary door does not need to be displayed. The first value and the second value are different.

4. The method according to any one of claims 1 to 3, characterized in that, The first application is a resource library application. The first interface includes the application icon of each of the remaining applications in all applications installed on the electronic device, excluding the first application and the Any Door application. The first content includes the application icon of the second application, which is one of the remaining applications.

5. The method according to claim 4, characterized in that, The first application determines whether it needs to display the "Any Door" provided by the "Any Door" application based on the business scenario, including: If the first application determines that the desktop interface of the electronic device includes the application icon of the second application, the first application determines that the arbitrary door needs to be displayed; If the first application determines that the desktop interface does not include the application icon of the second application, the first application determines that it is not necessary to display the arbitrary door.

6. The method according to claim 4, characterized in that, The first application determines whether it needs to display the "Any Door" provided by the "Any Door" application based on the business scenario, including: If the first application determines that the second application is an application of a first preset type, the first application determines that the arbitrary door needs to be displayed; If the first application determines that the second application is not an application of the first preset type, the first application determines that it is not necessary to display the arbitrary door.

7. The method according to any one of claims 1 to 3, characterized in that, The first application is an application displayed on the desktop interface of the electronic device, the first interface is the application interface of the first application, and the first content includes at least one type of content displayed on the application interface of the first application, wherein the at least one type of content is text content, image content, or video content.

8. The method according to claim 7, characterized in that, The first application determines whether it needs to display the "Any Door" provided by the "Any Door" application based on the business scenario, including: If the first application determines that the first content is of the second preset type, the first application determines that the arbitrary door needs to be displayed; If the first application determines that the first content is not the second preset type of content, the first application determines that it is not necessary to display the arbitrary door.

9. The method according to any one of claims 1 to 8, characterized in that, The application framework layer of the electronic device includes a drag-and-drop framework module, and; the first application sends first indication information to the Anywhere Door application, such that when the first indication information indicates that the Anywhere Door needs to be displayed, the Anywhere Door application displays the Anywhere Door based on the first indication information, or when the first indication information indicates that the Anywhere Door does not need to be displayed, the Anywhere Door application does not display the Anywhere Door based on the first indication information, including: The first application sends a second instruction to the drag-and-drop frame module, wherein the second instruction is used to indicate whether or not the arbitrary door needs to be displayed; The drag-and-drop frame module generates the first instruction information based on the second instruction information and sends the first instruction information to the Any Door application, wherein the type of the first instruction information and the type of the second instruction information are different; The Any Door application displays the hot zone of the Any Door on both sides of the second interface according to the first instruction information. The second interface is the interface displayed by the electronic device in response to detecting the first trigger operation on the first content. The second interface is the first interface, the desktop interface of the electronic device, or a part of the first interface. The hot zone of the Any Door is used to trigger the Any Door. In response to detecting an operation that drags the first content to the hot zone of the Any Door in either of the two sides, the Any Door application opens the Any Door and displays the Any Door.

10. An electronic device, characterized in that, It includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer program that, when executed by the one or more processors, causes the electronic device to perform the display method as described in any one of claims 1 to 9.

11. A chip system applied to an electronic device, the chip system comprising one or more processors, characterized in that, The processor is used to invoke computer instructions to cause the electronic device to perform the display method as described in any one of claims 1 to 9.

12. A computer-readable storage medium comprising a computer program, characterized in that, When the computer program is run on an electronic device, it causes the electronic device to perform the display method as described in any one of claims 1 to 9.

13. A computer program product, characterized in that, When the computer program product is run on an electronic device, the electronic device performs the display method according to any one of claims 1 to 9.