WO2017113673A1 - Picture viewing method and apparatus, and electronic device - Google Patents

Picture viewing method and apparatus, and electronic device Download PDF

Info

Publication number
WO2017113673A1
WO2017113673A1 PCT/CN2016/088225 CN2016088225W WO2017113673A1 WO 2017113673 A1 WO2017113673 A1 WO 2017113673A1 CN 2016088225 W CN2016088225 W CN 2016088225W WO 2017113673 A1 WO2017113673 A1 WO 2017113673A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
electronic device
interface
prompt information
camera function
Prior art date
Application number
PCT/CN2016/088225
Other languages
French (fr)
Chinese (zh)
Inventor
郭镇龙
Original Assignee
北京金山安全软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Publication of WO2017113673A1 publication Critical patent/WO2017113673A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/617Upgrading or updating of programs or applications for camera control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/683Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory

Definitions

  • the present invention relates to the field of computer software, and in particular, to a picture viewing method, apparatus, and electronic device.
  • the existing camera function provides a picture viewing interface in the camera interface, so that people can directly view the pictures in the picture library through the picture viewing portal.
  • the existing image viewing portal is displayed in a single manner and has a low user experience.
  • the embodiment of the invention discloses a picture viewing method, a device and an electronic device, so as to solve the problem that the display position is relatively simple due to the fixed position of the picture viewing portal in the prior art.
  • the specific plan is as follows:
  • an embodiment of the present invention provides a picture viewing method, which is applied to an electronic device, where the method includes:
  • the camera function When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
  • the memory occupied by the background running application of the electronic device is cleaned up.
  • whether the detecting camera function is activated including:
  • the predetermined prompt information includes: a thumbnail of a picture stored in the picture library stored in the electronic device.
  • the thumbnail of the picture with the closest storage time in the picture library stored in the electronic device included in the predetermined prompt information is updated to be the thumbnail of the latest picture taken after the camera function is activated this time.
  • the predetermined prompt information further includes:
  • the number of pictures taken after the camera function is activated this time.
  • the preset image display interface is:
  • a viewing interface for viewing a picture related to the predetermined prompt information is provided.
  • a view area of the thumbnail of the stored picture in the picture library stored in the electronic device is displayed in the viewing interface, where the thumbnail of the stored picture in the list area is The order of storage time is arranged.
  • the display position of the predetermined prompt information is adjustable.
  • the embodiment of the present invention further provides a picture viewing device, which is applied to an electronic device, where the device includes: a startup detection module, a display module, and an interface jump module;
  • the startup detection module is configured to detect whether a camera function is activated
  • the display module is configured to: when detecting that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger to enter a preset image display interface A step of;
  • the interface jump module is configured to jump from the photographing interface to the preset photo display interface when receiving a triggering instruction for the predetermined prompt information.
  • a picture viewing apparatus provided by the embodiment of the present invention further includes a memory cleaning module
  • the memory cleaning module is configured to: when detecting that the camera function is started, clear a memory occupied by an application running in the background of the electronic device.
  • the startup detection module is specifically configured to:
  • the predetermined prompt information displayed by the display module includes: a thumbnail of a picture stored in the photo library stored in the electronic device.
  • a picture viewing apparatus provided by the embodiment of the present invention further includes a shooting detection module and a thumbnail update module;
  • the photographing detection module is configured to detect whether the camera function has taken a picture after the current startup, and if so, trigger the thumbnail update module;
  • the thumbnail update module is configured to update a thumbnail of a picture with the latest storage time in the picture library stored in the electronic device included in the predetermined prompt information to: the camera function is taken after the current startup Latest pictures of Thumbnail.
  • the predetermined prompt information displayed by the display module further includes:
  • the number of pictures taken after the camera function is activated this time.
  • the preset image display interface is:
  • a viewing interface for viewing a picture related to the predetermined prompt information is provided.
  • a view area of the thumbnail of the stored picture in the picture library stored in the electronic device is displayed in the viewing interface, where the thumbnail of the stored picture in the list area is The order of storage time is arranged.
  • an embodiment of the present invention further provides an electronic device, including: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor And a memory disposed on the circuit board; a power supply circuit for powering various circuits or devices of the electronic device; a memory for storing executable program code; and a processor for executing and executing by reading executable program code stored in the memory
  • the program code corresponds to the program to perform the following steps:
  • the camera function When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
  • the processor is further configured to: when detecting that the camera function is started, clear a memory occupied by an application running in the background of the electronic device.
  • the processor is configured to: detect whether the camera function is activated by using a resident process in an operating system of the electronic device in advance.
  • the predetermined prompt information includes: a thumbnail of a picture stored in the picture library stored in the electronic device.
  • the processor is further configured to:
  • the predetermined prompt information further includes: a quantity of pictures taken after the camera function is activated this time.
  • the preset picture display interface is: a viewing interface for viewing a picture related to the predetermined prompt information.
  • the viewing interface displays a thumbnail of the stored image in the image library stored in the electronic device.
  • a list area of the thumbnail wherein thumbnails of the stored pictures in the list area are arranged in order of storage time.
  • an embodiment of the present invention provides a computer readable storage medium, where the storage medium is used to store an application, and the application is used to execute a picture viewing method according to an embodiment of the present invention at runtime.
  • the image viewing method provided by the embodiment of the present invention includes:
  • the camera function When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
  • an embodiment of the present invention provides a computer application program, where the application is used to execute a picture viewing method according to an embodiment of the present invention at runtime.
  • the image viewing method provided by the embodiment of the present invention includes:
  • the camera function When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
  • the photographing interface when it is detected that the camera function is activated, the photographing interface is displayed, and the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface;
  • the solution can solve the problem that the display mode of the picture viewing portal in the prior art is relatively simple, increase the interest, and improve the user experience.
  • any product or method embodying the present invention necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
  • FIG. 1 is a schematic flowchart diagram of a picture viewing method according to an embodiment of the present disclosure
  • FIG. 2 is another schematic flowchart of a picture viewing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a picture viewing apparatus according to an embodiment of the present disclosure.
  • FIG. 4 is another schematic structural diagram of a picture viewing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the embodiment of the invention provides a picture viewing method, a device and an electronic device, so as to solve the problem that the display mode of the picture viewing portal in the prior art is relatively simple, and the user experience is improved.
  • the image viewing method provided by the embodiment of the present invention can be applied to an electronic device, which can be a desktop computer, a notebook computer, a tablet computer, a smart phone, etc., and has a camera function and can be stored.
  • the picture viewing method provided by the embodiment of the present invention can be applied to the electronic device of the image.
  • the electronic device may be in a state of not being connected to the network.
  • the function software for implementing a picture viewing method provided by the embodiment of the present invention may be a dedicated camera client software, or may be a plug-in for other client software having a camera function, etc., which are all reasonable.
  • the other camera-enabled client software can be: various social software, or various types of photo browsing software, and so on.
  • an embodiment of the present invention provides a method for viewing a picture, which may include the following steps:
  • the electronic device can detect whether the camera function is activated in real time, and when the camera function is activated, continue the subsequent image viewing method.
  • whether the detection camera function is activated can be implemented by using the prior art, and details are not described herein.
  • the camera interface may further include a camera button, and the user may perform a picture capture through the camera button in the camera interface.
  • the predetermined prompt information is suspended and displayed in the photographing interface, wherein the display form of the predetermined prompt information of the floating display may be in the form of a circular suspended sphere, and of course, may be a diamond, a rectangle, a heart, or a flower.
  • the floating display form, and the like, are all possible, and the embodiment of the present invention does not limit the display form of the predetermined prompt information of the floating display.
  • the display form of the predetermined prompt information for the floating display may be a default setting of the electronic device, or may be set by the user according to his or her own preference, or a combination of the two, and a display form of the predetermined prompt information displayed by the floating display. Changes can improve the user experience, increase user attention, and increase user interest.
  • the display position of the scheduled prompt information of the floating display can be adjusted.
  • the user can press the predetermined prompt information displayed by the floating display to adjust the position of the floating prompt information, or by clicking first.
  • the predetermined prompt information of the floating display selects the predetermined prompt information displayed by the floating, and then clicks any position of the photographing interface to move the floating prompt information to any position of the clicked photographing interface,
  • the floating display of the predetermined prompt information for position adjustment, and the like, is all feasible.
  • the user may enter a preset image display interface, where the preset image display interface may display a picture taken by applying the camera function, It is reasonable to be able to display all the pictures stored in the electronic device, and so on.
  • the specific display content of the suspended prompt information may be a related identifier of the special client software;
  • the function software of the image viewing method provided by the embodiment of the present invention is a plug-in of other client software with camera function
  • the specific display content of the floating display predetermined prompt information may be the camera function-enabled client software.
  • the specific display content of the predetermined prompt information displayed by the floating display may also be any one of the pictures stored in the electronic device, or any prompt text information related to the pictures stored in the electronic device.
  • the triggering instruction may be sent by performing a predetermined triggering operation on the predetermined prompt information of the floating display, and the electronic device receives the user for the
  • the camera interface automatically jumps to the preset image display interface for the user to browse the image through the preset image display interface.
  • the preset picture display interface may display the picture to the user in the form of a type list of the picture classification, may display the picture to the user in the form of a picture thumbnail, or display the picture to the user in the form of a photo film, and the like.
  • a picture viewing method provided may further include:
  • step S104 When detecting that the camera function is started, clearing the memory occupied by the background running application of the electronic device, and continuing to perform step S102.
  • the related cleaning tool can be automatically invoked to clear the memory occupied by the running application in the electronic device to run the running memory of the electronic device. For the subsequent image viewing process, improve the fluency and speed of image viewing.
  • the steps of cleaning up the memory occupied by the background application of the terminal and the step of displaying the photo interface are not strictly defined.
  • the memory occupied by the background application of the terminal may be executed first. Steps, and then perform the steps of displaying the camera interface; of course, you can also display the steps of the camera interface, and then perform the steps of cleaning up the memory occupied by the application running in the background of the terminal.
  • step S101 whether the detecting camera function is activated (step S101) may include:
  • the function software for implementing the picture viewing method provided by the embodiment of the present invention is a special client software or a plug-in for other client software having a camera function
  • the resident process when the client software is installed, Adding a resident process to the operating system of the electronic device, the resident process is reserved only for the camera function of the client software, and when the client software is started, the resident process can detect whether the camera function is real-time. Was started. When it is detected that the camera function is activated, the flow of the subsequent picture viewing method is continued.
  • the predetermined prompt information may be in a plurality of types.
  • the predetermined prompt information may include: a picture in the image library stored in the electronic device that stores the most recent time. Thumbnail.
  • the electronic device may traverse all the pictures stored in the picture library, and identify the storage time of the pictures in the picture library, and The thumbnail of the picture stored in the picture library closest to the latest time (ie, the latest picture) is displayed as the predetermined prompt information floating above the predetermined area.
  • the traversing all the pictures stored in the picture library can be implemented by using the prior art, and the picture that is stored in the picture library and having the closest storage time can also be implemented by using the prior art, and the image is stored in the picture library.
  • the picture with the most recent storage time is displayed in the form of a thumbnail on the predetermined area. It can also be implemented by using the prior art, and details are not described herein.
  • the image viewing is performed through the photographing interface.
  • the image viewing through the photographing interface can enable the user to increase the experience of taking a picture, and satisfy the user to complete the function.
  • the method for viewing the quality of the captured picture is as follows.
  • the picture viewing method provided by the embodiment of the present invention may further include:
  • the predetermined prompt information Updating the predetermined prompt information to a thumbnail of the latest picture taken by the camera function to be activated this time; if not, the predetermined prompt information is still a thumbnail of the picture with the closest storage time in the picture library stored in the electronic device .
  • the predetermined prompt information may further include:
  • the number of pictures taken after this camera function is activated this time.
  • the thumbnail of the picture with the closest storage time in the picture library stored in the electronic device included in the predetermined prompt information is updated to be taken by the camera.
  • the predetermined prompt information can also display the number of pictures taken after the camera function is started this time, and can obviously display the number of pictures taken by the user, saving the function of acquiring the camera. The user's time required for the number of pictures taken after this launch can increase the user experience.
  • the preset picture display interface may be: a viewing interface for viewing a picture related to the predetermined prompt information. That is, the preset picture display interface displays the picture in the picture library stored in the electronic device, wherein the picture may be filled in the full screen of the electronic device interface, or may be tiled on the electronic device with n*n size. This is all possible in the device interface.
  • the viewing interface for viewing a picture related to the predetermined prompt information is used in a specific implementation manner.
  • a list area of thumbnails of the stored pictures in the picture library stored in the electronic device may also be displayed, wherein the thumbnails of the stored pictures in the list area are arranged in the order of storage time.
  • the interface also displays the stored in the picture library stored in the electronic device.
  • the list area of the thumbnail of the picture can be conveniently displayed by the user by sliding the list area to the left and right, looking for the picture that the user wants to zoom in on, and directly clicking or performing other operations to find the picture that is completely filled in the electronic device.
  • view the picture in order to facilitate the user's viewing and searching, the stored image in the list area is reduced.
  • the thumbnails are arranged in order of storage time so that the pictures can be presented in an orderly and clearly presented manner to the user.
  • a picture viewing method provided by the embodiment of the present invention is introduced in the following with reference to a specific application example.
  • the user 1 activates the camera function of the electronic device A, and the electronic device A detects that the camera function is activated by the resident process b that is added in advance, and enters the photographing interface, and the predetermined prompt information c is suspended in the photographing interface, wherein c is the A thumbnail of the most recent picture stored in the photo library stored in the electronic device.
  • the user 1 performs photographing by using the camera function, and the predetermined prompt information displayed in the photographing interface is updated according to the process of the user taking the picture.
  • the predetermined prompt information is updated to the last taken picture. Thumbnails, and the display shows "5".
  • the user 1 clicks the predetermined prompt information, and the electronic device interface jumps from the photographing interface to the preset image display interface, and the last captured image of the user 1 is completely filled in the preset image display interface, and the preset image display interface is A list area showing thumbnails of stored pictures in the picture library stored in the electronic device is displayed below, and thumbnails of the stored pictures in the list area are arranged in order of storage time.
  • the embodiment of the present invention further provides a picture viewing device, which is applied to an electronic device, and the device may include: a startup detection module 301, a display module 302, and an interface jump module 303;
  • the startup detection module 301 is configured to detect whether a camera function is activated
  • the display module 302 is configured to display a photographing interface when the camera function is detected, and display the predetermined prompt information in the photographing interface, wherein the predetermined prompt information of the floating display can be triggered to enter the preset image display interface.
  • the interface jump module 303 is configured to jump from the photographing interface to the preset photo display interface when receiving a trigger instruction for the predetermined prompt information displayed by the hover.
  • the camera interface When the camera function is detected, the camera interface is displayed, and the predetermined prompt information is suspended and displayed in the camera interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface.
  • the camera interface is jumped to the preset image display interface.
  • a picture viewing apparatus provided by an embodiment of the present invention may further include a memory cleaning module 304;
  • the memory cleaning module 304 is configured to detect the memory occupied by the background running application of the electronic device when the camera function is started.
  • the startup detection module 301 is specifically configured to:
  • the predetermined prompt information displayed by the display module 302 may include: a thumbnail of a picture stored in the photo library stored in the electronic device.
  • the image viewing apparatus may further include a shooting detection module and a thumbnail update module;
  • the shooting detection module is configured to detect whether the camera function has taken a picture after the startup, and if so, trigger the thumbnail update module;
  • the thumbnail update module is configured to update a thumbnail of the most recently stored picture in the picture library stored in the electronic device included in the predetermined prompt information to: the latest picture taken after the camera function is started this time. Thumbnails.
  • the predetermined prompt information displayed by the display module 302 may further include:
  • the number of pictures taken after this camera function is activated this time.
  • the preset picture display interface may be:
  • a viewing interface for viewing a picture related to the predetermined prompt information is provided.
  • the viewing interface displays a list area of thumbnails of the stored pictures in the picture library stored in the electronic device, wherein the thumbnails of the stored pictures in the list area are stored in time series Arrange in order.
  • an embodiment of the present invention further provides an electronic device.
  • the electronic device may include: a housing 501, a processor 502, a memory 503, a circuit board 504, and a power circuit 505, wherein the circuit board 504
  • the processor 502 and the memory 503 are disposed on the circuit board 504; the power circuit 505 is used to supply power to the various circuits or devices of the electronic device; and the memory 503 is configured to store executable program code;
  • the processor 502 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 503 for performing the following steps:
  • the photographing interface is displayed, and the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface;
  • the camera interface When the camera function is detected, the camera interface is displayed, and the predetermined prompt information is suspended and displayed in the camera interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface.
  • the camera interface is jumped to the preset image display interface.
  • the electronic device exists in a variety of forms including, but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • electronic devices include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • electronic devices include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • an embodiment of the present invention provides a computer readable storage medium, where the storage medium is used to store an application, and the application is used to execute a picture viewing method according to an embodiment of the present invention at runtime.
  • the image viewing method provided by the embodiment of the present invention may include:
  • the photographing interface is displayed, and the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface;
  • an embodiment of the present invention provides a computer application program, where the application is used to execute a picture viewing method according to an embodiment of the present invention at runtime.
  • the image viewing method provided by the embodiment of the present invention may include:
  • the photographing interface is displayed, and the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface;
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

Disclosed are a picture viewing method and apparatus, and an electronic device. The solution comprises: when it is detected that a camera function is started, displaying a photographing interface, and displaying, in the photographing interface, predetermined prompt information in a suspended manner, wherein the predetermined prompt information displayed in a suspended manner can trigger the step of entering a pre-set picture exhibition interface; and when a trigger instruction regarding the predetermined prompt information displayed in a suspended manner is received, skipping from the photographing interface to the pre-set picture exhibition interface. The present invention can solve the problem of a relatively simplex display mode of a picture viewing entrance, increases the interestingness, and improves the user's experience.

Description

一种图片查看方法、装置和电子设备Picture viewing method, device and electronic device
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201511031438.7,申请日为2015年12月31日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on the Chinese Patent Application No. 201511031438.7, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及计算机软件领域,特别涉及一种图片查看方法、装置和电子设备。The present invention relates to the field of computer software, and in particular, to a picture viewing method, apparatus, and electronic device.
背景技术Background technique
在当今时代,科技发展迅速,电子设备的功能越来越多。人们越来越多的使用电子设备的相机功能进行拍照。拍摄完图片后,人们具有通过拍照界面直接进入图片库浏览所拍摄的图片的需求,而不希望执行退出拍照界面然后进入电子设备的图片库这些繁琐的操作。因此,为了满足人们的上述需求,现有的相机功能给出的拍照界面中设置有图片查看入口,以使得人们可以通过该图片查看入口直接查看图片库中的图片。In today's era, technology is developing rapidly, and the functions of electronic devices are increasing. More and more people use the camera function of electronic devices to take pictures. After the picture is taken, people have the need to directly access the picture library through the camera interface to view the captured picture, and do not want to perform the cumbersome operation of exiting the picture interface and then entering the picture library of the electronic device. Therefore, in order to meet the above needs of the people, the existing camera function provides a picture viewing interface in the camera interface, so that people can directly view the pictures in the picture library through the picture viewing portal.
但是,现有的图片查看入口的显示方式较为单一,具有较低的用户使用体验。However, the existing image viewing portal is displayed in a single manner and has a low user experience.
发明内容Summary of the invention
本发明实施例公开了一种图片查看方法、装置和电子设备,以解决现有技术中由于图片查看入口的位置固定而导致显示位置较为单一的问题。具体方案如下:The embodiment of the invention discloses a picture viewing method, a device and an electronic device, so as to solve the problem that the display position is relatively simple due to the fixed position of the picture viewing portal in the prior art. The specific plan is as follows:
一方面,本发明实施例提供了一种图片查看方法,应用于电子设备,所述方法包括:In one aspect, an embodiment of the present invention provides a picture viewing method, which is applied to an electronic device, where the method includes:
检测相机功能是否被启动;Check if the camera function is activated;
在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
在接收到针对所述预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving the triggering instruction for the predetermined prompt information, jumping from the photographing interface to the preset photo display interface.
可选的,本发明实施例所提供的一种图片查看方法还包括:Optionally, the method for viewing a picture provided by the embodiment of the present invention further includes:
检测到所述相机功能被启动时,清理所述电子设备的后台运行的应用程序所占用的内存。When it is detected that the camera function is activated, the memory occupied by the background running application of the electronic device is cleaned up.
可选的,所述检测相机功能是否被启动,包括:Optionally, whether the detecting camera function is activated, including:
通过预先加入所述电子设备的操作***中的长驻进程检测相机功能是否被启动。Whether the camera function is activated by the resident process in the operating system of the electronic device previously added.
可选的,所述预定提示信息包括:所述电子设备中存储的图片库中的存储时间最近的图片的缩略图。 Optionally, the predetermined prompt information includes: a thumbnail of a picture stored in the picture library stored in the electronic device.
可选的,本发明实施例所提供的一种图片查看方法还包括:Optionally, the method for viewing a picture provided by the embodiment of the present invention further includes:
检测所述相机功能本次启动后是否拍摄过图片;Detecting whether the camera function has taken a picture after this startup;
若是,将所述预定提示信息所包括的所述电子设备中所存储图片库中的存储时间最近的图片的缩略图更新为:所述相机功能本次启动后所拍摄的最新的图片的缩略图。If yes, the thumbnail of the picture with the closest storage time in the picture library stored in the electronic device included in the predetermined prompt information is updated to be the thumbnail of the latest picture taken after the camera function is activated this time. .
可选的,所述预定提示信息还包括:Optionally, the predetermined prompt information further includes:
在所述相机功能本次启动后所拍摄图片的数量。The number of pictures taken after the camera function is activated this time.
可选的,所述预设图片展示界面为:Optionally, the preset image display interface is:
用于查看与所述预定提示信息相关的图片的查看界面。A viewing interface for viewing a picture related to the predetermined prompt information.
可选的,所述查看界面中显示有展示所述电子设备中存储的图片库中的已存储图片的缩略图的列表区域,其中,所述列表区域中的所述已存储图片的缩略图以存储时间的先后顺序排列。Optionally, a view area of the thumbnail of the stored picture in the picture library stored in the electronic device is displayed in the viewing interface, where the thumbnail of the stored picture in the list area is The order of storage time is arranged.
可选的,所述预定提示信息的显示位置可调节。Optionally, the display position of the predetermined prompt information is adjustable.
另一方面,本发明实施例还提供了一种图片查看装置,应用于电子设备,所述装置包括:启动检测模块、显示模块和界面跳转模块;In another aspect, the embodiment of the present invention further provides a picture viewing device, which is applied to an electronic device, where the device includes: a startup detection module, a display module, and an interface jump module;
所述启动检测模块:用于检测相机功能是否被启动;The startup detection module is configured to detect whether a camera function is activated;
所述显示模块:用于在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述预定提示信息能够触发进入预设图片展示界面的步骤;The display module is configured to: when detecting that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger to enter a preset image display interface A step of;
所述界面跳转模块:用于在接收到针对所述预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。The interface jump module is configured to jump from the photographing interface to the preset photo display interface when receiving a triggering instruction for the predetermined prompt information.
可选的,本发明实施例所提供的一种图片查看装置还包括内存清理模块;Optionally, a picture viewing apparatus provided by the embodiment of the present invention further includes a memory cleaning module;
所述内存清理模块:用于检测到所述相机功能被启动时,清理所述电子设备的后台运行的应用程序所占用的内存。The memory cleaning module is configured to: when detecting that the camera function is started, clear a memory occupied by an application running in the background of the electronic device.
可选的,所述启动检测模块具体用于:Optionally, the startup detection module is specifically configured to:
通过预先加入所述电子设备的操作***中的长驻进程检测相机功能是否被启动。Whether the camera function is activated by the resident process in the operating system of the electronic device previously added.
可选的,所述显示模块显示的所述预定提示信息包括:所述电子设备中存储的图片库中的存储时间最近的图片的缩略图。Optionally, the predetermined prompt information displayed by the display module includes: a thumbnail of a picture stored in the photo library stored in the electronic device.
可选的,本发明实施例所提供的一种图片查看装置还包括拍摄检测模块和缩略图更新模块;Optionally, a picture viewing apparatus provided by the embodiment of the present invention further includes a shooting detection module and a thumbnail update module;
所述拍摄检测模块:用于检测所述相机功能本次启动后是否拍摄过图片,若是,触发所述缩略图更新模块;The photographing detection module is configured to detect whether the camera function has taken a picture after the current startup, and if so, trigger the thumbnail update module;
所述缩略图更新模块:用于将所述预定提示信息所包括的所述电子设备中存储的图片库中的存储时间最近的图片的缩略图更新为:所述相机功能本次启动后所拍摄的最新的图片的 缩略图。The thumbnail update module is configured to update a thumbnail of a picture with the latest storage time in the picture library stored in the electronic device included in the predetermined prompt information to: the camera function is taken after the current startup Latest pictures of Thumbnail.
可选的,所述显示模块显示的所述预定提示信息还包括:Optionally, the predetermined prompt information displayed by the display module further includes:
在所述相机功能本次启动后所拍摄图片的数量。The number of pictures taken after the camera function is activated this time.
可选的,所述预设图片展示界面为:Optionally, the preset image display interface is:
用于查看与所述预定提示信息相关的图片的查看界面。A viewing interface for viewing a picture related to the predetermined prompt information.
可选的,所述查看界面中显示有展示所述电子设备中存储的图片库中的已存储图片的缩略图的列表区域,其中,所述列表区域中的所述已存储图片的缩略图以存储时间的先后顺序排列。Optionally, a view area of the thumbnail of the stored picture in the picture library stored in the electronic device is displayed in the viewing interface, where the thumbnail of the stored picture in the list area is The order of storage time is arranged.
另外,本发明实施例还提供了一种电子设备,其特征在于,包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行以下步骤:In addition, an embodiment of the present invention further provides an electronic device, including: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor And a memory disposed on the circuit board; a power supply circuit for powering various circuits or devices of the electronic device; a memory for storing executable program code; and a processor for executing and executing by reading executable program code stored in the memory The program code corresponds to the program to perform the following steps:
检测相机功能是否被启动;Check if the camera function is activated;
在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
在接收到针对所述预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving the triggering instruction for the predetermined prompt information, jumping from the photographing interface to the preset photo display interface.
可选的,所述处理器还用于:在检测到所述相机功能被启动时,清理所述电子设备的后台运行的应用程序所占用的内存。Optionally, the processor is further configured to: when detecting that the camera function is started, clear a memory occupied by an application running in the background of the electronic device.
可选的,所述处理器用于:通过预先加入所述电子设备的操作***中的长驻进程检测相机功能是否被启动。Optionally, the processor is configured to: detect whether the camera function is activated by using a resident process in an operating system of the electronic device in advance.
可选的,所述预定提示信息包括:所述电子设备中存储的图片库中的存储时间最近的图片的缩略图。Optionally, the predetermined prompt information includes: a thumbnail of a picture stored in the picture library stored in the electronic device.
可选的,所述处理器还用于:Optionally, the processor is further configured to:
检测所述相机功能本次启动后是否拍摄过图片;Detecting whether the camera function has taken a picture after this startup;
若是,将所述预定提示信息所包括的所述电子设备中存储的图片库中的存储时间最近的图片的缩略图更新为:所述相机功能本次启动后所拍摄的最新的图片的缩略图。If yes, update the thumbnail of the picture with the closest storage time in the picture library stored in the electronic device included in the predetermined prompt information to: a thumbnail of the latest picture taken after the camera function is activated this time. .
可选的,所述预定提示信息还包括:在所述相机功能本次启动后所拍摄图片的数量。Optionally, the predetermined prompt information further includes: a quantity of pictures taken after the camera function is activated this time.
可选的,所述预设图片展示界面为:用于查看与所述预定提示信息相关的图片的查看界面。Optionally, the preset picture display interface is: a viewing interface for viewing a picture related to the predetermined prompt information.
可选的,所述查看界面中显示有展示所述电子设备中存储的图片库中的已存储图片的缩 略图的列表区域,其中,所述列表区域中的所述已存储图片的缩略图以存储时间的先后顺序排列。Optionally, the viewing interface displays a thumbnail of the stored image in the image library stored in the electronic device. A list area of the thumbnail, wherein thumbnails of the stored pictures in the list area are arranged in order of storage time.
另外,本发明实施例提供了一种计算机可读存储介质,其中,该存储介质用于存储应用程序,所述应用程序用于在运行时执行本发明实施例所述的一种图片查看方法。其中,本发明实施例所提供的一种图片查看方法,包括:In addition, an embodiment of the present invention provides a computer readable storage medium, where the storage medium is used to store an application, and the application is used to execute a picture viewing method according to an embodiment of the present invention at runtime. The image viewing method provided by the embodiment of the present invention includes:
检测相机功能是否被启动;Check if the camera function is activated;
在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
在接收到针对所述预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving the triggering instruction for the predetermined prompt information, jumping from the photographing interface to the preset photo display interface.
另外,本发明实施例提供了一种计算机应用程序,其中,该应用程序用于在运行时执行本发明实施例所述的一种图片查看方法。其中,本发明实施例所提供的一种图片查看方法,包括:In addition, an embodiment of the present invention provides a computer application program, where the application is used to execute a picture viewing method according to an embodiment of the present invention at runtime. The image viewing method provided by the embodiment of the present invention includes:
检测相机功能是否被启动;Check if the camera function is activated;
在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
在接收到针对所述预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving the triggering instruction for the predetermined prompt information, jumping from the photographing interface to the preset photo display interface.
在本方案中,在检测到相机功能被启动时,显示拍照界面,并在该拍照界面中悬浮显示预定提示信息,其中,该悬浮显示的预定提示信息能够触发进入预设图片展示界面的步骤;在接收到针对该预定提示信息的触发指令时,从该拍照界面跳转至所述预设图片展示界面。可见,本方案能够解决现有技术中图片查看入口的显示方式较为单一的问题,增加趣味性,提高用户使用体验。当然,实施本发明的任一产品或方法必不一定需要同时达到以上所述的所有优点。In this solution, when it is detected that the camera function is activated, the photographing interface is displayed, and the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface; When receiving the triggering instruction for the predetermined prompt information, jumping from the photographing interface to the preset photo display interface. It can be seen that the solution can solve the problem that the display mode of the picture viewing portal in the prior art is relatively simple, increase the interest, and improve the user experience. Of course, any product or method embodying the present invention necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例提供的一种图片查看方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a picture viewing method according to an embodiment of the present disclosure;
图2为本发明实施例提供的一种图片查看方法的另一流程示意图;2 is another schematic flowchart of a picture viewing method according to an embodiment of the present invention;
图3为本发明实施例提供的一种图片查看装置的结构示意图;FIG. 3 is a schematic structural diagram of a picture viewing apparatus according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种图片查看装置的另一结构示意图; 4 is another schematic structural diagram of a picture viewing apparatus according to an embodiment of the present invention;
图5为本发明实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种图片查看方法、装置和电子设备,以解决现有技术中图片查看入口的显示方式较为单一的问题,增加趣味性,提高用户的使用体验。The embodiment of the invention provides a picture viewing method, a device and an electronic device, so as to solve the problem that the display mode of the picture viewing portal in the prior art is relatively simple, and the user experience is improved.
下面首先对本发明实施例所提供的一种图片查看方法进行介绍。The following is a description of a picture viewing method provided by an embodiment of the present invention.
需要说明的是,本发明实施例所提供的一种图片查看方法,可以应用于电子设备,该电子设备可以为台式电脑、笔记本电脑、平板电脑以及智能手机等等,凡是具有相机功能且能存储图片的电子设备,都可以应用本发明实施例所提供的图片查看方法。并且,在应用本发明实施例所提供的图片查看方法时,该电子设备可以处于未连接网络的状态。It should be noted that the image viewing method provided by the embodiment of the present invention can be applied to an electronic device, which can be a desktop computer, a notebook computer, a tablet computer, a smart phone, etc., and has a camera function and can be stored. The picture viewing method provided by the embodiment of the present invention can be applied to the electronic device of the image. Moreover, when the picture viewing method provided by the embodiment of the present invention is applied, the electronic device may be in a state of not being connected to the network.
另外,实现本发明实施例所提供的一种图片查看方法的功能软件可以为专门的相机客户端软件,也可以是其他具有相机功能的客户端软件的插件等等,这都是合理的。举例而言:该其他具有相机功能的客户端软件可以为:各类社交软件,或者,各类图片浏览软件,等等。In addition, the function software for implementing a picture viewing method provided by the embodiment of the present invention may be a dedicated camera client software, or may be a plug-in for other client software having a camera function, etc., which are all reasonable. For example: the other camera-enabled client software can be: various social software, or various types of photo browsing software, and so on.
如图1所示,本发明实施例提供了一种图片查看方法,可以包括如下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a method for viewing a picture, which may include the following steps:
S101:检测相机功能是否被启动;S101: detecting whether the camera function is activated;
需要说明的是,该电子设备可以实时地检测相机功能是否被启动,当相机功能被启动后,继续后续的图片查看方法。当然,该检测相机功能是否被启动可以采用现有技术实现,在此不作赘述。It should be noted that the electronic device can detect whether the camera function is activated in real time, and when the camera function is activated, continue the subsequent image viewing method. Of course, whether the detection camera function is activated can be implemented by using the prior art, and details are not described herein.
S102:在检测到该相机功能被启动时,显示拍照界面,并在该拍照界面中悬浮显示预定提示信息,其中,该悬浮显示的预定提示信息能够触发进入预设图片展示界面的步骤;S102: When detecting that the camera function is activated, displaying a photographing interface, and floatingly displaying the predetermined prompt information in the photographing interface, wherein the predetermined prompt information of the floating display can trigger a step of entering the preset image display interface;
可以理解的是,当该电子设备检测到相机功能被启动时,此时的该电子设备的摄像头被调用,继而显示拍照界面,即在该电子设备的界面中会显示摄像头所映射的情景画面,在实际应用中,该拍照界面还可以包括拍照按键,用户可以通过该拍照界面中的拍照按键进行图片拍摄。It can be understood that when the electronic device detects that the camera function is activated, the camera of the electronic device is invoked at this time, and then the camera interface is displayed, that is, the scene map mapped by the camera is displayed in the interface of the electronic device. In an actual application, the camera interface may further include a camera button, and the user may perform a picture capture through the camera button in the camera interface.
进一步的,在该拍照界面中悬浮显示预定提示信息,其中,该悬浮显示的预定提示信息的显示形式可以为圆形的悬浮球形式,当然,也可以为菱形、矩形、心形或花朵形等的悬浮显示形式,等等,这都是可以的,本发明实施例并不对该悬浮显示的预定提示信息的显示形式进行限定。其中,对于该悬浮显示的预定提示信息的显示形式可以是该电子设备默认设置,也可以由用户根据自身喜好自主设置,或者是两者结合设置,通过该悬浮显示的预定提示信息的显示形式的变化可以提高用户的使用体验,提高用户的关注度,增加用户的趣味性。 Further, the predetermined prompt information is suspended and displayed in the photographing interface, wherein the display form of the predetermined prompt information of the floating display may be in the form of a circular suspended sphere, and of course, may be a diamond, a rectangle, a heart, or a flower. The floating display form, and the like, are all possible, and the embodiment of the present invention does not limit the display form of the predetermined prompt information of the floating display. The display form of the predetermined prompt information for the floating display may be a default setting of the electronic device, or may be set by the user according to his or her own preference, or a combination of the two, and a display form of the predetermined prompt information displayed by the floating display. Changes can improve the user experience, increase user attention, and increase user interest.
并且,该悬浮显示的预定提示信息的显示位置可调节,举例而言,用户可以通过长按该悬浮显示的预定提示信息,对该悬浮显示的预定提示信息进行位置调整,也可以是通过先点击该悬浮显示的预定提示信息选中该悬浮显示的预定提示信息,然后点击该拍照界面的任意一个位置,以将该悬浮显示的预定提示信息移动至该点击的拍照界面的任意一个位置的方式,对该悬浮显示的预定提示信息进行位置调整,等等,这都是可行的。同时,需要说明的是,用户对该所悬浮显示的预定提示信息执行预定操作后,可以进入预设图片展示界面,其中,该预设图片展示界面可以展示应用该相机功能所拍摄的图片,也可以展示该电子设备中所存储的所有的图片,等等,这都是合理的。Moreover, the display position of the scheduled prompt information of the floating display can be adjusted. For example, the user can press the predetermined prompt information displayed by the floating display to adjust the position of the floating prompt information, or by clicking first. The predetermined prompt information of the floating display selects the predetermined prompt information displayed by the floating, and then clicks any position of the photographing interface to move the floating prompt information to any position of the clicked photographing interface, The floating display of the predetermined prompt information for position adjustment, and the like, is all feasible. At the same time, it should be noted that after performing a predetermined operation on the suspended prompt information displayed by the user, the user may enter a preset image display interface, where the preset image display interface may display a picture taken by applying the camera function, It is reasonable to be able to display all the pictures stored in the electronic device, and so on.
具体的,当实现本发明实施例所提供的图片查看方法的功能软件为专门的客户端软件时,该所悬浮显示的预定提示信息的具体显示内容可以是该专门的客户端软件的相关标识;当实现本发明实施例所提供的图片查看方法的功能软件为其他具有相机功能的客户端软件的插件时,该所悬浮显示的预定提示信息的具体显示内容可以是该具有相机功能的客户端软件的相关标识。当然,该所悬浮显示的预定提示信息的具体显示内容也可以是该电子设备中所存储的任意一张图片,或者是任何与该电子设备中所存储的图片相关的提示文字信息。Specifically, when the function software of the image viewing method provided by the embodiment of the present invention is a special client software, the specific display content of the suspended prompt information may be a related identifier of the special client software; When the function software of the image viewing method provided by the embodiment of the present invention is a plug-in of other client software with camera function, the specific display content of the floating display predetermined prompt information may be the camera function-enabled client software. Related identifiers. Certainly, the specific display content of the predetermined prompt information displayed by the floating display may also be any one of the pictures stored in the electronic device, or any prompt text information related to the pictures stored in the electronic device.
S103:在接收到针对该悬浮显示的预定提示信息的触发指令时,从该拍照界面跳转至该预设图片展示界面。S103: Jump to the preset picture display interface from the photographing interface when receiving a trigger instruction for the predetermined prompt information displayed by the hover.
需要说明的是,当用户有进入预设图片展示界面进行图片浏览的需求时,可以通过执行对该悬浮显示的预定提示信息的预定触发操作,发送出触发指令,该电子设备接收到用户针对该悬浮显示的预定提示信息的发出的触发指令时,从该拍照界面自动跳转至该预设图片展示界面,以供用户通过该预设图片展示界面进行图片浏览。其中,该预设图片展示界面可以以图片分类的类型列表的形式向用户展示图片,可以以图片缩略图的形式向用户展示图片,或者以照片胶卷的形式向用户展示图片,等等。It should be noted that, when the user has a need to enter the preset picture display interface for image browsing, the triggering instruction may be sent by performing a predetermined triggering operation on the predetermined prompt information of the floating display, and the electronic device receives the user for the When the triggering instruction of the scheduled prompt information is suspended, the camera interface automatically jumps to the preset image display interface for the user to browse the image through the preset image display interface. The preset picture display interface may display the picture to the user in the form of a type list of the picture classification, may display the picture to the user in the form of a picture thumbnail, or display the picture to the user in the form of a photo film, and the like.
应用本发明实施例,在检测到相机功能被启动时,显示拍照界面,在该拍照界面中悬浮显示预定提示信息,其中,该悬浮显示的预定提示信息能够触发进入预设图片展示界面;在接收到针对该悬浮显示的预定提示信息的触发指令时,从该拍照界面跳转至该预设图片展示界面。可见,本方案能够解决现有技术中图片查看入口的显示方式较为单一的问题,增加趣味性,提高用户使用体验。Applying the embodiment of the present invention, when detecting that the camera function is activated, displaying a photographing interface, wherein the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can be triggered to enter the preset image display interface; When the triggering instruction for the predetermined prompt information displayed for the suspension is reached, the camera interface is jumped to the preset image display interface. It can be seen that the solution can solve the problem that the display mode of the picture viewing portal in the prior art is relatively simple, increase the interest, and improve the user experience.
进一步的,在实际应用中,用户往往会在电子设备中安装各种各样的应用程序,这些应用程序在运行时往往会占据该电子设备的***内存,导致该电子设备的运行速度变慢,再运行其他应用程序时,由于电子设备的运行内存被占用过多,而导致应用程序无法正常启动运行或启动运行速度过慢,出现界面卡顿的现象,尤其是在用户浏览图片时,由于该电子设备的运行内存被占用过多,图片的打开非常慢,等待的时间会较长,以使用户产生厌烦心理,为了提高用户在查看图片时的流畅,提高图片展示的速度,如图2所示,本发明实施例所提 供的一种图片查看方法还可以包括:Further, in practical applications, users often install various applications in the electronic device, and these applications often occupy the system memory of the electronic device during operation, which causes the electronic device to run slower. When other applications are run again, the running memory of the electronic device is occupied too much, and the application cannot start up normally or the startup speed is too slow, and the interface is stuck, especially when the user browses the picture. The running memory of the electronic device is occupied too much, the opening of the picture is very slow, and the waiting time is longer, so that the user is bored, in order to improve the smoothness of the user when viewing the picture, and improve the speed of the picture display, as shown in FIG. 2 Shown in the embodiment of the present invention A picture viewing method provided may further include:
S104:检测到该相机功能被启动时,清理该电子设备的后台运行的应用程序所占用的内存,继续执行步骤S102。S104: When detecting that the camera function is started, clearing the memory occupied by the background running application of the electronic device, and continuing to perform step S102.
可以理解的是,当该电子设备检测到相机功能被启动时,可以自动调用相关的清理工具,清理该电子设备中的在后台运行的应用程序所占用的内存,以将该电子设备的运行内存供该后续的图片查看过程,提高图片查看的流畅性与速度。It can be understood that when the electronic device detects that the camera function is activated, the related cleaning tool can be automatically invoked to clear the memory occupied by the running application in the electronic device to run the running memory of the electronic device. For the subsequent image viewing process, improve the fluency and speed of image viewing.
需要强调的是,清理该终端的后台应用程序所占用的内存的步骤与显示拍照界面的步骤并不具有严格的限定顺序,举例而言:可以先执行清理该终端的后台应用程序所占用的内存的步骤,然后执行显示拍照界面的步骤;当然,还可以先显示拍照界面的步骤,然后执行清理该终端的后台运行的应用程序所占用的内存的步骤。It should be emphasized that the steps of cleaning up the memory occupied by the background application of the terminal and the step of displaying the photo interface are not strictly defined. For example, the memory occupied by the background application of the terminal may be executed first. Steps, and then perform the steps of displaying the camera interface; of course, you can also display the steps of the camera interface, and then perform the steps of cleaning up the memory occupied by the application running in the background of the terminal.
具体的,在实际应用中,电子设备检测相机功能是否被启动的具体实现方式多种多样,在一种实现方式中,所述检测相机功能是否被启动(步骤S101),可以包括:Specifically, in an actual application, the specific implementation manner of the electronic device detecting whether the camera function is activated is various. In an implementation manner, whether the detecting camera function is activated (step S101) may include:
通过预先加入该电子设备的操作***中的长驻进程检测相机功能是否被启动。Whether the camera function is activated by the resident process in the operating system of the electronic device previously added.
在实际应用中,不管该实现本发明实施例所提供的图片查看方法的功能软件为专门的客户端软件,还是其他具有相机功能的客户端软件的插件时,在该客户端软件安装时,会在该电子设备的操作***中加入一个长驻进程,该长驻进程只为该客户端软件的相机功能预留,当该客户端软件启动运行后,该长驻进程可以实时地检测相机功能是否被启动。当检测到该相机功能被启动,继续进行后续的图片查看方法的流程。In practical applications, regardless of whether the function software for implementing the picture viewing method provided by the embodiment of the present invention is a special client software or a plug-in for other client software having a camera function, when the client software is installed, Adding a resident process to the operating system of the electronic device, the resident process is reserved only for the camera function of the client software, and when the client software is started, the resident process can detect whether the camera function is real-time. Was started. When it is detected that the camera function is activated, the flow of the subsequent picture viewing method is continued.
具体的,在实际应用中,该预定提示信息的种类可以有多种,在一种实现方式中,所述预定提示信息可以包括:该电子设备中存储的图片库中的存储时间最近的图片的缩略图。Specifically, in a practical application, the predetermined prompt information may be in a plurality of types. In an implementation manner, the predetermined prompt information may include: a picture in the image library stored in the electronic device that stores the most recent time. Thumbnail.
需要说明的是,当检测到该电子设备的相机功能被启动后,显示拍照界面时,该电子设备可以遍历该存储于图片库中的所有图片,识别该图片库中的图片的存储时间,将该存储于图片库中的存储时间最近的图片(即最新的图片)的缩略图作为该预定提示信息,悬浮显示于该预定区域上方。其中该遍历该存储于图片库中的所有图片可以采用现有技术实现,以及识别该存储于图片库中的存储时间最近的图片也可以采用现有技术实现,并且,将该存储于图片库中的存储时间最近的图片以缩略图的形式显示于该预定区域上方也可以采用现有技术实现,在此不作赘述。It should be noted that, when it is detected that the camera function of the electronic device is activated, when the camera interface is displayed, the electronic device may traverse all the pictures stored in the picture library, and identify the storage time of the pictures in the picture library, and The thumbnail of the picture stored in the picture library closest to the latest time (ie, the latest picture) is displayed as the predetermined prompt information floating above the predetermined area. The traversing all the pictures stored in the picture library can be implemented by using the prior art, and the picture that is stored in the picture library and having the closest storage time can also be implemented by using the prior art, and the image is stored in the picture library. The picture with the most recent storage time is displayed in the form of a thumbnail on the predetermined area. It can also be implemented by using the prior art, and details are not described herein.
进一步的,通过拍照界面进行图片查看,相比于通过直接浏览图片库只进行图片查看的方式,通过拍照界面进行图片查看,可以使用户增加体验拍摄图片这一功能,并且,满足用户在进行完成拍摄图片后,查看该拍摄图片的质量的需求,具体的,本发明实施例所提供的图片查看方法还可以包括: Further, the image viewing is performed through the photographing interface. Compared with the method of directly viewing the image library by directly browsing the image library, the image viewing through the photographing interface can enable the user to increase the experience of taking a picture, and satisfy the user to complete the function. After the picture is taken, the method for viewing the quality of the captured picture is as follows. Specifically, the picture viewing method provided by the embodiment of the present invention may further include:
检测该相机功能本次启动后是否拍摄过图片,若是,将该预定提示信息所包括的该电子设备中存储的图片库中的存储时间最近的图片的缩略图更新为:该相机功能本次启动后所拍摄的最新的图片的缩略图。Detecting whether the camera function has taken a picture after the startup, and if so, updating the thumbnail of the picture with the closest storage time in the picture library stored in the electronic device included in the predetermined prompt information to: the camera function is activated this time. A thumbnail of the latest picture taken afterwards.
可以理解的是,为了更好的提高用户的使用体验,增加用户使用的趣味性,在显示拍照界面后,可以检测该相机功能本次启动后是否拍摄过图片,若是,更新该预定提示信息,将该预定提示信息更新为相机功能本次启动所拍摄的最新的图片的缩略图;若否,则该预定提示信息仍为该电子设备中存储的图片库中的存储时间最近的图片的缩略图。It can be understood that, in order to better improve the user experience and increase the user's interest, after displaying the camera interface, it is possible to detect whether the camera function has taken a picture after the startup, and if so, update the predetermined prompt information. Updating the predetermined prompt information to a thumbnail of the latest picture taken by the camera function to be activated this time; if not, the predetermined prompt information is still a thumbnail of the picture with the closest storage time in the picture library stored in the electronic device .
具体的,在实际应用中,使用相机功能的用户可能会有希望获知该相机功能本次启动后所拍摄的图片的明确的数量的需求,如果根据图片的拍摄时间或存储时间逐张图片地统计数量,会非常麻烦,且会浪费用户的时间,降低用户的使用体验。因此,对于种类繁多的该预定提示信息,在本发明实施例提供了一种实现方式,所述预定提示信息还可以包括:Specifically, in practical applications, a user who uses the camera function may have a desire to know the clear number of pictures taken after the camera function is activated this time, if the picture is counted one by one according to the shooting time or storage time of the picture. The amount is very troublesome and wastes the user's time and reduces the user experience. Therefore, for a variety of the predetermined prompt information, an implementation manner is provided in the embodiment of the present invention, and the predetermined prompt information may further include:
在该相机功能本次启动后所拍摄图片的数量。The number of pictures taken after this camera function is activated this time.
当然,在检测到该相机功能在本次启动后拍摄了图片,该预定提示信息所包括的该电子设备中存储的图片库中的存储时间最近的图片的缩略图更新为,该相机所拍摄的最新的图片的缩略图的同时,该预定提示信息还可以显示该相机功能本次启动后所拍摄图片的数量,可以明显的向用户显示其所拍摄的图片的数量,节省了有获取该相机功能本次启动后所拍摄图片数量的需求的用户的时间,可以增加用户使用体验。Of course, after detecting that the camera function has taken a picture after the startup, the thumbnail of the picture with the closest storage time in the picture library stored in the electronic device included in the predetermined prompt information is updated to be taken by the camera. At the same time as the thumbnail of the latest picture, the predetermined prompt information can also display the number of pictures taken after the camera function is started this time, and can obviously display the number of pictures taken by the user, saving the function of acquiring the camera. The user's time required for the number of pictures taken after this launch can increase the user experience.
具体的,用户需要从该拍照界面直接进入图片库浏览图片时,用户可以通过执行预定操作,直接触发该预定提示信息,使电子设备的界面从拍照界面跳转至该预设图片展示界面,所述预设图片展示界面可以为:用于查看与该预定提示信息相关的图片的查看界面。即该预设图片展示界面中展示了该电子设备中所存储的图片库中的图片,其中,该图片可以填充于该电子设备界面的全屏,也可以以n*n的尺寸平铺于该电子设备界面中,这都是可以的。Specifically, when the user needs to directly enter the picture library to view the picture from the camera interface, the user can directly trigger the predetermined prompt information by performing a predetermined operation, so that the interface of the electronic device jumps from the camera interface to the preset picture display interface. The preset picture display interface may be: a viewing interface for viewing a picture related to the predetermined prompt information. That is, the preset picture display interface displays the picture in the picture library stored in the electronic device, wherein the picture may be filled in the full screen of the electronic device interface, or may be tiled on the electronic device with n*n size. This is all possible in the device interface.
具体的,为了便于用户更好的浏览图片,在具体的实现方式中,在该图片填充于该电子设备界面的全屏时,所述用于查看与该预定提示信息相关的图片的该查看界面中还可以显示有,展示该电子设备中存储的图片库中的已存储图片的缩略图的列表区域,其中,该列表区域中的该已存储图片的缩略图以存储时间的先后顺序排列。Specifically, in a specific implementation manner, when the image is filled in the full screen of the electronic device interface, the viewing interface for viewing a picture related to the predetermined prompt information is used in a specific implementation manner. A list area of thumbnails of the stored pictures in the picture library stored in the electronic device may also be displayed, wherein the thumbnails of the stored pictures in the list area are arranged in the order of storage time.
需要说明的是,以一张图片完整填充于该电子设备的界面中的方式,可以使用户更清晰的浏览该填充图片;界面中同时显示有展示该电子设备中存储的图片库中的已存储图片的缩略图的列表区域,可以方便于用户通过左右滑动该列表区域,查找用户希望仔细放大查看的图片,查找到后直接点击或进行其他操作将该查找到的图片完整填充于该电子设备的界面中,进行图片查看。其中,为了方便用户的查看与查找,该列表区域中的该已存储图片的缩 略图以存储时间的先后顺序排列,以使图片可以有序的且清楚地展示于用户的面前。It should be noted that, in a manner that a picture is completely filled in the interface of the electronic device, the user can browse the filled picture more clearly; the interface also displays the stored in the picture library stored in the electronic device. The list area of the thumbnail of the picture can be conveniently displayed by the user by sliding the list area to the left and right, looking for the picture that the user wants to zoom in on, and directly clicking or performing other operations to find the picture that is completely filled in the electronic device. In the interface, view the picture. Among them, in order to facilitate the user's viewing and searching, the stored image in the list area is reduced. The thumbnails are arranged in order of storage time so that the pictures can be presented in an orderly and clearly presented manner to the user.
下面结合具体的应用实例,对本发明实施例所提供的一种图片查看方法进行介绍。A picture viewing method provided by the embodiment of the present invention is introduced in the following with reference to a specific application example.
假设用户1所使用的电子设备A中安装了实现本发明实施例所提供的图片查看方法的功能软件。It is assumed that the function software that implements the picture viewing method provided by the embodiment of the present invention is installed in the electronic device A used by the user 1.
用户1启动了电子设备A的相机功能,该电子设备A通过预先加入的长驻进程b检测到相机功能被启动,进入拍照界面,该拍照界面中悬浮显示预定提示信息c,其中,c为该电子设备中存储的图片库中的存储时间最近的图片的缩略图。The user 1 activates the camera function of the electronic device A, and the electronic device A detects that the camera function is activated by the resident process b that is added in advance, and enters the photographing interface, and the predetermined prompt information c is suspended in the photographing interface, wherein c is the A thumbnail of the most recent picture stored in the photo library stored in the electronic device.
用户1利用该相机功能进行拍照,该拍照界面中悬浮显示的预定提示信息随着用户拍摄图片的过程而进行更新,当用户拍摄了5张图片后,该预定提示信息更新为最后所拍摄的图片的缩略图,并且增加显示“5”。The user 1 performs photographing by using the camera function, and the predetermined prompt information displayed in the photographing interface is updated according to the process of the user taking the picture. When the user takes 5 pictures, the predetermined prompt information is updated to the last taken picture. Thumbnails, and the display shows "5".
用户1点击该预定提示信息,该电子设备界面从该拍照界面跳转至预设图片展示界面,用户1最后拍摄的图片完整填充于该预设图片展示界面中,且该预设图片展示界面的下方显示有展示该电子设备中存储的图片库中的已存储图片的缩略图的列表区域,该列表区域中的已存储图片的缩略图以存储时间的先后顺序排列。The user 1 clicks the predetermined prompt information, and the electronic device interface jumps from the photographing interface to the preset image display interface, and the last captured image of the user 1 is completely filled in the preset image display interface, and the preset image display interface is A list area showing thumbnails of stored pictures in the picture library stored in the electronic device is displayed below, and thumbnails of the stored pictures in the list area are arranged in order of storage time.
基于上述方法实施例,本发明实施例还提供了一种图片查看装置,应用于电子设备,该装置可以包括:启动检测模块301、显示模块302和界面跳转模块303;The embodiment of the present invention further provides a picture viewing device, which is applied to an electronic device, and the device may include: a startup detection module 301, a display module 302, and an interface jump module 303;
该启动检测模块301:用于检测相机功能是否被启动;The startup detection module 301 is configured to detect whether a camera function is activated;
该显示模块302:用于在该检测到相机功能被启动时,显示拍照界面,并在该拍照界面中悬浮显示预定提示信息,其中,该悬浮显示的预定提示信息能够触发进入预设图片展示界面的步骤;The display module 302 is configured to display a photographing interface when the camera function is detected, and display the predetermined prompt information in the photographing interface, wherein the predetermined prompt information of the floating display can be triggered to enter the preset image display interface. A step of;
该界面跳转模块303:用于在接收到针对该悬浮显示的预定提示信息的触发指令时,从该拍照界面跳转至该预设图片展示界面。The interface jump module 303 is configured to jump from the photographing interface to the preset photo display interface when receiving a trigger instruction for the predetermined prompt information displayed by the hover.
应用本发明实施例,在检测到相机功能被启动时,显示拍照界面,并在该拍照界面中悬浮显示预定提示信息,其中,该悬浮显示的预定提示信息能够触发进入预设图片展示界面的步骤;在接收到针对该悬浮显示的预定提示信息的触发指令时,从该拍照界面跳转至该预设图片展示界面。可见,本方案能够解决现有技术中图片查看入口的显示方式较为单一的问题,增加趣味性,提高用户使用体验。When the camera function is detected, the camera interface is displayed, and the predetermined prompt information is suspended and displayed in the camera interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface. When the triggering instruction for the predetermined prompt information displayed for the floating is received, the camera interface is jumped to the preset image display interface. It can be seen that the solution can solve the problem that the display mode of the picture viewing portal in the prior art is relatively simple, increase the interest, and improve the user experience.
具体的,如图4所示,本发明实施例所提供的一种图片查看装置,还可以包括内存清理模块304;Specifically, as shown in FIG. 4, a picture viewing apparatus provided by an embodiment of the present invention may further include a memory cleaning module 304;
该内存清理模块304:用于检测到该相机功能被启动时,清理该电子设备的后台运行的应用程序所占用的内存。 The memory cleaning module 304 is configured to detect the memory occupied by the background running application of the electronic device when the camera function is started.
具体的,该启动检测模块301具体用于:Specifically, the startup detection module 301 is specifically configured to:
通过预先加入该电子设备的操作***中的长驻进程检测相机功能是否被启动。Whether the camera function is activated by the resident process in the operating system of the electronic device previously added.
具体的,该显示模块302显示的该预定提示信息可以包括:该电子设备中存储的图片库中的存储时间最近的图片的缩略图。Specifically, the predetermined prompt information displayed by the display module 302 may include: a thumbnail of a picture stored in the photo library stored in the electronic device.
具体的,本发明实施例所提供的一种图片查看装置,还可以包括拍摄检测模块和缩略图更新模块;Specifically, the image viewing apparatus provided by the embodiment of the present invention may further include a shooting detection module and a thumbnail update module;
该拍摄检测模块:用于检测该相机功能本次启动后是否拍摄过图片,若是,触发该缩略图更新模块;The shooting detection module is configured to detect whether the camera function has taken a picture after the startup, and if so, trigger the thumbnail update module;
该缩略图更新模块:用于将该预定提示信息所包括的该电子设备中存储的图片库中的存储时间最近的图片的缩略图更新为:该相机功能本次启动后所拍摄的最新的图片的缩略图。The thumbnail update module is configured to update a thumbnail of the most recently stored picture in the picture library stored in the electronic device included in the predetermined prompt information to: the latest picture taken after the camera function is started this time. Thumbnails.
具体的,该显示模块302显示的该预定提示信息还可以包括:Specifically, the predetermined prompt information displayed by the display module 302 may further include:
在该相机功能本次启动后所拍摄图片的数量。The number of pictures taken after this camera function is activated this time.
具体的,所述预设图片展示界面可以为:Specifically, the preset picture display interface may be:
用于查看与所述预定提示信息相关的图片的查看界面。A viewing interface for viewing a picture related to the predetermined prompt information.
具体的,所述查看界面中显示有展示该电子设备中存储的图片库中的已存储图片的缩略图的列表区域,其中,该列表区域中的该已存储图片的缩略图以存储时间的先后顺序排列。Specifically, the viewing interface displays a list area of thumbnails of the stored pictures in the picture library stored in the electronic device, wherein the thumbnails of the stored pictures in the list area are stored in time series Arrange in order.
另外,本发明实施例还提供了一种电子设备,如图5所示,该电子设备可以包括:壳体501、处理器502、存储器503、电路板504和电源电路505,其中,电路板504安置在壳体501围成的空间内部,处理器502和存储器503设置在电路板504上;电源电路505,用于为电子设备的各个电路或器件供电;存储器503用于存储可执行程序代码;处理器502通过读取存储器503中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行以下步骤:In addition, an embodiment of the present invention further provides an electronic device. As shown in FIG. 5, the electronic device may include: a housing 501, a processor 502, a memory 503, a circuit board 504, and a power circuit 505, wherein the circuit board 504 The processor 502 and the memory 503 are disposed on the circuit board 504; the power circuit 505 is used to supply power to the various circuits or devices of the electronic device; and the memory 503 is configured to store executable program code; The processor 502 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 503 for performing the following steps:
检测相机功能是否被启动;Check if the camera function is activated;
在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述悬浮显示的预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, the photographing interface is displayed, and the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface;
在接收到针对所述悬浮显示的预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving a triggering instruction for the predetermined prompt information displayed by the floating, jumping from the photographing interface to the preset photo display interface.
应用本发明实施例,在检测到相机功能被启动时,显示拍照界面,并在该拍照界面中悬浮显示预定提示信息,其中,该悬浮显示的预定提示信息能够触发进入预设图片展示界面的步骤;在接收到针对该悬浮显示的预定提示信息的触发指令时,从该拍照界面跳转至该预设图片展示界面。可见,本方案能够解决现有技术中图片查看入口的显示方式较为单一的问题,增加趣味性,提高用户使用体验。 When the camera function is detected, the camera interface is displayed, and the predetermined prompt information is suspended and displayed in the camera interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface. When the triggering instruction for the predetermined prompt information displayed for the floating is received, the camera interface is jumped to the preset image display interface. It can be seen that the solution can solve the problem that the display mode of the picture viewing portal in the prior art is relatively simple, increase the interest, and improve the user experience.
该电子设备以多种形式存在,包括但不限于:The electronic device exists in a variety of forms including, but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类电子设备包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such electronic devices include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类电子设备包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such electronic devices include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、***总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
另外,本发明实施例提供了一种计算机可读存储介质,其中,该存储介质用于存储应用程序,所述应用程序用于在运行时执行本发明实施例所述的一种图片查看方法。其中,本发明实施例所提供的一种图片查看方法,可以包括:In addition, an embodiment of the present invention provides a computer readable storage medium, where the storage medium is used to store an application, and the application is used to execute a picture viewing method according to an embodiment of the present invention at runtime. The image viewing method provided by the embodiment of the present invention may include:
检测相机功能是否被启动;Check if the camera function is activated;
在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述悬浮显示的预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, the photographing interface is displayed, and the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface;
在接收到针对所述悬浮显示的预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving a triggering instruction for the predetermined prompt information displayed by the floating, jumping from the photographing interface to the preset photo display interface.
另外,本发明实施例提供了一种计算机应用程序,其中,该应用程序用于在运行时执行本发明实施例所述的一种图片查看方法。其中,本发明实施例所提供的一种图片查看方法,可以包括:In addition, an embodiment of the present invention provides a computer application program, where the application is used to execute a picture viewing method according to an embodiment of the present invention at runtime. The image viewing method provided by the embodiment of the present invention may include:
检测相机功能是否被启动;Check if the camera function is activated;
在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述悬浮显示的预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, the photographing interface is displayed, and the predetermined prompt information is suspended and displayed in the photographing interface, wherein the predetermined prompt information of the floating display can trigger the step of entering the preset image display interface;
在接收到针对所述悬浮显示的预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving a triggering instruction for the predetermined prompt information displayed by the floating, jumping from the photographing interface to the preset photo display interface.
对于装置、电子设备、存储介质及应用程序实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device, the electronic device, the storage medium and the application embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者 操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this context, relational terms such as first and second, etc. are only used to refer to an entity or Operation is separate from another entity or operation, and does not necessarily require or imply any such actual relationship or order. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,这里所称得的存储介质,如:ROM/RAM、磁碟、光盘等。One of ordinary skill in the art can understand that all or part of the steps in implementing the above method embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, which is referred to herein. Storage media such as ROM/RAM, disk, CD, etc.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (27)

  1. 一种图片查看方法,其特征在于,应用于电子设备,所述方法包括:A picture viewing method is characterized in that it is applied to an electronic device, and the method includes:
    检测相机功能是否被启动;Check if the camera function is activated;
    在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
    在接收到针对所述预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving the triggering instruction for the predetermined prompt information, jumping from the photographing interface to the preset photo display interface.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    检测到所述相机功能被启动时,清理所述电子设备的后台运行的应用程序所占用的内存。When it is detected that the camera function is activated, the memory occupied by the background running application of the electronic device is cleaned up.
  3. 根据权利要求1或2所述的方法,其特征在于,所述检测相机功能是否被启动,包括:The method according to claim 1 or 2, wherein the detecting whether the camera function is activated comprises:
    通过预先加入所述电子设备的操作***中的长驻进程检测相机功能是否被启动。Whether the camera function is activated by the resident process in the operating system of the electronic device previously added.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述预定提示信息包括:所述电子设备中存储的图片库中的存储时间最近的图片的缩略图。The method according to any one of claims 1 to 3, wherein the predetermined prompt information comprises: a thumbnail of a picture stored in the picture library stored in the electronic device.
  5. 根据权利要求4所述的方法,其特征在于,还包括:The method of claim 4, further comprising:
    检测所述相机功能本次启动后是否拍摄过图片;Detecting whether the camera function has taken a picture after this startup;
    若是,将所述预定提示信息所包括的所述电子设备中存储的图片库中的存储时间最近的图片的缩略图更新为:所述相机功能本次启动后所拍摄的最新的图片的缩略图。If yes, update the thumbnail of the picture with the closest storage time in the picture library stored in the electronic device included in the predetermined prompt information to: a thumbnail of the latest picture taken after the camera function is activated this time. .
  6. 根据权利要求5所述的方法,其特征在于,所述预定提示信息还包括:The method according to claim 5, wherein the predetermined prompt information further comprises:
    在所述相机功能本次启动后所拍摄图片的数量。The number of pictures taken after the camera function is activated this time.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述预设图片展示界面为:The method according to any one of claims 1 to 6, wherein the preset picture display interface is:
    用于查看与所述预定提示信息相关的图片的查看界面。A viewing interface for viewing a picture related to the predetermined prompt information.
  8. 根据权利要求7所述的方法,其特征在于,所述查看界面中显示有展示所述电子设备中存储的图片库中的已存储图片的缩略图的列表区域,其中,所述列表区域中的所述已存储图片的缩略图以存储时间的先后顺序排列。The method according to claim 7, wherein a display area displaying thumbnails of the stored pictures in the picture library stored in the electronic device is displayed in the viewing interface, wherein the list area is The thumbnails of the stored pictures are arranged in the order of storage time.
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述预定提示信息的显示位置可调节。The method according to any one of claims 1-8, wherein the display position of the predetermined reminder information is adjustable.
  10. 一种图片查看装置,其特征在于,应用于电子设备,所述装置包括:启动检测模块、显示模块和界面跳转模块; A picture viewing device is characterized in that it is applied to an electronic device, and the device comprises: a startup detection module, a display module and an interface jump module;
    所述启动检测模块:用于检测相机功能是否被启动;The startup detection module is configured to detect whether a camera function is activated;
    所述显示模块:用于在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述预定提示信息能够触发进入预设图片展示界面的步骤;The display module is configured to: when detecting that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger to enter a preset image display interface A step of;
    所述界面跳转模块:用于在接收到针对所述预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。The interface jump module is configured to jump from the photographing interface to the preset photo display interface when receiving a triggering instruction for the predetermined prompt information.
  11. 根据权利要求10所述的装置,其特征在于,还包括内存清理模块;The device according to claim 10, further comprising a memory cleaning module;
    所述内存清理模块:用于检测到所述相机功能被启动时,清理所述电子设备的后台运行的应用程序所占用的内存。The memory cleaning module is configured to: when detecting that the camera function is started, clear a memory occupied by an application running in the background of the electronic device.
  12. 根据权利要求10或11所述的装置,其特征在于,所述启动检测模块具体用于:The device according to claim 10 or 11, wherein the startup detection module is specifically configured to:
    通过预先加入所述电子设备的操作***中的长驻进程检测相机功能是否被启动。Whether the camera function is activated by the resident process in the operating system of the electronic device previously added.
  13. 根据权利要求10-12中任一项所述的装置,其特征在于,所述显示模块显示的所述预定提示信息包括:所述电子设备中存储的图片库中的存储时间最近的图片的缩略图。The device according to any one of claims 10 to 12, wherein the predetermined prompt information displayed by the display module comprises: a reduction of a picture with the closest storage time in a picture library stored in the electronic device Sketch map.
  14. 根据权利要求13所述的装置,其特征在于,还包括拍摄检测模块和缩略图更新模块;The device according to claim 13, further comprising a shooting detection module and a thumbnail update module;
    所述拍摄检测模块:用于检测所述相机功能本次启动后是否拍摄过图片,若是,触发所述缩略图更新模块;The photographing detection module is configured to detect whether the camera function has taken a picture after the current startup, and if so, trigger the thumbnail update module;
    所述缩略图更新模块:用于将所述预定提示信息所包括的所述电子设备中存储的图片库中的存储时间最近的图片的缩略图更新为:所述相机功能本次启动后所拍摄的最新的图片的缩略图。The thumbnail update module is configured to update a thumbnail of a picture with the latest storage time in the picture library stored in the electronic device included in the predetermined prompt information to: the camera function is taken after the current startup A thumbnail of the latest picture.
  15. 根据权利要求14所述的装置,其特征在于,所述显示模块显示的所述预定提示信息还包括:The device according to claim 14, wherein the predetermined prompt information displayed by the display module further comprises:
    在所述相机功能本次启动后所拍摄图片的数量。The number of pictures taken after the camera function is activated this time.
  16. 根据权利要求10-15中任一项所述的装置,其特征在于,所述预设图片展示界面为:The device according to any one of claims 10-15, wherein the preset picture display interface is:
    用于查看与所述预定提示信息相关的图片的查看界面。A viewing interface for viewing a picture related to the predetermined prompt information.
  17. 根据权利要求16所述的装置,其特征在于,所述查看界面中显示有展示所述电子设备中存储的图片库中的已存储图片的缩略图的列表区域,其中,所述列表区域中的所述已存储图片的缩略图以存储时间的先后顺序排列。The device according to claim 16, wherein a display area displaying thumbnails of stored pictures in the picture library stored in the electronic device is displayed in the viewing interface, wherein the list area is The thumbnails of the stored pictures are arranged in the order of storage time.
  18. 一种电子设备,其特征在于,包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存 储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行以下步骤:An electronic device, comprising: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor and the memory are disposed on the circuit board; a circuit for powering various circuits or devices of an electronic device; a memory for storing executable program code; Executable program code stored in the store to execute a program corresponding to the executable program code for performing the following steps:
    检测相机功能是否被启动;Check if the camera function is activated;
    在检测到所述相机功能被启动时,显示拍照界面,并在所述拍照界面中悬浮显示预定提示信息,其中,所述预定提示信息能够触发进入预设图片展示界面的步骤;When it is detected that the camera function is activated, displaying a photographing interface, and floatingly displaying predetermined prompt information in the photographing interface, wherein the predetermined prompt information can trigger a step of entering a preset photo display interface;
    在接收到针对所述预定提示信息的触发指令时,从所述拍照界面跳转至所述预设图片展示界面。When receiving the triggering instruction for the predetermined prompt information, jumping from the photographing interface to the preset photo display interface.
  19. 根据权利要求18所述的电子设备,其特征在于,所述处理器还用于:The electronic device according to claim 18, wherein the processor is further configured to:
    在检测到所述相机功能被启动时,清理所述电子设备的后台运行的应用程序所占用的内存。When it is detected that the camera function is activated, the memory occupied by the background running application of the electronic device is cleaned up.
  20. 根据权利要求18或19所述的电子设备,其特征在于,所述处理器用于:The electronic device according to claim 18 or 19, wherein the processor is configured to:
    通过预先加入所述电子设备的操作***中的长驻进程检测相机功能是否被启动。Whether the camera function is activated by the resident process in the operating system of the electronic device previously added.
  21. 根据权利要求18-20中任一项所述的电子设备,其特征在于,所述预定提示信息包括:所述电子设备中存储的图片库中的存储时间最近的图片的缩略图。The electronic device according to any one of claims 18 to 20, wherein the predetermined prompt information comprises: a thumbnail of a picture stored in the picture library stored in the electronic device.
  22. 根据权利要求21所述的电子设备,其特征在于,所述处理器还用于:The electronic device according to claim 21, wherein the processor is further configured to:
    检测所述相机功能本次启动后是否拍摄过图片;Detecting whether the camera function has taken a picture after this startup;
    若是,将所述预定提示信息所包括的所述电子设备中存储的图片库中的存储时间最近的图片的缩略图更新为:所述相机功能本次启动后所拍摄的最新的图片的缩略图。If yes, update the thumbnail of the picture with the closest storage time in the picture library stored in the electronic device included in the predetermined prompt information to: a thumbnail of the latest picture taken after the camera function is activated this time. .
  23. 根据权利要求22所述的电子设备,其特征在于,所述预定提示信息还包括:The electronic device according to claim 22, wherein the predetermined prompt information further comprises:
    在所述相机功能本次启动后所拍摄图片的数量。The number of pictures taken after the camera function is activated this time.
  24. 根据权利要求18-23中任一项所述的电子设备,其特征在于,所述预设图片展示界面为:The electronic device according to any one of claims 18 to 23, wherein the preset picture display interface is:
    用于查看与所述预定提示信息相关的图片的查看界面。A viewing interface for viewing a picture related to the predetermined prompt information.
  25. 根据权利要求24所述的电子设备,其特征在于,所述查看界面中显示有展示所述电子设备中存储的图片库中的已存储图片的缩略图的列表区域,其中,所述列表区域中的所述已存储图片的缩略图以存储时间的先后顺序排列。The electronic device according to claim 24, wherein a display area displaying thumbnails of the stored pictures in the picture library stored in the electronic device is displayed in the viewing interface, wherein the list area is The thumbnails of the stored pictures are arranged in the order of storage time.
  26. 一种计算机可读存储介质,具有存储于其中的指令,当终端的处理器执行所述指令时,所述终端执行如权利要求1-9中任一项所述的图片查看方法。A computer readable storage medium having instructions stored therein, the terminal performing the picture viewing method according to any one of claims 1-9 when the processor of the terminal executes the instruction.
  27. 一种计算机应用程序,当其在处理器上运行时,执行如权利要求1-9中任一项所述的图片查看方法。 A computer application that, when run on a processor, performs the picture viewing method of any of claims 1-9.
PCT/CN2016/088225 2015-12-31 2016-07-01 Picture viewing method and apparatus, and electronic device WO2017113673A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511031438.7A CN105681648A (en) 2015-12-31 2015-12-31 Picture viewing method and device and electronic equipment
CN201511031438.7 2015-12-31

Publications (1)

Publication Number Publication Date
WO2017113673A1 true WO2017113673A1 (en) 2017-07-06

Family

ID=56298530

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088225 WO2017113673A1 (en) 2015-12-31 2016-07-01 Picture viewing method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN105681648A (en)
WO (1) WO2017113673A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681648A (en) * 2015-12-31 2016-06-15 北京金山安全软件有限公司 Picture viewing method and device and electronic equipment
CN109388734A (en) * 2017-08-04 2019-02-26 阿里巴巴集团控股有限公司 Commodity purchasing implementation method based on picture, the method and device scanned for using picture
CN108089788B (en) * 2017-12-19 2019-12-06 维沃移动通信有限公司 Thumbnail display control method and mobile terminal
CN110321449B (en) * 2019-06-28 2021-07-27 维沃移动通信有限公司 Picture display method and terminal
CN111371988B (en) * 2020-02-27 2021-08-20 Oppo广东移动通信有限公司 Content operation method, device, terminal and storage medium
CN113497888B (en) * 2020-04-07 2023-05-02 华为技术有限公司 Photo preview method, electronic device and storage medium
CN113810608B (en) * 2021-09-14 2022-11-25 荣耀终端有限公司 Shooting method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6317141B1 (en) * 1998-12-31 2001-11-13 Flashpoint Technology, Inc. Method and apparatus for editing heterogeneous media objects in a digital imaging device
US20040085455A1 (en) * 2000-01-18 2004-05-06 Silverstein D. Amnon Pointing device for digital camera display
CN103902615A (en) * 2012-12-28 2014-07-02 腾讯科技(深圳)有限公司 Photo processing method, photo processing device and mobile terminal
CN105068717A (en) * 2015-08-12 2015-11-18 北京金山安全软件有限公司 Management method and device for notification bar of mobile terminal and mobile terminal
CN105681648A (en) * 2015-12-31 2016-06-15 北京金山安全软件有限公司 Picture viewing method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459769B (en) * 2007-12-14 2010-06-02 鸿富锦精密工业(深圳)有限公司 Digital camera and image management method
CN103853534B (en) * 2012-11-30 2017-12-01 腾讯科技(深圳)有限公司 A kind of photo instant playback method and device
CN103338299B (en) * 2013-06-06 2015-07-29 腾讯科技(深圳)有限公司 A kind of image processing method and device, terminal
CN104049847A (en) * 2014-06-30 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Information prompt method and system of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6317141B1 (en) * 1998-12-31 2001-11-13 Flashpoint Technology, Inc. Method and apparatus for editing heterogeneous media objects in a digital imaging device
US20040085455A1 (en) * 2000-01-18 2004-05-06 Silverstein D. Amnon Pointing device for digital camera display
CN103902615A (en) * 2012-12-28 2014-07-02 腾讯科技(深圳)有限公司 Photo processing method, photo processing device and mobile terminal
CN105068717A (en) * 2015-08-12 2015-11-18 北京金山安全软件有限公司 Management method and device for notification bar of mobile terminal and mobile terminal
CN105681648A (en) * 2015-12-31 2016-06-15 北京金山安全软件有限公司 Picture viewing method and device and electronic equipment

Also Published As

Publication number Publication date
CN105681648A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
WO2017113673A1 (en) Picture viewing method and apparatus, and electronic device
US20200242183A1 (en) Recommended content display method, device, and system
US10225471B2 (en) System and method for autonomously recording a visual media
US20240179110A1 (en) Content item module arrangements
US20180054564A1 (en) Apparatus and method for providing user's emotional information in electronic device
US20210097105A1 (en) Because you reacted to content
US20220391060A1 (en) Methods for displaying and providing multimedia resources
US20190236099A1 (en) Picture processing method and apparatus, and electronic device
US11281363B2 (en) Method and device for setting identity image
US10353988B2 (en) Electronic device and method for displaying webpage using the same
US20230100461A1 (en) Content discovery refresh
US11477143B2 (en) Trending content view count
US20190174069A1 (en) System and Method for Autonomously Recording a Visual Media
WO2019157870A1 (en) Method and device for accessing webpage application, storage medium, and electronic apparatus
EP4350535A2 (en) Content item module arrangements
CN111382339B (en) Search processing method and device for search processing
WO2023051294A1 (en) Prop processing method and apparatus, and device and medium
WO2019057191A1 (en) Content retrieval method, terminal and server, electronic device and storage medium
US20190265856A1 (en) Animating an Image to Indicate That the Image is Pannable
WO2022111458A1 (en) Image capture method and apparatus, electronic device, and storage medium
WO2022068721A1 (en) Screen capture method and apparatus, and electronic device
TW201608385A (en) Methods and systems for media collaboration groups
CN109791432A (en) The state for postponing the information for influencing graphic user interface changes until not during absorbed situation
WO2019095810A1 (en) Interface display method and device
WO2016197549A1 (en) Searching method and apparatus

Legal Events

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

Ref document number: 16880478

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/10/18)

122 Ep: pct application non-entry in european phase

Ref document number: 16880478

Country of ref document: EP

Kind code of ref document: A1