Widget display method, intelligent terminal and storage medium

By determining the target widget and icon area in the smart terminal and obtaining the display style based on spatial information, diversified display of widgets is realized, solving the problem of single display mode in the prior art and improving user experience.

CN113900555BActive Publication Date: 2024-12-03SHENZHEN TRANSSION HLDG CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202111157546.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-28
Publication Date
2024-12-03
Estimated Expiration
2041-09-28

AI Technical Summary

Technical Problem

In the prior art, the display method of widgets is relatively single, which affects the user experience and makes it difficult to achieve flexible and diversified displays.

Method used

By determining the target widget and the target icon area, the target display style is obtained based on the spatial information of the icon area, and the widget is displayed in the target icon area according to the style, supporting a diverse display method.

Benefits of technology

It realizes diversified display of widgets, improves user experience, and can dynamically adjust the display style of widgets according to the conditions of different icon areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113900555B_ABST
    Figure CN113900555B_ABST
Patent Text Reader

Abstract

The present application proposes a method for displaying a widget, a smart terminal, and a storage medium, wherein the method for displaying a widget includes the following steps: determining a target widget and a target icon area corresponding to the target widget; obtaining a target display style of the target widget according to spatial information of the target icon area; and displaying the target widget in the target icon area according to the target display style. Through this method, the target widget can be displayed in the target icon area. If the target display styles of the target widget are different, the target widget can be displayed in the target icon area according to different target display styles, thereby realizing diversified display of the target widget.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart terminals, and in particular to a method for displaying widgets, a smart terminal, and a storage medium. Background Art

[0002] In some implementations, the applicant has found that the display mode of the widget is usually relatively simple. Based on this, how to flexibly display the widget has become an urgent problem that affects the user experience and needs to be solved.

[0003] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention

[0004] In view of the above technical problems, the present application provides a widget display method, a smart terminal and a storage medium, which can display a target widget in a target icon area according to a target display style, thereby realizing diversified display of the target widget.

[0005] In order to solve the above technical problems, the present application provides a method for displaying a widget, the method comprising:

[0006] Determine a target widget and a target icon area corresponding to the target widget;

[0007] According to the spatial information of the target icon area, the target display style of the target widget is obtained;

[0008] Display the target widget in the target icon area according to the target display style.

[0009] Optionally, acquiring a target display style of a target widget according to spatial information of a target icon area includes: determining a widget display condition for displaying any widget in the target icon area according to the spatial information of the target icon area; acquiring a display style that satisfies the widget display condition from a display style set of the target widget, the display style set including at least one display style supported by the target widget; and using the display style that satisfies the widget display condition as the target display style of the target widget.

[0010] Optionally, the number of display styles that meet the widget display condition is at least one; using the display style that meets the widget display condition as the target display style of the target widget includes: displaying a style selection interface corresponding to the target widget, the style selection interface including at least one style identifier of the display style that meets the widget display condition;

[0011] A style selection instruction is triggered on the style selection interface, a display style selected by the style selection instruction is determined, and the display style selected by the style selection instruction is used as a target display style.

[0012] Optionally, the method further includes: if there is no target display style of the target widget or the spatial information of the target icon area does not meet the placement condition, not displaying the target widget in the target icon area, or displaying the target widget in the target icon area in a preset manner.

[0013] Optionally, determining the target icon area corresponding to the target widget includes: triggering a sliding instruction on the target widget; and using an icon area where an end point of a sliding track corresponding to the sliding instruction is located as the target icon area corresponding to the target widget.

[0014] Optionally, determining the target icon area corresponding to the target widget includes: triggering a clustering instruction on the target widget; determining widget attribute information of the target widget in response to the clustering instruction; and using an icon area matching the widget attribute information as the target icon area corresponding to the target widget.

[0015] Optionally, taking an icon area matching the widget attribute information as a target icon area corresponding to a target widget includes: determining area attribute information of at least one icon area in a display screen; and taking an icon area whose similarity between the area attribute information and the widget attribute information is greater than or equal to a preset ratio threshold as a target icon area corresponding to the target widget.

[0016] Optionally, after displaying the target widget in the target icon area according to the target display style, the method further includes: triggering a position update instruction on the target widget, and determining a target display position indicated by the position update instruction; if the target display position is at least one icon sub-area in the target icon area, displaying the target widget at the target display position according to the target display style; and / or, if the target display position is an area other than the target icon area in the display screen, updating or retaining the display style of the target widget, and displaying the target widget at the target display position according to the updated or retained display style.

[0017] The present application also provides an intelligent terminal, comprising: a memory and a processor, wherein the memory stores a display program of a widget, and when the display program of the widget is executed by the processor, the steps of the above method are implemented.

[0018] The present application provides a readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0019] As described above, the widget display method of the present application is applied to a smart terminal, and includes the steps of: determining a target widget and a target icon area corresponding to the target widget; obtaining a target display style of the target widget according to the spatial information of the target icon area; and displaying the target widget in the target icon area according to the target display style. Through this method, the target display style of the target widget can be obtained, and the target widget can be displayed in the target icon area according to the target display style. If the target display styles are different, the smart terminal can display the target widget in the target icon area according to different target display styles, thereby realizing diversified display of the target widget. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0021] Figure 1 A schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application;

[0022] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application;

[0023] Figure 3 A schematic diagram of a flow chart of a method for displaying a widget provided in an embodiment of the present application;

[0024] Figure 4 A schematic diagram of a widget provided in an embodiment of the present application;

[0025] Figure 5 A schematic diagram of another widget provided in an embodiment of the present application;

[0026] Figure 6 A schematic diagram of another widget provided in an embodiment of the present application;

[0027] Figure 7 A schematic diagram of another widget provided in an embodiment of the present application;

[0028] Figure 8 A schematic diagram of another widget provided in an embodiment of the present application;

[0029] Fig. 9 A schematic diagram of another widget provided in an embodiment of the present application;

[0030] Fig.10A schematic diagram of a flow chart of another method for displaying a widget provided in an embodiment of the present application;

[0031] Fig.11 A schematic diagram of a flow chart of another method for displaying a widget provided in an embodiment of the present application;

[0032] Fig.12 A unit schematic diagram of a widget display device provided in an embodiment of the present application.

[0033] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0034] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0035] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0036] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.

[0037] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0038] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0039] It should be noted that in this article, step codes such as S10 and S20 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of this application.

[0040] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0042] The display method of the widget in this application can be applied to smart terminals, and the smart terminals can be implemented in various forms. Optionally, the smart terminals described in this application may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0043] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.

[0044] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0045] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:

[0046] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution) and 5G, etc.

[0047] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not a necessary component of the mobile terminal and can be omitted as needed without changing the essence of the application.

[0048] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0049] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0050] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0051] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0052] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0053] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.

[0054] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. Optionally, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.

[0055] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area. Optionally, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0056] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0057] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0058] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0059] In order to facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below.

[0060] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.

[0061] Specifically, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0062] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 may provide UE 201 with access to EPC 203 .

[0063] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, MME 2031 is a control node that processes signaling between UE 201 and EPC 203, and provides bearer and connection management. HSS 2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and store some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0064] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0065] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.

[0066] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.

[0067] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0068] The embodiment of the present application discloses a method for displaying a widget, which is used to display a target widget in a target icon area according to a target display style. Optionally, the display device of the widget in the embodiment of the present application can be applied to a smart terminal such as a mobile terminal or a fixed terminal. For the sake of convenience, the embodiment of the present application is described by taking the execution subject as an example of a mobile terminal, which can be a smart phone (such as an Android phone, etc.), a tablet computer, a mobile Internet device (Mobile Internet Devices, MID), etc.

[0069] See also Figure 3 The embodiment shown, Figure 3 The present invention provides a flowchart of a method for displaying a widget in an embodiment of the present invention. The method can be applied to a mobile terminal or a fixed terminal or other intelligent terminal. For the sake of convenience, the present invention takes the mobile terminal as an example for explanation. Optionally, the method for displaying a widget in the present embodiment includes:

[0070] S10: Determine a target widget and a target icon area corresponding to the target widget.

[0071] The mobile terminal may include at least one icon area, wherein each icon area in the at least one icon area may refer to a large folder or an application card, etc. It is understandable that the icon area in the mobile terminal includes at least one icon sub-area, and any icon sub-area in the at least one icon sub-area may display any icon in the icon area. Optionally, different icon areas may have different area identifiers, wherein the area identifiers of different icon areas may be set by the mobile terminal or by the user.

[0072] Optionally, the icons contained in the icon area may refer to one or more of the following: an icon for indicating an application (i.e., an icon corresponding to the application), an icon for indicating an application function (optionally a payment icon or a scan icon, etc.), an icon for indicating a function of the mobile terminal (optionally a flashlight icon or a setting icon, etc.), an icon for indicating content (optionally an icon for notification information or an icon for conversation content, etc.).

[0073] For ease of explanation, the following explanation is based on the example that the icon area refers to a large folder, and the icons in the icon area refer to icons used to indicate applications. It can be understood that the icon area is different from the small folder in that the user can operate the icon displayed in the icon sub-area of ​​the icon area or the application corresponding to the icon without expanding the icon area. Optionally, the user can click on any icon displayed in each icon sub-area of ​​the icon area without expanding the icon area, and the mobile terminal can respond to the user's click operation and start the application corresponding to the icon indicated by the user's click operation.

[0074] Optionally, the mobile terminal may include a lock icon area, and the user can only perform a start operation on the icons in the lock icon area to start the program corresponding to the icon indicated by the start operation, such as starting the application corresponding to the icon, etc. However, the user cannot perform other operations on the icons in the lock icon area, such as removing or uninstalling operations.

[0075] The mobile terminal may include at least one widget, which is a reusable data block on the Internet that enables ordinary users to overcome technical barriers and aggregate and assemble web pages and websites according to their own needs. It has the characteristics of authority, comprehensiveness, timeliness and interaction. In other words, a widget may refer to an application plug-in, and may aggregate and splice application information of various applications according to needs, and display application information of various applications, such as clocks, weather forecasts, etc. Optionally, the mobile terminal may use any widget in the display screen as a target widget, and may use any icon area in the display screen as a target icon area.

[0076] Optionally, Figure 4 A schematic diagram of a widget provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, 410 is a display interface of the mobile terminal, and the display interface 410 includes an icon area 411 and an icon area 412. The area identification of the icon area 411 is "tools", and the area identification of the icon area 412 is "entertainment", and the display interface 410 includes a widget 413, and the widget 413 displays application information of three applications: clock, calendar, and weather forecast. Then, the mobile terminal can use the widget 413 as the target widget, and can use the icon area 411 as the target icon area corresponding to the target widget.

[0077] S20. Obtain a target display style of a target widget according to spatial information of a target icon area.

[0078] Optionally, the spatial information of the target icon area may include but is not limited to: the size of the target icon area, the remaining space of the target icon area, etc. Optionally, the remaining space may refer to a display area in the target icon area where no icons or widgets are displayed, or may refer to the number of icon sub-areas in the target icon area where no icons or widgets are displayed, which is not limited in this application.

[0079] Optionally, the size of the target icon area can describe the number of icon sub-areas contained in the target icon area and the distribution of the icon sub-areas contained in the target icon area. Optionally, assuming that the size of the target icon area can be 3*2, that is, the target icon area can contain 6 icon sub-areas, and the icon sub-areas contained in the target icon area are distributed into 3 rows, each row contains 2 icon sub-areas, the size of each icon sub-area is preset, and the sizes of all icon sub-areas are the same.

[0080] Optionally, the mobile terminal may determine a widget display condition for displaying any widget in the target icon area according to the spatial information of the target icon area, and then obtain a display style that satisfies the widget display condition from a display style set of the target widget, the display style set including at least one display style supported by the target widget, and use the display style that satisfies the widget display condition as the target display style of the target widget.

[0081] The above display style set may be set by the mobile terminal or by the user, and this application does not limit this.

[0082] Optionally, the above-mentioned widget display condition may refer to the maximum size of any widget displayed in the target icon area. For example, assuming that the size of the target icon area is 2*2, the mobile terminal may determine that the widget display condition for displaying any widget in the target icon area is: the maximum size of any widget displayed in the target icon area is 2*2. It is understandable that each row in the target icon area contains at most two icon sub-areas to display part or all of the content of any widget, each column contains at most two icon sub-areas to display part or all of the content of any widget, and the entire target icon area contains at most four icon sub-areas to display part or all of the content of any widget.

[0083] Optionally, when the widget display condition refers to the maximum size of any widget displayed in the target icon area, the display style set may include a display style with a layout of 2-1, which may mean that the target widget is displayed in two rows in the icon area, the first row of the target widget may overlap with two icon sub-areas in the icon area, and the second row of the target widget may overlap with one icon sub-area in the icon area; the display style set may also include a display style with a layout of 3, which may mean that the target widget is displayed in a row in the icon area, and the row may overlap with three icon areas in the icon area. It can be understood that, assuming that the size of the target icon area is 2*2, the display style with a layout of 2-1 in the display style set satisfies the widget display condition for displaying any widget in the target icon area, and the display style with a layout of 3 in the display style set does not satisfy the widget display condition for displaying any widget in the target icon area, so the mobile terminal can use the display style with a layout of 2-1 in the display style set as the target display style.

[0084] Optionally, the above-mentioned widget display condition may refer to the maximum display area for displaying any widget in the target icon area, and the maximum display area may be a closed area formed by the straight line where the upper border of the first row of icon sub-areas in the target icon area is located, the straight line where the lower border of the last row of icon sub-areas is located, the straight line where the left border of the first column of icon sub-areas is located, and the straight line where the right border of the last column of icon sub-areas is located. It can be understood that if the length of any display style of the target widget in the horizontal direction is less than or equal to the length of the above-mentioned maximum display area in the horizontal direction, and the length of any display style in the vertical direction is less than or equal to the length of the above-mentioned maximum display area in the vertical direction, then any display style satisfies the above-mentioned widget display condition.

[0085] Optionally, when the widget display condition refers to the maximum display area for displaying any widget in the target icon area, the display style set of the target widget may include display style A and display style B. Assuming that the length of display style A in the horizontal direction is less than the length of the maximum display area in the horizontal direction, and the length in the vertical direction is greater than the length of the maximum display area in the vertical direction, and the length of display style B in the horizontal direction is less than the length of the maximum display area in the horizontal direction, and the length in the vertical direction is less than the length of the maximum display area in the vertical direction, then display style A does not satisfy the above widget display condition, and display style B satisfies the above widget display condition, then the mobile terminal may use display style B that satisfies the widget display condition in the display style set as the target display style.

[0086] Optionally, the widget display condition may refer to the remaining space for displaying any widget in the target icon area. Optionally, when the widget display condition refers to the remaining space for displaying any widget in the target icon area, the display style set may include a display style with a layout of 2-1, and may also include a display style with a layout of 4. It can be understood that, assuming that the remaining space of the target icon area refers to the number of icon sub-areas in the target icon area where no icons or widgets are displayed, and the remaining space of the target icon area is 3, then the display style with a layout of 2-1 in the display style set satisfies the widget display condition for displaying any widget in the target icon area, and the display style with a layout of 4 in the display style set does not meet the widget display condition for displaying any widget in the target icon area, then the mobile terminal can use the display style with a layout of 2-1 in the display style set as the target display style.

[0087] Optionally, the number of display styles that meet the widget display condition is at least one; the specific implementation process of the mobile terminal taking the display style that meets the widget display condition as the target display style of the target widget may be: displaying a style selection interface corresponding to the target widget, the style selection interface including at least one style identifier of the display style that meets the widget display condition; triggering a style selection instruction on the style selection interface, determining the display style selected by the style selection instruction, and taking the display style selected by the style selection instruction as the target display style.

[0088] Optionally, the mobile terminal may display a style selection interface corresponding to the target widget. If the user performs a style selection operation on the style selection interface, the mobile terminal may trigger a style selection instruction on the style selection interface, wherein the display style selected by the style selection instruction may refer to the display style selected by the style selection operation performed by the user.

[0089] Optionally, the above-mentioned style selection operation may refer to a user's click operation on any style identifier contained in the style selection interface, that is, the display style selected by the style selection operation may refer to the display style identified by the style identifier acted upon by the click operation. The above-mentioned style selection operation may also refer to a user's sliding operation on a style identifier in the style selection interface, and the sliding operation may slide any style identifier in the style selection interface to a style identifier determination area, that is, the display style selected by the style selection operation may refer to the display style identified by the style identifier displayed in the style identifier determination area, wherein the style identifier determination area may be a display area set by the mobile terminal, or a display area set by the user, and this application does not limit this. This application does not limit the specific implementation of the style selection operation.

[0090] Optionally, the mobile terminal may determine the style identifier of the display style based on the layout of the display style. Optionally, when the layout of the display style is 2-1, the style identifier of the display style may be "2-1" or "2 / 1", etc. The mobile terminal may also name at least one display style included in the display style set, and use the name of at least one display style as a style identifier, such as "display style 1" or "display style 2", etc. The present application does not limit the specific method for determining the style identifier.

[0091] Optionally, Figure 5 A schematic diagram of another widget provided in an embodiment of the present application, such as Figure 5 As shown, taking the target widget as widget 512 and the target icon area as icon area 511 as an example, the size of the target icon area is 3*2, assuming that the above-mentioned widget display condition refers to the maximum size of any widget displayed in the target icon area, and the display style set of the target widget includes a display style with a layout of 1-2, a display style with a layout of 2-1, and a display style with a layout of 3, then the number of display styles that meet the widget display condition in the display style set of the target widget is at least one, and the display styles that meet the widget display condition include a display style with a layout of 1-2 and a display style with a layout of 2-1. The mobile terminal can display a style selection interface (i.e., display interface 520) corresponding to the target widget, and the style selection interface includes a style identifier "1-2" and a style identifier "2-1", wherein the display style identified by the style identifier "1-2" refers to the display style with a layout of 1-2, and the display style identified by the style identifier "2-1" refers to the display style with a layout of 2-1. If the user performs a style selection operation on the style selection interface, for example, the user can click on the style identifier "2-1" in the style selection interface, then the mobile terminal can trigger the style selection instruction on the style selection interface, and determine that the display style selected by the style selection instruction is the display style identified by the style identifier "2-1", that is, the display style selected by the style selection instruction refers to the display style with a layout of 2-1, and the display style selected by the style selection instruction is used as the target display style.

[0092] Optionally, if the preset display style of the target widget meets the widget display condition, the mobile terminal can use the preset display style as the target display style. Optionally, the preset display style of the target widget can be set by the mobile terminal or by the user as desired, which is not limited in this application.

[0093] S30: Display the target widget in the target icon area according to the target display style.

[0094] Optionally, the widget display condition may refer to a maximum size of any widget displayed in the target icon area. After the mobile terminal uses a display style that satisfies the widget display condition as a target display style, it may display the target widget in the target icon area according to the target display style.

[0095] Alternatively, if Figure 4 As shown, taking the target widget as widget 413 and the target icon area as icon area 411 as an example, the size of the target icon area is 3*2, assuming that the target display style of the target widget refers to a display style with a layout of 2-1, then the mobile terminal can display the target widget in the target icon area (i.e., icon area 421) according to the target display style, that is, the mobile terminal can display the target widget (i.e., widget 422) in two rows in the target icon area, wherein the first row of the target widget overlaps with two icon sub-areas of the target icon area, and the second row of the target widget overlaps with one icon sub-area of ​​the target icon area. Optionally, the mobile terminal can display the target widget in any two rows in the target icon area.

[0096] Optionally, the widget display condition may refer to a maximum display area for displaying any widget in the target icon area. After the mobile terminal uses a display style that satisfies the widget display condition as a target display style, it may display the target widget in the target icon area according to the target display style.

[0097] Optionally, Figure 6 A schematic diagram of another widget provided in an embodiment of the present application, such as Figure 6 As shown, taking the target widget as widget 612 and the target icon area as icon area 611 as an example, the maximum display area for displaying any widget in the target icon area may be display area 613. Assuming that the length of the target display style in the horizontal direction is equal to the length of the display area 613 in the horizontal direction, and the length of the target display style in the vertical direction is equal to the length of the display area 613 in the vertical direction, the mobile terminal may display the target widget in the target icon area (i.e., icon area 621) according to the target display style, wherein the target widget (i.e., widget 622) is located in the maximum display area for displaying any widget in the target icon area.

[0098] Optionally, the widget display condition may refer to the remaining space for displaying any widget in the target icon area. After the mobile terminal takes the display style satisfying the widget display condition as the target display style, it may display the target widget in the target icon area according to the target display style.

[0099] Alternatively, if Figure 5As shown, taking the target widget as widget 512 and the target icon area as icon area 511 as an example, the remaining space for displaying any widget in the target icon area may be display area 513. Assuming that the target display style determined by the mobile terminal in the display interface 520 is a display style with a layout of 2-1, the mobile terminal may display the target widget in the remaining space of the target icon area according to the target display style, thereby obtaining a display interface 530.

[0100] Optionally, after displaying the target widget in the target icon area according to the target display style, if there is an icon sub-area in the target icon area that does not overlap with the target widget, the mobile terminal may determine a target number of icon sub-areas in the target icon area that do not overlap with the target widget, and display icons having the target number in the icon sub-areas in the target icon area that do not overlap with the target widget.

[0101] Alternatively, if Figure 4 As shown, after the target widget (i.e., widget 422) is displayed in the target icon area (i.e., icon area 421) according to the target display style, since there are three icon sub-areas in the target icon area that do not overlap with the target widget, the mobile terminal can display 3 icons in the icon sub-areas in the target icon area that do not overlap with the target widget. Assuming that the three icons determined by the mobile terminal from all the icons included in the target icon area include icons D, E, and F, the mobile terminal can display icons D, E, and F in the three icon sub-areas in the target icon area that do not overlap with the target widget.

[0102] Optionally, after the mobile terminal displays the target widget in the target icon area according to the target display style, the mobile terminal may trigger a location update instruction on the target widget, determine the target display position indicated by the location update instruction, and display the target widget at the target display position.

[0103] Optionally, if the user performs a location update operation on the target widget, the mobile terminal may trigger a location update instruction on the target widget. Optionally, the above-mentioned location update operation may refer to a user's sliding operation on the target widget, or may refer to a user's location selection operation on the widget editing menu of the target widget. The widget editing menu may include a "move out" option or a "location update" option. The user may implement the location update operation on the target widget by performing a location selection operation on the "move out" option or the "location update" option in the widget editing menu. The present application does not limit the specific implementation of the location update operation.

[0104] The mobile terminal may display the target widget at the target display position in the following two ways:

[0105] 1. If the target display position is at least one icon sub-region in the target icon region, the target widget is displayed at the target display position according to the target display style.

[0106] Optionally, Figure 7 A schematic diagram of another widget provided in an embodiment of the present application, such as Figure 7 As shown, after the target widget (i.e., widget 712) is displayed in the target icon area (i.e., icon area 711) according to the target display style, if the user performs a position update operation on the target widget, for example, the user can implement the position update operation on the target widget by sliding the target widget, then the mobile terminal can trigger a position update instruction on the target widget, and determine the target display position indicated by the position update instruction. Assuming that the target display position is at least one icon sub-area in the target icon area, the at least one icon sub-area includes two icon sub-areas in the second row of icon sub-areas in the target icon area, and the first icon sub-area in the third row of icon sub-areas, then the mobile terminal can display the target widget at the target display position according to the target display style, thereby obtaining a display interface 720. The display interface 720 includes a target icon area (i.e., icon area 721), and a target widget (i.e., widget 722), the first row of the target widget can overlap with two icon sub-areas in the second row of icon sub-areas in the target icon area, and the second row of the target widget can overlap with one icon sub-area in the third row of icon sub-areas in the target icon area.

[0107] 2. If the target display position is an area other than the target icon area on the display screen, such as a desktop position other than the target icon area on the display screen, or another icon area position other than the target icon area, the display style of the target widget is updated or retained, and the target widget is displayed at the target display position according to the updated or retained display style.

[0108] Optionally, Figure 8 A schematic diagram of another widget provided in an embodiment of the present application, such as Figure 8As shown, the display interface 810 includes an icon area 811 and an icon area 812. Taking the target icon area as the icon area 811 and the target widget as the widget 813 as an example, when the user performs a location update operation on the target widget, the mobile terminal can trigger a location update instruction on the target widget. Assuming that the target display position indicated by the location update instruction is the location of the icon area 812, that is, the target display position indicated by the location update instruction is the area of ​​the display screen other than the target icon area, then the mobile terminal can update the display style of the target widget. If the updated display style refers to a display style with a layout of 1-2, then the mobile terminal can display the target widget (i.e., widget 823) at the target display position according to the updated display style, that is, the mobile terminal can display the target widget in the icon area 822 according to the updated display style.

[0109] Optionally, if there is no target display style of the target widget or the spatial information of the target icon area does not meet the placement conditions, the target widget is not displayed in the target icon area, or the target widget is displayed in the target icon area in a preset manner. It is understandable that if each display style in the display style set of the target widget does not meet the above-mentioned widget display conditions, that is, there is no display style that meets the above-mentioned widget display conditions in the display style set of the target widget, then there is no target display style of the target widget. Optionally, the spatial information of the above-mentioned target icon area does not meet the placement conditions, which may refer to the remaining space of the target icon area not meeting the placement conditions, that is, before the icon or widget displayed in the target icon area is not moved, the remaining space of the target icon area is less than the space required by the target widget; it may also refer to the maximum size of the target icon area not meeting the placement conditions, that is, the maximum size of the target icon area is less than the size required by the target widget; it may also refer to the maximum display area of ​​the target icon area not meeting the placement conditions, that is, the maximum display area of ​​the target icon area is less than the display area required by the target widget. The present application does not limit the specific content of the placement conditions.

[0110] Optionally, the above preset method may refer to moving the target icon in the target icon area from the first icon position to the second icon position, the first icon position may refer to the display position of the target icon in the current system time, the second icon position may refer to any display position in the target icon area except the first icon position, or may refer to any display position outside the target icon area, then the mobile terminal displays the target widget in the target icon area according to the preset method may refer to: the mobile terminal moves the target icon in the target icon area from the first icon position to the second icon position, and displays the target widget in the first icon position in the target icon area. The above preset method may also refer to triggering an extension instruction in the target icon area, expanding the target icon area in response to the extension instruction, and obtaining an updated target icon area. For the updated target icon area, there is a target display style of the target widget or the spatial information of the updated target icon area meets the placement condition, then the mobile terminal displays the target widget in the target icon area according to the preset method may refer to: the mobile terminal triggers an extension instruction in the target icon area, expands the target icon area in response to the extension instruction, obtains an updated target icon area, and displays the target widget in the target icon area. The present application does not limit the specific content of the preset method.

[0111] Optionally, after the mobile terminal stops displaying the target widget in the target icon area, it may display the target widget in the original display area.

[0112] Optionally, Fig. 9 A schematic diagram of another widget provided in an embodiment of the present application, such as Fig. 9 As shown, taking the target widget as widget 912 and the target icon area as icon area 911 as an example, assuming that the above-mentioned widget display condition refers to the maximum size of any widget displayed in the target icon area, and the display style set of the target widget only includes the display style with a layout of 3, since the size of the target icon area is 3*2, the target display style does not exist in the display style set of the target widget, then the mobile terminal can display the target widget in the original display area, that is, the display area where the widget 921 is located is consistent with the display area where the widget 912 is located.

[0113] Through the embodiments of the present application, the mobile terminal can obtain the target display style of the target widget according to the spatial information of the target icon area, and display the target widget in the target icon area according to the target display style, thereby realizing diversified display of widgets, and can trigger a position update instruction for the target widget displayed in the target icon area, so as to display the target widget at the target display position indicated by the position update instruction, so as to facilitate the user to display the target widget at the target display position as desired.

[0114] See also Fig.10 The embodiment shown, Fig.10 A flowchart of another method for displaying a widget provided in an embodiment of the present application is provided. The method can be applied to a mobile terminal or a fixed terminal or other intelligent terminal. For the sake of convenience, the present application embodiment is described by taking the execution subject as a mobile terminal as an example. Optionally, the method for displaying a widget shown in this embodiment includes:

[0115] S101 : triggering a sliding instruction on a target widget and determining a sliding track indicated by the sliding instruction.

[0116] Optionally, if the user performs a sliding operation on the target widget, the mobile terminal may trigger a sliding instruction on the target widget, wherein the sliding track indicated by the sliding instruction may refer to the sliding track indicated by the sliding operation performed by the user.

[0117] S102: The icon area where the end point of the sliding track is located is used as the target icon area corresponding to the target widget.

[0118] Alternatively, if Figure 4 As shown, taking the target widget as widget 413 as an example, if the user performs a sliding operation on the target widget, the mobile terminal can trigger a sliding instruction on the target widget and determine the sliding track indicated by the sliding instruction. If the end position of the sliding track indicated by the sliding instruction is located in the icon area 411, the mobile terminal can use the icon area 411 as the target icon area corresponding to the target widget.

[0119] Through the embodiments of the present application, the mobile terminal can trigger a sliding instruction on the target widget, and use the icon area where the end point of the sliding track indicated by the sliding instruction is located as the target icon area corresponding to the target widget. If the icon areas where the end points of the sliding track are located are different, the mobile terminal can use different icon areas as the target icon areas.

[0120] See also Fig.11 The embodiment shown, Fig.11 A flowchart of another method for displaying a widget provided in an embodiment of the present application is provided. The method can be applied to a mobile terminal or a fixed terminal or other intelligent terminal. For the sake of convenience, the present application embodiment is described by taking the execution subject as a mobile terminal as an example. Optionally, the method for displaying a widget shown in this embodiment includes:

[0121] S103: triggering a clustering instruction on the target widget.

[0122] Optionally, if the user performs a clustering operation on the target widget, the mobile terminal can trigger a clustering instruction on the target widget. The clustering operation may refer to a long press operation of the target widget by the user, or may refer to a continuous click operation of the target widget by the user, etc. The present application does not limit the specific implementation of the clustering operation.

[0123] S104: respond to the clustering instruction and determine widget attribute information of the target widget.

[0124] Optionally, the mobile terminal may use the tag information of the target widget as the widget attribute information of the target widget. The tag information may be set by the mobile terminal or set by the user as desired, such as "like" or "dislike", etc. This application does not limit this. For example, assuming that the tag information of the target widget is "like", the mobile terminal may use "like" as the widget attribute information of the target widget.

[0125] Optionally, the mobile terminal may determine the application attribute information of the application corresponding to at least one application information displayed in the target widget, and use the application attribute information whose quantity is greater than a first preset quantity threshold as the widget attribute information of the target widget. The first preset quantity threshold may be a value set by the mobile terminal, or a value set by the user as desired, such as 1 or 2, etc., which is not limited in this application.

[0126] Optionally, it is assumed that the application attribute information of the application corresponding to at least one application information displayed in the target widget includes "tools" and "social", and the number of application attribute information "tools" is 2, that is, there are two application information corresponding to the application with the application attribute information of "tools" in the target widget, and the number of application attribute information "social" is 1, that is, there is only one application information corresponding to the application with the application attribute information of "social" in the target widget. When the first preset number threshold is 1, the mobile terminal can use the application attribute information whose number is greater than the preset number threshold as the widget attribute information of the target widget, that is, the mobile terminal can use the application attribute information "tools" as the widget attribute information of the target widget.

[0127] S105: Use the icon area that matches the widget attribute information as the target icon area corresponding to the target widget.

[0128] Optionally, the mobile terminal may determine region attribute information of at least one icon region in the display screen, and use an icon region whose region attribute information has a similarity with widget attribute information greater than or equal to a preset ratio threshold as a target icon region corresponding to a target widget.

[0129] The manner in which the mobile terminal determines the area attribute information of at least one icon area in the display screen may include the following two methods:

[0130] 1. Using the region identification of at least one icon region in the display screen as the region attribute information of at least one icon region.

[0131] Alternatively, if Figure 4 As shown, at least one icon area in the display screen includes icon area 411 and icon area 412. The area identification of icon area 411 is "tools", and the area identification of icon area 412 is "entertainment". Then the mobile terminal can use "tools" as the area attribute information of icon area 411 and "entertainment" as the area attribute information of icon area 412.

[0132] 2. Determine application attribute information of an application corresponding to at least one icon in at least one icon area, and use application attribute information in at least one icon area whose quantity is greater than a second preset quantity threshold as area attribute information of at least one icon area.

[0133] The above-mentioned second preset quantity threshold may be set by the mobile terminal or by the user as desired, and this application does not impose any limitation on this.

[0134] Alternatively, if Figure 4 As shown, at least one icon area in the display screen includes an icon area 411 and an icon area 412, and the icon area 412 includes icons J, K, L, and M. Assuming that the application attribute information of the application corresponding to icons J, K, and L is "game", and the application attribute information of the application corresponding to icon M is "social", and the second preset quantity threshold is 2, the mobile terminal can use the application attribute information "game" as the area attribute information of the icon area 412. Similarly, the mobile terminal can also use the application attribute information of the application corresponding to at least one icon in the icon area 411 as the area attribute information of the icon area 411, the application attribute information of which quantity meets the second preset quantity threshold.

[0135] The above similarity may refer to the similarity between the widget attribute information and the region attribute information. For example, the similarity between the widget attribute information "tool" and the region attribute information "tool" may be 100%. The above preset ratio threshold may be a ratio set by the mobile terminal or a ratio set by the user, and this application does not limit this. When the preset ratio threshold is 100%, the mobile terminal can only use the icon area whose region attribute information and the widget attribute information have a similarity of 100% as the target icon area, that is, the mobile terminal can use the icon area whose region attribute information is the same as the widget attribute information of the target widget as the target icon area.

[0136] Alternatively, if Figure 4As shown, the display interface 410 includes an icon area 411 and an icon area 412. Taking the target widget as widget 413 as an example, assuming that the widget attribute information of the target widget is "tool", the region attribute information of the icon area 411 is "tool", the region attribute information of the icon area 412 is "entertainment", and the similarity between the region attribute information "tool" and the widget attribute information "tool" is 100%, the similarity between the region attribute information "entertainment" and the widget attribute information "tool" is 20%, and the preset ratio threshold is 60%. Then, if the similarity between the region attribute information "tool" and the widget attribute information "tool" is greater than the preset ratio threshold, the mobile terminal can use the icon area 411 as the target icon area.

[0137] Optionally, before taking the icon area whose similarity between the area attribute information and the widget attribute information is greater than or equal to a preset ratio threshold as the target icon area corresponding to the target widget, the mobile terminal may determine the similarity between the area attribute information of at least one icon area in the display screen and the widget attribute information of the target widget.

[0138] The manner in which the mobile terminal determines the similarity between the region attribute information of at least one icon region in the display screen and the widget attribute information of the target widget may include the following two:

[0139] 1. The mobile terminal may include a region attribute set, a widget attribute set, and a similarity between at least one region attribute information in the region attribute set and at least one widget attribute information in the widget attribute set. Then, the mobile terminal may determine the similarity between the region attribute information of at least one icon region in the display screen and the widget attribute information of the target widget based on the similarity between at least one region attribute information in the region attribute set and at least one widget attribute information in the widget attribute set.

[0140] For example, assuming that the regional attribute set in the mobile terminal includes regional attribute information "tools" and regional attribute information "entertainment", the widget attribute set includes widget attribute information "tools", and the similarities between the widget attribute information "tools" and the regional attribute information "tools" and the regional attribute information "entertainment" are 100% and 20%, respectively. If at least one icon area in the display screen includes an icon area with regional attribute information "tools", when the widget attribute information of the target widget is "tools", the mobile terminal can determine that the similarity between the regional attribute information "tools" and the widget attribute information of the target widget is 100% based on the similarity between at least one regional attribute information in the regional attribute set and at least one widget attribute information in the widget attribute set.

[0141] 2. The mobile terminal may determine the similarity between the region attribute information of at least one icon region in the display screen and the widget attribute information of the target widget according to the character string corresponding to the region attribute information and the character string corresponding to the widget attribute information.

[0142] Optionally, the mobile terminal can determine the similarity between the regional attribute information of at least one icon area in the display screen and the widget attribute information of the target widget based on the ratio of the number of identical characters in the string corresponding to the regional attribute information and the string corresponding to the widget attribute information to the number of characters in the widget attribute information (or regional attribute information). The mobile terminal can also compare at least one character in the string corresponding to the regional attribute information with at least one character in the string corresponding to the widget attribute information one by one, that is, the first character in the string corresponding to the regional attribute information can be compared with the first character in the string corresponding to the widget attribute information, until the last character in the string corresponding to the regional attribute information is compared with the last character in the string corresponding to the widget attribute information, and the number of each pair of characters whose comparison results are the same characters is accumulated to obtain an accumulated number, then the mobile terminal can determine the similarity between the attribute information of at least one icon area in the display screen and the widget attribute information of the target widget based on the ratio of the above accumulated number to the number of characters in the widget attribute information (or regional attribute information). The present application does not limit the specific method for determining the similarity between the regional attribute information and the widget attribute information.

[0143] Through the embodiments of the present application, the mobile terminal can trigger a clustering instruction on the target widget, so that the icon area that matches the widget attribute information of the target widget is used as the target icon area, that is, the icon area whose similarity between the area attribute information and the widget attribute information of the target widget is greater than or equal to a preset ratio threshold is used as the target icon area, so that the user can quickly find the target icon area corresponding to the target widget.

[0144] See also Fig.12 , Fig.12 A unit schematic diagram of a widget display device provided in an embodiment of the present application. Fig.12 The display device of the widget shown can be used to perform the above Figure 3 , Fig.10 and Fig.11 Some or all of the functions in the described method embodiments. The device may be a smart terminal such as a mobile terminal or a fixed terminal, or a device in a smart terminal, or a device that can be used in conjunction with a smart terminal. The logical structure of the device may include: a processing unit 1210 and an output unit 1220. Optionally:

[0145] The processing unit 1210 is configured to determine a target widget and a target icon area corresponding to the target widget;

[0146] The processing unit 1210 is further configured to obtain a target display style of a target widget according to spatial information of a target icon area;

[0147] The output unit 1220 is configured to display the target widget in the target icon area according to the target display style.

[0148] Optionally, when acquiring the target display style of the target widget according to the spatial information of the target icon area, the processing unit 1210 is configured to: determine a widget display condition for displaying any widget in the target icon area according to the spatial information of the target icon area; acquire a display style that satisfies the widget display condition from a display style set of the target widget, the display style set including at least one display style supported by the target widget; and use the display style that satisfies the widget display condition as the target display style of the target widget.

[0149] Optionally, the number of display styles that meet the widget display condition is at least one; when the processing unit 1210 uses the display style that meets the widget display condition as the target display style of the target widget, it is used to: display a style selection interface corresponding to the target widget, where the style selection interface includes at least one style identifier of the display style that meets the widget display condition; trigger a style selection instruction on the style selection interface, determine the display style selected by the style selection instruction, and use the display style selected by the style selection instruction as the target display style.

[0150] Optionally, the output unit 1220 is further configured to not display the target widget in the target icon area, or to display the target widget in the target icon area in a preset manner if the target display style of the target widget does not exist or the spatial information of the target icon area does not meet the placement condition.

[0151] Optionally, when determining the target icon area corresponding to the target widget, the processing unit 1210 is configured to: trigger a sliding instruction on the target widget, determine a sliding track indicated by the sliding instruction; and use the icon area where the end point of the sliding track is located as the target icon area corresponding to the target widget.

[0152] Optionally, when determining the target icon area corresponding to the target widget, the processing unit 1210 is configured to: trigger a clustering instruction on the target widget; determine widget attribute information of the target widget in response to the clustering instruction; and use an icon area matching the widget attribute information as the target icon area corresponding to the target widget.

[0153] Optionally, when the processing unit 1210 uses the icon area matching the widget attribute information as the target icon area corresponding to the target widget, it is used to: determine the regional attribute information of at least one icon area in the display screen; and use the icon area whose similarity between the regional attribute information and the widget attribute information is greater than or equal to a preset ratio threshold as the target icon area corresponding to the target widget.

[0154] Optionally, after the output unit 1220 displays the target widget in the target icon area according to the target display style, the processing unit 1210 is further used to trigger a position update instruction for the target widget and determine the target display position indicated by the position update instruction; the output unit 1220 is further used to display the target widget at the target display position according to the target display style if the target display position is at least one icon sub-area in the target icon area; and / or, if the target display position is an area other than the target icon area in the display screen, update or retain the display style of the target widget, and display the target widget at the target display position according to the updated or retained display style.

[0155] It can be understood that the functions of the functional units of the display device of the widget in the embodiment of the present application can be specifically implemented according to the method in the above method embodiment, and the specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.

[0156] The present application also provides a smart terminal, which includes a memory and a processor. The memory stores a display program for a widget. When the display program for the widget is executed by the processor, the steps of the method for displaying a widget in any of the above embodiments are implemented.

[0157] The present application also provides a computer-readable storage medium, on which a display program for a widget is stored. When the display program for the widget is executed by a processor, the steps of the method for displaying a widget in any of the above embodiments are implemented.

[0158] In the embodiments of the smart terminal and computer-readable storage medium provided in the present application, all technical features of any of the above-mentioned widget display method embodiments may be included, and the description expansion and explanation content are basically the same as those of the above-mentioned method embodiments, and will not be repeated here.

[0159] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.

[0160] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.

[0161] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0162] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0163] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0164] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0165] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.

[0166] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0167] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.

[0168] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.

[0169] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a storage disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state storage disk Solid State Disk (SSD)), etc.

[0170] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for displaying a widget, characterized in that: The method comprises the following steps: S10: Determine a target widget and a target icon area corresponding to the target widget; S20: acquiring a target display style of the target widget according to the spatial information of the target icon area; S30: Displaying the target widget in the target icon area according to the target display style; The determining of the target icon area corresponding to the target widget includes: triggering a clustering instruction on the target widget, responding to the clustering instruction, determining widget attribute information of the target widget, determining region attribute information of at least one icon area on the display screen, and taking an icon area whose region attribute information has a similarity with the widget attribute information greater than or equal to a preset ratio threshold as the target icon area corresponding to the target widget.

2. The method according to claim 1, characterized in that The acquiring the target display style of the target widget according to the spatial information of the target icon area includes: determining a widget display condition for displaying any widget in the target icon area according to the spatial information of the target icon area; Acquire a display style that satisfies the display condition of the widget from the display style set of the target widget; The display style that satisfies the widget display condition is used as a target display style of the target widget.

3. The method according to claim 2, characterized in that The number of the display styles satisfying the widget display condition is at least one; and taking the display style satisfying the widget display condition as the target display style of the target widget includes: Displaying a style selection interface corresponding to the target widget, wherein the style selection interface includes at least one style identifier of a display style that meets the display condition of the widget; A style selection instruction is triggered on the style selection interface, a display style selected by the style selection instruction is determined, and the display style selected by the style selection instruction is used as the target display style.

4. The method according to claim 1 or 2, characterized in that: The method further comprises the following steps: If the target display style of the target widget does not exist or the spatial information of the target icon area does not meet the placement condition, the target widget is not displayed in the target icon area, or is displayed in the target icon area in a preset manner.

5. The method according to claim 1 or 2, characterized in that: The determining a target icon area corresponding to the target widget includes: Triggering a sliding instruction on the target widget; The icon area where the end point of the sliding track corresponding to the sliding instruction is located is used as the target icon area corresponding to the target widget.

6. The method according to claim 1 or 2, characterized in that: After displaying the target widget in the target icon area according to the target display style, the method further includes the following steps: triggering a location update instruction on the target widget, and determining a target display location indicated by the location update instruction; If the target display position is at least one icon sub-region in the target icon region, displaying the target widget at the target display position according to the target display style; and / or, If the target display position is an area of ​​the display screen other than the target icon area, the display style of the target widget is updated or retained, and the target widget is displayed at the target display position according to the updated or retained display style.

7. An intelligent terminal, characterized in that: The smart terminal comprises: a memory and a processor, wherein the memory stores a display program of a widget, and when the display program of the widget is executed by the processor, the steps of the method for displaying a widget according to any one of claims 1 to 6 are implemented.

8. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for displaying a widget according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Catalytic dehydrohalogenation process

    EP0002021A1

  • Method and device for moving icon to Android system desktop

    CN103034396A

  • Desktop component management method and device

    CN112148166A

  • User interface display method and device, electronic equipment and storage medium

    CN112286614A

  • System and method for displaying widget information and mobile widget

    KR1020100072700A