CN108037876A - Control method, device and the storage medium of picture browsing pattern - Google Patents
Control method, device and the storage medium of picture browsing pattern Download PDFInfo
- Publication number
- CN108037876A CN108037876A CN201711331799.2A CN201711331799A CN108037876A CN 108037876 A CN108037876 A CN 108037876A CN 201711331799 A CN201711331799 A CN 201711331799A CN 108037876 A CN108037876 A CN 108037876A
- Authority
- CN
- China
- Prior art keywords
- picture
- operational order
- instruction
- picture browsing
- browsing pattern
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/04845—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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
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
本公开涉及一种图片浏览模式的控制方法、装置及存储介质,该方法包括:通过在进入第一应用的图片浏览模式后,获取用于指示锁定所述图片浏览模式的锁定指令;再响应于锁定指令,将第一应用的当前显示界面锁定在图片浏览模式。因此能够在用户浏览图片时,根据锁定指令将第一应用的当前显示界面锁定在图片浏览模式下,能够避免由于误操作导致退出图片浏览模式,能够简化操作和提高用户满意度。
The present disclosure relates to a picture browsing mode control method, device and storage medium. The method includes: after entering the picture browsing mode of the first application, acquiring a lock instruction for instructing to lock the picture browsing mode; and then responding to The locking instruction locks the current display interface of the first application in the picture browsing mode. Therefore, when the user browses pictures, the current display interface of the first application can be locked in the picture browsing mode according to the locking instruction, which can avoid exiting the picture browsing mode due to misoperation, and can simplify operations and improve user satisfaction.
Description
技术领域technical field
本公开涉及终端技术领域,尤其涉及一种图片浏览模式的控制方法、装置及存储介质。The present disclosure relates to the technical field of terminals, and in particular to a method, device and storage medium for controlling a picture browsing mode.
背景技术Background technique
相关技术中,社交应用程序一般都具有图片浏览功能,用户可以在使用对应的社交应用时,对当前聊天界面中的所有图片(包括发给对方的图片或接收到的图片)进行浏览,也就是进入图片浏览模式,在该模式下可以通过在屏幕上触摸及滑动的操作,对浏览的图片进行移动和放大缩小等操作。In related technologies, social application programs generally have a picture browsing function, and users can browse all pictures (including pictures sent to or received by the other party) in the current chat interface when using the corresponding social application, that is, Enter the picture browsing mode, in this mode, you can move, zoom in and out, and other operations on the browsed pictures by touching and sliding on the screen.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种图片浏览模式的控制方法、装置及存储介质。In order to overcome the problems existing in the related technologies, the present disclosure provides a control method, device and storage medium of a picture browsing mode.
根据本公开实施例的第一方面,提供一种图片浏览模式的控制方法,所述方法包括:According to a first aspect of an embodiment of the present disclosure, a method for controlling a picture browsing mode is provided, the method including:
在进入第一应用的图片浏览模式后,获取用于指示锁定所述图片浏览模式的锁定指令;After entering the picture browsing mode of the first application, acquiring a locking instruction for instructing to lock the picture browsing mode;
响应于所述锁定指令,将所述第一应用的当前显示界面锁定在所述图片浏览模式。In response to the locking instruction, the current display interface of the first application is locked in the picture browsing mode.
结合第一方面,在第一种可实现方式中,所述方法还包括:With reference to the first aspect, in a first implementable manner, the method further includes:
接收在所述图片浏览模式下触发的第一操作指令;receiving a first operation instruction triggered in the picture browsing mode;
确定所述第一操作指令是否为针对所述图片浏览模式中的图片的操作指令;determining whether the first operation instruction is an operation instruction for pictures in the picture browsing mode;
当确定所述第一操作指令不是针对所述图片的操作指令时,忽略所述第一操作指令;When determining that the first operation instruction is not an operation instruction for the picture, ignoring the first operation instruction;
当确定所述第一操作指令是针对所述图片的操作指令时,对所述图片执行与所述第一操作指令对应的操作。When it is determined that the first operation instruction is an operation instruction for the picture, an operation corresponding to the first operation instruction is performed on the picture.
结合第一方面的第一种可实现方式,在第二种可实现方式中,所述确定所述第一操作指令是否为针对所述图片浏览模式中的图片的操作指令,包括:With reference to the first implementable manner of the first aspect, in the second implementable manner, the determining whether the first operation instruction is an operation instruction for a picture in the picture browsing mode includes:
确定在所述图片浏览模式下的所述当前显示界面上触发所述第一操作指令时的触发位置是否位于所述当前显示界面中的任一图片上;determining whether the trigger position when the first operation instruction is triggered on the current display interface in the picture browsing mode is located on any picture in the current display interface;
当所述触发位置没有位于所述任一图片上时,确定所述第一操作指令不是针对所述图片的操作指令;When the trigger position is not located on any of the pictures, it is determined that the first operation instruction is not an operation instruction for the picture;
当所述触发位置位于所述当前显示界面中的第一图片上时,确定所述第一操作指令是针对所述第一图片的操作指令。When the trigger position is located on the first picture in the current display interface, it is determined that the first operation instruction is an operation instruction for the first picture.
结合第一方面的第二种可实现方式,在第三种可实现方式中,所述当所述触发位置位于所述当前显示界面中的第一图片上时,确定所述第一操作指令是针对所述第一图片的操作指令,包括:With reference to the second implementable manner of the first aspect, in a third implementable manner, when the trigger position is located on the first picture in the current display interface, determining that the first operation instruction is The operation instructions for the first picture include:
当所述触发位置位于所述当前显示界面中的第一图片上时,确定所述第一操作指令是否为指定类型的指令,所述指定类型的指令包括:缩放所述第一图片的指令,或显示所述第一图片的上一张或下一张图片的指令;When the trigger position is located on the first picture in the current display interface, determine whether the first operation instruction is an instruction of a specified type, where the instruction of the specified type includes: an instruction to zoom the first picture, or an instruction to display a previous or next picture of said first picture;
当所述第一操作指令不是所述指定类型的指令时,确定所述第一操作指令不是针对所述图片的操作指令;When the first operation instruction is not an instruction of the specified type, determine that the first operation instruction is not an operation instruction for the picture;
当所述第一操作指令是所述指定类型的指令时,确定所述第一操作指令是针对所述图片的操作指令。When the first operation instruction is an instruction of the specified type, it is determined that the first operation instruction is an operation instruction for the picture.
结合第一方面,在第四种可实现方式中,所述方法还包括:With reference to the first aspect, in a fourth possible implementation manner, the method further includes:
获取用于指示解除所述图片浏览模式的锁定的解锁指令;Acquiring an unlock instruction for instructing to unlock the picture browsing mode;
响应于所述解锁指令,解除所述当前显示界面在所述图片浏览模式的锁定;Responding to the unlocking instruction, unlocking the current display interface in the picture browsing mode;
当接收到在所述当前显示界面上触发的第二操作指令时,退出所述图片浏览模式。Exit the picture browsing mode when receiving a second operation instruction triggered on the current display interface.
结合第一方面的第四种可实现方式,在第五种可实现方式中,所述方法还包括:With reference to the fourth possible implementation of the first aspect, in a fifth possible implementation, the method further includes:
在退出所述图片浏览模式时,记录所述图片浏览模式中当前显示的第二图片的标识;When exiting the picture browsing mode, record the identification of the second picture currently displayed in the picture browsing mode;
当再次进入所述图片浏览模式时,显示用于询问是否继续从所述第二图片开始浏览的提示信息;When entering the picture browsing mode again, a prompt message for asking whether to continue browsing from the second picture is displayed;
当确认继续从所述第二图片开始浏览时,根据所述第二图片的标识将所述第二图片显示在所述图片浏览模式中。When it is confirmed to continue browsing from the second picture, the second picture is displayed in the picture browsing mode according to the identifier of the second picture.
结合第一方面或第一方面的上述任一种可实现方式,在第六种可实现方式中,所述在进入第一应用的图片浏览模式后,获取用于指示锁定所述图片浏览模式的锁定指令,包括:In combination with the first aspect or any of the above-mentioned implementable manners of the first aspect, in a sixth implementable manner, after entering the picture browsing mode of the first application, acquiring the information used to instruct to lock the picture browsing mode Lock instructions, including:
在进入所述图片浏览模式后,在所述当前显示界面上显示用于锁定所述图片浏览模式的按键;After entering the picture browsing mode, a button for locking the picture browsing mode is displayed on the current display interface;
当所述按键被触发时,获取所述锁定指令。When the key is triggered, the locking instruction is obtained.
根据本公开实施例的第二方面,提供一种图片浏览模式的控制装置,所述装置包括:According to the second aspect of the embodiments of the present disclosure, there is provided a control device for picture browsing mode, the device comprising:
指令接收模块,被配置为在进入第一应用的图片浏览模式后,获取用于指示锁定所述图片浏览模式的锁定指令;The instruction receiving module is configured to obtain a lock instruction for instructing to lock the image browsing mode after entering the image browsing mode of the first application;
锁定模块,被配置为响应于所述锁定指令,将所述第一应用的当前显示界面锁定在所述图片浏览模式。The locking module is configured to lock the current display interface of the first application in the picture browsing mode in response to the locking instruction.
结合第二方面,在第一种可实现方式中,所述装置还包括:With reference to the second aspect, in a first implementable manner, the device further includes:
所述指令接收模块,还被配置为接收在所述图片浏览模式下触发的第一操作指令;The instruction receiving module is further configured to receive a first operation instruction triggered in the picture browsing mode;
指令确定模块,被配置为确定所述第一操作指令是否为针对所述图片浏览模式中的图片的操作指令;An instruction determination module configured to determine whether the first operation instruction is an operation instruction for a picture in the picture browsing mode;
指令执行模块,被配置为当确定所述第一操作指令不是针对所述图片的操作指令时,忽略所述第一操作指令;An instruction execution module configured to ignore the first operation instruction when it is determined that the first operation instruction is not an operation instruction for the picture;
所述指令执行模块,还被配置为当确定所述第一操作指令是针对所述图片的操作指令时,对所述图片执行与所述第一操作指令对应的操作。The instruction execution module is further configured to, when it is determined that the first operation instruction is an operation instruction for the picture, execute an operation corresponding to the first operation instruction on the picture.
结合第二方面的第一种可实现方式,在第二种可实现方式中,所述指令确定模块,包括:With reference to the first implementable manner of the second aspect, in the second implementable manner, the instruction determination module includes:
触发位置确定子模块,被配置为确定在所述图片浏览模式下的所述当前显示界面上触发所述第一操作指令时的触发位置是否位于所述当前显示界面中的任一图片上;The trigger position determination submodule is configured to determine whether the trigger position when the first operation instruction is triggered on the current display interface in the picture browsing mode is located on any picture in the current display interface;
操作指令判断子模块,被配置为当所述触发位置没有位于所述任一图片上时,确定所述第一操作指令不是针对所述图片的操作指令;The operation instruction judging submodule is configured to determine that the first operation instruction is not an operation instruction for the image when the trigger position is not located on any of the images;
所述操作指令判断子模块,还被配置为当所述触发位置位于所述当前显示界面中的第一图片上时,确定所述第一操作指令是针对所述第一图片的操作指令。The operation instruction judging submodule is further configured to determine that the first operation instruction is an operation instruction for the first image when the trigger position is located on the first image in the current display interface.
结合第二方面的第二种可实现方式,在第三种可实现方式中,所述操作指令判断子模块,被配置为:In combination with the second implementable manner of the second aspect, in the third implementable manner, the operation instruction judging submodule is configured as:
当所述触发位置位于所述当前显示界面中的第一图片上时,确定所述第一操作指令是否为指定类型的指令,所述指定类型的指令包括:缩放所述第一图片的指令,或显示所述第一图片的上一张或下一张图片的指令;When the trigger position is located on the first picture in the current display interface, determine whether the first operation instruction is an instruction of a specified type, where the instruction of the specified type includes: an instruction to zoom the first picture, or an instruction to display a previous or next picture of said first picture;
当所述第一操作指令不是所述指定类型的指令时,确定所述第一操作指令不是针对所述图片的操作指令;When the first operation instruction is not an instruction of the specified type, determine that the first operation instruction is not an operation instruction for the picture;
当所述第一操作指令是所述指定类型的指令时,确定所述第一操作指令是针对所述图片的操作指令。When the first operation instruction is an instruction of the specified type, it is determined that the first operation instruction is an operation instruction for the picture.
结合第二方面,在第四种可实现方式中,所述装置还包括:With reference to the second aspect, in a fourth implementable manner, the device further includes:
指令获取模块,被配置为获取用于指示解除所述图片浏览模式的锁定的解锁指令;An instruction acquisition module configured to acquire an unlock instruction for instructing to unlock the picture browsing mode;
解锁模块,被配置为响应于所述解锁指令,解除所述当前显示界面在所述图片浏览模式的锁定;The unlocking module is configured to unlock the current display interface in the picture browsing mode in response to the unlocking instruction;
退出模块,被配置为当接收到在所述当前显示界面上触发的第二操作指令时,退出所述图片浏览模式。The exit module is configured to exit the picture browsing mode when receiving a second operation instruction triggered on the current display interface.
结合第二方面的第四种可实现方式,在第五种可实现方式中,所述装置还包括:With reference to the fourth possible implementation of the second aspect, in a fifth possible implementation, the device further includes:
标识记录模块,被配置为在退出所述图片浏览模式时,记录所述图片浏览模式中当前显示的第二图片的标识;The identification recording module is configured to record the identification of the second picture currently displayed in the picture browsing mode when exiting the picture browsing mode;
提示模块,被配置为当再次进入所述图片浏览模式时,显示用于询问是否继续从所述第二图片开始浏览的提示信息;The prompt module is configured to display prompt information for asking whether to continue browsing from the second picture when entering the picture browsing mode again;
显示模块,被配置为当确认继续从所述第二图片开始浏览时,根据所述第二图片的标识将所述第二图片显示在所述图片浏览模式中。The display module is configured to display the second picture in the picture browsing mode according to the identifier of the second picture when it is confirmed to continue browsing from the second picture.
结合第二方面或第二方面的上述任一种可实现方式,在第六种可实现方式中,所述指令接收模块,包括:In combination with the second aspect or any of the above-mentioned implementable manners of the second aspect, in a sixth implementable manner, the instruction receiving module includes:
按键显示子模块,被配置为在进入所述图片浏览模式后,在所述当前显示界面上显示用于锁定所述图片浏览模式的按键;The key display submodule is configured to display a key for locking the picture browsing mode on the current display interface after entering the picture browsing mode;
锁定指令获取子模块,被配置为当所述按键被触发时,获取所述锁定指令。The locking instruction acquisition submodule is configured to acquire the locking instruction when the key is triggered.
根据本公开实施例的第三方面,提供一种图片浏览模式的控制装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a control device for picture browsing mode, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
在进入第一应用的图片浏览模式后,获取用于指示锁定所述图片浏览模式的锁定指令;After entering the picture browsing mode of the first application, acquiring a locking instruction for instructing to lock the picture browsing mode;
响应于所述锁定指令,将所述第一应用的当前显示界面锁定在所述图片浏览模式。In response to the locking instruction, the current display interface of the first application is locked in the picture browsing mode.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开第一方面所提供的焦距调整的方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the focus adjustment method provided by the first aspect of the present disclosure are implemented. .
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
通过在进入第一应用的图片浏览模式后,获取用于指示锁定所述图片浏览模式的锁定指令;响应于所述锁定指令,将所述第一应用的当前显示界面锁定在所述图片浏览模式。由于在现有技术中,在图片浏览模式下如果触发误操作会导致退出图片浏览模式,当重新进入图片浏览模式,需要重新查找刚才退出前浏览的图片,操作复杂。因此,相比现有技术,本公开提供的技术方案能够在用户浏览图片时,根据锁定指令将第一应用的当前显示界面锁定在图片浏览模式下,从而能够避免由于误操作导致退出图片浏览模式的问题,能够简化操作,提高用户满意度。After entering the picture browsing mode of the first application, obtaining a locking instruction for instructing to lock the picture browsing mode; in response to the locking instruction, locking the current display interface of the first application in the picture browsing mode . Because in the prior art, if a wrong operation is triggered in the picture browsing mode, it will lead to exiting the picture browsing mode. When re-entering the picture browsing mode, it is necessary to re-find the pictures browsed just before exiting, and the operation is complicated. Therefore, compared with the prior art, the technical solution provided by the present disclosure can lock the current display interface of the first application in the picture browsing mode according to the locking instruction when the user browses pictures, so as to avoid exiting the picture browsing mode due to misoperation problems, which can simplify operations and improve user satisfaction.
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.
附图说明Description of drawings
附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the description, together with the following specific embodiments, are used to explain the present disclosure, but do not constitute a limitation to the present disclosure. In the attached picture:
图1是根据一示例性实施例示出的一种图片浏览模式的控制方法的流程图;Fig. 1 is a flow chart of a method for controlling a picture browsing mode shown according to an exemplary embodiment;
图2a是根据一示例性实施例示出的一种应用界面的示意图;Fig. 2a is a schematic diagram showing an application interface according to an exemplary embodiment;
图2b是根据一示例性实施例示出的另一种应用界面的示意图;Fig. 2b is a schematic diagram of another application interface shown according to an exemplary embodiment;
图2c是根据一示例性实施例示出的一种图片浏览模式的示意图;Fig. 2c is a schematic diagram showing a picture browsing mode according to an exemplary embodiment;
图3是根据一示例性实施例示出的另一种图片浏览模式的控制方法的流程图;Fig. 3 is a flow chart of another method for controlling picture browsing mode shown according to an exemplary embodiment;
图4是根据一示例性实施例示出的又一种图片浏览模式的控制方法的流程图;Fig. 4 is a flow chart showing yet another method for controlling picture browsing mode according to an exemplary embodiment;
图5是根据一示例性实施例示出的又一种图片浏览模式的控制方法的流程图;Fig. 5 is a flow chart showing another method for controlling the picture browsing mode according to an exemplary embodiment;
图6是根据一示例性实施例示出的又一种图片浏览模式的控制方法的流程图;Fig. 6 is a flow chart showing another method for controlling the picture browsing mode according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种图片浏览模式的控制装置的框图;Fig. 7 is a block diagram of a control device in picture browsing mode according to an exemplary embodiment;
图8是根据一示例性实施例示出的另一种图片浏览模式的控制装置的框图;Fig. 8 is a block diagram of another control device for picture browsing mode shown according to an exemplary embodiment;
图9是根据一示例性实施例示出的一种指令确定模块的框图;Fig. 9 is a block diagram of an instruction determination module according to an exemplary embodiment;
图10是根据一示例性实施例示出的又一种图片浏览模式的控制装置的框图;Fig. 10 is a block diagram of another control device in picture browsing mode according to an exemplary embodiment;
图11是根据一示例性实施例示出的又一种图片浏览模式的控制装置的框图;Fig. 11 is a block diagram of another control device in picture browsing mode according to an exemplary embodiment;
图12是根据一示例性实施例示出的一种指令接收模块的框图;Fig. 12 is a block diagram of an instruction receiving module according to an exemplary embodiment;
图13是根据一示例性实施例示出的又一种图片浏览模式的控制装置的框图。Fig. 13 is a block diagram of another device for controlling a picture browsing mode according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的一种图片浏览模式的控制方法的流程图,如图1所示,该方法包括以下步骤:Fig. 1 is a flow chart of a method for controlling a picture browsing mode according to an exemplary embodiment. As shown in Fig. 1, the method includes the following steps:
在步骤101中,在进入第一应用的图片浏览模式后,获取用于指示锁定图片浏览模式的锁定指令。In step 101, after entering the picture browsing mode of the first application, a locking instruction for instructing to lock the picture browsing mode is acquired.
示例地,当用户在使用第一应用,例如微信或者QQ等社交应用,当用户在社交应用的聊天界面内想要对当前对话中涉及到的图片进行浏览时,可以通过点击当前显示的聊天界面内的任一张图片,即可进入图片浏览模式,在该图片浏览模式下,会放大显示刚才点击的图片,并且可以对该图片进行缩放操作,以及可以通过滑动该图片来浏览该图片的上一张图片或下一张图片。在传统的图片浏览模式下,如果点击到图片外的区域,则会退出图片浏览模式,回到进入图片浏览模式前的聊天界面,此时如果已经向前或向后浏览了多张图片时,如果想要继续向前或向后浏览图片,则需要重新进入图片浏览模式,并通过再次划过之前已经浏览过的图片来查找退出图片浏览模式前的位置。因此,在本实施例中,在进入图片浏览模式后,可以对该图片浏览模式进行锁定。例如,在进入图片浏览模式后,可以利用预设的物理按键或者在当前显示界面生成虚拟按键作为触发该锁定指令的按键,当用户按下该按键后,生成用于指示锁定该图片浏览模式的锁定指令,并进行步骤102的锁定操作。For example, when the user is using the first application, such as social applications such as WeChat or QQ, when the user wants to browse the pictures involved in the current conversation in the chat interface of the social application, he can click the currently displayed chat interface Any picture in the picture can enter the picture browsing mode. In this picture browsing mode, the picture just clicked will be enlarged and displayed, and the picture can be zoomed in and out, and you can browse the upper part of the picture by sliding the picture. One picture or the next. In the traditional picture browsing mode, if you click on an area outside the picture, you will exit the picture browsing mode and return to the chat interface before entering the picture browsing mode. At this time, if you have browsed forward or backward through multiple pictures, If you want to continue to browse pictures forward or backward, you need to re-enter the picture browsing mode, and find the position before exiting the picture browsing mode by swiping the pictures you have browsed before again. Therefore, in this embodiment, after entering the picture browsing mode, the picture browsing mode can be locked. For example, after entering the picture browsing mode, a preset physical key or a virtual key may be generated on the current display interface as a key to trigger the locking command. Lock the instruction, and perform the lock operation in step 102.
此外需要说明的是,本公开各个实施例可应用于具有触摸显示屏的终端,例如是手机,平板电脑等。In addition, it should be noted that various embodiments of the present disclosure can be applied to a terminal with a touch display screen, such as a mobile phone, a tablet computer, and the like.
在步骤102中,响应于锁定指令,将第一应用的当前显示界面锁定在图片浏览模式。In step 102, in response to the locking instruction, the current display interface of the first application is locked in the picture browsing mode.
示例地,图2a是根据一示例性实施例示出的一种应用界面的示意图,在图2a中示出了一种聊天界面,在该聊天界面中显示有聊天过程中发送或接收到的图片,当点击其中的任一图片(以图片1为例)时,会进入到图片浏览模式。或者,图2b是根据一示例性实施例示出的另一种应用界面的示意图,在图2b中示出了一种图片选择界面,该选择界面可以是社交应用中的图片选择界面或者可以是图片管理应用(如系统自带的图库应用)中的图片选择界面,该选择界面中包括多张图片,当点击其中的任一图片(以图片2为例)时,会进入到图片浏览模式。图2c是根据一示例性实施例示出的一种图片浏览模式的示意图,如图2c所示,在当前显示界面(图片浏览模式的界面)的右上角显示有虚拟按键20,触发该按键20能够生成上述的锁定指令,从而将当前显示界面锁定在图片浏览模式。该虚拟按键20在当前状态下(圆点位于右侧),表示已锁定在图片浏览模式,也就意味着不会由于用户的误操作、误触碰导致图片浏览模式被退出,因此可以防止用户重新操作再次进入图片浏览模式,当锁定在图片浏览模式时,任何不是针对图片进行的指令,都可以被认为是无效的指令,不执行对应的操作。而当虚拟按键20的圆点位于左侧时,则表示并未锁定在图片浏览模式,可以退出图片浏览模式。Exemplarily, Fig. 2a is a schematic diagram showing an application interface according to an exemplary embodiment. Fig. 2a shows a chatting interface, in which pictures sent or received during chatting are displayed, When clicking any of the pictures (take picture 1 as an example), it will enter the picture browsing mode. Alternatively, FIG. 2b is a schematic diagram of another application interface shown according to an exemplary embodiment. FIG. 2b shows a picture selection interface, and the selection interface may be a picture selection interface in a social application or may be a picture selection interface. The picture selection interface in the management application (such as the system's built-in gallery application), the selection interface includes multiple pictures, and when any one of the pictures (take picture 2 as an example) is clicked, it will enter the picture browsing mode. Fig. 2c is a schematic diagram of a picture browsing mode shown according to an exemplary embodiment. As shown in Fig. 2c, a virtual button 20 is displayed on the upper right corner of the current display interface (interface of picture browsing mode), and triggering the button 20 can Generate the above-mentioned lock command, so as to lock the current display interface in the picture browsing mode. The virtual button 20 in the current state (the dot is on the right side) indicates that it has been locked in the picture browsing mode, which means that the picture browsing mode will not be exited due to the user's misoperation or touch, so the user can be prevented from Re-operate to enter the picture browsing mode again. When locked in the picture browsing mode, any command that is not for the picture can be considered as an invalid command, and the corresponding operation will not be performed. And when the dot of the virtual button 20 is on the left side, it means that the picture browsing mode is not locked, and the picture browsing mode can be exited.
综上所述,本公开提供的图片浏览模式的控制方法,通过在进入第一应用的图片浏览模式后,获取用于指示锁定所述图片浏览模式的锁定指令;再响应于锁定指令,将第一应用的当前显示界面锁定在图片浏览模式。因此能够在用户浏览图片时,根据锁定指令将第一应用的当前显示界面锁定在图片浏览模式下,从而能够避免由于误操作导致退出图片浏览模式的问题,能够简化操作,提高用户满意度。To sum up, the method for controlling the picture browsing mode provided by the present disclosure obtains a locking instruction for instructing to lock the picture browsing mode after entering the picture browsing mode of the first application; The current display interface of an application is locked in the picture browsing mode. Therefore, when the user browses pictures, the current display interface of the first application can be locked in the picture browsing mode according to the locking instruction, so that the problem of exiting the picture browsing mode due to misoperation can be avoided, operations can be simplified, and user satisfaction can be improved.
图3是根据一示例性实施例示出的另一种图片浏览模式的控制方法的流程图,如图3所示,该方法还包括以下步骤:Fig. 3 is a flow chart of another control method for picture browsing mode shown according to an exemplary embodiment. As shown in Fig. 3 , the method further includes the following steps:
在步骤103中,接收在图片浏览模式下触发的第一操作指令。In step 103, a first operation instruction triggered in picture browsing mode is received.
示例地,在将当前显示界面锁定在图片浏览模式之后,用户可能会进一步对图片进行操作,例如放大、缩小或者浏览其他图片等,而在图片浏览模式被锁定的情况下,针对图片进行操作的指令都可以对应被执行,其他非针对图片的指令则均可以忽略,因此在获取到第一操作指令之后可以执行步骤104,以进一步确认是可以执行的操作指令,还是需要忽略的操作指令。For example, after locking the current display interface in the picture browsing mode, the user may further operate on the picture, such as zooming in, zooming out, or browsing other pictures, etc. All instructions can be executed correspondingly, and other instructions not targeting images can be ignored. Therefore, step 104 can be performed after the first operation instruction is obtained to further confirm whether it is an executable instruction or an operation instruction that needs to be ignored.
在步骤104中,确定第一操作指令是否为针对图片浏览模式中的图片的操作指令。In step 104, it is determined whether the first operation instruction is an operation instruction for pictures in the picture browsing mode.
示例地,本步骤可以包括以下步骤,如图4所示:Exemplarily, this step may include the following steps, as shown in Figure 4:
在步骤1041中,确定在图片浏览模式下的当前显示界面上触发第一操作指令时的触发位置是否位于当前显示界面中的任一图片上。In step 1041, it is determined whether the trigger position when the first operation instruction is triggered on the current display interface in the picture browsing mode is located on any picture in the current display interface.
也就是说,在确定操作指令是否为对应图片的操作指令时,首先需要根据第一操作指令的触发位置分别进行步骤1042和步骤1043的操作。That is to say, when determining whether the operation instruction is an operation instruction corresponding to a picture, it is first necessary to perform the operations of step 1042 and step 1043 respectively according to the trigger position of the first operation instruction.
当触发位置没有位于任一图片上时,执行步骤1042,确定第一操作指令不是针对图片的操作指令。When the trigger position is not located on any picture, step 1042 is executed to determine that the first operation instruction is not an operation instruction for a picture.
示例地,可能是误操作,不小心碰到了不在图片范围内的其他区域,因此在图片浏览模式的锁定状态下可以忽略。For example, it may be a misoperation, accidentally touching other areas that are not within the scope of the picture, so it can be ignored in the locked state of the picture browsing mode.
当触发位置位于当前显示界面中的第一图片上时,执行步骤1043,确定第一操作指令是针对第一图片的操作指令。When the trigger position is located on the first picture in the current display interface, step 1043 is executed to determine that the first operation instruction is an operation instruction for the first picture.
示例地,当确定触发位置位于当前显示界面中的第一图片上之后可以再进一步确定第一操作指令是否为指定类型的指令,其中,指定类型的指令可以包括:缩放第一图片的指令,或显示第一图片的上一张或下一张图片的指令。For example, after it is determined that the trigger position is located on the first picture in the current display interface, it may be further determined whether the first operation instruction is an instruction of a specified type, where the instruction of the specified type may include: an instruction to zoom the first picture, or A command to display the previous or next picture of the first picture.
当第一操作指令不是指定类型的指令时,确定第一操作指令不是针对图片的操作指令。示例地,当第一操作指令的触发位置虽然是位于当前显示界面中的第一图片上,但是对应的操作指令非指定类型的指令,也说明可能是误操作,并不是针对图片的操作指令。When the first operation instruction is not an instruction of the specified type, it is determined that the first operation instruction is not an operation instruction for pictures. For example, when the trigger position of the first operation instruction is located on the first picture in the current display interface, but the corresponding operation instruction is not an instruction of the specified type, it also indicates that there may be a misoperation, and it is not an operation instruction for the picture.
当第一操作指令是指定类型的指令时,确定第一操作指令是针对图片的操作指令。示例地,当第一操作指令是对针对图片进行放缩,或者显示第一图片的上一张或下一张图片的指令时,属于指定类型的指令,因此确定是针对图片的操作指令。When the first operation instruction is an instruction of a specified type, it is determined that the first operation instruction is an operation instruction for pictures. For example, when the first operation instruction is an instruction for zooming in and out of a picture, or for displaying a previous or next picture of the first picture, it is an instruction of a specified type, so it is determined to be an operation instruction for a picture.
进而,当确定第一操作指令不是针对图片的操作指令时,执行步骤105,忽略第一操作指令。当确定第一操作指令是针对图片的操作指令时,执行步骤106,对图片执行与第一操作指令对应的操作。Furthermore, when it is determined that the first operation instruction is not an operation instruction for pictures, step 105 is executed to ignore the first operation instruction. When it is determined that the first operation instruction is an operation instruction for a picture, step 106 is executed to perform an operation corresponding to the first operation instruction on the picture.
在上述实施方式中,通过分别确定操作指令的触发位置和操作指令的判断,确定操作指令是否为针对图片的对应操作,进一步准确判断触发指令的类型,避免用户由于误操作导致的图片浏览模式的退出。In the above embodiment, by determining the trigger position of the operation instruction and the judgment of the operation instruction, it is determined whether the operation instruction is the corresponding operation for the picture, and the type of the trigger instruction is further accurately judged, so as to avoid the failure of the image browsing mode caused by the user's misoperation. quit.
图5是根据一示例性实施例示出的又一种图片浏览模式的控制方法的流程图,如图5所示,该方法还包括以下步骤:Fig. 5 is a flow chart of another method for controlling the picture browsing mode shown according to an exemplary embodiment. As shown in Fig. 5, the method further includes the following steps:
在步骤107中,获取用于指示解除图片浏览模式的锁定的解锁指令。In step 107, an unlock instruction for instructing to unlock the picture browsing mode is acquired.
在步骤108中,响应于解锁指令,解除当前显示界面在图片浏览模式的锁定。In step 108, in response to the unlocking instruction, the current display interface is unlocked in the image browsing mode.
示例地,解锁按键,也可以是手机上的某个物理按键,或者是在进入图片浏览模式的锁定状态之后生成的用于触发解锁指令的虚拟按键。当上述用于触发解锁指令的按键被按下后,生成解锁指令,指示解除当前显示界面在图片浏览模式下的锁定。For example, the unlock key may also be a certain physical key on the mobile phone, or a virtual key for triggering an unlock command generated after entering the locked state of the picture browsing mode. When the above key for triggering the unlocking command is pressed, an unlocking command is generated to instruct to unlock the current display interface in the picture browsing mode.
在步骤109中,当接收到在当前显示界面上触发的第二操作指令时,退出图片浏览模式。In step 109, when the second operation instruction triggered on the current display interface is received, the picture browsing mode is exited.
也就是说,在步骤109中接收到第二操作指令之后,说明当前界面在图片浏览模式下的锁定可以解除,用户可以进行其他非针对图片的操作。例如,将图2c所示的虚拟按键20的圆点从右侧划至左侧时,根据上述操作生成该第二操作指令,表明需要将手机退出当前锁定的图片浏览模式。That is to say, after the second operation instruction is received in step 109, it means that the lock of the current interface in the picture browsing mode can be released, and the user can perform other non-picture-specific operations. For example, when the dot of the virtual button 20 shown in FIG. 2c is swiped from the right to the left, the second operation instruction is generated according to the above operation, indicating that the mobile phone needs to exit the currently locked picture browsing mode.
进一步的,上述方法还可以包括以下步骤:Further, the above method may also include the following steps:
在步骤110中,在退出图片浏览模式时,记录图片浏览模式中当前显示的第二图片的标识。In step 110, when exiting the picture browsing mode, record the identifier of the second picture currently displayed in the picture browsing mode.
在步骤111中,当再次进入图片浏览模式时,显示用于询问是否继续从第二图片开始浏览的提示信息;In step 111, when entering the picture browsing mode again, a prompt message for asking whether to continue browsing from the second picture is displayed;
在步骤112中,当确认继续从第二图片开始浏览时,根据第二图片的标识将第二图片显示在图片浏览模式中。In step 112, when it is confirmed to continue browsing from the second picture, the second picture is displayed in the picture browsing mode according to the identifier of the second picture.
示例地,当在获取到退出图片浏览模式的退出指令后,可以对当前显示的第二图片进行记录,以便再次进入图片浏览模式时,将继续显示该第二图片。例如,可以获取并记录该第二图片的标识,从而当再次进入图片浏览模式后实现对第二图片的继续浏览,避免用户再次进入图片浏览模式时,需要进行多次操作才能够找回之前显示的第二图片。并且,进一步的,可以在根据第二图片的标识继续将第二图片显示在图片浏览模式中之前,可以在当前显示界面上显示该提示信息,用于询问是否继续从第二图片开始浏览,当确定是从第二图片继续浏览时,再将第二图片显示在图片浏览模式中。For example, after the exit command to exit the picture browsing mode is acquired, the currently displayed second picture may be recorded so as to enter the picture browsing mode again, and the second picture will continue to be displayed. For example, the identifier of the second picture can be obtained and recorded, so that when the user enters the picture browsing mode again, the second picture can be browsed continuously, avoiding that when the user enters the picture browsing mode again, multiple operations are required to retrieve the previously displayed image. the second picture of . And, further, before continuing to display the second picture in the picture browsing mode according to the identification of the second picture, the prompt message may be displayed on the current display interface to ask whether to continue browsing from the second picture, when When it is determined to continue browsing from the second picture, the second picture is displayed in the picture browsing mode.
在上述实施方式中,能够根据用户发出的退出指令,退出当前的图片浏览模式并同时获取当前显示的图片的标识,能够根据用户指令退出浏览模式,并在再次进入图片浏览模式时显示上次浏览图片,简化用户操作过程,提高用户体验。In the above embodiment, it is possible to exit the current picture browsing mode according to the exit instruction issued by the user and at the same time obtain the logo of the currently displayed picture, to exit the browsing mode according to the user instruction, and to display the last viewed picture when entering the picture browsing mode again. pictures to simplify the user operation process and improve user experience.
图6是根据一示例性实施例示出的又一种图片浏览模式的控制方法的流程图,如图6所示,步骤101所述的在进入第一应用的图片浏览模式后,获取用于指示锁定图片浏览模式的锁定指令,包括:Fig. 6 is a flow chart showing yet another control method of picture browsing mode according to an exemplary embodiment. As shown in Fig. 6 , after entering the picture browsing mode of the first application described in step 101, acquiring Lock commands for locking the picture browsing mode, including:
在步骤1011中,在进入图片浏览模式后,在当前显示界面上显示用于锁定图片浏览模式的按键。In step 1011, after entering the picture browsing mode, a key for locking the picture browsing mode is displayed on the current display interface.
示例地,在进入图片浏览模式后,提示用户可以进行该图片浏览模式的锁定,也就是显示能够生成锁定指令的按键,例如图2所示的虚拟按键20,以便用户进行选择。或者,还可以采用当前终端上的物理按键,例如在进入图片浏览模式之后,文字提示“按下音量+锁定图片浏览模式”等。For example, after entering the picture browsing mode, the user is prompted to lock the picture browsing mode, that is, a key capable of generating a locking command is displayed, such as the virtual key 20 shown in FIG. 2 , so that the user can make a selection. Alternatively, physical keys on the current terminal can also be used, for example, after entering the picture browsing mode, a text prompt "press the volume + lock the picture browsing mode" and so on.
在步骤1012中,当按键被触发时,获取锁定指令。In step 1012, when the key is triggered, a locking instruction is acquired.
示例地,当用户按下预设的对图片浏览模式进行锁定的按键后,对应生成锁定指令,从而将当前显示界面锁定在图片浏览模式。For example, after the user presses a preset key for locking the picture browsing mode, a corresponding locking instruction is generated, thereby locking the current display interface in the picture browsing mode.
在上述实施方式中,通过在图片浏览模式内显示图片浏览模式的按键,从而提示用户进行图片浏览模式的锁定,并在获取到对应锁定指令之后将第一应用的当前显示界面锁定在图片浏览模式,从而能够避免由于误操作导致退出图片浏览模式的问题,能够简化操作,提高用户满意度。In the above embodiment, by displaying the button of the picture browsing mode in the picture browsing mode, the user is prompted to lock the picture browsing mode, and the current display interface of the first application is locked in the picture browsing mode after obtaining the corresponding locking instruction , so that the problem of exiting the picture browsing mode due to misoperation can be avoided, operations can be simplified, and user satisfaction can be improved.
图7是根据一示例性实施例示出的一种图片浏览模式的控制装置的框图。参照图7,该装置700包括:Fig. 7 is a block diagram of an apparatus for controlling a picture browsing mode according to an exemplary embodiment. Referring to Figure 7, the device 700 includes:
指令接收模块710,被配置为在进入第一应用的图片浏览模式后,获取用于指示锁定图片浏览模式的锁定指令。The instruction receiving module 710 is configured to acquire a lock instruction for instructing to lock the picture browsing mode after entering the picture browsing mode of the first application.
锁定模块720,被配置为响应于锁定指令,将第一应用的当前显示界面锁定在图片浏览模式。The locking module 720 is configured to lock the current display interface of the first application in the picture browsing mode in response to the locking instruction.
图8是根据一示例性实施例示出的另一种图片浏览模式的控制装置的框图。参照图8,该装置700还包括:Fig. 8 is a block diagram of another device for controlling a picture browsing mode according to an exemplary embodiment. Referring to Figure 8, the device 700 also includes:
指令接收模块710,还被配置为接收在图片浏览模式下触发的第一操作指令。The instruction receiving module 710 is further configured to receive a first operation instruction triggered in the picture browsing mode.
指令确定模块730,被配置为确定第一操作指令是否为针对图片浏览模式中的图片的操作指令。The instruction determination module 730 is configured to determine whether the first operation instruction is an operation instruction for a picture in the picture browsing mode.
指令执行模块740,被配置为当确定第一操作指令不是针对图片的操作指令时,忽略第一操作指令。The instruction execution module 740 is configured to ignore the first operation instruction when it is determined that the first operation instruction is not an operation instruction for pictures.
指令执行模块740,还被配置为当确定第一操作指令是针对图片的操作指令时,对图片执行与第一操作指令对应的操作。The instruction execution module 740 is further configured to, when it is determined that the first operation instruction is an operation instruction for a picture, execute an operation corresponding to the first operation instruction on the picture.
图9是根据一示例性实施例示出的一种指令确定模块的框图。参照图9,该指令确定模块730包括:Fig. 9 is a block diagram of an instruction determination module according to an exemplary embodiment. Referring to FIG. 9, the instruction determination module 730 includes:
触发位置确定子模块731,被配置为确定在图片浏览模式下的当前显示界面上触发第一操作指令时的触发位置是否位于当前显示界面中的任一图片上。The trigger position determining submodule 731 is configured to determine whether the trigger position when the first operation instruction is triggered on the current display interface in the picture browsing mode is located on any picture in the current display interface.
操作指令判断子模块732,被配置为当触发位置没有位于任一图片上时,确定第一操作指令不是针对图片的操作指令。The operation instruction judging submodule 732 is configured to determine that the first operation instruction is not an operation instruction for a picture when the trigger position is not located on any picture.
该操作指令判断子模块732,还被配置为当触发位置位于当前显示界面中的第一图片上时,确定第一操作指令是针对第一图片的操作指令。The operation instruction judging submodule 732 is further configured to determine that the first operation instruction is an operation instruction for the first image when the trigger position is located on the first image in the current display interface.
操作指令判断子模块732,被配置为:The operation instruction judging submodule 732 is configured as:
当触发位置位于当前显示界面中的第一图片上时,确定第一操作指令是否为指定类型的指令,指定类型的指令包括:缩放第一图片的指令,或显示第一图片的上一张或下一张图片的指令。When the trigger position is located on the first picture in the current display interface, determine whether the first operation instruction is an instruction of a specified type, and the instruction of the specified type includes: an instruction to zoom the first picture, or display the previous or previous picture of the first picture Instructions for the next image.
当第一操作指令不是指定类型的指令时,确定第一操作指令不是针对图片的操作指令。When the first operation instruction is not an instruction of the specified type, it is determined that the first operation instruction is not an operation instruction for pictures.
当第一操作指令是指定类型的指令时,确定第一操作指令是针对图片的操作指令。When the first operation instruction is an instruction of a specified type, it is determined that the first operation instruction is an operation instruction for pictures.
图10是根据一示例性实施例示出的又一种图片浏览模式的控制装置的框图。参照图10,该装置700还包括:Fig. 10 is a block diagram of another device for controlling a picture browsing mode according to an exemplary embodiment. Referring to Figure 10, the device 700 also includes:
指令获取模块750,被配置为获取用于指示解除图片浏览模式的锁定的解锁指令。The instruction acquisition module 750 is configured to acquire an unlock instruction for instructing to unlock the picture browsing mode.
解锁模块760,被配置为响应于解锁指令,解除当前显示界面在图片浏览模式的锁定。The unlocking module 760 is configured to unlock the current display interface in the picture browsing mode in response to the unlocking instruction.
退出模块770,被配置为当接收到在当前显示界面上触发的第二操作指令时,退出图片浏览模式。The exit module 770 is configured to exit the picture browsing mode when receiving the second operation instruction triggered on the current display interface.
图11是根据一示例性实施例示出的又一种图片浏览模式的控制装置的框图。参照图11,该装置700还包括:Fig. 11 is a block diagram of another device for controlling a picture browsing mode according to an exemplary embodiment. Referring to Figure 11, the device 700 also includes:
标识记录模块780,被配置为在退出图片浏览模式时,记录图片浏览模式中当前显示的第二图片的标识。The identification recording module 780 is configured to record the identification of the second picture currently displayed in the picture browsing mode when exiting the picture browsing mode.
提示模块790,被配置为当再次进入图片浏览模式时,显示用于询问是否继续从第二图片开始浏览的提示信息.The prompt module 790 is configured to display prompt information for asking whether to continue browsing from the second picture when entering the picture browsing mode again.
显示模块7010,被配置为当确认继续从第二图片开始浏览时,根据第二图片的标识将第二图片显示在图片浏览模式中。The display module 7010 is configured to display the second picture in the picture browsing mode according to the identifier of the second picture when it is confirmed to continue browsing from the second picture.
图12是根据一示例性实施例示出的一种指令接收模块的框图。参照图12,该指令接收模块710包括:Fig. 12 is a block diagram of an instruction receiving module according to an exemplary embodiment. Referring to Figure 12, the instruction receiving module 710 includes:
按键显示子模块711,被配置为在进入图片浏览模式后,在当前显示界面上显示用于锁定图片浏览模式的按键。The key display submodule 711 is configured to display a key for locking the picture browsing mode on the current display interface after entering the picture browsing mode.
锁定指令获取子模块712,被配置为当按键被触发时,获取锁定指令。The locking instruction acquisition submodule 712 is configured to acquire the locking instruction when the key is triggered.
综上所述,本公开提供的图片浏览模式的控制装置,通过在进入第一应用的图片浏览模式后,获取用于指示锁定所述图片浏览模式的锁定指令;再响应于锁定指令,将第一应用的当前显示界面锁定在图片浏览模式。因此能够在用户浏览图片时,根据锁定指令将第一应用的当前显示界面锁定在图片浏览模式下,从而能够避免由于误操作导致退出图片浏览模式的问题,能够简化操作,提高用户满意度。To sum up, the control device for the picture browsing mode provided by the present disclosure acquires a lock instruction for instructing to lock the picture browsing mode after entering the picture browsing mode of the first application; The current display interface of an application is locked in the image browsing mode. Therefore, when the user browses pictures, the current display interface of the first application can be locked in the picture browsing mode according to the locking instruction, so that the problem of exiting the picture browsing mode due to misoperation can be avoided, operations can be simplified, and user satisfaction can be improved.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开提供的定位方法的步骤。The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the positioning method provided in the present disclosure are implemented.
图13是根据一示例性实施例示出的又一种图片浏览模式的控制装置1300的框图。例如,装置1300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 13 is a block diagram of another control device 1300 in picture browsing mode according to an exemplary embodiment. For example, the apparatus 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图13,装置1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电力组件1306,多媒体组件1308,音频组件1310,输入/输出(I/O)的接口1312,传感器组件1314,以及通信组件1316。Referring to FIG. 13 , the device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and communication component 1316.
处理组件1302通常控制装置1300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1302可以包括一个或多个处理器1320来执行指令,以完成上述定位方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。例如,处理组件1302可以包括多媒体模块,以方便多媒体组件1308和处理组件1302之间的交互。The processing component 1302 generally controls the overall operations of the device 1300, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to complete all or part of the steps of the above positioning method. Additionally, processing component 1302 may include one or more modules that facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302 .
存储器1304被配置为存储各种类型的数据以支持在装置1300的操作。这些数据的示例包括用于在装置1300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1304 is configured to store various types of data to support operations at the device 1300 . Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1304 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件1306为装置1300的各种组件提供电力。电力组件1306可以包括电源管理系统,一个或多个电源,及其他与为装置1300生成、管理和分配电力相关联的组件。Power component 1306 provides power to various components of device 1300 . Power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1300 .
多媒体组件1308包括在所述装置1300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1308包括一个前置摄像头和/或后置摄像头。当装置1300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1308 includes a screen that provides an output interface between the device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1308 includes a front camera and/or a rear camera. When the device 1300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1310被配置为输出和/或输入音频信号。例如,音频组件1310包括一个麦克风(MIC),当装置1300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1304或经由通信组件1316发送。在一些实施例中,音频组件1310还包括一个扬声器,用于输出音频信号。The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a microphone (MIC), which is configured to receive external audio signals when the device 1300 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1304 or sent via communication component 1316 . In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
I/O接口1312为处理组件1302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按键等。这些按键可包括但不限于:主页按键、音量按键、启动按键和锁定按键。The I/O interface 1312 provides an interface between the processing component 1302 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, or a button. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
传感器组件1314包括一个或多个传感器,用于为装置1300提供各个方面的状态评估。例如,传感器组件1314可以检测到装置1300的打开/关闭状态,组件的相对定位,例如所述组件为装置1300的显示器和小键盘,传感器组件1314还可以检测装置1300或装置1300一个组件的位置改变,用户与装置1300接触的存在或不存在,装置1300方位或加速/减速和装置1300的温度变化。传感器组件1314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1314 includes one or more sensors for providing various aspects of status assessment for device 1300 . For example, the sensor component 1314 can detect the open/closed state of the device 1300, the relative positioning of components, such as the display and keypad of the device 1300, and the sensor component 1314 can also detect a change in the position of the device 1300 or a component of the device 1300 , the presence or absence of user contact with the device 1300 , the device 1300 orientation or acceleration/deceleration and the temperature change of the device 1300 . Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1314 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1316被配置为便于装置1300和其他设备之间有线或无线方式的通信。装置1300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1316 is configured to facilitate wired or wireless communication between the apparatus 1300 and other devices. The device 1300 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述定位方法。In an exemplary embodiment, apparatus 1300 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the positioning method described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由装置1300的处理器1320执行以完成上述定位方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1304 including instructions, which can be executed by the processor 1320 of the device 1300 to implement the above positioning method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (16)
- A kind of 1. control method of picture browsing pattern, it is characterised in that the described method includes:After the picture browsing pattern of the first application is entered, obtain the locking for being used to indicate to lock the picture browsing pattern and refer to Order;In response to the lock instruction, first current display interface applied is locked in the picture browsing pattern.
- 2. according to the method described in claim 1, it is characterized in that, the method further includes:Receive the first operational order triggered under the picture browsing pattern;Determine whether first operational order is operational order for the picture in the picture browsing pattern;When it is not the operational order for the picture to determine first operational order, ignore first operational order;When it is the operational order for the picture to determine first operational order, the picture is performed and described first The corresponding operation of operational order.
- 3. according to the method described in claim 2, it is characterized in that, described determine whether first operational order is for institute The operational order of the picture in picture browsing pattern is stated, including:Triggering when determining to trigger first operational order in the current display interface under the picture browsing pattern Whether position is located in any picture in the current display interface;When the trigger position is not in any picture, it is not to be directed to the figure to determine first operational order The operational order of piece;When the trigger position is located on the first picture in the current display interface, determine that first operational order is For the operational order of first picture.
- It is 4. according to the method described in claim 3, it is characterized in that, described when the trigger position is positioned at the current display circle When on the first picture in face, it is the operational order for first picture to determine first operational order, including:When the trigger position is located on the first picture in the current display interface, determine that first operational order is The no instruction for specified type, the instruction of the specified type include:Scale the instruction of first picture, or display described the Upper one of one picture or the instruction of next pictures;When first operational order is not the instruction of the specified type, it is not to be directed to institute to determine first operational order State the operational order of picture;When first operational order is the instruction of the specified type, it is to be directed to the figure to determine first operational order The operational order of piece.
- 5. according to the method described in claim 1, it is characterized in that, the method further includes:Obtain the unlock instruction for being used for indicating to release the locking of the picture browsing pattern;In response to the unlock instruction, locking of the current display interface in the picture browsing pattern is released;When receiving in the second operational order triggered in the current display interface, the picture browsing pattern is exited.
- 6. according to the method described in claim 5, it is characterized in that, the method further includes:When exiting the picture browsing pattern, the mark of the second picture currently shown in the picture browsing pattern is recorded;When being again introduced into the picture browsing pattern, display is used to ask whether to continue what is browsed since the second picture Prompt message;When confirming to continue to browse since the second picture, the second picture is shown according to the mark of the second picture Show in the picture browsing pattern.
- 7. according to claim 1-6 any one of them methods, it is characterised in that described to enter the picture browsing of the first application After pattern, obtain and be used to indicate the lock instruction for locking the picture browsing pattern, including:After the picture browsing pattern is entered, display is for locking the picture browsing pattern in the current display interface Button;When the button is triggered, the lock instruction is obtained.
- 8. a kind of control device of picture browsing pattern, it is characterised in that described device includes:Command reception module, is configured as after the picture browsing pattern of the first application is entered, and obtains and is used to indicate described in locking The lock instruction of picture browsing pattern;Locking module, is configured to respond to the lock instruction, and first current display interface applied is locked in institute State picture browsing pattern.
- 9. device according to claim 8, it is characterised in that described device further includes:Described instruction receiving module, is additionally configured to receive the first operational order triggered under the picture browsing pattern;Determining module is instructed, is configured to determine that whether first operational order is for the figure in the picture browsing pattern The operational order of piece;Instruct execution module, be configured as determine first operational order be not for the picture operational order when, Ignore first operational order;Described instruction execution module, is additionally configured to when definite first operational order is the operational order for the picture When, operation corresponding with first operational order is performed to the picture.
- 10. device according to claim 9, it is characterised in that described instruction determining module, including:Trigger position determination sub-module, is configured to determine that in the current display interface under the picture browsing pattern and touches Whether trigger position when sending out the first operational order described is located in any picture in the current display interface;Operational order judging submodule, when being configured as the trigger position and being not in any picture, determines institute It is not the operational order for the picture to state the first operational order;The operational order judging submodule, is additionally configured to when the trigger position is located at the in the current display interface When on one picture, it is the operational order for first picture to determine first operational order.
- 11. device according to claim 10, it is characterised in that the operational order judging submodule, is configured as:When the trigger position is located on the first picture in the current display interface, determine that first operational order is The no instruction for specified type, the instruction of the specified type include:Scale the instruction of first picture, or display described the Upper one of one picture or the instruction of next pictures;When first operational order is not the instruction of the specified type, it is not to be directed to institute to determine first operational order State the operational order of picture;When first operational order is the instruction of the specified type, it is to be directed to the figure to determine first operational order The operational order of piece.
- 12. device according to claim 8, it is characterised in that described device further includes:Instruction acquisition module, is configured as obtaining the unlock instruction for being used for indicating to release the locking of the picture browsing pattern;Unlocked state, is configured to respond to the unlock instruction, releases the current display interface in the picture browsing mould The locking of formula;Module is exited, is configured as receiving in the second operational order triggered in the current display interface, exits institute State picture browsing pattern.
- 13. device according to claim 12, it is characterised in that described device further includes:Identification record module, is configured as when exiting the picture browsing pattern, records current in the picture browsing pattern The mark of the second picture of display;Reminding module, when being configured as being again introduced into the picture browsing pattern, display is used to ask whether to continue from described Second picture starts the prompt message browsed;Display module, when being configured as confirming to continue to browse since the second picture, according to the mark of the second picture Knowing includes the second picture in the picture browsing pattern.
- 14. according to claim 8-13 any one of them devices, it is characterised in that described instruction receiving module, including:Button display sub-module, is configured as after the picture browsing pattern is entered, is shown in the current display interface For locking the button of the picture browsing pattern;Lock instruction acquisition submodule, when being configured as the button and being triggered, obtains the lock instruction.
- A kind of 15. control device of picture browsing pattern, it is characterised in that including:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as:After the picture browsing pattern of the first application is entered, obtain the locking for being used to indicate to lock the picture browsing pattern and refer to Order;In response to the lock instruction, first current display interface applied is locked in the picture browsing pattern.
- 16. a kind of computer-readable recording medium, is stored thereon with computer program instructions, it is characterised in that the computer The step of method any one of claim 1-7 is realized when programmed instruction is executed by processor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711331799.2A CN108037876A (en) | 2017-12-13 | 2017-12-13 | Control method, device and the storage medium of picture browsing pattern |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711331799.2A CN108037876A (en) | 2017-12-13 | 2017-12-13 | Control method, device and the storage medium of picture browsing pattern |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108037876A true CN108037876A (en) | 2018-05-15 |
Family
ID=62102835
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711331799.2A Pending CN108037876A (en) | 2017-12-13 | 2017-12-13 | Control method, device and the storage medium of picture browsing pattern |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108037876A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109085971A (en) * | 2018-06-29 | 2018-12-25 | 努比亚技术有限公司 | Terminal and its interface locking, unlocking method and computer readable storage medium |
| CN109491561A (en) * | 2018-09-27 | 2019-03-19 | 维沃移动通信有限公司 | A kind of image display method and terminal |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102779013A (en) * | 2012-07-12 | 2012-11-14 | 中兴通讯股份有限公司 | Operation control method of touch screen terminal and mobile terminal |
| US20150004939A1 (en) * | 2012-02-03 | 2015-01-01 | Nec Casio Mobile Communications, Ltd. | Terminal device, processing method, and program |
| CN105068867A (en) * | 2015-08-21 | 2015-11-18 | 广东欧珀移动通信有限公司 | Screen lock method and device |
| CN105117160A (en) * | 2015-09-08 | 2015-12-02 | 北京元心科技有限公司 | Method and apparatus for preventing intelligent terminal from being operated incorrectly |
| CN106469194A (en) * | 2016-08-31 | 2017-03-01 | 深圳天珑无线科技有限公司 | A kind of picture searching method, device and mobile device |
-
2017
- 2017-12-13 CN CN201711331799.2A patent/CN108037876A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150004939A1 (en) * | 2012-02-03 | 2015-01-01 | Nec Casio Mobile Communications, Ltd. | Terminal device, processing method, and program |
| CN102779013A (en) * | 2012-07-12 | 2012-11-14 | 中兴通讯股份有限公司 | Operation control method of touch screen terminal and mobile terminal |
| CN105068867A (en) * | 2015-08-21 | 2015-11-18 | 广东欧珀移动通信有限公司 | Screen lock method and device |
| CN105117160A (en) * | 2015-09-08 | 2015-12-02 | 北京元心科技有限公司 | Method and apparatus for preventing intelligent terminal from being operated incorrectly |
| CN106469194A (en) * | 2016-08-31 | 2017-03-01 | 深圳天珑无线科技有限公司 | A kind of picture searching method, device and mobile device |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109085971A (en) * | 2018-06-29 | 2018-12-25 | 努比亚技术有限公司 | Terminal and its interface locking, unlocking method and computer readable storage medium |
| CN109491561A (en) * | 2018-09-27 | 2019-03-19 | 维沃移动通信有限公司 | A kind of image display method and terminal |
| CN109491561B (en) * | 2018-09-27 | 2021-02-12 | 维沃移动通信有限公司 | Image display method and terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107908351B (en) | Application interface display method, device and storage medium | |
| CN108509232A (en) | Screen recording method, device and computer readable storage medium | |
| US20170060320A1 (en) | Method for controlling a mobile terminal using a side touch panel | |
| CN107357505A (en) | The method, apparatus and computer-readable recording medium of screenshot capture | |
| CN107102772B (en) | Touch control method and device | |
| CN107193553A (en) | Key control method and device | |
| CN107608561A (en) | Touch-screen control method and device | |
| CN107885418B (en) | Terminal, split screen display method and device | |
| CN107135147A (en) | Method, device and the computer-readable recording medium of sharing position information | |
| CN106775228A (en) | The operating method and device of icon | |
| CN106302342B (en) | User account switching method and device | |
| CN106453779A (en) | Call processing method and apparatus | |
| CN106919302B (en) | Operation control method and device of mobile terminal | |
| CN116419057A (en) | Shooting method, shooting device and storage medium | |
| CN108037876A (en) | Control method, device and the storage medium of picture browsing pattern | |
| CN106855818A (en) | Equipment mode switching method and apparatus | |
| CN110290272A (en) | Method, device and medium for displaying function cards | |
| CN112423092A (en) | Video recording method and video recording device | |
| CN107193446B (en) | Image processing method, device, terminal and storage medium | |
| CN106791077B (en) | Method and device for processing multimedia messages in instant messaging software | |
| CN110769114B (en) | Call interface display method, device and mobile terminal | |
| CN106331277A (en) | Call processing method and device | |
| CN106385639A (en) | Video interaction communication method and device | |
| CN106791206A (en) | Information recording method and device | |
| CN105933746A (en) | Method and device for controlling playing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180515 |
|
| RJ01 | Rejection of invention patent application after publication |