CN113393372A - Desktop wallpaper setting method and device - Google Patents

Desktop wallpaper setting method and device Download PDF

Info

Publication number
CN113393372A
CN113393372A CN202110752998.0A CN202110752998A CN113393372A CN 113393372 A CN113393372 A CN 113393372A CN 202110752998 A CN202110752998 A CN 202110752998A CN 113393372 A CN113393372 A CN 113393372A
Authority
CN
China
Prior art keywords
wallpaper
sub
input
area
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110752998.0A
Other languages
Chinese (zh)
Inventor
刘朝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110752998.0A priority Critical patent/CN113393372A/en
Publication of CN113393372A publication Critical patent/CN113393372A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • G06T3/053Detail-in-context presentations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a desktop wallpaper setting method and device, which belong to the technical field of communication, and the method comprises the following steps: receiving a first input; determining the number N of screens contained in the desktop in response to the first input, wherein N is a positive integer; dividing the wallpaper into N display sub-regions, wherein each display sub-region corresponds to one screen; receiving a second input; in response to the second input, determining a corresponding wallpaper in the display sub-area; and respectively setting the corresponding wallpaper in each display sub-area as the desktop wallpaper of the screen.

Description

Desktop wallpaper setting method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a desktop wallpaper setting method and device.
Background
The desktop wallpaper is a background image used by a desktop of the electronic device, and the size of the desktop wallpaper can be adaptively adjusted according to the size of a screen of the electronic device. The desktop wallpaper enables a display picture of a screen of the electronic equipment to look more beautiful and more personalized.
When desktop wallpaper of electronic equipment is set at present, only a single image is set as the desktop wallpaper, and the desktop wallpaper is single. Moreover, since a single image is used as the wallpaper of the entire desktop, in the case that multiple screens are included in the desktop, when the user slides a certain screen in the desktop, the slid screen may cut off the wallpaper of the desktop, for example: the desktop wallpaper is a group photo, and the head portrait of a person in the desktop wallpaper can be cut off in the screen sliding process, so that the display effect of the desktop wallpaper is influenced.
Disclosure of Invention
The embodiment of the application aims to provide a desktop wallpaper setting method and device, and the problems that desktop wallpaper is single and the desktop wallpaper is cut off by a sliding screen in the prior art can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a desktop wallpaper setting method, where the method includes: receiving a first input; determining the number N of screens contained in the desktop in response to the first input, wherein N is a positive integer; dividing the wallpaper into N display sub-regions, wherein each display sub-region corresponds to one screen; receiving a second input; in response to the second input, determining a corresponding wallpaper in the display sub-area; and respectively setting the corresponding wallpaper in each display sub-area as the desktop wallpaper of the screen.
In a second aspect, an embodiment of the present application provides a desktop wallpaper setting device, where the device includes: the first receiving module is used for receiving a first input; the first determining module is used for responding to the first input and determining the number N of screens contained in the desktop, wherein N is a positive integer; the wallpaper dividing module is used for dividing the wallpaper into N display sub-areas, wherein each display sub-area corresponds to one screen; the second receiving module is used for receiving a second input; a second determining module for determining corresponding wallpaper in the display sub-area in response to the second input; and the setting module is used for respectively setting the corresponding wallpaper in each display sub-area as the desktop wallpaper of the screen.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the number N of screens contained in the desktop is determined by responding to the first input; dividing the wallpaper into N display sub-regions and then displaying the N display sub-regions; responding to the second input, and determining wallpaper corresponding to each display subarea; the corresponding wallpaper in each display sub-area is set as the desktop wallpaper of the corresponding screen, on one hand, the desktop wallpaper can be set for each screen contained in the desktop, and the desktop wallpaper in each screen can be different, so that the desktop wallpaper can be diversified; on the other hand, because the desktop wallpaper is respectively arranged for each screen in the desktop, the desktop wallpaper can not be cut off by the screen in the desktop in the sliding process.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart illustrating steps of a desktop wallpaper setting method according to an embodiment of the application;
FIG. 2 is a schematic diagram of an electronic device desktop according to an embodiment of the present application;
FIG. 3 is a block diagram illustrating a desktop wallpaper setting device according to an embodiment of the present application;
fig. 4 is a block diagram showing a configuration of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The desktop wallpaper setting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of a desktop wallpaper setting method according to an embodiment of the present application is shown.
The desktop wallpaper setting method in the embodiment of the application comprises the following steps:
step 101: the electronic device receives a first input.
The first input may be a desktop wallpaper setting instruction triggered by a user, and the electronic device starts a desktop wallpaper setting process when receiving the desktop wallpaper setting instruction. The user can input the desktop wallpaper setting instruction by any one of the following modes: the first method is as follows: a desktop wallpaper preset in the touch electronic equipment is provided with an inlet; the second method comprises the following steps: when the image is browsed in the photo album, a desktop wallpaper setting instruction can be generated through preset operation.
Step 102: the electronic device determines a number N of screens contained in the desktop in response to the first input.
Wherein N is a positive integer.
The number of screens contained in the current desktop of the electronic device refers to the number of pages occupied by the desktop icons tiled on the desktop. For example: n is 3, if the desktop is a horizontal sliding switching screen, the screen can be switched to the tail of the desktop only by horizontally sliding for 3 times; if the desktop is a vertical direction switching screen, the screen needs to be vertically slid 3 times to be switched to the end of the desktop.
Step 103: the electronic device divides the wallpaper into N display sub-regions.
In the embodiment of the application, the wallpaper is added and adjusted in the display sub-area, so that the desktop wallpaper corresponding to the screen is set.
Step 104: the electronic device receives a second input.
The second input is used for setting the corresponding wallpaper in each display sub-area, and the second input may include but is not limited to: and (5) wallpaper adding operation.
Step 105: the electronic equipment responds to the second input, and the corresponding wallpaper in each display sub-area is determined respectively.
Each display sub-region in the N display sub-regions is independent, each display sub-region is equivalent to a canvas window, and adding wallpaper to the display sub-regions is equivalent to drawing desktop wallpaper of a screen corresponding to the display sub-regions on the canvas window. The number of the corresponding wallpaper in the display sub-area can be the same or different, and the wallpaper image corresponding to each display sub-area can be selected by a user according to actual requirements. Two possible input modes are listed as follows by taking the second input as an example of the wallpaper adding operation:
the first method is as follows: for a single display sub-area, if the wallpaper finally added to the display sub-area is an image, the wallpaper addition control displayed in the display sub-area can be touched, and then the target wallpaper is directly dragged to the display sub-area to complete the addition. The second method comprises the following steps: for a single display sub-region, if the wallpaper finally added to the display sub-region is a plurality of images, the images need to be spliced. Specifically, after a wallpaper adding control displayed in the display sub-area is touched and a piece of target wallpaper is dragged to the display sub-area, the target wallpaper can be rotated, reduced and the like to complete the addition of the piece of target wallpaper, the target wallpaper can be added into the display sub-area one by repeatedly executing the above-mentioned process, and finally, the splicing of multiple pieces of target wallpaper is completed in the display sub-area, so that the purpose of adding multiple pieces of picture wallpaper in the same display sub-area is achieved.
It should be noted that, the foregoing only lists two specific implementations of the second input, and the practical implementation process is not limited to this, and the specific operations included in the second input can be flexibly set by those skilled in the art according to practical needs.
Step 106: the electronic equipment sets the wallpaper corresponding to each display sub-area as the desktop wallpaper of the screen.
After the desktop wallpaper of the screen is set, the user can modify the desktop wallpaper of a certain screen independently or only modify the wallpaper in a certain area of a certain screen.
According to the desktop wallpaper setting method provided by the embodiment of the application, the number N of screens contained in a desktop is determined by responding to a first input; dividing the wallpaper into N display sub-regions and then displaying the N display sub-regions; responding to the second input, and determining wallpaper corresponding to each display subarea; the corresponding wallpaper in each display sub-area is set as the desktop wallpaper of the corresponding screen, on one hand, the desktop wallpaper can be set for each screen contained in the desktop, and the desktop wallpaper in each screen can be different, so that the desktop wallpaper can be diversified; on the other hand, because the desktop wallpaper is respectively arranged for each screen in the desktop, the desktop wallpaper can not be cut off by the screen in the desktop in the sliding process.
In an alternative embodiment, the process of the electronic device determining the corresponding wallpaper in each display sub-area in response to the second input comprises the sub-steps of:
the first substep: a third input is received.
Wherein, the third input may be an operation of a keyword input by the user in the first sub-area. The first sub-area is any one display sub-area in the wallpaper.
And a second substep: in response to the third input, a keyword is displayed in the first sub-area. And a third substep: a fourth input is received.
The fourth input may be a touch input to add a control to the wallpaper contained in the sub-region.
As shown in FIG. 2, desktop wallpaper is a blank canvas by default, the canvas is divided into N widgets 201, i.e., display sub-areas, each of which displays a "+" sign, and each of the widgets can be set with wallpaper by the "+" sign. Wherein, the dashed lines of the wallpaper addition controls 203 and 202 are used to indicate the small windows which are not shown.
The fourth input may include, but is not limited to: and adding single click, double click or long press operation of the control to the wallpaper, and the like.
And a fourth substep: in response to a fourth input, displaying a first wallpaper matching the keyword.
And displaying the first wallpaper matched with the keyword for the user to select and add. When the first wallpaper is displayed, the first wallpaper can be displayed in a squared figure form or in an image list form. If the electronic equipment is double-screen, each display sub-area can be displayed in the first screen, and the first wallpaper can be displayed in the second screen.
For example: and if the keyword input by the user in the first sub-area is 'baby', the displayed first wallpaper is an image related to 'baby'. According to the method for screening the first wallpaper through the keywords, a user can conveniently and quickly find the target wallpaper.
In this optional embodiment, the first wallpaper is screened by using the keyword only as an example, and in an actual implementation process, the first wallpaper is not limited to this, and the first wallpaper may also be screened according to the content displayed in the screen corresponding to the first sub-area. For example: the content displayed in the screen corresponding to the first sub-area is related to travel, the attribute of the content is travel, and the screened first wallpaper can be related to travel images.
And a fifth substep: a fifth input is received.
And the fifth input is used for triggering the system to add target wallpaper into the first sub-area, the first wallpaper comprises the target wallpaper, and the number of the target wallpaper is more than or equal to 1.
The fifth input may include, but is not limited to: and sequentially selecting each target wallpaper and dragging each target wallpaper to the first sub-area.
And a sixth substep: in response to a fifth input, adding the target wallpaper into the first sub-area.
If only one target wallpaper is added into the first sub-area, the target wallpaper is directly dragged into the first sub-area. If the desktop wallpaper in the first sub-area needs to be formed by splicing a plurality of images, namely a plurality of target wallpapers need to be added in the first sub-area, the target wallpapers can be sequentially dragged into the first sub-area, and after one target wallpaper is dragged into the first sub-area, the added target wallpaper can be rotated, reduced or enlarged.
In an actual implementation process, after the user finishes setting the target wallpaper in the first sub-region, the keyword input into the first sub-region may be automatically erased, and the keyword is set as an attribute corresponding to the first sub-region.
And a seventh substep: and displaying the target wallpaper in the first sub-area.
The first to seventh substeps are a procedure for adding the target wallpaper to the first sub-area, and in the actual implementation process, the procedure can be repeatedly executed to add the target wallpaper to each display sub-area.
The optional mode of adding the target wallpaper image into the first sub-area is convenient for a user to quickly find the target wallpaper, and the adding efficiency is improved.
In an optional embodiment, after the target wallpaper is displayed in the first sub-area, the following wallpaper fast adding flow may also be performed:
first, a sixth input is received.
And the sixth input is used for establishing an association relationship between the first sub-area and the second sub-area, and the second sub-area is any other display sub-area except the first sub-area in the wallpaper.
After the user selects the first sub-area, the system displays the identification of each display sub-area available for association, and correspondingly, the sixth input can be a combination of the selection operation on the first sub-area and the selection operation on the target identification. The sixth input may be a selection operation of the second sub-regions of the first sub-region in sequence, and the association relationship between the first sub-region and the second sub-regions may be established through the selection operation. The sixth input may also be an operation of establishing a connection line between the first sub-region and the second sub-region, and the association relationship between the first sub-region and the second sub-region may be established through the connection line. The sixth input may also be an operation of inputting a second sub-area identifier in the target wallpaper of the first sub-area, and through the operation, an association relationship between the first sub-area and the second sub-area corresponding to the input identifier may be established.
The number of the second sub-regions may be one or more, and in the embodiment of the present application, the specific number of the second sub-regions is not limited.
Secondly, in response to a sixth input, the target wallpaper displayed in the first sub-area is added to the second sub-area respectively.
In the optional embodiment, the displayed target wallpaper in the first sub-area is directly copied to other second sub-areas, so that the method is convenient and intelligent.
In an optional embodiment, after the target wallpaper is displayed in the first sub-area, the following target wallpaper management procedures may also be performed:
the first substep: and receiving a seventh input of a third wallpaper in the target wallpaper from the user in the case that the target wallpaper is multiple.
The seventh input may include, but is not limited to: single click, double click or long press operation on the third wallpaper, etc.
And a second substep: and responding to the seventh input, and displaying a plurality of controls and the wallpapers to be switched.
Each control corresponds to a wallpaper switching mode, and the wallpaper switching modes may include but are not limited to: and the polling interval is preset for playing the wallpaper, and the wallpapers are played in a video mode.
And a third substep: an eighth input is received.
The eighth input includes: and selecting operation of a user on the fourth wallpaper in each wallpaper to be switched, and combining the selected operation of the first control in the plurality of controls.
The selection operation for the fourth wallpaper may include, but is not limited to: single click, double click or long press operation on the fourth wallpaper, etc.
And a fourth substep: and responding to the eighth input, setting a desktop wallpaper area corresponding to the third wallpaper image and displaying the third wallpaper and the fourth wallpaper according to the switching mode indicated by the selected control.
In the optional embodiment, when the desktop wallpaper of the screen is formed by splicing a plurality of images, a single image can be replaced, so that the display of the desktop wallpaper of the screen is more flexible and diversified.
If the desktop wallpaper of the screen only contains a single image, the attribute of the desktop wallpaper of the screen can be determined when the desktop wallpaper is flexibly replaced, and the desktop wallpaper of the screen is replaced and displayed by the image with the same attribute. For example, if the desktop wallpaper of the first screen is an image of a "baby", when the desktop wallpaper of the screen is displayed in a replacement manner, the desktop wallpaper of the screen can be displayed in a replacement manner with an image of another "baby" in scenes such as the screen is slid to the screen or displayed after the screen is unlocked.
The optional mode of replacing and displaying the desktop wallpaper in the screen enables the display of the desktop wallpaper of the screen to be more flexible and diversified.
In an alternative embodiment, the manner of determining the corresponding wallpaper in each display sub-area in response to the second input may comprise the sub-steps of:
the first substep: a ninth input is received.
The ninth input may be a touch operation of adding a control to the wallpaper contained in any display sub-area.
And a second substep: in response to a ninth input, a plurality of fifth wallpapers are displayed.
The displayed wallpaper may be selected and determined according to the attribute of the content displayed in the screen corresponding to the display sub-region, or may be randomly selected.
And a third substep: a tenth input is received.
Wherein the tenth input is used to establish an association of the sixth wallpaper with the at least one display sub-region. The system displays the identifier of each display sub-region after receiving the selection operation of the fifth wallpaper, and correspondingly, the tenth input may be a combination of the selection operation of the fifth wallpaper and the selection operation of the displayed identifier. The tenth input may also be an operation to establish a connection between the fifth wallpaper and each display sub-region. The tenth input may also be an operation to enter an indication to display a sub-region in the fifth wallpaper. In this optional embodiment, the specific operation of the tenth input is not particularly limited.
And a fourth substep: in response to a tenth input, adding sixth wallpaper to the associated display sub-regions, respectively.
Wherein, the number of the sixth wallpaper can be one or more. After the addition is completed, the sixth wallpaper will be added to each display sub-region associated with the sixth wallpaper.
The mode of optionally adding the wallpaper to the display sub-region is convenient to operate and high in adding efficiency.
In an optional embodiment, after the wallpaper corresponding to each display sub-region is set as the desktop wallpaper of the screen, the following desktop wallpaper management procedures of the screen may be further included:
the method comprises the following steps: an eleventh input is received.
The eleventh input is used to select a target screen from the plurality of screens of the desktop and trigger the system to enter a modification mode for the target screen wall desktop wallpaper. The eleventh input may be set to: after the user slides the desktop to the target screen, the system is triggered to enter a desktop wallpaper modification mode of the target screen through long-time pressing, double clicking or single clicking and other operation instructions.
Step two: and responding to the eleventh input, displaying the desktop wallpaper of the target screen, the wallpaper subarea corresponding to the target screen and the foreground image of the target screen.
The foreground image comprises image information except the wallpaper in the target screen. The wallpaper subarea corresponding to the target screen is the background of the wallpaper, namely the canvas. The foreground image of the target screen is the image of controls such as desktop icons or pendants in the screen.
In the desktop wallpaper modification mode, if the desktop wallpaper of the target screen is a single image, the desktop wallpaper of the target screen is displayed on the first layer, the background of the wallpaper, namely the canvas, is displayed on the second layer, and the images of controls such as desktop icons/pendants and the like in the target screen are displayed on the third layer.
If the desktop wallpaper of the target screen contains a plurality of images, the images are overlaid one on top of another in the adding sequence to be displayed as a whole as a first layer, the background of the wallpaper, namely the canvas, is displayed on a second layer, and the images of controls such as desktop icons/pendants and the like in the target screen are displayed on a third layer.
Step four: a twelfth input is received.
The twelfth input is used to trigger the system to modify the desktop wallpaper of the target screen.
Step five: in response to the twelfth input, the desktop wallpaper of the target screen is modified.
Wherein, the modification of the desktop wallpaper comprises the following steps: at least one of delete, add, replace, and shape adjust.
The user can delete one or more images in the desktop wallpaper by sliding the images of the layers up, down, left and right. After a certain image is deleted, clicking the blank area corresponding to the deleted image in the canvas, and then resetting the image of the blank area, thereby completing the replacement of part of desktop wallpaper of the target screen. By adopting the mode, the deletion of part or all of desktop wallpaper can be realized.
The user adds the image to be added to any two layers of images by sliding the images of the layers up, down, left and right. After the image is added, the area corresponding to the added image is automatically divided in the canvas. By adopting the mode, the desktop wallpaper can be added. For example: the desktop wallpaper of the target screen is formed by splicing 4 images, the 4 images are arranged in two rows and two columns, and one image is added into the 2 nd image and the 3 rd image, so that 5 areas are divided from the canvas, and one image corresponds to each area. Specifically, 3 regions may be divided in the first row, 2 regions may be divided in the second row, and the region in the third column in the first row corresponds to the image added this time. It is also possible to divide 3 regions in the second row and 2 regions in the first row, so that the region in the first column of the second row corresponds to the image added this time.
Under the condition that the desktop wallpaper of the target screen is formed by splicing a plurality of images, after the desktop wallpaper is set, the shape, the splicing position and the like of each desktop wallpaper can be still adjusted by a user. Wherein the shape adjustment of the wallpaper may include but is not limited to: the image is subjected to processing such as enlargement, reduction, or clipping of an arbitrary shape.
The user can adjust the shape of the image by adjusting the position of the image in the desktop wallpaper. For example: image a is displayed in the first screen but the user wants to adjust the display range of image a up, but the space in the first screen is insufficient and only a smaller image B is displayed in a larger area in the second screen, so that the display positions of image a and image B can be switched.
The optional method for managing the desktop wallpaper of the screen is convenient for a user to flexibly adjust and set the desktop wallpaper of the set screen.
It should be noted that, in the desktop wallpaper setting method provided in the embodiment of the present application, the execution main body may be a desktop wallpaper setting device, or a control module in the desktop wallpaper setting device for executing the desktop wallpaper setting method. In the embodiment of the present application, a desktop wallpaper setting device is taken as an example to execute a desktop wallpaper setting method, and the desktop wallpaper setting device provided in the embodiment of the present application is described.
Fig. 3 is a block diagram of a desktop wallpaper setting device according to an embodiment of the present application.
The desktop wallpaper setting apparatus 300 shown in fig. 3 includes:
a first receiving module 301, configured to receive a first input;
a first determining module 302, configured to determine, in response to the first input, a number N of screens included in a desktop, where N is a positive integer;
a dividing module 303, configured to divide the wallpaper into N display sub-regions, where each display sub-region corresponds to one screen;
a second receiving module 304, configured to receive a second input;
a second determining module 305, configured to determine, in response to the second input, a corresponding wallpaper in the display sub-area;
a setting module 306, configured to set the wallpaper corresponding to each display sub-area as the desktop wallpaper of the screen.
Optionally, the second determining module includes: a first submodule for receiving a third input; the second sub-module is used for responding to the third input and displaying keywords in a first sub-area, wherein the first sub-area is any display sub-area in the wallpaper; a third sub-module for receiving a fourth input; a fourth sub-module for displaying a first wallpaper matching the keyword in response to the fourth input; a fifth submodule for receiving a fifth input; a sixth sub-module for adding a target wallpaper into the first sub-area in response to the fifth input; the first wallpaper comprises the target wallpaper, and the number of the target wallpapers is greater than or equal to 1; a seventh sub-module for displaying the target wallpaper in the first sub-area.
Optionally, the second determining module further includes: the eighth sub-module is configured to receive a sixth input after the seventh sub-module displays the target wallpaper in the first sub-region, where the sixth input is used to establish an association relationship between the first sub-region and a second sub-region, and the second sub-region is any other display sub-region except the first sub-region in the wallpaper; a ninth sub-module, configured to add the target wallpaper displayed in the first sub-area to the second sub-area in response to the sixth input, respectively.
Optionally, the second determining module further includes: a tenth sub-module, configured to receive, after the seventh sub-module displays the target wallpaper in the first sub-area, a seventh input of a user to a third wallpaper of the target wallpapers if there are multiple target wallpapers; an eleventh submodule, configured to respond to the seventh input, display a plurality of controls and wallpapers to be switched, where each control corresponds to a wallpaper switching manner; a twelfth submodule, configured to receive an eighth input; and the thirteenth sub-module is used for responding to the eighth input and displaying the third wallpaper and the fourth wallpaper according to the switching mode indicated by the control.
Optionally, the second determining module includes: a fourteenth sub-module for receiving a ninth input; a fifteenth sub-module for displaying a fifth plurality of wallpapers in response to the ninth input; a sixteenth sub-module, configured to receive a tenth input from the user, where the tenth input is used to establish an association relationship between a sixth wallpaper and at least one of the display sub-regions; a seventeenth sub-module for adding the sixth wallpaper to the associated display sub-regions, respectively, in response to the tenth input.
The desktop wallpaper setting device provided by the embodiment of the application determines the number N of screens contained in a desktop by responding to a first input; dividing the wallpaper into N display sub-regions and then displaying the N display sub-regions; responding to the second input, and determining wallpaper corresponding to each display subarea; the corresponding wallpaper in each display sub-area is set as the desktop wallpaper of the corresponding screen, on one hand, the desktop wallpaper can be set for each screen contained in the desktop, and the desktop wallpaper in each screen can be different, so that the desktop wallpaper can be diversified; on the other hand, because the desktop wallpaper is respectively arranged for each screen in the desktop, the desktop wallpaper can not be cut off by the screen in the desktop in the sliding process.
The desktop wallpaper setting device shown in fig. 3 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Network Attached Storage (NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The desktop wallpaper setting device shown in fig. 3 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The desktop wallpaper setting device shown in fig. 3 provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the above-mentioned desktop wallpaper setting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like. Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the user input unit 507 is configured to receive a first input;
a processor 510, configured to determine, in response to the first input, a number N of screens included in the desktop, where N is a positive integer; dividing the wallpaper into N display sub-regions, wherein each display sub-region corresponds to one screen;
a user input unit 507, further configured to receive a second input;
a processor 510, further configured to determine, in response to the second input, a corresponding wallpaper in the display sub-area; and respectively setting the corresponding wallpaper in each display sub-area as the desktop wallpaper of the screen.
According to the electronic equipment provided by the embodiment of the application, the number N of the screens contained in the desktop is determined by responding to the first input; dividing the wallpaper into N display sub-regions and then displaying the N display sub-regions; responding to the second input, and determining wallpaper corresponding to each display subarea; the corresponding wallpaper in each display sub-area is set as the desktop wallpaper of the corresponding screen, on one hand, the desktop wallpaper can be set for each screen contained in the desktop, and the desktop wallpaper in each screen can be different, so that the desktop wallpaper can be diversified; on the other hand, because the desktop wallpaper is respectively arranged for each screen in the desktop, the desktop wallpaper can not be cut off by the screen in the desktop in the sliding process.
Optionally, when the processor 510 determines, in response to the second input, the corresponding wallpaper in the display sub-area, specifically:
receiving a third input through the user input unit 507; displaying a keyword in a first sub-area in response to the third input, wherein the first sub-area is any one display sub-area in the wallpaper;
receiving a fourth input through the user input unit 507; displaying a first wallpaper matched with the keyword in response to the fourth input;
receiving a fifth input through the user input unit 507; in response to the fifth input, adding target wallpaper into the first sub-region; invoking a display unit 506 to display the target wallpaper within the first sub-region.
The first wallpaper comprises the target wallpaper, and the number of the target wallpapers is greater than or equal to 1;
optionally, the user input unit 507 is further configured to receive a sixth input after the display unit 506 displays the target wallpaper in the first sub-region, where the sixth input is used to establish an association relationship between the first sub-region and a second sub-region, and the second sub-region is any other display sub-region in the wallpaper except for the first sub-region;
processor 510, further configured to add the target wallpaper displayed in the first sub-area to the second sub-area respectively in response to the sixth input.
Optionally, the user input unit 507 is further configured to receive a seventh input of the user to a third wallpaper of the target wallpapers if the target wallpaper is multiple after the display unit 506 displays the target wallpaper in the first sub-region;
the display unit 506 is further configured to display, in response to the seventh input, a plurality of controls and wallpapers to be switched, where each control corresponds to a wallpaper switching manner;
a user input unit 507, further configured to receive an eighth input;
the processor 510 is further configured to invoke the display unit 506 to display the third wallpaper and the fourth wallpaper according to the switching manner indicated by the control in response to the eighth input.
Optionally, when the processor 510 determines, in response to a second input of the user, the wallpaper corresponding to each of the display sub-areas, specifically:
receiving a ninth input through the user input unit 507; invoking display unit 506 to display a plurality of fifth wallpapers in response to the ninth input;
receiving a tenth input through the user input unit 507, wherein the tenth input is used for establishing an association relationship between a sixth wallpaper and at least one of the display sub-regions; processor 510, further configured to add the sixth wallpaper to the associated display sub-areas, respectively, in response to the tenth input.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above desktop wallpaper setting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above desktop wallpaper setting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A desktop wallpaper setting method is characterized by comprising the following steps:
receiving a first input;
determining the number N of screens contained in the desktop in response to the first input, wherein N is a positive integer;
dividing the wallpaper into N display sub-regions, wherein each display sub-region corresponds to one screen;
receiving a second input;
in response to the second input, determining a corresponding wallpaper in the display sub-area;
and respectively setting the corresponding wallpaper in each display sub-area as the desktop wallpaper of the screen.
2. The method of claim 1, wherein the step of determining the corresponding wallpaper in the display sub-area in response to the second input comprises:
receiving a third input;
displaying a keyword in a first sub-area in response to the third input, wherein the first sub-area is any one display sub-area in the wallpaper;
receiving a fourth input;
displaying a first wallpaper matched with the keyword in response to the fourth input;
receiving a fifth input;
in response to the fifth input, adding target wallpaper into the first sub-region;
the first wallpaper comprises the target wallpaper, and the number of the target wallpapers is greater than or equal to 1;
and displaying the target wallpaper in the first sub-area.
3. The method as claimed in claim 2, wherein after the step of displaying the target wallpaper in the first sub-area, the method further comprises:
receiving a sixth input, wherein the sixth input is used for establishing an association relationship between the first sub-area and a second sub-area, and the second sub-area is any other display sub-area except the first sub-area in the wallpaper;
in response to the sixth input, adding the target wallpaper displayed in the first sub-area to the second sub-area, respectively.
4. The method of claim 2, wherein after the step of displaying the target wallpaper in the first sub-region, the method further comprises:
receiving a seventh input of a user to a third wallpaper in the target wallpapers under the condition that the target wallpapers are multiple;
responding to the seventh input, displaying a plurality of controls and wallpapers to be switched, wherein each control corresponds to a wallpaper switching mode;
receiving an eighth input;
and responding to the eighth input, and displaying the third wallpaper and the fourth wallpaper according to the switching mode indicated by the control.
5. The method of claim 1, wherein the step of determining the corresponding wallpaper in each of the display sub-regions in response to a second input comprises:
receiving a ninth input;
displaying a plurality of fifth wallpapers in response to the ninth input;
receiving a tenth input, wherein the tenth input is used for establishing an association relationship between sixth wallpaper and at least one display sub-region;
in response to the tenth input, adding the sixth wallpaper to the associated display sub-regions, respectively.
6. A desktop wallpaper setting device, the device comprising:
the first receiving module is used for receiving a first input;
the first determining module is used for responding to the first input and determining the number N of screens contained in the desktop, wherein N is a positive integer;
the wallpaper dividing module is used for dividing the wallpaper into N display sub-areas, wherein each display sub-area corresponds to one screen;
the second receiving module is used for receiving a second input;
a second determining module for determining corresponding wallpaper in the display sub-area in response to the second input;
and the setting module is used for respectively setting the corresponding wallpaper in each display sub-area as the desktop wallpaper of the screen.
7. The apparatus of claim 6, wherein the second determining module comprises:
a first submodule for receiving a third input;
the second sub-module is used for responding to the third input and displaying keywords in a first sub-area, wherein the first sub-area is any display sub-area in the wallpaper;
a third sub-module for receiving a fourth input;
a fourth sub-module for displaying a first wallpaper matching the keyword in response to the fourth input;
a fifth submodule for receiving a fifth input;
a sixth sub-module for adding a target wallpaper into the first sub-area in response to the fifth input;
the first wallpaper comprises the target wallpaper, and the number of the target wallpapers is greater than or equal to 1;
a seventh sub-module for displaying the target wallpaper in the first sub-area.
8. The apparatus of claim 7, wherein the second determining module further comprises:
the eighth sub-module is configured to receive a sixth input after the seventh sub-module displays the target wallpaper in the first sub-region, where the sixth input is used to establish an association relationship between the first sub-region and a second sub-region, and the second sub-region is any other display sub-region except the first sub-region in the wallpaper;
a ninth sub-module, configured to add the target wallpaper displayed in the first sub-area to the second sub-area in response to the sixth input, respectively.
9. The apparatus of claim 7, wherein the second determining module further comprises:
a tenth sub-module, configured to receive, after the seventh sub-module displays the target wallpaper in the first sub-area, a seventh input of a user to a third wallpaper of the target wallpapers if there are multiple target wallpapers;
an eleventh submodule, configured to respond to the seventh input, display a plurality of controls and wallpapers to be switched, where each control corresponds to a wallpaper switching manner;
a twelfth submodule, configured to receive an eighth input;
and the thirteenth sub-module is used for responding to the eighth input and displaying the third wallpaper and the fourth wallpaper according to the switching mode indicated by the control.
10. The apparatus of claim 6, wherein the second determining module comprises:
a fourteenth sub-module for receiving a ninth input;
a fifteenth sub-module for displaying a fifth plurality of wallpapers in response to the ninth input;
a sixteenth sub-module, configured to receive a tenth input from the user, where the tenth input is used to establish an association relationship between a sixth wallpaper and at least one of the display sub-regions;
a seventeenth sub-module for adding the sixth wallpaper to the associated display sub-regions, respectively, in response to the tenth input.
CN202110752998.0A 2021-07-02 2021-07-02 Desktop wallpaper setting method and device Pending CN113393372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110752998.0A CN113393372A (en) 2021-07-02 2021-07-02 Desktop wallpaper setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110752998.0A CN113393372A (en) 2021-07-02 2021-07-02 Desktop wallpaper setting method and device

Publications (1)

Publication Number Publication Date
CN113393372A true CN113393372A (en) 2021-09-14

Family

ID=77625072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110752998.0A Pending CN113393372A (en) 2021-07-02 2021-07-02 Desktop wallpaper setting method and device

Country Status (1)

Country Link
CN (1) CN113393372A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116684516A (en) * 2022-06-14 2023-09-01 荣耀终端有限公司 Wallpaper setting method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999380A (en) * 2012-12-20 2013-03-27 北京奇虎科技有限公司 Wallpaper control method and device
CN103150183A (en) * 2013-03-12 2013-06-12 惠州Tcl移动通信有限公司 Wallpaper background switching processing method of multi-desktop system and mobile intelligent equipment
CN105335041A (en) * 2014-08-05 2016-02-17 阿里巴巴集团控股有限公司 Method and apparatus for providing application icon
CN106547568A (en) * 2016-11-25 2017-03-29 广东小天才科技有限公司 A kind of wallpaper replacing options, server and intelligent terminal
CN109189281A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 Color adaptation method, terminal and the computer storage medium of wallpaper and icon
CN110764862A (en) * 2019-10-23 2020-02-07 珠海格力电器股份有限公司 Desktop wallpaper display method and device, terminal equipment and storage medium
CN110928619A (en) * 2019-10-31 2020-03-27 维沃移动通信有限公司 Wallpaper setting method and device, electronic equipment and medium
CN111414223A (en) * 2020-03-26 2020-07-14 西安极蜂天下信息科技有限公司 Desktop management method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999380A (en) * 2012-12-20 2013-03-27 北京奇虎科技有限公司 Wallpaper control method and device
CN103150183A (en) * 2013-03-12 2013-06-12 惠州Tcl移动通信有限公司 Wallpaper background switching processing method of multi-desktop system and mobile intelligent equipment
CN105335041A (en) * 2014-08-05 2016-02-17 阿里巴巴集团控股有限公司 Method and apparatus for providing application icon
CN106547568A (en) * 2016-11-25 2017-03-29 广东小天才科技有限公司 A kind of wallpaper replacing options, server and intelligent terminal
CN109189281A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 Color adaptation method, terminal and the computer storage medium of wallpaper and icon
CN110764862A (en) * 2019-10-23 2020-02-07 珠海格力电器股份有限公司 Desktop wallpaper display method and device, terminal equipment and storage medium
CN110928619A (en) * 2019-10-31 2020-03-27 维沃移动通信有限公司 Wallpaper setting method and device, electronic equipment and medium
CN111414223A (en) * 2020-03-26 2020-07-14 西安极蜂天下信息科技有限公司 Desktop management method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116684516A (en) * 2022-06-14 2023-09-01 荣耀终端有限公司 Wallpaper setting method and electronic equipment
CN116684516B (en) * 2022-06-14 2024-05-14 荣耀终端有限公司 Wallpaper setting method and electronic equipment

Similar Documents

Publication Publication Date Title
CN113093968B (en) Shooting interface display method and device, electronic equipment and medium
CN112181225A (en) Desktop element adjusting method and device and electronic equipment
CN106919301B (en) Wallpaper preview method and system and wallpaper replacement method and system
CN112148170B (en) Desktop element adjusting method and device and electronic equipment
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
WO2023061280A1 (en) Application program display method and apparatus, and electronic device
CN113010063A (en) File preview method and device, electronic equipment and storage medium
CN112911147B (en) Display control method, display control device and electronic equipment
CN103513969A (en) Establishment method, device and terminal of application program entry
CN112558831A (en) Desktop sorting method and device and electronic equipment
WO2023116678A1 (en) Desktop display method and apparatus, electronic device, and medium
WO2023030115A1 (en) Interface display method and apparatus
CN112148405A (en) Desktop layout method and device and electronic equipment
CN112148167A (en) Control setting method and device and electronic equipment
CN113986076A (en) Icon display control method and device, electronic equipment and storage medium
CN114116098B (en) Application icon management method and device, electronic equipment and storage medium
CN113835577A (en) Display method, display device, electronic equipment and storage medium
CN111796746B (en) Volume adjusting method, volume adjusting device and electronic equipment
CN113703630A (en) Interface display method and device
CN113703623A (en) Program icon display method, device, electronic equipment and medium
CN113393372A (en) Desktop wallpaper setting method and device
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
CN112162805B (en) Screenshot method and device and electronic equipment
CN115550741A (en) Video management method and device, electronic equipment and readable storage medium
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210914