Display method, intelligent terminal and storage medium

By obtaining and utilizing factors such as image category weight, quantity, and browsing time, the order of image display is optimized, solving the problem of single image recommendation results and improving the richness of image display and user experience.

CN118690035APending Publication Date: 2024-09-24SHENZHEN TRANSSION HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410737593.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The image display method based on image classification results in single image recommendation results and low richness, making it difficult for users to retrieve the images of interest from massive images.

Method used

By obtaining multiple preset image categories, obtain the target image category from the target image set based on these categories, and display images that match the category, and use factors such as category weight, image number, and browsing time to optimize the display order of images and improve the quality of images. Type richness.

Benefits of technology

The richness of image display results is improved, making it easier for users to find images of interest, and improving the effect of image retrieval and recommendation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690035A
    Figure CN118690035A
Patent Text Reader

Abstract

The invention provides a display method, an intelligent terminal and a storage medium, and the method comprises the following steps: S10, obtaining a plurality of preset image categories, and obtaining at least one target image category from a target image set according to the preset image categories; and S20, displaying an image matched with the target image category in the target image set. According to the method, the image is displayed based on the multiple preset image categories, so that the displayed image types are rich, and the richness of the image display result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a display method, an intelligent terminal and a storage medium. Background Art

[0002] With the rapid development of the Internet, more and more multimedia information appears in our lives. Images are typical representatives of multimedia information, containing rich visual information. However, it is very difficult to retrieve images of interest from a large number of images. Just browsing these massive images requires a lot of work.

[0003] In the process of conceiving and implementing the present application, the inventors discovered that there are at least the following problems: the image display method based on image classification is to display images with consistent image classification in the image library to the user according to the image classification of the images browsed by the user. In this way, when the image classification of the images browsed by the user is basically the same image classification, the images of this image classification in the image library will always be displayed to the user, and the recommended images are single and low in richness.

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

[0005] In response to the above technical problems, the present application provides a display method, an intelligent terminal and a storage medium, aiming to solve the technical problems of single image recommendation results and low richness.

[0006] The present application provides a display method, which comprises the following steps:

[0007] S10: Acquire multiple preset image categories, and acquire at least one target image category from a target image set according to the preset image categories;

[0008] S20: Displaying images in the target image set that match the target image category.

[0009] In one embodiment, step S20 includes at least one of the following:

[0010] According to the category weight of each target image category, sequentially displaying images in the target image set that match each target image category;

[0011] Displaying images matching each target image category in sequence according to the number of matching images;

[0012] According to the order of the images in the target image set, the images matching the target image categories are displayed in sequence.

[0013] In one embodiment, the step of acquiring at least one target image category from the target image set according to the preset image category includes:

[0014] The image category of each image in the target image set is obtained, and the image category matching each of the preset image categories among the image categories is used as the target image category.

[0015] In one embodiment, the method further includes obtaining a category weight of the target image category, wherein obtaining the category weight of the target image category includes at least one of the following:

[0016] According to the preset weights of the preset image categories, the category weights of the target image categories are set;

[0017] According to the number of original images associated with the preset image category, the category weight of each target image category is set;

[0018] The category weight of each target image category is set according to the most recent browsing time associated with the preset image category.

[0019] In one embodiment, the obtaining of a plurality of preset image categories includes:

[0020] Get the original image dataset;

[0021] Input each image in the original image data set into a preset image recognition model, and output an image category corresponding to each image;

[0022] The image category corresponding to each image in the original image data set is used as the preset image category.

[0023] In one embodiment, the method further includes obtaining the preset image recognition model, wherein obtaining the preset image recognition model includes:

[0024] receiving target model parameters;

[0025] The image recognition model is trained by the target model parameters to obtain or generate the preset image recognition model.

[0026] In one embodiment, step S20 includes at least one of the following:

[0027] Displaying an image in a target image set that matches the target image category on a lock screen interface;

[0028] Displaying images in a target image set that match the target image category in a wallpaper selection interface;

[0029] The images in the target image set that match the target image category are displayed in the image design application interface.

[0030] In one embodiment, the display method further includes:

[0031] Displaying a preset menu on the display interface of the image;

[0032] In response to a selection operation on the preset menu, a corresponding operation is performed on the image.

[0033] In addition, to achieve the above-mentioned purpose, the present application also provides an intelligent terminal, including: a memory and a processor, wherein a display program is stored in the memory, and when the display program is executed by the processor, the steps of any of the display methods described above are implemented.

[0034] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the display methods described above are implemented.

[0035] As described above, the display method of the present application includes the following steps: S10: obtaining multiple preset image categories, and obtaining at least one target image category from the target image set according to the preset image categories; S20: displaying images in the target image set that match the target image category.

[0036] Through the above technical solution, at least one target image category is obtained from multiple preset image categories, and images matching the target image category in the target image set are displayed, that is, images matching at least one target image category are recommended. In this way, image display is performed based on multiple preset image categories, so that the displayed image types are enriched, thereby improving the richness of the image display results. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] 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.

[0038] Figure 1 A schematic diagram of the hardware structure of a smart terminal for implementing each embodiment of the present application;

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

[0040] Figure 3 is a flowchart of a display method according to the first embodiment of the present application;

[0041] Figure 4 This is a schematic diagram of the image display area division method shown in the first embodiment of the present application.

[0042] Figure 5 It is a schematic diagram of a feature extractor in an image recognition model involved in an embodiment of the present application.

[0043] 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

[0044] 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.

[0045] 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.

[0046] 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 that there are the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, 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.

[0047] 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.

[0048] 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.

[0049] 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.

[0050] 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.

[0051] 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.

[0052] The intelligent terminal may be implemented in various forms. For example, the intelligent terminal described in the present application may include intelligent 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.

[0053] The subsequent description will be illustrated by taking a smart 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.

[0054] See also Figure 1 , which is a schematic diagram of the hardware structure of a smart terminal for implementing various embodiments of the present application, the smart terminal 100 may include: RF (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 smart terminal shown in the figure does not constitute a limitation on the smart terminal. The smart terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0055] Combine the following Figure 1 A detailed introduction to each component of the smart terminal:

[0056] 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 may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile Communications), GPRS (Generic 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), 5G and 6G, etc.

[0057] WiFi is a short-range wireless transmission technology. The smart terminal can help users send and receive emails, browse web pages, and access streaming media through the 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 smart terminal and can be omitted as needed without changing the essence of the invention.

[0058] 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 smart terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the smart terminal 100 (for example, a call signal receiving sound, a message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0059] 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 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.

[0060] The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, 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 smart 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 also 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.

[0061] 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.

[0062] 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 intelligent terminal. Optionally, 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 commands 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 further include other input devices 1072. Optionally, 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.

[0063] Optionally, 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 it to the processor 110 to determine or generate the type of touch event, and then the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the smart terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the smart terminal, which is not limited here.

[0064] The interface unit 108 is used as an interface through which at least one external device can be connected to the smart terminal 100. For example, 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 smart terminal 100 or may be used to transmit data between the smart terminal 100 and an external device.

[0065] 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.

[0066] The processor 110 is the control center of the smart terminal. It uses various interfaces and lines to connect various parts of the entire smart terminal. It executes various functions of the smart 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 smart 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.

[0067] The intelligent 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 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.

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

[0069] To facilitate understanding of the embodiments of the present application, the communication network system on which the smart terminal of the present application is based is described below.

[0070] 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 Equ i pment) 201, an E-UTRAN (Evolved UMTS Terrestrial Rad i oAccess Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.

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

[0072] 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.

[0073] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MME 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 for processing signaling between UE 201 and EPC 203, providing 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 save 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 UE201. PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

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

[0075] 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, 5G and future new network systems (such as 6G), etc., without limitation here.

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

[0077] First embodiment

[0078] In this embodiment, refer to Figure 3 , the display method comprises the following steps:

[0079] S10: Acquire multiple preset image categories, and acquire at least one target image category from a target image set according to the preset image categories;

[0080] As for the categories of images, as a first feasible implementation, the image categories can be divided according to the object content of the image, such as people, animals, vehicles, furniture, etc. As a second feasible implementation, the image categories can be divided according to the scene of the image, such as indoor, outdoor, city, country, ocean, mountain, etc. As a third feasible implementation, the image categories can be divided according to the texture of the image, such as smooth, rough, spotty, striped, etc. As a fourth feasible implementation, the image categories can be divided according to the artistic style of the image, such as oil painting, realism, abstract, impressionism, expressionism, sketch, painting, etc.

[0081] It should be noted that the above are only four feasible implementations of the image classification standard provided in this embodiment, and this embodiment does not specifically limit the specific implementation of the image classification standard. And it can be understood that for an image, it can be divided into different image categories according to different classification standards, that is, an image can have one or more image categories.

[0082] The plurality of preset image categories may specifically be image categories used to indicate user preferences, such as image categories corresponding to images that the user selects to like, collect, or save.

[0083] The target image set includes one or more images, which may be from free image libraries, such as Unsplash, Pixabay, Pexe ls, etc., or from personal image libraries, paid image libraries, etc. This embodiment does not impose any specific restrictions on this.

[0084] As one implementation manner, the step of acquiring at least one target image category from the target image set according to the preset image category includes:

[0085] Step S101, obtaining the image category of each image in the target image set, and taking the image category that matches each of the preset image categories among the image categories as the target image category.

[0086] Specifically, when the image categories of the two images are consistent (eg, both are landscape image categories, both are person image categories, etc.), it is considered that the image categories of the two images match.

[0087] As another implementation manner, as one implementation manner, the step of acquiring at least one target image category from the target image set according to the preset image category includes:

[0088] Step S102, obtaining the similarity between the image category of each image in the target image set and the preset image category, and taking the image category whose similarity is greater than a preset threshold as the target image category.

[0089] For the similarity between image categories, the corresponding relationship between the similarities of different image categories can be preset in advance, or a similarity recognition model can be trained, and two image categories can be input into the trained model, and the similarity between the two can be output through the model. This embodiment does not impose specific restrictions on this.

[0090] It should be noted that the above are only two feasible implementation methods for selecting the target image category provided in this embodiment, and this embodiment does not impose any specific limitation on the specific implementation method for selecting the target image category.

[0091] It should be noted that, for the image category of each image in the target image set, the image category of each image in the target image set can be set in advance by relevant personnel, or each image in the target image set can be input into a preset image recognition model respectively to output the image category of each image. This embodiment does not impose any specific restrictions on this.

[0092] S20: Displaying images in the target image set that match the target image category.

[0093] Specifically, if the image category of a certain image in the target image set is the target image category, then the image is determined to be an image matching the target image category.

[0094] It should be noted that all images matching the target image category in the target image set may be displayed, or a preset number of images matching the target image category in the target image set may be displayed, and this embodiment does not impose any specific limitation on this.

[0095] Further, when there are multiple target image categories, images matching all target image categories may be displayed, or images matching a preset number of target image categories may be displayed, and this embodiment does not impose any specific limitation on this.

[0096] In addition, refer to Figure 4 As shown, the current display area can also be divided into a fixed display area 10 and a dynamic display area 20. The fixed display area 10 displays a fixed image, and the dynamic display area 20 can be further divided into a plurality of sub-dynamic display areas 201. Each sub-dynamic display area displays an image. The fixed display area 10 and the dynamic display area 20 can be displayed side by side, or the dynamic display area 20 can be suspended above the fixed display area 10 ( Figure 4 As shown in the figure, the dynamic display area 20 is displayed floating above the fixed display area 10, and the dynamic display area 20 does not completely cover the fixed display area 10. The dynamic display area 20 is slidable. When the user clicks on an image in the sub-dynamic display area 201, the image clicked by the user is displayed in the fixed display area 10 so that the user can view the image more clearly. In this way, by dividing the display area into a fixed display area and a dynamic display area, the user can quickly browse images in the dynamic display area. The user can quickly view all recommended images, and can view image details in the fixed display area 10 by clicking on the image, thereby realizing intelligent display of images.

[0097] The display method of this embodiment includes the following steps: S10: acquiring multiple preset image categories, and acquiring at least one target image category from a target image set according to the preset image categories; S20: displaying images in the target image set that match the target image category.

[0098] Through the above technical solution, at least one target image category is obtained from multiple preset image categories, and images matching the target image category in the target image set are displayed, that is, images matching at least one target image category are recommended. In this way, image display is performed based on multiple preset image categories, so that the displayed image types are enriched, thereby improving the richness of the image display results.

[0099] Second embodiment

[0100] In this embodiment, the step S20 includes at least one of the following:

[0101] Step A10, displaying images matching each target image category in the target image set in sequence according to the category weight of each target image category;

[0102] Specifically, the category weight of each image category may be preset in advance, and then the category weight of the target image category may be acquired based on the preset weight.

[0103] Specifically, for different image categories, images matching the target image category in the target image set can be displayed in order from high to low according to the category weights; for images belonging to the same image category, they can be displayed in order according to their order in the target image set.

[0104] Step A20, displaying images matching each of the target image categories in sequence according to the number of matching images;

[0105] It should be noted that the number of matched images is used to indicate the number of images in the target image set that match a target image category. Specifically, for different image categories, the images in the target image set that match the target image category can be displayed in order from high to low according to the number of images, and for images belonging to the same image category, they can be displayed in order according to their order in the target image set.

[0106] Step A30, displaying images matching each of the target image categories in sequence according to the order of the images in the target image set.

[0107] The images are displayed according to their inherent order in the target image set, so there is no need to re-sort the images, which can improve the speed of image display and ensure the timely display of images.

[0108] Third embodiment

[0109] In this embodiment, the display method further includes obtaining a category weight of the target image category, and obtaining the category weight of the target image category includes at least one of the following:

[0110] Step B10, setting the category weight of each target image category according to the preset weight of the preset image category;

[0111] The weight of each image category can be preset in advance, so that based on the weight set in advance, the weight of each preset image category, that is, the preset weight, can be obtained. For a target image category, the category weight of the target image category can be set according to the preset weight corresponding to the preset image category matching it, such as using the preset weight of the preset image category matching the target image category as the category weight of the target image category.

[0112] Step B20, setting a category weight for each target image category according to the number of original images associated with the preset image category;

[0113] The original image associated with the preset image category is used to indicate that the original image belongs to the preset image category. The original image is an image in the original image dataset, and the original image dataset is an image dataset that represents the user's preferences. For example, the original image dataset may include but is not limited to images that the user chooses to like, collect and / or save.

[0114] The number of original images associated with the preset image category, that is, the number of original images associated with the preset image category. For a target image category, the category weight of the target image category can be set according to the number of original images associated with the preset image category that matches it, such as using the number of original images associated with the preset image category as the category weight of the target image category.

[0115] Step B30, setting the category weight of each target image category according to the most recent browsing time associated with the preset image category.

[0116] The most recent browsing time may specifically be the time when the original image associated with the preset image category was most recently selected as liked, collected and / or saved.

[0117] For a target image category, the category weight of the target image category can be set according to the most recent browsing time associated with the preset image category that matches it. For example, the later the most recent browsing time, the greater the category weight of the target image. When the user changes his or her preferences, the category weight can be changed in a timely manner, thereby realizing the automation and timely update of the category weight.

[0118] Fourth embodiment

[0119] In this embodiment, the obtaining of multiple preset image categories includes:

[0120] Step C10, obtaining an original image data set;

[0121] The original image dataset is an image dataset that represents the user's preferences. For example, the original image dataset may include but is not limited to images that the user chooses to like, collect and / or save.

[0122] Step C20, inputting each image in the original image data set into a preset image recognition model, and outputting an image category corresponding to each image;

[0123] The preset image recognition model can be a pre-trained image recognition model. Considering that the user's preferences may be relatively simple, the image recognition model trained only based on the local original image data set may have a good recognition effect only on the image category that the user likes the most. For example, most of the images in the original image data set are in the landscape image category. At this time, training the image recognition model only based on the original image data set may result in the trained image recognition model having a high recognition accuracy for the landscape image category, but a low recognition accuracy for other image categories, and a high probability of misidentifying other image categories as landscape image categories, that is, a high misrecognition rate. Based on this, the present embodiment can specifically adopt a federated learning method to train the image recognition model so that the trained image recognition model can have a higher recognition accuracy.

[0124] Furthermore, the preset image recognition model may specifically include a feature extractor and a coordinator. The feature extractor is a neural network model that extracts features from data. The feature extractor maps the original data to multiple coding spaces by changing the dimensions of the data multiple times, and automatically extracts important information in the process, and discards redundant information to generate highly concentrated coding information. This model can change the training target according to the target task, so it has a wide range of applications. Because it can achieve satisfactory performance on a variety of data, the feature extractor is used in a large number of research projects and actual production. The coordinator is used to map features to the coding space.

[0125] Considering that the original spatial characteristics of the data are relatively complex, for example, refer to Figure 5 As shown, the feature extractor is composed of a convolutional network module and various subsidiary modules, wherein the subsidiary modules include vector shaping layer, downsampling layer, multi-layer perceptron and other modules. Furthermore, the convolutional network modules are connected with residuals, that is, the feature extractor is composed of multiple layers of convolutional network modules with residual connections and various subsidiary modules. It should be noted that the number of layers of the convolutional network module can be set by the user. For example, Figure 4 It includes 3 layers of convolutional network modules. The feature extractor will accept the raw data as input and project it to potential features (or features). For example, if the raw input data is a picture of size (C, H, H), where the number of color channels is C and the picture size is H*H, after being processed by the multi-layer superimposed convolutional network modules, it can be transformed into a vector form with a specific length through a vector shaping layer and input into a multi-layer perceptron to generate a final potential feature vector of a preset length.

[0126] Specifically, the deconvolution network and upsampling layer can be defined by the following operations: the deconvolution module accepts a tensor input with C channels, and after multiple deconvolution operations and activation functions, the data continues to be output in the form of a tensor. Similarly, for the upsampling layer, upsampling operations and convolution network channel reduction operations are included. First, the input data is subjected to the upsampling operation in the upsampling layer to make the input dimension consistent, that is, for the input tensor, the number of channels is converted through the convolution network channel reduction operation in the upsampling layer, and the output is a tensor with the same dimension as the input of the next deconvolution network module, and is added element by element to the input of the next deconvolution network module to obtain the final input tensor, which is then input into the next deconvolution network module together.

[0127] After processing the input using several deconvolutional network modules, a projection of the original space with the same scale as the original data can be generated. And due to the existence of the upsampling layer, the gradient of the discriminant component can be effectively transmitted, preventing the problem of gradient disappearance and effectively utilizing the large number of parameters of large neural networks.

[0128] The coordinator includes a raw space projection discriminating component and / or a label space projection discriminating component.

[0129] Considering that the coordinator projects the received latent features to both the original space and the label space, using the dual features as a criterion can adjust the most appropriate encoding of the latent features. Based on this, in this embodiment, preferably, the coordinator includes an original space projection discriminant component and a label space projection discriminant component.

[0130] Exemplarily, a multi-layer deconvolution network module with residual connections and various subsidiary modules are used to form the original space projection discrimination component. The input potential features are composed of the features extracted by the feature extractors of each client. After preliminary processing by the multi-layer perceptron, they are input into the original space projection discrimination component. The data is transformed into data in the form of tensors through the vector shaping layer as the input of the subsequent deconvolution network module, and projected into the final required original space data.

[0131] Exemplarily, the label space projection discriminant component includes a multi-layer perceptron, and each multi-layer perceptron is activated by a corresponding activation function, and the potential features processed by the multi-layer perceptron are input into the label space projection discriminant component, and the desired data located in the label space is output.

[0132] Step C30: taking the image category corresponding to each image in the original image data set as a preset image category.

[0133] By inputting each image in the original image data set into a preset image recognition model, the image category of each image in the original image is obtained, and the image category corresponding to each image in the original image data set is used as the preset image category. In this way, the richness of the preset image category is guaranteed, and then the richness of the displayed image is guaranteed, and it is guaranteed that the preset image category is the image category of the user's favorite image. Therefore, when the image is displayed based on the preset image category, the displayed image meets the user's preference, realizes the personalized display of the image, and improves the user experience.

[0134] In a possible implementation, the display method further includes acquiring the preset image recognition model, and acquiring the preset image recognition model includes:

[0135] Step D10, receiving target model parameters;

[0136] It should be noted that the image recognition model can be trained based on the local original image set first, and the model parameters obtained by training can be uploaded to the server, so that the server can coordinate the parameters uploaded by each client to obtain the target model parameters, so that the server can coordinate the model parameters of multiple clients, coordinate the coding space of all participating clients, and guide different clients to generate potential features in different coding areas according to the different data on each client. Consensus on the consistent coding space of image recognition models on multiple terminals. After unifying the coding spaces of multiple image recognition models, a low-loss aggregation process can be performed to realize the federated learning process in data heterogeneous scenarios.

[0137] For example, assuming that the parameters uploaded by the local client for the image recognition model are [parameter 1_1, parameter 1_2...parameter 1_i...parameter 1_n], where parameter 1_i represents the model parameters uploaded by the i-th client for the image recognition model, the server coordinates [parameter 1_1, parameter 1_2...parameter 1_i...parameter 1_n]. If the coordinated parameter of [parameter 1_1, parameter 1_2...parameter 1_i...parameter 1_n] is parameter 1_G, then the target model parameter of the image recognition model is 1_G.

[0138] It can be understood that each client may upload one or more model parameters for the image recognition model. For example, parameters 1_i and 1_G in the above example may be one or more. The specific parameter quantity is subject to the actual uploaded parameter quantity, and this embodiment does not make specific restrictions on this.

[0139] Step D20, training an image recognition model through the target model parameters to obtain or generate the preset image recognition model.

[0140] After receiving the target model parameters sent by the server, the model parameters of the image recognition model can be configured as the target model parameters to obtain a preset image recognition model.

[0141] Fifth embodiment

[0142] In this embodiment, step S20 includes at least one of the following:

[0143] Step E10, displaying an image in the target image set that matches the target image category on the lock screen interface;

[0144] The image is displayed on the local lock screen interface, and the user can change the displayed image by sliding, or the image displayed on the lock screen interface can be automatically updated at preset time intervals.

[0145] Step E20, displaying images in the target image set that match the target image category on the wallpaper selection interface;

[0146] The image is displayed on the wallpaper selection interface so that the user can set the selected image as wallpaper.

[0147] Step E30: displaying images in the target image set that match the target image category on the image design application interface.

[0148] The images are displayed in the image design application interface so that the user can select the images and further design the images.

[0149] In a possible implementation, the display method further includes:

[0150] Step F10, displaying a preset menu on the display interface of the image;

[0151] The preset menu may specifically include collection, saving, editing, marking as favorite, setting as wallpaper, setting as lock screen, etc., and this embodiment does not impose any specific limitation on this.

[0152] Step F20 , in response to the selection operation on the preset menu, performing a corresponding operation on the image.

[0153] Based on the selection operation for the preset menu, corresponding operations are performed on the image. For example, when the user selects Collection in the preset menu, the image is collected; when the user selects Save, the image is saved, and can be saved in the system default directory or the user-specified directory; when the user selects Edit, the editing page is entered, and the user can perform operations such as cropping, filtering, graffiti, mosaic, etc. on the editing page; when the user selects Mark as Favorite, the image is marked as the user's favorite image; when the user selects Set as Wallpaper, the user's current wallpaper is updated to the image selected by the user; when the user selects Set as Lock Screen, the user's current lock screen image is updated to the image selected by the user.

[0154] An embodiment of the present application further provides an intelligent terminal, including a memory and a processor, wherein a display program is stored in the memory, and when the computer program is executed by the processor, the steps of the display method of any of the above embodiments are implemented.

[0155] An embodiment of the present application further provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the display method in any of the above embodiments are implemented.

[0156] In the embodiments of the smart terminal and storage medium provided in the present application, all technical features of any of the above-mentioned display method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the embodiments of the above-mentioned methods, and will not be repeated here.

[0157] 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.

[0158] 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.

[0159] 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.

[0160] 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.

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

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

[0163] 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.

[0164] 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.

[0165] 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.

[0166] 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.

[0167] 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. Computer instructions can be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, 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 storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, storage disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state storage disk So lid State Dis sk (SSD)), etc.

[0168] 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 display method, characterized in that: The following steps are involved: S10: Acquire multiple preset image categories, and acquire at least one target image category from a target image set according to the preset image categories; S20: Displaying images in the target image set that match the target image category.

2. The display method according to claim 1, characterized in that: Step S20 includes at least one of the following: According to the category weight of each target image category, sequentially displaying images in the target image set that match each target image category; Displaying images matching each target image category in sequence according to the number of matching images; According to the order of the images in the target image set, the images matching the target image categories are displayed in sequence.

3. The display method according to claim 1, characterized in that: The step of acquiring at least one target image category from the target image set according to the preset image category comprises: The image category of each image in the target image set is obtained, and the image category matching each of the preset image categories among the image categories is used as the target image category.

4. The display method according to claim 2, characterized in that: The method further includes obtaining a category weight of the target image category, wherein obtaining the category weight of the target image category includes at least one of the following: According to the preset weights of the preset image categories, the category weights of the target image categories are set; According to the number of original images associated with the preset image category, the category weight of each target image category is set; The category weight of each target image category is set according to the most recent browsing time associated with the preset image category.

5. The display method according to any one of claims 1 to 4, characterized in that: The obtaining of multiple preset image categories includes: Get the original image dataset; Input each image in the original image data set into a preset image recognition model, and output an image category corresponding to each image; The image category corresponding to each image in the original image data set is used as the preset image category.

6. The display method according to claim 5, characterized in that: The method further includes obtaining the preset image recognition model, wherein obtaining the preset image recognition model includes: receiving target model parameters; The image recognition model is trained by the target model parameters to obtain or generate the preset image recognition model.

7. The display method according to any one of claims 1 to 4, characterized in that: Step S20 includes at least one of the following: Displaying an image in a target image set that matches the target image category on a lock screen interface; Displaying images in a target image set that match the target image category in a wallpaper selection interface; The images in the target image set that match the target image category are displayed in the image design application interface.

8. The display method according to any one of claims 1 to 4, characterized in that: Also includes: Displaying a preset menu on the display interface of the image; In response to a selection operation on the preset menu, a corresponding operation is performed on the image.

9. An intelligent terminal, characterized in that: include: A memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the display method according to any one of claims 1 to 8 are implemented.

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