WO2017152590A1 - 一种晃动移动终端更换壁纸的方法和装置 - Google Patents

一种晃动移动终端更换壁纸的方法和装置 Download PDF

Info

Publication number
WO2017152590A1
WO2017152590A1 PCT/CN2016/096960 CN2016096960W WO2017152590A1 WO 2017152590 A1 WO2017152590 A1 WO 2017152590A1 CN 2016096960 W CN2016096960 W CN 2016096960W WO 2017152590 A1 WO2017152590 A1 WO 2017152590A1
Authority
WO
WIPO (PCT)
Prior art keywords
wallpaper
shaking
mobile terminal
acceleration
interface
Prior art date
Application number
PCT/CN2016/096960
Other languages
English (en)
French (fr)
Inventor
赵洪涛
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017152590A1 publication Critical patent/WO2017152590A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Definitions

  • Embodiments of the present invention relate to the field of wallpapers, and in particular, to a method and apparatus for shaking a mobile terminal to replace a wallpaper.
  • the inventor finds that in the prior art, when a user replaces a wallpaper with a mobile phone, the user needs to unlock the mobile phone first, and then find a picture to be set as a wallpaper in the picture gallery of the mobile phone, and then the picture is taken. Set to your phone's lock screen wallpaper or desktop wallpaper.
  • the way of setting wallpapers in the prior art is not intelligent enough to meet the increasing personalization requirements of users.
  • the embodiment of the present invention provides a method for shaking a mobile terminal to replace a wallpaper.
  • the acceleration value generated by the shaking operation is used as a swaying acceleration value by responding to the shaking operation; if the swaying acceleration value is greater than the preset acceleration threshold, the replacement is generated.
  • the wallpaper request if the display interface of the screen display of the mobile terminal is detected as the target interface, the user replaces the wallpaper request, replaces the wallpaper with the target interface, and the target interface is the display interface of the replaceable wallpaper.
  • an embodiment of the present invention provides a method for shaking a mobile terminal to replace a wallpaper, including:
  • Step S001 in response to the shaking operation, the acceleration value generated by the shaking operation is used as a shaking acceleration value;
  • Step S002 if the sway acceleration value is greater than a preset acceleration threshold, generating a wallpaper replacement request
  • Step S003 If it is detected that the display interface displayed on the screen of the mobile terminal is the target interface, respond to the request for replacing the wallpaper, and replace the wallpaper with the target interface, where the target interface is a display interface of the replaceable wallpaper.
  • the target interface includes a lock screen interface or a desktop interface, where the lock screen interface is a display interface when the mobile terminal is locked, and the desktop interface is a desktop of the mobile terminal.
  • UI graphical user interface
  • the method further includes: determining that the swaying step is performed: the mobile terminal is continuously swayed twice, and the swaying acceleration values corresponding to the swaying are respectively greater than a preset acceleration threshold, respectively, and determining twice Time interval between the shaking;
  • step S003 responds to the replacement wallpaper request generated by the first sway of the sway twice, and does not respond to the second sway generated in the sway twice.
  • the replacement wallpaper request
  • step S003 responds to the replacement wallpaper request generated by the first one of the shakings twice, and responds to the second shaking of the shaking twice.
  • the resulting replacement wallpaper request is generated.
  • a menu setting step is further included: acquiring a state value of the shaking and changing wallpaper menu item, wherein the state value of the shaking and changing wallpaper menu item comprises a closed state and an open state;
  • the mobile terminal If the shaking and changing wallpaper menu item is in the open state, the mobile terminal is responsive to the shaking operation; if the shaking and changing wallpaper menu item is in the closed state, the mobile terminal does not respond to the shaking operation .
  • the sway acceleration value in the step S001 is acquired by an acceleration sensor of the mobile terminal, and a sensation function is set to the acceleration sensor, if the swaying function monitors the sway acceleration acquired by the acceleration sensor If the value changes, the sway acceleration value is obtained;
  • the listening function pauses monitoring of the acceleration sensor; if the shaking and changing wallpaper menu item is in the open state, the listening function is turned on. The monitoring performed by the acceleration sensor.
  • an embodiment of the present invention further provides an apparatus for shaking a mobile terminal to replace a wallpaper, including:
  • Responding to the shaking operation module configured to respond to the shaking operation, and use the acceleration value generated by the shaking operation as the shaking acceleration value;
  • Generating a replacement wallpaper request module configured to generate a wallpaper replacement request if the sway acceleration value is greater than a preset acceleration threshold
  • the target interface includes a lock screen interface or a desktop interface
  • the lock screen interface is a display interface when the mobile terminal is locked
  • the desktop interface is a desktop of the mobile terminal. Display interface.
  • the device further includes a step of determining a continuous shaking: the mobile terminal is continuously shaken twice, and the shaking acceleration values corresponding to the two shakings are respectively greater than a preset acceleration threshold, and then determining the two times The time interval between shaking;
  • the replacement wallpaper module responds to the replacement wallpaper request generated by the first sway of the sway twice, and does not respond to the second sway in the sway twice The replacement wallpaper request generated;
  • the replacement wallpaper module responds to the replacement wallpaper request generated by the first one of the shakings twice, and responds to the second of the shaking twice.
  • the replacement wallpaper request generated by the shaking If the time interval is not less than a preset time interval threshold, the replacement wallpaper module responds to the replacement wallpaper request generated by the first one of the shakings twice, and responds to the second of the shaking twice.
  • the replacement wallpaper request generated by the shaking If the time interval is not less than a preset time interval threshold, the replacement wallpaper module responds to the replacement wallpaper request generated by the first one of the shakings twice, and responds to the second of the shaking twice.
  • the device further comprises a menu setting step of: acquiring a state value of the shaking and changing wallpaper menu item, wherein the state value of the shaking and changing wallpaper menu item comprises a closed state and an open state;
  • the mobile terminal If the shaking and changing wallpaper menu item is in the open state, the mobile terminal is responsive to the shaking operation; if the shaking and changing wallpaper menu item is in the closed state, the mobile terminal does not respond to the shaking operation .
  • the sway acceleration value in the response sway operation module is acquired by an acceleration sensor of the mobile terminal, and a sensation function is set to the acceleration sensor, if the sniffer function monitors the acquired by the acceleration sensor If the sway acceleration value changes, the sway acceleration value is obtained;
  • the listening function pauses monitoring of the acceleration sensor; if the shaking and changing wallpaper menu item is in the open state, the listening function is turned on. The monitoring performed by the acceleration sensor.
  • An embodiment of the present invention further provides an apparatus for shaking a mobile terminal to replace a wallpaper, including:
  • processor and the memory complete communication with each other through the bus
  • the processor is configured to invoke logic instructions in the memory to perform the following methods:
  • Step S001 in response to the shaking operation, the acceleration value generated by the shaking operation is used as a shaking acceleration value;
  • Step S002 if the sway acceleration value is greater than a preset acceleration threshold, generating a wallpaper replacement request
  • Step S003 If it is detected that the display interface displayed on the screen of the mobile terminal is the target interface, respond to the request for replacing the wallpaper, and replace the wallpaper with the target interface, where the target interface is a display interface of the replaceable wallpaper.
  • the embodiment of the invention further provides a computer program, comprising program code, wherein the program code is used to perform the following operations:
  • Step S001 in response to the shaking operation, the acceleration value generated by the shaking operation is used as a shaking acceleration value;
  • Step S002 if the sway acceleration value is greater than a preset acceleration threshold, generating a wallpaper replacement request
  • Step S003 If it is detected that the display interface displayed on the screen of the mobile terminal is the target interface, respond to the request for replacing the wallpaper, and replace the wallpaper with the target interface, where the target interface is a display interface of the replaceable wallpaper.
  • the embodiment of the invention further provides a storage medium for storing the above computer program.
  • the acceleration value generated by the shaking operation is used as the shaking acceleration value; if the shaking acceleration value is greater than the preset acceleration threshold, the wallpaper replacement request is generated; if the display interface of the screen display of the mobile terminal is detected as the target interface, In response to the replacement wallpaper request, the wallpaper is replaced on the target interface, and the target interface is the display interface of the replaceable wallpaper.
  • An embodiment of the present invention provides a A more intelligent way to replace the wallpaper of the mobile terminal, so that the way the user replaces the wallpaper is more personalized.
  • FIG. 1 is a flow chart of a method of shaking a mobile terminal to replace a wallpaper according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a method of shaking a mobile terminal to replace a wallpaper according to another embodiment of the present invention
  • FIG. 3 is a block diagram of an apparatus for shaking a mobile terminal to replace a wallpaper according to another embodiment of the present invention
  • FIG. 4 is a logic block diagram of an apparatus for shaking a mobile terminal to replace a wallpaper according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for shaking a mobile terminal to replace a wallpaper, comprising: step S001, in response to a shaking operation, using an acceleration value generated by a shaking operation as a shaking acceleration value; and step S002, if the shaking acceleration value is greater than a preset The acceleration threshold is generated to generate a wallpaper replacement request; in step S003, if it is detected that the display interface displayed on the screen of the mobile terminal is the target interface, the wallpaper is replaced in response to the replacement wallpaper request, and the target interface is a display interface of the replaceable wallpaper.
  • step S001 for example, when the user shakes the mobile phone to change the lock screen wallpaper of the mobile phone, when the user shakes the mobile phone, the acceleration sensor of the mobile phone generates acceleration data, and the acceleration data includes the acceleration value.
  • step S002 if the acceleration value generated by the mobile phone is greater than the preset acceleration threshold, it is considered that the shaking generated by the mobile phone this time indicates that the user wants to replace the mobile phone desktop wallpaper or the lock screen wallpaper, and a wallpaper replacement request is generated.
  • the preset acceleration threshold is 30g, if this time
  • the acceleration value of the shaking of the mobile phone is 40g, which means that the shaking of the mobile phone this time is to change the desktop wallpaper or the lock screen wallpaper of the mobile phone, and generate a request for replacing the wallpaper.
  • step S003 when the mobile phone system determines that the shaking of the mobile phone is a request for replacing the wallpaper, it is determined whether the current display interface of the mobile phone is a lock screen interface or a desktop interface, and if it is one of the two, responding to the request for replacing the wallpaper , automatically select a picture from the wallpaper library to update the wallpaper of the current display interface.
  • the acceleration value generated by the shaking operation is used as the shaking acceleration value; if the shaking acceleration value is greater than the preset acceleration threshold, the wallpaper replacement request is generated; if the display interface of the screen display of the mobile terminal is detected as the target interface, In response to the replacement wallpaper request, the wallpaper is replaced on the target interface, and the target interface is the display interface of the replaceable wallpaper.
  • the problem that the user sets the wallpaper in the prior art is cumbersome and not intelligent enough.
  • the embodiment of the invention provides a more intelligent way of replacing the wallpaper of the mobile terminal, and the way for the user to replace the wallpaper is also more personalized.
  • the target interface includes a lock screen interface or a desktop interface
  • the lock screen interface is a display interface when the mobile terminal is locked
  • the desktop interface is a display interface of the desktop of the mobile terminal.
  • the general user's usage habit is to replace the lock screen interface and the desktop interface of the mobile terminal.
  • the method further comprises: determining a continuous shaking step: the mobile terminal is continuously shaken twice, and the shaking acceleration values corresponding to the two shaking are respectively greater than a preset acceleration threshold, respectively, determining that the shaking is performed twice If the time interval is less than the preset time interval threshold, step S003 responds to the replacement wallpaper request generated by the first shaking in the two shaking, and does not respond to the replacement wallpaper request generated by the second shaking in the two shaking. If the time interval is not less than the preset time interval threshold, step S003 responds to the replacement wallpaper request generated by the first shaking of the two shaking, and responds to the replacement wallpaper request generated by the second shaking of the two shaking.
  • the user uses the mobile phone, after shaking the mobile phone once, then shaking this time and shaking the mobile phone once, then it is necessary to detect the time interval between the two shaking, if the time interval between the two shaking is less than the pre- Set the interval threshold to represent the second of the two shakes
  • the secondary shaking is invalid shaking, which may be a user's misoperation.
  • the replacement wallpaper request generated by the second shaking is not responded.
  • the time interval between the two shaking is not less than the preset time interval threshold, it means that the second shaking in the two shaking is effective shaking, and the user may be dissatisfied with the wallpaper of the first shaking, so the first After the second shaking, it is necessary to respond to the request for replacement of the wallpaper generated by the second shaking, and replace the wallpaper with the mobile phone.
  • the preset time interval threshold is generally reasonable to choose 3S. By detecting the time interval between two consecutive shaking of the mobile phone, the user's misoperation is eliminated by the preset time interval threshold.
  • a menu setting step is further included: obtaining a state value of the shaking and changing wallpaper menu item, and shaking the state value of the wallpaper menu item includes a closed state and an open state; if the shaking and changing wallpaper menu item is When the state is on, the mobile terminal responds to the shaking operation; if the shaking and changing wallpaper menu item is in the closed state, the mobile terminal does not respond to the shaking operation.
  • the mobile terminal system By setting a shaking and changing wallpaper menu item in the setting item of the mobile terminal system to facilitate user selection, when the user selects to open the shaking and changing wallpaper menu item, the mobile terminal system will obtain the shaking and changing wallpaper menu item at this time, and the state is turned on. The mobile terminal responds to the shaking operation; when the user selects to close the shaking and changing wallpaper menu item, the mobile terminal system obtains the shaking and changing wallpaper menu item to be in the closed state, and the mobile terminal does not respond to the shaking operation.
  • the sway acceleration value is acquired by the acceleration sensor of the mobile terminal in step S001, and the swaying acceleration function is set. If the swaying acceleration value obtained by the acceleration sensor is monitored by the swaying function, the sway acceleration is obtained. The value; if the shaking wallpaper item is off, the listening function pauses the monitoring of the acceleration sensor; if the shaking wallpaper item is turned on, the listening function turns on the monitoring of the acceleration sensor.
  • Today's mobile terminals are generally equipped with an acceleration sensor, so it is more reasonable to use the acceleration sensor to detect the acceleration value of the mobile terminal.
  • the shaking and changing wallpaper menu item is provided in the system setting item of the mobile terminal.
  • the shaking and changing wallpaper menu item is in an open state, and when the user selects to close the wallpaper changing menu item, the shaking and changing the wallpaper menu item is Is off.
  • the shaking and changing the wallpaper menu item is Is off.
  • the main task process of the mobile terminal does not need to be interrupted frequently to detect the acceleration data of the acceleration sensor. No change occurs, but another process or thread listens for changes in the acceleration data, thus ensuring the execution of the task by the main task process. Improve the efficiency of the mobile system processing tasks.
  • a wallpaper replacement request is generated, and if the screen display of the mobile terminal is detected, the display interface is The target interface responds to the request to replace the wallpaper and replaces the wallpaper with the target interface.
  • Step S201 setting a listening function for the acceleration sensor of the mobile phone; step S202, detecting whether the shaking and changing wallpaper menu item in the system setting item is in an open state; if the state is in an open state, causing the monitoring function to start monitoring the acceleration sensing; step S203
  • the monitoring function monitors the acceleration data of the acceleration sensor to change, the monitoring function obtains the acceleration value as the sway acceleration value; in step S204, the sway acceleration value is compared with the preset acceleration threshold, and if the sway acceleration value is greater than the acceleration threshold, the replacement wallpaper is generated.
  • step S205 the mobile phone system receives the request for replacing the wallpaper, and determines whether the display interface displayed by the mobile phone at this time is the lock screen interface of the locked mobile phone or the desktop interface of the display desktop of the mobile phone; in step S206, if the display interface of the mobile phone is a lock Screen interface or desktop interface, in response to the replacement wallpaper request, automatically get a picture from the phone's wallpaper library or photo gallery set to mobile wallpaper.
  • an embodiment of the present invention provides an apparatus for shaking a mobile terminal to replace a wallpaper, including:
  • the response shaking operation module 301 is configured to respond to the shaking operation, and use the acceleration value generated by the shaking operation as the shaking acceleration value;
  • the replacement wallpaper module 303 is configured to: if the display interface of the screen display of the mobile terminal is detected as the target interface, respond to the wallpaper replacement request, replace the wallpaper with the target interface, and the target interface is a display interface of the replaceable wallpaper.
  • the target interface includes a lock screen interface or a desktop interface
  • the lock screen interface is a display interface when the mobile terminal is locked
  • the desktop interface is a display interface of the desktop of the mobile terminal.
  • the apparatus further includes the step of determining a continuous shaking: the mobile terminal is continuously shaken twice, and the sway acceleration values corresponding to the two shakings are respectively greater than a preset acceleration threshold, and the time between the two shaking is determined. interval;
  • the replacement wallpaper module responds to the replacement wallpaper request generated by the first shaking in the two shaking, and does not respond to the replacement wallpaper request generated by the second shaking in the two shaking;
  • the replacement wallpaper module responds to the replacement wallpaper request generated by the first shaking in the two shaking, and responds to the replacement wallpaper request generated by the second shaking of the two shaking.
  • the apparatus further includes a menu setting step of: obtaining a status value of the shaking and changing wallpaper menu item, and shaking the status value of the wallpaper item includes a closed state and an open state;
  • the mobile terminal If the shaking and changing wallpaper menu item is in the on state, the mobile terminal responds to the shaking operation; if the shaking and changing wallpaper menu item is in the off state, the mobile terminal does not respond to the shaking operation.
  • the sway acceleration value in the response sway operation module 301 is acquired by the acceleration sensor of the mobile terminal, and the sensation function is set to the acceleration sensor. If the swaying acceleration value obtained by the swaying sensor is monitored by the swaying function, the swaying acceleration value is changed. Obtain the sway acceleration value;
  • the listening function pauses the monitoring of the acceleration sensor; if the shaking wallpaper item is turned on, the listening function turns on the monitoring of the acceleration sensor.
  • the device for shaking a mobile terminal to replace a wallpaper according to an embodiment of the present invention includes:
  • processor 41 a processor 41, a memory 42 and a bus 43;
  • processor 41 and the memory 42 complete communication with each other through the bus 43;
  • the processor 41 is configured to invoke logic instructions in the memory to perform the following method
  • Step S001 in response to the shaking operation, the acceleration value generated by the shaking operation is used as a shaking acceleration value;
  • Step S002 if the sway acceleration value is greater than a preset acceleration threshold, generating a wallpaper replacement request
  • Step S003 If it is detected that the display interface displayed on the screen of the mobile terminal is the target interface, respond to the request for replacing the wallpaper, and replace the wallpaper with the target interface, where the target interface is a display interface of the replaceable wallpaper.
  • the embodiment of the invention further provides a computer program, comprising program code, wherein the program code is used to perform the following operations:
  • Step S001 in response to the shaking operation, the acceleration value generated by the shaking operation is used as a shaking acceleration value;
  • Step S002 if the sway acceleration value is greater than a preset acceleration threshold, generating a wallpaper replacement request
  • Step S003 If it is detected that the display interface displayed on the screen of the mobile terminal is the target interface, respond to the request for replacing the wallpaper, and replace the wallpaper with the target interface, where the target interface is a display interface of the replaceable wallpaper.
  • Embodiments of the present invention also provide a storage medium for storing the above computer program.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • the portion may be embodied in the form of a software product, which may be stored in a computer readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including instructions for causing a computer device (may be A personal computer, server, or network device, etc.) performs the methods described in various embodiments or portions of the embodiments.
  • a computer readable storage medium such as a ROM/RAM, a magnetic disk, an optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例提出一种晃动移动终端更换壁纸的方法,包括:步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。本发明实施例还提出一种晃动移动终端更换壁纸的装置。本发明实施例提供了一种更加智能的更换移动终端壁纸的方式,使用户更换壁纸的方式也更加的个性化。

Description

一种晃动移动终端更换壁纸的方法和装置
交叉引用
本申请引用于2016年3月7日提交的专利名称为“一种晃动移动终端更换壁纸的方法和装置”的第2016101276893号中国专利申请,其通过引用被全部并入本申请。
技术领域
本发明实施例涉及壁纸领域,尤其涉及一种晃动移动终端更换壁纸的方法和装置。
背景技术
随着手机使用的增多,用户对手机的锁屏壁纸和桌面壁纸的要求也越来越高,除了可以任意更换壁纸外,更换壁纸时还要求更加方便,快捷和智能。
在实现本发明实施例的过程中,发明人发现现有技术中,用户对手机更换壁纸时,需要先对手机解锁,然后在手机的图片库中找到要设置为壁纸的图片,然后将该图片设置为手机的锁屏壁纸或桌面壁纸。现有技术中设置壁纸的方式不够智能化,不能满足用户越来越高的个性化需求。
因此,有必要改进上面提到的缺陷。
发明内容
基于以上问题,本发明实施例提出一种晃动移动终端更换壁纸的方法,通过响应晃动操作,将晃动操作产生的加速度值作为晃动加速度值;若晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;若检测到移动终端的屏幕显示的显示界面为目标界面,则响应更换壁纸请求,对目标界面更换壁纸,目标界面为可更换壁纸的显示界面的方式解决了现有技术中用户设置壁纸步骤繁琐,不够智能化的问题。
一方面,本发明实施例提出一种晃动移动终端更换壁纸的方法,包括:
步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
优选地,所述步骤S003中,所述目标界面包括锁屏界面或桌面界面,所述锁屏界面为所述移动终端被锁定时的显示界面,所述桌面界面为所述移动终端的桌面的显示界面。
优选地,所述步骤S002之后还包括判断连续晃动步骤:所述移动终端被连续晃动两次,且两次所述晃动对应的所述晃动加速度值分别大于预设的加速度阈值,则判断两次所述晃动之间的时间间隔;
若所述时间间隔小于预设的时间间隔阈值,则步骤S003响应两次所述晃动中的第一次晃动产生的所述更换壁纸请求,不响应两次所述晃动中的第二次晃动产生的所述更换壁纸请求;
若所述时间间隔不小于预设的时间间隔阈值,则步骤S003响应两次所述晃动中的第一次晃动产生的所述更换壁纸请求,且响应两次所述晃动中的第二次晃动产生的所述更换壁纸请求。
优选地,在所述步骤S001之前还包括菜单设置步骤:获取摇晃换壁纸菜单项的状态值,所述摇晃换壁纸菜单项的状态值包括关闭状态和开启状态;
若所述摇晃换壁纸菜单项为所述开启状态,则所述移动终端响应所述晃动操作;若所述摇晃换壁纸菜单项为所述关闭状态,则所述移动终端不响应所述晃动操作。
优选地,所述步骤S001中所述晃动加速度值由所述移动终端的加速度传感器所获取,对所述加速度传感器设置监听函数,若所述监听函数监听到所述加速度传感器获取的所述晃动加速度值发生变化,则去获取所述晃动加速度值;
若所述摇晃换壁纸菜单项为所述关闭状态,则所述监听函数暂停对所述加速度传感器进行的监听;若所述摇晃换壁纸菜单项为所述开启状态,则所述监听函数开启对所述加速度传感器进行的监听。
另一方面,本发明实施例还提出一种晃动移动终端更换壁纸的装置,包括:
响应晃动操作模块,用于响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
产生更换壁纸请求模块,用于若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
更换壁纸模块,用于若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
优选地,所述更换壁纸模块中,所述目标界面包括锁屏界面或桌面界面,所述锁屏界面为所述移动终端被锁定时的显示界面,所述桌面界面为所述移动终端的桌面的显示界面。
优选地,所述装置还包括判断连续晃动步骤:所述移动终端被连续晃动两次,且两次所述晃动对应的所述晃动加速度值分别大于预设的加速度阈值,则判断两次所述晃动之间的时间间隔;
若所述时间间隔小于预设的时间间隔阈值,则更换壁纸模块响应两次所述晃动中的第一次晃动产生的所述更换壁纸请求,不响应两次所述晃动中的第二次晃动产生的所述更换壁纸请求;
若所述时间间隔不小于预设的时间间隔阈值,则更换壁纸模块响应两次所述晃动中的第一次晃动产生的所述更换壁纸请求,且响应两次所述晃动中的第二次晃动产生的所述更换壁纸请求。
优选地,所述装置还包括菜单设置步骤:获取摇晃换壁纸菜单项的状态值,所述摇晃换壁纸菜单项的状态值包括关闭状态和开启状态;
若所述摇晃换壁纸菜单项为所述开启状态,则所述移动终端响应所述晃动操作;若所述摇晃换壁纸菜单项为所述关闭状态,则所述移动终端不响应所述晃动操作。
优选地,所述响应晃动操作模块中所述晃动加速度值由所述移动终端的加速度传感器所获取,对所述加速度传感器设置监听函数,若所述监听函数监听到所述加速度传感器获取的所述晃动加速度值发生变化,则去获取所述晃动加速度值;
若所述摇晃换壁纸菜单项为所述关闭状态,则所述监听函数暂停对所述加速度传感器进行的监听;若所述摇晃换壁纸菜单项为所述开启状态,则所述监听函数开启对所述加速度传感器进行的监听。
本发明实施例还提出一种晃动移动终端更换壁纸的装置,包括:
处理器、存储器和总线;
其中,所述处理器和存储器通过所述总线完成相互间的通信;
所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法:
步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
本发明实施例还提出了一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:
步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
本发明实施例还提供了一种存储介质,用于存储上述的计算机程序。
采用上述技术方案,具有以下有益效果:
通过响应晃动操作,将晃动操作产生的加速度值作为晃动加速度值;若晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;若检测到移动终端的屏幕显示的显示界面为目标界面,则响应更换壁纸请求,对目标界面更换壁纸,目标界面为可更换壁纸的显示界面的方式解决了现有技术中用户设置壁纸步骤繁琐,不够智能化的问题。本发明实施例提供了一 种更加智能的更换移动终端壁纸的方式,使用户更换壁纸的方式也更加的个性化。
附图说明
图1是根据本发明一个实施例的晃动移动终端更换壁纸的方法的流程图;
图2是根据本发明另一个实施例的晃动移动终端更换壁纸的方法的流程图;
图3是根据本发明另一个实施例的晃动移动终端更换壁纸的装置的框图;
图4为本发明一个实施例的晃动移动终端更换壁纸的装置的逻辑框图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参照图1,本发明实施例提出一种晃动移动终端更换壁纸的方法,包括:步骤S001,响应晃动操作,将晃动操作产生的加速度值作为晃动加速度值;步骤S002,若晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;步骤S003,若检测到移动终端的屏幕显示的显示界面为目标界面,则响应更换壁纸请求,对目标界面更换壁纸,目标界面为可更换壁纸的显示界面。
在步骤S001中,以用户晃动手机想要更换手机的锁屏壁纸为例,当用户晃动手机,手机的加速度传感器产生加速度数据,加速度数据中包含加速度值。
在步骤S002中,如果手机产生的加速度值大于预设的加速度阈值,那么认为这一次对手机产生的晃动表示用户想要更换手机桌面壁纸或锁屏壁纸,此时产生更换壁纸请求。如:预设的加速度阈值为30g,若本次 对手机产生的晃动的加速度值为40g,那么表示这一次对手机的晃动是希望更换手机的桌面壁纸或锁屏壁纸,产生更换壁纸请求。通过设置加速度阈值可以将用户无意中对手机的晃动忽略掉。
步骤S003中,当手机系统判断出对手机的晃动为更换壁纸请求,那么判断此时手机当前的显示界面是否为锁屏界面或桌面界面,若为二者之一,则响应所述更换壁纸请求,从壁纸库中自动选择一张图片更新为当前显示界面的壁纸。
通过响应晃动操作,将晃动操作产生的加速度值作为晃动加速度值;若晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;若检测到移动终端的屏幕显示的显示界面为目标界面,则响应更换壁纸请求,对目标界面更换壁纸,目标界面为可更换壁纸的显示界面的方式解决了现有技术中用户设置壁纸步骤繁琐,不够智能化的问题。本发明实施例提供了一种更加智能的更换移动终端壁纸的方式,使用户更换壁纸的方式也更加的个性化。
在其中的一个实施例中,步骤S003中,目标界面包括锁屏界面或桌面界面,锁屏界面为移动终端被锁定时的显示界面,桌面界面为移动终端的桌面的显示界面。
在使用移动终端时,一般用户的使用习惯为更换移动终端的锁屏界面和桌面界面。
在其中的一个实施例中,步骤S002之后还包括判断连续晃动步骤:移动终端被连续晃动两次,且两次晃动对应的晃动加速度值分别大于预设的加速度阈值,则判断两次晃动之间的时间间隔;若时间间隔小于预设的时间间隔阈值,则步骤S003响应两次晃动中的第一次晃动产生的更换壁纸请求,不响应两次晃动中的第二次晃动产生的更换壁纸请求;若时间间隔不小于预设的时间间隔阈值,则步骤S003响应两次晃动中的第一次晃动产生的更换壁纸请求,且响应两次晃动中的第二次晃动产生的更换壁纸请求。
如果用户使用手机时,对手机晃动一次后,紧接着这一次晃动,又对手机有一次晃动,那么此时需要检测两次晃动之间的时间间隔,如果两次晃动之间的时间间隔小于预设的时间间隔阈值,则代表两次晃动中的第二 次晃动为无效晃动,可能为用户误操作,此时不响应第二次晃动产生的更换壁纸请求。如果两次晃动之间的时间间隔不小于预设的时间间隔阈值,则代表两次晃动中的第二次晃动为有效晃动,可能用户对第一次晃动更换的壁纸不满意,所以进行了第二次晃动,此时需要响应第二次晃动产生的更换壁纸请求,对手机进行壁纸的更换。预设的时间间隔阈值一般选择3S比较合理。通过对手机的连续两次晃动间的时间间隔进行检测,通过预设的时间间隔阈值排除掉用户的误操作。
在其中的一个实施例中,在步骤S001之前还包括菜单设置步骤:获取摇晃换壁纸菜单项的状态值,摇晃换壁纸菜单项的状态值包括关闭状态和开启状态;若摇晃换壁纸菜单项为开启状态,则移动终端响应晃动操作;若摇晃换壁纸菜单项为关闭状态,则移动终端不响应晃动操作。
通过在移动终端系统的设置项里面设置一个摇晃换壁纸菜单项方便用户选择,当用户选择开启摇晃换壁纸菜单项时,移动终端系统会获取到此时摇晃换壁纸菜单项为开启状态,此时移动终端响应晃动操作;当用户选择关闭摇晃换壁纸菜单项时,移动终端系统会获取到此时摇晃换壁纸菜单项为关闭状态,此时移动终端不响应晃动操作。
在其中的一个实施例中,步骤S001中晃动加速度值由移动终端的加速度传感器所获取,对加速度传感器设置监听函数,若监听函数监听到加速度传感器获取的晃动加速度值发生变化,则去获取晃动加速度值;若摇晃换壁纸菜单项为关闭状态,则监听函数暂停对加速度传感器进行的监听;若摇晃换壁纸菜单项为开启状态,则监听函数开启对加速度传感器进行的监听。
现在的移动终端一般都会配置有加速度传感器,所以通过加速度传感器去检测移动终端的加速度值是更合理的选择。
在移动终端的系统设置项里面提供摇晃换壁纸菜单项,当用户选择开启摇晃换壁纸菜单项时,摇晃换壁纸菜单项处于开启状态,当用户选择关闭换壁纸菜单项时,摇晃换壁纸菜单项处于关闭状态。通过设置摇晃换壁纸菜单项为用户提供便捷的选择。
通过对移动终端的加速度传感器设置监听函数的方式,使移动终端的主要任务进程不需要经常中断下来去检测加速度传感器的加速度数据是 否发生变化,而是通过另一个进程或线程去监听加速度数据的变化,这样保证了主要任务进程对任务的执行。提高了手机系统处理任务的效率。
当摇晃换壁纸菜单项为关闭状态时,此时不需要响应晃动操作,所以不需要对加速度传感器数据进行监听,此时将暂停监听函数对加速度传感器进行的监听;当摇晃换壁纸菜单项为开启状态时,此时需要响应晃动操作,所以需要对加速度传感器数据进行监听,此时将开启监听函数对加速度传感器进行的监听。
参照图2,作为本发明实施例的最佳实施例,通过判断移动终端被晃动产生的晃动加速度值大于预设的加速度阈值,产生更换壁纸请求,若检测到移动终端的屏幕显示的显示界面为目标界面,则响应更换壁纸请求,对目标界面更换壁纸的方式实现。以手机为例进行说明。步骤S201,为手机的加速度传感器设置监听函数;步骤S202,检测系统设置项中的摇晃换壁纸菜单项是否为开启状态,若为开启状态,使监听函数启动对加速度传感起的监听;步骤S203,监听函数监听到加速度传感器的加速度数据发生改变,监听函数获取加速度值作为晃动加速度值;步骤S204,将晃动加速度值与预设的加速度阈值比较,若晃动加速度值大于加速度阈值,则产生更换壁纸请求;步骤S205,手机系统接收到更换壁纸请求,判断此时的手机显示的显示界面是否为锁定手机的锁屏界面或为手机的显示桌面的桌面界面;步骤S206,若手机的显示界面为锁屏界面或桌面界面,则响应更换壁纸请求,自动从手机的壁纸库或图片库中获取一张图片设置为手机壁纸。
参照图3,本发明实施例提出一种晃动移动终端更换壁纸的装置,包括:
响应晃动操作模块301,用于响应晃动操作,将晃动操作产生的加速度值作为晃动加速度值;
产生更换壁纸请求模块302,用于若晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
更换壁纸模块303,用于若检测到移动终端的屏幕显示的显示界面为目标界面,则响应更换壁纸请求,对目标界面更换壁纸,目标界面为可更换壁纸的显示界面。
在其中的一个实施例中,更换壁纸模块303中,目标界面包括锁屏界面或桌面界面,锁屏界面为移动终端被锁定时的显示界面,桌面界面为移动终端的桌面的显示界面。
在其中的一个实施例中,装置还包括判断连续晃动步骤:移动终端被连续晃动两次,且两次晃动对应的晃动加速度值分别大于预设的加速度阈值,则判断两次晃动之间的时间间隔;
若时间间隔小于预设的时间间隔阈值,则更换壁纸模块响应两次晃动中的第一次晃动产生的更换壁纸请求,不响应两次晃动中的第二次晃动产生的更换壁纸请求;
若时间间隔不小于预设的时间间隔阈值,则更换壁纸模块响应两次晃动中的第一次晃动产生的更换壁纸请求,且响应两次晃动中的第二次晃动产生的更换壁纸请求。
在其中的一个实施例中,装置还包括菜单设置步骤:获取摇晃换壁纸菜单项的状态值,摇晃换壁纸菜单项的状态值包括关闭状态和开启状态;
若摇晃换壁纸菜单项为开启状态,则移动终端响应晃动操作;若摇晃换壁纸菜单项为关闭状态,则移动终端不响应晃动操作。
在其中的一个实施例中,响应晃动操作模块301中晃动加速度值由移动终端的加速度传感器所获取,对加速度传感器设置监听函数,若监听函数监听到加速度传感器获取的晃动加速度值发生变化,则去获取晃动加速度值;
若摇晃换壁纸菜单项为关闭状态,则监听函数暂停对加速度传感器进行的监听;若摇晃换壁纸菜单项为开启状态,则监听函数开启对加速度传感器进行的监听。
图4为本发明一个实施例的晃动移动终端更换壁纸的装置的逻辑框图。如图4所示,本发明实施例的晃动移动终端更换壁纸的装置包括:
处理器(processor)41、存储器(memory)42和总线43;
其中,处理器41和存储器42通过总线43完成相互间的通信;
处理器41用于调用所述存储器中的逻辑指令,以执行如下方法;
步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
本发明实施例还提出了一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:
步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
本发明的实施例还提供了一种存储介质,用于存储上述的计算机程序。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡 献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (13)

  1. 一种晃动移动终端更换壁纸的方法,其特征在于,包括:
    步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
    步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
    步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
  2. 根据权利要求1所述的晃动移动终端更换壁纸的方法,其特征在于:
    所述步骤S003中,所述目标界面包括锁屏界面或桌面界面,所述锁屏界面为所述移动终端被锁定时的显示界面,所述桌面界面为所述移动终端的桌面的显示界面。
  3. 根据权利要求1所述的晃动移动终端更换壁纸的方法,其特征在于,
    所述步骤S002之后还包括判断连续晃动步骤:所述移动终端被连续晃动两次,且两次所述晃动对应的所述晃动加速度值分别大于预设的加速度阈值,则判断两次所述晃动之间的时间间隔;
    若所述时间间隔小于预设的时间间隔阈值,则步骤S003响应两次所述晃动中的第一次晃动产生的所述更换壁纸请求,不响应两次所述晃动中的第二次晃动产生的所述更换壁纸请求;
    若所述时间间隔不小于预设的时间间隔阈值,则步骤S003响应两次所述晃动中的第一次晃动产生的所述更换壁纸请求,且响应两次所述晃动中的第二次晃动产生的所述更换壁纸请求。
  4. 根据权利要求1至3任一项所述的晃动移动终端更换壁纸的方法,其特征在于,
    在所述步骤S001之前还包括菜单设置步骤:获取摇晃换壁纸菜单项的状态值,所述摇晃换壁纸菜单项的状态值包括关闭状态和开启状态;
    若所述摇晃换壁纸菜单项为所述开启状态,则所述移动终端响应所述 晃动操作;若所述摇晃换壁纸菜单项为所述关闭状态,则所述移动终端不响应所述晃动操作。
  5. 根据权利要求4所述的晃动移动终端更换壁纸的方法,其特征在于,
    所述步骤S001中所述晃动加速度值由所述移动终端的加速度传感器所获取,对所述加速度传感器设置监听函数,若所述监听函数监听到所述加速度传感器获取的所述晃动加速度值发生变化,则去获取所述晃动加速度值;
    若所述摇晃换壁纸菜单项为所述关闭状态,则所述监听函数暂停对所述加速度传感器进行的监听;若所述摇晃换壁纸菜单项为所述开启状态,则所述监听函数开启对所述加速度传感器进行的监听。
  6. 一种晃动移动终端更换壁纸的装置,其特征在于,包括:
    响应晃动操作模块,用于响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
    产生更换壁纸请求模块,用于若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
    更换壁纸模块,用于若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
  7. 根据权利要求6所述的晃动移动终端更换壁纸的装置,其特征在于:
    所述更换壁纸模块中,所述目标界面包括锁屏界面或桌面界面,所述锁屏界面为所述移动终端被锁定时的显示界面,所述桌面界面为所述移动终端的桌面的显示界面。
  8. 根据权利要求6所述的晃动移动终端更换壁纸的装置,其特征在于,
    所述装置还包括判断连续晃动步骤:所述移动终端被连续晃动两次,且两次所述晃动对应的所述晃动加速度值分别大于预设的加速度阈值,则判断两次所述晃动之间的时间间隔;
    若所述时间间隔小于预设的时间间隔阈值,则更换壁纸模块响应两次 所述晃动中的第一次晃动产生的所述更换壁纸请求,不响应两次所述晃动中的第二次晃动产生的所述更换壁纸请求;
    若所述时间间隔不小于预设的时间间隔阈值,则更换壁纸模块响应两次所述晃动中的第一次晃动产生的所述更换壁纸请求,且响应两次所述晃动中的第二次晃动产生的所述更换壁纸请求。
  9. 根据权利要求6至8任一项所述的晃动移动终端更换壁纸的装置,其特征在于,
    所述装置还包括菜单设置步骤:获取摇晃换壁纸菜单项的状态值,所述摇晃换壁纸菜单项的状态值包括关闭状态和开启状态;
    若所述摇晃换壁纸菜单项为所述开启状态,则所述移动终端响应所述晃动操作;若所述摇晃换壁纸菜单项为所述关闭状态,则所述移动终端不响应所述晃动操作。
  10. 根据权利要求9所述的晃动移动终端更换壁纸的装置,其特征在于,
    所述响应晃动操作模块中所述晃动加速度值由所述移动终端的加速度传感器所获取,对所述加速度传感器设置监听函数,若所述监听函数监听到所述加速度传感器获取的所述晃动加速度值发生变化,则去获取所述晃动加速度值;
    若所述摇晃换壁纸菜单项为所述关闭状态,则所述监听函数暂停对所述加速度传感器进行的监听;若所述摇晃换壁纸菜单项为所述开启状态,则所述监听函数开启对所述加速度传感器进行的监听。
  11. 一种晃动移动终端更换壁纸的装置,其特征在于,包括:
    处理器、存储器和总线;
    其中,所述处理器和存储器通过所述总线完成相互间的通信;
    所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;
    步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
    步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
    步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界 面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
  12. 一种计算机程序,其特征在于,包括程序代码,所述程序代码用于执行如下操作:
    步骤S001,响应晃动操作,将所述晃动操作产生的加速度值作为晃动加速度值;
    步骤S002,若所述晃动加速度值大于预设的加速度阈值,则产生更换壁纸请求;
    步骤S003,若检测到所述移动终端的屏幕显示的显示界面为目标界面,则响应所述更换壁纸请求,对目标界面更换壁纸,所述目标界面为可更换壁纸的显示界面。
  13. 一种存储介质,用于存储权利要求12所述的计算机程序。
PCT/CN2016/096960 2016-03-07 2016-08-26 一种晃动移动终端更换壁纸的方法和装置 WO2017152590A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610127689.3A CN105847532A (zh) 2016-03-07 2016-03-07 一种晃动移动终端更换壁纸的方法和装置
CN201610127689.3 2016-03-07

Publications (1)

Publication Number Publication Date
WO2017152590A1 true WO2017152590A1 (zh) 2017-09-14

Family

ID=56586930

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096960 WO2017152590A1 (zh) 2016-03-07 2016-08-26 一种晃动移动终端更换壁纸的方法和装置

Country Status (2)

Country Link
CN (1) CN105847532A (zh)
WO (1) WO2017152590A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535014A (zh) * 2020-04-13 2021-10-22 中移(上海)信息通信科技有限公司 屏幕截取方法、装置、设置及介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847532A (zh) * 2016-03-07 2016-08-10 乐视移动智能信息技术(北京)有限公司 一种晃动移动终端更换壁纸的方法和装置
CN106502525A (zh) * 2016-09-28 2017-03-15 宇龙计算机通信科技(深圳)有限公司 一种壁纸更换方法、装置及移动终端
CN106357930A (zh) * 2016-11-11 2017-01-25 广东小天才科技有限公司 一种移动终端主题的切换控制方法、装置及移动终端
CN111194435B (zh) * 2017-09-29 2023-08-29 深圳传音通讯有限公司 一种界面切换的方法、装置、终端及计算机可读介质
CN112019685A (zh) * 2020-08-26 2020-12-01 北京字节跳动网络技术有限公司 终端的控制方法、装置、终端和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101384028A (zh) * 2007-09-04 2009-03-11 英华达(南京)科技有限公司 手持电子装置的操作方法
CN102739849A (zh) * 2011-04-15 2012-10-17 中兴通讯股份有限公司 终端、终端中的功能调用方法及装置
CN104252299A (zh) * 2013-06-28 2014-12-31 上海斐讯数据通信技术有限公司 一种控制壁纸变色的移动终端
CN104267868A (zh) * 2014-09-05 2015-01-07 联想(北京)有限公司 一种信息处理方法及电子设备
CN105847532A (zh) * 2016-03-07 2016-08-10 乐视移动智能信息技术(北京)有限公司 一种晃动移动终端更换壁纸的方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013092989A (ja) * 2011-10-27 2013-05-16 Kyocera Corp 装置、方法、及びプログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101384028A (zh) * 2007-09-04 2009-03-11 英华达(南京)科技有限公司 手持电子装置的操作方法
CN102739849A (zh) * 2011-04-15 2012-10-17 中兴通讯股份有限公司 终端、终端中的功能调用方法及装置
CN104252299A (zh) * 2013-06-28 2014-12-31 上海斐讯数据通信技术有限公司 一种控制壁纸变色的移动终端
CN104267868A (zh) * 2014-09-05 2015-01-07 联想(北京)有限公司 一种信息处理方法及电子设备
CN105847532A (zh) * 2016-03-07 2016-08-10 乐视移动智能信息技术(北京)有限公司 一种晃动移动终端更换壁纸的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535014A (zh) * 2020-04-13 2021-10-22 中移(上海)信息通信科技有限公司 屏幕截取方法、装置、设置及介质
CN113535014B (zh) * 2020-04-13 2024-02-02 中移(上海)信息通信科技有限公司 屏幕截取方法、装置、设置及介质

Also Published As

Publication number Publication date
CN105847532A (zh) 2016-08-10

Similar Documents

Publication Publication Date Title
WO2017152590A1 (zh) 一种晃动移动终端更换壁纸的方法和装置
US11353956B2 (en) Methods of direct manipulation of multi-layered user interfaces
US20210126884A1 (en) Dynamic configuration of application component tiles
US11620045B2 (en) Alternate content insertion logic
US10528386B2 (en) Methods, apparatuses, and systems for controlling task migration
KR101706359B1 (ko) 백그라운드 애플리케이션을 제어하기 위한 방법 및 장치
US10416843B2 (en) Electronic device and method of controlling object in electronic device
CN103927086B (zh) 一种壁纸处理方法、系统和移动终端
US10303933B2 (en) Apparatus and method for processing a beauty effect
KR102281172B1 (ko) 메타데이터 기반 사진 및/또는 비디오 애니메이션화
EP3105919B1 (en) Photographing method of an electronic device and the electronic device thereof
CN111158543A (zh) 一种文件处理方法、电子设备、系统和存储介质
CA2943237A1 (en) Automated selective upload of images
US20170169611A1 (en) Augmented reality workspace transitions based on contextual environment
KR20140013548A (ko) 사용자 단말 장치 및 그의 제어 방법
KR102345649B1 (ko) 휴대용 장치가 웨어러블 장치를 통하여 정보를 표시하는 방법 및 그 장치
AU2015340172A1 (en) Electronic device and method of controlling power of electronic device
EP3508988A1 (en) Information sharing method and electronic device thereof
KR102285158B1 (ko) 데이터 제공 방법 및 전자 장치
US11128715B1 (en) Physical friend proximity in chat
WO2022089272A1 (zh) 图像处理方法及装置
CN106528163B (zh) 一种页面切换方法和装置
US10122958B2 (en) Method for recording execution screen and electronic device for processing the same
CN104391742B (zh) 应用优化方法和装置
US20170068413A1 (en) Providing an information set relating to a graphical user interface element on a graphical user interface

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16893235

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16893235

Country of ref document: EP

Kind code of ref document: A1