WO2016168961A1 - Theme replacement method and apparatus for intelligent terminal - Google Patents

Theme replacement method and apparatus for intelligent terminal Download PDF

Info

Publication number
WO2016168961A1
WO2016168961A1 PCT/CN2015/076955 CN2015076955W WO2016168961A1 WO 2016168961 A1 WO2016168961 A1 WO 2016168961A1 CN 2015076955 W CN2015076955 W CN 2015076955W WO 2016168961 A1 WO2016168961 A1 WO 2016168961A1
Authority
WO
WIPO (PCT)
Prior art keywords
theme
target
element information
information
topic
Prior art date
Application number
PCT/CN2015/076955
Other languages
French (fr)
Chinese (zh)
Inventor
王刚
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/076955 priority Critical patent/WO2016168961A1/en
Publication of WO2016168961A1 publication Critical patent/WO2016168961A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a method and device for replacing a smart terminal theme.
  • the theme of the smart terminal refers to the style of the smart terminal operation interface and icons, including the standby picture, the screen saver, the operation interface, and the icon.
  • the operation interface of the smart terminal and the personalization of the icon can be quickly realized.
  • a method and a device for replacing a theme of a smart terminal are provided to solve the problem that the operation of replacing the smart terminal in the prior art is cumbersome and inconvenient to use.
  • a method for replacing a theme of a smart terminal including:
  • the theme currently used by the smart terminal is replaced with the target theme.
  • the acquiring the element information of the to-be-selected topic includes:
  • the element information of the to-be-selected topic is obtained from the pre-established first element information database, and the first element information library stores element information of the topic stored by the smart terminal.
  • the acquiring the element information of the to-be-selected topic includes:
  • the element information of the subject to be selected is acquired from a pre-established second element information base, and the second element information stores element information of the theme stored by the server.
  • the element information includes a picture At least one or any combination of the subject image type information, the attribute information, and the subject image content information.
  • the element information includes any one of a main body image type information, an attribute information, and a main body image content information of the image. a plurality of combinations, the similarity between the target wallpaper image and the candidate theme is obtained according to the element information of the target wallpaper image and the element information of the candidate theme, including:
  • the determining, according to the similarity between the target wallpaper image and the to-be-selected topic, the target theme includes:
  • Sorting the similarity between the target wallpaper image and the candidate theme displaying a preset number of candidate topics in order of highness to lowness; and displaying the user from the displayed candidate theme
  • the selected topic is determined as the target topic
  • the subject to be selected having the highest degree of similarity with the target wallpaper picture is determined as the target subject.
  • the method further includes:
  • the method further includes:
  • the second aspect provides a smart terminal theme replacement device, including:
  • a first acquiring module configured to acquire element information of a target wallpaper image of the smart terminal
  • a second obtaining module configured to acquire element information of the subject to be selected
  • a third obtaining module configured to acquire, according to element information of the target wallpaper image and element information of the candidate theme, a similarity between the target wallpaper image and the candidate theme;
  • a determining module configured to determine a target theme according to a similarity between the target wallpaper image and the candidate theme
  • the second acquiring module includes:
  • a first determining submodule configured to determine that the theme stored in the smart terminal is the candidate topic
  • a first acquiring sub-module configured to acquire element information of the to-be-selected topic from a pre-established first element information library, where the first element information inventory stores element information of the topic stored by the smart terminal.
  • the second acquiring module includes:
  • a second determining submodule configured to determine that the theme stored in the server is a candidate topic
  • a second obtaining sub-module configured to acquire element information of the to-be-selected topic from a pre-established second element information base, where the second element information stores element information of the topic stored by the server.
  • the element information includes a picture At least one or any combination of the subject image type information, the attribute information, and the subject image content information.
  • the third obtaining module includes:
  • a third obtaining submodule configured to obtain a weight coefficient corresponding to each element information
  • a first calculation submodule configured to calculate a similarity between the target wallpaper image and corresponding element information of the candidate theme
  • a second calculation submodule configured to calculate, according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information, the target wallpaper image and the The similarity between the topics to be selected.
  • the determining module includes:
  • a sorting sub-module configured to sort the similarity between the target wallpaper image and the candidate theme
  • a display sub-module configured to display a preset number of candidate topics in a descending order of similarity
  • a third determining sub-module configured to determine a topic selected by the user from the displayed candidate topics as The target theme
  • a fourth determining submodule configured to determine, as the target theme, a topic to be selected with the highest degree of similarity between the target wallpaper image.
  • the method further includes:
  • a building module configured to construct a correspondence between the target theme and the target wallpaper image, and upload the corresponding relationship to the server.
  • the method further includes:
  • a sending module configured to send the topic information of the target topic to the server, so that the server stores the topic information of the target topic.
  • an apparatus including: a processor and a memory,
  • the processor is configured to: by calling a program or instruction stored in the memory:
  • the theme currently used by the smart terminal is replaced with the target theme.
  • the method is specifically used to:
  • the element information of the to-be-selected topic is obtained from the pre-established first element information database, and the first element information library stores element information of the topic stored by the smart terminal.
  • the method is specifically used to:
  • the element information of the subject to be selected is acquired from a pre-established second element information base, and the second element information stores element information of the theme stored by the server.
  • the component information includes a picture Subject image At least one or any combination of the type information, the attribute information, and the subject image content information.
  • the method includes:
  • the determining, by the processor, when determining the target theme according to the similarity between the target wallpaper image and the candidate theme includes:
  • Sorting the similarity between the target wallpaper image and the candidate theme displaying a preset number of candidate topics in order of highness to lowness; and displaying the user from the displayed candidate theme
  • the selected topic is determined as the target topic
  • the subject to be selected having the highest degree of similarity with the target wallpaper picture is determined as the target subject.
  • the processor is further configured to:
  • the processor is further configured to:
  • the smart terminal theme replacement method acquires element information of the target wallpaper image and acquires the similarity between the element information of the target wallpaper image and the element information of the theme. Then, based on the similarity between the target wallpaper and the theme, the target theme is determined. Finally, the theme of the smart terminal is replaced with the target theme.
  • the smart terminal automatically determines the target theme according to the target wallpaper image, and replaces the theme of the smart terminal with the target theme. The entire process of replacing the theme does not require any operation by the user, is convenient to use, and improves the interest of replacing the theme. real-time.
  • FIG. 1 is a schematic flowchart of a method for replacing a theme of an intelligent terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for determining a target topic according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for obtaining a similarity between a target wallpaper image and a candidate theme according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of another method for replacing a theme of an intelligent terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of still another method for replacing a theme of an intelligent terminal according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart diagram of another method for replacing a theme of an intelligent terminal according to an embodiment of the present invention.
  • FIG. 7 is a block diagram of a smart terminal theme replacement device according to an embodiment of the present invention.
  • FIG. 8 is a block diagram of another smart terminal theme replacing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a block diagram of another intelligent terminal theme replacing apparatus according to an embodiment of the present invention.
  • FIG. 10 is a structural block diagram of an intelligent terminal according to an embodiment of the present invention.
  • FIG. 1 a schematic flowchart of a method for replacing a theme of a smart terminal according to an embodiment of the present invention is shown.
  • the method is applied to an intelligent terminal having a display screen.
  • the display screen includes a touch screen. , monitor screen, electronic ink screen, etc.
  • the method can include:
  • the wallpaper picture refers to a background picture of an operation interface of the smart terminal, that is, a screen wallpaper of the smart terminal; a photo in the smart terminal may be selected as a screen wallpaper of the smart terminal, or a picture taken by the system may be selected as a screen wallpaper, and Select a picture from the network photo gallery as a screen wallpaper via the Internet.
  • the element information of the replaced wallpaper picture ie, the target wallpaper picture
  • the element information may include subject image type information, attribute information, and subject image content information of the picture. At least one or any combination of the plurality.
  • the main image is the main object to be represented by the picture content of the picture.
  • the main image is a character, and the number of the characters may be one or more.
  • the subject image is a natural landscape.
  • the subject image type information may include a character class, a landscape class, a still life class, a pet class, and the like;
  • the target wallpaper image attribute information may include a time, a place, and the like of the target wallpaper image generation;
  • the subject image content information may include a specific image content of the subject image.
  • the to-be-selected topic may be all or part of a topic stored locally by the smart terminal, and the smart terminal may acquire element information of the locally stored topic in advance and establish a corresponding first element information library.
  • the feature information of the theme stored in the smart terminal is needed, the information of the topic can be directly obtained from the first component information database, and the smart terminal does not need to obtain the feature information of the topic to be selected in real time, thereby saving the CPU resource occupancy rate of the smart terminal.
  • the candidate theme may be all or part of a theme stored in the server, and the server acquires element information of the theme stored in the server in advance and establishes a second element information base, and the smart terminal directly from the The element information of the subject to be selected is obtained in the second element information database.
  • the partial element information of the theme may be obtained according to the topic details of the topic (for example, the topic name, the topic resource profile, detailed information of each operation interface, etc.), for example, according to the obtained theme.
  • the name determines the subject image type information of the subject to be selected.
  • the element information of the subject to be selected is obtained, and the element information of the target wallpaper image and the element information of the subject to be selected are compared, and the similarity between the target wallpaper image and the subject to be selected is obtained.
  • the element information is the image content information of the picture
  • the image distance between the subject image content information of the target wallpaper image and the subject image content information of the subject to be selected is calculated, thereby obtaining a similarity between the target wallpaper image and the subject to be selected. degree.
  • S140 Determine a target theme according to a similarity between the target wallpaper image and the candidate theme.
  • the topic of the highest similarity to the target wallpaper picture may be determined as the target theme.
  • one of the plurality of candidate topics that are similar in similarity to the target wallpaper image may be selected as the target topic.
  • the to-be-selected topic is a topic stored in the smart terminal
  • the theme of the smart terminal is directly configured as the target topic.
  • the smart terminal If the to-be-selected topic is a topic stored in the server, the smart terminal first downloads the target topic from the server, and then configures the topic of the smart terminal as the target topic.
  • the theme replacement method of the smart terminal obtained by the embodiment obtains the element information of the target wallpaper image of the smart terminal, and acquires the similarity between the element information of the target wallpaper image and the element information of the theme. Then, based on the similarity between the target wallpaper and the theme, the target theme is determined. Finally, the theme of the smart terminal is replaced with the target theme. With the method, the smart terminal automatically determines the target theme according to the target wallpaper image, and replaces the theme of the smart terminal with the target theme. The entire process of replacing the theme does not require any operation by the user, is convenient to use, and improves the real-time performance of the replacement theme.
  • the user may select one candidate theme from the plurality of candidate topics whose similarity is similar to the target wallpaper image as the target theme.
  • S140 may include S141-S143. :
  • S141 Sort the to-be-selected topics according to the similarity between the target wallpaper image and the to-be-selected theme.
  • the topics to be selected may be ordered in descending order of similarity; in another embodiment of the present invention, the topics may be selected in descending order of similarity. Sort.
  • S142 Show the user a preset number of to-be-selected topics in order of similarity from high to low.
  • a preset number of candidate topics with higher similarity is selected, and the selected candidate topics are displayed to the user, so that the user can select a topic from the selected topics displayed by the smart terminal.
  • the smart terminal uses the theme selected by the user from a preset number of candidate topics with higher similarity as the target theme.
  • the method for determining a target theme provided by this embodiment first determines a plurality of to-be-selected topics that are closer to the target wallpaper image according to the similarity between the selected theme and the target wallpaper image, and then, the user determines from the plurality of selected topics.
  • the selected topics that are closer to the target wallpaper image one candidate theme is selected as the target theme, and the final target theme satisfies the user's individual needs to a certain extent, and at the same time, the user's selection range is narrowed, and the user selection can be saved. The time spent on the target topic.
  • the similarity between the target wallpaper image and the to-be-selected theme may include the following two application scenarios:
  • the element information includes a scene of any one of the subject image type information, the attribute information, and the subject image content information of the picture;
  • the similarity between the two image types is determined in advance, and the similarity between the main image type information of the target wallpaper image and the main image type information of the selected theme is directly queried as the target wallpaper.
  • the similarity between the picture and the subject to be selected is considered to be relatively high. .
  • the prime information is attribute information (for example, time, place)
  • the approximate time of the natural environment included in the subject image and the approximate time of the natural environment included in the target wallpaper image are calculated, and the time corresponding to the target wallpaper image and the candidate theme are calculated.
  • the time corresponding to the target wallpaper image is spring
  • the time corresponding to the selected theme is autumn
  • the geographic distance between the location coordinates of the location of the natural environment included in the target wallpaper image and the location coordinates of the location of the natural environment included in the theme to be selected is calculated. The smaller the similarity, the smaller the geographical distance and the greater the similarity between the two.
  • the similarity between the subject image content of the target wallpaper picture and the subject image content of the subject to be selected is calculated.
  • the similarity can be expressed by the distance between images (for example, Euclidean distance, cosine distance), where the smaller the Euclidean distance, the greater the similarity between the two images; the larger the cosine distance, the two images The greater the similarity between the two.
  • the element information includes a scene of any combination of the subject image type information of the picture, the attribute information, and the subject image content information;
  • the similarity between the target wallpaper image and the candidate theme is obtained according to the element information of the target wallpaper image and the element information of the candidate theme, which may include Method steps:
  • the weight coefficient corresponding to the element information may be set according to the degree of influence of the element information on the similarity. For example, the factor that has the greatest influence on the similarity is the subject image content information of the picture, followed by the picture.
  • the subject image type information is again the attribute information of the picture.
  • the element information includes the subject image content information and the attribute information
  • the similarity between the subject image content information of the target wallpaper image and the subject image content information of the candidate theme is respectively calculated, and the attribute information and the object of the target wallpaper image are calculated. Select the similarity between the attribute information of the topic.
  • the element information includes the subject image type information and the subject image content information, assuming that the similarity of the subject image type information between the target wallpaper image and the subject to be selected is d 1 , the subject image content between the target wallpaper image and the subject to be selected The similarity of the information is d 2 ; moreover, assuming that the weight coefficient corresponding to the subject image type information is 0.3 and the weight coefficient corresponding to the subject image content information is 0.7, the similarity d between the target wallpaper image and the candidate subject is as in Formula 1. Shown as follows:
  • the method for obtaining the similarity between the candidate theme and the target wallpaper image takes into account that the degree of influence of the different element information on the similarity is different, and the degree of influence on the similarity is set according to different element information.
  • the weight coefficient, according to the similarity between the target wallpaper image and the corresponding element information of the candidate theme, and the weight coefficient corresponding to the element information, finally obtain the similarity between the target wallpaper image and the candidate theme.
  • the similarity between the target wallpaper image calculated by this method and the subject to be selected is more accurate, and further, the target theme determined according to the similarity between the target wallpaper image and the candidate theme is matched with the target wallpaper image. Higher degrees.
  • FIG. 4 a schematic flowchart of another method for replacing a theme of a smart terminal according to an embodiment of the present invention is shown.
  • the method may further include the following steps on the basis of the embodiment shown in FIG. 1 :
  • the smart terminal After executing S150, executing S210, the smart terminal uploads the topic information of the target topic to the server, so that the server stores the topic information of the target topic.
  • the topic information may include information such as topic type, topic name, topic details, and the like.
  • the smart terminal After obtaining the target theme, the smart terminal uploads the theme information of the target theme to the big data server, so that the big data server can establish the big data of the theme used by the user according to the subject information of the recorded target theme, so that the server according to the big data is The user pushes the corresponding topic.
  • FIG. 5 a flowchart of still another method for replacing a theme of a smart terminal according to an embodiment of the present invention is shown.
  • the method may further include the following steps on the basis of the embodiment shown in FIG. 1 :
  • the smart terminal After executing S150, executing S310, the smart terminal constructs a correspondence between the target theme and the target wallpaper picture, and stores the corresponding relationship.
  • the theme matching the target wallpaper image can be directly found according to the correspondence between the wallpaper image and the theme, and the smart terminal is not required to re-determine the theme corresponding to the target wallpaper, thereby saving the smart terminal.
  • FIG. 6 a schematic flowchart of another method for replacing a theme of a smart terminal according to an embodiment of the present invention is shown.
  • the method is applied to a server.
  • the method may include the following steps:
  • the server acquires element information of a target wallpaper image of the smart terminal, where the element information of the target wallpaper image is obtained by the smart terminal.
  • the server acquires element information of the subject to be selected.
  • the to-be-selected theme is a theme stored in the server.
  • the server acquires element information of the theme stored by itself in advance, and establishes a second element information base. Subsequently, when you need to use the feature information of the theme stored in the server, you can directly query it from the second feature information base.
  • the server acquires the similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme.
  • the server determines the target theme according to the similarity between the target wallpaper image and the candidate theme.
  • the server sends the target topic to the smart terminal, so that the smart terminal replaces the currently used theme with the target theme.
  • the server After determining the target theme according to the similarity between the target wallpaper image and the candidate theme, the server pushes the target theme to the smart terminal, and the smart terminal configures the theme of the smart target into the target theme.
  • the smart terminal uses the theme stored in the server as a candidate theme. After the smart terminal detects the replacement of the wallpaper image, the smart terminal acquires the element information of the replaced target wallpaper image and sends the information to the server. .
  • the server obtains the feature information of the subject to be selected, and compares the element information of the target wallpaper image with the element information of the candidate theme to obtain the similarity between the target wallpaper image and the candidate theme. Then, the target theme is determined according to the similarity, and the target theme is pushed to the smart terminal, and the smart terminal sets its own theme as the target theme. It can be seen from the above that the method determines the target theme by the server. Since the resources of the server are rich, the speed of the theme replacement can be improved, and at the same time, the CPU resources of the smart terminal are saved.
  • the present invention also provides an intelligent terminal theme replacement device embodiment.
  • FIG. 7 a block diagram of a smart terminal theme replacement device according to an embodiment of the present invention is shown.
  • the device is applied to an intelligent terminal.
  • the device includes: a first acquiring module 110 and a second acquiring module. 120.
  • the first obtaining module 110 is configured to acquire element information of a target wallpaper image of the smart terminal.
  • the element information includes at least one or any combination of the subject image type information, the attribute information, and the subject image content information of the picture.
  • the second obtaining module 120 is configured to acquire element information of the subject to be selected.
  • the to-be-selected topic may be all or part of a topic that is stored locally by the smart terminal.
  • the second obtaining module 120 may include a first determining sub-module and a first acquiring sub-module;
  • the first determining submodule is configured to determine that the theme stored in the smart terminal is the candidate topic.
  • the first obtaining sub-module is configured to acquire element information of the to-be-selected topic from a pre-established first element information library, where the first element information library stores element information of the topic stored by the smart terminal.
  • the information of the topic can be directly obtained from the first component information database, and the smart terminal does not need to obtain the feature information of the topic to be selected in real time, thereby saving the CPU resource occupancy rate of the smart terminal.
  • the smart terminal acquires element information of the locally stored theme in advance and establishes a corresponding first element information base.
  • the candidate theme may be all or part of the theme stored in the server, and the server acquires element information of the theme stored in the server in advance, and establishes a second element information base.
  • the second obtaining module 120 may include: a second determining submodule and a second acquiring submodule.
  • the second determining submodule is configured to determine that the theme stored in the server is a candidate topic.
  • the second acquiring sub-module is configured to acquire element information of the to-be-selected topic from a pre-established second element information database, where the second element information stores element information of the topic stored by the server.
  • the third obtaining module 130 is configured to obtain the similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme.
  • the determining module 140 is configured to determine the target theme according to the similarity between the target wallpaper image and the candidate theme.
  • the candidate topic with the highest similarity to the target wallpaper picture may be determined as the target theme.
  • the determining module 140 may include a fourth determining sub-module, configured to determine, as the target topic, a topic to be selected with the highest degree of similarity between the target wallpaper image.
  • the determining module 140 may include The sorting sub-module, the display sub-module, and the third determining sub-module are included.
  • the sorting sub-module is configured to sort the similarity between the target wallpaper image and the candidate theme.
  • the display sub-module is configured to display a preset number of to-be-selected topics in order of highness to low similarity.
  • the third determining submodule is configured to determine a topic selected by the user from the displayed candidate topics as the target topic.
  • the replacement module 150 is configured to replace the theme currently used by the smart terminal with the target theme.
  • the first acquiring module acquires the element information of the replaced target wallpaper image after detecting the replacement of the wallpaper image by the smart terminal; the second obtaining module acquires the element information of the subject to be selected; The similarity between the element information of the target wallpaper image and the element information of the theme is acquired by the third acquisition module.
  • the determination module determines the target theme based on the similarity between the target wallpaper and the theme.
  • the replacement module replaces the subject of the smart terminal with the target theme.
  • the smart terminal automatically determines the target theme according to the target wallpaper image, and replaces the theme of the smart terminal with the target theme. The entire process of replacing the theme does not require any operation by the user, is convenient to use, and improves the real-time performance of the replacement theme.
  • the third obtaining module may include the following two application scenarios:
  • the element information includes a scene of any one of the subject image type information, the attribute information, and the subject image content information of the picture;
  • the similarity between the two image types is determined in advance, and the similarity between the main image type information of the target wallpaper image and the main image type information of the selected theme is directly queried as a target.
  • the similarity between the wallpaper image and the subject to be selected For example, the subject image type of the target wallpaper image is a pet class, and the subject image type of the candidate theme is also a pet class, and the similarity between the subject image type information of the target wallpaper image and the subject image type information of the candidate theme is considered to be relatively high. .
  • the prime information is attribute information (for example, time, place)
  • the approximate time of the natural environment included in the subject image and the approximate time of the natural environment included in the target wallpaper image are calculated, and the time corresponding to the target wallpaper image and the candidate theme are calculated.
  • the time corresponding to the target wallpaper image is spring
  • the time corresponding to the selected theme is autumn
  • the geographic distance between the location coordinates of the location of the natural environment included in the target wallpaper image and the location coordinates of the location of the natural environment included in the theme to be selected is calculated. The smaller the similarity, the smaller the geographical distance and the greater the similarity between the two.
  • the prime information is the main image content information
  • the main image content of the target wallpaper image is calculated and the candidate is selected.
  • the similarity between the subject image content of the question can be expressed by the distance between images (for example, Euclidean distance, cosine distance), wherein the smaller the Euclidean distance, the greater the similarity between the two images; the larger the cosine distance, the more between the two images The greater the similarity.
  • the element information includes a scene of any combination of the subject image type information of the picture, the attribute information, and the subject image content information;
  • the third obtaining module may include a third acquiring submodule, a first calculating submodule, and a second computing submodule.
  • the third obtaining submodule is configured to obtain a weight coefficient corresponding to each element information.
  • the weight coefficient corresponding to the element information may be set according to the degree of influence of the element information on the similarity. For example, the factor that has the greatest influence on the similarity is the subject image content information of the picture, followed by the picture.
  • the subject image type information is again the attribute information of the picture.
  • the first calculation submodule is configured to calculate a similarity between the target wallpaper image and the corresponding element information of the candidate theme.
  • the element information includes the subject image content information and the attribute information
  • the similarity between the subject image content information of the target wallpaper image and the subject image content information of the candidate theme is respectively calculated, and the attribute information and the object of the target wallpaper image are calculated. Select the similarity between the attribute information of the topic.
  • the second calculation sub-module is configured to calculate, according to the similarity between the target wallpaper image and the corresponding element information of the candidate theme, and the weight coefficient corresponding to the element information, calculate the target wallpaper image and the location Describe the similarity between the topics to be selected.
  • the element information includes the subject image type information and the subject image content information, assuming that the similarity of the subject image type information between the target wallpaper image and the subject to be selected is d 1 , the subject image content between the target wallpaper image and the subject to be selected The similarity of the information is d 2 ; moreover, assuming that the weight coefficient corresponding to the subject image type information is 0.3 and the weight coefficient corresponding to the subject image content information is 0.7, the similarity d between the target wallpaper image and the subject to be selected is 0.3 ⁇ d 1 +0.7 ⁇ d 2 .
  • the third obtaining module provided in this embodiment considers different degrees of influence of different element information on the similarity degree, and sets a corresponding weight coefficient according to the influence degree of different element information on the similarity degree, and then according to the target wallpaper picture and the candidate to be selected.
  • the similarity between the corresponding feature information of the theme, and the weight coefficient corresponding to the feature information finally obtain the similarity between the target wallpaper image and the candidate theme.
  • the similarity between the target wallpaper image calculated by this method and the subject to be selected is more accurate, and further, the target theme determined according to the similarity between the target wallpaper image and the candidate theme is matched with the target wallpaper image. Higher degrees.
  • FIG. 8 a block diagram of another intelligent terminal theme replacing apparatus according to an embodiment of the present invention is shown in FIG. 8.
  • the device may further include: a building module 210 on the basis of the embodiment shown in FIG. 7.
  • the building module 210 is configured to construct a correspondence between the target theme and the target wallpaper picture, and upload the corresponding relationship to a server.
  • the building module 210 establishes the correspondence between the wallpaper image and the theme
  • the wallpaper image can be directly found according to the correspondence between the wallpaper image and the theme.
  • the matching theme does not require the smart terminal to re-determine the theme corresponding to the target wallpaper, thereby saving CPU resources in the smart terminal.
  • the device may further include: a sending module 310.
  • the sending module 310 is configured to send topic information of the target topic to a server, so that the server stores topic information of the target topic.
  • the server can establish big data of the theme used by the user according to the subject information of the recorded target theme, so as to push the corresponding theme for the user according to the big data.
  • FIG. 7 to FIG. 9 can also be applied to the server.
  • This application scenario corresponds to the method embodiment shown in FIG. 6, and details are not described herein again.
  • the present invention further provides an embodiment of the smart terminal applying the smart terminal theme replacement method.
  • the smart terminal 600 includes: at least one processor 601, at least one communication bus 602, a user interface 603, a memory 604, and at least one network. Interface 605.
  • the communication bus 602 is used to implement connection communication between these components; the intelligent terminal is connected to the network through the network interface 605.
  • the user interface 603 may include a display (eg, a touch screen, LCD, CRT, Holographic or Projector, etc.), a keyboard or a pointing device (eg, a mouse, a trackball, a touchpad, a touch screen, etc.), etc. .
  • a display eg, a touch screen, LCD, CRT, Holographic or Projector, etc.
  • a keyboard or a pointing device eg, a mouse, a trackball, a touchpad, a touch screen, etc.
  • Memory 604 can include read only memory and random access memory and provides instructions and data to processor 601. A portion of the memory 604 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory 604 stores elements, executable modules or data structures, or a subset thereof, or their extended set; in this embodiment, the memory 604 includes an operating system 6041 and an application module 6042.
  • the operating system 6041 includes various system programs for implementing various basic services and processing hardware-based tasks;
  • the application module 6042 includes various applications, such as a desktop, a media player, a browser, etc., for implementing various application services.
  • the processor 601 by calling a program or instruction stored in the memory 604, the processor 601 is configured to:
  • the theme currently used by the smart terminal is replaced with the target theme.
  • the processor acquires the element information of the replaced target wallpaper image, and acquires the similarity between the element information of the target wallpaper image and the element information of the theme. Then, based on the similarity between the target wallpaper and the theme, the target theme is determined. Finally, the theme of the smart terminal is replaced with the target theme.
  • the smart terminal automatically determines the target theme according to the target wallpaper image, and replaces the theme of the smart terminal with the target theme. The entire process of replacing the theme does not require any operation by the user, is convenient to use, and improves the real-time performance of the replacement theme.
  • the processor 601 when the processor 601 is configured to obtain the element information of the topic to be selected, specifically, the method is used to:
  • the element information of the to-be-selected topic is obtained from the pre-established first element information database, and the first element information library stores element information of the topic stored by the smart terminal.
  • the smart terminal can acquire element information of the locally stored theme in advance and establish a corresponding first element information base.
  • the information of the topic can be directly obtained from the first component information database, and the smart terminal does not need to obtain the feature information of the topic to be selected in real time, thereby saving the CPU resource occupancy rate of the smart terminal.
  • the processor 601 when the processor 601 is configured to obtain the element information of the topic to be selected, specifically, the method is used to:
  • the element information of the subject to be selected is acquired from a pre-established second element information base, and the second element information stores element information of the theme stored by the server.
  • the element information includes at least one or any combination of the subject image type information, the attribute information, and the subject image content information of the picture.
  • the processor 601 is configured to use the element information and the location of the target wallpaper image.
  • the feature information of the selected theme is obtained, and the similarity between the target wallpaper image and the candidate theme is obtained, specifically used for:
  • the intelligent terminal sets a corresponding weight coefficient according to the influence degree of the different element information on the similarity degree, and then according to the information between the target wallpaper image and the corresponding element information of the candidate theme.
  • the similarity, and the weight coefficient corresponding to the element information finally obtain the similarity between the target wallpaper image and the candidate theme.
  • the similarity between the target wallpaper image calculated by this method and the subject to be selected is more accurate, and further, the target theme determined according to the similarity between the target wallpaper image and the candidate theme is matched with the target wallpaper image. Higher degrees.
  • the processor 601 is configured to determine a target topic according to the similarity between the target wallpaper image and the candidate topic, specifically for:
  • Sorting the similarity between the target wallpaper image and the candidate theme displaying a preset number of candidate topics in order of highness to lowness; and displaying the user from the displayed candidate theme
  • the selected topic is determined as the target topic
  • the method for determining a target theme provided by this embodiment first determines a plurality of to-be-selected topics that are closer to the target wallpaper image according to the similarity between the selected theme and the target wallpaper image, and then, the user determines from the plurality of selected topics.
  • the selected topics that are closer to the target wallpaper image one candidate theme is selected as the target theme, and the final target theme satisfies the user's individual needs to a certain extent, and at the same time, the user's selection range is narrowed, and the user selection can be saved. The time spent on the target topic.
  • the processor 601 is configured to determine a target theme according to the similarity between the target wallpaper image and the candidate theme, specifically, to: use the highest similarity between the target wallpaper image and the target wallpaper image.
  • the subject matter to be selected is determined as the target topic.
  • the processor 601 is further configured to: construct a correspondence between the target theme and the target wallpaper picture, and upload the corresponding relationship to a server.
  • the user After establishing the correspondence between the wallpaper image and the theme, when the user uses the target wallpaper again as the wallpaper of the smart terminal, the user can directly find the image matching the target wallpaper according to the correspondence between the wallpaper image and the theme.
  • the theme does not require the smart terminal to re-determine the theme corresponding to the target wallpaper, thereby saving CPU resources in the smart terminal.
  • the processor 601 is further configured to: send the topic information of the target topic to a server, so that the server stores topic information of the target topic.
  • the server can establish big data of the theme used by the user according to the subject information of the recorded target theme, so as to push the corresponding theme for the user according to the big data.
  • the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A theme replacement method and apparatus for an intelligent terminal. The method comprises: firstly, acquiring element information about a target wallpaper picture, and acquiring the similarity between the element information about the target wallpaper picture and element information about a theme; then, according to the similarity between target wallpaper and the theme, determining a target theme; and finally, replacing the theme of an intelligent terminal with the target theme. By means of the process, an intelligent terminal automatically determines a target theme according to a target wallpaper picture, and replaces a theme of the intelligent terminal with the target theme. The whole theme replacement process does not need a user to perform any operation, and is convenient to use, and the interestingness and real-time performance of theme replacement are improved.

Description

智能终端主题更换方法及装置Intelligent terminal theme replacement method and device 技术领域Technical field
本发明涉及智能终端技术领域,尤其涉及一种智能终端主题更换方法及装置。The present invention relates to the field of intelligent terminal technologies, and in particular, to a method and device for replacing a smart terminal theme.
背景技术Background technique
智能终端(例如,智能手机、平板电脑、PDA(Personal Digital Assistant,掌上电脑)等)的主题是指智能终端操作界面和图标的风格,包括待机图片、屏幕保护程序、操作界面及图标等内容。通过更换智能终端主题可以快捷地实现智能终端的操作界面和图标的个性化。The theme of the smart terminal (for example, a smart phone, a tablet, a PDA (Personal Digital Assistant), etc.) refers to the style of the smart terminal operation interface and icons, including the standby picture, the screen saver, the operation interface, and the icon. By replacing the smart terminal theme, the operation interface of the smart terminal and the personalization of the icon can be quickly realized.
用户可以根据自身兴趣爱好随时更换主题。但是,目前,用户需要通过手动操作查找自己感兴趣的主题,例如,用户从智能终端内存储的主题中查找感兴趣的主题,或者,用户先从互联网中查找自己感兴趣的主题,并下载到本地,然后,用户需要通过手动操作将查找到的主题更换为当前主题。此种主题更换方式需要用户通过手动操作查找并安装主题,操作繁琐,使用不方便。Users can change the theme at any time according to their hobbies. However, at present, users need to manually find the topics of interest to them, for example, the user searches for topics of interest from the topics stored in the smart terminal, or the user first finds topics of interest from the Internet and downloads them to Local, then, the user needs to manually change the found topic to the current theme. This type of theme replacement requires the user to find and install the theme by manual operation, which is cumbersome and inconvenient to use.
发明内容Summary of the invention
本发明实施例中提供了一种智能终端主题更换方法及装置,以解决现有技术中更换智能终端主题存在的操作繁琐、使用不方便的问题。In the embodiment of the present invention, a method and a device for replacing a theme of a smart terminal are provided to solve the problem that the operation of replacing the smart terminal in the prior art is cumbersome and inconvenient to use.
为了解决上述技术问题,本发明实施例公开了如下技术方案:In order to solve the above technical problem, the embodiment of the present invention discloses the following technical solutions:
第一方面,提供一种智能终端主题更换方法,包括:In a first aspect, a method for replacing a theme of a smart terminal is provided, including:
获取智能终端的目标壁纸图片的要素信息;Obtaining element information of a target wallpaper image of the smart terminal;
获取待选主题的要素信息;Get the feature information of the topic to be selected;
根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度;Obtaining a similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme;
根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题;Determining a target theme according to a similarity between the target wallpaper image and the candidate theme;
将所述智能终端当前使用的主题更换为所述目标主题。The theme currently used by the smart terminal is replaced with the target theme.
结合第一方面,在第一方面的第一种可能的实现方式中,所述获取待选主题的要素信息,包括:With reference to the first aspect, in the first possible implementation manner of the first aspect, the acquiring the element information of the to-be-selected topic includes:
确定所述智能终端内存储的主题为所述待选主题; Determining that the theme stored in the smart terminal is the candidate topic;
从预先建立的第一要素信息库中,获取所述待选主题的要素信息,所述第一要素信息库存储所述智能终端所存储的主题的要素信息。The element information of the to-be-selected topic is obtained from the pre-established first element information database, and the first element information library stores element information of the topic stored by the smart terminal.
结合第一方面,在第一方面的第二种可能的实现方式中,所述获取待选主题的要素信息,包括:With reference to the first aspect, in a second possible implementation manner of the first aspect, the acquiring the element information of the to-be-selected topic includes:
确定服务器内存储的主题为待选主题;Determining that the theme stored in the server is a candidate topic;
从预先建立的第二要素信息库中,获取所述待选主题的要素信息,所述第二要素信息存储所述服务器所存储的主题的要素信息。The element information of the subject to be selected is acquired from a pre-established second element information base, and the second element information stores element information of the theme stored by the server.
结合第一方面、第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的至少一种或任意多种组合。In conjunction with the first aspect, the first possible implementation of the first aspect, or the second possible implementation of the first aspect, in a third possible implementation of the first aspect, the element information includes a picture At least one or any combination of the subject image type information, the attribute information, and the subject image content information.
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,若所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合,则根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度,包括:With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the element information includes any one of a main body image type information, an attribute information, and a main body image content information of the image. a plurality of combinations, the similarity between the target wallpaper image and the candidate theme is obtained according to the element information of the target wallpaper image and the element information of the candidate theme, including:
获取各个要素信息对应的权重系数;Obtaining a weight coefficient corresponding to each element information;
计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度;Calculating a similarity between the target wallpaper image and corresponding element information of the candidate theme;
根据所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,得到所述目标壁纸图片与所述待选主题之间的相似度。And obtaining a similarity between the target wallpaper image and the candidate theme according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information.
结合第一方面,在第一方面的第五种可能的实现方式中,所述根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题,包括:With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the determining, according to the similarity between the target wallpaper image and the to-be-selected topic, the target theme includes:
对所述目标壁纸图片与所述待选主题之间的相似度进行排序;按照相似度由高到低的顺序,展示前预设数量个待选主题;将用户从所展示的待选主题中选定的主题确定为所述目标主题;Sorting the similarity between the target wallpaper image and the candidate theme; displaying a preset number of candidate topics in order of highness to lowness; and displaying the user from the displayed candidate theme The selected topic is determined as the target topic;
或者,or,
将与所述目标壁纸图片之间的相似度最高的待选主题,确定为所述目标主题。The subject to be selected having the highest degree of similarity with the target wallpaper picture is determined as the target subject.
结合第一方面,在第一方面的第六种可能的实现方式中,还包括:With reference to the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes:
构建所述目标主题及所述目标壁纸图片之间的对应关系,并将所述对应关系上传到服务器。Constructing a correspondence between the target theme and the target wallpaper image, and uploading the correspondence to the server.
结合第一方面,在第一方面的第七种可能的实现方式中,还包括:With reference to the first aspect, in a seventh possible implementation manner of the first aspect, the method further includes:
将所述目标主题的主题信息发送给服务器,以使所述服务器存储所述目标主题的主题信息。 Sending topic information of the target topic to a server, so that the server stores topic information of the target topic.
第二方面,提供一种智能终端主题更换装置,包括:The second aspect provides a smart terminal theme replacement device, including:
第一获取模块,用于获取智能终端的目标壁纸图片的要素信息;a first acquiring module, configured to acquire element information of a target wallpaper image of the smart terminal;
第二获取模块,用于获取待选主题的要素信息;a second obtaining module, configured to acquire element information of the subject to be selected;
第三获取模块,用于根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度;a third obtaining module, configured to acquire, according to element information of the target wallpaper image and element information of the candidate theme, a similarity between the target wallpaper image and the candidate theme;
确定模块,用于根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题;a determining module, configured to determine a target theme according to a similarity between the target wallpaper image and the candidate theme;
更换模块,用于将所述智能终端当前使用的主题更换为所述目标主题。And replacing a module, configured to replace a theme currently used by the smart terminal with the target theme.
结合第二方面,在第二方面的第一种可能的实现方式中,所述第二获取模块,包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the second acquiring module includes:
第一确定子模块,用于确定所述智能终端内存储的主题为所述待选主题;a first determining submodule, configured to determine that the theme stored in the smart terminal is the candidate topic;
第一获取子模块,用于从预先建立的第一要素信息库中,获取所述待选主题的要素信息,所述第一要素信息库存储所述智能终端所存储的主题的要素信息。And a first acquiring sub-module, configured to acquire element information of the to-be-selected topic from a pre-established first element information library, where the first element information inventory stores element information of the topic stored by the smart terminal.
结合第二方面,在第二方面的第二种可能的实现方式中,所述第二获取模块包括:With reference to the second aspect, in a second possible implementation manner of the second aspect, the second acquiring module includes:
第二确定子模块,用于确定服务器内存储的主题为待选主题;a second determining submodule, configured to determine that the theme stored in the server is a candidate topic;
第二获取子模块,用于从预先建立的第二要素信息库中,获取所述待选主题的要素信息,所述第二要素信息存储所述服务器所存储的主题的要素信息。And a second obtaining sub-module, configured to acquire element information of the to-be-selected topic from a pre-established second element information base, where the second element information stores element information of the topic stored by the server.
结合第二方面、第二方面的第一种可能的实现方式或第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的至少一种或任意多种组合。In conjunction with the second aspect, the first possible implementation of the second aspect, or the second possible implementation of the second aspect, in a third possible implementation of the second aspect, the element information includes a picture At least one or any combination of the subject image type information, the attribute information, and the subject image content information.
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,若所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合,则所述第三获取模块,包括:With reference to the third possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect, if the element information includes any of the subject image type information, the attribute information, and the subject image content information of the image The plurality of combinations, the third obtaining module includes:
第三获取子模块,用于获取各个要素信息对应的权重系数;a third obtaining submodule, configured to obtain a weight coefficient corresponding to each element information;
第一计算子模块,用于计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度;a first calculation submodule, configured to calculate a similarity between the target wallpaper image and corresponding element information of the candidate theme;
第二计算子模块,用于根据所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,计算得到所述目标壁纸图片与所述待选主题之间的相似度。a second calculation submodule, configured to calculate, according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information, the target wallpaper image and the The similarity between the topics to be selected.
结合第二方面,在第二方面的第五种可能的实现方式中,所述确定模块,包括:With reference to the second aspect, in a fifth possible implementation manner of the second aspect, the determining module includes:
排序子模块,用于对所述目标壁纸图片与所述待选主题之间的相似度进行排序; 展示子模块,用于按照相似度由高到低的顺序,展示前预设数量个待选主题;第三确定子模块,用于将用户从所展示的待选主题中选定的主题确定为所述目标主题;a sorting sub-module, configured to sort the similarity between the target wallpaper image and the candidate theme; a display sub-module, configured to display a preset number of candidate topics in a descending order of similarity; a third determining sub-module, configured to determine a topic selected by the user from the displayed candidate topics as The target theme;
或者,or,
第四确定子模块,用于将与所述目标壁纸图片之间的相似度最高的待选主题,确定为所述目标主题。And a fourth determining submodule, configured to determine, as the target theme, a topic to be selected with the highest degree of similarity between the target wallpaper image.
结合第二方面,在第二方面的第六种可能的实现方式中,还包括:With reference to the second aspect, in a sixth possible implementation manner of the second aspect, the method further includes:
构建模块,用于构建所述目标主题及所述目标壁纸图片之间的对应关系,并将所述对应关系上传到服务器。And a building module, configured to construct a correspondence between the target theme and the target wallpaper image, and upload the corresponding relationship to the server.
结合第二方面,在第二方面的第七种可能的实现方式中,还包括:With reference to the second aspect, in a seventh possible implementation manner of the second aspect, the method further includes:
发送模块,用于将所述目标主题的主题信息发送给服务器,以使所述服务器存储所述目标主题的主题信息。And a sending module, configured to send the topic information of the target topic to the server, so that the server stores the topic information of the target topic.
第三方面,提供一种设备,包括:处理器和存储器,In a third aspect, an apparatus is provided, including: a processor and a memory,
通过调用所述存储器内存储的程序或指令,所述处理器用于:The processor is configured to: by calling a program or instruction stored in the memory:
获取智能终端的目标壁纸图片的要素信息;Obtaining element information of a target wallpaper image of the smart terminal;
获取待选主题的要素信息;Get the feature information of the topic to be selected;
根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度;Obtaining a similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme;
根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题;Determining a target theme according to a similarity between the target wallpaper image and the candidate theme;
将所述智能终端当前使用的主题更换为所述目标主题。The theme currently used by the smart terminal is replaced with the target theme.
结合第三方面,在第三方面的第一种可能的实现方式中,所述处理器用于获取待选主题的要素信息时,具体用于:With reference to the third aspect, in a first possible implementation manner of the third aspect, when the processor is used to obtain the element information of the topic to be selected, the method is specifically used to:
确定所述智能终端内存储的主题为所述待选主题;Determining that the theme stored in the smart terminal is the candidate topic;
从预先建立的第一要素信息库中,获取所述待选主题的要素信息,所述第一要素信息库存储所述智能终端所存储的主题的要素信息。The element information of the to-be-selected topic is obtained from the pre-established first element information database, and the first element information library stores element information of the topic stored by the smart terminal.
结合第三方面,在第三方面的第二种可能的实现方式中,所述处理器用于获取待选主题的要素信息时,具体用于:With reference to the third aspect, in a second possible implementation manner of the third aspect, when the processor is used to obtain the element information of the topic to be selected, the method is specifically used to:
确定服务器内存储的主题为待选主题;Determining that the theme stored in the server is a candidate topic;
从预先建立的第二要素信息库中,获取所述待选主题的要素信息,所述第二要素信息存储所述服务器所存储的主题的要素信息。The element information of the subject to be selected is acquired from a pre-established second element information base, and the second element information stores element information of the theme stored by the server.
结合第三方面、第三方面的第一种可能的实现方式或第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述要素信息包括图片的主体图像 类型信息、属性信息和主体图像内容信息中的至少一种或任意多种组合。With reference to the third aspect, the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the component information includes a picture Subject image At least one or any combination of the type information, the attribute information, and the subject image content information.
结合第三方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,若所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合,则所述处理器用于根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度时,包括:With reference to the third possible implementation manner of the third aspect, in the fourth possible implementation manner of the third aspect, if the element information includes any one of a main image type information, an attribute information, and a main body image content information of the image And when the processor obtains the similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme, the method includes:
获取各个要素信息对应的权重系数;Obtaining a weight coefficient corresponding to each element information;
计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度;Calculating a similarity between the target wallpaper image and corresponding element information of the candidate theme;
根据所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,得到所述目标壁纸图片与所述待选主题之间的相似度。And obtaining a similarity between the target wallpaper image and the candidate theme according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information.
结合第三方面,在第三方面的第五种可能的实现方式中,所述处理器用于根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题时,包括:With reference to the third aspect, in a fifth possible implementation manner of the third aspect, the determining, by the processor, when determining the target theme according to the similarity between the target wallpaper image and the candidate theme, includes:
对所述目标壁纸图片与所述待选主题之间的相似度进行排序;按照相似度由高到低的顺序,展示前预设数量个待选主题;将用户从所展示的待选主题中选定的主题确定为所述目标主题;Sorting the similarity between the target wallpaper image and the candidate theme; displaying a preset number of candidate topics in order of highness to lowness; and displaying the user from the displayed candidate theme The selected topic is determined as the target topic;
或者,or,
将与所述目标壁纸图片之间的相似度最高的待选主题,确定为所述目标主题。The subject to be selected having the highest degree of similarity with the target wallpaper picture is determined as the target subject.
结合第三方面,在第三方面的第六种可能的实现方式中,所述处理器还用于:In conjunction with the third aspect, in a sixth possible implementation manner of the third aspect, the processor is further configured to:
构建所述目标主题及所述目标壁纸图片之间的对应关系,并将所述对应关系上传到服务器。Constructing a correspondence between the target theme and the target wallpaper image, and uploading the correspondence to the server.
结合第三方面,在第三方面的第七种可能的实现方式中,所述处理器还用于:In conjunction with the third aspect, in a seventh possible implementation of the third aspect, the processor is further configured to:
将所述目标主题的主题信息发送给服务器,以使所述服务器存储所述目标主题的主题信息。Sending topic information of the target topic to a server, so that the server stores topic information of the target topic.
由以上技术方案可见,本发明实施例提供的智能终端主题更换方法,获取目标壁纸图片的要素信息,以及获取目标壁纸图片的要素信息与主题的要素信息之间的相似度。然后,根据目标壁纸与主题之间的相似度,确定目标主题。最后,将智能终端的主题更换为所述目标主题。通过上述过程,智能终端根据目标壁纸图片自动确定出目标主题,并将智能终端的主题更换为目标主题,更换主题的整个过程不需要用户进行任何操作,使用方便,且提高更换主题的趣味性和实时性。It can be seen from the above technical solution that the smart terminal theme replacement method provided by the embodiment of the present invention acquires element information of the target wallpaper image and acquires the similarity between the element information of the target wallpaper image and the element information of the theme. Then, based on the similarity between the target wallpaper and the theme, the target theme is determined. Finally, the theme of the smart terminal is replaced with the target theme. Through the above process, the smart terminal automatically determines the target theme according to the target wallpaper image, and replaces the theme of the smart terminal with the target theme. The entire process of replacing the theme does not require any operation by the user, is convenient to use, and improves the interest of replacing the theme. real-time.
附图说明DRAWINGS
构成本申请的一部分的说明书附图用来提供对本发明的进一步理解,本发明的示 意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings, which are incorporated in and constitute a The illustrative embodiments and the description thereof are illustrative of the invention and are not to be construed as limiting the invention. In the drawing:
图1是本发明实施例提供的一种智能终端主题更换方法的流程示意图;1 is a schematic flowchart of a method for replacing a theme of an intelligent terminal according to an embodiment of the present invention;
图2是本发明实施例提供的一种确定目标主题的方法流程示意图;2 is a schematic flowchart of a method for determining a target topic according to an embodiment of the present invention;
图3是本发明实施例提供的一种获取目标壁纸图片与待选主题之间的相似度的方法流程示意图;3 is a schematic flowchart of a method for obtaining a similarity between a target wallpaper image and a candidate theme according to an embodiment of the present invention;
图4是本发明实施例提供的另一种智能终端主题更换方法的流程示意图;4 is a schematic flowchart of another method for replacing a theme of an intelligent terminal according to an embodiment of the present invention;
图5是本发明实施例提供的又一种智能终端主题更换方法的流程示意图;FIG. 5 is a schematic flowchart diagram of still another method for replacing a theme of an intelligent terminal according to an embodiment of the present invention;
图6本发明实施例提供的另一种智能终端主题更换方法的流程示意图;FIG. 6 is a schematic flowchart diagram of another method for replacing a theme of an intelligent terminal according to an embodiment of the present invention;
图7是本发明实施例一种智能终端主题更换装置的框图;7 is a block diagram of a smart terminal theme replacement device according to an embodiment of the present invention;
图8是本发明实施例另一种智能终端主题更换装置的框图;FIG. 8 is a block diagram of another smart terminal theme replacing apparatus according to an embodiment of the present invention; FIG.
图9是本发明实施例又一种智能终端主题更换装置的框图;FIG. 9 is a block diagram of another intelligent terminal theme replacing apparatus according to an embodiment of the present invention; FIG.
图10是本发明实施例提供的一种智能终端的结构框图。FIG. 10 is a structural block diagram of an intelligent terminal according to an embodiment of the present invention.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it will be apparent to those skilled in the art that In other words, other drawings can be obtained based on these drawings without paying for creative labor.
具体实施方式detailed description
为了使本领域技术人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所述描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参见图1,示出了本发明实施例提供的一种智能终端主题更换方法的流程示意图,该方法应用于具有显示屏的智能终端中,需要说明的是,这里所说的显示屏包括触摸屏,监视屏,电子墨水屏等。如图1所示,该方法可以包括:Referring to FIG. 1 , a schematic flowchart of a method for replacing a theme of a smart terminal according to an embodiment of the present invention is shown. The method is applied to an intelligent terminal having a display screen. It should be noted that the display screen includes a touch screen. , monitor screen, electronic ink screen, etc. As shown in FIG. 1, the method can include:
S110,获取智能终端的目标壁纸图片的要素信息。S110. Acquire element information of a target wallpaper image of the smart terminal.
所述壁纸图片是指智能终端的操作界面的背景图片,即智能终端的屏幕壁纸;可以选取智能终端内的照片作为智能终端的屏幕壁纸,或者,选取系统自带的图片作为屏幕壁纸,还可以从通过互联网从网络图片库中选取图片作为屏幕壁纸。The wallpaper picture refers to a background picture of an operation interface of the smart terminal, that is, a screen wallpaper of the smart terminal; a photo in the smart terminal may be selected as a screen wallpaper of the smart terminal, or a picture taken by the system may be selected as a screen wallpaper, and Select a picture from the network photo gallery as a screen wallpaper via the Internet.
在本申请的一个实施例中,当智能终端检测到壁纸更换后,获取更换后的壁纸图片(即,目标壁纸图片)的要素信息。In an embodiment of the present application, after the smart terminal detects the wallpaper replacement, the element information of the replaced wallpaper picture (ie, the target wallpaper picture) is acquired.
所述要素信息可以包括图片的主体图像类型信息、属性信息和主体图像内容信息 中的至少一种或任意多种组合。The element information may include subject image type information, attribute information, and subject image content information of the picture. At least one or any combination of the plurality.
其中,主体图像是图片的画面内容所要表现的主要对象,对于人物图片,则主体图像是人物,人物的数量可以是一个或多个。对于风景图片,则主体图像是自然风景。The main image is the main object to be represented by the picture content of the picture. For the picture of the person, the main image is a character, and the number of the characters may be one or more. For landscape pictures, the subject image is a natural landscape.
主体图像类型信息可以包括人物类、风景类、静物类、宠物类等;目标壁纸图片属性信息可以包括目标壁纸图片生成的时间、地点等;主体图像内容信息可以包括主体图像的具体图像内容。The subject image type information may include a character class, a landscape class, a still life class, a pet class, and the like; the target wallpaper image attribute information may include a time, a place, and the like of the target wallpaper image generation; the subject image content information may include a specific image content of the subject image.
S120,获取待选主题的要素信息。S120. Obtain element information of the subject to be selected.
在本发明一实施例中,所述待选主题可以是智能终端本地存储的全部或部分主题,智能终端可以预先获取本地存储的主题的要素信息并建立相应的第一要素信息库。后续需要使用智能终端内存储的主题的要素信息时,可以直接从第一要素信息库中查询得到,不需要智能终端实时获取待选主题的要素信息,从而节省智能终端的CPU资源占用率。In an embodiment of the present invention, the to-be-selected topic may be all or part of a topic stored locally by the smart terminal, and the smart terminal may acquire element information of the locally stored topic in advance and establish a corresponding first element information library. When the feature information of the theme stored in the smart terminal is needed, the information of the topic can be directly obtained from the first component information database, and the smart terminal does not need to obtain the feature information of the topic to be selected in real time, thereby saving the CPU resource occupancy rate of the smart terminal.
在本发明的另一实施例中,所述待选主题可以是服务器中存储的全部或部分主题,服务器预先获取服务器内存储的主题的要素信息并建立第二要素信息库,智能终端直接从所述第二要素信息库中获取待选主题的要素信息。In another embodiment of the present invention, the candidate theme may be all or part of a theme stored in the server, and the server acquires element information of the theme stored in the server in advance and establishes a second element information base, and the smart terminal directly from the The element information of the subject to be selected is obtained in the second element information database.
其中,主题的部分要素信息(例如,主体图像类型信息、属性信息)可以根据主题的主题详情(例如,主题名称、主题资源简介、各个操作界面的详细信息等)得到,例如,根据获得的主题名称判断待选主题的主体图像类型信息。The partial element information of the theme (for example, the subject image type information and the attribute information) may be obtained according to the topic details of the topic (for example, the topic name, the topic resource profile, detailed information of each operation interface, etc.), for example, according to the obtained theme. The name determines the subject image type information of the subject to be selected.
S130,根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度。S130. Acquire, according to element information of the target wallpaper image and element information of the candidate theme, a similarity between the target wallpaper image and the candidate theme.
首先,获取待选主题的要素信息,再比较目标壁纸图片的要素信息及所述待选主题的要素信息,得到目标壁纸图片与待选主题之间的相似度。例如,若要素信息为图片的图像内容信息,则计算目标壁纸图片的主体图像内容信息与待选主题的主体图像内容信息之间的图像距离,进而得到目标壁纸图片与待选主题之间的相似度。First, the element information of the subject to be selected is obtained, and the element information of the target wallpaper image and the element information of the subject to be selected are compared, and the similarity between the target wallpaper image and the subject to be selected is obtained. For example, if the element information is the image content information of the picture, the image distance between the subject image content information of the target wallpaper image and the subject image content information of the subject to be selected is calculated, thereby obtaining a similarity between the target wallpaper image and the subject to be selected. degree.
S140,根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题。S140. Determine a target theme according to a similarity between the target wallpaper image and the candidate theme.
相似度越高表明目标壁纸图片和待选主题越相似,相似度越低表明目标壁纸图片和待选主题的差异越大。The higher the similarity, the more similar the target wallpaper image to the candidate theme, and the lower the similarity, the greater the difference between the target wallpaper image and the candidate theme.
在本发明的一个实施例中,可以将与目标壁纸图片的相似度最高的待选主题确定为目标主题。In one embodiment of the present invention, the topic of the highest similarity to the target wallpaper picture may be determined as the target theme.
在本发明的另一个实施例中,可以从相似度与目标壁纸图片比较接近的多个待选主题中任选一个待选主题作为目标主题。 In another embodiment of the present invention, one of the plurality of candidate topics that are similar in similarity to the target wallpaper image may be selected as the target topic.
S150,将所述智能终端当前使用的主题更换为所述目标主题。S150. Replace the theme currently used by the smart terminal with the target theme.
若所述待选主题是智能终端内存储的主题,则直接将智能终端的主题配置成所述目标主题。If the to-be-selected topic is a topic stored in the smart terminal, the theme of the smart terminal is directly configured as the target topic.
若所述待选主题是服务器中存储的主题,则智能终端首先从服务器中下载所述目标主题,然后,将智能终端的主题配置为所述目标主题。If the to-be-selected topic is a topic stored in the server, the smart terminal first downloads the target topic from the server, and then configures the topic of the smart terminal as the target topic.
本实施例提供的智能终端的主题更换方法,获取智能终端的目标壁纸图片的要素信息,并获取目标壁纸图片的要素信息与主题的要素信息之间的相似度。然后,根据目标壁纸与主题之间的相似度,确定目标主题。最后,将智能终端的主题更换为所述目标主题。利用该方法,智能终端根据目标壁纸图片自动确定出目标主题,并将智能终端的主题更换为目标主题,更换主题的整个过程不需要用户进行任何操作,使用方便,且提高更换主题的实时性。The theme replacement method of the smart terminal provided by the embodiment obtains the element information of the target wallpaper image of the smart terminal, and acquires the similarity between the element information of the target wallpaper image and the element information of the theme. Then, based on the similarity between the target wallpaper and the theme, the target theme is determined. Finally, the theme of the smart terminal is replaced with the target theme. With the method, the smart terminal automatically determines the target theme according to the target wallpaper image, and replaces the theme of the smart terminal with the target theme. The entire process of replacing the theme does not require any operation by the user, is convenient to use, and improves the real-time performance of the replacement theme.
在本发明的另一个实施例中,可以由用户从相似度与目标壁纸图片比较接近的多个待选主题中选择一个待选主题为目标主题,如图2所示,S140可以包括S141~S143:In another embodiment of the present invention, the user may select one candidate theme from the plurality of candidate topics whose similarity is similar to the target wallpaper image as the target theme. As shown in FIG. 2, S140 may include S141-S143. :
S141,根据所述目标壁纸图片与所述待选主题之间的相似度,对所述待选主题排序。S141. Sort the to-be-selected topics according to the similarity between the target wallpaper image and the to-be-selected theme.
在本发明的一个实施例中,可以按照相似度由高到低的顺序,对待选主题排序;在本发明的另一个实施例中,也可以按照相似度由低到高的顺序,对待选主题排序。In an embodiment of the present invention, the topics to be selected may be ordered in descending order of similarity; in another embodiment of the present invention, the topics may be selected in descending order of similarity. Sort.
S142,按照相似度由高到低的顺序,向用户展示前预设数量个待选主题。S142: Show the user a preset number of to-be-selected topics in order of similarity from high to low.
选取相似度较高的预设数量个待选主题,并向用户展示选取的待选主题,以使用户可以从智能终端所展示的待选主题中选取一个主题。A preset number of candidate topics with higher similarity is selected, and the selected candidate topics are displayed to the user, so that the user can select a topic from the selected topics displayed by the smart terminal.
S143,确定用户从所展示的待选主题中选定的主题,并将用户选定的主题确定为所述目标主题。S143. Determine a theme selected by the user from the displayed candidate topics, and determine the user selected topic as the target theme.
智能终端将用户从相似度较高的预设数量个待选主题中选取的主题作为目标主题。The smart terminal uses the theme selected by the user from a preset number of candidate topics with higher similarity as the target theme.
本实施例提供的确定目标主题的方法,首先根据待选主题与目标壁纸图片之间的相似度,确定出多个与目标壁纸图片比较接近的待选主题,然后,由用户从确定出的多个与目标壁纸图片比较接近的待选主题中,选择一个待选主题作为目标主题,最终确定的目标主题在一定程度上满足用户的个性化需求,同时,缩小用户的选择范围,能够节省用户选取目标主题所耗费的时间。The method for determining a target theme provided by this embodiment first determines a plurality of to-be-selected topics that are closer to the target wallpaper image according to the similarity between the selected theme and the target wallpaper image, and then, the user determines from the plurality of selected topics. Among the selected topics that are closer to the target wallpaper image, one candidate theme is selected as the target theme, and the final target theme satisfies the user's individual needs to a certain extent, and at the same time, the user's selection range is narrowed, and the user selection can be saved. The time spent on the target topic.
上述实施例中根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获 取所述目标壁纸图片与所述待选主题之间的相似度,可以包括以下两种应用场景:In the above embodiment, according to the element information of the target wallpaper picture and the element information of the candidate theme, The similarity between the target wallpaper image and the to-be-selected theme may include the following two application scenarios:
(1)要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意一种的情景;(1) The element information includes a scene of any one of the subject image type information, the attribute information, and the subject image content information of the picture;
若要素信息为图片的主体图像类型信息,预先确定两图像类型之间的相似性,直接查询目标壁纸图片的主体图像类型信息与待选主题的主体图像类型信息之间的相似度,作为目标壁纸图片与待选主题之间的相似度。例如,目标壁纸图片的主体图像类型是宠物类,待选主题的主体图像类型也是宠物类,则认为目标壁纸图片的主体图像类型信息与待选主题的主体图像类型信息之间的相似度比较高。If the prime information is the main image type information of the image, the similarity between the two image types is determined in advance, and the similarity between the main image type information of the target wallpaper image and the main image type information of the selected theme is directly queried as the target wallpaper. The similarity between the picture and the subject to be selected. For example, the subject image type of the target wallpaper image is a pet class, and the subject image type of the candidate theme is also a pet class, and the similarity between the subject image type information of the target wallpaper image and the subject image type information of the candidate theme is considered to be relatively high. .
若要素信息为属性信息(例如,时间、地点),假设能够获得主体图像所包含自然环境的大概时间及目标壁纸图片所包含自然环境的大概时间,则计算目标壁纸图片对应的时间与待选主题对应的时间之间的差值,时间差值越大则两者的相似度越小,时间差值越小则两者的相似度越大。例如,目标壁纸图片对应的时间是春季,而待选主题对应的时间是秋季,则两者的相似度比较小。If the prime information is attribute information (for example, time, place), it is assumed that the approximate time of the natural environment included in the subject image and the approximate time of the natural environment included in the target wallpaper image are calculated, and the time corresponding to the target wallpaper image and the candidate theme are calculated. The difference between the corresponding times, the larger the time difference, the smaller the similarity between the two, and the smaller the time difference, the greater the similarity between the two. For example, the time corresponding to the target wallpaper image is spring, and the time corresponding to the selected theme is autumn, the similarity between the two is relatively small.
同理,如果所述属性信息是地点,则计算目标壁纸图片所包含自然环境的地点的位置坐标与待选主题所包含自然环境的地点的位置坐标之间的地理距离,地理距离越大则两者的相似度越小,地理距离越小则两者的相似度越大。Similarly, if the attribute information is a location, the geographic distance between the location coordinates of the location of the natural environment included in the target wallpaper image and the location coordinates of the location of the natural environment included in the theme to be selected is calculated. The smaller the similarity, the smaller the geographical distance and the greater the similarity between the two.
若要素信息为主体图像内容信息,则计算目标壁纸图片的主体图像内容与待选主题的主体图像内容之间相似度。相似度可以用图像间的距离(例如,欧氏距离、余弦距离)表示,其中,欧氏距离越小,表明两个图像之间的相似度越大;余弦距离越大,表明两个图像之间的相似度越大。If the element information is the subject image content information, the similarity between the subject image content of the target wallpaper picture and the subject image content of the subject to be selected is calculated. The similarity can be expressed by the distance between images (for example, Euclidean distance, cosine distance), where the smaller the Euclidean distance, the greater the similarity between the two images; the larger the cosine distance, the two images The greater the similarity between the two.
(2)要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合的情景;(2) The element information includes a scene of any combination of the subject image type information of the picture, the attribute information, and the subject image content information;
此种应用场景下,根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度,可以包括如图3所示的方法步骤:In this application scenario, the similarity between the target wallpaper image and the candidate theme is obtained according to the element information of the target wallpaper image and the element information of the candidate theme, which may include Method steps:
S131,获取各个要素信息对应的权重系数。S131. Acquire a weight coefficient corresponding to each element information.
在本发明的一个实施例中,可以根据要素信息对相似度的影响程度设定该要素信息对应的权重系数,例如,对相似度的影响最大的因素是图片的主体图像内容信息,其次是图片的主体图像类型信息,再次是图片的属性信息。In an embodiment of the present invention, the weight coefficient corresponding to the element information may be set according to the degree of influence of the element information on the similarity. For example, the factor that has the greatest influence on the similarity is the subject image content information of the picture, followed by the picture. The subject image type information is again the attribute information of the picture.
S132,分别计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度。 S132. Calculate a similarity between the target wallpaper image and the corresponding element information of the candidate theme.
例如,要素信息包括主体图像内容信息和属性信息,则分别计算目标壁纸图片的主体图像内容信息与待选主题的主体图像内容信息之间的相似度,以及,计算目标壁纸图片的属性信息与待选主题的属性信息之间的相似度。For example, if the element information includes the subject image content information and the attribute information, the similarity between the subject image content information of the target wallpaper image and the subject image content information of the candidate theme is respectively calculated, and the attribute information and the object of the target wallpaper image are calculated. Select the similarity between the attribute information of the topic.
S133,根据目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,得到所述目标壁纸图片与所述待选主题之间的相似度。S133. Obtain a similarity between the target wallpaper image and the candidate theme according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information.
例如,要素信息包括主体图像类型信息和主体图像内容信息,假设目标壁纸图片与待选主题之间的主体图像类型信息的相似度为d1,目标壁纸图片与待选主题之间的主体图像内容信息的相似度为d2;而且,假设主体图像类型信息对应的权重系数为0.3,主体图像内容信息对应的权重系数为0.7,则目标壁纸图片与待选主题之间的相似度d如公式1所示:For example, the element information includes the subject image type information and the subject image content information, assuming that the similarity of the subject image type information between the target wallpaper image and the subject to be selected is d 1 , the subject image content between the target wallpaper image and the subject to be selected The similarity of the information is d 2 ; moreover, assuming that the weight coefficient corresponding to the subject image type information is 0.3 and the weight coefficient corresponding to the subject image content information is 0.7, the similarity d between the target wallpaper image and the candidate subject is as in Formula 1. Shown as follows:
d=0.3×d1+0.7×d2    (公式1)d = 0.3 × d 1 + 0.7 × d 2 (Formula 1)
本实施例提供的获取待选主题与目标壁纸图片之间的相似度的方法,考虑到不同的要素信息对相似度的影响程度不同,根据不同的要素信息对相似度的影响程度设定相应的权重系数,再根据目标壁纸图片与待选主题的对应要素信息之间的相似度,以及该要素信息对应的权重系数,最终获得目标壁纸图片与待选主题之间的相似度。利用此种方法计算得到的目标壁纸图片与待选主题之间的相似度更精确,进而,根据目标壁纸图片与待选主题之间的相似度确定的目标主题,与所述目标壁纸图片的匹配度更高。The method for obtaining the similarity between the candidate theme and the target wallpaper image provided by this embodiment takes into account that the degree of influence of the different element information on the similarity is different, and the degree of influence on the similarity is set according to different element information. The weight coefficient, according to the similarity between the target wallpaper image and the corresponding element information of the candidate theme, and the weight coefficient corresponding to the element information, finally obtain the similarity between the target wallpaper image and the candidate theme. The similarity between the target wallpaper image calculated by this method and the subject to be selected is more accurate, and further, the target theme determined according to the similarity between the target wallpaper image and the candidate theme is matched with the target wallpaper image. Higher degrees.
请参见图4,示出了本发明实施例提供的另一种智能终端主题更换方法的流程示意图,该方法在图1所示实施例的基础上,还可以包括以下步骤:Referring to FIG. 4, a schematic flowchart of another method for replacing a theme of a smart terminal according to an embodiment of the present invention is shown. The method may further include the following steps on the basis of the embodiment shown in FIG. 1 :
在执行完S150之后,执行S210,智能终端将所述目标主题的主题信息上传到服务器中,以使所述服务器存储所述目标主题的主题信息。After executing S150, executing S210, the smart terminal uploads the topic information of the target topic to the server, so that the server stores the topic information of the target topic.
主题信息可以包括主题类型、主题名称、主题详情等信息。The topic information may include information such as topic type, topic name, topic details, and the like.
智能终端在获得目标主题后,将目标主题的主题信息上传给大数据服务器,以使大数据服务器能够根据记录的目标主题的主题信息建立用户使用的主题的大数据,以便服务器根据这些大数据为用户推送相应的主题。After obtaining the target theme, the smart terminal uploads the theme information of the target theme to the big data server, so that the big data server can establish the big data of the theme used by the user according to the subject information of the recorded target theme, so that the server according to the big data is The user pushes the corresponding topic.
请参见图5,示出了本发明实施例提供的又一种智能终端主题更换方法的流程图,该方法在图1所示实施例的基础上,还可以包括以下步骤:Referring to FIG. 5, a flowchart of still another method for replacing a theme of a smart terminal according to an embodiment of the present invention is shown. The method may further include the following steps on the basis of the embodiment shown in FIG. 1 :
在执行完S150之后,执行S310,智能终端构建所述目标主题及所述目标壁纸图片之间的对应关系,并存储该对应关系。After executing S150, executing S310, the smart terminal constructs a correspondence between the target theme and the target wallpaper picture, and stores the corresponding relationship.
在建立壁纸图片与主题之间的对应关系后,当用户再次使用该目标壁纸作为智能 终端的壁纸时,可以根据壁纸图片与主题之间的对应关系,直接查找到与该目标壁纸图片相匹配的主题,不需要智能终端重新确定与目标壁纸相对应的主题,从而节省了智能终端内的CPU资源。After establishing the correspondence between the wallpaper image and the theme, when the user uses the target wallpaper again as the smart When the wallpaper of the terminal is used, the theme matching the target wallpaper image can be directly found according to the correspondence between the wallpaper image and the theme, and the smart terminal is not required to re-determine the theme corresponding to the target wallpaper, thereby saving the smart terminal. CPU resources.
请参见图6,示出了本发明实施例提供的另一种智能终端主题更换方法的流程示意图,该方法应用于服务器中,如图6所示,该方法可以包括以下步骤:Referring to FIG. 6, a schematic flowchart of another method for replacing a theme of a smart terminal according to an embodiment of the present invention is shown. The method is applied to a server. As shown in FIG. 6, the method may include the following steps:
S210,服务器获取智能终端的目标壁纸图片的要素信息,所述目标壁纸图片的要素信息由所述智能终端获得。S210. The server acquires element information of a target wallpaper image of the smart terminal, where the element information of the target wallpaper image is obtained by the smart terminal.
S220,服务器获取待选主题的要素信息。S220. The server acquires element information of the subject to be selected.
本实施例中,所述待选主题是服务器内存储的主题。服务器预先获取自身所存储的主题的要素信息,并建立第二要素信息库。后续,需要使用服务器内存储的主题的要素信息时,可以直接从第二要素信息库中查询得到。In this embodiment, the to-be-selected theme is a theme stored in the server. The server acquires element information of the theme stored by itself in advance, and establishes a second element information base. Subsequently, when you need to use the feature information of the theme stored in the server, you can directly query it from the second feature information base.
服务器获取主题的要素信息的过程请参见前述相应内容,此处不再赘述。For the process of obtaining the feature information of the topic, please refer to the corresponding content in the foregoing, and no further details are provided here.
S230,服务器根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度。S230. The server acquires the similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme.
S240,服务器根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题。S240. The server determines the target theme according to the similarity between the target wallpaper image and the candidate theme.
S250,服务器将所述目标主题发送给所述智能终端,以使所述智能终端将当前使用的主题更换为所述目标主题。S250. The server sends the target topic to the smart terminal, so that the smart terminal replaces the currently used theme with the target theme.
服务器根据目标壁纸图片与所述待选主题之间的相似度,确定出目标主题后,将目标主题推送给智能终端,智能终端将自身的主题配置成所述目标主题。After determining the target theme according to the similarity between the target wallpaper image and the candidate theme, the server pushes the target theme to the smart terminal, and the smart terminal configures the theme of the smart target into the target theme.
本实施例提供的智能终端主题更换方法,智能终端将服务器内存储的主题作为待选主题,当智能终端检测到自身的壁纸图片更换后,获取更换后的目标壁纸图片的要素信息并发送给服务器。服务器获取待选主题的要素信息,并通过比较目标壁纸图片的要素信息及待选主题的要素信息,得到目标壁纸图片与待选主题之间的相似度。然后,根据所述相似度确定目标主题,并将目标主题推送给智能终端,由智能终端将自身的主题配置成所述目标主题。由上述内容可知,该方法由服务器确定目标主题,由于服务器的资源丰富,能够提高主题更换的速度,同时,节省了智能终端的CPU资源。In the smart terminal theme replacement method provided by the embodiment, the smart terminal uses the theme stored in the server as a candidate theme. After the smart terminal detects the replacement of the wallpaper image, the smart terminal acquires the element information of the replaced target wallpaper image and sends the information to the server. . The server obtains the feature information of the subject to be selected, and compares the element information of the target wallpaper image with the element information of the candidate theme to obtain the similarity between the target wallpaper image and the candidate theme. Then, the target theme is determined according to the similarity, and the target theme is pushed to the smart terminal, and the smart terminal sets its own theme as the target theme. It can be seen from the above that the method determines the target theme by the server. Since the resources of the server are rich, the speed of the theme replacement can be improved, and at the same time, the CPU resources of the smart terminal are saved.
相应于上述的智能终端主题更换方法实施例,本发明还提供了智能终端主题更换装置实施例。 Corresponding to the above embodiment of the smart terminal theme replacement method, the present invention also provides an intelligent terminal theme replacement device embodiment.
请参见图7,示出了本发明实施例一种智能终端主题更换装置的框图,该装置应用于智能终端中,如图7所示,该装置包括:第一获取模块110、第二获取模块120、第三获取模块130、确定模块140和更换模块150。Referring to FIG. 7, a block diagram of a smart terminal theme replacement device according to an embodiment of the present invention is shown. The device is applied to an intelligent terminal. As shown in FIG. 7, the device includes: a first acquiring module 110 and a second acquiring module. 120. The third obtaining module 130, the determining module 140, and the replacing module 150.
第一获取模块110,用于获取智能终端的目标壁纸图片的要素信息。所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的至少一种或任意多种组合。The first obtaining module 110 is configured to acquire element information of a target wallpaper image of the smart terminal. The element information includes at least one or any combination of the subject image type information, the attribute information, and the subject image content information of the picture.
第二获取模块120,用于获取待选主题的要素信息。The second obtaining module 120 is configured to acquire element information of the subject to be selected.
在本申请一个实施例中,待选主题可以是智能终端本地存储的全部或部分主题,此种应用场景下,第二获取模块120可以包括第一确定子模块和第一获取子模块;In an embodiment of the present application, the to-be-selected topic may be all or part of a topic that is stored locally by the smart terminal. In this application scenario, the second obtaining module 120 may include a first determining sub-module and a first acquiring sub-module;
该第一确定子模块,用于确定所述智能终端内存储的主题为所述待选主题。The first determining submodule is configured to determine that the theme stored in the smart terminal is the candidate topic.
该第一获取子模块,用于从预先建立的第一要素信息库中,获取所述待选主题的要素信息,所述第一要素信息库存储所述智能终端所存储的主题的要素信息。后续需要使用智能终端内存储的主题的要素信息时,可以直接从第一要素信息库中查询得到,不需要智能终端实时获取待选主题的要素信息,从而节省智能终端的CPU资源占用率。The first obtaining sub-module is configured to acquire element information of the to-be-selected topic from a pre-established first element information library, where the first element information library stores element information of the topic stored by the smart terminal. When the feature information of the theme stored in the smart terminal is needed, the information of the topic can be directly obtained from the first component information database, and the smart terminal does not need to obtain the feature information of the topic to be selected in real time, thereby saving the CPU resource occupancy rate of the smart terminal.
智能终端预先获取本地存储的主题的要素信息并建立相应的第一要素信息库。The smart terminal acquires element information of the locally stored theme in advance and establishes a corresponding first element information base.
在本申请另一个实施例中,待选主题可以是服务器中存储的全部或部分主题,服务器预先获取服务器内存储的主题的要素信息,并建立第二要素信息库。此种应用场景下,所述第二获取模块120可以包括:第二确定子模块和第二获取子模块。In another embodiment of the present application, the candidate theme may be all or part of the theme stored in the server, and the server acquires element information of the theme stored in the server in advance, and establishes a second element information base. In this application scenario, the second obtaining module 120 may include: a second determining submodule and a second acquiring submodule.
该第二确定子模块,用于确定服务器内存储的主题为待选主题。The second determining submodule is configured to determine that the theme stored in the server is a candidate topic.
该第二获取子模块,用于从预先建立的第二要素信息库中,获取所述待选主题的要素信息,所述第二要素信息存储所述服务器所存储的主题的要素信息。The second acquiring sub-module is configured to acquire element information of the to-be-selected topic from a pre-established second element information database, where the second element information stores element information of the topic stored by the server.
第三获取模块130,用于根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度。The third obtaining module 130 is configured to obtain the similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme.
确定模块140,用于根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题。The determining module 140 is configured to determine the target theme according to the similarity between the target wallpaper image and the candidate theme.
在本发明一个实施例中,可以将与目标壁纸图片的相似度最高的待选主题确定为目标主题。此种应用场景下,确定模块140可以包括第四确定子模块,用于将与所述目标壁纸图片之间的相似度最高的待选主题,确定为所述目标主题。In an embodiment of the present invention, the candidate topic with the highest similarity to the target wallpaper picture may be determined as the target theme. In this application scenario, the determining module 140 may include a fourth determining sub-module, configured to determine, as the target topic, a topic to be selected with the highest degree of similarity between the target wallpaper image.
在本发明的另一个实施例中,可以从相似度与目标壁纸图片比较接近的多个待选主题中任选一个待选主题作为目标主题。此种应用场景下,所述确定模块140可以包 括排序子模块、展示子模块和第三确定子模块。In another embodiment of the present invention, one of the plurality of candidate topics that are similar in similarity to the target wallpaper image may be selected as the target topic. In this application scenario, the determining module 140 may include The sorting sub-module, the display sub-module, and the third determining sub-module are included.
该排序子模块,用于对所述目标壁纸图片与所述待选主题之间的相似度进行排序。The sorting sub-module is configured to sort the similarity between the target wallpaper image and the candidate theme.
该展示子模块,用于按照相似度由高到低的顺序,展示前预设数量个待选主题。The display sub-module is configured to display a preset number of to-be-selected topics in order of highness to low similarity.
该第三确定子模块,用于将用户从所展示的待选主题中选定的主题确定为所述目标主题。The third determining submodule is configured to determine a topic selected by the user from the displayed candidate topics as the target topic.
更换模块150,用于将所述智能终端当前使用的主题更换为所述目标主题。The replacement module 150 is configured to replace the theme currently used by the smart terminal with the target theme.
本实施例提供的智能终端的主题更换装置,第一获取模块在检测到智能终端更换壁纸图片后,获取更换后的目标壁纸图片的要素信息;第二获取模块获取待选主题的要素信息;然后由第三获取模块获取目标壁纸图片的要素信息与主题的要素信息之间的相似度。确定模块根据目标壁纸与主题之间的相似度,确定目标主题。最后,更换模块将智能终端的主题更换为所述目标主题。利用该装置,智能终端根据目标壁纸图片自动确定出目标主题,并将智能终端的主题更换为目标主题,更换主题的整个过程不需要用户进行任何操作,使用方便,且提高更换主题的实时性。In the subject replacement device of the smart terminal provided by the embodiment, the first acquiring module acquires the element information of the replaced target wallpaper image after detecting the replacement of the wallpaper image by the smart terminal; the second obtaining module acquires the element information of the subject to be selected; The similarity between the element information of the target wallpaper image and the element information of the theme is acquired by the third acquisition module. The determination module determines the target theme based on the similarity between the target wallpaper and the theme. Finally, the replacement module replaces the subject of the smart terminal with the target theme. With the device, the smart terminal automatically determines the target theme according to the target wallpaper image, and replaces the theme of the smart terminal with the target theme. The entire process of replacing the theme does not require any operation by the user, is convenient to use, and improves the real-time performance of the replacement theme.
上述实施例中,第三获取模块可以包括以下两种应用场景:In the foregoing embodiment, the third obtaining module may include the following two application scenarios:
(1)要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意一种的情景;(1) The element information includes a scene of any one of the subject image type information, the attribute information, and the subject image content information of the picture;
若要素信息为图片的主体图像类型信息,预先确定两两图像类型之间的相似性,直接查询目标壁纸图片的主体图像类型信息与待选主题的主体图像类型信息之间的相似度,作为目标壁纸图片与待选主题之间的相似度。例如,目标壁纸图片的主体图像类型是宠物类,待选主题的主体图像类型也是宠物类,则认为目标壁纸图片的主体图像类型信息与待选主题的主体图像类型信息之间的相似度比较高。If the prime information is the main image type information of the image, the similarity between the two image types is determined in advance, and the similarity between the main image type information of the target wallpaper image and the main image type information of the selected theme is directly queried as a target. The similarity between the wallpaper image and the subject to be selected. For example, the subject image type of the target wallpaper image is a pet class, and the subject image type of the candidate theme is also a pet class, and the similarity between the subject image type information of the target wallpaper image and the subject image type information of the candidate theme is considered to be relatively high. .
若要素信息为属性信息(例如,时间、地点),假设能够获得主体图像所包含自然环境的大概时间及目标壁纸图片所包含自然环境的大概时间,则计算目标壁纸图片对应的时间与待选主题对应的时间之间的差值,时间差值越大则两者的相似度越小,时间差值越小则两者的相似度越大。例如,目标壁纸图片对应的时间是春季,而待选主题对应的时间是秋季,则两者的相似度比较小。If the prime information is attribute information (for example, time, place), it is assumed that the approximate time of the natural environment included in the subject image and the approximate time of the natural environment included in the target wallpaper image are calculated, and the time corresponding to the target wallpaper image and the candidate theme are calculated. The difference between the corresponding times, the larger the time difference, the smaller the similarity between the two, and the smaller the time difference, the greater the similarity between the two. For example, the time corresponding to the target wallpaper image is spring, and the time corresponding to the selected theme is autumn, the similarity between the two is relatively small.
同理,如果所述属性信息是地点,则计算目标壁纸图片所包含自然环境的地点的位置坐标与待选主题所包含自然环境的地点的位置坐标之间的地理距离,地理距离越大则两者的相似度越小,地理距离越小则两者的相似度越大。Similarly, if the attribute information is a location, the geographic distance between the location coordinates of the location of the natural environment included in the target wallpaper image and the location coordinates of the location of the natural environment included in the theme to be selected is calculated. The smaller the similarity, the smaller the geographical distance and the greater the similarity between the two.
若要素信息为主体图像内容信息,则计算目标壁纸图片的主体图像内容与待选主 题的主体图像内容之间相似度。相似度可以用图像间的距离(例如,欧式距离、余弦距离)表示,其中,欧式距离越小,表明两个图像之间的相似度越大;余弦距离越大,表明两个图像之间的相似度越大。If the prime information is the main image content information, the main image content of the target wallpaper image is calculated and the candidate is selected. The similarity between the subject image content of the question. The similarity can be expressed by the distance between images (for example, Euclidean distance, cosine distance), wherein the smaller the Euclidean distance, the greater the similarity between the two images; the larger the cosine distance, the more between the two images The greater the similarity.
(2)要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合的情景;(2) The element information includes a scene of any combination of the subject image type information of the picture, the attribute information, and the subject image content information;
此种应用场景下,第三获取模块可以包括第三获取子模块、第一计算子模块和第二计算子模块。In this application scenario, the third obtaining module may include a third acquiring submodule, a first calculating submodule, and a second computing submodule.
该第三获取子模块,用于获取各个要素信息对应的权重系数。The third obtaining submodule is configured to obtain a weight coefficient corresponding to each element information.
在本发明的一个实施例中,可以根据要素信息对相似度的影响程度设定该要素信息对应的权重系数,例如,对相似度的影响最大的因素是图片的主体图像内容信息,其次是图片的主体图像类型信息,再次是图片的属性信息。In an embodiment of the present invention, the weight coefficient corresponding to the element information may be set according to the degree of influence of the element information on the similarity. For example, the factor that has the greatest influence on the similarity is the subject image content information of the picture, followed by the picture. The subject image type information is again the attribute information of the picture.
该第一计算子模块,用于计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度。The first calculation submodule is configured to calculate a similarity between the target wallpaper image and the corresponding element information of the candidate theme.
例如,要素信息包括主体图像内容信息和属性信息,则分别计算目标壁纸图片的主体图像内容信息与待选主题的主体图像内容信息之间的相似度,以及,计算目标壁纸图片的属性信息与待选主题的属性信息之间的相似度。For example, if the element information includes the subject image content information and the attribute information, the similarity between the subject image content information of the target wallpaper image and the subject image content information of the candidate theme is respectively calculated, and the attribute information and the object of the target wallpaper image are calculated. Select the similarity between the attribute information of the topic.
该第二计算子模块,用于根据所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,计算得到所述目标壁纸图片与所述待选主题之间的相似度。The second calculation sub-module is configured to calculate, according to the similarity between the target wallpaper image and the corresponding element information of the candidate theme, and the weight coefficient corresponding to the element information, calculate the target wallpaper image and the location Describe the similarity between the topics to be selected.
例如,要素信息包括主体图像类型信息和主体图像内容信息,假设目标壁纸图片与待选主题之间的主体图像类型信息的相似度为d1,目标壁纸图片与待选主题之间的主体图像内容信息的相似度为d2;而且,假设主体图像类型信息对应的权重系数为0.3,主体图像内容信息对应的权重系数为0.7,则目标壁纸图片与待选主题之间的相似度d为0.3×d1+0.7×d2For example, the element information includes the subject image type information and the subject image content information, assuming that the similarity of the subject image type information between the target wallpaper image and the subject to be selected is d 1 , the subject image content between the target wallpaper image and the subject to be selected The similarity of the information is d 2 ; moreover, assuming that the weight coefficient corresponding to the subject image type information is 0.3 and the weight coefficient corresponding to the subject image content information is 0.7, the similarity d between the target wallpaper image and the subject to be selected is 0.3× d 1 +0.7×d 2 .
本实施例提供的第三获取模块,考虑到不同的要素信息对相似度的影响程度不同,根据不同的要素信息对相似度的影响程度设定相应的权重系数,再根据目标壁纸图片与待选主题的对应要素信息之间的相似度,以及该要素信息对应的权重系数,最终获得目标壁纸图片与待选主题之间的相似度。利用此种方法计算得到的目标壁纸图片与待选主题之间的相似度更精确,进而,根据目标壁纸图片与待选主题之间的相似度确定的目标主题,与所述目标壁纸图片的匹配度更高。The third obtaining module provided in this embodiment considers different degrees of influence of different element information on the similarity degree, and sets a corresponding weight coefficient according to the influence degree of different element information on the similarity degree, and then according to the target wallpaper picture and the candidate to be selected. The similarity between the corresponding feature information of the theme, and the weight coefficient corresponding to the feature information, finally obtain the similarity between the target wallpaper image and the candidate theme. The similarity between the target wallpaper image calculated by this method and the subject to be selected is more accurate, and further, the target theme determined according to the similarity between the target wallpaper image and the candidate theme is matched with the target wallpaper image. Higher degrees.
请参见图8,示出了本发明实施例另一种智能终端主题更换装置的框图,如图8 所示,该装置在图7所示实施例的基础上还可以包括:构建模块210。Referring to FIG. 8, a block diagram of another intelligent terminal theme replacing apparatus according to an embodiment of the present invention is shown in FIG. 8. As shown, the device may further include: a building module 210 on the basis of the embodiment shown in FIG. 7.
该构建模块210,用于构建所述目标主题及所述目标壁纸图片之间的对应关系,并将所述对应关系上传到服务器。The building module 210 is configured to construct a correspondence between the target theme and the target wallpaper picture, and upload the corresponding relationship to a server.
在构建模块210建立壁纸图片与主题之间的对应关系后,当用户再次使用该目标壁纸作为智能终端的壁纸时,可以根据壁纸图片与主题之间的对应关系,直接查找到与该目标壁纸图片相匹配的主题,不需要智能终端重新确定与目标壁纸相对应的主题,从而节省了智能终端内的CPU资源。After the building module 210 establishes the correspondence between the wallpaper image and the theme, when the user uses the target wallpaper again as the wallpaper of the smart terminal, the wallpaper image can be directly found according to the correspondence between the wallpaper image and the theme. The matching theme does not require the smart terminal to re-determine the theme corresponding to the target wallpaper, thereby saving CPU resources in the smart terminal.
请参见图9,示出了本发明实施例又一种智能终端主题更换装置的框图,如图9所示,该装置在图7所示实施例的基础上还可以包括:发送模块310。Referring to FIG. 9, a block diagram of a smart terminal theme replacement device according to an embodiment of the present invention is shown. As shown in FIG. 9, the device may further include: a sending module 310.
该发送模块310,用于将所述目标主题的主题信息发送给服务器,以使所述服务器存储所述目标主题的主题信息。The sending module 310 is configured to send topic information of the target topic to a server, so that the server stores topic information of the target topic.
服务器能够根据记录的目标主题的主题信息建立用户使用的主题的大数据,以便根据这些大数据为用户推送相应的主题。The server can establish big data of the theme used by the user according to the subject information of the recorded target theme, so as to push the corresponding theme for the user according to the big data.
图7~图9所示实施例也可以应用于服务器中,此种应用场景与图6所示的方法实施例相对应,此处不再赘述。The embodiment shown in FIG. 7 to FIG. 9 can also be applied to the server. This application scenario corresponds to the method embodiment shown in FIG. 6, and details are not described herein again.
相应于上述的智能终端主题更换方法实施例,本发明还提供了应用所述智能终端主题更换方法的智能终端的实施例。Corresponding to the foregoing embodiment of the smart terminal theme replacement method, the present invention further provides an embodiment of the smart terminal applying the smart terminal theme replacement method.
请参见图10,示出了本发明实施例提供的一种智能终端的结构框图,该智能终端600包括:至少一个处理器601,至少一个通信总线602,用户接口603,存储器604,至少一个网络接口605。通信总线602用于实现这些组件之间的连接通信;智能终端通过网络接口605连接网络。Referring to FIG. 10, it is a structural block diagram of an intelligent terminal according to an embodiment of the present invention. The smart terminal 600 includes: at least one processor 601, at least one communication bus 602, a user interface 603, a memory 604, and at least one network. Interface 605. The communication bus 602 is used to implement connection communication between these components; the intelligent terminal is connected to the network through the network interface 605.
用户接口603可以包括显示器(例如,触摸屏、LCD、CRT、全息成像(Holographic)或者投影(Projector)等),键盘或者点击设备(例如,鼠标,轨迹球(trackball),触感板或者触摸屏等)等。The user interface 603 may include a display (eg, a touch screen, LCD, CRT, Holographic or Projector, etc.), a keyboard or a pointing device (eg, a mouse, a trackball, a touchpad, a touch screen, etc.), etc. .
存储器604可以包括只读存储器和随机存取存储器,并向处理器601提供指令和数据。存储器604的一部分还可以包括非易失性随机存取存储器(NVRAM)。 Memory 604 can include read only memory and random access memory and provides instructions and data to processor 601. A portion of the memory 604 may also include non-volatile random access memory (NVRAM).
在一些实施方式中,存储器604存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集;本实施例中,存储器604包括操作系统6041和应用程序模块6042。In some embodiments, the memory 604 stores elements, executable modules or data structures, or a subset thereof, or their extended set; in this embodiment, the memory 604 includes an operating system 6041 and an application module 6042.
操作系统6041包含各种系统程序,用于实现各种基础业务以及处理基于硬件的任务; The operating system 6041 includes various system programs for implementing various basic services and processing hardware-based tasks;
应用程序模块6042包含各种应用程序,例如桌面(launcher)、媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。The application module 6042 includes various applications, such as a desktop, a media player, a browser, etc., for implementing various application services.
在本发明实施例中,通过调用存储器604存储的程序或指令,处理器601用于:In the embodiment of the present invention, by calling a program or instruction stored in the memory 604, the processor 601 is configured to:
获取智能终端的目标壁纸图片的要素信息;Obtaining element information of a target wallpaper image of the smart terminal;
获取待选主题的要素信息;Get the feature information of the topic to be selected;
根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度;Obtaining a similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme;
根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题;Determining a target theme according to a similarity between the target wallpaper image and the candidate theme;
将所述智能终端当前使用的主题更换为所述目标主题。The theme currently used by the smart terminal is replaced with the target theme.
本实施例提供的智能终端,处理器在检测到智能终端更换壁纸图片后,获取更换后的目标壁纸图片的要素信息,并获取目标壁纸图片的要素信息与主题的要素信息之间的相似度。然后,根据目标壁纸与主题之间的相似度,确定目标主题。最后,将智能终端的主题更换为所述目标主题。利用该方法,智能终端根据目标壁纸图片自动确定出目标主题,并将智能终端的主题更换为目标主题,更换主题的整个过程不需要用户进行任何操作,使用方便,且提高更换主题的实时性。In the smart terminal provided by the embodiment, after detecting the replacement of the wallpaper image by the smart terminal, the processor acquires the element information of the replaced target wallpaper image, and acquires the similarity between the element information of the target wallpaper image and the element information of the theme. Then, based on the similarity between the target wallpaper and the theme, the target theme is determined. Finally, the theme of the smart terminal is replaced with the target theme. With the method, the smart terminal automatically determines the target theme according to the target wallpaper image, and replaces the theme of the smart terminal with the target theme. The entire process of replacing the theme does not require any operation by the user, is convenient to use, and improves the real-time performance of the replacement theme.
可选地,处理器601用于获取待选主题的要素信息时,具体用于:Optionally, when the processor 601 is configured to obtain the element information of the topic to be selected, specifically, the method is used to:
确定所述智能终端内存储的主题为所述待选主题;Determining that the theme stored in the smart terminal is the candidate topic;
从预先建立的第一要素信息库中,获取所述待选主题的要素信息,所述第一要素信息库存储所述智能终端所存储的主题的要素信息。The element information of the to-be-selected topic is obtained from the pre-established first element information database, and the first element information library stores element information of the topic stored by the smart terminal.
智能终端可以预先获取本地存储的主题的要素信息并建立相应的第一要素信息库。后续需要使用智能终端内存储的主题的要素信息时,可以直接从第一要素信息库中查询得到,不需要智能终端实时获取待选主题的要素信息,从而节省智能终端的CPU资源占用率。The smart terminal can acquire element information of the locally stored theme in advance and establish a corresponding first element information base. When the feature information of the theme stored in the smart terminal is needed, the information of the topic can be directly obtained from the first component information database, and the smart terminal does not need to obtain the feature information of the topic to be selected in real time, thereby saving the CPU resource occupancy rate of the smart terminal.
可选地,处理器601用于获取待选主题的要素信息时,具体用于:Optionally, when the processor 601 is configured to obtain the element information of the topic to be selected, specifically, the method is used to:
确定服务器内存储的主题为待选主题;Determining that the theme stored in the server is a candidate topic;
从预先建立的第二要素信息库中,获取所述待选主题的要素信息,所述第二要素信息存储所述服务器所存储的主题的要素信息。The element information of the subject to be selected is acquired from a pre-established second element information base, and the second element information stores element information of the theme stored by the server.
可选地,所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的至少一种或任意多种组合。Optionally, the element information includes at least one or any combination of the subject image type information, the attribute information, and the subject image content information of the picture.
可选地,若所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合,则处理器601用于根据所述目标壁纸图片的要素信息及所 述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度时,具体用于:Optionally, if the element information includes any combination of the subject image type information, the attribute information, and the subject image content information of the image, the processor 601 is configured to use the element information and the location of the target wallpaper image. When the feature information of the selected theme is obtained, and the similarity between the target wallpaper image and the candidate theme is obtained, specifically used for:
获取各个要素信息对应的权重系数;Obtaining a weight coefficient corresponding to each element information;
计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度;Calculating a similarity between the target wallpaper image and corresponding element information of the candidate theme;
根据所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,得到所述目标壁纸图片与所述待选主题之间的相似度。And obtaining a similarity between the target wallpaper image and the candidate theme according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information.
考虑到不同的要素信息对相似度的影响程度不同,智能终端根据不同的要素信息对相似度的影响程度设定相应的权重系数,再根据目标壁纸图片与待选主题的对应要素信息之间的相似度,以及该要素信息对应的权重系数,最终获得目标壁纸图片与待选主题之间的相似度。利用此种方法计算得到的目标壁纸图片与待选主题之间的相似度更精确,进而,根据目标壁纸图片与待选主题之间的相似度确定的目标主题,与所述目标壁纸图片的匹配度更高。Considering that different element information has different degrees of influence on the similarity degree, the intelligent terminal sets a corresponding weight coefficient according to the influence degree of the different element information on the similarity degree, and then according to the information between the target wallpaper image and the corresponding element information of the candidate theme. The similarity, and the weight coefficient corresponding to the element information, finally obtain the similarity between the target wallpaper image and the candidate theme. The similarity between the target wallpaper image calculated by this method and the subject to be selected is more accurate, and further, the target theme determined according to the similarity between the target wallpaper image and the candidate theme is matched with the target wallpaper image. Higher degrees.
可选地,所述处理器601用于根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题,具体用于:Optionally, the processor 601 is configured to determine a target topic according to the similarity between the target wallpaper image and the candidate topic, specifically for:
对所述目标壁纸图片与所述待选主题之间的相似度进行排序;按照相似度由高到低的顺序,展示前预设数量个待选主题;将用户从所展示的待选主题中选定的主题确定为所述目标主题;Sorting the similarity between the target wallpaper image and the candidate theme; displaying a preset number of candidate topics in order of highness to lowness; and displaying the user from the displayed candidate theme The selected topic is determined as the target topic;
本实施例提供的确定目标主题的方法,首先根据待选主题与目标壁纸图片之间的相似度,确定出多个与目标壁纸图片比较接近的待选主题,然后,由用户从确定出的多个与目标壁纸图片比较接近的待选主题中,选择一个待选主题作为目标主题,最终确定的目标主题在一定程度上满足用户的个性化需求,同时,缩小用户的选择范围,能够节省用户选取目标主题所耗费的时间。The method for determining a target theme provided by this embodiment first determines a plurality of to-be-selected topics that are closer to the target wallpaper image according to the similarity between the selected theme and the target wallpaper image, and then, the user determines from the plurality of selected topics. Among the selected topics that are closer to the target wallpaper image, one candidate theme is selected as the target theme, and the final target theme satisfies the user's individual needs to a certain extent, and at the same time, the user's selection range is narrowed, and the user selection can be saved. The time spent on the target topic.
可选地,所述处理器601用于根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题,具体用于:将与所述目标壁纸图片之间的相似度最高的待选主题,确定为所述目标主题。Optionally, the processor 601 is configured to determine a target theme according to the similarity between the target wallpaper image and the candidate theme, specifically, to: use the highest similarity between the target wallpaper image and the target wallpaper image. The subject matter to be selected is determined as the target topic.
可选地,所述处理器601还用于:构建所述目标主题及所述目标壁纸图片之间的对应关系,并将所述对应关系上传到服务器。Optionally, the processor 601 is further configured to: construct a correspondence between the target theme and the target wallpaper picture, and upload the corresponding relationship to a server.
在建立壁纸图片与主题之间的对应关系后,当用户再次使用该目标壁纸作为智能终端的壁纸时,可以根据壁纸图片与主题之间的对应关系,直接查找到与该目标壁纸图片相匹配的主题,不需要智能终端重新确定与目标壁纸相对应的主题,从而节省了智能终端内的CPU资源。 After establishing the correspondence between the wallpaper image and the theme, when the user uses the target wallpaper again as the wallpaper of the smart terminal, the user can directly find the image matching the target wallpaper according to the correspondence between the wallpaper image and the theme. The theme does not require the smart terminal to re-determine the theme corresponding to the target wallpaper, thereby saving CPU resources in the smart terminal.
可选地,所述处理器601还用于:将所述目标主题的主题信息发送给服务器,以使所述服务器存储所述目标主题的主题信息。服务器能够根据记录的目标主题的主题信息建立用户使用的主题的大数据,以便根据这些大数据为用户推送相应的主题。Optionally, the processor 601 is further configured to: send the topic information of the target topic to a server, so that the server stores topic information of the target topic. The server can establish big data of the theme used by the user according to the subject information of the recorded target theme, so as to push the corresponding theme for the user according to the big data.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for a device or system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and the relevant portions can be referred to the description of the method embodiment. The apparatus and system embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie It can be located in one place or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is any such actual relationship or order between entities or operations. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅是本发明的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above is only a specific embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (24)

  1. 一种智能终端主题更换方法,其特征在于,包括:A smart terminal theme replacement method, comprising:
    获取智能终端的目标壁纸图片的要素信息;Obtaining element information of a target wallpaper image of the smart terminal;
    获取待选主题的要素信息;Get the feature information of the topic to be selected;
    根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度;Obtaining a similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme;
    根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题;Determining a target theme according to a similarity between the target wallpaper image and the candidate theme;
    将所述智能终端当前使用的主题更换为所述目标主题。The theme currently used by the smart terminal is replaced with the target theme.
  2. 根据权利要求1所述的方法,其特征在于,所述获取待选主题的要素信息,包括:The method according to claim 1, wherein the acquiring element information of the subject to be selected comprises:
    确定所述智能终端内存储的主题为所述待选主题;Determining that the theme stored in the smart terminal is the candidate topic;
    从预先建立的第一要素信息库中,获取所述待选主题的要素信息,所述第一要素信息库存储所述智能终端所存储的主题的要素信息。The element information of the to-be-selected topic is obtained from the pre-established first element information database, and the first element information library stores element information of the topic stored by the smart terminal.
  3. 根据权利要求1所述的方法,其特征在于,所述获取待选主题的要素信息,包括:The method according to claim 1, wherein the acquiring element information of the subject to be selected comprises:
    确定服务器内存储的主题为待选主题;Determining that the theme stored in the server is a candidate topic;
    从预先建立的第二要素信息库中,获取所述待选主题的要素信息,所述第二要素信息存储所述服务器所存储的主题的要素信息。The element information of the subject to be selected is acquired from a pre-established second element information base, and the second element information stores element information of the theme stored by the server.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的至少一种或任意多种组合。The method according to any one of claims 1 to 3, wherein the element information comprises at least one of a subject image type information of a picture, attribute information, and subject image content information, or any combination thereof.
  5. 根据权利要求4所述的方法,其特征在于,若所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合,则根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度,包括:The method according to claim 4, wherein if the element information comprises any combination of subject image type information, attribute information and subject image content information of the picture, the element information according to the target wallpaper picture And the element information of the to-be-selected theme, obtaining the similarity between the target wallpaper image and the to-be-selected theme, including:
    获取各个要素信息对应的权重系数;Obtaining a weight coefficient corresponding to each element information;
    计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度;Calculating a similarity between the target wallpaper image and corresponding element information of the candidate theme;
    根据所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,得到所述目标壁纸图片与所述待选主题之间的相似度。And obtaining a similarity between the target wallpaper image and the candidate theme according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information.
  6. 根据权利要求1所述的方法,其特征在于,所述根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题,包括: The method according to claim 1, wherein the determining the target theme according to the similarity between the target wallpaper image and the candidate theme comprises:
    对所述目标壁纸图片与所述待选主题之间的相似度进行排序;按照相似度由高到低的顺序,展示前预设数量个待选主题;将用户从所展示的待选主题中选定的主题确定为所述目标主题;Sorting the similarity between the target wallpaper image and the candidate theme; displaying a preset number of candidate topics in order of highness to lowness; and displaying the user from the displayed candidate theme The selected topic is determined as the target topic;
    或者,or,
    将与所述目标壁纸图片之间的相似度最高的待选主题,确定为所述目标主题。The subject to be selected having the highest degree of similarity with the target wallpaper picture is determined as the target subject.
  7. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    构建所述目标主题及所述目标壁纸图片之间的对应关系,并将所述对应关系上传到服务器。Constructing a correspondence between the target theme and the target wallpaper image, and uploading the correspondence to the server.
  8. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    将所述目标主题的主题信息发送给服务器,以使所述服务器存储所述目标主题的主题信息。Sending topic information of the target topic to a server, so that the server stores topic information of the target topic.
  9. 一种智能终端主题更换装置,其特征在于,包括:A smart terminal theme changing device, comprising:
    第一获取模块,用于获取智能终端的目标壁纸图片的要素信息;a first acquiring module, configured to acquire element information of a target wallpaper image of the smart terminal;
    第二获取模块,用于获取待选主题的要素信息;a second obtaining module, configured to acquire element information of the subject to be selected;
    第三获取模块,用于根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度;a third obtaining module, configured to acquire, according to element information of the target wallpaper image and element information of the candidate theme, a similarity between the target wallpaper image and the candidate theme;
    确定模块,用于根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题;a determining module, configured to determine a target theme according to a similarity between the target wallpaper image and the candidate theme;
    更换模块,用于将所述智能终端当前使用的主题更换为所述目标主题。And replacing a module, configured to replace a theme currently used by the smart terminal with the target theme.
  10. 根据权利要求9所述的装置,其特征在于,所述第二获取模块,包括:The device according to claim 9, wherein the second obtaining module comprises:
    第一确定子模块,用于确定所述智能终端内存储的主题为所述待选主题;a first determining submodule, configured to determine that the theme stored in the smart terminal is the candidate topic;
    第一获取子模块,用于从预先建立的第一要素信息库中,获取所述待选主题的要素信息,所述第一要素信息库存储所述智能终端所存储的主题的要素信息。And a first acquiring sub-module, configured to acquire element information of the to-be-selected topic from a pre-established first element information library, where the first element information inventory stores element information of the topic stored by the smart terminal.
  11. 根据权利要求9所述的装置,其特征在于,所述第二获取模块,包括:The device according to claim 9, wherein the second obtaining module comprises:
    第二确定子模块,用于确定服务器内存储的主题为待选主题;a second determining submodule, configured to determine that the theme stored in the server is a candidate topic;
    第二获取子模块,用于从预先建立的第二要素信息库中,获取所述待选主题的要素信息,所述第二要素信息存储所述服务器所存储的主题的要素信息。And a second obtaining sub-module, configured to acquire element information of the to-be-selected topic from a pre-established second element information base, where the second element information stores element information of the topic stored by the server.
  12. 根据权利要求9-11任一项所述的装置,其特征在于,所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的至少一种或任意多种组合。The apparatus according to any one of claims 9 to 11, wherein the element information comprises at least one of a subject image type information of a picture, attribute information, and subject image content information, or any combination thereof.
  13. 根据权利要求12所述的装置,其特征在于,若所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合,则所述 第三获取模块,包括:The apparatus according to claim 12, wherein if said element information comprises any combination of subject image type information, attribute information and subject image content information of a picture, said The third obtaining module includes:
    第三获取子模块,用于获取各个要素信息对应的权重系数;a third obtaining submodule, configured to obtain a weight coefficient corresponding to each element information;
    第一计算子模块,用于计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度;a first calculation submodule, configured to calculate a similarity between the target wallpaper image and corresponding element information of the candidate theme;
    第二计算子模块,用于根据所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,计算得到所述目标壁纸图片与所述待选主题之间的相似度。a second calculation submodule, configured to calculate, according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information, the target wallpaper image and the The similarity between the topics to be selected.
  14. 根据权利要求9所述的装置,其特征在于,所述确定模块,包括:The device according to claim 9, wherein the determining module comprises:
    排序子模块,用于对所述目标壁纸图片与所述待选主题之间的相似度进行排序;展示子模块,用于按照相似度由高到低的顺序,展示前预设数量个待选主题;第三确定子模块,用于将用户从所展示的待选主题中选定的主题确定为所述目标主题;a sorting sub-module, configured to sort the similarity between the target wallpaper image and the to-be-selected theme; the display sub-module is configured to display a preset number of to-be-selected according to the order of similarity from high to low a third determining sub-module, configured to determine a topic selected by the user from the displayed candidate topics as the target topic;
    或者,or,
    第四确定子模块,用于将与所述目标壁纸图片之间的相似度最高的待选主题,确定为所述目标主题。And a fourth determining submodule, configured to determine, as the target theme, a topic to be selected with the highest degree of similarity between the target wallpaper image.
  15. 根据权利要求9所述的装置,其特征在于,还包括:The device according to claim 9, further comprising:
    构建模块,用于构建所述目标主题及所述目标壁纸图片之间的对应关系,并将所述对应关系上传到服务器。And a building module, configured to construct a correspondence between the target theme and the target wallpaper image, and upload the corresponding relationship to the server.
  16. 根据权利要求9所述的装置,其特征在于,还包括:The device according to claim 9, further comprising:
    发送模块,用于将所述目标主题的主题信息发送给服务器,以使所述服务器存储所述目标主题的主题信息。And a sending module, configured to send the topic information of the target topic to the server, so that the server stores the topic information of the target topic.
  17. 一种设备,其特征在于,包括:处理器和存储器,An apparatus, comprising: a processor and a memory,
    通过调用所述存储器内存储的程序或指令,所述处理器用于:The processor is configured to: by calling a program or instruction stored in the memory:
    获取智能终端的目标壁纸图片的要素信息;Obtaining element information of a target wallpaper image of the smart terminal;
    获取待选主题的要素信息;Get the feature information of the topic to be selected;
    根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度;Obtaining a similarity between the target wallpaper image and the candidate theme according to the element information of the target wallpaper image and the element information of the candidate theme;
    根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题;Determining a target theme according to a similarity between the target wallpaper image and the candidate theme;
    将所述智能终端当前使用的主题更换为所述目标主题。The theme currently used by the smart terminal is replaced with the target theme.
  18. 根据权利要求17所述的设备,其特征在于,所述处理器用于获取待选主题的要素信息时,具体用于:The device according to claim 17, wherein when the processor is configured to acquire element information of a topic to be selected, the method is specifically configured to:
    确定所述智能终端内存储的主题为所述待选主题;Determining that the theme stored in the smart terminal is the candidate topic;
    从预先建立的第一要素信息库中,获取所述待选主题的要素信息,所述第一 要素信息库存储所述智能终端所存储的主题的要素信息。Obtaining element information of the subject to be selected from the pre-established first element information database, the first The element information store stores element information of the theme stored by the smart terminal.
  19. 根据权利要求17所述的设备,其特征在于,所述处理器用于获取待选主题的要素信息时,具体用于:The device according to claim 17, wherein when the processor is configured to acquire element information of a topic to be selected, the method is specifically configured to:
    确定服务器内存储的主题为待选主题;Determining that the theme stored in the server is a candidate topic;
    从预先建立的第二要素信息库中,获取所述待选主题的要素信息,所述第二要素信息存储所述服务器所存储的主题的要素信息。The element information of the subject to be selected is acquired from a pre-established second element information base, and the second element information stores element information of the theme stored by the server.
  20. 根据权利要求17-19任一项所述的设备,其特征在于,所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的至少一种或任意多种组合。The device according to any one of claims 17 to 19, wherein the element information comprises at least one or any combination of subject image type information, attribute information and subject image content information of a picture.
  21. 根据权利要求20所述的设备,其特征在于,若所述要素信息包括图片的主体图像类型信息、属性信息和主体图像内容信息中的任意多种组合,则所述处理器用于根据所述目标壁纸图片的要素信息及所述待选主题的要素信息,获取所述目标壁纸图片与所述待选主题之间的相似度时,包括:The device according to claim 20, wherein said processor is configured to be based on said target if said element information includes any combination of subject image type information, attribute information and subject image content information of a picture The element information of the wallpaper image and the element information of the candidate theme, when obtaining the similarity between the target wallpaper image and the candidate theme, includes:
    获取各个要素信息对应的权重系数;Obtaining a weight coefficient corresponding to each element information;
    计算所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度;Calculating a similarity between the target wallpaper image and corresponding element information of the candidate theme;
    根据所述目标壁纸图片与所述待选主题的对应要素信息之间的相似度,以及所述要素信息对应的权重系数,得到所述目标壁纸图片与所述待选主题之间的相似度。And obtaining a similarity between the target wallpaper image and the candidate theme according to a similarity between the target wallpaper image and the corresponding element information of the candidate theme, and a weight coefficient corresponding to the element information.
  22. 根据权利要求17所述的装置,其特征在于,所述处理器用于根据所述目标壁纸图片与所述待选主题之间的相似度,确定目标主题时,包括:The device according to claim 17, wherein the processor is configured to: when determining the target theme according to the similarity between the target wallpaper image and the candidate theme, the method includes:
    对所述目标壁纸图片与所述待选主题之间的相似度进行排序;按照相似度由高到低的顺序,展示前预设数量个待选主题;将用户从所展示的待选主题中选定的主题确定为所述目标主题;Sorting the similarity between the target wallpaper image and the candidate theme; displaying a preset number of candidate topics in order of highness to lowness; and displaying the user from the displayed candidate theme The selected topic is determined as the target topic;
    或者,or,
    将与所述目标壁纸图片之间的相似度最高的待选主题,确定为所述目标主题。The subject to be selected having the highest degree of similarity with the target wallpaper picture is determined as the target subject.
  23. 根据权利要求17所述的装置,其特征在于,所述处理器还用于:The device according to claim 17, wherein the processor is further configured to:
    构建所述目标主题及所述目标壁纸图片之间的对应关系,并将所述对应关系上传到服务器。Constructing a correspondence between the target theme and the target wallpaper image, and uploading the correspondence to the server.
  24. 根据权利要求17所述的装置,其特征在于,所述处理器还用于:The device according to claim 17, wherein the processor is further configured to:
    将所述目标主题的主题信息发送给服务器,以使所述服务器存储所述目标主题的主题信息。 Sending topic information of the target topic to a server, so that the server stores topic information of the target topic.
PCT/CN2015/076955 2015-04-20 2015-04-20 Theme replacement method and apparatus for intelligent terminal WO2016168961A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/076955 WO2016168961A1 (en) 2015-04-20 2015-04-20 Theme replacement method and apparatus for intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/076955 WO2016168961A1 (en) 2015-04-20 2015-04-20 Theme replacement method and apparatus for intelligent terminal

Publications (1)

Publication Number Publication Date
WO2016168961A1 true WO2016168961A1 (en) 2016-10-27

Family

ID=57142753

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076955 WO2016168961A1 (en) 2015-04-20 2015-04-20 Theme replacement method and apparatus for intelligent terminal

Country Status (1)

Country Link
WO (1) WO2016168961A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324859A (en) * 2018-09-21 2019-02-12 掌阅科技股份有限公司 Book cover replacing options, electronic equipment and computer storage medium
CN113760831A (en) * 2021-09-10 2021-12-07 未鲲(上海)科技服务有限公司 APP interface skin changing method, device, equipment and medium based on similarity matching
CN114706639A (en) * 2022-03-18 2022-07-05 珠海读书郎软件科技有限公司 Screen saver display method based on ink screen, storage medium and equipment
CN116743908A (en) * 2022-09-13 2023-09-12 荣耀终端有限公司 Wallpaper display method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101080095A (en) * 2007-04-20 2007-11-28 腾讯科技(深圳)有限公司 A subject interaction system and method of mobile phone
CN102098374A (en) * 2009-12-10 2011-06-15 上海晨兴希姆通电子科技有限公司 Method for configuring mobile phone theme by utilizing multimedia resources
CN102970364A (en) * 2012-11-21 2013-03-13 北京奇虎科技有限公司 Method for automatically changing subject and client
CN103002025A (en) * 2012-11-21 2013-03-27 北京奇虎科技有限公司 Method and device for replacing theme
CN103037105A (en) * 2012-12-24 2013-04-10 广东欧珀移动通信有限公司 User terminal equipment automatic theme changing method and user terminal equipment
CN104252343A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Method and equipment for replacing visual control of application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101080095A (en) * 2007-04-20 2007-11-28 腾讯科技(深圳)有限公司 A subject interaction system and method of mobile phone
CN102098374A (en) * 2009-12-10 2011-06-15 上海晨兴希姆通电子科技有限公司 Method for configuring mobile phone theme by utilizing multimedia resources
CN102970364A (en) * 2012-11-21 2013-03-13 北京奇虎科技有限公司 Method for automatically changing subject and client
CN103002025A (en) * 2012-11-21 2013-03-27 北京奇虎科技有限公司 Method and device for replacing theme
CN103037105A (en) * 2012-12-24 2013-04-10 广东欧珀移动通信有限公司 User terminal equipment automatic theme changing method and user terminal equipment
CN104252343A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Method and equipment for replacing visual control of application program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324859A (en) * 2018-09-21 2019-02-12 掌阅科技股份有限公司 Book cover replacing options, electronic equipment and computer storage medium
CN113760831A (en) * 2021-09-10 2021-12-07 未鲲(上海)科技服务有限公司 APP interface skin changing method, device, equipment and medium based on similarity matching
CN114706639A (en) * 2022-03-18 2022-07-05 珠海读书郎软件科技有限公司 Screen saver display method based on ink screen, storage medium and equipment
CN116743908A (en) * 2022-09-13 2023-09-12 荣耀终端有限公司 Wallpaper display method and related device
CN116743908B (en) * 2022-09-13 2024-03-26 荣耀终端有限公司 Wallpaper display method and related device

Similar Documents

Publication Publication Date Title
US9805060B2 (en) System and method for predicting a geographic origin of content and accuracy of geotags related to content obtained from social media and other content providers
JP6339155B2 (en) Index configuration for searchable data in the network
JP6759844B2 (en) Systems, methods, programs and equipment that associate images with facilities
US20170061308A1 (en) Venue Link Detection for Social Media Messages
US9786010B2 (en) Homeowners insurance application process using geotagged photos
US10380461B1 (en) Object recognition
US10412037B2 (en) Methods and systems for providing notifications to users of a social networking service
US9299098B2 (en) Systems for generating a global product taxonomy
US9411839B2 (en) Index configuration for searchable data in network
US20210004583A1 (en) Revealing Content Reuse Using Coarse Analysis
US20140337408A1 (en) Systems, methods and media for minimizing data downloads
US10311500B2 (en) Methods and systems for developer onboarding for software-development products
US11232149B2 (en) Establishment anchoring with geolocated imagery
WO2016168961A1 (en) Theme replacement method and apparatus for intelligent terminal
US10263908B1 (en) Performance management for query processing
US20150026196A1 (en) Location-aware content detection
US10275536B2 (en) Systems, methods, and computer-readable media for displaying content
US20150310530A1 (en) Navigation and recommendation on payment checkout in a professional social network
US10140518B1 (en) Content information auditing service
US10168881B2 (en) Information interface generation
CN102629208A (en) Method, device and equipment for determining system interface
WO2019085591A1 (en) Intelligent hardware device, intelligent disk data processing method, and storage medium
TWI743160B (en) Business data processing method and device
CN108462680B (en) Input information processing method, server and terminal equipment
US10229183B2 (en) Systems and methods for enabling access to a document based on document types and group association of users and documents

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15889452

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15889452

Country of ref document: EP

Kind code of ref document: A1