CN111352680A - Information recommendation method and device - Google Patents

Information recommendation method and device Download PDF

Info

Publication number
CN111352680A
CN111352680A CN201811572777.XA CN201811572777A CN111352680A CN 111352680 A CN111352680 A CN 111352680A CN 201811572777 A CN201811572777 A CN 201811572777A CN 111352680 A CN111352680 A CN 111352680A
Authority
CN
China
Prior art keywords
interface
target image
style
image
similarity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811572777.XA
Other languages
Chinese (zh)
Inventor
张怡远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811572777.XA priority Critical patent/CN111352680A/en
Publication of CN111352680A publication Critical patent/CN111352680A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the application provides an information recommendation method and device. Wherein the method comprises the following steps: acquiring a target image provided by a user; searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier; and recommending the at least one interface style to the user. The technical scheme provided by the embodiment of the application improves the searching efficiency.

Description

Information recommendation method and device
Technical Field
The embodiment of the application relates to the technical field of computer application, in particular to an information recommendation method and device.
Background
The display interface is a medium for interaction and information exchange between the client or the operating system and the user, and for example, a PC client, a mobile phone client, a system desktop, and the like all provide the display interface.
In order to enrich the visual perception of the user, the display interface can render different visual appearances by changing interface modification contents such as control layout, window color, font, wallpaper and the like. In practical application, multiple interface styles can be provided for a user to select, the interface styles can be formed by at least one interface decoration content, and the user can select the interface style meeting the aesthetic requirement of the user to change the visual effect of the display interface.
However, the number of interface styles is usually large, and it is difficult for a user to select a desired interface style from a large number of interface styles, which takes a long time.
Disclosure of Invention
The embodiment of the application provides an information recommendation method and device.
In a first aspect, an embodiment of the present application provides an information recommendation method, including:
acquiring a target image provided by a user;
searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier;
and recommending the at least one interface style to the user.
In a second aspect, an embodiment of the present application provides an information recommendation method, including:
receiving a target image uploaded by a client;
searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier;
and triggering the client to recommend the at least one interface style to the user.
In a third aspect, an embodiment of the present application provides an information recommendation method, including:
acquiring a target image provided by a user;
sending the target image to a server side so that the server side can search at least one interface style matched with the target image;
and displaying the prompt message of the at least one interface style sent by the server.
In a fourth aspect, an embodiment of the present application provides an information recommendation apparatus, including:
the first acquisition module is used for acquiring a target image provided by a user;
the pattern searching module is used for searching at least one interface pattern matched with the target image; wherein the interface style comprises at least one interface modifier;
and the style recommending module is used for recommending the at least one interface style to the user.
In a fifth aspect, an embodiment of the present application provides an information recommendation apparatus, including:
the image receiving module is used for receiving a target image uploaded by the client;
the pattern searching module is used for searching at least one interface pattern matched with the target image; wherein the interface style comprises at least one interface modifier;
and the recommendation triggering module is used for triggering the client to recommend the at least one interface style to the user.
In a sixth aspect, an embodiment of the present application provides an information recommendation apparatus, including:
the second acquisition module is used for acquiring a target image provided by a user;
the image sending module is used for sending the target image to a server so that the server can search at least one interface style matched with the target image;
and the display module is used for displaying the prompt information of the at least one interface style sent by the server.
In a seventh aspect, an embodiment of the present application provides an electronic device, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
acquiring a target image provided by a user;
searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier;
and recommending the at least one interface style to the user.
In an eighth aspect, an embodiment of the present application provides a server, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving a target image uploaded by a client;
searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier;
and triggering the client to recommend the at least one interface style to the user.
In a ninth aspect, an embodiment of the present application provides an electronic device, including a storage component, a display component, and a processing component; the storage component stores one or more computer program instructions; the one or more computer program instructions for invocation and execution by the processing component;
the processing component is to:
acquiring a target image provided by a user;
sending the target image to a server side so that the server side can search at least one interface style matched with the target image;
and displaying the prompt information of the at least one interface style sent by the server side through the display component.
In the embodiment of the application, a user only needs to provide a target image meeting aesthetic requirements of the user, at least one interface pattern matched with the target image can be searched based on the target image, and the at least one interface pattern is recommended to the user, so that a display interface updated based on the interface pattern recommended to the user can achieve an interface display effect matched with the target image, the searching mode is simplified, and the searching efficiency and the searching accuracy are improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart illustrating an embodiment of an information recommendation method provided herein;
FIG. 2 is a flow chart illustrating a further embodiment of an information recommendation method provided herein;
FIG. 3 is a flow chart illustrating a further embodiment of an information recommendation method provided herein;
FIG. 4 is a schematic structural diagram illustrating an embodiment of an information recommendation device provided by the present application;
FIG. 5 is a schematic diagram illustrating an embodiment of an electronic device provided by the present application;
FIG. 6 is a schematic structural diagram of another embodiment of an information recommendation device provided by the present application;
FIG. 7 is a schematic diagram illustrating an embodiment of a server provided by the present application;
FIG. 8 is a schematic structural diagram of another embodiment of an information recommendation device provided by the present application;
fig. 9 shows a schematic structural diagram of another embodiment of an electronic device provided by the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The technical scheme of the application can be applied to an application scene for changing the visual appearance of the operating system of the electronic equipment such as a computer or a mobile terminal or the display interface provided by the client installed on the operating system.
The interface style referred in the embodiment of the application refers to interface appearance content formed by at least one interface modification content, and because the display interface usually includes a plurality of interface modification parameters, the interface style may include interface modification contents corresponding to all the interface modification parameters of the display interface, and in a windows operating system, the display interface also refers to a system desktop, and at this time, the interface style also refers to a desktop theme; of course, the interface style may also include interface modification content corresponding to one or more interface modification parameters, for example, only wallpaper may be included, and the interface wallpaper may be changed through the interface style.
In order to meet the visual perception of a user, a large number of interface patterns are usually provided for the user to select, the user can search for the interface patterns meeting the needs of the user one by one, interface modification content in the selected interface patterns can be triggered, and a display interface is updated.
In order to improve the searching efficiency and accuracy, the inventor provides the technical scheme of the embodiment of the application through a series of researches, in the embodiment of the application, a user only needs to provide a target image meeting the aesthetic requirement of the user, namely, at least one interface pattern matched with the target image can be searched based on the target image, and the at least one interface pattern is recommended to the user, so that the display interface updated based on the interface pattern recommended to the user can achieve the interface display effect matched with the style, the color and the like of the target image, the searching mode is simplified, the searching efficiency is improved, and the searching accuracy is ensured.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart of another embodiment of an information recommendation method provided in an embodiment of the present application, where a technical solution of this embodiment is applied to a client or a server, an execution subject is not specifically limited in this embodiment, and the method may include the following steps:
101: and acquiring a target image provided by a user.
The target image may be an image that is uploaded by a user from a local image library, or an image acquired by acquiring a physical scene based on a user acquisition request.
102: and searching at least one interface style matched with the target image.
The interface style comprises at least one interface decoration content, wherein the at least one interface decoration content can comprise one or more of control layout, window color, font, text color, control shape, control color and wallpaper.
103: and recommending the at least one interface style to the user.
Optionally, a prompt for the at least one interface style may be output, the prompt prompting a user to select a target interface style from the at least one interface style.
The prompt information of the at least one interface style may include style abstract information of each interface style, such as a style name, a related introduction of the interface style, an effect picture corresponding to the interface style, and the like, which is the same as the abstract information of the interface style shown in the prior art.
In the embodiment, based on the target image provided by the user, at least one interface style matched with the target image can be searched, and the at least one interface style is recommended to the user, so that the display interface updated based on the interface style recommended to the user can achieve the interface display effect matched with the style, the color and the like of the target image, the user can recommend the accurate interface style to the user without searching or searching by using keywords, and the user can conveniently select the target interface style meeting the requirement, thereby effectively improving the searching efficiency.
As an alternative, the finding of at least one interface style matching the target image may include:
identifying at least one attribute feature of a subject element in the target image;
and searching at least one interface style matched with the at least one attribute characteristic.
The target image comprises a main body element, and at least one attribute feature of the main body element can be identified through an image identification technology.
Optionally, the at least one attribute feature may include one or more of a subject color, a subject name, a subject mood, and a subject style.
Wherein, the subject emotion refers to the emotion conveyed by the subject element when being a person, such as happy, oppressed and the like.
The main style is an overall style represented by the main element, such as a specific artistic style, for example, national style, landscape style, abstract style, and the like.
The at least one attribute feature of the subject element may be identified by training the machine learning model with a known sample, which is the same as that in the prior art and is not described herein again.
Based on the at least one attribute feature, at least one interface style matching the target image can be found.
Optionally, the searching for at least one interface style matching the at least one attribute feature may include:
calculating the feature similarity of the target image and any interface style based on at least one style feature and at least one attribute feature pre-labeled by any interface style;
and selecting at least one interface style with the characteristic similarity meeting the first similarity condition.
The first similarity condition may be, for example, that the feature similarity is greater than a first similarity threshold.
In some embodiments, the calculating the feature similarity of the target image and any interface style based on the at least one style feature and the at least one attribute feature of any interface style annotation may include:
calculating the sub-feature similarity of the style features and the attribute features belonging to the same feature type based on at least one style feature labeled by any interface style so as to obtain at least one sub-feature similarity;
and comprehensively calculating at least one sub-feature similarity of the target image and any interface pattern to obtain the feature similarity of the target image and any interface pattern.
Since both the style feature and the attribute feature are expressed by text, optionally, calculating the sub-feature similarity between the style feature and the attribute feature belonging to the same feature type can be realized by calculating the text similarity.
The feature similarity between the target image and any one of the interface styles may be a weighted average or a weighted sum of the feature similarities between the target image and at least one sub-feature of the any one of the interface styles. The weight coefficient of each attribute feature can be set in combination with the actual application situation.
As another alternative, the finding at least one interface style matching the target image may include:
calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern;
and determining at least one interface style with the image similarity satisfying the second similarity condition.
The display interface is composed of at least one page, and each page corresponding to the display interface updated according to the interface style forms an interface picture, so that each interface style can correspond to at least one interface picture, the image similarity of the target image and the at least one interface picture corresponding to each interface style can be calculated, and at least one interface style with the image similarity meeting a second similarity condition can be selected from the image similarities.
Wherein the second similarity condition may be that the image similarity is greater than a second similarity threshold.
In some embodiments, the calculating the image similarity between the target image and any interface style based on at least one interface picture corresponding to the any interface style may include:
calculating the similarity of the target image and the sub-image of at least one interface picture corresponding to any interface style;
and comprehensively calculating the similarity of the target image and at least one sub-image of any interface pattern to obtain the image similarity of the target image and any interface pattern.
The image similarity between the target image and any interface style may be a weighted average or a weighted sum of the image similarities between the target image and at least one sub-image of any interface style, and the weight coefficient of each attribute feature may be set in combination with an actual application situation.
As yet another alternative, the finding at least one interface style matching the target image may include:
identifying at least one attribute feature of a subject element in the target image;
calculating the feature similarity of the target image and any interface style based on at least one style feature and at least one attribute feature pre-labeled by any interface style;
calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern;
calculating the comprehensive similarity of the target image and any interface pattern based on the feature similarity and the image similarity of the target image and any interface pattern;
and determining at least one interface style with the comprehensive similarity satisfying the third similarity condition.
In this optional manner, the feature similarity and the image similarity may be integrated, and the integrated similarity between the target image and any interface style may be obtained through calculation.
The comprehensive similarity may be a weighted average or a weighted sum of the feature similarity and the image similarity, and the weighting coefficients of the feature similarity and the image similarity may be set in combination with the actual application, which is not specifically limited in the present application.
In addition, the third similarity condition may be, for example, that the integrated similarity is greater than a third similarity threshold.
In some embodiments, the method may further comprise:
determining a target interface style based on the selection request for the at least one interface style;
and updating the display interface to be the target interface style.
In certain embodiments, the method may further comprise:
determining a target interface style in response to a user selection operation;
and according to the at least one interface modification content, changing the display interface into the target interface style.
In a practical application, the technical scheme of the embodiment of the application can be applied to a scene of changing the display interface of the client, and the client can be an application program installed in the electronic device. In this practical application, as shown in fig. 2, a flowchart of another embodiment of an information recommendation method provided in the embodiment of the present application is shown, where the technical solution of this embodiment is executed by a background server of a client, and the method may include the following steps:
201: and receiving the target image uploaded by the client.
Optionally, the target image may be a user request that the client side obtains from its local image library and uploads to the server side. The target image in the local image library can be stored by user triggering, downloaded from a network to be saved locally, or historically collected images.
Of course, the target image may also be obtained by directly acquiring the image of the main element by the client. The subject elements may be presence objects in the physical scene, such as people, animals, flowers, etc. When the main element is subjected to image acquisition, the acquired image also includes an environment image where the main element is located, and in order to further improve processing efficiency, reduce transmission pressure and processing of the server, the client may identify the main element in the acquired image and use an image area where the main element is located as a target image. I.e. only the body element is included in the body element.
The image area where the main element is located may be obtained by clipping the collected image, and the specific implementation manner is not specifically limited in this embodiment.
202: and searching at least one interface style matched with the target image.
Wherein the interface style includes at least one interface modifier.
203: and triggering the client to recommend the at least one interface style to the user.
In the embodiment, when the user needs to search for the updated interface style, only the target image meeting the aesthetic requirements of the user needs to be provided to the server through the client, and the server can search for and obtain at least one interface style similar to the target image based on the target image, so that the client can be triggered to recommend the at least one interface style to the user. Therefore, the display interface updated based on the interface style recommended to the user can achieve the interface display effect matched with the style, color and the like of the target image, the user can recommend the accurate interface style to the user without searching or searching by using keywords, so that the user can conveniently select the target interface style meeting the requirement, and the searching efficiency can be effectively improved.
In some embodiments, the triggering the client to recommend the at least one interface style to the user may include:
and sending the prompt message of the at least one interface style to the client so that the client can output the prompt message of the at least one interface style.
The prompt message may include summary information of each of the at least one interface style, and based on the summary information, the related information of the interface style, that is, related information of the interface modification content, such as color, style, font, and the like, may be known.
In certain embodiments, the method may further comprise:
receiving a style selection request sent by a client, and determining a target interface style based on the user selection request; wherein the style selection request can be generated by the client in response to the user selection operation of the prompt message aiming at the at least one interface style;
and triggering the client to change the display interface into the target interface style according to at least one interface modification content of the target interface style.
As an optional manner, the finding of the at least one interface style matching with the target image may include:
identifying a subject element in the target image to obtain at least one attribute feature;
and searching at least one interface style matched with the at least one attribute characteristic.
As another alternative, the finding at least one interface style matching the target image may include:
calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern;
and determining at least one interface style with the image similarity satisfying the second similarity condition.
As still another optional manner, the receiving the target image uploaded by the client includes:
receiving a target image uploaded by a client and at least one attribute feature obtained by identifying a main element in the target image;
the searching for at least one interface style matching the target image comprises:
and searching at least one interface style matched with the at least one attribute characteristic.
That is, in this alternative, the client may identify the target image to obtain at least one attribute feature, so as to reduce the processing pressure of the server.
In yet another alternative, the finding at least one interface style matching the target image may include:
identifying a subject element in the target image to obtain at least one attribute feature;
calculating the feature similarity of the target image and any interface style based on at least one style feature and at least one attribute feature pre-labeled by any interface style;
calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern;
calculating the comprehensive similarity of the target image and any interface pattern based on the feature similarity and the image similarity of the target image and any interface pattern;
and determining at least one interface style with the comprehensive similarity satisfying the third similarity condition.
In yet another alternative, the receiving the target image uploaded by the client may include:
receiving a target image uploaded by a client and at least one attribute feature obtained by identifying a main body element in the target image;
the searching for at least one interface style matching the target image comprises:
calculating the feature similarity of the target image and any interface style based on at least one style feature and at least one attribute feature pre-labeled by any interface style;
calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern;
calculating the comprehensive similarity of the target image and any interface pattern based on the feature similarity and the image similarity of the target image and any interface pattern;
and determining at least one interface style with the comprehensive similarity satisfying the third similarity condition.
In the above optional manners, the same or similar steps as those in the above embodiments may be specifically referred to the above description, and are not repeated herein.
Fig. 3 is a flowchart of another embodiment of an information recommendation method provided in an embodiment of the present application, where the method is executed by a client and may include the following steps:
301: and acquiring a user provided target image.
The target image may be obtained by image capture of the main element based on a user capture request, or may be determined from a local image library based on a user request.
Since the actually acquired image may include an image of the environment in which the subject element is located.
Therefore, as an alternative, the acquiring the target image may include:
performing image Egypt on the main element based on the user acquisition request to obtain an acquired image;
and identifying the main body element in the acquired image, and taking an image area where the main body element is located as a target image.
As an alternative, the acquiring the target image may include:
selecting a local image from a local image library based on the image selection request;
and identifying the main body element in the local image, and taking an image area where the main body element is located as a target image.
Alternatively, acquiring the target image may be acquiring the subject element based on the interface style selection request. Therefore, as a further embodiment, before obtaining the subject element, the method may further include:
displaying interface style selection prompt information;
the acquiring the target image may be in response to a trigger operation for selecting prompt information for the interface style, and generating an interface style selection request.
302: and sending the target image to a server side so that the server side can search at least one interface style matched with the target image.
303: and displaying the prompt message of the at least one interface style sent by the server.
In this embodiment, when the user needs to search for an updated interface style, only the target image meeting the aesthetic requirement of the user needs to be provided to the server through the client, and the server can search for and obtain at least one interface style similar to the target image based on the target image, so that the client can display the prompt information of the at least one interface style sent by the server to the user. Therefore, the display interface updated based on the interface style recommended to the user can achieve the interface display effect matched with the style, color and the like of the target image, the user can recommend the accurate interface style to the user without searching or searching by using keywords, so that the user can conveniently select the target interface style meeting the requirement, and the searching efficiency can be effectively improved.
In certain embodiments, the method may further comprise:
identifying a subject element in the target image to determine at least one attribute feature;
and sending the at least one attribute feature to a server, so that the server searches at least one interface style matched with the target image based on the at least one attribute feature.
In certain embodiments, the method may further comprise:
determining a target interface style in response to a user selection operation;
acquiring at least one interface modification content of the target interface style from a server;
and according to the at least one interface modification content, changing the display interface into the target interface style.
In one practical application, the interface style may refer to a theme skin of the client, and the client may provide a large number of theme skins for the user to select, and each theme skin may include all interface modification contents related to the display interface.
When a user needs to change the theme skin of the display interface, the main body elements of the actual physical environment can be collected through the client, and the target image comprising the main body elements is sent to the server, so that the server can search at least one interface style matched with the main body elements based on the target image.
For example, when a user sees that a small animal likes a lot, the user can trigger the server to search for at least one interface pattern matched with the small animal by collecting the image of the small animal;
alternatively, the user may view a favorite movie, a tv show, a ball game, or the like. At least one interface style related to a movie, a TV play or a ball game can be found only by collecting movie pictures or posters;
for another example, in practical application, the color of the display interface is usually the most important interface modification parameter, and when the user sees any favorite color and cannot express the favorite color accurately, the user only needs to acquire the image of the main element with the color and identify the color, so as to find the interface style matched with the color.
For another example, the user may also acquire an interface picture of a display interface of a certain theme skin through the client, and sharing of the theme skin and the like may also be implemented by using the technical scheme of the present application.
The user can select a target theme skin from the theme skins recommended by the client, and the display interface is triggered to be changed into the display effect of the target theme skin.
Through the technical scheme of the embodiment of the application, the recommendation of the theme skin is realized, so that the searching operation of a user is reduced, and the searching efficiency of the theme skin is improved. And the recommended subject skin is obtained based on the target image matching provided by the user, so that accurate and effective recommendation is realized.
Fig. 4 is a schematic structural diagram of an embodiment of an information recommendation device provided in an embodiment of the present application, where the device may include:
a first obtaining module 401, configured to obtain a target image provided by a user;
a pattern search module 402, configured to search for at least one interface pattern matching the target image; wherein the interface style comprises at least one interface modifier;
and a style recommending module 403, configured to recommend the at least one interface style to the user.
As an optional manner, the style search module is specifically configured to identify a subject element in the target image to obtain at least one attribute feature; and searching at least one interface style matched with the at least one attribute characteristic.
Optionally, the searching for at least one interface style matched with the at least one attribute feature by the style searching module may specifically be calculating a feature similarity between the target image and any interface style based on at least one style feature pre-labeled for any interface style and the at least one attribute feature; and selecting at least one interface style with the characteristic similarity meeting the first similarity condition.
Optionally, the style search module calculates the feature similarity between the target image and any interface style based on at least one style feature and the at least one attribute feature labeled in advance for any interface style, specifically, calculates the sub-feature similarity between the style feature and the attribute feature belonging to the same feature type based on at least one style feature labeled for any interface style, so as to obtain at least one sub-feature similarity; and comprehensively calculating at least one sub-feature similarity of the target image and any one interface pattern to obtain the feature similarity of the target image and any one interface pattern.
Wherein the at least one attribute feature comprises one or more of object color, object name, object mood, and object style.
As another optional mode, the style search module may be specifically configured to calculate an image similarity between the target image and any one interface style based on at least one interface picture corresponding to the any one interface style; and determining at least one interface style with the image similarity satisfying the second similarity condition.
Optionally, the style search module calculates the image similarity between the target image and any interface style based on at least one interface picture corresponding to any interface style, specifically, calculates the sub-image similarity between the target image and at least one interface picture corresponding to any interface style; and comprehensively calculating the similarity of the target image and at least one sub-image of any interface pattern to obtain the image similarity of the target image and any interface pattern.
As yet another alternative, the style search module may be specifically configured to identify a subject element in the target image to obtain at least one attribute feature; calculating the feature similarity of the target image and any interface style based on at least one style feature and at least one attribute feature pre-labeled by any interface style; calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern; calculating the comprehensive similarity of the target image and any interface pattern based on the feature similarity and the image similarity of the target image and any interface pattern; and determining at least one interface style with the comprehensive similarity satisfying the third similarity condition.
In some embodiments, the style recommendation module may be specifically configured to output a prompt for the at least one interface style.
In some embodiments, the first obtaining module may be specifically configured to perform image acquisition on the main body element to obtain the target image based on a user acquisition request.
In some embodiments, the apparatus may further comprise:
an interface selection module for determining a target interface style based on a selection request for the at least one interface style;
and the interface updating module is used for updating the display interface to the target interface style.
The information recommendation apparatus shown in fig. 4 may execute the information recommendation method shown in the embodiment shown in fig. 1, and the implementation principle and the technical effect are not repeated. The specific manner in which each module and unit of the information recommendation device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail herein.
In one possible design, the information recommendation apparatus of the embodiment shown in fig. 4 may be implemented as an electronic device, as shown in fig. 5, which may include a storage component 501 and a processing component 502;
the storage component 501 stores one or more computer instructions, wherein the one or more computer instructions are invoked for execution by the processing component 502.
The processing component 502 is configured to:
acquiring a target image provided by a user;
searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier;
and recommending the at least one interface style to the user.
The processing component 502 may include one or more processors executing computer instructions to perform all or part of the steps of the method described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 501 is configured to store various types of data to support operations in the electronic device. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, a computing device may also necessarily include other components, such as input/output interfaces, communication components, and so forth.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the electronic device and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the information recommendation method in the embodiment shown in fig. 1 may be implemented.
Fig. 6 is a schematic structural diagram of another embodiment of an information recommendation device provided in an embodiment of the present application, where the device may include:
the image receiving module 601 is used for receiving a target image uploaded by a client;
a style searching module 602, configured to search for at least one interface style matching the target image; wherein the interface style comprises at least one interface modifier;
a recommendation triggering module 603, configured to trigger the client to recommend the at least one interface style to the user.
In some embodiments, the recommendation triggering module may be specifically configured to send the prompt message of the at least one interface style to the client, so that the client outputs the prompt message of the at least one interface style.
In some embodiments, the style search module may be specifically configured to identify a subject element in the target image to obtain at least one attribute feature; and searching at least one interface style matched with the at least one attribute characteristic.
In some embodiments, the image receiving module may be specifically configured to receive a target image uploaded by a client and at least one attribute feature obtained by identifying a subject element in the target image;
the style search module may be specifically configured to search for at least one interface style matching the at least one attribute feature.
In some embodiments, the style search module may be specifically configured to calculate, based on at least one interface picture corresponding to any one interface style, an image similarity between the target image and the any one interface style; and determining at least one interface style with the image similarity satisfying the second similarity condition.
The information recommendation apparatus shown in fig. 6 may execute the information recommendation method shown in the embodiment shown in fig. 2, and the implementation principle and the technical effect are not repeated. The specific manner in which each module and unit of the information recommendation device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail herein.
In one possible design, the information recommendation apparatus of the embodiment shown in fig. 6 may be implemented as an electronic device, as shown in fig. 7, which may include a storage component 701 and a processing component 702;
the storage component 701 includes one or more computer instructions, where the one or more computer instructions are invoked for execution by the processing component 702.
The processing component 702 is configured to:
receiving a target image uploaded by a client;
searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier;
and triggering the client to recommend the at least one interface style to the user.
Among other things, the processing component 702 may include one or more processors to execute computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 701 is configured to store various types of data to support operations in the server. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the server may of course also comprise other components, such as input/output interfaces, communication components, etc.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the server and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the information recommendation method in the embodiment shown in fig. 2 may be implemented.
Fig. 8 is a schematic structural diagram of another embodiment of an information recommendation device provided in an embodiment of the present application, where the device may include:
a second obtaining module 801, configured to obtain a target image provided by a user;
an image sending module 802, configured to send the target image to a server, so that the server searches for at least one interface style matched with the target image;
a display module 803, configured to display the prompt information of the at least one interface style sent by the server.
In some embodiments, the second obtaining module may be specifically configured to, based on a user acquisition request, perform image acquisition on the main body element to obtain an acquired image; and identifying the main body element in the acquired image, and taking an image area where the main body element is located as a target image.
In some embodiments, the apparatus may further comprise:
an object identification module for identifying a subject element in the target image to determine at least one attribute feature; and sending the at least one attribute feature to a server, so that the server searches at least one interface style matched with the target image based on the at least one attribute feature.
In some embodiments, the apparatus may further comprise:
the interface selection module is used for responding to the selection operation of the user and determining a target interface style; acquiring at least one interface modification content of the target interface style from a server; and according to the at least one interface modification content, changing the display interface into the target interface style.
The information recommendation apparatus shown in fig. 8 may execute the information recommendation method shown in the embodiment shown in fig. 3, and the implementation principle and the technical effect are not repeated. The specific manner in which each module and unit of the information recommendation device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail herein.
In one possible design, the information recommendation apparatus of the embodiment shown in fig. 8 may be implemented as an electronic device, as shown in fig. 9, which may include a storage component 901, a display component 902, and a processing component 903; the storage component 901 stores one or more computer program instructions; the one or more computer program instructions for invocation and execution by the processing component 903;
the processing component 903 is configured to:
acquiring a target image provided by a user;
sending the target image to a server side so that the server side can search at least one interface style matched with the target image;
and displaying the prompt message of the at least one interface style sent by the server through the display component 902.
The processing component 903 may include one or more processors executing computer instructions to perform all or part of the steps of the method described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 901 is configured to store various types of data to support operations at the terminal. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The display element 902 may be an Electroluminescent (EL) element, a liquid crystal display or a microdisplay with a similar structure, or a retina-directed display or similar laser scanning display.
Of course, the electronic device may also include other components, such as input/output interfaces, communication components, acquisition components, and the like.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the electronic device and other devices, and the like.
In an alternative mode, the processing component acquires the target image by acquiring the main body element through the acquisition component;
of course, the processing component can acquire the main body element through the acquisition component to obtain an acquired image; and identifying the main body element in the acquired image, and taking an image area where the main body element is located as a target image.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the information recommendation method in the embodiment shown in fig. 3 may be implemented.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (23)

1. An information recommendation method, comprising:
acquiring a target image provided by a user;
searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier;
and recommending the at least one interface style to the user.
2. The method of claim 1, wherein the finding at least one interface style that matches the target image comprises:
identifying at least one attribute feature of a subject element in the target image;
and searching at least one interface style matched with the at least one attribute characteristic.
3. The method of claim 2, wherein the finding at least one interface style that matches the at least one attribute feature comprises:
calculating the feature similarity of the target image and any interface style based on at least one style feature and at least one attribute feature pre-labeled by any interface style;
and selecting at least one interface style with the characteristic similarity meeting the first similarity condition.
4. The method according to claim 3, wherein the calculating of the feature similarity of the target image and any one of the interface styles based on the at least one style feature pre-labeled for any one of the interface styles and the at least one attribute feature comprises:
calculating the sub-feature similarity of the style features and the attribute features belonging to the same feature type based on at least one style feature of any interface style label to obtain at least one sub-feature similarity;
and comprehensively calculating at least one sub-feature similarity of the target image and any one interface pattern to obtain the feature similarity of the target image and any one interface pattern.
5. The method of claim 2, wherein the at least one attribute feature comprises one or more of object color, object name, object mood, and object style.
6. The method of claim 1, wherein the finding at least one interface style that matches the target image comprises:
calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern;
and determining at least one interface style with the image similarity satisfying the second similarity condition.
7. The method according to claim 6, wherein the calculating of the image similarity between the target image and any one of the interface styles based on at least one of the interface pictures corresponding to the any one of the interface styles comprises:
calculating the similarity of the target image and the sub-image of at least one interface picture corresponding to any interface style;
and comprehensively calculating the similarity of the target image and at least one sub-image of any interface pattern to obtain the image similarity of the target image and any interface pattern.
8. The method of claim 1, wherein the finding at least one interface style that matches the target image comprises:
identifying at least one attribute feature of a subject element in the target image;
calculating the feature similarity of the target image and any interface style based on at least one style feature and at least one attribute feature pre-labeled by any interface style;
calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern;
calculating the comprehensive similarity of the target image and any interface pattern based on the feature similarity and the image similarity of the target image and any interface pattern;
and determining at least one interface style with the comprehensive similarity satisfying the third similarity condition.
9. The method of claim 1, wherein obtaining the user-provided target image comprises:
and carrying out image acquisition on the main body element based on the user acquisition request to obtain a target image.
10. The method of claim 1, further comprising:
determining a target interface style based on the selection request for the at least one interface style;
and updating the display interface to be the target interface style.
11. The method of claim 1, wherein the at least one interface modifier comprises one or more of a control layout, a window color, a font, a text color, a control shape, a control color, and a wallpaper.
12. An information recommendation method, comprising:
receiving a target image uploaded by a client;
searching at least one interface style matched with the target image; wherein the interface style comprises at least one interface modifier;
and triggering the client to recommend the at least one interface style to the user.
13. The method of claim 12, wherein the triggering the client to recommend the at least one interface style to the user comprises:
and sending the prompt message of the at least one interface style to the client so that the client can output the prompt message of the at least one interface style.
14. The method of claim 12, wherein the finding at least one interface style that matches the target image comprises:
identifying a subject element in the target image to obtain at least one attribute feature;
and searching at least one interface style matched with the at least one attribute characteristic.
15. The method of claim 12, wherein receiving the target image uploaded by the client comprises:
receiving a target image uploaded by a client and at least one attribute feature obtained by identifying a main body element in the target image;
the searching for at least one interface style matching the target image comprises:
and searching at least one interface style matched with the at least one attribute characteristic.
16. The method of claim 12, wherein the finding at least one interface style that matches the target image comprises:
calculating the image similarity of the target image and any interface pattern based on at least one interface picture corresponding to any interface pattern;
and determining at least one interface style with the image similarity satisfying the second similarity condition.
17. An information recommendation method, comprising:
acquiring a target image provided by a user;
sending the target image to a server side so that the server side can search at least one interface style matched with the target image;
and displaying the prompt message of the at least one interface style sent by the server.
18. The method of claim 17, wherein the acquiring the target image comprises:
based on the user acquisition request, acquiring an image of the main element to obtain an acquired image;
and identifying the main body element in the acquired image, and taking an image area where the main body element is located as a target image.
19. The method of claim 17, further comprising:
identifying at least one attribute feature of a subject element in the target image;
and sending the at least one attribute feature to a server, so that the server searches at least one interface style matched with the target image based on the at least one attribute feature.
20. The method of claim 17, further comprising:
determining a target interface style in response to a user selection operation;
acquiring at least one interface modification content of the target interface style from a server;
and according to the at least one interface modification content, changing the display interface into the target interface style.
21. An information recommendation apparatus, comprising:
the first acquisition module is used for acquiring a target image provided by a user;
the pattern searching module is used for searching at least one interface pattern matched with the target image; wherein the interface style comprises at least one interface modifier;
and the style recommending module is used for recommending the at least one interface style to the user.
22. An information recommendation apparatus, comprising:
the image receiving module is used for receiving a target image uploaded by the client;
the pattern searching module is used for searching at least one interface pattern matched with the target image; wherein the interface style comprises at least one interface modifier;
and the recommendation triggering module is used for triggering the client to recommend the at least one interface style to the user.
23. An information recommendation apparatus, comprising:
the second acquisition module is used for acquiring a target image provided by a user;
the image sending module is used for sending the target image to a server so that the server can search at least one interface style matched with the target image;
and the display module is used for displaying the prompt information of the at least one interface style sent by the server.
CN201811572777.XA 2018-12-21 2018-12-21 Information recommendation method and device Pending CN111352680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811572777.XA CN111352680A (en) 2018-12-21 2018-12-21 Information recommendation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811572777.XA CN111352680A (en) 2018-12-21 2018-12-21 Information recommendation method and device

Publications (1)

Publication Number Publication Date
CN111352680A true CN111352680A (en) 2020-06-30

Family

ID=71197111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811572777.XA Pending CN111352680A (en) 2018-12-21 2018-12-21 Information recommendation method and device

Country Status (1)

Country Link
CN (1) CN111352680A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704524A (en) * 2021-09-01 2021-11-26 北京房江湖科技有限公司 Information recommendation method and device
CN114969578A (en) * 2022-05-07 2022-08-30 中移互联网有限公司 Information display method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298787A (en) * 2014-11-13 2015-01-21 吴健 Individual recommendation method and device based on fusion strategy
CN104657482A (en) * 2015-02-26 2015-05-27 深圳市中兴移动通信有限公司 Method for displaying application interface and terminal
CN106096009A (en) * 2016-06-23 2016-11-09 北京小米移动软件有限公司 Method for generating message and device
CN106126687A (en) * 2016-06-29 2016-11-16 北京小米移动软件有限公司 Recommendation method, device, terminal and the server of interface subject
CN106406900A (en) * 2016-09-28 2017-02-15 乐视控股(北京)有限公司 Wallpaper display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298787A (en) * 2014-11-13 2015-01-21 吴健 Individual recommendation method and device based on fusion strategy
CN104657482A (en) * 2015-02-26 2015-05-27 深圳市中兴移动通信有限公司 Method for displaying application interface and terminal
CN106096009A (en) * 2016-06-23 2016-11-09 北京小米移动软件有限公司 Method for generating message and device
CN106126687A (en) * 2016-06-29 2016-11-16 北京小米移动软件有限公司 Recommendation method, device, terminal and the server of interface subject
CN106406900A (en) * 2016-09-28 2017-02-15 乐视控股(北京)有限公司 Wallpaper display method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704524A (en) * 2021-09-01 2021-11-26 北京房江湖科技有限公司 Information recommendation method and device
CN114969578A (en) * 2022-05-07 2022-08-30 中移互联网有限公司 Information display method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US20210103779A1 (en) Mobile image search system
US11657084B2 (en) Correlating image annotations with foreground features
US10255681B2 (en) Image matting using deep learning
US9323785B2 (en) Method and system for mobile visual search using metadata and segmentation
US9679416B2 (en) Content creation tool
CN109688451B (en) Method and system for providing camera effect
US8718369B1 (en) Techniques for shape-based search of content
US20210264161A1 (en) Systems and methods for image or video performance heat map generation
CN109086439A (en) Information recommendation method and device
CN103988202A (en) Image attractiveness based indexing and searching
US11334768B1 (en) Ephemeral content management
WO2018009666A1 (en) Combining faces from source images with target images based on search queries
US9607584B2 (en) Real world analytics visualization
CN108959323B (en) Video classification method and device
CN113382301A (en) Video processing method, storage medium and processor
CN110414001B (en) Sentence generation method and device, storage medium and electronic device
US10474919B2 (en) Method for determining and displaying products on an electronic display device
CN111352680A (en) Information recommendation method and device
CN111954087A (en) Method and device for intercepting images in video, storage medium and electronic equipment
US11810177B2 (en) Clothing collocation
CN103353879B (en) Image processing method and apparatus
CN110413818B (en) Label paper recommending method, device, computer readable storage medium and computer equipment
CN117132690A (en) Image generation method and related device
CN110942056A (en) Clothing key point positioning method and device, electronic equipment and medium
CN110968379A (en) Page control method and device of electronic equipment and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200630

RJ01 Rejection of invention patent application after publication