[go: up one dir, main page]

CN106919301B - Wallpaper preview method and system and wallpaper replacement method and system - Google Patents

Wallpaper preview method and system and wallpaper replacement method and system Download PDF

Info

Publication number
CN106919301B
CN106919301B CN201511003949.8A CN201511003949A CN106919301B CN 106919301 B CN106919301 B CN 106919301B CN 201511003949 A CN201511003949 A CN 201511003949A CN 106919301 B CN106919301 B CN 106919301B
Authority
CN
China
Prior art keywords
wallpaper
view
mobile terminal
sliding
desktop
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.)
Expired - Fee Related
Application number
CN201511003949.8A
Other languages
Chinese (zh)
Other versions
CN106919301A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201511003949.8A priority Critical patent/CN106919301B/en
Publication of CN106919301A publication Critical patent/CN106919301A/en
Application granted granted Critical
Publication of CN106919301B publication Critical patent/CN106919301B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

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

Abstract

The invention discloses a wallpaper previewing method and system and a wallpaper replacing method and system, wherein the wallpaper previewing method comprises the following steps: controlling the mobile terminal to enter a wallpaper selection mode, and displaying a wallpaper preview thumbnail layout in a current display desktop of the mobile terminal; the wallpaper preview thumbnail layout comprises a wallpaper sliding view and/or a wallpaper rolling view, and the wallpaper sliding view is positioned on the upper layer of the current display desktop and is a transparent view; and selecting a target wallpaper from the mobile terminal according to the rolling of the wallpaper rolling view or the sliding of the wallpaper sliding view, and displaying the target wallpaper on the current display desktop to form a wallpaper preview view. It does not need to open a new layout in addition, so the application icons on the currently displayed desktop are all displayed simultaneously with the target wallpaper. Finally, the problem that the application icon and the wallpaper of the current desktop cannot be displayed simultaneously in the traditional wallpaper replacing process is effectively solved.

Description

壁纸预览方法和系统以及壁纸更换方法和系统Wallpaper preview method and system and wallpaper replacement method and system

技术领域technical field

本发明涉及移动终端显示技术领域,特别是涉及一种壁纸预览方法和系统以及壁纸更换方法和系统。The present invention relates to the technical field of mobile terminal display, in particular to a method and system for previewing wallpaper and a method and system for replacing wallpaper.

背景技术Background technique

随着信息技术的发展,移动终端,如:手机,已经成为人们日常生活中不可或缺的电子设备。移动终端通常都提供了一系列的显示桌面壁纸替换功能,用户可以从手机内置图片中选择自己喜欢的图片设置为壁纸,并可以对其进行修改。目前,对移动终端的壁纸进行更换时,一般都通过壁纸预览来展现用户所选中的壁纸显示效果。而在传统的壁纸切换过程中,对选中的壁纸进行预览时,通常都是打开一个新的布局来展示显示效果。其不能实现当前桌面的应用图标与壁纸同时展示,这就使得用户不能直观的看到壁纸应用到当前桌面时的实际显示效果。With the development of information technology, mobile terminals, such as mobile phones, have become indispensable electronic devices in people's daily life. The mobile terminal usually provides a series of functions for replacing the displayed desktop wallpaper, and the user can select a picture he likes from the built-in pictures in the mobile phone to set it as the wallpaper, and can modify it. At present, when the wallpaper of the mobile terminal is replaced, the wallpaper preview is generally used to display the display effect of the wallpaper selected by the user. In the traditional wallpaper switching process, when previewing the selected wallpaper, a new layout is usually opened to display the display effect. It cannot realize the simultaneous display of the application icon and the wallpaper of the current desktop, which makes it impossible for the user to intuitively see the actual display effect when the wallpaper is applied to the current desktop.

发明内容SUMMARY OF THE INVENTION

基于此,有必要针对传统的壁纸更换过程中不能实现当前桌面的应用图标与壁纸同时展现的问题,提供一种壁纸预览方法和系统以及壁纸更换方法和系统。Based on this, it is necessary to provide a wallpaper preview method and system and a wallpaper replacement method and system in order to solve the problem that the application icon of the current desktop and the wallpaper cannot be displayed at the same time in the traditional wallpaper replacement process.

为实现本发明目的提供的一种壁纸预览方法,包括如下步骤:A kind of wallpaper preview method provided for realizing the purpose of the present invention, comprises the following steps:

控制移动终端进入壁纸选择模式,并在所述移动终端的当前显示桌面中显示壁纸预览缩略图布局;其中,壁纸预览缩略图布局包括壁纸滑动视图和/或壁纸滚动视图,且所述壁纸滑动视图位于所述当前显示桌面的上层,为透明视图;Controlling the mobile terminal to enter the wallpaper selection mode, and displaying the wallpaper preview thumbnail layout in the currently displayed desktop of the mobile terminal; wherein the wallpaper preview thumbnail layout includes a wallpaper sliding view and/or a wallpaper scrolling view, and the wallpaper sliding view It is located on the upper layer of the currently displayed desktop and is a transparent view;

根据所述壁纸滚动视图的滚动或所述壁纸滑动视图的滑动由所述移动终端中选择目标壁纸,并在所述当前显示桌面显示所述目标壁纸,形成壁纸预览视图。According to the scrolling of the wallpaper scroll view or the sliding of the wallpaper sliding view, a target wallpaper is selected from the mobile terminal, and the target wallpaper is displayed on the currently displayed desktop to form a wallpaper preview view.

在其中一个实施例中,还包括如下步骤:In one embodiment, the following steps are also included:

在所述当前显示桌面显示所述目标壁纸,形成所述壁纸预览视图时,隐藏所述壁纸滚动视图。When the target wallpaper is displayed on the currently displayed desktop to form the wallpaper preview view, the wallpaper scroll view is hidden.

在其中一个实施例中,控制所述移动终端进入所述壁纸选择模式,包括如下步骤:In one of the embodiments, controlling the mobile terminal to enter the wallpaper selection mode includes the following steps:

切换所述移动终端的桌面状态,控制所述移动终端进入所述壁纸选择模式;switching the desktop state of the mobile terminal, and controlling the mobile terminal to enter the wallpaper selection mode;

其中,所述移动终端的桌面状态至少包括壁纸状态;且Wherein, the desktop state of the mobile terminal includes at least a wallpaper state; and

所述壁纸状态对应所述壁纸预览缩略图布局的显示状态。The wallpaper state corresponds to the display state of the wallpaper preview thumbnail layout.

在其中一个实施例中,所述在所述移动终端的当前显示桌面中显示壁纸预览缩略图布局通过:In one of the embodiments, the display of the wallpaper preview thumbnail layout in the currently displayed desktop of the mobile terminal is performed by:

在所述移动终端的桌面布局中直接添加所述壁纸预览缩略图布局,并设置所述壁纸预览缩略图布局在所述移动终端进入所述壁纸选择模式时显示,在所述移动终端退出所述壁纸选择模式时隐藏实现;或,The wallpaper preview thumbnail layout is directly added to the desktop layout of the mobile terminal, and the wallpaper preview thumbnail layout is set to be displayed when the mobile terminal enters the wallpaper selection mode, and when the mobile terminal exits the Hide implementation when wallpaper selection mode; or,

通过将所述移动终端中预设的壁纸选择方案中的壁纸裁剪视图替换为所述移动终端的桌面布局,并在所述桌面布局中添加所述壁纸预览缩略图布局。By replacing the wallpaper cropped view in the preset wallpaper selection scheme in the mobile terminal with the desktop layout of the mobile terminal, and adding the wallpaper preview thumbnail layout to the desktop layout.

在其中一个实施例中,根据所述壁纸滚动视图的滚动由所述移动终端中预存的壁纸动态数组中选择目标壁纸;In one embodiment, a target wallpaper is selected from a dynamic array of wallpapers pre-stored in the mobile terminal according to the scrolling of the wallpaper scroll view;

且,根据所述壁纸滚动视图的滚动由所述壁纸动态数组中选择目标壁纸通过:And, according to the scrolling of the wallpaper scroll view, the target wallpaper is selected from the wallpaper dynamic array through:

对所述壁纸滚动视图中的各个壁纸建立相对应的第一点击监听函数实现。A corresponding first click monitoring function is established for each wallpaper in the wallpaper scroll view.

在其中一个实施例中,根据所述壁纸滚动视图的滑动由所述移动终端预存的壁纸动态数组中选择目标壁纸;In one of the embodiments, a target wallpaper is selected from a dynamic array of wallpapers pre-stored by the mobile terminal according to the sliding of the wallpaper scroll view;

且,根据所述壁纸滚动视图的滑动由所述壁纸动态数组中选择目标壁纸,包括如下步骤:And, selecting a target wallpaper from the wallpaper dynamic array according to the sliding of the wallpaper scroll view includes the following steps:

根据所述壁纸滑动视图的滑动次数、滑动方向和初始壁纸位置,确定当前显示预览的壁纸对应的壁纸序列号;Determine the wallpaper serial number corresponding to the currently displayed preview wallpaper according to the sliding times, the sliding direction and the initial wallpaper position of the wallpaper sliding view;

根据确定的所述壁纸序列号,由预存的所述壁纸动态数组中选择相应的壁纸作为所述目标壁纸。According to the determined wallpaper serial number, a corresponding wallpaper is selected from the pre-stored dynamic array of wallpapers as the target wallpaper.

在其中一个实施例中,所述根据所述壁纸滑动视图的滑动次数、滑动方向和初始壁纸位置,确定当前显示预览的壁纸对应的壁纸序列号,包括如下步骤:In one embodiment, determining the wallpaper serial number corresponding to the currently displayed preview wallpaper according to the sliding times, sliding direction and initial wallpaper position of the wallpaper sliding view includes the following steps:

当所述移动终端进入所述壁纸选择模式时,初始化所述壁纸序列号;When the mobile terminal enters the wallpaper selection mode, initialize the wallpaper serial number;

根据所述壁纸滑动视图的滑动次数和滑动方向,当所述壁纸滑动视图每向右滑动一次时,所述壁纸序列号自增一次直至增加到预设最大值;当所述壁纸滑动视图每向左滑动一次时,所述壁纸序列号自减一次直至减为预设最小值。According to the sliding number and sliding direction of the wallpaper sliding view, when the wallpaper sliding view slides to the right every time, the wallpaper serial number is automatically incremented once until it increases to the preset maximum value; When swiping left once, the wallpaper serial number is decremented once until it is reduced to the preset minimum value.

在其中一个实施例中,初始化所述壁纸序列号时,还包括:根据第三方壁纸的添加及删除,增大或减小所述移动终端进入所述壁纸选择模块时的初始壁纸对应的初始壁纸序列号,同时保存修改后的所述初始壁纸序列号的步骤。In one embodiment, when initializing the wallpaper serial number, it further includes: according to the addition and deletion of third-party wallpapers, increasing or decreasing the initial wallpaper corresponding to the initial wallpaper when the mobile terminal enters the wallpaper selection module serial number, while saving the modified serial number of the initial wallpaper.

在其中一个实施例中,所述壁纸动态数组包括URI壁纸类型、文件壁纸类型、默认壁纸类型和动态壁纸类型中的至少一种。In one embodiment, the wallpaper dynamic array includes at least one of a URI wallpaper type, a file wallpaper type, a default wallpaper type, and a dynamic wallpaper type.

相应的,本发明还提供了一种壁纸预览系统,包括第一模式控制模块、第一布局显示模块、第一壁纸选择模块和第一显示预览模块;Correspondingly, the present invention also provides a wallpaper preview system, comprising a first mode control module, a first layout display module, a first wallpaper selection module and a first display preview module;

所述第一模式控制模块,被配置为控制移动终端进入壁纸选择模式;The first mode control module is configured to control the mobile terminal to enter the wallpaper selection mode;

所述第一布局显示模块,被配置为在所述移动终端的当前显示桌面中显示壁纸预览缩略图布局;其中,壁纸预览缩略图布局包括壁纸滑动视图和/或壁纸滚动视图,且所述壁纸滑动视图位于所述当前显示桌面的上层,为透明视图;The first layout display module is configured to display a wallpaper preview thumbnail layout in the currently displayed desktop of the mobile terminal; wherein, the wallpaper preview thumbnail layout includes a wallpaper sliding view and/or a wallpaper scrolling view, and the wallpaper The sliding view is located on the upper layer of the currently displayed desktop and is a transparent view;

所述第一壁纸选择模块,被配置为根据所述壁纸滚动视图的滚动或所述壁纸滑动视图的滑动由所述移动终端中选择目标壁纸;The first wallpaper selection module is configured to select a target wallpaper from the mobile terminal according to the scrolling of the wallpaper scrolling view or the sliding of the wallpaper sliding view;

所述第一显示预览模块,被配置为在所述当前显示桌面显示所述目标壁纸,形成壁纸预览视图。The first display preview module is configured to display the target wallpaper on the currently displayed desktop to form a wallpaper preview view.

在其中一个实施例中,所述第一显示预览模块,还被配置为在所述当前显示桌面显示所述目标壁纸,形成所述壁纸预览视图时,隐藏所述壁纸滚动视图。In one embodiment, the first display preview module is further configured to hide the wallpaper scroll view when the target wallpaper is displayed on the currently displayed desktop to form the wallpaper preview view.

在其中一个实施例中,所述第一模式控制模块包括状态切换单元;In one of the embodiments, the first mode control module includes a state switching unit;

所述状态切换单元,被配置为切换所述移动终端的桌面状态,控制所述移动终端进入所述壁纸选择模式;The state switching unit is configured to switch the desktop state of the mobile terminal, and control the mobile terminal to enter the wallpaper selection mode;

其中,所述移动终端的桌面状态至少包括壁纸状态;且Wherein, the desktop state of the mobile terminal includes at least a wallpaper state; and

所述壁纸状态对应所述壁纸预览缩略图布局的显示状态。The wallpaper state corresponds to the display state of the wallpaper preview thumbnail layout.

在其中一个实施例中,还包括添加模块和/或替换模块;其中In one of the embodiments, additional modules and/or replacement modules are also included; wherein

所述添加模块,被配置为在所述移动终端的桌面布局中直接添加所述壁纸预览缩略图布局,并设置所述壁纸预览缩略图布局在所述移动终端进入所述壁纸选择模式时显示,在所述移动终端退出所述壁纸选择模式时隐藏;The adding module is configured to directly add the wallpaper preview thumbnail layout to the desktop layout of the mobile terminal, and set the wallpaper preview thumbnail layout to be displayed when the mobile terminal enters the wallpaper selection mode, Hide when the mobile terminal exits the wallpaper selection mode;

所述替换模块,被配置为将所述移动终端中预设的壁纸选择方案中的壁纸裁剪视图替换为所述移动终端的桌面布局,并在所述桌面布局中添加所述壁纸预览缩略图布局。The replacement module is configured to replace the wallpaper cropped view in the preset wallpaper selection scheme in the mobile terminal with the desktop layout of the mobile terminal, and add the wallpaper preview thumbnail layout to the desktop layout .

在其中一个实施例中,所述第一壁纸选择模块包括第一函数建立单元;In one of the embodiments, the first wallpaper selection module includes a first function establishment unit;

所述第一函数建立单元,被配置为对所述壁纸滚动视图中的各个壁纸建立相对应的第一点击监听函数。The first function establishing unit is configured to establish a corresponding first click monitoring function for each wallpaper in the wallpaper scrolling view.

在其中一个实施例中,所述第一壁纸选择模块包括序列号确定单元和壁纸选择单元;In one embodiment, the first wallpaper selection module includes a serial number determination unit and a wallpaper selection unit;

所述序列号确定单元,被配置为根据所述壁纸滑动视图的滑动次数、滑动方向和初始壁纸位置,确定当前显示预览的壁纸对应的壁纸序列号;The serial number determining unit is configured to determine the wallpaper serial number corresponding to the currently displayed preview wallpaper according to the sliding times, the sliding direction and the initial wallpaper position of the wallpaper sliding view;

所述壁纸选择单元,被配置为根据确定的所述壁纸序列号,由所述移动终端中预存的壁纸动态数组中选择相应的壁纸作为所述目标壁纸。The wallpaper selection unit is configured to select a corresponding wallpaper as the target wallpaper from a dynamic array of wallpapers pre-stored in the mobile terminal according to the determined wallpaper serial number.

在其中一个实施例中,所述序列号确定单元包括初始化子单元和序列号计算子单元;In one of the embodiments, the serial number determination unit includes an initialization subunit and a serial number calculation subunit;

所述初始化子单元,被配置为当所述移动终端进入所述壁纸选择模式时,初始化所述壁纸序列号;The initialization subunit is configured to initialize the wallpaper serial number when the mobile terminal enters the wallpaper selection mode;

所述序列号计算子单元,被配置为根据所述壁纸滑动视图的滑动次数和滑动方向,当所述壁纸滑动视图每向右滑动一次时,所述壁纸序列号自增一次直至增加到预设最大值;当所述壁纸滑动视图每向左滑动一次时,所述壁纸序列号自减一次直至减为预设最小值。The serial number calculation subunit is configured to, according to the sliding times and sliding direction of the wallpaper sliding view, when the wallpaper sliding view slides to the right every time, the wallpaper serial number is automatically incremented once until it increases to a preset value. Maximum value; when the wallpaper sliding view slides to the left every time, the wallpaper serial number is decremented by one time until it is reduced to the preset minimum value.

在其中一个实施例中,所述初始化子单元还包括序列号存储单元;In one embodiment, the initialization subunit further includes a serial number storage unit;

所述序列号存储单元,被配置为根据第三方壁纸的添加及删除,增大或减小所述移动终端进入所述壁纸选择模块时的初始壁纸对应的初始壁纸序列号,同时保存修改后的所述初始壁纸序列号。The serial number storage unit is configured to increase or decrease the initial wallpaper serial number corresponding to the initial wallpaper when the mobile terminal enters the wallpaper selection module according to the addition and deletion of third-party wallpapers, and save the modified serial number at the same time. The initial wallpaper serial number.

相应的,本发明还提供了一种壁纸更换方法,包括如下步骤:Correspondingly, the present invention also provides a method for replacing wallpaper, comprising the following steps:

控制移动终端进入壁纸选择模式,并在所述移动终端的当前显示桌面中显示壁纸预览缩略图布局;其中,壁纸预览缩略图布局包括壁纸滑动视图、壁纸设置按钮和壁纸滚动视图,且所述壁纸滑动视图位于所述当前显示桌面的上层,为透明视图;Controlling the mobile terminal to enter a wallpaper selection mode, and displaying a wallpaper preview thumbnail layout on the currently displayed desktop of the mobile terminal; wherein the wallpaper preview thumbnail layout includes a wallpaper sliding view, a wallpaper setting button and a wallpaper scrolling view, and the wallpaper The sliding view is located on the upper layer of the currently displayed desktop and is a transparent view;

根据所述壁纸滚动视图的滚动或所述壁纸滑动视图的滑动由所述移动终端中选择目标壁纸,并在所述当前显示桌面显示所述目标壁纸,形成壁纸预览视图;According to the scrolling of the wallpaper scroll view or the sliding of the wallpaper sliding view, a target wallpaper is selected from the mobile terminal, and the target wallpaper is displayed on the currently displayed desktop to form a wallpaper preview view;

根据所述壁纸设置按钮的被点击,将所述移动终端的当前显示桌面的壁纸设置为所述目标壁纸,并控制所述移动终端退出所述壁纸选择模式。According to the click of the wallpaper setting button, the currently displayed desktop wallpaper of the mobile terminal is set as the target wallpaper, and the mobile terminal is controlled to exit the wallpaper selection mode.

在其中一个实施例中,所述根据所述壁纸设置按钮的被点击,将所述移动终端的当前显示桌面的壁纸设置为所述目标壁纸通过对所述壁纸设置按钮建立第二点击监听函数实现;其中,In one embodiment, the setting of the currently displayed desktop wallpaper of the mobile terminal as the target wallpaper according to the click of the wallpaper setting button is implemented by establishing a second click monitoring function for the wallpaper setting button ;in,

当所述壁纸设置按钮被点击时,设置所述当前显示桌面的壁纸为所述目标壁纸,同时隐藏所述壁纸预览缩略图布局,并控制所述移动终端退出所述壁纸选择模式;When the wallpaper setting button is clicked, set the currently displayed desktop wallpaper as the target wallpaper, hide the wallpaper preview thumbnail layout, and control the mobile terminal to exit the wallpaper selection mode;

当所述壁纸设置按钮未被点击时,则不进行任何操作。When the wallpaper setting button is not clicked, no operation is performed.

相应的,本发明还提供了一种壁纸更换系统,包括第二模式控制模块、第二布局显示模块、第二壁纸选择模块、第二显示预览模块和第二壁纸设置模块;Correspondingly, the present invention also provides a wallpaper replacement system, comprising a second mode control module, a second layout display module, a second wallpaper selection module, a second display preview module and a second wallpaper setting module;

所述第二模式选择模块,被配置为控制移动终端进入壁纸选择模式;The second mode selection module is configured to control the mobile terminal to enter the wallpaper selection mode;

所述第二布局显示模块,被配置为在所述移动终端的当前显示桌面中显示壁纸预览缩略图布局;其中,壁纸预览缩略图布局包括壁纸滑动视图、壁纸设置按钮和壁纸滚动视图,且所述壁纸滑动视图位于所述当前显示桌面的上层,为透明视图;The second layout display module is configured to display a wallpaper preview thumbnail layout in the currently displayed desktop of the mobile terminal; wherein, the wallpaper preview thumbnail layout includes a wallpaper sliding view, a wallpaper setting button and a wallpaper scrolling view, and all The wallpaper sliding view is located on the upper layer of the currently displayed desktop and is a transparent view;

所述第二壁纸选择模块,被配置为根据所述壁纸滚动视图的滚动或所述壁纸滑动视图的滑动由所述移动终端中选择目标壁纸;The second wallpaper selection module is configured to select a target wallpaper from the mobile terminal according to the scrolling of the wallpaper scroll view or the sliding of the wallpaper sliding view;

所述第二显示预览模块,被配置为在所述当前显示桌面显示所述目标壁纸,形成壁纸预览视图;The second display preview module is configured to display the target wallpaper on the currently displayed desktop to form a wallpaper preview view;

所述第二壁纸设置模块,被配置为根据所述壁纸设置按钮的被点击,将所述移动终端的当前显示桌面的壁纸设置为所述目标壁纸,并控制所述移动终端退出所述壁纸选择模式。The second wallpaper setting module is configured to set the currently displayed desktop wallpaper of the mobile terminal as the target wallpaper according to the click of the wallpaper setting button, and control the mobile terminal to exit the wallpaper selection model.

在其中一个实施例中,所述第二壁纸设置模块包括第二函数建立单元;In one of the embodiments, the second wallpaper setting module includes a second function establishment unit;

所述第二函数建立单元,被配置为对所述壁纸设置按钮建立第二点击监听函数;The second function establishment unit is configured to establish a second click monitoring function for the wallpaper setting button;

当所述壁纸设置按钮被点击时,设置所述当前显示桌面的壁纸为所述目标壁纸,同时隐藏所述壁纸预览缩略图布局,并控制所述移动终端退出所述壁纸选择模式;When the wallpaper setting button is clicked, set the currently displayed desktop wallpaper as the target wallpaper, hide the wallpaper preview thumbnail layout, and control the mobile terminal to exit the wallpaper selection mode;

当所述壁纸设置按钮未被点击时,则不进行任何操作。When the wallpaper setting button is not clicked, no operation is performed.

上述壁纸预览方法的有益效果:The beneficial effects of the above wallpaper preview method:

其通过在移动终端进入壁纸选择模式后,在移动终端的当前显示桌面中显示壁纸预览缩略图布局;其中,壁纸预览缩略图布局中包括壁纸滑动视图和/或壁纸滚动视图,并且壁纸滑动视图位于当前显示桌面的上层,并为透明视图。进而,再通过滑动壁纸滑动视图或滚动壁纸滚动视图由移动终端中选择相应的目标壁纸,并在当前显示桌面中显示。由于所选中的目标壁纸直接显示在当前显示桌面上,其不需要再另外打开一个新的布局,因此当前显示桌面上的应用图标均与目标壁纸同时显示。同时,又由于建立在当前显示桌面上层的壁纸滑动视图为透明视图,因此用户能够直接查看到所选中的目标壁纸在当前显示桌面上的应用效果。其实现了移动终端的当前显示桌面的应用图标与预览壁纸的同时展示,最终有效解决了传统的壁纸更换过程中不能实现当前桌面的应用图标与壁纸同时展现的问题。After the mobile terminal enters the wallpaper selection mode, the wallpaper preview thumbnail layout is displayed on the currently displayed desktop of the mobile terminal; wherein, the wallpaper preview thumbnail layout includes the wallpaper sliding view and/or the wallpaper scrolling view, and the wallpaper sliding view is located in the The upper layer of the desktop is currently displayed and is a transparent view. Further, the corresponding target wallpaper is selected from the mobile terminal by sliding the wallpaper sliding view or scrolling the wallpaper scroll view, and displayed on the currently displayed desktop. Since the selected target wallpaper is directly displayed on the currently displayed desktop, it does not need to open a new layout, so the application icons on the currently displayed desktop are displayed simultaneously with the target wallpaper. At the same time, since the wallpaper sliding view established on the upper layer of the currently displayed desktop is a transparent view, the user can directly view the application effect of the selected target wallpaper on the currently displayed desktop. It realizes the simultaneous display of the application icon and the preview wallpaper of the currently displayed desktop of the mobile terminal, and finally effectively solves the problem that the application icon of the current desktop and the wallpaper cannot be displayed at the same time in the traditional wallpaper replacement process.

附图说明Description of drawings

图1为本发明的壁纸预览方法的一具体实施例的流程图;1 is a flowchart of a specific embodiment of a wallpaper preview method of the present invention;

图2为采用本发明的壁纸预览方法的一具体实施例进行手机桌面壁纸预览时,手机桌面进入壁纸选择模式时的桌面显示效果示意图;2 is a schematic diagram of the desktop display effect when the mobile phone desktop enters a wallpaper selection mode when a specific embodiment of the wallpaper preview method of the present invention is used to preview the mobile phone desktop wallpaper;

图3为采用本发明的壁纸预览方法的一具体实施例进行手机桌面壁纸预览时,手机桌面形成壁纸预览视图时的桌面显示效果示意图;3 is a schematic diagram of the desktop display effect when the mobile phone desktop forms a wallpaper preview view when a specific embodiment of the wallpaper preview method of the present invention is used to preview the mobile phone desktop wallpaper;

图4为本发明的壁纸更换方法的一具体实施例的流程图;4 is a flowchart of a specific embodiment of a method for replacing wallpaper of the present invention;

图5为采用本发明的壁纸更换方法的一具体实施例进行手机桌面壁纸切换时,手机桌面切换壁纸成功时的桌面显示效果示意图;5 is a schematic diagram of the desktop display effect when the mobile phone desktop wallpaper is successfully switched when a specific embodiment of the wallpaper replacement method of the present invention is used to switch the mobile phone desktop wallpaper;

图6为本发明的壁纸预览系统的一具体实施例的结构示意图;6 is a schematic structural diagram of a specific embodiment of the wallpaper preview system of the present invention;

图7为本发明的壁纸更换系统的一具体实施例的结构示意图。FIG. 7 is a schematic structural diagram of a specific embodiment of the wallpaper replacement system of the present invention.

具体实施方式Detailed ways

为使本发明技术方案更加清楚,以下结合附图及具体实施例对本发明作进一步详细说明。In order to make the technical solution of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

首先,应当说明的是,移动终端指的是可以在移动中使用的计算机设备。广义的讲包括手机、笔记本、平板电脑、POS机和车载电脑。通常,在大部分情况下,其指的是手机或者具有多种应用功能的智能手机或平板电脑。以下则均是采用手机作为移动终端为例,对本发明进行的进一步说明。First, it should be noted that a mobile terminal refers to a computer device that can be used on the move. Broadly speaking, it includes mobile phones, notebooks, tablet computers, POS machines and in-vehicle computers. Usually, in most cases, it refers to a mobile phone or a smartphone or tablet with multiple application functions. The following is a further description of the present invention by using a mobile phone as a mobile terminal as an example.

壁纸预览缩略图布局则指的是在移动终端的桌面布局(通常为XML文件)中添加的一种桌面显示效果布局。其中,包括各种应用功能,如:用于由移动终端预存的壁纸动态数组中选择目标壁纸的壁纸滑动视图和壁纸滚动视图,以及还可包括有用于将移动终端的桌面壁纸设置为当前选择的目标壁纸的壁纸设置按钮。即,壁纸预览缩略图布局可为壁纸滑动视图、壁纸设置按钮和壁纸滚动视图的组合布局。其中,该布局可在移动终端进入壁纸选择模式时显示,在移动终端退出壁纸选择模式时隐藏。The wallpaper preview thumbnail layout refers to a desktop display effect layout added to the desktop layout (usually an XML file) of the mobile terminal. Among them, various application functions are included, such as: wallpaper sliding view and wallpaper scrolling view for selecting target wallpapers from the dynamic array of wallpapers pre-stored by the mobile terminal, and also including a wallpaper for setting the desktop wallpaper of the mobile terminal as the currently selected one. The wallpaper settings button for the target wallpaper. That is, the wallpaper preview thumbnail layout may be a combined layout of a wallpaper sliding view, a wallpaper setting button, and a wallpaper scrolling view. The layout may be displayed when the mobile terminal enters the wallpaper selection mode, and hidden when the mobile terminal exits the wallpaper selection mode.

另外,移动终端预存的壁纸动态数组则为移动终端中预先存储的所有的壁纸的数据库。其中的数组元素可包括URI壁纸类型、文件壁纸类型、默认壁纸类型和动态壁纸类型中的至少一种。并且,该数据在移动终端进入壁纸选择模式时进行初始化。In addition, the dynamic array of wallpapers pre-stored in the mobile terminal is a database of all the wallpapers pre-stored in the mobile terminal. The array elements therein may include at least one of a URI wallpaper type, a file wallpaper type, a default wallpaper type, and a dynamic wallpaper type. And, the data is initialized when the mobile terminal enters the wallpaper selection mode.

同时,壁纸选择模式,则指的是移动终端的状态为进行壁纸选择设置的状态。此时,移动终端的显示界面为壁纸选择界面。Meanwhile, the wallpaper selection mode refers to the state of the mobile terminal in which the wallpaper selection and setting are performed. In this case, the display interface of the mobile terminal is a wallpaper selection interface.

参见图1,作为本发明的壁纸预览方法的一具体实施例,其具体可包括如下步骤:步骤S100,控制移动终端进入壁纸选择模式,并在移动终端的当前显示桌面中显示壁纸预览缩略图布局。其中,壁纸预览缩略图布局包括壁纸滑动视图和/或壁纸滚动视图,并且,壁纸滑动视图位于当前显示桌面的上层,同时为透明视图。1, as a specific embodiment of the wallpaper preview method of the present invention, it may specifically include the following steps: Step S100, control the mobile terminal to enter the wallpaper selection mode, and display the wallpaper preview thumbnail layout on the currently displayed desktop of the mobile terminal . The wallpaper preview thumbnail layout includes a wallpaper sliding view and/or a wallpaper scrolling view, and the wallpaper sliding view is located on the upper layer of the currently displayed desktop and is a transparent view at the same time.

具体的,其可通过对移动终端进行的当前模式进行设置,如:通过操作移动终端上所设置的按键,或通过长按移动终端的当前显示桌面预设时间等操作进行移动终端的模式的切换,将移动终端的当前模式切换为壁纸选择模式。其中,在本发明的壁纸预览方法的一具体实施例中,其可通过步骤S110,切换移动终端的桌面状态来控制移动终端进入壁纸选择模式。应当说明的是,移动终端的桌面状态可包括正常状态、正常隐藏状态、覆盖状态和覆盖隐藏状态。为了操作的简便性,通过在移动终端的桌面状态中添加壁纸状态(壁纸状态与壁纸预览缩略图布局的显示状态相对应),从而将移动终端进入和退出壁纸选择模式转变成了简单的移动终端的桌面在正常状态与壁纸状态之间的转换。其中,移动终端的桌面在正常状态和壁纸状态之间的转换动画直接采用移动终端初始的桌面原生动画即可。Specifically, it can be set by setting the current mode of the mobile terminal, such as: switching the mode of the mobile terminal by operating a button set on the mobile terminal, or by long-pressing the preset time of the currently displayed desktop of the mobile terminal, etc. to switch the current mode of the mobile terminal to the wallpaper selection mode. Wherein, in a specific embodiment of the wallpaper preview method of the present invention, the mobile terminal can be controlled to enter the wallpaper selection mode by switching the desktop state of the mobile terminal in step S110. It should be noted that the desktop state of the mobile terminal may include a normal state, a normal hidden state, a covered state and a covered hidden state. For the convenience of operation, by adding a wallpaper state to the desktop state of the mobile terminal (the wallpaper state corresponds to the display state of the wallpaper preview thumbnail layout), the mobile terminal entering and exiting the wallpaper selection mode is transformed into a simple mobile terminal The transition of the desktop between the normal state and the wallpaper state. The transition animation of the desktop of the mobile terminal between the normal state and the wallpaper state may directly use the original desktop animation of the mobile terminal.

当将移动终端的模式切换为壁纸选择模式后,此时保持移动终端的当前显示桌面不变,直接在当前显示桌面显示壁纸预览缩略图布局。参见图2,为采用本发明的壁纸预览方法的一具体实施例进行手机桌面壁纸预览时,手机刚进入壁纸设置界面时的显示效果图。其中,在壁纸预览缩略图布局中包括有壁纸滑动视图100a和壁纸滚动视图100b。壁纸滑动视图100a位于当前显示桌面的上层,并且为透明视图。由此,可通过直接滑动壁纸滑动视图100a进行壁纸之间的切换和预览。壁纸滚动视图100b则位于当前显示桌面的边缘位置。在本实施例中,其位于当前显示桌面下端,在其他实施例中,也可位于当前显示桌面的上端、左端或右端,此处不再一一赘述。其中,壁纸滚动视图100b包括多个预存的壁纸,可通过滚动壁纸滚动视图100b进行相应的壁纸的选择。另外,其还可在壁纸预览缩略图布局中添加壁纸设置按钮100c。通过对壁纸设置按钮100c进行点击操作来实现将当前显示桌面的壁纸更换为当前所选择的目标壁纸。由于壁纸设置按钮100c为壁纸更换方法中所应用到的,因此此处不对其进行赘述。When the mode of the mobile terminal is switched to the wallpaper selection mode, the currently displayed desktop of the mobile terminal is kept unchanged, and the wallpaper preview thumbnail layout is directly displayed on the currently displayed desktop. Referring to FIG. 2 , it is a display effect diagram when the mobile phone just enters the wallpaper setting interface when a specific embodiment of the wallpaper preview method of the present invention is used to preview the mobile phone desktop wallpaper. The wallpaper preview thumbnail layout includes a wallpaper sliding view 100a and a wallpaper scrolling view 100b. The wallpaper sliding view 100a is located on the upper layer of the currently displayed desktop and is a transparent view. Thus, switching between wallpapers and previewing can be performed by directly sliding the wallpaper sliding view 100a. The wallpaper scroll view 100b is located at the edge of the currently displayed desktop. In this embodiment, it is located at the lower end of the currently displayed desktop, and in other embodiments, it may also be located at the upper end, the left end or the right end of the currently displayed desktop, which will not be repeated here. The wallpaper scroll view 100b includes a plurality of pre-stored wallpapers, and a corresponding wallpaper can be selected by scrolling the wallpaper scroll view 100b. In addition, it can also add a wallpaper setting button 100c in the wallpaper preview thumbnail layout. By clicking the wallpaper setting button 100c, the wallpaper currently displayed on the desktop is replaced with the currently selected target wallpaper. Since the wallpaper setting button 100c is applied in the wallpaper replacement method, it will not be repeated here.

其中,当移动终端进入壁纸选择模式后,为了本发明的壁纸预览方法的方案实施的简便性,同时为了达到用户体验的最佳效果,其可通过预先在移动终端的桌面布局中直接添加壁纸预览缩略图布局,并设置壁纸预览缩略图布局在移动终端进入壁纸选择模式时显示,在移动终端退出所述壁纸选择模式时隐藏来实现壁纸预览缩略图布局在当前显示桌面的显示。Wherein, after the mobile terminal enters the wallpaper selection mode, in order to simplify the implementation of the scheme of the wallpaper preview method of the present invention, and at the same time to achieve the best effect of user experience, the wallpaper preview can be directly added to the desktop layout of the mobile terminal in advance. The thumbnail layout is set, and the wallpaper preview thumbnail layout is set to be displayed when the mobile terminal enters the wallpaper selection mode, and is hidden when the mobile terminal exits the wallpaper selection mode to realize the display of the wallpaper preview thumbnail layout on the currently displayed desktop.

另外,为了增加本发明的壁纸预览方法的具体实施例,其也可通过将移动终端中预设的壁纸选择方案中的壁纸裁剪视图替换为移动终端的桌面布局,并在桌面布局中添加壁纸预览缩略图布局来实现。这是因为通常移动终端的桌面都自带有壁纸选择方案,只是没有滑动切换和切换壁纸时显示当前显示桌面的应用图标的功能。其中,在其壁纸选择方案中自带有一个壁纸裁剪视图,该视图可以再进行壁纸设置时显示,且为不透明视图。因此,通过直接将壁纸裁剪视图替换成桌面布局,并在桌面布局中添加壁纸预览缩略图布局,并增加相应的手势监听方法进行壁纸的选择和预览即可。In addition, in order to increase the specific embodiment of the wallpaper preview method of the present invention, it is also possible to replace the wallpaper cropping view in the preset wallpaper selection scheme in the mobile terminal with the desktop layout of the mobile terminal, and add a wallpaper preview to the desktop layout. Thumbnail layout to achieve. This is because usually the desktop of the mobile terminal has its own wallpaper selection scheme, but there is no function of displaying the application icon currently displayed on the desktop when sliding switching and switching the wallpaper. Among them, there is a wallpaper cropping view in its wallpaper selection scheme, which can be displayed when the wallpaper is set, and is an opaque view. Therefore, the wallpaper selection and preview can be performed by directly replacing the wallpaper crop view with the desktop layout, adding a wallpaper preview thumbnail layout to the desktop layout, and adding a corresponding gesture monitoring method.

当通过在移动终端的当前显示桌面中显示壁纸预览缩略图布局后,即可通过步骤S200,根据壁纸滚动视图的滚动或壁纸滑动视图的滑动由移动终端中选择目标壁纸,并在当前显示桌面显示目标壁纸,形成壁纸预览视图。After the preview thumbnail layout of the wallpaper is displayed on the currently displayed desktop of the mobile terminal, step S200 can be used to select the target wallpaper from the mobile terminal according to the scrolling of the wallpaper scroll view or the sliding of the wallpaper sliding view, and display it on the currently displayed desktop. The target wallpaper, forming the wallpaper preview view.

其中,应当说明的是,根据壁纸滚动视图的滚动或壁纸滑动视图的滑动由移动终端中选择目标壁纸时,其可通过由移动终端中预存的壁纸动态数组中选择相应的目标壁纸。预存的壁纸动态数组中的数组元素可包括URI壁纸类型、文件壁纸类型、默认壁纸类型和动态壁纸类型中的至少一种。由此,可实现对动态壁纸的预览和静态壁纸的预览进行同样的操作,从而使得壁纸预览功能更加强大。It should be noted that when a target wallpaper is selected from the mobile terminal according to the scrolling of the wallpaper scroll view or the sliding of the wallpaper sliding view, the corresponding target wallpaper can be selected from the dynamic array of wallpapers pre-stored in the mobile terminal. The array elements in the pre-stored wallpaper dynamic array may include at least one of a URI wallpaper type, a file wallpaper type, a default wallpaper type, and a dynamic wallpaper type. Thus, the same operation can be performed on the preview of the dynamic wallpaper and the preview of the static wallpaper, thereby making the wallpaper preview function more powerful.

具体的,当根据壁纸滚动视图的滚动由移动终端预存的壁纸动态数组中选择目标壁纸时,可通过对壁纸滚动视图中的各个壁纸建立相对应的第一点击监听函数来实现。即,对壁纸滚动视图中包含的图片建立第一点击监听函数,在图片进行点击时进行壁纸的选择与预览。Specifically, when the target wallpaper is selected from the dynamic array of wallpapers pre-stored in the mobile terminal according to the scrolling of the wallpaper scrolling view, it can be realized by establishing a corresponding first click monitoring function for each wallpaper in the wallpaper scrolling view. That is, the first click monitoring function is established for the pictures included in the wallpaper scroll view, and the wallpaper is selected and previewed when the picture is clicked.

当根据壁纸滑动视图的滑动由移动终端预存的壁纸动态数组中选择目标壁纸时,则具体可通过如下步骤来实现。即,步骤S210,根据壁纸滑动视图的滑动次数、滑动方向和初始壁纸位置,确定当前显示预览的壁纸对应的壁纸序列号。其中,确定当前显示预览的壁纸对应的壁纸序列号则首先通过步骤S211,当移动终端进入壁纸选择模式时,初始化壁纸序列号。进而再通过步骤S212,根据壁纸滑动视图的滑动次数和滑动方向,当壁纸滑动视图每向右滑动一次时,壁纸序列号自增一次直至增加到预设最大值。当壁纸滑动视图每向左滑动一次时,壁纸序列号自减一次直至减为预设最小值。应当说明的是,作为一可实施方式,初始化该壁纸序列号时,将该壁纸序列号赋值为最大值。When the target wallpaper is selected from the dynamic array of wallpapers pre-stored by the mobile terminal according to the sliding of the wallpaper sliding view, the following steps can be specifically implemented. That is, in step S210, the wallpaper serial number corresponding to the currently displayed preview wallpaper is determined according to the sliding times, the sliding direction and the initial wallpaper position of the wallpaper sliding view. Wherein, to determine the wallpaper serial number corresponding to the currently displayed preview wallpaper, step S211 is performed first, and when the mobile terminal enters the wallpaper selection mode, the wallpaper serial number is initialized. Further through step S212, according to the sliding number and sliding direction of the wallpaper sliding view, when the wallpaper sliding view slides to the right every time, the wallpaper serial number is automatically incremented once until it increases to the preset maximum value. When the wallpaper sliding view is swiped to the left every time, the wallpaper serial number is decremented by one time until it is reduced to the preset minimum value. It should be noted that, as an embodiment, when the wallpaper serial number is initialized, the wallpaper serial number is assigned a maximum value.

当确定当前显示预览的壁纸对应的壁纸序列号后,即可通过步骤S220,根据确定的壁纸序列号,由预存的壁纸动态数组中选择相应的壁纸作为目标壁纸,从而实现壁纸的选择。其通过根据壁纸滑动视图的滑动进行壁纸的选择,实现了滑动切换壁纸的目的,同时还达到了实时显示预览的效果。After determining the wallpaper serial number corresponding to the currently displayed previewed wallpaper, step S220 can be used to select the corresponding wallpaper from the pre-stored dynamic array of wallpapers as the target wallpaper according to the determined wallpaper serial number, thereby realizing the selection of the wallpaper. It selects the wallpaper according to the sliding of the sliding view of the wallpaper, realizes the purpose of sliding and switching the wallpaper, and also achieves the effect of displaying the preview in real time.

并且,通过滑动壁纸滑动视图进行壁纸的选择时,优选的,其还可包括步骤S210’,同时将壁纸滚动视图的当前显示壁纸滚动至与壁纸滑动视图所显示预览的壁纸相对应的位置,以实现壁纸滚动视图和壁纸滑动视图的同步。In addition, when the wallpaper is selected by sliding the wallpaper sliding view, preferably, it may further include step S210', while scrolling the currently displayed wallpaper in the wallpaper scrolling view to the position corresponding to the wallpaper previewed in the wallpaper sliding view, to Synchronize wallpaper scroll view and wallpaper slide view.

此处,应当说明的是,通过根据壁纸滑动视图的滑动进行壁纸的选择时,当对壁纸序列号进行初始化的同时,其还包括步骤S211’,根据第三方壁纸的添加及删除,增大或减小移动终端进入壁纸选择模块时的初始壁纸对应的初始壁纸序列号,同时保存修改后的初始壁纸序列号。这是由于通常移动终端的操作系统均是基于Android(安卓)系统。Android系统通常有SQLite、File、SharedPreferences、ContentProvider等存储方式。当根据壁纸滑动视图的滑动进行壁纸的选择时,主要保存的变量为进入壁纸选择模式的初始壁纸序列号,其不涉及增加、删除、修改和查看等复杂操作,因此,本发明的壁纸预览方法主要采用了Android的SharedPreferences存储方式。即,该初始壁纸序列号在进入壁纸选择模式时进行初始化,然后随着第三方壁纸的添加及删除而增大或减小。Here, it should be noted that, when the wallpaper is selected by sliding according to the wallpaper sliding view, while initializing the wallpaper serial number, it also includes step S211', according to the addition and deletion of third-party wallpapers, increase or decrease The initial wallpaper serial number corresponding to the initial wallpaper when the mobile terminal enters the wallpaper selection module is reduced, and the modified initial wallpaper serial number is saved at the same time. This is because the operating system of the mobile terminal is usually based on the Android (Android) system. The Android system usually has storage methods such as SQLite, File, SharedPreferences, and ContentProvider. When the wallpaper is selected according to the sliding of the wallpaper sliding view, the main saved variable is the initial wallpaper serial number entering the wallpaper selection mode, which does not involve complicated operations such as adding, deleting, modifying and viewing. Therefore, the wallpaper preview method of the present invention is Mainly uses Android's SharedPreferences storage method. That is, the initial wallpaper serial number is initialized when entering the wallpaper selection mode, and then increases or decreases with the addition and deletion of third-party wallpapers.

具体方案为:如果删除的壁纸序列号小于初始壁纸序列号,则该初始序列号减小;如果增加了壁纸,该初始化壁纸序列号增加;如果点击了壁纸设置按钮,该初始化壁纸序列号赋值为当前壁纸序列号。该初始比值序列号保证了在壁纸选择模式点击返回按键时,即,移动终端退出壁纸选择模式时,壁纸滑动视图能够更方便的返回最初的壁纸设置。The specific scheme is: if the serial number of the deleted wallpaper is smaller than the initial wallpaper serial number, the initial serial number is decreased; if the wallpaper is added, the initialized wallpaper serial number is increased; if the wallpaper setting button is clicked, the initialized wallpaper serial number is assigned as Current wallpaper serial number. The initial ratio serial number ensures that when the return button is clicked in the wallpaper selection mode, that is, when the mobile terminal exits the wallpaper selection mode, the wallpaper sliding view can more conveniently return to the original wallpaper setting.

当通过上述任一种方式选择好目标壁纸后,即可在当前显示桌面显示目标壁纸,形成壁纸预览视图。参见图3,为采用本发明的壁纸预览方法的一具体实施例进行桌面壁纸预览时,所形成壁纸预览视图后的桌面显示效果图。After the target wallpaper is selected through any of the above methods, the target wallpaper can be displayed on the currently displayed desktop to form a wallpaper preview view. Referring to FIG. 3 , it is a desktop display effect diagram after a wallpaper preview view is formed when a specific embodiment of the wallpaper preview method of the present invention is used to preview the desktop wallpaper.

其中,通过向右滑动壁纸滑动视图,显示下一张壁纸的预览效果。作为本发明的壁纸预览方法的一具体实施例,在滑动壁纸滑动视图过程中,即,在形成壁纸预览视图时,优选的,还包括隐藏壁纸滚动视图的步骤。通过将壁纸滚动视图隐藏,使得最终形成的壁纸预览视图能够全屏显示,这也就进一步提高了用户体验,使得最终形成的壁纸预览视图即为将其应用为桌面壁纸后的实际显示视图,从而达到了应用图标与预览壁纸同时展示的目的。Among them, the preview effect of the next wallpaper is displayed by sliding the wallpaper sliding view to the right. As a specific embodiment of the wallpaper preview method of the present invention, in the process of sliding the wallpaper sliding view, that is, when forming the wallpaper preview view, preferably, the step of hiding the wallpaper scroll view is also included. By hiding the wallpaper scroll view, the final wallpaper preview view can be displayed in full screen, which further improves the user experience, so that the final wallpaper preview view is the actual display view after it is applied as the desktop wallpaper, so as to achieve For the purpose of displaying the application icon and preview wallpaper at the same time.

同时,作为本发明的壁纸预览方法的一具体实施例,其在形成壁纸预览视图过程中,还可通过触摸壁纸预览视图,来实现壁纸设置按钮和壁纸滚动视图显示或隐藏。Meanwhile, as a specific embodiment of the wallpaper preview method of the present invention, during the process of forming the wallpaper preview view, the wallpaper setting button and the wallpaper scroll view can be displayed or hidden by touching the wallpaper preview view.

相应的,在通过上述任一种壁纸预览方法在移动终端的当前显示桌面中形成壁纸预览视图的基础上,本发明还提供了一种壁纸更换方法。由于本发明提供的壁纸更换方法的原理是基于本发明提供的壁纸预览方法的基础之上,其与本发明的壁纸预览方法的原理相同或相似,因此重复之处不再赘述。Correspondingly, on the basis of forming a wallpaper preview view in the currently displayed desktop of the mobile terminal by any of the above wallpaper preview methods, the present invention also provides a wallpaper replacement method. Since the principle of the wallpaper replacement method provided by the present invention is based on the wallpaper preview method provided by the present invention, which is the same as or similar to the principle of the wallpaper preview method of the present invention, the repetition will not be repeated.

参见图4,作为本发明的壁纸更换方法的一具体实施例,其包括如下步骤:Referring to FIG. 4 , as a specific embodiment of the method for replacing wallpaper of the present invention, it includes the following steps:

步骤S100,控制移动终端进入壁纸选择模式,并在移动终端的当前显示桌面中显示壁纸预览缩略图布局。其中,壁纸预览缩略图布局包括壁纸滑动视图、壁纸设置按钮和壁纸滚动视图,且壁纸滑动视图位于当前显示桌面的上层,为透明视图。Step S100, controlling the mobile terminal to enter the wallpaper selection mode, and displaying the wallpaper preview thumbnail layout on the currently displayed desktop of the mobile terminal. The wallpaper preview thumbnail layout includes a wallpaper sliding view, a wallpaper setting button, and a wallpaper scrolling view, and the wallpaper sliding view is located on the upper layer of the currently displayed desktop and is a transparent view.

即,参见图2,通过在移动终端进入壁纸选择模式后,同样保持移动终端的当前显示桌面不变,在当前显示桌面上显示壁纸预览缩略图布局。此处,应当说明的是,该壁纸预览缩略图还包括壁纸设置按钮100c。以便于后续确定目标壁纸之后,能够将最终确定的目标壁纸设置为当前显示桌面的壁纸。同时,该壁纸设置按钮100c同样位于当前显示桌面的任一位置。That is, referring to FIG. 2 , after the mobile terminal enters the wallpaper selection mode, the currently displayed desktop of the mobile terminal is also kept unchanged, and the wallpaper preview thumbnail layout is displayed on the currently displayed desktop. Here, it should be noted that the wallpaper preview thumbnail also includes a wallpaper setting button 100c. In order to facilitate the subsequent determination of the target wallpaper, the finally determined target wallpaper can be set as the wallpaper of the currently displayed desktop. At the same time, the wallpaper setting button 100c is also located at any position of the currently displayed desktop.

进而再通过步骤S200’,根据壁纸滚动视图的滚动或壁纸滑动视图的滑动由移动终端中选择目标壁纸,并在当前显示桌面显示目标壁纸,形成壁纸预览视图。如图3所示。Further through step S200', the target wallpaper is selected from the mobile terminal according to the scrolling of the wallpaper scroll view or the sliding of the wallpaper sliding view, and the target wallpaper is displayed on the currently displayed desktop to form a wallpaper preview view. As shown in Figure 3.

最后,再通过步骤S300,根据壁纸设置按钮的被点击,将移动终端的当前显示桌面的壁纸设置为目标壁纸,并控制移动终端退出壁纸选择模式。具体的,其可通过对壁纸设置按钮建立第二点击监听函数来实现。其中,当壁纸设置按钮被点击时,设置当前显示桌面的壁纸为目标壁纸,同时隐藏壁纸预览缩略图布局,并控制移动终端退出壁纸选择模式。当壁纸设置按钮未被点击时,则不进行任何操作。Finally, through step S300, according to the click of the wallpaper setting button, the wallpaper of the currently displayed desktop of the mobile terminal is set as the target wallpaper, and the mobile terminal is controlled to exit the wallpaper selection mode. Specifically, it can be implemented by establishing a second click monitoring function for the wallpaper setting button. Wherein, when the wallpaper setting button is clicked, the wallpaper currently displayed on the desktop is set as the target wallpaper, the wallpaper preview thumbnail layout is hidden, and the mobile terminal is controlled to exit the wallpaper selection mode. When the wallpaper setting button is not clicked, it does nothing.

即,参见图5,通过对壁纸设置按钮进行点击监听,实现壁纸更换。当点击了壁纸设置按钮后,壁纸滚动视图、壁纸设置按钮和壁纸滑动视图全部隐藏。当前显示桌面退出壁纸设置界面,恢复正常状态。进一步,其同时还可弹出“设置壁纸成功”提示语,以提示用户壁纸设置成功,从而进一步提高用户体验。That is, referring to FIG. 5 , by monitoring the click of the wallpaper setting button, the replacement of the wallpaper is realized. When the wallpaper setting button is clicked, the wallpaper scrolling view, wallpaper setting button and wallpaper sliding view are all hidden. The current display desktop exits the wallpaper setting interface and returns to the normal state. Further, at the same time, it can also pop up a prompt of "setting the wallpaper successfully" to remind the user that the wallpaper setting is successful, thereby further improving the user experience.

进一步的,本发明还提供了一种壁纸预览系统。由于本发明提供的壁纸预览系统的工作原理与本发明提供的壁纸预览方法的原理相同或相似,因此重复之处不再赘述。Further, the present invention also provides a wallpaper preview system. Since the working principle of the wallpaper preview system provided by the present invention is the same as or similar to the principle of the wallpaper preview method provided by the present invention, the repetition will not be repeated.

参见图6,作为本发明的壁纸预览系统100的一具体实施例,其包括第一模式控制模块110、第一布局显示模块120、第一壁纸选择模块130和第一显示预览模块140。其中,第一模式控制模块110,被配置为控制移动终端进入壁纸选择模式。第一布局显示模块120,被配置为在移动终端的当前显示桌面中显示壁纸预览缩略图布局。其中,壁纸预览缩略图布局包括壁纸滑动视图和/或壁纸滚动视图,且壁纸滑动视图位于当前显示桌面的上层,为透明视图。第一壁纸选择模块130,被配置为根据壁纸滚动视图的滚动或壁纸滑动视图的滑动由移动终端预存中选择目标壁纸。第一显示预览模块140,被配置为在当前显示桌面显示目标壁纸,形成壁纸预览视图。Referring to FIG. 6 , as a specific embodiment of the wallpaper preview system 100 of the present invention, it includes a first mode control module 110 , a first layout display module 120 , a first wallpaper selection module 130 and a first display preview module 140 . The first mode control module 110 is configured to control the mobile terminal to enter the wallpaper selection mode. The first layout display module 120 is configured to display the wallpaper preview thumbnail layout in the currently displayed desktop of the mobile terminal. The wallpaper preview thumbnail layout includes a wallpaper sliding view and/or a wallpaper scrolling view, and the wallpaper sliding view is located on the upper layer of the currently displayed desktop and is a transparent view. The first wallpaper selection module 130 is configured to select a target wallpaper from the pre-stored mobile terminal according to the scrolling of the wallpaper scroll view or the sliding of the wallpaper sliding view. The first display preview module 140 is configured to display the target wallpaper on the currently displayed desktop to form a wallpaper preview view.

进一步的,第一显示预览模块140,还被配置为在当前显示桌面显示目标壁纸,形成壁纸预览视图时,隐藏壁纸滚动视图。Further, the first display preview module 140 is further configured to hide the wallpaper scroll view when the desktop display target wallpaper is currently displayed to form the wallpaper preview view.

其中,参见图6,作为本发明的壁纸预览系统100的一具体实施例,其第一模式控制模块110包括状态切换单元111。状态切换单元111,被配置为切换移动终端的桌面状态,控制移动终端进入壁纸选择模式。其中,移动终端的桌面状态至少包括壁纸状态。并且,壁纸状态对应壁纸预览缩略图布局的显示状态。6 , as a specific embodiment of the wallpaper preview system 100 of the present invention, the first mode control module 110 includes a state switching unit 111 . The state switching unit 111 is configured to switch the desktop state of the mobile terminal and control the mobile terminal to enter the wallpaper selection mode. Wherein, the desktop state of the mobile terminal includes at least a wallpaper state. And, the wallpaper state corresponds to the display state of the wallpaper preview thumbnail layout.

另外,本发明的壁纸预览系统100中,其还包括添加模块和/或替换模块。其中,添加模块,被配置为在移动终端的桌面布局中直接添加壁纸预览缩略图布局,并设置壁纸预览缩略图布局在移动终端进入壁纸选择模式时显示,在移动终端退出壁纸选择模式时隐藏。替换模块,被配置为将移动终端中预设的壁纸选择方案中的壁纸裁剪视图替换为移动终端的桌面布局,并在桌面布局中添加壁纸预览缩略图布局。In addition, in the wallpaper preview system 100 of the present invention, it further includes an addition module and/or a replacement module. The adding module is configured to directly add a wallpaper preview thumbnail layout to the desktop layout of the mobile terminal, and set the wallpaper preview thumbnail layout to be displayed when the mobile terminal enters the wallpaper selection mode, and hidden when the mobile terminal exits the wallpaper selection mode. The replacement module is configured to replace the wallpaper cropping view in the preset wallpaper selection scheme in the mobile terminal with the desktop layout of the mobile terminal, and add the wallpaper preview thumbnail layout to the desktop layout.

进一步的,第一壁纸选择模块130包括第一函数建立单元131。第一函数建立单元131,被配置为对壁纸滚动视图中的各个壁纸建立相对应的第一点击监听函数。Further, the first wallpaper selection module 130 includes a first function establishment unit 131 . The first function establishing unit 131 is configured to establish a corresponding first click listening function for each wallpaper in the wallpaper scrolling view.

另外,参见图6,作为本发明的壁纸预览系统100的另一具体实施例,第一壁纸选择模块130包括序列号确定单元132和壁纸选择单元133。序列号确定单元132,被配置为根据壁纸滑动视图的滑动次数、滑动方向和初始壁纸位置,确定当前显示预览的壁纸对应的壁纸序列号。壁纸选择单元133,被配置为根据确定的壁纸序列号,由预存的壁纸动态数组中选择相应的壁纸作为目标壁纸。In addition, referring to FIG. 6 , as another specific embodiment of the wallpaper preview system 100 of the present invention, the first wallpaper selection module 130 includes a serial number determination unit 132 and a wallpaper selection unit 133 . The serial number determining unit 132 is configured to determine the wallpaper serial number corresponding to the currently displayed preview wallpaper according to the sliding times of the wallpaper sliding view, the sliding direction and the initial wallpaper position. The wallpaper selection unit 133 is configured to select a corresponding wallpaper from a pre-stored dynamic array of wallpapers as a target wallpaper according to the determined wallpaper serial number.

进一步的,序列号确定单元132包括初始化子单元和序列号计算子单元。初始化子单元,被配置为当移动终端进入壁纸选择模式时,初始化壁纸序列号。序列号计算子单元,被配置为根据壁纸滑动视图的滑动次数和滑动方向,当壁纸滑动视图每向右滑动一次时,壁纸序列号自增一次直至增加到预设最大值;当壁纸滑动视图每向左滑动一次时,壁纸序列号自减一次直至减为预设最小值。Further, the serial number determination unit 132 includes an initialization subunit and a serial number calculation subunit. The initialization subunit is configured to initialize the wallpaper serial number when the mobile terminal enters the wallpaper selection mode. The serial number calculation sub-unit is configured to be based on the sliding number and sliding direction of the sliding view of the wallpaper. When the sliding view of the wallpaper slides to the right every time, the serial number of the wallpaper is automatically incremented once until it increases to the preset maximum value; when the sliding view of the wallpaper slides every time When swiping left once, the serial number of the wallpaper is decremented by one time until it is reduced to the preset minimum value.

其中,初始化子单元还包括序列号存储单元。序列号存储单元,被配置为根据第三方壁纸的添加及删除,增大或减小移动终端进入壁纸选择模块时的初始壁纸对应的初始壁纸序列号,同时保存修改后的初始壁纸序列号。Wherein, the initialization subunit further includes a serial number storage unit. The serial number storage unit is configured to increase or decrease the initial wallpaper serial number corresponding to the initial wallpaper when the mobile terminal enters the wallpaper selection module according to the addition and deletion of third-party wallpapers, and save the modified initial wallpaper serial number at the same time.

相应的,本发明还提供了一种壁纸更换系统。由于本发明提供的壁纸更换系统的工作原理与本发明提供的壁纸更换方法的原理相同或相似,因此重复之处不再赘述。Correspondingly, the present invention also provides a wallpaper replacement system. Since the working principle of the wallpaper replacement system provided by the present invention is the same as or similar to the principle of the wallpaper replacement method provided by the present invention, the repetition will not be repeated.

参见图7,作为本发明的壁纸更换系统200的一具体实施例,其包括第二模式控制模块210、第二布局显示模块220、第二壁纸选择模块230、第二显示预览模块240和第二壁纸设置模块250。其中,第二模式选择模块,被配置为控制移动终端进入壁纸选择模式。第二布局显示模块220,被配置为在移动终端的当前显示桌面中显示壁纸预览缩略图布局。其中,壁纸预览缩略图布局包括壁纸滑动视图、壁纸设置按钮和壁纸滚动视图,且壁纸滑动视图位于当前显示桌面的上层,为透明视图。第二壁纸选择模块230,被配置为根据壁纸滚动视图的滚动或壁纸滑动视图的滑动由移动终端中选择目标壁纸。第二显示预览模块240,被配置为在当前显示桌面显示目标壁纸,形成壁纸预览视图。第二壁纸设置模块250,被配置为根据壁纸设置按钮的被点击,将移动终端的当前显示桌面的壁纸设置为目标壁纸,并控制移动终端退出壁纸选择模式。7, as a specific embodiment of the wallpaper replacement system 200 of the present invention, it includes a second mode control module 210, a second layout display module 220, a second wallpaper selection module 230, a second display preview module 240 and a second Wallpaper setting module 250 . The second mode selection module is configured to control the mobile terminal to enter the wallpaper selection mode. The second layout display module 220 is configured to display the wallpaper preview thumbnail layout in the currently displayed desktop of the mobile terminal. The wallpaper preview thumbnail layout includes a wallpaper sliding view, a wallpaper setting button, and a wallpaper scrolling view, and the wallpaper sliding view is located on the upper layer of the currently displayed desktop and is a transparent view. The second wallpaper selection module 230 is configured to select a target wallpaper from the mobile terminal according to the scrolling of the wallpaper scroll view or the sliding of the wallpaper sliding view. The second display preview module 240 is configured to display the target wallpaper on the currently displayed desktop to form a wallpaper preview view. The second wallpaper setting module 250 is configured to set the currently displayed desktop wallpaper of the mobile terminal as the target wallpaper according to the click of the wallpaper setting button, and control the mobile terminal to exit the wallpaper selection mode.

进一步的,参见图7,作为本发明的壁纸更换系统200的另一具体实施例,其第二壁纸设置模块250包括第二函数建立单元251。第二函数建立单元251,被配置为对壁纸设置按钮建立第二点击监听函数。当壁纸设置按钮被点击时,设置当前显示桌面的壁纸为目标壁纸,同时隐藏壁纸预览缩略图布局,并控制移动终端退出壁纸选择模式。当壁纸设置按钮未被点击时,则不进行任何操作。Further, referring to FIG. 7 , as another specific embodiment of the wallpaper replacement system 200 of the present invention, the second wallpaper setting module 250 includes a second function establishment unit 251 . The second function establishment unit 251 is configured to establish a second click listener function for the wallpaper setting button. When the wallpaper setting button is clicked, the wallpaper currently displayed on the desktop is set as the target wallpaper, the wallpaper preview thumbnail layout is hidden, and the mobile terminal is controlled to exit the wallpaper selection mode. When the wallpaper setting button is not clicked, it does nothing.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the patent of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims (21)

1. A wallpaper preview method is characterized by comprising the following steps:
controlling a mobile terminal to enter a wallpaper selection mode, keeping a current display desktop of the mobile terminal unchanged, and displaying a wallpaper preview thumbnail layout in the current display desktop of the mobile terminal; the wallpaper preview thumbnail layout comprises a wallpaper sliding view (100a) and a wallpaper rolling view (100b), the wallpaper sliding view (100a) is located at the upper layer of the current display desktop and is a transparent view, the wallpaper sliding view (100a) is used for switching between adjacent wallpapers according to detected sliding operation, and the wallpaper rolling view (100b) is used for selecting target wallpaper from prestored wallpapers according to detected rolling operation;
selecting a target wallpaper from the mobile terminal according to the scrolling of the wallpaper scrolling view (100b) or the sliding of the wallpaper sliding view (100a), and displaying the target wallpaper on the current display desktop to form a wallpaper preview view (100 d).
2. The method of claim 1, further comprising the steps of:
hiding the wallpaper scroll view (100b) when the target wallpaper is displayed on the currently displayed desktop, forming the wallpaper preview view (100 d).
3. The method according to claim 1, wherein controlling the mobile terminal to enter the wallpaper selection mode comprises the steps of:
switching the desktop state of the mobile terminal, and controlling the mobile terminal to enter the wallpaper selection mode;
the desktop state of the mobile terminal at least comprises a wallpaper state; and is
The wallpaper state corresponds to a display state of the wallpaper preview thumbnail layout.
4. The method of claim 1, wherein displaying a wallpaper preview thumbnail layout in a currently displayed desktop of the mobile terminal is performed by:
directly adding the wallpaper preview thumbnail layout in the desktop layout of the mobile terminal, setting the wallpaper preview thumbnail layout to be displayed when the mobile terminal enters the wallpaper selection mode, and realizing the wallpaper preview thumbnail layout in a hidden manner when the mobile terminal exits the wallpaper selection mode; or,
replacing a wallpaper clipping view in a wallpaper selection scheme preset in the mobile terminal with a desktop layout of the mobile terminal, and adding the wallpaper preview thumbnail layout in the desktop layout.
5. The method according to any one of claims 1 to 4, wherein a target wallpaper is selected from a pre-stored dynamic array of wallpapers in the mobile terminal in accordance with the scrolling of the wallpaper scroll view (100 b);
and selecting the target wallpaper from the wallpaper dynamic array according to the scrolling of the wallpaper scroll view (100b) by:
establishing a corresponding first click-to-listen function implementation for each wallpaper in the wallpaper scroll view (100 b).
6. The method according to any one of claims 1 to 4, wherein a target wallpaper is selected from a pre-stored wallpaper dynamic array in the mobile terminal according to the sliding of the wallpaper scroll view (100 b);
and, selecting the target wallpaper from the wallpaper dynamic array according to the sliding of the wallpaper scroll view (100b) comprises the following steps:
determining a wallpaper serial number corresponding to the wallpaper currently displaying the preview according to the sliding times, the sliding direction and the initial wallpaper position of the wallpaper sliding view (100 a);
and selecting corresponding wallpaper from the pre-stored wallpaper dynamic array as the target wallpaper according to the determined wallpaper serial number.
7. The method of claim 6, wherein the determining the wallpaper serial number corresponding to the wallpaper currently displaying the preview according to the sliding times, sliding direction and initial wallpaper position of the wallpaper sliding view (100a) comprises the following steps:
initializing the wallpaper serial number when the mobile terminal enters the wallpaper selection mode;
according to the sliding times and the sliding direction of the wallpaper sliding view (100a), when the wallpaper sliding view (100a) slides to the right once, the wallpaper serial number increases by once until the wallpaper serial number increases to a preset maximum value; when the wallpaper slide view (100a) slides every left, the wallpaper serial number decreases from one time to a preset minimum value.
8. The method as claimed in claim 7, wherein initializing the wallpaper serial number further comprises: and increasing or decreasing an initial wallpaper serial number corresponding to the initial wallpaper when the mobile terminal enters the wallpaper selection module according to the addition and deletion of the third party wallpaper, and simultaneously saving the modified initial wallpaper serial number.
9. The method of claim 5, wherein the wallpaper dynamic array comprises at least one of a URI wallpaper type, a file wallpaper type, a default wallpaper type, and a dynamic wallpaper type.
10. A wallpaper preview system (100) comprising a first mode control module (110), a first layout display module (120), a first wallpaper selection module (130), and a first display preview module (140);
the first mode control module (110) configured to control the mobile terminal to enter a wallpaper selection mode;
the first layout display module (120) is configured to keep a current display desktop of the mobile terminal unchanged, and display a wallpaper preview thumbnail layout in the current display desktop of the mobile terminal; the wallpaper preview thumbnail layout comprises a wallpaper sliding view (100a) and a wallpaper rolling view (100b), the wallpaper sliding view (100a) is located at the upper layer of the current display desktop and is a transparent view, the wallpaper sliding view (100a) is used for switching between adjacent wallpapers according to detected sliding operation, and the wallpaper rolling view (100b) is used for selecting target wallpaper from prestored wallpapers according to detected rolling operation;
the first wallpaper selection module (130) configured to select a target wallpaper from the mobile terminal according to the scrolling of the wallpaper scroll view (100b) or the sliding of the wallpaper slide view (100 a);
the first display preview module (140) is configured to display the target wallpaper at the currently displayed desktop, forming a wallpaper preview view (100 d).
11. The system of claim 10, wherein the first display preview module (140) is further configured to hide the wallpaper scroll view (100b) when the current display desktop displays the target wallpaper, forming the wallpaper preview view (100 d).
12. The system according to claim 10, characterized in that the first mode control module (110) comprises a state switching unit (111);
the state switching unit (111) is configured to switch a desktop state of the mobile terminal and control the mobile terminal to enter the wallpaper selection mode;
the desktop state of the mobile terminal at least comprises a wallpaper state; and is
The wallpaper state corresponds to a display state of the wallpaper preview thumbnail layout.
13. The system of claim 10, further comprising an add module and/or a replace module; wherein
The adding module is configured to directly add the wallpaper preview thumbnail layout in the desktop layout of the mobile terminal, set the wallpaper preview thumbnail layout to be displayed when the mobile terminal enters the wallpaper selection mode, and hide the wallpaper preview thumbnail layout when the mobile terminal exits the wallpaper selection mode;
the replacing module is configured to replace a wallpaper clipping view in a wallpaper selection scheme preset in the mobile terminal with a desktop layout of the mobile terminal, and add the wallpaper preview thumbnail layout in the desktop layout.
14. The system according to any of claims 10 to 13, wherein the first wallpaper selection module (130) comprises a first function establishing unit (131);
the first function establishing unit (131) is configured to establish a corresponding first click listening function for each wallpaper in the wallpaper scroll view (100 b).
15. The system according to any one of claims 10 to 13, wherein the first wallpaper selection module (130) comprises a serial number determination unit (132) and a wallpaper selection unit (133);
the serial number determination unit (132) is configured to determine a wallpaper serial number corresponding to the wallpaper currently displaying the preview according to the sliding times, the sliding direction and the initial wallpaper position of the wallpaper sliding view (100 a);
the wallpaper selecting unit (133) is configured to select a corresponding wallpaper from a wallpaper dynamic array prestored in the mobile terminal as the target wallpaper according to the determined wallpaper serial number.
16. The system according to claim 15, wherein the sequence number determination unit (132) comprises an initialization sub-unit and a sequence number calculation sub-unit;
the initialization subunit is configured to initialize the wallpaper serial number when the mobile terminal enters the wallpaper selection mode;
the serial number calculating subunit is configured to, according to the sliding times and sliding directions of the wallpaper sliding view (100a), when the wallpaper sliding view (100a) slides to the right once, the wallpaper serial number increases by once until the wallpaper serial number increases to a preset maximum value; when the wallpaper slide view (100a) slides every left, the wallpaper serial number decreases from one time to a preset minimum value.
17. The system of claim 16, wherein the initialization subunit further comprises a sequence number storage unit;
the serial number storage unit is configured to increase or decrease an initial wallpaper serial number corresponding to an initial wallpaper when the mobile terminal enters the wallpaper selection module according to addition and deletion of a third party wallpaper, and meanwhile, the modified initial wallpaper serial number is saved.
18. A wallpaper replacing method is characterized by comprising the following steps:
controlling a mobile terminal to enter a wallpaper selection mode, keeping a current display desktop of the mobile terminal unchanged, and displaying a wallpaper preview thumbnail layout in the current display desktop of the mobile terminal; the wallpaper preview thumbnail layout comprises a wallpaper sliding view (100a), a wallpaper setting button (100c) and a wallpaper rolling view (100b), the wallpaper sliding view (100a) is located on the upper layer of the current display desktop and is a transparent view, the wallpaper sliding view (100a) is used for switching between adjacent wallpapers according to detected sliding operation, and the wallpaper rolling view (100b) is used for selecting target wallpaper from prestored wallpapers according to detected rolling operation;
selecting a target wallpaper from the mobile terminal according to the scrolling of the wallpaper scroll view (100b) or the sliding of the wallpaper slide view (100a), and displaying the target wallpaper on the current display desktop to form a wallpaper preview view (100 d);
setting the wallpaper of the current display desktop of the mobile terminal as the target wallpaper according to the clicked wallpaper setting button (100c), and controlling the mobile terminal to exit the wallpaper selection mode.
19. The method according to claim 18, wherein the setting of the wallpaper of the currently displayed desktop of the mobile terminal as the target wallpaper according to the clicked wallpaper setting button (100c) is realized by establishing a second click listening function for the wallpaper setting button (100 c); wherein,
when the wallpaper setting button (100c) is clicked, setting the wallpaper of the current display desktop as the target wallpaper, hiding the layout of the wallpaper preview thumbnail and controlling the mobile terminal to exit the wallpaper selection mode;
when the wallpaper setting button (100c) is not clicked, no operation is performed.
20. A wallpaper change system (200) comprising a second mode control module (210), a second layout display module (220), a second wallpaper selection module (230), a second display preview module (240), and a second wallpaper setting module (250);
the second mode selection module is configured to control the mobile terminal to enter a wallpaper selection mode;
the second layout display module (220) is configured to keep a current display desktop of the mobile terminal unchanged, and display a wallpaper preview thumbnail layout in the current display desktop of the mobile terminal; the wallpaper preview thumbnail layout comprises a wallpaper sliding view (100a), a wallpaper setting button (100c) and a wallpaper rolling view (100b), the wallpaper sliding view (100a) is located on the upper layer of the current display desktop and is a transparent view, the wallpaper sliding view (100a) is used for switching between adjacent wallpapers according to detected sliding operation, and the wallpaper rolling view (100b) is used for selecting target wallpaper from prestored wallpapers according to detected rolling operation;
the second wallpaper selection module (230) configured to select a target wallpaper from the mobile terminal according to the scrolling of the wallpaper scroll view (100b) or the sliding of the wallpaper slide view (100 a);
the second display preview module (240) is configured to display the target wallpaper on the currently displayed desktop, forming a wallpaper preview view (100 d);
the second wallpaper setting module (250) is configured to set the wallpaper of the currently displayed desktop of the mobile terminal as the target wallpaper according to the clicked wallpaper setting button (100c), and control the mobile terminal to exit the wallpaper selection mode.
21. The system according to claim 20, wherein said second wallpaper setting module (250) comprises a second function establishing unit (251);
the second function establishing unit (251) is configured to establish a second click monitoring function for the wallpaper setting button (100 c);
when the wallpaper setting button (100c) is clicked, setting the wallpaper of the current display desktop as the target wallpaper, hiding the layout of the wallpaper preview thumbnail and controlling the mobile terminal to exit the wallpaper selection mode;
when the wallpaper setting button (100c) is not clicked, no operation is performed.
CN201511003949.8A 2015-12-25 2015-12-25 Wallpaper preview method and system and wallpaper replacement method and system Expired - Fee Related CN106919301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511003949.8A CN106919301B (en) 2015-12-25 2015-12-25 Wallpaper preview method and system and wallpaper replacement method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511003949.8A CN106919301B (en) 2015-12-25 2015-12-25 Wallpaper preview method and system and wallpaper replacement method and system

Publications (2)

Publication Number Publication Date
CN106919301A CN106919301A (en) 2017-07-04
CN106919301B true CN106919301B (en) 2020-04-07

Family

ID=59456217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511003949.8A Expired - Fee Related CN106919301B (en) 2015-12-25 2015-12-25 Wallpaper preview method and system and wallpaper replacement method and system

Country Status (1)

Country Link
CN (1) CN106919301B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517312A (en) * 2017-08-16 2017-12-26 广东小天才科技有限公司 Wallpaper switching method and device and terminal equipment
CN107688430B (en) * 2017-09-07 2020-04-14 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for replacing wallpaper
CN108228295A (en) * 2017-12-29 2018-06-29 努比亚技术有限公司 Wallpaper setting method, intelligent terminal and storage medium
CN108270920A (en) * 2018-01-16 2018-07-10 深圳市金立通信设备有限公司 A kind of wallpaper setting method, terminal and computer readable storage medium
CN108228902B (en) * 2018-02-08 2020-06-26 维沃移动通信有限公司 File display method and mobile terminal
CN109669604A (en) * 2018-12-13 2019-04-23 惠州Tcl移动通信有限公司 Desktop wallpaper display methods, device, mobile terminal and storage medium
CN109725800A (en) * 2018-12-14 2019-05-07 Oppo广东移动通信有限公司 Wallpaper setting method and device, terminal and storage medium
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment
CN111045673B (en) * 2019-11-29 2023-11-17 广州久邦世纪科技有限公司 A method and terminal for making dynamic wallpapers with real-time preview
CN111782099A (en) * 2020-07-06 2020-10-16 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for realizing preview of background picture
CN114329019A (en) * 2021-12-30 2022-04-12 珠海豹趣科技有限公司 Recommendation method and device for recommending wallpaper to desktop of user electronic equipment
CN120335684A (en) * 2024-01-10 2025-07-18 荣耀终端股份有限公司 Wallpaper editing method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130109893A (en) * 2012-03-28 2013-10-08 안종오 Method of providing mobile home-shopping service using homescreen wallpaper pages of smart terminals, and computer-readable recording medium with mobile home-shopping program for the same
CN104317499A (en) * 2014-10-23 2015-01-28 广州三星通信技术研究有限公司 Device and method for setting screen wallpaper in terminal
CN104750390A (en) * 2015-04-10 2015-07-01 广东欧珀移动通信有限公司 Desktop icon display method and device and electronic equipment
CN104750393A (en) * 2015-04-22 2015-07-01 广东欧珀移动通信有限公司 Wallpaper setting method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI374382B (en) * 2008-09-01 2012-10-11 Htc Corp Icon operation method and icon operation module
CN102819417B (en) * 2012-08-16 2015-07-15 小米科技有限责任公司 Picture display processing method and device
CN104679379B (en) * 2013-11-27 2018-11-27 阿里巴巴集团控股有限公司 Replace the method and device of screen locking application wallpaper
CN103645830A (en) * 2013-12-19 2014-03-19 广州市久邦数码科技有限公司 Method and system for wallpaper preview
CN104298431B (en) * 2014-09-29 2017-11-28 联想(北京)有限公司 A kind of information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130109893A (en) * 2012-03-28 2013-10-08 안종오 Method of providing mobile home-shopping service using homescreen wallpaper pages of smart terminals, and computer-readable recording medium with mobile home-shopping program for the same
CN104317499A (en) * 2014-10-23 2015-01-28 广州三星通信技术研究有限公司 Device and method for setting screen wallpaper in terminal
CN104750390A (en) * 2015-04-10 2015-07-01 广东欧珀移动通信有限公司 Desktop icon display method and device and electronic equipment
CN104750393A (en) * 2015-04-22 2015-07-01 广东欧珀移动通信有限公司 Wallpaper setting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Android典型技术模块开发详解;赵启朋;《Android典型技术模块开发详解》;20120831;全文 *

Also Published As

Publication number Publication date
CN106919301A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN106919301B (en) Wallpaper preview method and system and wallpaper replacement method and system
US12112024B2 (en) User interfaces for managing media styles
US20220391158A1 (en) Systems and Methods for Interacting with Multiple Display Devices
US10936153B2 (en) Method and apparatus for providing a user interface on a device enabling selection of operations to be performed in relation to content
CN105955607B (en) Content sharing method and device
US9081498B2 (en) Method and apparatus for adjusting a user interface to reduce obscuration
CN112148170A (en) Desktop element adjustment method, device and electronic device
US20130212529A1 (en) User interface for touch and swipe navigation
US20130227490A1 (en) Method and Apparatus for Providing an Option to Enable Multiple Selections
CN106951163B (en) A display control method and device
CN108984093B (en) Touch operation method, device, storage medium and electronic device
CN112637507B (en) Shooting method, shooting device, electronic equipment and readable storage medium
KR20130064458A (en) Display apparatus for displaying screen divided by a plurallity of area and method thereof
CN107092421B (en) Method and device for displaying control of application
CN108829314A (en) Screenshot selecting interface selection method, device, equipment and storage medium
CN106371901A (en) Application program switching method and device
CN110968364A (en) Method and device for adding shortcut plug-in and intelligent equipment
CN113407290B (en) Application notification display method, device and electronic device
CN111381738B (en) Interface display method, device, electronic device and storage medium
WO2022267433A1 (en) Video resource processing method and apparatus
CN111782113B (en) Display method, display device and computer-readable storage medium
CN115705124A (en) Application folder control method, device, terminal device and storage medium
CN111857474A (en) Application control method, device and electronic device
CN111026476A (en) Lock screen display control method, terminal and computer readable storage medium
WO2023093637A1 (en) Method and apparatus for processing incoming call display interface, and electronic device

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200407

CF01 Termination of patent right due to non-payment of annual fee