WO2017166754A1 - 关注状态同步的方法、装置、移动终端和电子设备 - Google Patents
关注状态同步的方法、装置、移动终端和电子设备 Download PDFInfo
- Publication number
- WO2017166754A1 WO2017166754A1 PCT/CN2016/100252 CN2016100252W WO2017166754A1 WO 2017166754 A1 WO2017166754 A1 WO 2017166754A1 CN 2016100252 W CN2016100252 W CN 2016100252W WO 2017166754 A1 WO2017166754 A1 WO 2017166754A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- state
- interface
- interest
- application
- attention
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Definitions
- the present application relates to the field of mobile Internet technologies, and in particular, to a method, an apparatus, a mobile terminal, and an electronic device that focus on state synchronization.
- the user pays attention to the interface A by clicking the attention button on the picture, for example, the five-pointed star in FIG. 1A.
- a picture at this time the five-pointed star in Figure 1A is displayed as dark to indicate that the picture has been noticed; when the user jumps to another interface B with the same picture, as shown in Figure 1B, due to interface B
- the attention state of the picture is not synchronized, and the five-pointed star of the picture on the interface B is still displayed in white, that is, the display is in an unattended state, and the user may Click on the attention button on the image. In this way, the click button of the attention button is actually double-clicked, and the server end becomes a attention operation and a cancel operation, thereby causing the picture not to be noticed.
- the technical problem to be solved by the present application is that multiple interface attention states are not synchronized, which may cause the user to misuse.
- the embodiment of the present application provides a method for monitoring state synchronization, including: monitoring, on each interface, a change of a state of interest of each object on the interface; when listening to an object on the interface on a certain interface When attention is paid to the state change, the attention state of the object is changed; and the other related interfaces of the object are notified to update the attention state.
- the application is a wallpaper application, a video application, an online shopping application or a browser application.
- the object comprises text, links, pictures, videos, audio.
- the step of notifying the other related interfaces of the object to update the attention state comprises: traversing all listeners registered in the object; notifying the listener registered in the object of the attention state change of the object And causing each of the listeners to notify the interface to update the attention status display of the object.
- the embodiment of the present application further provides an apparatus for monitoring state synchronization, comprising: a monitoring unit, configured to monitor, on each interface, a state of interest change of each object on the interface; and a state changing unit, configured to: When an interface monitors the change of the attention state of an object on the interface, the attention state of the object is changed; and the notification unit is configured to notify the other related interfaces of the object to update the attention state.
- a monitoring unit configured to monitor, on each interface, a state of interest change of each object on the interface
- a state changing unit configured to: When an interface monitors the change of the attention state of an object on the interface, the attention state of the object is changed; and the notification unit is configured to notify the other related interfaces of the object to update the attention state.
- the application is a wallpaper application, a video application, an online shopping application or a browser application.
- the object comprises text, links, pictures, videos, audio.
- the notification unit includes: a traversal subunit for traversing all listeners registered in the object; and a notification subunit, configured to notify the listener registered in the object of the attention state change of the object And an update subunit, configured to cause each of the listeners to notify the interface to update the attention status display of the object.
- the embodiment of the present application further provides a mobile terminal, including the thumbnail image obtaining apparatus according to any one of the above.
- the mobile terminal is a mobile phone or a tablet.
- An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor Executing, by the at least one processor, the at least one processor to monitor, on each interface, a change of a state of interest of each object on the interface; when listening to the interface on the interface When the attention state of an object changes, the attention state of the object is changed; and the other related interfaces of the object are notified to update the attention state.
- the application is a wallpaper application, a video application, an online shopping application, or a browser application.
- the object includes a text, a link, a picture, a video, and an audio.
- the electronic device is characterized in that: the notifying the other related interfaces of the object to update the attention state comprises: traversing all the listeners registered in the object; and the attention state of the object The change is notified to all listeners registered to the object; each of the listeners is notified that the interface is updated to display the attention status of the object.
- Embodiments of the present application also provide a non-volatile computer storage medium storing the computer-executable instructions of computer-executable instructions that, when executed by an electronic device, enable an electronic device to be on each interface Listening to the change of the attention state of each object on the interface; when listening to the change of the attention state of an object on the interface on a certain interface, changing the attention state of the object; notifying the other related interfaces of the object to update the attention state .
- the application is a wallpaper application, a video application, an online shopping application, or a browser application.
- the object includes a text, a link, a picture, a video, and an audio.
- the non-volatile computer storage medium of the embodiment of the present application is characterized in that: the other related interfaces that notify the object to update the attention state include: traversing all the listeners registered in the object; Notification of changes in the state of interest of the object to all registered objects a listener; causing each of the listeners to notify the interface to update the attention state display of the object.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
- the computer is caused to perform the method of any of the above.
- the method, device, mobile terminal and electronic device of the state of interest synchronization provided by the embodiments of the present application can monitor the attention state change of the object on the interface on each interface that is opened, and listen to the attention of an object on a certain interface.
- the state changes the other related interfaces that notify the object update the attention state, thereby synchronizing the attention states on the respective interfaces, thereby avoiding user misoperation.
- FIG. 1A and FIG. 1B are schematic diagrams showing attention to a picture in a plurality of interfaces in the prior art
- FIG. 2 shows a flow chart of a method of attention state synchronization in accordance with an embodiment of the present application
- FIG. 3 shows a flow chart of a specific embodiment of step S13 in Figure 2
- FIG. 4 shows a schematic diagram of an apparatus for state of interest synchronization in accordance with an embodiment of the present application
- FIG. 5 is a schematic diagram showing the hardware structure of an electronic device according to an embodiment of the present application. .
- connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
- connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
- the embodiment provides a method for focusing on state synchronization.
- the method can be applied to mobile terminals such as mobile phones and tablet computers. As shown in FIG. 2, the method includes the following steps:
- step S11 On each interface, the attention state change of each object on the interface is monitored. When the attention state change is not monitored, the monitoring is continued, and when the attention state of an object on the interface is monitored on a certain interface, For example, if the user clicks the attention button on the object, the process proceeds to step S12.
- S12. Change the attention status of the object. For example, when the object is in an unattended state, When the attention state changes, the object becomes the attention state; when the object is in the attention state, the object becomes the unattended state.
- the mobile terminal monitors the change of the attention state of the object on the interface on each interface that is opened, and notifies the other related interfaces of the object to update the attention state when the attention state of an object changes on a certain interface.
- the state of interest on each interface is synchronized, thereby avoiding user misoperation.
- the attention state change of each picture on the interface is monitored on each interface, and when the attention state of a picture changes, the picture is changed in a cache of the wallpaper application, such as a full wallpaper cache. Focus on the status so that the other associated interfaces of the picture can be notified to update the status of interest.
- the foregoing step S13 may include:
- the listener of the object on the interface looks up all the listeners registered to the object, and the listeners are used to listen to the object on other interfaces. After the attention state changes, the listeners notify the interface to update the attention state display of the object after learning the change of the attention state of the object, thereby implementing the notification of updating the attention state of other related interfaces that notify the object.
- the state of interest synchronization in the embodiment of the present application is not limited to a picture in a wallpaper application, but can be applied to objects in any application, such as video in a video application, and a product link on an online shopping application. Text, links, images, videos, audio, etc. on the browser app.
- the embodiment provides a device for monitoring state synchronization.
- the device can be applied to mobile terminals such as mobile phones and tablet computers.
- the device includes:
- the monitoring unit 21 is configured to monitor, on each interface, a state of interest change of each object on the interface.
- the state changing unit 22 is configured to change the attention state of the object when the monitoring unit 21 monitors the change of the attention state of an object on the interface on the certain interface. For example, when the object is in an unattended state, when the attention state changes, the object is made to be in a state of interest; and when the object is originally in a state of interest, the object is made into an unattended state.
- the notification unit 23 is configured to notify other related interfaces of the object to update the attention state.
- the mobile terminal monitors the change of the attention state of the object on the interface on each interface that is opened, and notifies the other related interfaces of the object to update the attention state when the attention state of an object on a certain interface changes.
- the state of interest on each interface is synchronized, thereby avoiding user misoperation.
- the foregoing notification unit 23 may include:
- a notification subunit configured to notify the listener registered in the object of the attention state change of the object
- the update subunit is used to cause each listener to notify the interface to update the attention status display.
- the state of interest synchronization in the embodiment of the present application is not limited to a picture in a wallpaper application, but can be applied to objects in any application, such as video in a video application, and a product link on an online shopping application. Text, links, images, videos, audio, etc. on the browser app.
- the embodiment of the present application further provides a mobile terminal, which includes the apparatus for attention state synchronization as described above.
- the mobile terminal monitors the change of the attention state of the object on the interface on each opened interface, and stores the change of the attention state in the cache of the corresponding application, so that the other interface can be notified to update the attention state, thereby making the interface Focus on state synchronization to avoid user misuse.
- the present application also provides an electronic device, including at least one processor 810; And a memory 800 communicatively coupled to the at least one processor 810; wherein the memory 800 stores instructions executable by the at least one processor 810, the instructions being executed by the at least one processor 810, So that the at least one processor 810 can monitor the attention state change of each object on the interface on each interface; when the attention state change of an object on the interface is monitored on a certain interface, the object is changed The state of interest; notifying the other associated interfaces of the object to update the state of interest.
- the application is a wallpaper application, a video application, an online shopping application, or a browser application.
- the object includes a text, a link, a picture, a video, and an audio.
- the electronic device is characterized in that: the notifying the other related interfaces of the object to update the attention state comprises: traversing all the listeners registered in the object; changing the attention state of the object Notifying all listeners registered to the object; causing each of the listeners to notify the interface to update the attention status display of the object.
- Embodiments of the present application also provide a non-volatile computer storage medium storing the computer-executable instructions of computer-executable instructions that, when executed by an electronic device, enable an electronic device to be on each interface Listening to the change of the attention state of each object on the interface; when listening to the change of the attention state of an object on the interface on a certain interface, changing the attention state of the object; notifying the other related interfaces of the object to update the attention state .
- the application is a wallpaper application, a video application, an online shopping application, or a browser application.
- the object includes text, a link, a picture, a video, and audio.
- notifying the other related interfaces of the object to update the attention state comprises: traversing all the listeners registered in the object; Notifying the listener registered in the object of the attention state change of the object; causing each of the listeners to notify the interface to update the attention state display of the object.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
- the computer is caused to perform the method described in the above embodiments.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种关注状态同步的方法、装置、移动终端和电子设备,涉及移动互联网技术领域,所述方法包括:在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。由此,可以使得各个界面上的关注状态同步,避免了用户误操作。
Description
交叉引用
本申请为在2016年04月01日提交中国专利局、申请号为201610203974.9、发明名称为“关注状态同步的方法、装置和移动终端”的中国专利申请的继续申请,本申请要求在2016年04月01日提交中国专利局、申请号为201610203974.9、发明名称为“关注状态同步的方法、装置和移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及移动互联网技术领域,具体涉及一种关注状态同步的方法、装置、移动终端和电子设备。
在移动互联网时代,手机等移动终端在人们生活中的应用越来越广泛。例如,用户可以打开一个壁纸应用,然后从里面挑选喜欢的图片。现有的壁纸应用在每张图片上都会设置一个关注按键,用户在遇到自己喜欢的图片时,可以通过点击图片上的关注按键来关注该图片。
由于用户浏览的随意性,会打开多个界面,而这多个界面上很有可能展示有同一张图片,用户通过点击图片上的关注按键,例如图1A中的五角星,关注了界面A上的某个图片,此时图1A中的五角星显示为深色以表示该图片已被关注;当用户跳转到另一个具有同样图片的界面B时,如图1B所示,由于界面B上并未同步该图片的关注状态,界面B上的该图片的关注按键五角星仍然显示为白色,即显示处于未关注状态,用户可能会再
次点击该图片上的关注按键。这样,实际上对该关注按键进行了两次点击操作,反映到服务器端就变成了一次关注操作和一次取消关注操作,从而导致了该图片并未被关注上。
发明内容
本申请要解决的技术问题在于多个界面关注状态不同步会导致用户误操作。
为此,本申请实施例提供了一种关注状态同步的方法,包括:在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。
优选地,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
优选地,所述对象包括文字、链接、图片、视频、音频。
优选地,所述通知所述对象的其他关联界面更新关注状态的步骤包括:遍历所有注册于所述对象的监听器;将所述对象的关注状态变化通知给所有注册于所述对象的监听器;使各个所述监听器通知所在界面更新所述对象的关注状态显示。
本申请实施例还提供了一种关注状态同步的装置,包括:监听单元,用于在每个界面上监听界面上各个对象的关注状态变化;状态更改单元,用于在所述监听单元在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知单元,用于通知所述对象的其他关联界面更新关注状态。
优选地,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
优选地,所述对象包括文字、链接、图片、视频、音频。
优选地,所述通知单元包括:遍历子单元,用于遍历所有注册于所述对象的监听器;通知子单元,用于将所述对象的关注状态变化通知给所有注册于所述对象的监听器;更新子单元,用于使各个所述监听器通知所在界面更新所述对象的关注状态显示。
本申请实施例还提供了一种移动终端,包括上述任一项所述的缩略图获取装置。优选地,所述移动终端是手机或平板电脑。
本申请实施例还提供了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。本申请实施例所述的电子设备,优选地,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
本申请实施例所述的电子设备,优选地,所述对象包括文字、链接、图片、视频、音频。
本申请实施例所述的电子设备,优选地,其特征在于,所述通知所述对象的其他关联界面更新关注状态包括:遍历所有注册于所述对象的监听器;将所述对象的关注状态变化通知给所有注册于所述对象的监听器;使各个所述监听器通知所在界面更新所述对象的关注状态显示。
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。
本申请实施例所述的非易失性计算机存储介质,优选地,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
本申请实施例所述的非易失性计算机存储介质,优选地,所述对象包括文字、链接、图片、视频、音频。
本申请实施例所述的非易失性计算机存储介质,优选地,其特征在于,所述通知所述对象的其他关联界面更新关注状态包括:遍历所有注册于所述对象的监听器;将所述对象的关注状态变化通知给所有注册于所述对象
的监听器;使各个所述监听器通知所在界面更新所述对象的关注状态显示。
本申请实施例还提出了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。
本申请技术方案,具有如下优点:
本申请实施例所提供的关注状态同步的方法、装置、移动终端和电子设备,可以在打开的每个界面上监听界面上对象的关注状态变化,在监听到某一界面上某个对象的关注状态发生变化时,通知该对象的其他关联界面更新关注状态,由此使得各个界面上的关注状态同步,避免了用户误操作。
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1A和图1B示出了的现有技术中在多个界面下对图片进行关注的示意图;
图2示出了根据本申请实施例的关注状态同步的方法的流程图;
图3示出了图2中的步骤S13的一个具体实施方式的流程图
图4示出了根据本申请实施例的关注状态同步的装置的示意图;
图5示出了根据本申请实施例中电子设备的硬件结构示意图。。
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申
请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。
此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1
本实施例提供了一种关注状态同步的方法,该方法可以适用于手机、平板电脑等移动终端,如图2所示,该方法包括如下步骤:
S11.在每个界面上监听界面上各个对象的关注状态变化,当未监听到关注状态变化时,则继续进行监听,当在某一界面上监听到该界面上某一对象的关注状态变化时,例如监听到用户点击该对象上的关注按键,此时进入步骤S12。
S12.更改该对象的关注状态。例如该对象本来处于未关注状态时,当
关注状态发生变化时,使该对象变为关注状态;而当对象本来处于关注状态时,则使该对象变为未关注状态。
S13.通知该对象的其他关联界面更新关注状态。
通过上述方法步骤,移动终端在打开的每个界面上监听界面上对象的关注状态变化,在监听到某一界面上某个对象的关注状态发生变化时,通知该对象的其他关联界面更新关注状态,由此使得各个界面上的关注状态同步,避免了用户误操作。
例如,对于壁纸应用而言,在每个界面上监听界面上各个图片的关注状态变化,当某张图片的关注状态发生变化时,则在壁纸应用的缓存,例如full wallpaper cache中更改该图片的关注状态,从而可以通知该图片的其他关联界面更新关注状态。
具体地,如图3所示,上述步骤S13可以包括:
S131.遍历所有注册于该对象的监听器;
S132.将该对象的关注状态变化通知给所有注册于该对象的监听器;
S133.使各个监听器通知所在界面更新该对象的关注状态显示。
例如,当用户点击某一界面上某个对象的关注按键时,该界面上该对象的监听器会查找所有注册于该对象的监听器,这些监听器是用于监听在其他界面上的该对象的关注状态变化的,这些监听器在获知该对象的关注状态变化后,则会通知所在界面更新该对象的关注状态显示,从而就实现了通知该对象的其他关联界面更新关注状态。
本领域技术人员可以理解,本申请实施例中的关注状态同步并不局限于壁纸应用内的图片,而可以适用于任何应用内的对象,例如视频应用内的视频,网购应用上的商品链接,浏览器应用上的文字、链接、图片、视频、音频等。
实施例2
相应地,本实施例提供了一种关注状态同步的装置,该装置可以适用于手机、平板电脑等移动终端,如图2所示,该装置包括:
监听单元21,用于在每个界面上监听界面上各个对象的关注状态变化。
状态更改单元22,用于在监听单元21在某一界面上监听到该界面上某一对象的关注状态变化时,更改该对象的关注状态。例如该对象本来处于未关注状态时,当关注状态发生变化时,使该对象变为关注状态;而当对象本来处于关注状态时,则使该对象变为未关注状态。
通知单元23,用于通知该对象的其他关联界面更新关注状态。
通过上述各个单元,移动终端在打开的每个界面上监听界面上对象的关注状态变化,在监听到某一界面上某个对象的关注状态发生变化时,通知该对象的其他关联界面更新关注状态,由此使得各个界面上的关注状态同步,避免了用户误操作。
具体地,上述通知单元23可以包括:
遍历子单元,用于遍历所有注册于该对象的监听器;
通知子单元,用于将该对象的关注状态变化通知给所有注册于该对象的监听器;
更新子单元,用于使各个监听器通知所在界面更新关注状态显示。
由此,实现了通知该对象的其他关联界面更新关注状态。
本领域技术人员可以理解,本申请实施例中的关注状态同步并不局限于壁纸应用内的图片,而可以适用于任何应用内的对象,例如视频应用内的视频,网购应用上的商品链接,浏览器应用上的文字、链接、图片、视频、音频等。
实施例3
本申请实施例还提供了一种移动终端,其包括如上所述的关注状态同步的装置。由此,移动终端在打开的每个界面上监听界面上对象的关注状态变化,并且将该关注状态变化存入相应应用的缓存,从而可以通知其他界面更新关注状态,由此使得各个界面上的关注状态同步,避免了用户误操作。
实施例4
如图所示,本申请还提供了一种电子设备,包括至少一个处理器810;
以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。
本实施例所述的电子设备,优选地,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
本实施例所述的电子设备,优选地,所述对象包括文字、链接、图片、视频、音频。
本实施例所述的电子设备,优选地,其特征在于,所述通知所述对象的其他关联界面更新关注状态包括:遍历所有注册于所述对象的监听器;将所述对象的关注状态变化通知给所有注册于所述对象的监听器;使各个所述监听器通知所在界面更新所述对象的关注状态显示。
实施例5
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。
本实施例所述的存储介质,优选地,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
本实施例所述的存储介质,优选地,所述对象包括文字、链接、图片、视频、音频。
本实施例所述的存储介质,优选地,其特征在于,所述通知所述对象的其他关联界面更新关注状态包括:遍历所有注册于所述对象的监听器;
将所述对象的关注状态变化通知给所有注册于所述对象的监听器;使各个所述监听器通知所在界面更新所述对象的关注状态显示。
实施例6
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例所述的方法。
本领域内的技术人员还应理解,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的,应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
虽然结合附图描述了本申请的实施方式,但是本领域技术人员可以在不脱离本申请的精神和范围的情况下作出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。
Claims (18)
- 一种关注状态同步的方法,其特征在于,包括:在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。
- 根据权利要求1所述的关注状态同步的方法,其特征在于,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
- 根据权利要求1所述的关注状态同步的方法,其特征在于,所述对象包括文字、链接、图片、视频、音频。
- 根据权利要求1-3中任一项所述的关注状态同步的方法,其特征在于,所述通知所述对象的其他关联界面更新关注状态的步骤包括:遍历所有注册于所述对象的监听器;将所述对象的关注状态变化通知给所有注册于所述对象的监听器;使各个所述监听器通知所在界面更新所述对象的关注状态显示。
- 一种关注状态同步的装置,其特征在于,包括:监听单元,用于在每个界面上监听界面上各个对象的关注状态变化;状态更改单元,用于在所述监听单元在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知单元,用于通知所述对象的其他关联界面更新关注状态。
- 根据权利要求5所述的关注状态同步的装置,其特征在于,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
- 根据权利要求5所述的关注状态同步的装置,其特征在于,所述对象包括文字、链接、图片、视频、音频。
- 根据权利要求5-7中任一项所述的关注状态同步的装置,其特征在于,所述通知单元包括:遍历子单元,用于遍历所有注册于所述对象的监听器;通知子单元,用于将所述对象的关注状态变化通知给所有注册于所述 对象的监听器;更新子单元,用于使各个所述监听器通知所在界面更新所述对象的关注状态显示。
- 一种移动终端,其特征在于,包括权利要求5-8中任一项所述的缩略图获取装置。
- 根据权利要求7所述的移动终端,其特征在于,所述移动终端是手机或平板电脑。
- 一种电子设备,其特征在于包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其特征在于,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。
- 根据权利要求11所述的关注状态同步的电子设备,其特征在于,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
- 根据权利要求11所述的关注状态同步的电子设备,其特征在于,所述对象包括文字、链接、图片、视频、音频。
- 根据权利要求11-13中任一项所述的关注状态同步的电子设备,其特征在于,所述通知所述对象的其他关联界面更新关注状态包括:遍历所有注册于所述对象的监听器;将所述对象的关注状态变化通知给所有注册于所述对象的监听器;使各个所述监听器通知所在界面更新所述对象的关注状态显示。
- 一种非易失性计算机存储介质,其特征在于:所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:在每个界面上监听界面上各个对象的关注状态变化;当在某一界面上监听到所述界面上某一对象的关注状态变化时,更改所述对象的关注状态;通知所述对象的其他关联界面更新关注状态。
- 根据权利要求15所述的关注状态同步的存储介质,其特征在于,所述应用是壁纸应用、视频应用、网购应用或浏览器应用。
- 根据权利要求15所述的关注状态同步的存储介质,其特征在于,所述对象包括文字、链接、图片、视频、音频。
- 根据权利要求15-17中任一项所述的关注状态同步的存储介质,其特征在于,所述通知所述对象的其他关联界面更新关注状态包括:遍历所有注册于所述对象的监听器;将所述对象的关注状态变化通知给所有注册于所述对象的监听器;使各个所述监听器通知所在界面更新所述对象的关注状态显示。一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610203974.9A CN105892866A (zh) | 2016-04-01 | 2016-04-01 | 关注状态同步的方法、装置和移动终端 |
CN201610203974.9 | 2016-04-01 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017166754A1 true WO2017166754A1 (zh) | 2017-10-05 |
Family
ID=57013283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/100252 WO2017166754A1 (zh) | 2016-04-01 | 2016-09-27 | 关注状态同步的方法、装置、移动终端和电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105892866A (zh) |
WO (1) | WO2017166754A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843465A (zh) * | 2016-02-19 | 2016-08-10 | 乐视移动智能信息技术(北京)有限公司 | 一种作者关注方法、终端、服务器和系统 |
CN105892866A (zh) * | 2016-04-01 | 2016-08-24 | 乐视控股(北京)有限公司 | 关注状态同步的方法、装置和移动终端 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102067166A (zh) * | 2008-06-20 | 2011-05-18 | 微软公司 | 同步的以对话为中心的消息列表和消息阅读窗格 |
CN103558836A (zh) * | 2013-11-19 | 2014-02-05 | 海信集团有限公司 | 设备状态同步控制方法和家电设备 |
CN105892866A (zh) * | 2016-04-01 | 2016-08-24 | 乐视控股(北京)有限公司 | 关注状态同步的方法、装置和移动终端 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10057318B1 (en) * | 2012-08-10 | 2018-08-21 | Dropbox, Inc. | System, method, and computer program for enabling a user to access and edit via a virtual drive objects synchronized to a plurality of synchronization clients |
US10685302B2 (en) * | 2014-07-31 | 2020-06-16 | Dropbox, Inc. | Collaborative task management and completion |
-
2016
- 2016-04-01 CN CN201610203974.9A patent/CN105892866A/zh active Pending
- 2016-09-27 WO PCT/CN2016/100252 patent/WO2017166754A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102067166A (zh) * | 2008-06-20 | 2011-05-18 | 微软公司 | 同步的以对话为中心的消息列表和消息阅读窗格 |
CN103558836A (zh) * | 2013-11-19 | 2014-02-05 | 海信集团有限公司 | 设备状态同步控制方法和家电设备 |
CN105892866A (zh) * | 2016-04-01 | 2016-08-24 | 乐视控股(北京)有限公司 | 关注状态同步的方法、装置和移动终端 |
Also Published As
Publication number | Publication date |
---|---|
CN105892866A (zh) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150205498A1 (en) | Automatic wallpaper image changer for a computing device | |
JP2020038689A (ja) | アプリケーションを推薦するための方法及び装置並びに推薦アプリケーションを表示するための方法及び装置 | |
JP6228676B2 (ja) | 接続状態プロンプティング方法および装置 | |
US10110549B2 (en) | Method, server and electronic devices of synchronizing notification messages for electronic devices | |
US10455542B2 (en) | Method of synchronizing notification messages for electronic devices and electronic devices | |
WO2015058623A1 (zh) | 一种多媒体数据共享方法和系统、及电子设备 | |
JP6283749B2 (ja) | 機器接続を促す方法および装置 | |
WO2017211088A1 (zh) | 多屏互动方法及装置 | |
JP2017517172A (ja) | 情報想起方法及び装置、並びに電子端末 | |
EP2759892A1 (en) | Synchronization of Alarms between Devices | |
CN107077353A (zh) | 终端设备及其控制方法 | |
US20140292816A1 (en) | Computer program product, information processing method, and information processing apparatus | |
JP2018163646A (ja) | クラウド−ローカル間切り替え並びに医療画像及びデータの同期 | |
JP2016522952A (ja) | 画像伝送の方法、装置、プログラム及び記録媒体 | |
WO2017166754A1 (zh) | 关注状态同步的方法、装置、移动终端和电子设备 | |
WO2017185623A1 (zh) | 一种计算器的显示管理方法、装置和电子设备 | |
US10158981B2 (en) | Method and device for pushing information during call and storage medium | |
WO2017166611A1 (zh) | 一种媒体文件删除方法、装置和电子设备 | |
WO2017166755A1 (zh) | 富文本监听方法、装置和电子设备 | |
JP6239188B2 (ja) | 情報フィルタリング方法、装置、プログラム及び記録媒体 | |
WO2017166749A1 (zh) | 一种屏幕转动方法、装置和电子设备 | |
US20200410760A1 (en) | Establishment of positional timers in an augmented reality environment | |
CN103975301A (zh) | 通过本地服务器的对于本地客户机应用的事件服务 | |
EP3824396B1 (en) | Long upload time detection and management | |
WO2023098576A1 (zh) | 图像处理方法、装置、设备及介质 |
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: 16896524 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16896524 Country of ref document: EP Kind code of ref document: A1 |