WO2020020271A1 - 壁纸管理的方法、装置、移动终端和存储介质 - Google Patents
壁纸管理的方法、装置、移动终端和存储介质 Download PDFInfo
- Publication number
- WO2020020271A1 WO2020020271A1 PCT/CN2019/097630 CN2019097630W WO2020020271A1 WO 2020020271 A1 WO2020020271 A1 WO 2020020271A1 CN 2019097630 W CN2019097630 W CN 2019097630W WO 2020020271 A1 WO2020020271 A1 WO 2020020271A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wallpaper
- feature
- switched
- information
- key
- Prior art date
Links
- 238000007726 management method Methods 0.000 title abstract description 21
- 238000000034 method Methods 0.000 claims abstract description 55
- 239000003086 colorant Substances 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 description 20
- 230000000007 visual effect Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000000605 extraction Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000013145 classification model Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20021—Dividing image into blocks, subimages or windows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Definitions
- the present application relates to, but is not limited to, the field of mobile terminals, for example, a method, a device, a mobile terminal, and a storage medium for wallpaper management.
- the wallpaper of the mobile terminal is a background image used on the screen of the mobile terminal.
- the user can select the wallpaper according to his or her preferences.
- the wallpaper makes the mobile terminal look better, more beautiful and more personalized.
- the wallpaper can be displayed below the desktop, and the text on the desktop or the color of other interfaces can change as the wallpaper changes.
- wallpapers can be divided into static wallpapers and live wallpapers.
- the wallpaper resource type can be in the form of a bitmap (Bitmap), an input stream (Input stream), or a uniform resource identifier (Uniform Resource Identifier, URI).
- Embodiments of the present disclosure provide a method, a device, a mobile terminal, and a storage medium for wallpaper management, so as to implement wallpaper switching as expected.
- An embodiment of the present disclosure provides a method for wallpaper management, including:
- An embodiment of the present disclosure further provides a device for wallpaper management, including:
- a determining module configured to determine a wallpaper to be switched
- a wallpaper feature acquisition module configured to acquire feature information of the wallpaper to be switched
- a feature information comparison module configured to compare feature information of the wallpaper to be switched with feature information of a wallpaper in a feature database to determine a wallpaper in the feature database that matches the wallpaper to be switched;
- the feature information application module is configured to perform wallpaper switching according to the feature information corresponding to the matched wallpaper.
- An embodiment of the present disclosure further provides a mobile terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
- the processor implements the wallpaper when the computer program is executed. Management approach.
- An embodiment of the present disclosure further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to perform the wallpaper management method.
- FIG. 1 is a flowchart of a wallpaper management method according to an embodiment of the present disclosure
- FIG. 2 is a flowchart of another wallpaper management method according to an embodiment of the present disclosure.
- FIG. 3 is a flowchart of obtaining feature information of a wallpaper in a wallpaper resource according to an embodiment of the present disclosure
- FIG. 4 is a flowchart of scaling a wallpaper size in a wallpaper resource to a target wallpaper size according to an embodiment of the present disclosure
- FIG. 5 is another flowchart of scaling a wallpaper size in a wallpaper resource to a target wallpaper size according to an embodiment of the present disclosure
- FIG. 6 is a flowchart of scaling a wallpaper size in a wallpaper resource to a target wallpaper size according to an embodiment of the present disclosure
- FIG. 7 is a flowchart of determining a characteristic primary key of a wallpaper after scaling according to an embodiment of the present disclosure
- FIG. 8 is a flowchart of determining a grayscale feature value of each block according to an embodiment of the present disclosure
- FIG. 9 is a flowchart of obtaining a dominant color of a wallpaper in a wallpaper resource according to an embodiment of the present disclosure
- FIG. 10 is a flowchart of another wallpaper management method according to an embodiment of the present disclosure.
- step 200 of an application example of the present disclosure is a flowchart of step 200 of an application example of the present disclosure.
- FIG. 12 is a flowchart of monitoring wallpaper switching information provided by an embodiment of the present disclosure, and determining a wallpaper to be switched according to the switching information;
- FIG. 13 is a flowchart of step 110 of an application example of the present disclosure.
- FIG. 15 is a flowchart of a comparison applied in the present disclosure.
- FIG. 17 is a schematic diagram showing a user interface (UI) of an application example of the present disclosure.
- FIG. 18 is a flowchart of still another wallpaper management method according to an embodiment of the present disclosure.
- 21 is a flowchart of a recommended wallpaper of an application example of the present disclosure.
- FIG. 22 is a schematic diagram of a wallpaper management apparatus according to an embodiment of the present disclosure.
- FIG. 23 is a schematic diagram of another wallpaper management apparatus according to an embodiment of the present disclosure.
- FIG. 24 is a schematic diagram of another wallpaper management apparatus according to an embodiment of the present disclosure.
- FIG. 25 is a schematic diagram of a mobile terminal according to an embodiment of the present disclosure.
- the extraction of the wallpaper feature information is performed when the system wallpaper changes, and the comparison and confirmation process of the feature information completes the setting and synchronization process of the wallpaper association state.
- the wallpaper management method includes the following steps:
- Step 110 Determine a wallpaper to be switched.
- the wallpaper to be switched may be determined according to the switching information by monitoring the switching information of the wallpaper.
- the system broadcast is monitored to obtain switching information, and the switching information may include an identifier of a wallpaper to be switched.
- the wallpaper to be switched refers to the selected switched wallpaper, that is, the current wallpaper needs to be switched to the wallpaper to be switched.
- Step 120 Obtain feature information of the wallpaper to be switched, compare the feature information of the wallpaper to be switched with the feature information of the wallpaper in the feature database, and determine a wallpaper in the feature database that matches the wallpaper to be switched.
- the feature database stores feature information of the wallpaper in the wallpaper resource, and may also store classification attribute information and content information of the wallpaper.
- the feature information may include a feature primary key and a feature auxiliary key.
- the feature information of the wallpaper in the feature database may also include feature additional keys and custom feature keys.
- the feature primary key refers to the main feature attribute used to identify the wallpaper, which is unique.
- the feature primary key may be obtained by processing the wallpaper and performing a gray-scale feature value analysis.
- the feature auxiliary key refers to the auxiliary feature attribute used to identify the wallpaper. It is not unique, and the auxiliary feature primary key is used to identify the wallpaper. In the embodiment of the present disclosure, the feature auxiliary key may include a main color of the wallpaper.
- the feature additional key is used for visual effect display after the wallpaper takes effect, and may include at least one of the foreground text color and the status bar color.
- the custom feature key is designed in advance with visual effects, and the feature attributes associated with the wallpaper are mainly derived from the preset configuration file.
- Step 130 Perform wallpaper switching according to the feature information corresponding to the matched wallpaper.
- an abnormality caused by repeated transmissions inside the application and externally setting a wallpaper interface is avoided, which causes the status of the wallpaper recorded in the application to be different from the status of the wallpaper set in the system.
- the method before step 110, the method further includes:
- Step 200 Obtain the feature information of the wallpaper in the wallpaper resource and store it in the feature database.
- the feature information may include a feature primary key, a feature auxiliary key, a feature additional key, and a custom feature key.
- the feature primary key and feature auxiliary key are used for wallpaper comparison in step 120, and the feature additional key and custom feature key are used for displaying the wallpaper after switching in step 130.
- step 200 feature information of wallpaper resources preset in the system and online wallpaper resources downloaded by a user may be initialized into a feature database.
- auxiliary custom information ie, custom feature keys
- a resource that can be set as a wallpaper in the system is first obtained.
- the wallpaper resource may include at least one of the following: a wallpaper preset by a mobile terminal, a desktop custom wallpaper resource pack, a downloaded wallpaper resource, a wallpaper resource in a downloaded theme, and a dynamic wallpaper resource pack.
- the wallpaper preset on the mobile terminal may be a wallpaper preset on the system layer of the mobile terminal, and the downloaded wallpaper resources and the wallpaper resources in the downloaded theme may be downloaded by the user from an online beautification store.
- Different types of resources may have different acquisition methods due to differences in storage methods. Existing acquisition methods can be sampled for implementation, and are not described here again.
- the acquiring characteristic information of the wallpaper in the wallpaper resource includes:
- Step 301 Scale the size of the wallpaper to a target wallpaper size.
- the sizes of the wallpapers in the wallpaper resources are different, and the sizes of the wallpapers in the wallpaper resources are usually large, and the calculation process is complicated, so in this step, they are scaled to a suitable size. This process can also be called formatting.
- Step 302 Determine a characteristic primary key of the scaled wallpaper.
- the scaled wallpaper is divided into multiple blocks, and then the feature value corresponding to each block is calculated to obtain the feature primary key.
- the wallpapers in the wallpaper resource may also be sorted.
- a custom wallpaper resource pack for the desktop is loaded and calculated as soon as the desktop starts; wallpaper resources downloaded from online beautification stores are related to recommended wallpapers.
- the target wallpaper size includes a target wallpaper width
- scaling the size of the wallpaper to a target wallpaper size includes:
- Step 401 Determine a zoom ratio according to the target wallpaper width.
- the target wallpaper width is W T arg et , and a zoom ratio is generated according to W T arg et and the wallpaper width W Res in the wallpaper resource.
- Step 402 Scale the wallpaper according to the scaling ratio.
- the zoom ratio R 1 can be set.
- the method may further include:
- Step 501 Check the scaled wallpaper to determine whether the width of the wallpaper is greater than W T arg et . If the width of the processed wallpaper is still greater than W T arg et , the steps 401 to 402 are performed again to scale the wallpaper to be less than or equal to W T arg et to ensure the accuracy of the wallpaper feature extraction. If the width of the wallpaper is less than or equal to W T arg et , proceed to step 302.
- the scaling in the embodiment of the present disclosure is equal scaling.
- the height is also adjusted.
- the size of the target wallpaper may also include the height of the target wallpaper, and the wallpaper may be scaled according to the height of the target wallpaper.
- the method before the determining a zoom ratio according to the target wallpaper width, the method further includes:
- Step 600 Determine the target wallpaper width according to a preset width and a mobile terminal width.
- the target wallpaper width may be a preset value, or may be determined according to the preset width value and the width of the mobile terminal.
- the target wallpaper width can be set to:
- W m is a preset width value, and beyond this width, the feature calculation time of the wallpaper will be too long, affecting the user's process of setting the wallpaper.
- This value is an empirical value. After a large amount of calculation, it is determined after considering the computing power of the mobile phone and the general size of the wallpaper. W phone is the width of the mobile terminal.
- the characteristic primary key for determining the scaled wallpaper includes:
- Step 701 dividing the scaled wallpaper into multiple blocks
- the scaled wallpaper is divided into R1 ⁇ R2, of which
- R1 W T arg et / W Scale
- R2 H T arg et / H Scale
- Step 702 Determine a grayscale feature value of each block
- the step 702 includes:
- Step 801 Determine an average value of color feature values of three colors of red, green, and blue in each block;
- the color characteristic values of the three colors of red, green and blue are: R B , G B , B B , where
- P is a pixel point in the block
- ⁇ Color.red (P) represents the cumulative sum of the red value of each pixel point in the block.
- the average of the color feature values of the three colors of red, green, and blue in each block is R B , G B , and B B divided by the number of pixels, and the average of the three colors is recorded in the array A R1 * R2 in.
- step 802 the average value of the color feature values of the three colors of red, green, and blue in each block is grayed out to obtain the gray feature value of each block.
- the eigenvalues in A R1 * R2 are grayed out according to the following formula, and the processed data is stored in G R1 * R2
- V 0.3r + 0.58g + 0.12b
- r, g, and b respectively represent three color values of red, green, and blue in A R1 * R2 .
- Step 703 Determine an average value of the grayscale feature values of the multiple blocks
- the grayscale feature values of each block are averaged, that is, the values in G R1 * R2 are averaged to obtain the average value A g .
- Step 704 Compare the average value with the grayscale feature value of each block to determine the feature primary key.
- the main color value of the wallpaper resource is used as an auxiliary, and the auxiliary key has multiple options and is replaceable. The main color is selected because this value is defined by the visual effect as a characteristic value that is applied to the software when the wallpaper changes. So choose this here and use it already convenient.
- obtaining the main color of the wallpaper in the wallpaper resource may include:
- Step 901 Obtain a palette object of the scaled wallpaper
- the palette object P Target is obtained through the input scaling wallpaper resource.
- Step 902 Calculate the average values of the three colors of red, green, and blue in the palette object to obtain the main color of the wallpaper after scaling.
- C Main For other wallpaper-related feature information, in addition to C Main , several other values are calculated in this calculation process, and these values are not related to wallpaper feature comparison. Will be used for visual effects display after wallpaper takes effect. These values can include: C Fore (foreground text color), C Status (status bar color) as additional keys for features.
- the feature information may further include a custom feature key.
- the custom feature key is derived from a preset configuration file.
- the method may further include:
- Step 1000 Obtain classification attribute information of the wallpaper in the wallpaper resource and store it in a feature database.
- the classification attribute values of all resources are parsed to count user wallpaper preferences and used when recommending wallpapers.
- the step 200 may include the following sub-steps:
- Step 1101 Obtain wallpaper resources.
- Step 1102 Adjust the sequence of wallpaper resources.
- Step 1103 Format the wallpaper resource.
- the size of the wallpaper in the wallpaper resource is scaled to the target wallpaper size.
- Step 1104 Obtain characteristic information of the wallpaper in the wallpaper resource.
- the feature primary key, feature auxiliary key, and feature additional key of the wallpaper in the wallpaper resource can be obtained through calculation, and the custom feature key and wallpaper classification attribute information can also be obtained.
- step 1105 the information of the wallpaper resource is stored in a feature database.
- the feature primary key, feature auxiliary key, feature additional key, and custom feature key are stored in the feature database.
- the primary key of the feature database is the resource identifier of the wallpaper resource, and this identifier is unified management.
- the unique identifier of the wallpaper is defined here as ID Wallpaper .
- the switching information includes an identifier of a wallpaper to be switched, and the step 110 includes:
- Step 1201 Monitor the system broadcast to obtain the identifier of the wallpaper to be switched.
- Step 1202 Determine that the identifier of the current wallpaper is inconsistent with the identifier of the wallpaper to be switched, and determine the wallpaper to be switched according to the identifier of the wallpaper to be switched.
- the wallpaper to be switched is determined according to the identifier of the wallpaper to be switched, parameters such as the size and pixel value of the wallpaper to be switched can be obtained to extract feature information.
- FIG. 12 describes the triggering process and timing of the scheme, and is a description of the timing when the entire scheme is executed.
- the trigger action occurs after the user clicks the UI interface to trigger a wallpaper change.
- step 110 may include the following sub-steps:
- step 1301 the system broadcast is registered, "android.intent.action.WALLPAPER_CHANGED"; and the monitoring class is initialized.
- ID cache the identification number of the current wallpaper in the system is recorded as ID cache .
- Step 1302 wait for the system to broadcast.
- Step 1303 obtain the current ID sys and execute 1303. If there is no system broadcast, continue to listen.
- Step 1303 Compare ID sys with ID cache . If they are the same, go back to step 1302. If they are different, go to step 1304;
- step 1304 the wallpaper to be switched is determined, and the feature value extraction of the wallpaper to be switched is notified.
- the feature information of the wallpaper to be switched is similar to the feature information of the wallpaper in the wallpaper resource, and may be performed with reference to step 200 and FIGS. 3 to 9.
- the obtained feature information is a feature primary key and a feature auxiliary key, and it is not necessary to obtain a feature additional key and a custom feature key.
- the information of the wallpaper to be switched comes from calling the system interface.
- the feature information of the wallpaper to be switched is compared with the feature information of the wallpaper in the feature database to determine a wallpaper in the feature database that matches the wallpaper to be switched.
- Step 1401 Compare feature information of the wallpaper to be switched with feature information of the wallpaper in the feature database
- Step 1402 Determine that the result of the comparison satisfies the first preset condition, and use the wallpaper in the feature database that meets the first preset condition as the wallpaper matching the wallpaper to be switched; the process ends.
- Step 1403 Determine that the result of the comparison satisfies a second preset condition, and add a wallpaper in the feature database that meets the second preset condition to a candidate list;
- Step 1404 Determine that there is no wallpaper that meets the first preset condition in the feature database, and select a wallpaper that meets the third preset condition in the candidate list as the wallpaper that matches the wallpaper to be switched.
- the first preset condition is that the distance between the feature primary key of the wallpaper to be switched and the feature primary key of the wallpaper in the feature database is less than the minimum primary key threshold, and the feature auxiliary key and the feature database of the wallpaper to be switched The distance difference between the feature auxiliary keys of the wallpaper is less than the maximum auxiliary key threshold;
- the second preset condition is that a distance difference between a feature primary key of a wallpaper to be switched and a feature primary key of a wallpaper in a feature database is less than a maximum primary key threshold;
- the third preset condition is: in the candidate list, the distance difference from the characteristic primary key of the wallpaper to be switched is the smallest, and the distance difference from the characteristic secondary key of the wallpaper to be switched is less than the minimum secondary key threshold; or In the list, the distance difference from the characteristic primary key of the wallpaper to be switched is the smallest, and the distance difference from the characteristic secondary key of the wallpaper to be switched is smaller than the maximum secondary key threshold, and the distance difference from the characteristic primary key of the wallpaper to be switched is smaller than the intermediate primary key threshold.
- Step 1501 Perform cyclic comparison of the feature information F C of the wallpaper to be switched with the feature information F I of the wallpaper in the feature database;
- the value of the characteristic primary key of F I is compared with the value of the characteristic primary key of F C , and the distance difference D diff between the two is calculated as the distance difference of the characteristic primary key.
- the value of the characteristic primary key of F I and the value of the characteristic primary key of F C are compared bit by bit.
- D diff is incremented by one.
- the distance difference A Diff of the feature auxiliary key may also need to be calculated.
- the calculation method is:
- the red, green, and blue values in the main color of the wallpaper to be switched are respectively.
- Step 1502 it is determined whether the distance difference D diff between the characteristic primary key of the wallpaper to be switched and the characteristic primary key of the wallpaper in the characteristic database is less than the minimum primary key threshold M min , and if so, step 1503 is performed, otherwise step 1505 is performed;
- Step 1503 it is determined whether the distance difference A Diff between the feature auxiliary key of the wallpaper to be switched and the feature auxiliary key of the wallpaper in the feature database is less than the maximum auxiliary key threshold C max , and if so, step 1804 is performed, otherwise step 1801 is performed;
- Step 1504 Determine the match, return the identifier corresponding to the wallpaper to be switched, and end the process.
- Step 1505 it is judged whether the distance difference D diff between the characteristic primary key of the wallpaper to be switched and the characteristic primary key of the wallpaper in the characteristic database is less than the maximum primary key threshold M max , if yes, go to step 1506; otherwise, go to step 1501;
- Step 1506 Add the currently compared wallpapers in the feature database to the candidate list.
- the candidate list may use an array A F.
- Step 1507 After the cyclic comparison is completed, obtain the wallpaper with the smallest distance difference from the feature primary key of the wallpaper to be switched in the candidate list;
- the most suitable wallpaper information is found in the array A F. Traverse A F to find the wallpaper feature information with the smallest color difference. That is, the wallpaper in the feature database corresponding to the minimum D diff .
- Step 1508 Determine whether the distance difference A Diff between the feature auxiliary key of the wallpaper to be switched and the feature auxiliary key of the wallpaper in the feature database is less than the minimum auxiliary key threshold C min , if yes, go to step 1804; otherwise, go to step 1509;
- Step 1509 Determine whether the distance difference D diff between the feature primary key of the wallpaper to be switched and the feature primary key of the wallpaper in the feature database is less than the intermediate primary key threshold M Media , and determine whether the feature auxiliary key of the wallpaper to be switched and the feature auxiliary key of the wallpaper in the feature database are different. If the distance difference A Diff is less than the maximum auxiliary key threshold C max , go to step 1504, otherwise go to step 1510;
- Step 1510 Determine that there is no matching wallpaper resource.
- step 130 wallpaper switching is performed according to the feature information corresponding to the matched wallpaper.
- the mainstream wallpaper setting process usually requires a user to confirm the process after selecting a wallpaper. This process artificially lengthens the wallpaper setting process, and users cannot immediately view their wallpaper and apply it to the system. status.
- the process of re-confirmation by the user is not required, and WYSIWYG is achieved.
- wallpaper switching is performed according to at least one of a feature additional key and a custom feature key included in the feature information corresponding to the matched wallpaper.
- the priority of the custom feature key is higher than the priority of the feature additional key.
- the embodiment of the present disclosure uses at least one of the matched wallpaper corresponding feature additional key and custom feature key for wallpaper switching, and auxiliary visual effect information (for example, foreground color, status bar color, etc.) can be applied to the application, In this way, the application can present a more suitable visual effect.
- auxiliary visual effect information for example, foreground color, status bar color, etc.
- the method further includes:
- Step 1600 Determine that there is no wallpaper matching the wallpaper to be switched in the feature database, and perform wallpaper switching according to the feature information of the wallpaper to be switched.
- FIG. 17 it is a UI display diagram of an application example of the present disclosure, in which a user randomly selects on a wallpaper selection page, for example, selecting wallpaper n-1 in the figure, and the selected wallpaper will be applied to the system in real time. At the same time, feature additional keys and custom feature keys will be applied to related software. The associated data is saved and synchronized.
- the method may further include:
- Step 1800 Recommend a wallpaper according to at least one of the feature information, content information, and classification attribute information of the wallpaper.
- the feature information of the wallpaper is derived from the foregoing step of obtaining feature information.
- the main color of the wallpaper can be used here. You can divide the main color into several categories, and set category labels separately.
- the classification attribute information comes from the preset classification of the wallpaper resource, which can be obtained from the initialized data.
- the content information can be derived from presets or from local artificial intelligence (AI) learning models, which can be implemented using existing AI picture classification models, which are not repeated here.
- AI artificial intelligence
- step 1800 includes:
- Step 1901 Count user preference information according to at least one of the main color of the wallpaper, content information, and classification attribute information;
- the classification attribute information, content information, and the probability of each classification in the main color of the wallpaper used by the user are counted, and the three classification tags with the highest probability are obtained and cached.
- Step 1902 Adjust the display order of the wallpapers in the preset wallpaper resources according to the user preference information, and fill in the recommended bits.
- the recommended priority can be set as follows: the classification attribute information has the highest priority, the content information takes the second place, and the main color tone has the lowest priority.
- the method further includes:
- step 2000 it is determined that the recommended bits cannot be filled from the preset wallpaper resources, and the wallpaper resources are obtained from the server according to the user preference information to fill the recommended bits.
- the embodiment of the present disclosure interacts with the server according to the characteristic information of the wallpaper, and recommends the wallpaper resource that best meets the user's usage habits for the user, which can improve the user's satisfaction with the beautified resource.
- the recommendation process of the application example of the present disclosure includes:
- Step 2101 Count user preference information according to the feature auxiliary key, content information, and classification attribute information of the wallpaper;
- the data of the three data types are processed separately to obtain the three preference labels with the highest probability, and the percentage is recorded.
- auxiliary key For the feature auxiliary key, it can be derived from the classification of the color palette. This part can refer to the auxiliary key acquisition part. Each wallpaper records three color information. Iterate through all the data to get the first three digits of the mean to estimate the type of preference.
- the wallpaper classification attribute information its label is the wallpaper classification label, which is derived from the preset (the downloaded resources are from the download category).
- the first three categories that appear are also used for estimation, and the percentage is recorded.
- the wallpaper content information its label is the wallpaper content label, and the first three categories that appear are also used for estimation, and the percentage is recorded.
- Step 2102 Generate a tag list.
- Step 2103 Determine whether there is a wallpaper corresponding to the tag list in the preset wallpaper resource, and if yes, perform step 2104;
- the wallpaper classification label has the highest priority, that is, this category of data is the most effective, so in the recommendation process, this type has the highest priority in order of wallpaper content.
- the server recommends category content that is not recommended, the auxiliary key (primary color to filter) will be used.
- Step 2104 Adjust the display order of the preset wallpaper resources according to the recommended tags
- step 2105 it is determined whether the recommended bits are filled. If yes, go to step 2108; if not, go to step 2106;
- Step 2106 Obtain wallpaper resources from the server according to the user preference information.
- step 2107 it is determined whether the recommended bits are filled. If yes, step 2108 is performed; if not, step 2102 is performed.
- an embodiment of the present disclosure further provides an apparatus for wallpaper management, which may include:
- the wallpaper feature acquisition module 222 is configured to acquire feature information of a wallpaper to be switched
- the feature information comparison module 223 is configured to compare feature information of the wallpaper to be switched with feature information of the wallpaper in the feature database, and determine a wallpaper in the feature database that matches the wallpaper to be switched;
- the feature information application module 224 is configured to perform wallpaper switching according to the feature information corresponding to the matched wallpaper.
- the situation where the wallpaper status recorded in the application and the wallpaper status set in the system are inconsistent is avoided due to an abnormality caused by repeated transmissions inside the application and setting a wallpaper interface externally.
- the device according to the embodiment of the present disclosure may further include:
- the feature information initialization module 231 is configured to obtain feature information of a wallpaper in a wallpaper resource and store the feature information in a feature database.
- the feature database may be a database stored locally or a database stored in the cloud.
- the device according to the embodiment of the present disclosure may further include:
- the wallpaper recommendation module 241 is configured to recommend a wallpaper according to at least one of feature information, content information, and classification attribute information of the wallpaper.
- the embodiment of the present disclosure completes the extraction of wallpaper features when the system wallpaper changes, and completes the setting and synchronization process of the wallpaper association state by comparing and confirming the features. There is no need to distinguish the source of the wallpaper setting, so that the desktop application's status when setting the wallpaper from multiple sources is consistent with expectations. Furthermore, the embodiments of the present disclosure can complete the interaction with the server by extracting and tagging the wallpaper features, and recommend wallpaper resources that meet the user's wallpaper setting habits for the user. Through the embodiments of the present disclosure, the design style of the terminal products is made consistent, and the user experience is greatly improved.
- an embodiment of the present disclosure further provides a mobile terminal, including: a memory 251, a processor 252, and a computer program 253 stored on the memory 251 and executable on the processor.
- the processor 252 executes all The method of implementing the above wallpaper management when the program is described.
- An embodiment of the present disclosure further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to perform the above-mentioned wallpaper management method.
- the storage medium may include: a universal serial bus flash disk (Universal Serial Bus Flash Disk (U disk)), a read-only memory (Read-Only Memory (ROM), and a random access memory (Random Access memory). RAM), mobile hard disks, magnetic disks, or optical disks, and other media that can store program codes.
- U disk Universal Serial Bus Flash Disk
- ROM Read-Only Memory
- RAM Random Access memory
- Computer storage medium includes volatile and non-volatile implemented in a method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data.
- Computer storage media include RAM, ROM, electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, portable compact disk read-only memory (Compact Disc-Read-Only Memory, CD-ROM) ), Digital Video Disc-Read Only Memory (DVD) or other optical disk storage, magnetic box, magnetic tape, disk storage or other magnetic storage devices, or other devices that can be used to store desired information and can be accessed by a computer The medium.
- a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include a variety of information delivery medium.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Library & Information Science (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Security & Cryptography (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- User Interface Of Digital Computer (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
本文公开了一种壁纸管理的方法、装置、移动终端和存储介质,其中,所述方法包括:确定待切换壁纸;获取待切换壁纸的特征信息,将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸;按照所述匹配的壁纸对应的特征信息进行壁纸切换。
Description
本申请要求在2018年7月25日提交中国专利局、申请号为201810826480.5的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本申请涉及但不限于移动终端领域,例如涉及一种壁纸管理的方法、装置、移动终端和存储介质。
移动终端的壁纸是移动终端屏幕所使用的背景图片,用户可以根据自己的爱好选择壁纸,壁纸让移动终端看起来更好看,更漂亮,更有个性。壁纸可以显示在桌面下方,桌面上的文字或者其他界面的色彩均可以跟随壁纸的变化而变化。目前,壁纸可以分成静态壁纸、动态壁纸。另外壁纸的资源类型可以是位图(Bitmap)、输入流(Input Stream)或者统一资源标识符(Uniform Resource Identifier,URI)等形式。
在移动终端的应用中,设置壁纸时,通常要在流程中添加大量的信息传递参数(实现形式多种,例如广播、回调等),来保证系统中设置的壁纸的状态与用户选择的壁纸的状态一致。所以,在用户选择一张壁纸后通常需要有用户再次确认的过程。由于多线程切换,壁纸设置来源众多、应用自身逻辑等,可能会导致应用中记录的壁纸状态与系统中被设置的壁纸状态呈出现不一致的情况。
发明内容
本公开实施例提供了一种壁纸管理的方法、装置、移动终端和存储介质,以实现壁纸切换与预期一致。
本公开实施例提供了一种壁纸管理的方法,包括:
确定待切换壁纸;
获取所述待切换壁纸的特征信息,将所述待切换壁纸的特征信息与特征数 据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸;
按照所述匹配的壁纸对应的特征信息进行壁纸切换。
本公开实施例还提供一种壁纸管理的装置,包括:
确定模块,设置为确定待切换壁纸;
壁纸特征获取模块,设置为获取所述待切换壁纸的特征信息;
特征信息对比模块,设置为将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸;
特征信息应用模块,设置为按照所述匹配的壁纸对应的特征信息进行壁纸切换。
本公开实施例还提供一种移动终端,包括:存储器、处理器及存储在该存储器上并可在该处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述的壁纸管理的方法。
本公开实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行所述的壁纸管理的方法。
图1为本公开实施例提供的一种壁纸管理的方法的流程图;
图2为本公开实施例提供的另一种壁纸管理的方法的流程图;
图3为本公开实施例提供的获取壁纸资源中壁纸的特征信息的流程图;
图4为本公开实施例提供的一种将壁纸资源中壁纸的尺寸缩放成目标壁纸尺寸的流程图;
图5为本公开实施例提供的另一种将壁纸资源中壁纸的尺寸缩放成目标壁纸尺寸的流程图;
图6为本公开实施例提供的又一种将壁纸资源中壁纸的尺寸缩放成目标壁纸尺寸的流程图;
图7为本公开实施例提供的确定缩放后壁纸的特征主键的流程图;
图8为本公开实施例提供的确定每个区块的灰度特征值的流程图;
图9为本公开实施例提供的获取壁纸资源中壁纸的主色调的流程图;
图10为本公开实施例提供的又一种壁纸管理的方法的流程图;
图11为本公开应用实例的步骤200的流程图;
图12为本公开实施例提供的监听壁纸的切换信息,根据所述切换信息确定待切换壁纸的流程图;
图13为本公开应用实例步骤110的流程图;
图14为本公开实施例的比对流程图;
图15为本公开应用的比对的流程图;
图16为本公开实施例提供的再一种壁纸管理的方法的流程图;
图17为本公开应用实例的用户界面(User Interface,UI)展示示意图;
图18为本公开实施例提供的还一种壁纸管理的方法的流程图;
图19为本公开实施例提供的一种推荐壁纸的流程图;
图20为本公开实施例提供的另一种推荐壁纸的流程图;
图21为本公开应用实例的推荐壁纸的流程图;
图22为本公开实施例提供的一种壁纸管理的装置示意图;
图23为本公开实施例提供的另一种壁纸管理的装置示意图;
图24为本公开实施例提供的还一种壁纸管理的装置示意图;
图25为本公开实施例提供的移动终端组成示意图。
下文中将结合附图对本公开的实施例进行详细说明。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以 以不同于此处的顺序执行所示出或描述的步骤。
本公开实施例中,在系统壁纸变化时完成壁纸特征信息的提取,并通过对特征信息的比对与确认过程,完成壁纸关联状态的设置与同步过程。
如图1所示,本公开实施例的壁纸管理的方法,包括如下步骤:
步骤110,确定待切换壁纸。
其中,可以通过监听壁纸的切换信息,根据所述切换信息确定待切换壁纸。例如监听系统广播,获取切换信息,所述切换信息可以包括待切换壁纸的标识。所述待切换壁纸是指选定的切换后的壁纸,即需要将当前壁纸切换为待切换壁纸。
步骤120,获取待切换壁纸的特征信息,将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸。
所述特征数据库保存有壁纸资源中壁纸的特征信息,还可以保存有壁纸的分类属性信息和内容信息。
其中,所述特征信息可以包括特征主键,还可以包括特征辅助键。特征数据库中壁纸的特征信息还可以包含有特征附加键和自定义特征键。
其中,特征主键指用于识别壁纸的主要特征属性,具有唯一性。在本公开实施例中,可以通过对壁纸处理,进行灰度特征值分析得到该特征主键。
特征辅助键指用于识别壁纸的辅助特征属性,不唯一,辅助特征主键进行壁纸识别。在本公开实施例中,特征辅助键可以包括壁纸的主色调。
特征附加键用于壁纸生效后视效展示,可以包括前景文字颜色和状态栏颜色中的至少之一。
自定义特征键是预先有视效设计的,与壁纸关联的特征属性,主要来源于预先设定的配置文件。
步骤130,按照所述匹配的壁纸对应的特征信息进行壁纸切换。
在本公开实施例中,通过进行特征信息匹配,避免了由于应用内部的重重传递与外部设置壁纸接口引起异常,导致应用中记录的壁纸状态与系统中被设 置的壁纸状态不一致的情况。
如图2所示,在一实施例中,步骤110之前,所述方法还包括:
步骤200,获取壁纸资源中壁纸的特征信息,存入特征数据库中。
同样的,所述特征信息可以包括特征主键,还可以包括特征辅助键、特征附加键以及自定义特征键。
特征主键和特征辅助键用于步骤120中的壁纸比对,特征附加键和自定义特征键用于步骤130切换后壁纸的展示。
在步骤200中,可以将系统中预置的壁纸资源与用户下载的线上壁纸资源的特征信息初始化到特征数据库中。另外,还可以将辅助的自定义信息(即自定义特征键)保存到特征数据库。
在步骤200中,首先获取系统中可以被设置为壁纸的资源。所述壁纸资源可以包括如下至少之一:移动终端预置的壁纸、桌面自定义壁纸资源包、下载的壁纸资源、下载的主题中的壁纸资源、动态壁纸资源包。其中,移动终端预置的壁纸可以是移动终端系统层预置的壁纸,下载的壁纸资源和下载的主题中的壁纸资源可以是用户从线上美化商店下载的。不同类型的资源,由于是存储方式的差异,获取方式可能有所不同,可采样已有的获取方式实现,此处不再赘述。
在一实施例中,如图3所示,所述获取壁纸资源中壁纸的特征信息,包括:
步骤301,将所述壁纸的尺寸缩放成目标壁纸尺寸。
其中,由于壁纸资源中壁纸的尺寸不一,另外壁纸资源中壁纸的尺寸通常较大,计算处理较复杂,故本步骤中,将其缩放为合适的尺寸。这个过程也可称为格式化。
步骤302,确定缩放后壁纸的特征主键。
其中,将缩放后壁纸划分为多个区块,进而计算每个区块对应的特征值,得到特征主键。
在步骤301之前,还可以对所述壁纸资源中的壁纸进行排序。
其中,可以按照需求指定的序列进行排序。例如,针对桌面自定义壁纸资 源包,在桌面启动时第一时间加载与计算;线上美化商店下载的壁纸资源与推荐壁纸相关。
如图4所示,在一实施例中,所述目标壁纸尺寸包括目标壁纸宽度,所述将所述壁纸的尺寸缩放成目标壁纸尺寸,包括:
步骤401,根据所述目标壁纸宽度确定缩放比。
其中,目标壁纸宽度为W
T arg et,根据W
T arg et和壁纸资源中壁纸的宽度W
Res生成缩放比。
R=W
Res/W
T arg et
步骤402,按照所述缩放比对所述壁纸进行缩放。
其中,如果缩放比R小于2,则可以设置缩放比R=1。
如图5所示,在一实施例中,在步骤402之后,还可以包括:
步骤501,检查缩放后的壁纸,判断壁纸的宽度是否大于W
T arg et。如果处理后的壁纸的宽度仍大于W
T arg et,则再一次执行步骤401~402对壁纸进行缩放,使之小于等于W
T arg et,以保证提取壁纸特征时的精度。如果壁纸的宽度小于等于W
T arg et,则继续执行步骤302。
本公开实施例中的缩放为等比例缩放,调整宽度时,同时也调整了高度。
另外,目标壁纸尺寸也可以包括目标壁纸高度,也可以按照目标壁纸高度对壁纸进行缩放。
如图6所示,在一实施例中,所述根据所述目标壁纸宽度确定缩放比之前,所述方法还包括:
步骤600,根据宽度预设值和移动终端宽度确定所述目标壁纸宽度。
目标壁纸宽度可以是预设值,也可以根据宽度预设值和移动终端宽度确定。例如,目标壁纸宽度可以设置为:
W
T arg et=Math.max(W
m,W
phone/12)
其中,W
m为宽度预设值,超过这个宽度,壁纸的特征计算时间将过长,影响用户设置壁纸的流程。这个值为经验值,在大量计算后,考虑手机计算能力与壁纸的一般尺寸后确定。W
phone为移动终端的宽度。
如图7所示,在一实施例中,所述确定缩放后壁纸的特征主键包括:
步骤701,将所述缩放后壁纸划分为多个区块;
其中,采用一个固定的比例进行划分。记每个区块的宽度为W
Scale,高度为H
Scale。
缩放后壁纸划分为R1×R2个,其中,
其中,R1=W
T arg et/W
Scale、R2=H
T arg et/H
Scale
步骤702,确定每个区块的灰度特征值;
其中,如图8所示,在一实施例中,所述步骤702,包括:
步骤801,确定每个区块中的红、绿和蓝三种颜色的颜色特征值的均值;
其中,红、绿和蓝三种颜色的颜色特征值分别为:R
B、G
B、B
B,其中
R
B=∑Color.red(P)
其中,P为区块中像素点,∑Color.red(P)表示对区块中每个像素点的红色值累加和。同理可得,G
B与B
B。
每个区块中的红、绿和蓝三种颜色的颜色特征值的均值为R
B、G
B、B
B分别除以像素的个数,将三个颜色的均值记录在数组A
R1*R2中。
步骤802,将每个区块中红、绿和蓝三种颜色的颜色特征值的均值进行灰度化处理,得到每个区块的灰度特征值。
其中,按照下式将A
R1*R2中的特征值灰度化,处理后的数据保存在G
R1*R2中
V=0.3r+0.58g+0.12b
其中,r,g,b分别表示A
R1*R2中红、绿、蓝三种颜色值。
步骤703,确定所述多个区块的灰度特征值的均值;
其中,对每个区块的灰度特征值进行平均,也即对G
R1*R2中的值进行平均,得到均值A
g。
步骤704,将所述均值与每个区块的灰度特征值进行比较,确定所述特征主键。
其中,比较G
R1*R2与A
g的关系,若数据中的值大于A
g,则特征值为1,否则 为0。这样便可以生成一个包含R1×R2个特征单元的字符串,作为所述特征主键的值。
在比对壁纸时,受限于特征主键的尺寸,R1×R2这个值越大比对时精确度越高,但是会带来计算消耗。故在比对,相近的壁纸资源可以使用特征辅助键进行辅助。本实施例使用壁纸资源的主色调值进行辅助,辅助键有多种选择,具有可替代性。选用主色调是因为这个值被视效定义成一个在壁纸改变时应用到软件的一个特征值。故在此处选用这个,利用已有便利。
如图9所示,在一实施例中,获取壁纸资源中壁纸的主色调,可以包括:
步骤901,获取缩放后壁纸的调色板对象;
其中,通过输入的缩放壁纸资源获取调色板对象P
Target。
步骤902,分别计算所述调色板对象中红、绿、蓝三种颜色的均值,得到缩放后壁纸的主色调。
其中,遍历P
Target,获取R
B、G
B、B
B。同理可得,G
B与B
B。
R
B=∑Color.red(P)
分别计算所述调色板对象中红、绿、蓝三种颜色的均值,即R
B、G
B、B
B分别除以像素的个数,组成壁纸的主色调C
Main。
其他壁纸相关特征信息,除了C
Main,在这个计算过程还计算其他几个值,这些值,与壁纸特征比对无关。将用于壁纸生效后视效展示用。这些值可以包含:C
Fore(前景文字颜色)、C
Status(状态栏颜色),作为特征附加键。
另外,所述特征信息可以还包括自定义特征键。
可以从计算壁纸的数据源处解析是否有自定义的键值,作为自定义特征键。这些键值与壁纸的特征比对无关,将用于壁纸生效后视效的关联修改。
在一实施例中,自定义特征键,来源于预先设定的配置文件。
如图10所示,在一实施例中,所述方法还可以包括:
步骤1000,获取所述壁纸资源中壁纸的分类属性信息,存入特征数据库中。
在此步骤中,解析所有资源的分类属性值,用于统计用户壁纸使用偏好,用于推荐壁纸时使用。
如图11所示,在一应用实例中,所述步骤200可以包括如下子步骤:
步骤1101,获取壁纸资源。
其中,扫描出移动终端中所有可以管理的壁纸资源。
步骤1102,对壁纸资源的序列进行调整。
也即,将已经获取的壁纸资源进行排序。
步骤1103,格式化壁纸资源。
本步骤中,将所述壁纸资源中壁纸的尺寸缩放成目标壁纸尺寸。
步骤1104,获取壁纸资源中壁纸的特征信息。
其中,可以通过计算获取壁纸资源中壁纸的特征主键、特征辅助键和特征附加键,还可以获取自定义特征键和壁纸分类属性信息。
步骤1105,将壁纸资源的信息存入特征数据库中。
将特征主键、特征辅助键、特征附加键以及自定义特征键存储于特征数据库。特征数据库的主键为壁纸资源的资源标识,这个标识为统一管理。此处将壁纸的唯一标识符定义为ID
Wallpaper。
如图12所示,在一实施例中,所述切换信息包括待切换壁纸的标识,所述步骤110,包括:
步骤1201,监听系统广播,获取所述待切换壁纸的标识。
其中,可以通过注册系统广播进行监听。
步骤1202,确定当前壁纸的标识与所述待切换壁纸的标识不一致,根据所述待切换壁纸的标识确定待切换壁纸。
其中,根据所述待切换壁纸的标识确定待切换壁纸,则可以获得待切换壁纸的尺寸、像素值等参数,以进行特征信息的提取。
图12的实施例描述方案的触发流程与触发时机,是整个方案被执行的时机描述。触发动作发生在用户点击UI界面触发了壁纸变化之后。
如图13所示,在一应用实例中,步骤110可以包括如下子步骤:
步骤1301,注册系统广播,"android.intent.action.WALLPAPER_CHANGED";并初始化监控类,此处将当前壁纸在系统中的标识号记录,记为ID
cache。
步骤1302,等待系统广播。在接收到系统广播时,获取当前的ID
sys,执行1303,若没有系统广播,则继续监听。
步骤1303,将ID
sys与ID
cache进行比较,若相同,则返回执行步骤1302,若不同,执行步骤1304;
步骤1304,确定待切换壁纸,通知进行待切换壁纸的特征值提取。
步骤120中,获取待切换壁纸的特征信息,与获取壁纸资源中壁纸的特征信息类似,可以参照步骤200以及图3~图9执行。其中,获取的特征信息为特征主键和特征辅助键,无需获取特征附加键和自定义特征键。另外,待切换壁纸的信息来源于调用系统接口。
如图14所示,在一实施例中,所述将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸,可以包括:
步骤1401,将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对;
步骤1402,确定比对的结果满足第一预设条件,将所述特征数据库中满足第一预设条件的壁纸作为与所述待切换壁纸匹配的壁纸;结束流程。
步骤1403,确定比对的结果满足第二预设条件,将所述特征数据库中满足第二预设条件的壁纸添加在备选列表中;
步骤1404,确定在特征数据库中没有满足第一预设条件的壁纸,选择备选列表中满足第三预设条件的壁纸作为与所述待切换壁纸匹配的壁纸。
其中,在一实施例中,所述第一预设条件为:待切换壁纸的特征主键和特征数据库中壁纸的特征主键的距离差小于最小主键阈值,且待切换壁纸的特征 辅助键和特征数据库中壁纸的特征辅助键的距离差小于最大辅助键阈值;
所述第二预设条件为:待切换壁纸的特征主键和特征数据库中壁纸的特征主键的距离差小于最大主键阈值;
所述第三预设条件为:在备选列表中,与待切换壁纸的特征主键的距离差最小,且与待切换壁纸的特征辅助键的距离差小于最小辅助键阈值;或者,在备选列表中,与待切换壁纸的特征主键的距离差最小,且与待切换壁纸的特征辅助键的距离差小于最大辅助键阈值,且与待切换壁纸的特征主键的距离差小于中间主键阈值。
如图15所示,以一个应用实例说明比对的过程,包括如下步骤:
步骤1501,将所述待切换壁纸的特征信息F
C与特征数据库中壁纸的特征信息F
I进行循环比对;
其中,将F
I的特征主键的值与F
C的特征主键的值比对,计算求得两者的距离差D
diff作为特征主键的距离差。
其中,将F
I的特征主键的值与F
C的特征主键的值比对逐位比较,不同时,D
diff加1。
另外,可能还需要计算特征辅助键的距离差A
Diff,其计算方法为:
步骤1502,判断待切换壁纸的特征主键和特征数据库中壁纸的特征主键的距离差D
diff是否小于最小主键阈值M
min,如果是,则执行步骤1503,否则执行步骤1505;
步骤1503,判断待切换壁纸的特征辅助键和特征数据库中壁纸的特征辅助键的距离差A
Diff是否小于最大辅助键阈值C
max,如果是,则执行步骤1804,否则执行步骤1801;
步骤1504,确定匹配,返回待切换壁纸对应的标识,结束流程。
步骤1505,判断待切换壁纸的特征主键和特征数据库中壁纸的特征主键的距离差D
diff是否小于最大主键阈值M
max,是则执行步骤1506,否则执行步骤1501;
步骤1506,将所述特征数据库中当前比对的壁纸添加在备选列表中;
所述备选列表可以采用数组A
F。
步骤1507,在循环比对完毕后,获取备选列表中与待切换壁纸的特征主键的距离差最小的壁纸;
本步骤中,在数组A
F中查找最适合的壁纸信息。遍历A
F在其中查找色差最小的壁纸特征信息。也即D
diff最小所对应的特征数据库中的壁纸。
步骤1508,判断待切换壁纸的特征辅助键和特征数据库中壁纸的特征辅助键的距离差A
Diff是否小于最小辅助键阈值C
min,是则执行步骤1804,否则执行步骤1509;
步骤1509,判断待切换壁纸的特征主键和特征数据库中壁纸的特征主键的距离差D
diff是否小于中间主键阈值M
Media,且判断待切换壁纸的特征辅助键和特征数据库中壁纸的特征辅助键的距离差A
Diff是否小于最大辅助键阈值C
max,是则执行步骤1504,否则执行步骤1510;
步骤1510,确定没有匹配的壁纸资源。
所述步骤130中,按照所述匹配的壁纸对应的特征信息进行壁纸切换。
通过上述步骤,可以避免由于多线程切换,壁纸设置来源众多、应用自身逻辑等,可能会导致应用中记录的壁纸状态与系统中被设置的壁纸状态呈出现不一致的情况。另外,目前,主流的设置壁纸的流程,在用户选择一张壁纸后通常要有用户再次确认的过程,这个过程人为使得设置壁纸的过程被拉长,用户不能即刻查看自己的壁纸应用到系统中的状态。通过本公开实施例,无需用户再次确认的过程,实现了所见即所得。
在一实施例中,按照所述匹配的壁纸对应的特征信息包含的特征附加键和自定义特征键中的至少之一进行壁纸切换。
其中,所述自定义特征键的优先级高于特征附加键的优先级。
本公开实施例使用所述匹配的壁纸对应特征附加键和自定义特征键中的至 少之一进行壁纸切换,可以将辅助视效信息(例如,前景色、状态栏颜色等)应用到应用中,这样,能让应用呈现更适合的视觉效果。
如图16所示,在一实施例中,还包括:
步骤1600,确定所述特征数据库中没有与所述待切换壁纸匹配的壁纸,按照所述待切换壁纸的特征信息进行壁纸切换。
如果当前特征数据库中没有对应的壁纸信息。则界面的视效特征将直接使用依据步骤120计算得到的F
C相关特征。并将F
C对应的分类相关信息进行存储用于统计用户偏好壁纸。
如图17所示,为本公开应用实例的UI展示示意图,其中,用户在壁纸选择页面随意选择,例,选择图中的壁纸n-1,选中的壁纸将被实时的应用到系统中。同时,特征附加键与自定义特征键将被应用到相关的软件中。并将关联数据进行保存与同步。
如图18所示,所述方法还可可以包括:
步骤1800,按照壁纸的特征信息、内容信息和分类属性信息中的至少之一推荐壁纸。
其中,壁纸的特征信息来源于前述获取特征信息的步骤。此处可以采用壁纸的主色调。可以把主色调划分为几个类别,分别设置类别标签,
分类属性信息来源于壁纸资源的预设分类,可以从初始化的数据中获取。内容信息可以来源于预设,也可以来源于本地人工智能(Artificial Intelligence,AI)学习模型,可以采用已有的AI图片分类模型实现,此处不再赘述。
如图19所示,在一实施例中,步骤1800包括:
步骤1901,按照壁纸的主色调、内容信息和分类属性信息中的至少之一统计用户偏好信息;
其中,统计用户所使用的壁纸的分类属性信息、内容信息和主色调中每个分类的概率,获取概率最高的三个分类标签,进行缓存。
步骤1902,按照所述用户偏好信息调整预置的壁纸资源中壁纸的显示顺序,填充推荐位。
其中,可以设置推荐的优先级为:分类属性信息优先级最高,内容信息次之,主色调优先级最低。
如图20所示,在一实施例中,所述方法还包括:
步骤2000,确定从预置的壁纸资源中无法填满推荐位,则从服务器按照所述用户偏好信息获取壁纸资源,填充推荐位。
本公开实施例根据壁纸的特征信息与服务器进行交互,为用户推荐最符合用户使用习惯的壁纸资源,可以提升用户对美化资源的满意程度。
如图21所示,本公开应用实例的推荐过程包括:
步骤2101,按照壁纸的特征辅助键、内容信息和分类属性信息统计用户偏好信息;
将三个数据类型的数据进行单独处理,得出概率最高的三个偏好标签,并记录百分比。
针对特征辅助键,可以来源于调色板的分类,这部分可以参考辅助键获取部分。每张壁纸记录三个颜色信息。遍历所有数据获取均值前三位用来估算偏好类型。
针对壁纸分类属性信息,其标签为壁纸分类标签,来源于预设(下载的资源来源于下载类别),同样统计出现的前三个类别用于估算,并记录百分比。
针对壁纸内容信息,其标签为壁纸内容标签,同样统计出现的前三个类别用于估算,并记录百分比。
步骤2102,生成标签列表;
步骤2103,判断预置的壁纸资源中是否有标签列表对应的壁纸,如果是,则执行步骤2104;
针对三类数据,壁纸分类标签优先级最高,即此类别数据最为有效,所以在推荐过程中以此类型有优先级最高依次为壁纸内容。在服务器推荐类别内容多余推荐位时,将使用辅助键(主色调进行筛选)。
步骤2104,按照推荐标签调整预置的壁纸资源的显示顺序;
步骤2105,判断是否填满了推荐位,若是,则执行步骤2108,若否,则执 行步骤2106;
步骤2106,从服务器按照所述用户偏好信息获取壁纸资源;
步骤2107,判断是否填满推荐位,若是则执行步骤2108,若否,则执行步骤2102。
本应用实例中,通过预置资源的特征信息统计与用户应用壁纸信息的融合通过与服务器交互,为用户推荐符合用户偏好的壁纸资源。
如图22所示,本公开实施例还提供一种壁纸管理的装置,可以包括:
确定221,设置为确定待切换壁纸;
壁纸特征获取模块222,设置为获取待切换壁纸的特征信息;
特征信息对比模块223,设置为将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸;
特征信息应用模块224,设置为按照所述匹配的壁纸对应的特征信息进行壁纸切换。
在本公开实施例中,通过进行特征信息匹配,避免了由于应用内部的重重传递与外部设置壁纸接口引起异常,导致应用中记录的壁纸状态与系统中被设置的壁纸状态不一致的情况。
如图23所示,在一实施例中,本公开实施例的装置还可以包括:
特征信息初始化模块231,设置为获取壁纸资源中壁纸的特征信息,存入特征数据库中。
其中,所述特征数据库可以是存储在本地的数据库,也可以是存储在云端的数据库。
如图24所示,在一实施例中,本公开实施例的装置还可以包括:
壁纸推荐模块241,设置为按照壁纸的特征信息、内容信息和分类属性信息 中的至少之一推荐壁纸。
综上所述,本公开实施例通过在系统壁纸变化时完成壁纸特征的提取,并通过对特征的比对与确认过程,完成壁纸关联状态的设置与同步过程。无需不区分壁纸设置来源,使得桌面应用在多种来源设置壁纸时呈现的状态都符合预期一致。而且,本公开实施例可以通过对壁纸特征的提取与标签化完成与服务器之间的交互,为用户推荐符合用户壁纸设置习惯的壁纸资源。通过本公开实施例,使得终端产品的设计风格一致性,大幅度提升用户体验。
如图25所示,本公开实施例还提供一种移动终端,包括:存储器251、处理器252及存储在存储器251上并可在处理器上运行的计算机程序253,所述处理器252执行所述程序时实现上述壁纸管理的方法。
本公开实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述壁纸管理的方法。
在本实施例中,上述存储介质可以包括:通用串行总线闪存盘(Universal Serial Bus Flash Disk,U盘)、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等多种可以存储程序代码的介质。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由多个物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质 包括RAM、ROM、带电可擦可编程只读存储器(Electrically Erasable Programmable read only memory,EEPROM)、闪存或其他存储器技术、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Video Disc-Read Only Memory,DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括多种信息递送介质。
Claims (18)
- 一种壁纸管理的方法,包括:确定待切换壁纸;获取所述待切换壁纸的特征信息,将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸;按照所述匹配的壁纸对应的特征信息进行壁纸切换。
- 如权利要求1所述的方法,其中,所述确定待切换壁纸,包括:监听系统广播,获取所述待切换壁纸的标识;确定当前壁纸的标识与所述待切换壁纸的标识不一致,根据所述待切换壁纸的标识确定所述待切换壁纸。
- 如权利要求1所述的方法,其中,所述特征信息包括特征主键;所述获取所述待切换壁纸的特征信息,包括:将所述待切换壁纸的尺寸缩放成目标壁纸尺寸;确定缩放后待切换壁纸的特征主键。
- 如权利要求3所述的方法,其中,所述目标壁纸尺寸包括目标壁纸宽度;所述将所述壁纸资源中壁纸的尺寸缩放成目标壁纸尺寸,包括:根据所述目标壁纸宽度确定缩放比;按照所述缩放比对所述待切换壁纸进行缩放。
- 如权利要求4所述的方法,在所述根据所述目标壁纸宽度确定缩放比之前,还包括:根据宽度预设值和移动终端的宽度确定所述目标壁纸宽度。
- 如权利要求3所述的方法,其中,所述确定缩放后待切换壁纸的特征主键,包括:将所述缩放后待切换壁纸划分为多个区块;确定每个区块的灰度特征值;确定所述多个区块的灰度特征值的均值;将所述均值与每个区块的灰度特征值进行比较,确定所述特征主键。
- 如权利要求3所述的方法,其中,所述特征信息还包括特征辅助键,所述特征辅助键包括壁纸的主色调。
- 如权利要求7所述的方法,其中,所述获取待切换壁纸的特征信息,包括:获取所述缩放后待切换壁纸的调色板对象;分别计算所述调色板对象中红、绿、蓝三种颜色的均值,得到所述缩放后待切换壁纸的主色调。
- 如权利要求1所述的方法,其中,所述将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸,包括如下至少之一:将所述待切换壁纸的特征信息与所述特征数据库中壁纸的特征信息进行比对,确定比对的结果满足第一预设条件,将所述特征数据库中满足所述第一预设条件的壁纸作为与所述待切换壁纸匹配的壁纸;将所述待切换壁纸的特征信息与所述特征数据库中壁纸的特征信息进行比对,确定比对的结果满足第二预设条件,将所述特征数据库中满足所述第二预设条件的壁纸添加在备选列表中;确定在所述特征数据库中没有满足所述第一预设条件的壁纸,选择所述备选列表中满足第三预设条件的壁纸作为与所述待切换壁纸匹配的壁纸。
- 如权利要求9所述的方法,其中,所述特征信息包括特征主键和特征辅助键;所述第一预设条件包括:所述待切换壁纸的特征主键和所述特征数据库中壁纸的特征主键的距离差小于最小主键阈值,且所述待切换壁纸的特征辅助键和所述特征数据库中壁纸的特征辅助键的距离差小于最大辅助键阈值;所述第二预设条件包括:所述待切换壁纸的特征主键和所述特征数据库中壁纸的特征主键的距离差小于最大主键阈值;所述第三预设条件包括:在所述备选列表中,与所述待切换壁纸的特征主键的距离差最小,且与所述待切换壁纸的特征辅助键的距离差小于最小辅助键阈值;或者,在所述备选列表中,与所述待切换壁纸的特征主键的距离差最小,且与所述待切换壁纸的特征辅助键的距离差小于最大辅助键阈值,且与所述待切换壁纸的特征主键的距离差小于中间主键阈值。
- 如权利要求1所述的方法,在所述将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对之后,还包括:确定所述特征数据库中没有与所述待切换壁纸匹配的壁纸,按照所述待切换壁纸的特征信息进行壁纸切换。
- 如权利要求1所述的方法,其中,所述按照所述匹配的壁纸对应的特征信息进行壁纸切换,包括:按照所述匹配的壁纸对应的特征信息包含的特征附加键和自定义特征键中的至少之一进行壁纸切换,其中,所述自定义特征键的优先级高于所述特征附加键的优先级。
- 如权利要求1所述的方法,还包括:按照壁纸的特征信息、内容信息和分类属性信息中的至少之一推荐壁纸。
- 如权利要求13所述的方法,其中,所述按照壁纸的特征信息、内容信息和分类属性信息中的至少之一推荐壁纸,包括:按照壁纸的特征辅助键、内容信息和分类属性信息中的至少之一统计用户偏好信息;按照所述用户偏好信息调整预置的壁纸资源中壁纸的显示顺序,根据调整的顺序填充推荐位。
- 如权利要求14所述的方法,还包括:确定从预置的壁纸资源中无法填满推荐位,从服务器按照所述用户偏好信息获取壁纸资源,填充推荐位。
- 一种壁纸管理的装置,包括:确定模块,设置为确定待切换壁纸;壁纸特征获取模块,设置为获取所述待切换壁纸的特征信息;特征信息对比模块,设置为将所述待切换壁纸的特征信息与特征数据库中壁纸的特征信息进行比对,确定所述特征数据库中与所述待切换壁纸匹配的壁纸;特征信息应用模块,设置为按照所述匹配的壁纸对应的特征信息进行壁纸切换。
- 一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1~15中任意一项所述的方法。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~15中任意一项所述的方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/263,134 US11462002B2 (en) | 2018-07-25 | 2019-07-25 | Wallpaper management method, apparatus, mobile terminal, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810826480.5A CN109344273B (zh) | 2018-07-25 | 2018-07-25 | 一种壁纸管理的方法、装置和移动终端 |
CN201810826480.5 | 2018-07-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020020271A1 true WO2020020271A1 (zh) | 2020-01-30 |
Family
ID=65291359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/097630 WO2020020271A1 (zh) | 2018-07-25 | 2019-07-25 | 壁纸管理的方法、装置、移动终端和存储介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US11462002B2 (zh) |
CN (1) | CN109344273B (zh) |
WO (1) | WO2020020271A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111984164A (zh) * | 2020-08-31 | 2020-11-24 | Oppo广东移动通信有限公司 | 壁纸生成方法、装置、终端及存储介质 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109344273B (zh) * | 2018-07-25 | 2021-06-15 | 中兴通讯股份有限公司 | 一种壁纸管理的方法、装置和移动终端 |
CN110069315B (zh) * | 2019-04-29 | 2022-04-01 | 珠海豹好玩科技有限公司 | 壁纸推送方法和装置 |
CN112181264B (zh) * | 2019-07-03 | 2024-10-15 | 中兴通讯股份有限公司 | 一种手势识别方法和装置 |
CN112153449A (zh) * | 2020-08-19 | 2020-12-29 | 视联动力信息技术股份有限公司 | 一种屏保文件显示方法、装置、终端设备和存储介质 |
CN115904576B (zh) * | 2022-10-28 | 2024-07-12 | 荣耀终端有限公司 | 一种应用壁纸的方法、电子设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050071771A1 (en) * | 2003-09-30 | 2005-03-31 | Kabushiki Kaisha Toshiba | Menu displaying method and communication apparatus |
CN104657037A (zh) * | 2015-01-29 | 2015-05-27 | 深圳市金立通信设备有限公司 | 一种终端界面处理方法 |
CN105224162A (zh) * | 2014-06-12 | 2016-01-06 | 乐蛙科技(上海)有限公司 | 终端显示风格的匹配方法及系统 |
CN106339499A (zh) * | 2016-09-07 | 2017-01-18 | 珠海市魅族科技有限公司 | 一种主题模式推送方法及装置 |
CN106445297A (zh) * | 2016-09-27 | 2017-02-22 | 乐视控股(北京)有限公司 | 壁纸设置方法及装置 |
CN109344273A (zh) * | 2018-07-25 | 2019-02-15 | 中兴通讯股份有限公司 | 一种壁纸管理的方法、装置和移动终端 |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5170961B2 (ja) * | 2006-02-01 | 2013-03-27 | ソニー株式会社 | 画像処理システム、画像処理装置および方法、プログラム、並びに記録媒体 |
JP5358083B2 (ja) * | 2007-11-01 | 2013-12-04 | 株式会社日立製作所 | 人物画像検索装置及び画像検索装置 |
US8401342B2 (en) * | 2009-01-16 | 2013-03-19 | A9.Com, Inc. | System and method to match images using topologically equivalent correspondences |
US20130069962A1 (en) * | 2011-09-15 | 2013-03-21 | Microsoft Corporation | Active Lock Wallpapers |
CN102411477A (zh) * | 2011-11-16 | 2012-04-11 | 鸿富锦精密工业(深圳)有限公司 | 电子设备及其文本导读方法 |
CN103019766B (zh) * | 2012-11-15 | 2015-12-23 | 广东欧珀移动通信有限公司 | 一种基于Android设备的动态壁纸设置方法、装置及终端 |
CN103631580B (zh) | 2013-10-31 | 2017-05-24 | 小米科技有限责任公司 | 一种生成主题图标的方法和装置 |
US20150205498A1 (en) * | 2014-01-17 | 2015-07-23 | Southern Telecom Inc. | Automatic wallpaper image changer for a computing device |
CN106155454B (zh) * | 2015-03-30 | 2020-06-16 | 阿里巴巴集团控股有限公司 | 一种界面显示方法、装置及电子设备 |
CN106896995B (zh) * | 2015-12-21 | 2021-06-08 | 腾讯科技(深圳)有限公司 | 移动终端的壁纸配置方法和装置 |
CN105959403A (zh) * | 2016-06-21 | 2016-09-21 | 北京金山安全软件有限公司 | 一种壁纸的推荐方法、服务器及移动终端 |
KR20180031347A (ko) * | 2016-09-20 | 2018-03-28 | 엘지전자 주식회사 | 이동단말기 및 그 제어방법 |
US10671893B2 (en) * | 2016-12-05 | 2020-06-02 | Under Armour, Inc. | System and method for recipe to image associations |
US10453261B2 (en) * | 2016-12-13 | 2019-10-22 | Brillio LLC | Method and electronic device for managing mood signature of a user |
CN106851003A (zh) * | 2017-02-27 | 2017-06-13 | 努比亚技术有限公司 | 根据壁纸颜色调整文字颜色的方法及装置 |
CN107122097A (zh) | 2017-04-21 | 2017-09-01 | 维沃移动通信有限公司 | 一种移动终端壁纸的推荐方法及移动终端 |
CN107577485A (zh) * | 2017-09-12 | 2018-01-12 | 维沃移动通信有限公司 | 一种壁纸设置方法、装置和移动终端 |
US10860885B2 (en) * | 2017-11-16 | 2020-12-08 | Samsung Electronics Co., Ltd. | Method and system for management and operation over image in a computing system |
CN108090894B (zh) * | 2017-11-24 | 2020-09-08 | 浙江理工大学 | 基于距离匹配函数和感知哈希算法的织物疵点检测方法 |
-
2018
- 2018-07-25 CN CN201810826480.5A patent/CN109344273B/zh active Active
-
2019
- 2019-07-25 WO PCT/CN2019/097630 patent/WO2020020271A1/zh active Application Filing
- 2019-07-25 US US17/263,134 patent/US11462002B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050071771A1 (en) * | 2003-09-30 | 2005-03-31 | Kabushiki Kaisha Toshiba | Menu displaying method and communication apparatus |
CN105224162A (zh) * | 2014-06-12 | 2016-01-06 | 乐蛙科技(上海)有限公司 | 终端显示风格的匹配方法及系统 |
CN104657037A (zh) * | 2015-01-29 | 2015-05-27 | 深圳市金立通信设备有限公司 | 一种终端界面处理方法 |
CN106339499A (zh) * | 2016-09-07 | 2017-01-18 | 珠海市魅族科技有限公司 | 一种主题模式推送方法及装置 |
CN106445297A (zh) * | 2016-09-27 | 2017-02-22 | 乐视控股(北京)有限公司 | 壁纸设置方法及装置 |
CN109344273A (zh) * | 2018-07-25 | 2019-02-15 | 中兴通讯股份有限公司 | 一种壁纸管理的方法、装置和移动终端 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111984164A (zh) * | 2020-08-31 | 2020-11-24 | Oppo广东移动通信有限公司 | 壁纸生成方法、装置、终端及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN109344273B (zh) | 2021-06-15 |
CN109344273A (zh) | 2019-02-15 |
US20210271921A1 (en) | 2021-09-02 |
US11462002B2 (en) | 2022-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020020271A1 (zh) | 壁纸管理的方法、装置、移动终端和存储介质 | |
US11425454B2 (en) | Dynamic video overlays | |
CN110780873B (zh) | 界面颜色适配方法、装置、计算机设备及存储介质 | |
CN107222795B (zh) | 一种多特征融合的视频摘要生成方法 | |
CN112416346B (zh) | 界面配色方案的生成方法、装置、设备及存储介质 | |
CN108304839A (zh) | 一种图像数据处理方法以及装置 | |
CN107203312B (zh) | 移动终端及其图片的渲染方法、存储装置 | |
CN105279778A (zh) | 一种图片填色方法及终端 | |
US11269892B2 (en) | Ranking images based on image effects | |
CN110929063A (zh) | 相册生成方法、终端设备及计算机可读存储介质 | |
CN111383289A (zh) | 图像处理方法、装置、终端设备及计算机可读存储介质 | |
CN113345038B (zh) | 刺绣图像的处理方法、装置、电子设备及存储介质 | |
CN113127058B (zh) | 数据标注方法、相关装置及计算机程序产品 | |
CN109712216B (zh) | 图表渲染方法、装置、可读存储介质及电子设备 | |
CN112749660A (zh) | 一种视频内容描述信息的生成方法和设备 | |
CN110674720A (zh) | 图片识别方法、装置、电子设备及存储介质 | |
KR102310386B1 (ko) | 영상 콘텐츠의 코너 구분 장치 및 그 제어방법 | |
CN110751653B (zh) | 一种幻灯片中的图片处理方法和装置 | |
CN118053002A (zh) | 图像处理方法及装置 | |
CN117666892A (zh) | 图像处理方法、装置、电子设备和存储介质 | |
CN113343832A (zh) | 视频封面判别方法、装置、设备及计算机可读介质 | |
CN116310488A (zh) | 一种图像标注系统、方法、电子设备和存储介质 | |
CN116775196A (zh) | 显示图片的生成方法和显示图片的显示方法 | |
CN117459748A (zh) | 直播展示方法、装置、电子设备及计算机可读存储介质 | |
CN112767241A (zh) | 图像处理方法及其装置 |
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: 19839805 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 09/06/2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19839805 Country of ref document: EP Kind code of ref document: A1 |