WO2017020665A1 - 一种壁纸切换方法及装置 - Google Patents

一种壁纸切换方法及装置 Download PDF

Info

Publication number
WO2017020665A1
WO2017020665A1 PCT/CN2016/087336 CN2016087336W WO2017020665A1 WO 2017020665 A1 WO2017020665 A1 WO 2017020665A1 CN 2016087336 W CN2016087336 W CN 2016087336W WO 2017020665 A1 WO2017020665 A1 WO 2017020665A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
wallpaper
storage object
switching
management service
Prior art date
Application number
PCT/CN2016/087336
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 乐视控股(北京)有限公司
Priority to US15/238,586 priority Critical patent/US20170038955A1/en
Publication of WO2017020665A1 publication Critical patent/WO2017020665A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/247Telephone sets including user guidance or feature selection means facilitating their use
    • H04M1/2477Telephone sets including user guidance or feature selection means facilitating their use for selecting a function from a menu display
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a wallpaper switching method and apparatus.
  • the existing wallpaper switching method can support the sliding of the screen mode of the mobile phone or the wallpaper switching of the shaking mode.
  • the corresponding switching process specifically includes: the above-mentioned wallpaper switching method, the user needs to first find and open the wallpaper switching switch in the function level of the wallpaper application or the mobile phone setting, and then return to the return wallpaper interface to switch the wallpaper by shaking and shaking, And after switching to the user-satisfied wallpaper, go back to the above-mentioned wallpaper application or mobile phone settings and other functional levels to find and close the wallpaper switch.
  • the switching process of the above wallpaper switching method requires a cumbersome process, thereby greatly reducing the efficiency of wallpaper switching.
  • the embodiment of the invention provides a wallpaper switching method and device, which are used to solve the cumbersome shortcomings of the prior art and improve the efficiency of wallpaper switching.
  • an embodiment of the present invention provides a wallpaper switching method, including:
  • the first application monitors the user's operation on the touch screen
  • the first application modifies a pre-associated storage object according to the operation; wherein the storage object a storage object identified for the wallpaper management service of the second application;
  • the first application sends the modification notification information of the storage object to the second application.
  • an embodiment of the present invention further provides a wallpaper switching method, including:
  • the second application receives the modification notification information of the storage object from the first application; wherein the storage object is a storage object of the wallpaper management service identifier of the second application;
  • the second application After receiving the modification notification information of the storage object, the second application reads the storage object;
  • the second application switches the wallpaper management service according to the reading result of the storage object.
  • an embodiment of the present invention further provides a wallpaper switching apparatus, including:
  • a monitoring unit for monitoring user operations on the touch screen
  • a modifying unit configured to: when the operation is a sliding operation that meets a preset switching condition, or the operation is an operation for a wallpaper switching control, the first application modifies a pre-associated storage object according to the operation;
  • the storage object is a storage object of the wallpaper management service identifier of the second application;
  • a sending unit configured to send, to the second application, the modification notification information of the storage object.
  • an embodiment of the present invention further provides a wallpaper switching apparatus, including:
  • a second receiving unit configured to receive, by the first application, the modification notification information of the storage object, where the storage object is a storage object of the wallpaper management service identifier of the second application;
  • a reading unit configured to read the storage object after receiving the modification notification information of the storage object
  • a switching unit configured to switch the wallpaper management service according to the reading result of the storage object.
  • a computer program comprising computer readable code causing the mobile terminal to perform the wallpaper switching method described above when the computer readable code is run on a mobile terminal.
  • a computer readable medium wherein the computer program described above is stored.
  • a method and device for switching wallpapers when the operation of the user on the touch screen is a sliding operation conforming to a preset switching condition, or the operation is an operation for a wallpaper switching control, the first application may be based on the foregoing
  • the operation modifies the pre-associated storage object, and sends a modification notification message of the storage object to the second application, so that the second user receives the modification notification message
  • the wallpaper switching identifier in the storage object is obtained, and the wallpaper management service is determined according to the identifier, or the wallpaper management service is turned off; the switching process is cumbersome compared to the function level of the wallpaper application or the mobile phone setting switch in the prior art.
  • the switching of the wallpaper management service of the second application can be completed by using the first application, and the first application can be an application capable of displaying the wallpaper, such as a lock screen application or a desktop application.
  • the wallpaper management service can be switched without entering a function level such as a wallpaper application or a mobile phone setting. Therefore, the process of wallpaper switching can be simplified, and the efficiency of wallpaper switching can be improved.
  • FIG. 1 is a flow chart of steps of a first embodiment of a wallpaper switching method according to the present invention
  • FIG. 2 is a flow chart of steps of a second embodiment of a wallpaper switching method according to the present invention.
  • FIG. 3 is a flow chart of steps of a third embodiment of a wallpaper switching method according to the present invention.
  • FIG. 4 is a schematic view showing a sliding direction of a vertical sliding operation of a wallpaper switching method on a touch screen according to the present invention
  • FIG. 5 is a flow chart of steps of a fifth embodiment of a wallpaper switching method according to the present invention.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a wallpaper switching device according to the present invention.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of a wallpaper switching device according to the present invention.
  • FIG. 8 is a schematic structural diagram of Embodiment 3 of a wallpaper switching device according to the present invention.
  • Embodiment 4 of a wallpaper switching device is a schematic structural diagram of Embodiment 4 of a wallpaper switching device according to the present invention.
  • Embodiment 5 of a wallpaper switching device according to the present invention
  • FIG. 11 is a schematic structural diagram of Embodiment 6 of a wallpaper switching device according to the present invention.
  • Figure 12 is a schematic block diagram showing a mobile terminal for performing the method according to the present invention.
  • Fig. 13 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • FIG. 1 is a flow chart showing the steps of a first embodiment of a wallpaper switching method according to the present invention, which may specifically include:
  • Step 101 The first application monitors operation of the user on the touch screen
  • Step 102 When the foregoing operation is a sliding operation that meets a preset switching condition, or the operation is an operation of the wallpaper switching control, the first application modifies the pre-associated storage object according to the operation; wherein the storage object is The storage object of the second application of the wallpaper management service identifier;
  • Step 103 The first application sends the modification notification information of the storage object to the second application.
  • the wallpaper switching method provided by the embodiment of the present invention may be based on when the operation of the user on the touch screen is a sliding operation that meets the preset switching condition, or the operation is an operation for the wallpaper switching control.
  • the foregoing operation modifies the pre-associated storage object, and sends a modification notification message of the storage object to the second application, so that after receiving the modification notification message, the second user acquires the wallpaper switching identifier in the storage object, and determines to open the wallpaper according to the identifier.
  • the management service, or the wallpaper management service is turned off; the switch of the wallpaper switching in the prior art is located in a function level such as a wallpaper application or a mobile phone setting, which causes a cumbersome switching process.
  • the second application can be completed by the first application.
  • the switch of the wallpaper management service, and the first application can be an application capable of displaying a wallpaper such as a lock screen application or a desktop application, so the embodiment of the present invention can realize wallpaper management without entering a function level such as a wallpaper application or a mobile phone setting. Switching of services, therefore, It can simplify the process of wallpaper switching, which can improve the efficiency of wallpaper switching.
  • FIG. 2 a flow chart of the steps of the second embodiment of the wallpaper switching method of the present invention is shown.
  • Step 201 The first application displays a wallpaper switching control.
  • the embodiment of the present invention can be applied to a mobile terminal, a tablet computer, or the like, for switching a wallpaper management service of a second application by using a wallpaper switching control located in the first application, thereby simplifying the process of wallpaper switching and improving the efficiency of wallpaper switching. Thereby increasing the user experience.
  • the first application may be a lock screen application, that is, the lock screen application may display a wallpaper switching control on the lock screen interface, where the lock screen application is an extended application based on the mobile terminal. Its main role is to prevent the phone from mishandling.
  • the lock screen application can display the lock screen interface in the lock screen state of the mobile terminal, and display the wallpaper switching control on the lock screen interface; it can be understood that the wallpaper switching control can be located on the lock screen interface.
  • the specific position of the wallpaper switching control in the lock screen interface is not limited in the embodiment of the present invention.
  • the first application may be a desktop application.
  • the desktop application can display a wallpaper switching control on the desktop; it can be understood that the wallpaper switching control can be located at any position on the desktop, such as a position that does not conflict with an existing icon in the desktop, etc.
  • the embodiment of the invention does not limit the specific location of the wallpaper switching control in the desktop.
  • lock screen application and the desktop application are only specific examples of the foregoing first application, and are not to be construed as an application limitation to the first application according to the embodiment of the present invention. In fact, any application for displaying a wallpaper may be used. As a first application, the embodiment of the present invention does not limit the specific first application.
  • the wallpaper switching control may specifically include two states: opening and closing, and the two states may be used to identify two states of the wallpaper management service being turned on and off, respectively.
  • the wallpaper switching control may be a switch.
  • the state of the switch can be identified as being on, and when the switch is on the right side, the state of the switch can be identified as being off; or, when the switch is on the left side, The state of the switch can be identified as being off, and when the switch is on the right side, the state of the switch can be identified as being on.
  • the wallpaper switching control may also be a check box.
  • the check box can be one. When the check box is selected, the check box can be marked as enabled, and the check box is unchecked to identify that the check box is off.
  • the check box may also be two, and the two check boxes respectively correspond to an open state and a closed state, and only one of the two check boxes is selected at the same time.
  • the above switch and check box are only used as an example of the wallpaper switching control, and are not understood as a limitation on the wallpaper switching control.
  • the above wallpaper switching control can have multiple representations and can be identified.
  • the control of the two states of the wallpaper management service is enabled and disabled.
  • the embodiment of the present invention does not limit the specific expression of the wallpaper switching control.
  • Step 202 The first application receives an operation of the user for the wallpaper switching control.
  • the operation of the switch may specifically include: switching the switch on and off by switching the switch on and off. , or switch the state of the switch from on to off; if the wallpaper switch is a check box, the operation of the check box for the user may specifically include: by checking the check box to switch the state of the check box from off to Turn it on, or switch the status of the checkbox from on to off by unchecking the checkbox.
  • Step 203 The first application is configured to modify the storage object associated with the first application according to the foregoing operation, where the storage object is a storage object of a wallpaper management service identifier of the second application.
  • the storage object may be used to store a wallpaper management service identifier corresponding to the state of the wallpaper switching control, and the wallpaper management service identifier of the second application is used to identify whether the wallpaper management service is turned on or off. For example, if the state of the wallpaper switching control is switched on, the wallpaper management service identifier in the storage object may be correspondingly modified to be enabled; if the state of the wallpaper switching control is switched off, the wallpaper management service identifier in the storage object may be correspondingly modified to shut down.
  • mapping relationship between the first application and the storage object may be established in advance, so that when the operation is received, the storage object associated with the first application corresponding to the operation may be acquired according to the mapping relationship.
  • the second application since the storage object is an object of the second application, in order to implement the modification of the storage object by the first application, the second application may open the operation authority of the storage object to the first application.
  • the storage object may be a lightweight storage class SharedPreference.
  • the rights of the SharedPreference may be set to be read and written by other applications, where the foregoing other applications may include the foregoing.
  • the first application modifies the SharedPreference according to the change of the wallpaper switching control, wherein modifying the SharedPreference may modify the wallpaper management service identifier in the SharedPreference.
  • Step 204 The first application sends the modification notification information of the storage object to the second application.
  • the first application sends the modification notification information of the storage object to the second application, to notify the second application that the storage object has been modified, so that the second application obtains the current storage after receiving the modification notification message.
  • the wallpaper in the object switches the logo, and according to the wallpaper switching identifier, determines to open the wallpaper management service, or close the wallpaper management service.
  • the first application may send the modification notification information of the storage object to other applications by using a broadcast mode, that is, calling a broadcast component (Broadcast).
  • the other application may include the second application, that is, the first application may invoke the broadcast component to send the modification notification information to the second application to notify the second application that the storage object has been modified.
  • the foregoing broadcast mode is only an example of the manner in which the first application sends a modification notification message to the second application, and is not understood as an application restriction on the transmission mode.
  • the method can be used as the foregoing sending manner, and the communication manner between the two processes may include: an activity, a content Provider, an AIDL (Android Interface Definition Language), and the like.
  • AIDL Android Interface Definition Language
  • the embodiment of the present invention does not limit the specific transmission manner.
  • the wallpaper switching method after receiving the operation of the user for the wallpaper switching control, the first application may modify the storage object associated with the wallpaper switching control according to the foregoing operation, and send the storage object to the second application.
  • the user After receiving the modification notification message, the user obtains the wallpaper switching identifier in the storage object, and determines to open the wallpaper management service according to the identifier, or close the wallpaper management service; the switch for wallpaper switching in the prior art is located in the wallpaper application or the mobile phone setting, etc.
  • the function level causes a cumbersome defect in the switching process.
  • the wallpaper switching control may be located in a first application different from the second application, and the first application may be an application for displaying a wallpaper, such as a lock screen application or a desktop application. Therefore, in the embodiment of the present invention, the wallpaper management service can be switched without entering a function level such as a wallpaper application or a mobile phone setting. Therefore, the process of wallpaper switching can be simplified, thereby improving the efficiency of wallpaper switching.
  • FIG. 3 a flow chart of the steps of the third embodiment of the wallpaper switching method of the present invention is shown, which may specifically include:
  • Step 301 The first application monitors a sliding operation of the user on the touch screen.
  • the embodiment of the invention can be applied to mobile terminals such as mobile phones and tablet computers, and is used for switching the wallpaper management service of the second application by the sliding operation performed on the first application, thereby simplifying the process of wallpaper switching and improving the efficiency of wallpaper switching. , thereby increasing the user experience.
  • Step 302 When the foregoing operation is a sliding operation that meets a preset switching condition, the first application modifies the pre-associated storage object according to the foregoing operation; wherein the storage object is a storage object of the wallpaper management service identifier of the second application;
  • the preset switching condition may specifically be: a vertical sliding operation on the touch screen.
  • the step of modifying the storage object associated with the first application according to the sliding operation may be specifically:
  • FIG. 4 there is shown a schematic view of a sliding direction of a vertical sliding operation of a wallpaper switching method of the present invention on a touch screen, wherein the direction of the vertical sliding operation on the touch screen is the direction 1 shown in FIG.
  • the wallpaper management service identifier in the storage object may be modified to be turned on; when the direction of the vertical sliding operation on the touch screen is the direction 2 shown in FIG. 4, the wallpaper management service identifier in the storage object may be correspondingly modified to shut down;
  • the wallpaper management service identifier in the storage object may be correspondingly modified to be off; when in the above touch screen
  • the wallpaper management service identifier in the storage object may be modified to be turned on.
  • the preset switching condition may specifically be: performing a button operation while performing a lateral sliding operation on the touch screen.
  • the key operation is performed only as two examples of preset switching conditions in the embodiment of the present invention, and is not understood as an embodiment of the present invention.
  • a limitation of the preset switching condition in fact, an operation that does not conflict with an existing unlocking gesture or a switching desktop gesture operation, such as an existing unlocking gesture or a switching desktop gesture being a single finger operation,
  • the preset switching conditions in the embodiment of the present invention may be performed by using two fingers, and the like, and the preset switching conditions are not specifically limited in the embodiment of the present invention.
  • the storage object may be a lightweight storage class SharedPreference.
  • the rights of the SharedPreference may be set to be read and written by other applications, where the foregoing other applications may include the foregoing.
  • the first application in this way, when the sliding operation of the user on the touch screen satisfies the preset switching condition, the first application modifies the SharedPreference according to the change of the wallpaper switching control, wherein the modification of the SharedPreference may be the wallpaper management service in the SharedPreference.
  • the logo is modified.
  • Step 303 The first application sends the modification notification information of the storage object to the second application.
  • a wallpaper switching method is provided by the embodiment of the present invention.
  • the first application monitors a sliding operation of the user on the touch screen. When the operation is a sliding operation that meets the preset switching condition, the first application modifies the advance according to the operation. Correlating the storage object, and sending a modification notification message of the storage object to the second application, so that after receiving the modification notification message, the second user acquires the wallpaper switching identifier in the storage object, and determines to start the wallpaper management service according to the identifier, or The wallpaper management service is closed; the switch of the wallpaper switching in the prior art is located in a function level such as a wallpaper application or a mobile phone setting, which causes a cumbersome switching process.
  • the sliding on the first application is performed.
  • the operation is performed to implement the switching of the wallpaper management service
  • the first application may be an application capable of displaying a wallpaper, such as a lock screen application or a desktop application. Therefore, the embodiment of the present invention may not enter a function level such as a wallpaper application or a mobile phone setting, Switching between wallpaper management services is realized, and therefore, the process of wallpaper switching can be simplified, thereby improving the efficiency of wallpaper switching.
  • FIG. 5 a flow chart of the steps of the fifth embodiment of the wallpaper switching method of the present invention is shown, which may specifically include:
  • Step 501 The second application receives the modification notification information of the storage object from the first application, where the storage object may be a storage object of the wallpaper management service identifier of the second application.
  • the second application may be an application that provides a wallpaper management service.
  • the first application may be an application capable of displaying a wallpaper, and the first application may monitor the operation of the user on the touch screen, and the wallpaper switching control may also be displayed thereon, so that the first application monitors that the operation of the user on the touch screen meets the preset switching condition.
  • the pre-associated storage object may be modified according to the foregoing operation, and the modification notification message of the storage object may be sent to the second application, so that the second application implements the switching of the wallpaper management service.
  • the modification notification message is used to notify the second application that the storage object has been changed.
  • the storage object is used to store a wallpaper management service identifier corresponding to the preset switching condition or the state of the wallpaper switching control, and the wallpaper management service identifier can be used to identify whether the wallpaper management service is turned on or off.
  • the storage object may be a lightweight storage class SharedPreference, and when the second application creates the SharedPreference, the rights of the SharedPreference may be set to be read and written by other applications, wherein the other applications may include the foregoing.
  • the first application such that when the operation of the user on the touch screen satisfies the preset switching condition or the state of the wallpaper switching control changes, the first application may modify the SharedPreference according to the preset switching condition or the change of the wallpaper switching control, wherein, the SharedPreference Modifications can be made to modify the wallpaper management service identifier in SharedPreference.
  • Step 502 After receiving the modification notification information of the storage object, the second application reads the storage object.
  • the modification notification information may carry the identifier information of the storage object.
  • the second application may read the current content of the storage object according to the identifier information of the storage object.
  • the current content read is the value of the wallpaper management service identifier corresponding to the storage object.
  • the second application may receive a broadcast message sent by another application by using a broadcast receiver (Broadcast Receiver), where the broadcast message of the other application may include a modification notification sent by the first application.
  • the message that is, the second application, can receive the modification notification message broadcast sent by the first application by broadcast.
  • the above broadcast mode only serves as an example of receiving the modification manner of the storage notification information of the storage object from the first application, and is not understood as an application restriction on the receiving mode.
  • it is used to implement two
  • the communication mode between the processes can be used as the receiving mode.
  • the method for implementing the communication between the two processes may include: Activity, Content Provider, AIDL, etc., and the specific receiving manner is not limited in the embodiment of the present invention.
  • Step 503 The second application switches the wallpaper management service according to the reading result of the storage object.
  • the read result may specifically include: opening and closing, corresponding to the reading result of the storage object.
  • the above wallpaper management service can be turned on, so that the user can switch the wallpaper by shaking or sliding the screen of the mobile phone; or when the reading result of the storage object is closed, the wallpaper management service can be turned off.
  • a wallpaper switching method is provided by the embodiment of the present invention.
  • the first application monitors the operation of the user on the touch screen, and the operation is a sliding operation that conforms to the preset switching condition, or the operation is an operation for the wallpaper switching control.
  • the first application modifies the pre-associated storage object, and sends a modification notification message of the storage object to the second application, so that after receiving the modification notification message, the second user acquires the wallpaper switching identifier in the storage object.
  • the wallpaper management service is turned on, or the wallpaper management service is turned off; and the switch of the wallpaper switch in the prior art is located at a function level such as a wallpaper application or a mobile phone setting, which causes a cumbersome switching process, and can pass the An application monitors the user's operation on the touch screen so that The switching of the wallpaper management service may be completed according to the above operation, and the first application may be an application capable of displaying a wallpaper such as a lock screen application or a desktop application, so the embodiment of the present invention may not enter a function level such as a wallpaper application or a mobile phone setting. Under the implementation of the wallpaper management service switching, therefore, the process of wallpaper switching can be simplified, thereby improving the efficiency of wallpaper switching.
  • the first application is a lock screen application, that is, the lock screen application monitors a sliding operation of the user on the touch screen, or the lock screen application displays a wallpaper switching control on the lock screen interface
  • the user can slide in the direction 1 shown in FIG. 4 or open the wallpaper switching control on the lock screen interface, so that the lock screen application can modify the storage object of the wallpaper application to the on state, thereby making the wallpaper application based on
  • the open state of the storage object is used to open the wallpaper management service.
  • the user can switch the wallpaper by shaking or sliding the screen of the mobile phone.
  • the user can directly on the lock screen interface. By sliding in the direction 2 shown in FIG.
  • the lock screen application changes the storage object of the wallpaper application to the closed state, so that the wallpaper application closes the wallpaper management service according to the closed state of the storage object;
  • the wallpaper application closes the wallpaper management service according to the closed state of the storage object;
  • users can enter the function level without the wallpaper application or mobile phone settings. Switching wallpaper achieve management services.
  • the first application is a desktop application
  • the desktop application monitors a user's sliding operation on the touch screen, or the desktop application displays a wallpaper switching control on the desktop
  • the user is performing a wallpaper.
  • the user can slide on the desktop in the direction 1 shown in FIG. 4 or turn on the wallpaper switching control, so that the desktop application can modify the storage object of the wallpaper application to the on state, so that the wallpaper application is based on the storage object.
  • the opening state is to enable the wallpaper management service, and the user can switch the wallpaper by shaking or sliding the screen of the mobile phone. After switching to the wallpaper satisfactory to the user, the user can directly perform the direction 2 shown in FIG. 4 on the desktop.
  • the above two examples are located in the wallpaper application or the hand relative to the switch of the wallpaper switching in the prior art.
  • the operation of the user on the touch screen can be monitored by the first application, so that the switching of the wallpaper management service can be completed according to the above operation, so the embodiment of the present invention
  • the wallpaper management service can be switched without entering a function level such as a wallpaper application or a mobile phone setting. Therefore, the process of wallpaper switching can be simplified, thereby improving the efficiency of wallpaper switching.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a wallpaper switching device according to the present invention, which may further include: a monitoring unit 601, a modifying unit 602, and a sending unit 603;
  • the embodiment of the present invention may be applied to a first application of a mobile terminal, where the first application may be an application for displaying a wallpaper.
  • the monitoring unit 601 can be used to monitor the operation of the user on the touch screen
  • the modifying unit 602 may be configured to: when the operation is a sliding operation that meets a preset switching condition, or when the operation is an operation of the wallpaper switching control, the first application modifies the pre-associated storage object according to the operation;
  • the storage object is a storage object of the wallpaper management service identifier of the second application;
  • the sending unit 603 is configured to send the modification notification information of the storage object to the second application.
  • the second application may be an application that provides a wallpaper management service.
  • the wallpaper switching control may be a switch, or the wallpaper switching control may be a check box.
  • the storage object may specifically include: a lightweight storage class, a lightweight database, a native object, and a broadcast network.
  • the sliding operation conforming to the preset switching condition comprises: a vertical sliding operation on the touch screen.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of a wallpaper switching apparatus according to the present invention, which may specifically include: a monitoring unit 701, a modifying unit 702, and a sending unit 703;
  • the embodiment of the present invention may be applied to a first application of a mobile terminal, where
  • the app can be an app for displaying wallpapers.
  • the monitoring unit 701 can be used to monitor the operation of the user on the touch screen
  • the modifying unit 702 may be configured to: when the operation is a sliding operation that meets a preset switching condition, or the operation is an operation of the wallpaper switching control, the first application modifies the pre-associated storage object according to the operation;
  • the storage object is a storage object of the wallpaper management service identifier of the second application;
  • the sending unit 703 is configured to send the modification notification information of the storage object to the second application.
  • the sending unit 703 may specifically include: a first sending module 7031 and a second sending module 7032;
  • the first sending module 7031 is configured to send the modification notification information of the storage object to the second application by using a broadcast manner; or
  • the second sending module 7032 is configured to send, by using a content provider, the modification notification information of the storage object to the second application.
  • FIG. 8 is a schematic structural diagram of Embodiment 3 of a wallpaper switching apparatus according to the present invention, which may specifically include: a monitoring unit 801, a modifying unit 802, and a sending unit 803;
  • the embodiment of the present invention may be applied to a first application of a mobile terminal, where the first application may be an application for displaying a wallpaper.
  • the monitoring unit 801 can be used to monitor the operation of the user on the touch screen
  • the modifying unit 802 may be configured to: when the operation is a sliding operation that meets a preset switching condition, or the operation is an operation of the wallpaper switching control, the first application modifies the pre-associated storage object according to the operation;
  • the storage object is a storage object of the wallpaper management service identifier of the second application;
  • the sending unit 803 is configured to send, to the second application, the modification notification information of the storage object.
  • the monitoring unit 801 may specifically include:
  • the first display module 8011 can be configured to display a wallpaper switching control on the lock screen interface
  • the monitoring unit 801 may further include: a second display A module that can be used to display wallpaper toggle controls on the desktop.
  • FIG. 9 is a schematic structural diagram of Embodiment 4 of a wallpaper switching apparatus according to the present invention, which may specifically include: a receiving unit 901, a reading unit 902, and a switching unit 903;
  • the embodiment of the present invention may be applied to a second application of the mobile terminal, and the second application may be an application that provides a wallpaper management service.
  • the receiving unit 901 is configured to receive, by the first application, the modification notification information of the storage object, where the storage object is a storage object of the wallpaper management service identifier of the second application;
  • the reading unit 902 is configured to read the storage object after receiving the modification notification information of the storage object.
  • the switching unit 903 is configured to switch the wallpaper management service according to the reading result of the storage object.
  • the storage object may specifically include: a lightweight storage class, a lightweight database, a native object, and a broadcast network.
  • the first application may be a lock screen application or a desktop application.
  • FIG. 10 is a schematic structural diagram of Embodiment 5 of a wallpaper switching apparatus according to the present invention, which may further include: a receiving unit 1001, a reading unit 1002, and a switching unit 1003;
  • the embodiment of the present invention may be applied to a second application of the mobile terminal, and the second application may be an application that provides a wallpaper management service.
  • the receiving unit 1001 is configured to receive, by the first application, the modification notification information of the storage object, where the storage object may be a storage object of the wallpaper management service identifier of the second application;
  • the reading unit 1002 is configured to read the storage object after receiving the modification notification information of the storage object.
  • the switching unit 1003 is configured to switch the wallpaper management service according to the reading result of the storage object.
  • the foregoing switching unit 1003 may specifically include:
  • the first switching module 10031 is configured to enable the wallpaper management service when the reading result of the storage object is turned on; or
  • the second switching module 10032 is configured to close the wallpaper management service when the read result of the storage object is off.
  • FIG. 11 is a schematic structural diagram of Embodiment 6 of a wallpaper switching device according to the present invention, which may specifically include: a receiving unit 1101, a reading unit 1102, and a switching unit 1103;
  • the embodiment of the present invention may be applied to a second application of the mobile terminal, and the second application may be an application that provides a wallpaper management service.
  • the receiving unit 1101 is configured to receive, by the first application, the modification notification information of the storage object, where the storage object is a storage object of the wallpaper management service identifier of the second application;
  • the reading unit 1102 is configured to read the storage object after receiving the modification notification information of the storage object.
  • the switching unit 1103 is configured to switch the wallpaper management service according to the reading result of the storage object.
  • the receiving unit 1101 may specifically include:
  • the first receiving module 11011 is configured to receive, by using a broadcast manner, the modification notification information of the storage object that is sent by the first application; and/or
  • the second receiving module 11012 is configured to receive, by using a content provider, the modification notification information of the storage object that is sent by the first application.
  • 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 various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the mobile terminal in accordance with embodiments of the present invention.
  • the invention may also be implemented as a device for performing some or all of the methods described herein or Device programs (eg, computer programs and computer program products).
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 12 illustrates that a mobile terminal in accordance with the present invention can be implemented.
  • the mobile terminal conventionally includes a processor 1210 and a computer program product or computer readable medium in the form of a memory 1220.
  • the memory 1220 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 1220 has a memory space 1230 for program code 1231 for performing any of the method steps described above.
  • storage space 1230 for program code may include various program codes 1231 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1220 in the mobile terminal of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 1231 ', ie, code readable by a processor, such as 1210, that when executed by the mobile terminal causes the mobile terminal to perform each of the methods described above step.

Abstract

一种壁纸切换方法及装置,其中的方法具体包括:第一应用监测用户在触摸屏上的操作;在所述操作为符合预置切换条件的滑动操作,或者,所述操作为针对壁纸切换控件的操作时,所述第一应用依据所述操作修改预先关联的存储对象;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;所述第一应用向所述第二应用发送所述存储对象的修改通知信息。本方法能够提高壁纸切换的效率。

Description

一种壁纸切换方法及装置
本申请要求在2015年8月6日提交中国专利局、申请号为201510478766.5、发明名称为“一种壁纸切换方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,特别是涉及一种壁纸切换方法及装置。
背景技术
随着信息技术的快速发展,手机已经在人们的生活中普及,并且大部分手机都有了壁纸切换的功能。
现有的壁纸切换方法可以支持滑动手机屏幕方式或者摇一摇方式的壁纸切换。相应的切换过程具体包括:上述的壁纸切换方法,用户需要可以首先在壁纸应用或者手机设置等功能层级里面找到并开启壁纸切换的开关,然后回到返回壁纸界面通过摇一摇方式进行壁纸切换,并在切换到用户满意的壁纸后,再回到上述壁纸应用或者手机的设置等功能层级里面找到并关闭壁纸切换的开关。
从用户的角度来讲,上述壁纸切换方法的切换过程需要繁琐的流程,因此极大地降低了壁纸切换的效率。
发明内容
本发明实施例提供一种壁纸切换方法及装置,用以解决现有技术中流程繁琐的缺陷,提高壁纸切换的效率。
根据本发明的一个方面,本发明实施例提供了一种壁纸切换方法,包括:
第一应用监测用户在触摸屏上的操作;
在所述操作为符合预置切换条件的滑动操作,或者,所述操作为针对壁纸切换控件的操作时,所述第一应用依据所述操作修改预先关联的存储对象;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;
所述第一应用向所述第二应用发送所述存储对象的修改通知信息。
另一方面,本发明实施例还提供了一种壁纸切换方法,包括:
第二应用接收来自第一应用的、存储对象的修改通知信息;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;
第二应用在接收所述存储对象的修改通知信息后,读取所述存储对象;
第二应用依据所述存储对象的读取结果,切换壁纸管理服务。
根据本发明的另一个方面,本发明实施例还提供了一种壁纸切换装置,包括:
监测单元,用于监测用户在触摸屏上的操作;
修改单元,用于在所述操作为符合预置切换条件的滑动操作,或者,所述操作为针对壁纸切换控件的操作时,所述第一应用依据所述操作修改预先关联的存储对象;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;及
发送单元,用于向所述第二应用发送所述存储对象的修改通知信息。
又一方面,本发明实施例还提供了一种壁纸切换装置,包括:
第二接收单元,用于接收来自第一应用的、存储对象的修改通知信息;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;
读取单元,用于在接收所述存储对象的修改通知信息后,读取所述存储对象;及
切换单元,用于依据所述存储对象的读取结果,切换壁纸管理服务。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在移动终端上运行时,导致所述移动终端执行上述的壁纸切换方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了上述的计算机程序。
本发明的有益效果为:
本发明实施例提供的一种壁纸切换方法及装置,当用户在触摸屏上的操作为符合预置切换条件的滑动操作,或者上述操作为针对壁纸切换控件的操作时,上述第一应用可以依据上述操作修改预先关联的存储对象,并向第二应用发送存储对象的修改通知消息,以使得第二用户接收到修改通知消息以 后,获取存储对象中的壁纸切换标识,并根据该标识确定开启壁纸管理服务,或者关闭壁纸管理服务;相对于现有技术中壁纸切换的开关位于壁纸应用或者手机设置等功能层级导致切换流程繁琐的缺陷,本发明实施例中能够通过第一应用完成第二应用的壁纸管理服务的切换,而该第一应用可以为锁屏应用或者桌面应用等能够显示壁纸的应用,故本发明实施例可以在不进入壁纸应用或者手机设置等功能层级的情况下,实现壁纸管理服务的切换,因此,能够简化壁纸切换的流程,从而能够提高壁纸切换的效率。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一种壁纸切换方法实施例一的步骤流程图;
图2为本发明一种壁纸切换方法实施例二的步骤流程图;
图3为本发明一种壁纸切换方法实施例三的步骤流程图;
图4为本发明一种壁纸切换方法在触摸屏上的竖向滑动操作的滑动方向示意图;
图5为本发明一种壁纸切换方法实施例五的步骤流程图;
图6为本发明一种壁纸切换装置实施例一的结构示意图;
图7为本发明一种壁纸切换装置实施例二的结构示意图;
图8为本发明一种壁纸切换装置实施例三的结构示意图;
图9为本发明一种壁纸切换装置实施例四的结构示意图;
图10为本发明一种壁纸切换装置实施例五的结构示意图;以及
图11为本发明一种壁纸切换装置实施例六的结构示意图;
图12示意性地示出了用于执行根据本发明的方法的移动终端的框图;以及
图13示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施例
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
方法实施例一
参照图1,示出了本发明一种壁纸切换方法实施例一的步骤流程图,具体可以包括:
步骤101、第一应用监测用户在触摸屏上的操作;
步骤102、在上述操作为符合预置切换条件的滑动操作,或者,上述操作为针对壁纸切换控件的操作时,上述第一应用依据上述操作修改预先关联的存储对象;其中,上述存储对象为第二应用的壁纸管理服务标识的存储对象;
步骤103、上述第一应用向上述第二应用发送上述存储对象的修改通知信息。
综上,本发明实施例提供的一种壁纸切换方法,当用户在触摸屏上的操作为符合预置切换条件的滑动操作,或者上述操作为针对壁纸切换控件的操作时,上述第一应用可以依据上述操作修改预先关联的存储对象,并向第二应用发送存储对象的修改通知消息,以使得第二用户接收到修改通知消息以后,获取存储对象中的壁纸切换标识,并根据该标识确定开启壁纸管理服务,或者关闭壁纸管理服务;相对于现有技术中壁纸切换的开关位于壁纸应用或者手机设置等功能层级导致切换流程繁琐的缺陷,本发明实施例中能够通过第一应用完成第二应用的壁纸管理服务的切换,而该第一应用可以为锁屏应用或者桌面应用等能够显示壁纸的应用,故本发明实施例可以在不进入壁纸应用或者手机设置等功能层级的情况下,实现壁纸管理服务的切换,因此, 能够简化壁纸切换的流程,从而能够提高壁纸切换的效率。
方法实施例二
参照图2,示出了本发明一种壁纸切换方法实施例二的步骤流程图,具体可以包括:
步骤201、第一应用显示壁纸切换控件;
本发明实施例可以应用于手机、平板电脑等移动终端中,用于通过位于第一应用的壁纸切换控件切换第二应用的壁纸管理服务,因此能够简化壁纸切换的流程,提高壁纸切换的效率,从而增加用户的使用体验。
在本发明的一种实施例中,上述第一应用可以为锁屏应用,也即锁屏应用可以在锁屏界面上显示壁纸切换控件,这里锁屏应用是一种基于移动终端的扩充类应用,其主要作用是防止手机误操作。具体到本发明实施例,锁屏应用可以在移动终端的锁屏状态下显示锁屏界面,并在该锁屏界面上显示壁纸切换控件;可以理解,该壁纸切换控件可以位于该锁屏界面的任意位置,如与锁屏界面中已有文字不冲突的位置等,本发明实施例对该壁纸切换控件在该锁屏界面中的具体位置不加以限制。
在本发明的另一种实施例中,上述第一应用可以为桌面应用。在用户使用移动终端的过程中,该桌面应用可以在桌面上显示壁纸切换控件;可以理解,该壁纸切换控件可以位于该桌面的任意位置,如与桌面中已有图标不冲突的位置等,本发明实施例对该壁纸切换控件在该桌面中的具体位置不加以限制。
可以理解,上述锁屏应用、桌面应用只是作为上述第一应用的具体示例,而不理解为本发明实施例对于上述第一应用的应用限制,实际上,任意的用于显示壁纸的应用均可以作为第一应用,本发明实施例对于具体的第一应用不加以限制。
本发明实施例中,上述壁纸切换控件具体可以包括开启和关闭两种状态,该两种状态可以分别用来标识壁纸管理服务开启和关闭的两种状态。
在本发明的一种实施例中,上述壁纸切换控件可以为切换开关。例如,该切换开关位于左侧时,可以标识切换开关的状态为开启,及该切换开关位于右侧时,可以标识切换开关的状态为关闭;或者,该切换开关位于左侧时, 可以标识切换开关的状态为关闭,及该切换开关位于右侧时,可以标识切换开关的状态为开启等等。
在本发明的另一种实施例中,上述壁纸切换控件还可以为复选框。该复选框可以为一个,当复选框被选中可以标识复选框的状态为开启,复选框未被选中可以标识复选框的状态为关闭。或者,该复选框还可以为两个,该两个复选框分别对应于开启状态和关闭状态,该两个复选框在同一时刻只有一个处于选中状态。
可以理解,上述切换开关和复选框仅作为壁纸切换控件的一种实例,而不理解为是对壁纸切换控件的一种限制,实际上,上述壁纸切换控件可以有多种表现形式,可以标识壁纸管理服务开启和关闭的两种状态的控件均是可行的,本发明实施例对壁纸切换控件的具体表现形式不做限制。
步骤202、上述第一应用接收用户针对上述壁纸切换控件的操作;
本发明实施例中,假设上述壁纸切换控件为切换开关,则用户针对该切换开关的操作具体可以包括:通过对切换开关进行开启和关闭的切换,从而可以将切换开关的状态由关闭切换为开启,或者将切换开关的状态由开启切换为关闭;假设壁纸切换开关为复选框,则用户针对复选框的操作具体可以包括:通过选中复选框以将复选框的状态由关闭切换为开启,或者通过不选中复选框以将复选框的状态由开启切换为关闭。
步骤203、上述第一应用依据上述操作修改上述第一应用关联的存储对象;其中,上述存储对象为第二应用的壁纸管理服务标识的存储对象;
本发明实施例中,存储对象可用于存储对应于上述壁纸切换控件的状态的壁纸管理服务标识,第二应用的壁纸管理服务标识用于标识壁纸管理服务是开启还是关闭。例如,上述壁纸切换控件的状态切换为开启,则存储对象中的壁纸管理服务标识可以对应修改为开启;上述壁纸切换控件的状态切换为关闭,则存储对象中的壁纸管理服务标识可以对应修改为关闭。
需要说明的是,可以预先建立第一应用与存储对象的映射关系,这样,在接收到上述操作时,可以依据上述映射关系获取上述操作对应的第一应用预先关联的存储对象。另外,由于上述存储对象为第二应用的对象,故为了实现第一应用对于上述存储对象的修改,第二应用可以向第一应用开放上述存储对象的操作权限。
在本发明的一种实施例中,上述存储对象可以为轻量存储类SharedPreference,第二应用创建在SharedPreference时,可以将SharedPreference的权限设置为其他应用可以读写,其中,上述其他应用可以包括上述第一应用;这样,当壁纸切换控件的状态改变时,第一应用根据壁纸切换控件的改变对SharedPreference进行修改,其中,对SharedPreference进行修改可以为对SharedPreference中的壁纸管理服务标识进行修改。
可以理解,上述SharedPreference仅作为存储对象的一个示例,而不应理解为是对存储对象的限制。实际上,可以存储壁纸切换标识的位于应用中的组件均是可行的,例如:轻量数据库SQfile、原生对象File、广播网Network等等,因此本发明实施例对存储对象不做限制。
步骤204、上述第一应用向上述第二应用发送上述存储对象的修改通知信息。
本发明实施例中,第一应用向第二应用发送上述存储对象的修改通知信息,用于通知第二应用上述存储对象已被修改,以使得第二应用接收到修改通知消息以后,获取当前存储对象中的壁纸切换标识,并根据该壁纸切换标识确定开启壁纸管理服务,或者关闭壁纸管理服务。
在本发明的一种实施例中,壁纸切换控件关联的存储对象修改完成以后,上述第一应用可以通过广播方式,也即调用广播组件(Broadcast)向其他应用发送所述存储对象的修改通知信息,其中,其他应用可以包括第二应用,也即第一应用可以调用广播组件向第二应用发送修改通知信息,以通知第二应用上述存储对象已被修改。
可以理解,上述广播方式仅作为第一应用向第二应用发送修改通知消息的发送方式的一种示例,而不理解为对发送方式的应用限制,实际上,用于实现两个进程间的通信方式均可以作为上述发送方式,用于实现两个进程间的通信方式具体可以包括:活动(Activity)、内容提供器(Content Provider)、AIDL(安卓接口定义语言,Android Interface definition language)等等,本发明实施例对具体的发送方式不加以限制。
综上,本发明实施例提供的一种壁纸切换方法,在接收到用户针对壁纸切换控件的操作以后,第一应用可以依据上述操作修改上述壁纸切换控件关联的存储对象,并向第二应用发送存储对象的修改通知消息,以使得第二用 户接收到修改通知消息以后,获取存储对象中的壁纸切换标识,并根据该标识确定开启壁纸管理服务,或者关闭壁纸管理服务;相对于现有技术中壁纸切换的开关位于壁纸应用或者手机设置等功能层级导致切换流程繁琐的缺陷,本发明实施例中壁纸切换控件可以位于与第二应用不同的第一应用,而该第一应用可以为锁屏应用或者桌面应用等用于显示壁纸的应用,故本发明实施例可以在不进入壁纸应用或者手机设置等功能层级的情况下,实现壁纸管理服务的切换,因此,能够简化壁纸切换的流程,从而能够提高壁纸切换的效率。
方法实施例三
参照图3,示出了本发明一种壁纸切换方法实施例三的步骤流程图,具体可以包括:
步骤301、第一应用监测用户在触摸屏上的滑动操作;
本发明实施例可以应用于手机、平板电脑等移动终端中,用于通过在第一应用上进行的滑动操作切换第二应用的壁纸管理服务,因此能够简化壁纸切换的流程,提高壁纸切换的效率,从而增加用户的使用体验。
步骤302、在上述操作为符合预置切换条件的滑动操作时,上述第一应用依据上述操作修改预先关联的存储对象;其中,上述存储对象为第二应用的壁纸管理服务标识的存储对象;
本发明的一种实施例中,上述预置切换条件具体可以为:在上述触摸屏上的竖向滑动操作。
本发明实施例中,上述第一应用依据上述滑动操作修改上述第一应用关联的存储对象的步骤具体可以为:
参照图4,示出了本发明的一种壁纸切换方法在触摸屏上的竖向滑动操作的滑动方向示意图,其中,当在上述触摸屏上的竖向滑动操作的方向为图4所示方向1的时候,存储对象中的壁纸管理服务标识可以对应修改为开启;当在上述触摸屏上的竖向滑动操作的方向为图4所示方向2的时候,存储对象中的壁纸管理服务标识可以对应修改为关闭;
或者当在上述触摸屏上的竖向滑动操作的方向为图4所示方向1的时候,存储对象中的壁纸管理服务标识可以对应修改为关闭;当在上述触摸屏 上的竖向滑动操作的方向为图4所示方向2的时候,存储对象中的壁纸管理服务标识可以对应修改为开启。
本发明的另一种实施例中,上述预置切换条件具体可以为:在上述触摸屏上横向滑动操作的同时进行按键操作。其中,上述按键操作可以为音量键;则上述第一应用依据上述滑动操作修改上述第一应用关联的存储对象的步骤具体可以为:当在上述则存储对象中的壁纸管理服务标识可以对应修改为开启;当在上述触摸屏上进行横向滑动操作的同时,进行减少音量按键的操作,则存储对象中的壁纸管理服务标识可以对应修改为关闭。
可以理解,上述在触摸屏上的竖向滑动操作和上述触摸屏上横向滑动操作的同时,进行按键操作,仅作为本发明实施例预置切换条件的两种示例,而不理解为是对本发明实施例预置切换条件的一种限制,实际上,能与现有解锁手势或者切换桌面手势操作不冲突的操作均是可行的,如现有解锁手势或切换桌面手势均为单根手指的操作,则本发明实施例的预置切换条件可以采用两根手指的操作等等,本发明实施例对预置切换条件不做具体限制。
在本发明的一种实施例中,上述存储对象可以为轻量存储类SharedPreference,第二应用创建在SharedPreference时,可以将SharedPreference的权限设置为其他应用可以读写,其中,上述其他应用可以包括上述第一应用;这样,当用户在触摸屏上的滑动操作满足预置切换条件时,第一应用根据壁纸切换控件的改变对SharedPreference进行修改,其中,对SharedPreference进行修改可以为对SharedPreference中的壁纸管理服务标识进行修改。
步骤303、上述第一应用向上述第二应用发送上述存储对象的修改通知信息。
综上,本发明实施例提供的一种壁纸切换方法,第一应用监测用户在触摸屏上的滑动操作,在上述操作为符合预置切换条件的滑动操作时,上述第一应用依据上述操作修改预先关联的存储对象,并向第二应用发送存储对象的修改通知消息,以使得第二用户接收到修改通知消息以后,获取存储对象中的壁纸切换标识,并根据该标识确定开启壁纸管理服务,或者关闭壁纸管理服务;相对于现有技术中壁纸切换的开关位于壁纸应用或者手机设置等功能层级导致切换流程繁琐的缺陷,本发明实施例中通过在第一应用上的滑动 操作以实现壁纸管理服务的切换,而该第一应用可以为锁屏应用或者桌面应用等能够显示壁纸的应用,故本发明实施例可以在不进入壁纸应用或者手机设置等功能层级的情况下,实现壁纸管理服务的切换,因此,能够简化壁纸切换的流程,从而能够提高壁纸切换的效率。
方法实施例四
参照图5,示出了本发明一种壁纸切换方法实施例五的步骤流程图,具体可以包括:
步骤501、第二应用接收来自第一应用的、存储对象的修改通知信息;其中,上述存储对象可以为第二应用的壁纸管理服务标识的存储对象;
本发明实施例中,第二应用可以为提供壁纸管理服务的应用。第一应用可以为能够显示壁纸的应用,第一应用可以监测用户在触摸屏上的操作,其上还可以显示壁纸切换控件,这样,第一应用监测到用户在触摸屏上的操作满足预置切换条件或者在接收到用户针对壁纸切换控件的操作以后,可以依据上述操作修改预先关联的存储对象,并可以向第二应用发送存储对象的修改通知消息,以使第二应用实现壁纸管理服务的切换。
本发明实施例中,上述修改通知消息用于通知第二应用存储对象已被更改。存储对象用于存储对应于上述预置切换条件或者壁纸切换控件的状态的壁纸管理服务标识,该壁纸管理服务标识可用于标识壁纸管理服务是开启或者关闭。
在本发明的一种实施例中,上述存储对象可以为轻量存储类SharedPreference,第二应用在创建SharedPreference时,可以将SharedPreference的权限设置为其他应用可以读写,其中,上述其他应用可以包括上述第一应用,这样用户在触摸屏上的操作满足预置切换条件或者壁纸切换控件的状态改变时,第一应用可以根据预置切换条件或者壁纸切换控件的改变而对SharedPreference进行修改,其中,对SharedPreference进行修改可以为对SharedPreference中的壁纸管理服务标识进行修改。
可以理解,上述SharedPreference仅作为存储对象的一个示例,而不应理解为是对存储对象的限制,实际上,可以存储壁纸切换标识的位于应用中的组件均是可行的,例如:轻量数据库SQfile、原生对象File、广播网Network 等等,因此本发明实施例对存储对象不做限制。
步骤502、第二应用在接收上述存储对象的修改通知信息后,读取上述存储对象;
在具体实现中,上述修改通知信息中可以携带有上述存储对象的标识信息;这样,在接收到修改通知消息时,第二应用可以依据上述存储对象的标识信息来读取上述存储对象的当前内容,所读取的当前内容也即上述存储对象对应壁纸管理服务标识的值。
在本发明的一种实施例中,上述第二应用可以通过调用广播接收组件(Broadcast Receiver)接收其他应用发送的广播消息,其中,上述其他应用的广播消息可以包括上述第一应用发送的修改通知消息,也即第二应用可以通过广播方式接收第一应用发送的修改通知消息广播。
可以理解,上述广播方式仅作为第二应用接收来自第一应用的、存储对象的修改通知信息的接收方式的一种示例,而不理解为对接收方式的应用限制,实际上,用于实现两个进程间的通信方式均可以作为上述接收方式,用于实现两个进程间的通信方式具体可以包括:Activity、Content Provider、AIDL等等,本发明实施例对具体的接收方式不加以限制。
步骤503、第二应用依据上述存储对象的读取结果,切换壁纸管理服务。
本发明的一种可选实施例中,假设壁纸管理服务标识有开启和关闭两种状态,则上述读取结果具体可以包括:开启和关闭两种,对应的,在上述存储对象的读取结果为开启时,可以开启上述壁纸管理服务,以使用户通过摇一摇方式或者滑动手机屏幕方式进行壁纸切换;或者在上述存储对象的读取结果为关闭时,可以关闭上述壁纸管理服务。
综上,本发明实施例提供的一种壁纸切换方法,第一应用监测用户在触摸屏上的操作,在上述操作为符合预置切换条件的滑动操作、或者,上述操作为针对壁纸切换控件的操作时,上述第一应用依据上述操作修改预先关联的存储对象,并向第二应用发送存储对象的修改通知消息,以使得第二用户接收到修改通知消息以后,获取存储对象中的壁纸切换标识,并根据该标识确定开启壁纸管理服务,或者关闭壁纸管理服务;相对于现有技术中壁纸切换的开关位于壁纸应用或者手机设置等功能层级导致切换流程繁琐的缺陷,本发明实施例中能够通过第一应用对用户在触摸屏上的操作进行监测,以使 得根据上述操作完成壁纸管理服务的切换,而该第一应用可以为锁屏应用或者桌面应用等能够显示壁纸的应用,故本发明实施例可以在不进入壁纸应用或者手机设置等功能层级的情况下,实现壁纸管理服务的切换,因此,能够简化壁纸切换的流程,从而能够提高壁纸切换的效率。
为使本领域技术人员更好地理解本发明实施例,下面通过具体的示例说明本发明实施例的壁纸切换方法:
在本发明的一种应用示例1中,假设第一应用为锁屏应用,也即锁屏应用监测用户在触摸屏的上的滑动操作,或者锁屏应用在锁屏界面上显示壁纸切换控件,则在进行壁纸切换时,用户可以在锁屏界面上沿图4所示方向1进行滑动操作或者开启壁纸切换控件,以使锁屏应用将壁纸应用的存储对象修改为开启状态,进而使壁纸应用根据存储对象的开启状态以开启壁纸管理服务,此种情况下,用户可以通过摇一摇方式或者滑动手机屏幕方式进行壁纸切换,当切换到用户满意的壁纸后,用户直接在锁屏界面上即可以通过沿图4所示方向2进行滑动操作或者关闭壁纸切换控件,从而使锁屏应用将壁纸应用的存储对象修改为关闭状态,使壁纸应用根据存储对象的关闭状态以关闭壁纸管理服务;可以看出,用户可以在不进入壁纸应用或者手机设置等功能层级的情况下,实现壁纸管理服务的切换。
在本发明的一种应用示例2中,假设第一应用为桌面应用,也即桌面应用监测用户在触摸屏的上的滑动操作,或者桌面应用在桌面上显示壁纸切换控件,,则用户在进行壁纸切换时,用户在桌面上即可以通过在桌面上沿图4所示方向1进行滑动操作或者开启壁纸切换控件,从而使桌面应用将壁纸应用的存储对象修改为开启状态,使壁纸应用根据存储对象的开启状态以开启壁纸管理服务,进而用户可以通过摇一摇方式或者滑动手机屏幕方式进行壁纸切换,当切换到用户满意的壁纸后,用户可以直接在桌面上通过沿图4所示方向2进行滑动操作或者关闭壁纸切换控件,从而使锁屏应用将壁纸应用的存储对象修改为关闭状态,使壁纸应用根据存储对象的关闭状态以关闭壁纸管理服务;可以看出,用户可以在不进入壁纸应用或者手机设置等功能层级的情况下,实现壁纸管理服务的切换。
上述两种示例相对于现有技术中壁纸切换的开关位于壁纸应用或者手 机设置等功能层级导致切换流程繁琐的缺陷,本发明实施例中能够通过第一应用对用户在触摸屏上的操作进行监测,以使得可以根据上述操作完成壁纸管理服务的切换,故本发明实施例可以在不进入壁纸应用或者手机设置等功能层级的情况下,实现壁纸管理服务的切换,因此,能够简化壁纸切换的流程,从而能够提高壁纸切换的效率。
装置实施例一
参照图6,示出了本发明一种壁纸切换装置实施例一的结构示意图,具体可以包括:监测单元601、修改单元602及发送单元603;
需要说明的是,本发明实施例可以应用于移动终端的第一应用中,第一应用可以为用于显示壁纸的应用。
其中,监测单元601,可以用于监测用户在触摸屏上的操作;
修改单元602,可以用于在上述操作为符合预置切换条件的滑动操作,或者,上述操作为针对壁纸切换控件的操作时,上述第一应用依据上述操作修改预先关联的存储对象;其中,上述存储对象为第二应用的壁纸管理服务标识的存储对象;及
发送单元603,可以用于向上述第二应用发送上述存储对象的修改通知信息。
其中,上述第二应用可以为提供壁纸管理服务的应用。
在本发明的一种实施例中,上述壁纸切换控件可以为切换开关,或者,所述壁纸切换控件可以为复选框。
在本发明的一种实施例中,上述存储对象具体可以包括:轻量存储类、轻量数据库、原生对象、广播网。
在本发明的一种实施例中,上述符合预置切换条件的滑动操作包括:在上述触摸屏上的竖向滑动操作。
装置实施例二
参照图7,示出了本发明一种壁纸切换装置实施例二的结构示意图,具体可以包括:监测单元701、修改单元702及发送单元703;
需要说明的是,本发明实施例可以应用于移动终端的第一应用中,第一 应用可以为用于显示壁纸的应用。
其中,监测单元701,可以用于监测用户在触摸屏上的操作;
修改单元702,可以用于在上述操作为符合预置切换条件的滑动操作、或者,上述操作为针对壁纸切换控件的操作时,上述第一应用依据上述操作修改预先关联的存储对象;其中,上述存储对象为第二应用的壁纸管理服务标识的存储对象;及
发送单元703,可以用于向上述第二应用发送上述存储对象的修改通知信息;
其中,上述发送单元703具体可以包括:第一发送模块7031及第二发送模块7032;
第一发送模块7031,用于通过广播方式向所述第二应用发送所述存储对象的修改通知信息;或者
第二发送模块7032,用于通过内容提供器方式向所述第二应用发送所述存储对象的修改通知信息。
装置实施例三
参照图8,示出了本发明一种壁纸切换装置实施例三的结构示意图,具体可以包括:监测单元801、修改单元802及发送单元803;
需要说明的是,本发明实施例可以应用于移动终端的第一应用中,第一应用可以为用于显示壁纸的应用。
其中,监测单元801,可以用于监测用户在触摸屏上的操作;
修改单元802,可以用于在上述操作为符合预置切换条件的滑动操作、或者,上述操作为针对壁纸切换控件的操作时,所述第一应用依据上述操作修改预先关联的存储对象;其中,上述存储对象为第二应用的壁纸管理服务标识的存储对象;及
发送单元803,可以用于向上述第二应用发送上述存储对象的修改通知信息;
其中,监测单元801具体可以包括:
第一显示模块8011,可以用于在锁屏界面上显示壁纸切换控件;
在本发明的另一个实施例中,监测单元801具体还可以包括:第二显示 模块,可以用于在桌面上显示壁纸切换控件。
装置实施例四
参照图9,示出了本发明一种壁纸切换装置实施例四的结构示意图,具体可以包括:接收单元901、读取单元902及切换单元903;
需要说明的是,本发明实施例可以应用于移动终端的第二应用中,第二应用可以为提供壁纸管理服务的应用。
其中,接收单元901,用于接收来自第一应用的、存储对象的修改通知信息;其中,上述存储对象为第二应用的壁纸管理服务标识的存储对象;
读取单元902,用于在接上述存储对象的修改通知信息后,读取上述存储对象;及
切换单元903,用于依据上述存储对象的读取结果,切换壁纸管理服务。
在本发明的一种实施例中,所述存储对象具体可以包括:轻量存储类、轻量数据库、原生对象、广播网。
在本发明的另一种实施例中,上述第一应用可以为锁屏应用或者桌面应用。
装置实施例五
参照图10,示出了本发明一种壁纸切换装置实施例五的结构示意图,具体可以包括:接收单元1001、读取单元1002及切换单元1003;
需要说明的是,本发明实施例可以应用于移动终端的第二应用中,第二应用可以为提供壁纸管理服务的应用。
其中,接收单元1001,用于接收来自第一应用的、存储对象的修改通知信息;其中,上述存储对象可以为第二应用的壁纸管理服务标识的存储对象;
读取单元1002,用于在接上述存储对象的修改通知信息后,读取上述存储对象;及
切换单元1003,用于依据上述存储对象的读取结果,切换壁纸管理服务。
其中,上述切换单元1003具体可以包括:
第一切换模块10031,用于在所述存储对象的读取结果为开启时,开启所述壁纸管理服务;或者
第二切换模块10032,用于在所述存储对象的读取结果为关闭时,关闭所述壁纸管理服务。
装置实施例六
参照图11,示出了本发明一种壁纸切换装置实施例六的结构示意图,具体可以包括:接收单元1101、读取单元1102及切换单元1103;
需要说明的是,本发明实施例可以应用于移动终端的第二应用中,第二应用可以为提供壁纸管理服务的应用。
其中,接收单元1101,用于接收来自第一应用的、存储对象的修改通知信息;其中,上述存储对象为第二应用的壁纸管理服务标识的存储对象;
读取单元1102,用于在接上述存储对象的修改通知信息后,读取上述存储对象;及
切换单元1103,用于依据上述存储对象的读取结果,切换壁纸管理服务。
其中,上述接收单元1101具体可以包括:
第一接收模块11011,用于通过广播方式接收所述第一应用发送的所述存储对象的修改通知信息;和/或
第二接收模块11012,用于通过内容提供器方式接收所述第一应用发送的所述存储对象的修改通知信息。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的移动终端中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者 装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图12示出了可以实现根据本发明的移动终端。该移动终端传统上包括处理器1210和以存储器1220形式的计算机程序产品或者计算机可读介质。存储器1220可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1220具有用于执行上述方法中的任何方法步骤的程序代码1231的存储空间1230。例如,用于程序代码的存储空间1230可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1231。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图13所述的便携式或者固定存储单元。该存储单元可以具有与图12的移动终端中的存储器1220类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码1231’,即可以由例如诸如1210之类的处理器读取的代码,这些代码当由移动终端运行时,导致该移动终端执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成 对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (28)

  1. 一种壁纸切换方法,其特征在于,包括:
    第一应用监测用户在触摸屏上的操作;
    在所述操作为符合预置切换条件的滑动操作,或者,所述操作为针对壁纸切换控件的操作时,所述第一应用依据所述操作修改预先关联的存储对象;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;
    所述第一应用向所述第二应用发送所述存储对象的修改通知信息。
  2. 根据权利要求1所述的方法,其特征在于,所述壁纸切换控件为切换开关,或者,所述壁纸切换控件为复选框。
  3. 根据权利要求1所述的方法,其特征在于,所述符合预置切换条件的滑动操作包括:在所述触摸屏上的竖向滑动操作。
  4. 根据权利要求1所述的方法,其特征在于,所述第一应用向所述第二应用发送所述存储对象的修改通知信息的步骤,包括:
    第一应用通过广播方式向所述第二应用发送所述存储对象的修改通知信息;或者
    第一应用通过内容提供器方式向所述第二应用发送所述存储对象的修改通知信息。
  5. 根据权利要求1所述的方法,其特征在于,所述第一应用为锁屏应用,则所述壁纸切换控件在所述锁屏应用的锁屏界面上显示。
  6. 根据权利要求1所述的方法,其特征在于,所述第一应用为桌面应用,则所述壁纸切换控件在所述桌面应用的界面上显示。
  7. 根据权利要求1所述的方法,其特征在于,所述存储对象包括:轻量存储类、轻量数据库、原生对象、广播网。
  8. 根据权利要求1所述的方法,其特征在于,所述第二应用为提供壁纸管理服务的应用。
  9. 一种壁纸切换方法,其特征在于,包括:
    第二应用接收来自第一应用的、存储对象的修改通知信息;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;
    第二应用在接收所述存储对象的修改通知信息后,读取所述存储对象;
    第二应用依据所述存储对象的读取结果,切换壁纸管理服务。
  10. 根据权利要求9所述的方法,其特征在于,所述第二应用依据所述存储对象的读取结果,切换壁纸管理服务的步骤,包括:
    在所述存储对象的读取结果为开启时,开启所述壁纸管理服务;或者
    在所述存储对象的读取结果为关闭时,关闭所述壁纸管理服务。
  11. 根据权利要求9所述的方法,其特征在于,所述第二应用接收来自第一应用的、存储对象的修改通知信息的步骤,包括:
    所述第二应用通过广播方式接收所述第一应用发送的所述存储对象的修改通知信息;或者
    所述第二应用通过内容提供器方式接收所述第一应用发送的所述存储对象的修改通知信息。
  12. 根据权利要求9所述的方法,其特征在于,所述存储对象包括:轻量存储类、轻量数据库、原生对象、广播网。
  13. 根据权利要求9所述的方法,其特征在于,所述第一应用为锁屏应用或者桌面应用。
  14. 一种壁纸切换装置,其特征在于,所述装置包括:
    监测单元,用于监测用户在触摸屏上的操作;
    修改单元,用于在所述操作为符合预置切换条件的滑动操作,或者,所述操作为针对壁纸切换控件的操作时,所述第一应用依据所述操作修改预先关联的存储对象;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;及
    发送单元,用于向所述第二应用发送所述存储对象的修改通知信息。
  15. 根据权利要求14所述的装置,其特征在于,所述壁纸切换控件为切换开关,或者,所述壁纸切换控件为复选框。
  16. 根据权利要求14所述的装置,其特征在于,所述符合预置切换条件的滑动操作包括:在所述触摸屏上的竖向滑动操作。
  17. 根据权利要求14所述的装置,其特征在于,所述发送单元包括:
    第一发送模块,用于通过广播方式向所述第二应用发送所述存储对象的修改通知信息;或者
    第二发送模块,用于通过内容提供器方式向所述第二应用发送所述存储对象的修改通知信息。
  18. 根据权利要求14所述的装置,其特征在于,所述第一应用为锁屏应用,则所述壁纸切换控件在所述锁屏应用的锁屏界面上显示。
  19. 根据权利要求14所述的装置,其特征在于,所述第一应用为桌面应用,则所述壁纸切换控件在所述桌面应用的界面上显示。
  20. 根据权利要求14所述的装置,其特征在于,所述存储对象包括:轻量存储类、轻量数据库、原生对象、广播网。
  21. 根据权利要求14所述的装置,其特征在于,所述第二应用为提供壁纸管理服务的应用。
  22. 一种壁纸切换装置,其特征在于,所述装置包括:
    第二接收单元,用于接收来自第一应用的、存储对象的修改通知信息;其中,所述存储对象为第二应用的壁纸管理服务标识的存储对象;
    读取单元,用于在接收所述存储对象的修改通知信息后,读取所述存储对象;及
    切换单元,用于依据所述存储对象的读取结果,切换壁纸管理服务。
  23. 根据权利要求22所述的装置,其特征在于,所述切换单元包括:
    第一切换模块,用于在所述存储对象的读取结果为开启时,开启所述壁纸管理服务;或者
    第二切换模块,用于在所述存储对象的读取结果为关闭时,关闭所述壁纸管理服务。
  24. 根据权利要求22所述的装置,其特征在于,所述第二接收单元包括:
    第一接收模块,用于通过广播方式接收所述第一应用发送的所述存储对象的修改通知信息;和/或
    第二接收模块,用于通过内容提供器方式接收所述第一应用发送的所述存储对象的修改通知信息。
  25. 根据权利要求22所述的装置,其特征在于,所述存储对象包括:轻量存储类、轻量数据库、原生对象、广播网。
  26. 根据权利要求22所述的装置,其特征在于,所述第一应用为锁屏应用或者桌面应用。
  27. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在移动终端上运行时,导致所述移动终端执行根据权利要求1-8、9-13中的任一个所述的壁纸切换方法。
  28. 一种计算机可读介质,其中存储了如权利要求27所述的计算机程序。
PCT/CN2016/087336 2015-08-06 2016-06-27 一种壁纸切换方法及装置 WO2017020665A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/238,586 US20170038955A1 (en) 2015-08-06 2016-08-16 Wallpaper switching method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510478766.5 2015-08-06
CN201510478766.5A CN105979059A (zh) 2015-08-06 2015-08-06 一种壁纸切换方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/238,586 Continuation US20170038955A1 (en) 2015-08-06 2016-08-16 Wallpaper switching method and device

Publications (1)

Publication Number Publication Date
WO2017020665A1 true WO2017020665A1 (zh) 2017-02-09

Family

ID=56988323

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087336 WO2017020665A1 (zh) 2015-08-06 2016-06-27 一种壁纸切换方法及装置

Country Status (3)

Country Link
US (1) US20170038955A1 (zh)
CN (1) CN105979059A (zh)
WO (1) WO2017020665A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780871A (zh) * 2018-07-31 2020-02-11 中兴通讯股份有限公司 一种负一屏加载方法、装置、终端及计算机可读存储介质
CN109753200A (zh) * 2018-11-21 2019-05-14 惠州Tcl移动通信有限公司 一种修改应用程序标识的方法和移动设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102648617A (zh) * 2009-12-02 2012-08-22 日本电气株式会社 便携式终端装置以及便携式终端装置的功能设定方法
CN102739849A (zh) * 2011-04-15 2012-10-17 中兴通讯股份有限公司 终端、终端中的功能调用方法及装置
CN103559046A (zh) * 2013-09-10 2014-02-05 北京三星通信技术研究有限公司 一种启动终端功能的方法、装置及终端设备
US20140096047A1 (en) * 2012-09-28 2014-04-03 Samsung Electronics Co., Ltd. Electronic apparatus, method of executing application, and computer readable recording medium
CN104238878A (zh) * 2014-09-05 2014-12-24 广东欧珀移动通信有限公司 一种启动应用程序或应用程序功能的方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423820A (zh) * 2013-08-27 2015-03-18 贝壳网际(北京)安全技术有限公司 锁屏壁纸更换方法及装置
CN104461473B (zh) * 2013-09-12 2019-05-07 腾讯科技(深圳)有限公司 一种锁屏壁纸的切换方法及装置、终端设备
CN104679379B (zh) * 2013-11-27 2018-11-27 阿里巴巴集团控股有限公司 更换锁屏应用壁纸的方法及装置
CN104484193A (zh) * 2014-11-20 2015-04-01 乐视网信息技术(北京)股份有限公司 一种快速启动应用程序的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102648617A (zh) * 2009-12-02 2012-08-22 日本电气株式会社 便携式终端装置以及便携式终端装置的功能设定方法
CN102739849A (zh) * 2011-04-15 2012-10-17 中兴通讯股份有限公司 终端、终端中的功能调用方法及装置
US20140096047A1 (en) * 2012-09-28 2014-04-03 Samsung Electronics Co., Ltd. Electronic apparatus, method of executing application, and computer readable recording medium
CN103559046A (zh) * 2013-09-10 2014-02-05 北京三星通信技术研究有限公司 一种启动终端功能的方法、装置及终端设备
CN104238878A (zh) * 2014-09-05 2014-12-24 广东欧珀移动通信有限公司 一种启动应用程序或应用程序功能的方法及装置

Also Published As

Publication number Publication date
US20170038955A1 (en) 2017-02-09
CN105979059A (zh) 2016-09-28

Similar Documents

Publication Publication Date Title
US9973506B2 (en) Method and apparatus for clearing notification icon, and storage medium
US9594496B2 (en) Method and apparatus for playing IM message
KR102318877B1 (ko) 전자 기기의 사용자 인터페이스 표시 방법 및 장치
CN105389099B (zh) 用于语音记录和回放的方法和设备
US10469646B2 (en) Method and apparatus for providing communication-related information
JP6568355B2 (ja) アプリ間でアカウントを相互通信する方法及び装置
RU2706951C2 (ru) Способ и устройство для обеспечения графического интерфейса пользователя
CN109076331A (zh) 电子设备和电子设备的控制方法
CN107924288A (zh) 电子设备及其使用语音识别来执行功能的方法
WO2016204993A1 (en) Pairing of nearby devices using a synchronized cue signal
CN106201491B (zh) 移动终端和移动终端远程协助过程控制方法、装置
US11204681B2 (en) Program orchestration method and electronic device
US11356562B2 (en) Transferring an active telephone conversation
KR102202110B1 (ko) 서비스 제공 방법, 전자 장치 및 저장 매체
EP3206341B1 (en) Method, apparatus and device for displaying message
KR20160044505A (ko) 심리스 통화 전환
CN104765522A (zh) 聊天窗口的展示控制方法及系统
US11140534B2 (en) Non-intrusive proximity based advertising and message delivery
US9986082B2 (en) Interface device and method between electronic device and external device using ear jack of the electronic device
EP2990947A1 (en) Method and apparatus for backing up data and electronic device
KR102071530B1 (ko) 디나이얼 발생시 대응 메뉴얼을 제안하는 전자 장치 및 방법
CN105429800A (zh) 网络连接的处理方法、装置和终端设备
WO2017097258A1 (zh) 垃圾信息的拦截方法、装置、计算机程序及可读介质
WO2017020665A1 (zh) 一种壁纸切换方法及装置
WO2016115753A1 (zh) 运行多系统的方法、装置及终端

Legal Events

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

Ref document number: 16832153

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16832153

Country of ref document: EP

Kind code of ref document: A1