WO2019041103A1 - Image display method for electronic terminal, and electronic terminal - Google Patents

Image display method for electronic terminal, and electronic terminal Download PDF

Info

Publication number
WO2019041103A1
WO2019041103A1 PCT/CN2017/099349 CN2017099349W WO2019041103A1 WO 2019041103 A1 WO2019041103 A1 WO 2019041103A1 CN 2017099349 W CN2017099349 W CN 2017099349W WO 2019041103 A1 WO2019041103 A1 WO 2019041103A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
size
image
display
terminal
Prior art date
Application number
PCT/CN2017/099349
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 深圳传音通讯有限公司
Priority to PCT/CN2017/099349 priority Critical patent/WO2019041103A1/en
Publication of WO2019041103A1 publication Critical patent/WO2019041103A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Definitions

  • the present invention relates to an electronic terminal, and more particularly to an image display method and an electronic terminal of an electronic terminal.
  • An electronic terminal can be understood as a terminal having a processor and a memory, and the processor reads the code in the memory and can perform a corresponding function.
  • the processor reads the code in the memory and can perform a corresponding function.
  • the distance between the terminal and the external entity object can be detected by a sensor built in or externally placed on the electronic terminal, thereby outputting corresponding environmental information to protect the security of the user.
  • the environmental information output to the user is relatively simple, and it is difficult to help the user understand the current environmental conditions.
  • the invention provides an image display method and an electronic terminal of an electronic terminal to solve the problem of single information.
  • an image display method of an electronic terminal including:
  • the program interface of the detected application enters the foreground operation
  • a window is displayed on the program interface, and an environment image acquired in real time is displayed in the window.
  • the method further includes:
  • the display parameters including at least one of: a size of the window; a position of the window; and: a display brightness of an image within the window.
  • the display parameter includes a size of the window
  • changing the display parameter of the window according to the motion data detected by the motion sensor includes:
  • the current window of the first size is The mouth is enlarged to the second size
  • the window that is currently the first size is reduced to the third size.
  • the method further includes:
  • the window of the current fourth size is reduced to the first size.
  • the method further includes:
  • the display parameter includes at least one of: a size of the window; a position of the window; and: a display brightness of an image in the window.
  • the changing display parameters of the window according to an input operation of the user including at least one of the following:
  • the first contact is initially located outside the display area of the window;
  • the position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
  • the method further includes:
  • the environment image is used as a real-time desktop background of the main interface
  • the image is collected in real time by the rear camera of the terminal, and the method further includes:
  • the method further includes:
  • the current environment image is saved as a picture in response to a shooting instruction, which is obtained according to an operation of the user's input device to the terminal.
  • an electronic terminal comprising:
  • the detecting module is configured to detect that the program interface of the application enters the foreground operation
  • a display module configured to display a window on the program interface, and display an environment image acquired in real time in the window.
  • the terminal further includes:
  • a first changing module configured to change display parameters of the window according to motion data detected by the motion sensor, the display parameter comprising at least one of: a size of the window; a position of the window; and: the window The brightness of the display of the internal image.
  • the display parameter includes a size of the window
  • the first change module is specifically configured to:
  • the window that is currently the first size is increased to the second size
  • the window that is currently the first size is reduced to the third size.
  • the terminal further includes:
  • a receiving module configured to receive a touch event through a touch screen of the terminal
  • An increasing module configured to increase a window that is currently the first size to a fourth size
  • a reduction module configured to reduce the window that is currently the fourth size to the first size if no other touch events are received within the preset time after the window is increased to the fourth size.
  • the terminal further includes:
  • a second change module configured to change display parameters of the window according to an input operation of the user; the display parameter includes at least one of: a size of the window; a position of the window; and: an image within the window Display brightness.
  • the second changing module 407 is specifically configured to implement at least one of the following:
  • the first contact is initially located outside the display area of the window;
  • the position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
  • the terminal further includes:
  • a first background module configured to use the environment image as a real-time desktop background of the main interface when a main interface of the operating system is running in the foreground;
  • a second background module configured to stop the real-time desktop background with the environment image as the main interface when the program interface is running in the foreground.
  • the image is collected in real time by the rear camera of the terminal, and the terminal further includes:
  • a lighting module configured to control illumination of the illumination device of the terminal according to the ambient brightness data, so that: the brightness statistics of the image is greater than a preset threshold, and the brightness statistics are according to each pixel in the image The brightness or the brightness of the sampled pixels in the image is statistically derived.
  • the terminal further includes:
  • the photographing module is configured to save the current environment image as a picture according to a photographing instruction, and the photographing instruction is obtained according to an operation of the input device of the terminal by the user.
  • an electronic terminal comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the first aspect and The first aspect of the various possible methods.
  • a storage medium comprising: a readable storage medium and a computer program for implementing the first aspect and the various possible methods of the first aspect.
  • the image display method and the electronic terminal provided by the present invention enter the foreground operation by detecting the program interface of the application program; and display a window on the program interface, and display the real-time collected environment image in the window, and invent the program interface
  • the currently collected environment image can be output to the user through the independently displayed window. Since the image contains more information, the present invention can output more kinds of information to the user, so as to help the user to fully understand the current situation. Environmental conditions.
  • FIG. 1 is a schematic diagram of an application scenario of the present invention
  • FIG. 2 is a schematic flow chart 1 of an image display method of an electronic terminal according to the present invention.
  • FIG. 3 is a schematic flow chart 2 of an image display method of an electronic terminal according to the present invention.
  • FIG. 4 is a schematic diagram of an interface of a program interface of the present invention.
  • FIG. 5 is a schematic diagram of an interface of a main interface of the present invention.
  • FIG. 6 is a schematic structural view 1 of an electronic terminal of the present invention.
  • FIG. 7 is a schematic structural view 2 of an electronic terminal of the present invention.
  • FIG. 8 is a third schematic structural diagram of an electronic terminal according to the present invention.
  • FIG. 1 is a schematic diagram of an application scenario of the present invention; please refer to FIG. 1, which illustrates a program interface by taking a map application as an example.
  • the program interface can be understood as an interactive interface of an application.
  • FIG. 2 is a schematic flowchart 1 of an image display method of an electronic terminal according to the present invention. referring to FIG. 2, the method includes:
  • the program interface can be understood as an interactive interface when the application is running in the foreground.
  • the user can interact with the user by referring to the program interface content or operating the program interface. This embodiment can be applied to any program interface.
  • S12 Display a window on the program interface, and display an environment image collected in real time in the window.
  • the window can be understood as a window displayed on the upper layer of the program interface, which can be any form of window.
  • the window can be displayed by using the picture-in-picture method in the related art, and the existing related technology can be used to suspend the window.
  • the window displays the window.
  • the real-time collected environment image, the time that the image captured by the camera of the terminal can be collected, and the time when the environment image is collected in real time may be detected before the program interface is detected in step S11, or may be after the step S12.
  • the collection does not depart from the spirit of the invention.
  • the image display method of the electronic terminal provided by the embodiment enters the foreground operation by detecting the program interface of the application program; and displays a window on the program interface, and displays the environment image collected in real time in the window, and invents the program
  • the environment image can be output to the user through the independently displayed window. Since the image contains more information, the embodiment can output more information to the user to help the user understand more comprehensively. Current environmental conditions.
  • FIG. 3 is a schematic flowchart 2 of an image display method of an electronic terminal according to the present invention. referring to FIG. 3, the method includes:
  • the program interface can be understood as an interactive interface when the application is running in the foreground.
  • the user can interact with the user by referring to the program interface content or operating the program interface. This embodiment can be applied to any program interface.
  • S22 Display a window on the program interface, and display an environment image collected in real time in the window.
  • the window can be understood as a window displayed on the upper layer of the program interface, which can be any form of window.
  • the window can be displayed by using the picture-in-picture method in the related art, and the existing related technology can be used to suspend the window.
  • the window displays the window.
  • FIG. 4 is a schematic diagram of an interface of a program interface of the present invention. Please refer to FIG. 4, which is described by taking a map application as an example, and the window may be located at any position of the program interface, and the size thereof may also be arbitrary.
  • the image captured in real time can be the image captured by the camera of the terminal. Start collecting real-time environment images
  • the time can be detected before the program interface is detected in step S21, or after it is collected, as long as it is already collected at the time of implementing step S22, without departing from the spirit of the present invention.
  • the method before the step S22 is performed, the method further includes: triggering the collection environment image, which may be triggered by clicking a preset button, and the button may be a preset control in the operating system.
  • the window After the environment image has been triggered and the program interface enters the foreground, the window can be displayed to display the environment image collected in real time. The timing for triggering the acquisition of the environment image may occur after the step S21, by the user's triggering operation, or may be before step S21.
  • the method further includes:
  • the environment image is used as a real-time desktop background of the main interface; when the program interface is running in the foreground, stopping the real-time desktop with the environment image as the main interface background.
  • FIG. 5 is a schematic diagram of an interface of a main interface of the present invention
  • FIG. 5 is a diagram showing a situation in which an environment image is displayed in a real-time desktop background manner under the main interface.
  • the user can see the real-time changing image in the background behind the icon, thereby providing users with more comprehensive and comprehensive information to help the user better understand the environment.
  • the main interface of the operating system runs in the foreground.
  • the environment image is used as the real-time desktop background of the main interface.
  • the system no longer updates the real-time desktop background of the main interface until the program interface exits, which can effectively reduce the amount of data processed by the system.
  • the program interface exits the foreground and the main interface runs again in the foreground, it can be
  • the environment image serves as the real-time desktop background of the main interface.
  • the display window is stopped. Displaying the real-time environment image in the program interface in the form of a window can effectively protect the user's use of the program interface. And in contrast to the solution as a background, the effect of the display environment image on the normal use terminal can also be reduced in the form of a window.
  • the triggering collection environment image occurs after step S21, when the program interface is running in the foreground, the window is not displayed first, and when the collection environment image is triggered, the environment image is collected and displayed. .
  • the environment image can be used as the real-time desktop background of the main interface without displaying the window.
  • the method may further include:
  • S23 Change display parameters of the window according to motion data detected by the motion sensor.
  • the display parameter may be any parameter for characterizing how the window is displayed.
  • the display parameter includes at least one of: a size of the window; a position of the window; and: the window The brightness of the display of the internal image.
  • Changing the display parameters of the window based on the motion data can automatically adjust its display parameters according to the motion scene in which the terminal is located, so as to adapt to the user's need to view the environment image under different motion scenarios.
  • step S23 may include:
  • the motion data and the preset walking reference data are compared to determine whether the terminal is in a walking motion scene.
  • the window that is currently the first size is increased to the second size.
  • the window that is currently the first size is reduced to the third size.
  • the first size can be understood as the current size of the window
  • the second size can be understood as any size larger than the first size
  • the third size can be understood as any size smaller than the first size.
  • the increase and decrease of the size can be understood as the overall processing of the size of the window to ensure the increase and decrease if the shape is unchanged. If the window is a rectangular window, it can be understood as the aspect ratio is guaranteed. Next, zoom in and out the window.
  • the magnitude of the increase and decrease it can be any preset amplitude, which can be implemented in a percentage manner or in a fixed value manner.
  • the walking reference data can be understood as the preset motion data characterizing the walking motion scene.
  • the acquisition of the walking reference data can be understood as collecting the motion parameters collected by the prior art when walking, based on the parameters, and if the motion parameters are met, including the parameters themselves or the logic between the parameters, then the determination is made.
  • the specific related art can be used to determine the walking.
  • the window can be automatically enlarged after the user enters the walking.
  • the embodiment provides a relatively larger user by automatic amplification. Screen to help users understand the current environment.
  • the method may further include:
  • S24 Receive a touch event through a touch screen of the terminal.
  • Touch events can be any event that touches the touch screen. It can also be an event that touches the touch screen beyond the lower limit.
  • step S24 it can be determined that the user is inputting and using the touch screen. In this embodiment, the user's attention is more likely to focus on the program interface, and the environmental factors are neglected. Therefore, the present embodiment takes the condition S25. With S26.
  • S25 Increase the window that is currently the first size to the fourth size.
  • the first size can be understood as the current size of the window; the fourth size can be understood as larger than the first size. Any size. Meanwhile, the fourth size and the second size may be the same or different. For the increased amplitude, it can be any preset amplitude, which can be implemented in a percentage manner or in a fixed value manner.
  • S26 Determine whether other touch events are received within a preset time after the fourth size is increased.
  • step S27 may be implemented: reducing the window currently of the fourth size to the first size.
  • the embodiment considers that the user does not input the touch screen at present, so the attention is relatively not as concentrated as the input is used, and the window is restored, which is beneficial to the user. Users can interact with the program interface more effectively when viewing the environment image.
  • step S26 is performed again.
  • the method may further include:
  • S28 change display parameters of the window according to an input operation of the user; the display parameter includes at least one of: a size of the window; a position of the window; and: a display brightness of an image in the window.
  • Step S28 may specifically include at least one of the following:
  • the size of the window is varied in accordance with the change in the pitch of the two contacts.
  • the display brightness of the image in the window is changed according to the sliding of the first contact in a preset direction, and the first contact is initially located outside the display area of the window.
  • the position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
  • the image is collected in real time by the rear camera of the terminal, and the method may further include: collecting ambient brightness data; and: controlling the terminal according to the ambient brightness data.
  • the illumination device emits light such that the brightness statistics of the image are greater than a predetermined threshold.
  • Luminance statistics can be understood as being derived from the brightness of each pixel in the image or the brightness of the sampled pixels in the image.
  • the illumination can be adjusted based on the ambient brightness of the acquired image, so that the acquired image is clearer, and the user is provided with a clearer and more convenient image.
  • the illumination device of the terminal may include controlling whether to emit light and controlling the luminance of the illumination. If the collected ambient brightness data is less than the minimum brightness value, the illumination device may be triggered to start to emit light, and after the illumination device starts to illuminate, the degree of illumination may be adjusted according to the collected ambient brightness data.
  • the method further includes: saving the current environment image as a picture in response to a shooting instruction, the shooting instruction being obtained according to an operation of the input device of the terminal by the user.
  • the shooting instruction may be any instruction for triggering the photographing, and the shooting instruction may be generated by using any input device of the terminal without conflicting with other existing functions.
  • at least one of a return key, an open key, and a volume key may be used.
  • the open key and the return key may be simultaneously pressed to complete the generation of one shooting instruction.
  • the calling application can only be re-triggered, and the process is cumbersome and complicated.
  • the process of the embodiment is simple and fast, and the collected environment image is utilized as a reference basis for shooting, and the requirement for interactive output of the photographing requirement and the environment image can be simultaneously satisfied.
  • the image display method of the electronic terminal provided by the embodiment enters the foreground operation by detecting the program interface of the application program; and displays a window on the program interface, and displays the environment image collected in real time in the window, and invents the program
  • the environment image can be output to the user through the independently displayed window. Since the image contains more information, the embodiment can output more information to the user to help the user understand more comprehensively. Current environmental conditions.
  • FIG. 6 is a schematic structural diagram 1 of an electronic terminal according to the present invention. referring to FIG. 6, the terminal includes:
  • the detecting module 301 is configured to detect that the program interface of the application enters the foreground operation
  • the display module 302 is configured to display a window on the program interface, and display an environment image collected in real time in the window.
  • the electronic terminal provided in this embodiment enters the foreground operation by detecting the program interface of the application program; and displays a window on the program interface, and displays the environment image collected in real time in the window, and the invention enters the foreground operation in the program interface. After that, the currently collected environment image can be output to the user through the independently displayed window. Since the image contains more information, the embodiment can output more information to the user to help the user understand the current environmental situation more comprehensively. .
  • FIG. 7 is a schematic structural diagram 2 of an electronic terminal according to the present invention. referring to FIG. 7, the terminal includes:
  • the detecting module 401 is configured to detect that the program interface of the application enters the foreground operation.
  • the display module 402 is configured to display a window on the program interface, and display an environment image collected in real time in the window.
  • the terminal further includes:
  • a first changing module 403 configured to change display parameters of the window according to motion data detected by the motion sensor, where the display parameter includes at least one of: a size of the window; a position of the window; and: The brightness of the image in the window.
  • the display parameter includes a size of the window
  • the first change module 403 is specifically configured to:
  • the window that is currently the first size is increased to the second size
  • the window that is currently the first size is reduced to the third size.
  • the terminal further includes:
  • the receiving module 404 is configured to receive a touch event by using a touch screen of the terminal;
  • An increasing module 405, configured to increase a window that is currently the first size to a fourth size
  • the reduction module 406 is configured to reduce the window that is currently the fourth size to the first size if no other touch events are received within the preset time after the window is increased to the fourth size.
  • the terminal further includes:
  • a second change module 407 configured to change display parameters of the window according to an input operation of the user; the display parameter includes at least one of: a size of the window; a position of the window; and: the window The brightness of the image.
  • the second changing module 407 is specifically configured to implement at least one of the following:
  • the first contact is initially located outside the display area of the window;
  • the position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
  • the terminal further includes:
  • a first background module configured to use the environment image as a real-time desktop background of the main interface when a main interface of the operating system is running in the foreground;
  • a second background module configured to stop the real-time desktop background with the environment image as the main interface when the program interface is running in the foreground.
  • the image is collected in real time by the rear camera of the terminal, and the terminal further includes:
  • a lighting module configured to control illumination of the illumination device of the terminal according to the ambient brightness data, so that: the brightness statistics of the image is greater than a preset threshold, and the brightness statistics are according to each pixel in the image The brightness or the brightness of the sampled pixels in the image is statistically derived.
  • the terminal further includes:
  • the photographing module is configured to save the current environment image as a picture according to a photographing instruction, and the photographing instruction is obtained according to an operation of the input device of the terminal by the user.
  • the electronic terminal provided in this embodiment enters the foreground operation by detecting the program interface of the application program; and displays a window on the program interface, and displays the environment image collected in real time in the window, and the invention enters the foreground operation in the program interface. After that, the currently collected environment image can be output to the user through the independently displayed window. Since the image contains more information, the embodiment can output more information to the user to help the user understand the current environmental situation more comprehensively. .
  • FIG. 8 is a schematic structural diagram 3 of an electronic terminal according to the present invention. referring to FIG. 8, the electronic terminal 50 includes: a processor 51 and a memory 52;
  • the memory 52 is configured to store a computer program, and the memory may also be a flash memory.
  • the processor 51 is configured to execute an execution instruction of the memory storage to implement each step in the above method. For details, refer to the related description in the foregoing method embodiments.
  • the memory 52 can be either stand-alone or integrated with the processor 51.
  • the electronic terminal 50 may further include:
  • a bus 53 is provided for connecting the memory 52 and the processor 51.
  • the embodiment provides a readable storage medium.
  • the readable storage medium stores execution instructions.
  • the electronic terminal executes the methods provided by the various embodiments described above.
  • the embodiment provides a program product including an execution instruction stored in a readable storage medium.
  • At least one processor of the electronic terminal can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the electronic terminal implements the methods provided by the various embodiments described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An image display method for an electronic terminal, and an electronic terminal. The method comprises: detecting that a program interface of an application runs in foreground (S11); and displaying a window on the program interface, and displaying on the window an ambient image obtained in real time (S12). By means of the method, more types of information can be output to a user, so that the user can comprehensively learn about the current ambient status.

Description

电子终端的图像显示方法与电子终端Image display method and electronic terminal of electronic terminal 技术领域Technical field
本发明涉及电子终端,尤其涉及一种电子终端的图像显示方法与电子终端。The present invention relates to an electronic terminal, and more particularly to an image display method and an electronic terminal of an electronic terminal.
背景技术Background technique
电子终端,可以理解为具有处理器和存储器的终端,处理器读取存储器中的代码,可以执行相应的功能。在用户手持电子终端时,注意力着眼于终端的显示屏,不易知觉周遭环境的变化,很容易发生碰撞、踩到异物等等情况,造成安全问题。An electronic terminal can be understood as a terminal having a processor and a memory, and the processor reads the code in the memory and can perform a corresponding function. When the user holds the electronic terminal, attention is paid to the display screen of the terminal, and it is not easy to perceive changes in the surrounding environment, and it is easy to cause collision, stepping on foreign objects, and the like, causing safety problems.
现有的相关技术中,可以通过内置或外置于电子终端的传感器检测终端相距外部实体对象的距离,进而输出相应的环境信息,以保护用户的安全。In the related related art, the distance between the terminal and the external entity object can be detected by a sensor built in or externally placed on the electronic terminal, thereby outputting corresponding environmental information to protect the security of the user.
然而,该方式下,向用户输出的环境信息较为单一,难以帮助用户了解当下的环境状况。However, in this mode, the environmental information output to the user is relatively simple, and it is difficult to help the user understand the current environmental conditions.
发明内容Summary of the invention
本发明提供了一种电子终端的图像显示方法与电子终端,以解决信息单一的问题。The invention provides an image display method and an electronic terminal of an electronic terminal to solve the problem of single information.
根据本发明的第一方面,提供了一种电子终端的图像显示方法,包括:According to a first aspect of the present invention, an image display method of an electronic terminal is provided, including:
检测到应用程序的程序界面进入前台运行;The program interface of the detected application enters the foreground operation;
在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像。A window is displayed on the program interface, and an environment image acquired in real time is displayed in the window.
可选的,所述在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像之后,还包括:Optionally, after the window is displayed on the program interface, and after the window displays the environment image collected in real time, the method further includes:
根据运动传感器检测的运动数据,改变所述窗口的显示参数,所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。Changing display parameters of the window according to motion data detected by the motion sensor, the display parameters including at least one of: a size of the window; a position of the window; and: a display brightness of an image within the window.
可选的,所述显示参数包括所述窗口的尺寸,所述根据运动传感器检测的运动数据,改变所述窗口的显示参数,包括:Optionally, the display parameter includes a size of the window, and changing the display parameter of the window according to the motion data detected by the motion sensor includes:
比对所述运动数据与预设的行走参考数据,以确定终端是否处于行走运动的场景;Comparing the motion data with the preset walking reference data to determine whether the terminal is in a walking motion scene;
若确定终端自非行走运动的场景进入行走运动的场景,则将当前为第一尺寸的窗 口增大至第二尺寸;If it is determined that the terminal enters the scene of the walking motion from the scene of the non-walking motion, the current window of the first size is The mouth is enlarged to the second size;
若确定终端自行走运动的场景进入非行走运动的场景,则将当前为第一尺寸的窗口缩小至第三尺寸。If it is determined that the scene of the terminal self-walking motion enters the scene of the non-walking motion, the window that is currently the first size is reduced to the third size.
可选的,所述在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像之后,还包括:Optionally, after the window is displayed on the program interface, and after the window displays the environment image collected in real time, the method further includes:
通过所述终端的触摸屏接收到触摸事件;Receiving a touch event through a touch screen of the terminal;
将当前为第一尺寸的窗口增大至第四尺寸;Increase the window that is currently the first size to the fourth size;
若所述窗口增大至第四尺寸后的预设时间内均未收到其他触摸事件,则将当前为第四尺寸的窗口缩小至所述第一尺寸。If no other touch events are received within the preset time after the window is increased to the fourth size, the window of the current fourth size is reduced to the first size.
可选的,所述在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像之后,还包括:Optionally, after the window is displayed on the program interface, and after the window displays the environment image collected in real time, the method further includes:
根据用户的输入操作,改变所述窗口的显示参数;所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。Changing display parameters of the window according to an input operation of the user; the display parameter includes at least one of: a size of the window; a position of the window; and: a display brightness of an image in the window.
可选的,所述根据用户的输入操作,改变所述窗口的显示参数,包括以下至少之一:Optionally, the changing display parameters of the window according to an input operation of the user, including at least one of the following:
根据两触点的间距的变化,变化所述窗口的尺寸;Changing the size of the window according to a change in the pitch of the two contacts;
根据第一触点沿预设方向的滑动,变化所述窗口内图像的显示亮度,所述第一触点初始位于所述窗口的显示区域外;Changing display brightness of the image in the window according to sliding of the first contact in a preset direction, the first contact is initially located outside the display area of the window;
根据第二触点的位置变化,变化所述窗口的位置,所述第二触点初始位于所述窗口的显示区域内。The position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
可选的,所述的方法,还包括:Optionally, the method further includes:
当操作***的主界面在前台运行时,以所述环境图像作为所述主界面的实时桌面背景;When the main interface of the operating system is running in the foreground, the environment image is used as a real-time desktop background of the main interface;
当所述程序界面在前台运行时,停止以所述环境图像作为所述主界面的实时桌面背景。When the program interface is running in the foreground, the real-time desktop background with the environment image as the main interface is stopped.
可选的,所述图像为所述终端的后置摄像头实时采集的,所述的方法,还包括:Optionally, the image is collected in real time by the rear camera of the terminal, and the method further includes:
采集环境亮度数据;Collecting ambient brightness data;
根据所述环境亮度数据,控制所述终端的照明装置发光,以使得:所述图像的亮度统计数据大于预设的阈值,所述亮度统计数据为根据所述图像中各像素的亮度或所述图像中采样像素的亮度统计得到的。 Controlling illumination of the illumination device of the terminal according to the ambient brightness data, such that the brightness statistics of the image is greater than a preset threshold, the brightness statistics being based on brightness of each pixel in the image or The brightness of the sampled pixels in the image is statistically obtained.
可选的,所述的方法,还包括:Optionally, the method further includes:
响应于拍摄指令,将当下的所述环境图像保存为图片,所述拍摄指令为根据用户对终端的输入装置的操作得到的。The current environment image is saved as a picture in response to a shooting instruction, which is obtained according to an operation of the user's input device to the terminal.
根据本发明的第二方面,提供了一种电子终端,包括:According to a second aspect of the present invention, an electronic terminal is provided, comprising:
检测模块,用于检测到应用程序的程序界面进入前台运行;The detecting module is configured to detect that the program interface of the application enters the foreground operation;
显示模块,用于在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像。And a display module, configured to display a window on the program interface, and display an environment image acquired in real time in the window.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
第一改变模块,用于根据运动传感器检测的运动数据,改变所述窗口的显示参数,所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。a first changing module, configured to change display parameters of the window according to motion data detected by the motion sensor, the display parameter comprising at least one of: a size of the window; a position of the window; and: the window The brightness of the display of the internal image.
可选的,所述显示参数包括所述窗口的尺寸,所述第一改变模块,具体用于:Optionally, the display parameter includes a size of the window, and the first change module is specifically configured to:
比对所述运动数据与预设的行走参考数据,以确定终端是否处于行走运动的场景;Comparing the motion data with the preset walking reference data to determine whether the terminal is in a walking motion scene;
若确定终端自非行走运动的场景进入行走运动的场景,则将当前为第一尺寸的窗口增大至第二尺寸;If it is determined that the terminal enters the scene of the walking motion from the scene of the non-walking motion, the window that is currently the first size is increased to the second size;
若确定终端自行走运动的场景进入非行走运动的场景,则将当前为第一尺寸的窗口缩小至第三尺寸。If it is determined that the scene of the terminal self-walking motion enters the scene of the non-walking motion, the window that is currently the first size is reduced to the third size.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
接收模块,用于通过所述终端的触摸屏接收到触摸事件;a receiving module, configured to receive a touch event through a touch screen of the terminal;
增大模块,用于将当前为第一尺寸的窗口增大至第四尺寸;An increasing module, configured to increase a window that is currently the first size to a fourth size;
缩小模块,用于若所述窗口增大至第四尺寸后的预设时间内均未收到其他触摸事件,则将当前为第四尺寸的窗口缩小至所述第一尺寸。And a reduction module, configured to reduce the window that is currently the fourth size to the first size if no other touch events are received within the preset time after the window is increased to the fourth size.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
第二改变模块,用于根据用户的输入操作,改变所述窗口的显示参数;所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。a second change module, configured to change display parameters of the window according to an input operation of the user; the display parameter includes at least one of: a size of the window; a position of the window; and: an image within the window Display brightness.
可选的,所述第二改变模块407,具体用于实施以下至少之一:Optionally, the second changing module 407 is specifically configured to implement at least one of the following:
根据两触点的间距的变化,变化所述窗口的尺寸;Changing the size of the window according to a change in the pitch of the two contacts;
根据第一触点沿预设方向的滑动,变化所述窗口内图像的显示亮度,所述第一触点初始位于所述窗口的显示区域外; Changing display brightness of the image in the window according to sliding of the first contact in a preset direction, the first contact is initially located outside the display area of the window;
根据第二触点的位置变化,变化所述窗口的位置,所述第二触点初始位于所述窗口的显示区域内。The position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
第一背景模块,用于当操作***的主界面在前台运行时,以所述环境图像作为所述主界面的实时桌面背景;a first background module, configured to use the environment image as a real-time desktop background of the main interface when a main interface of the operating system is running in the foreground;
第二背景模块,用于当所述程序界面在前台运行时,停止以所述环境图像作为所述主界面的实时桌面背景。And a second background module, configured to stop the real-time desktop background with the environment image as the main interface when the program interface is running in the foreground.
可选的,所述图像为所述终端的后置摄像头实时采集的,所述的终端,还包括:Optionally, the image is collected in real time by the rear camera of the terminal, and the terminal further includes:
采集模块,用于采集环境亮度数据;An acquisition module for collecting ambient brightness data;
发光模块,用于根据所述环境亮度数据,控制所述终端的照明装置发光,以使得:所述图像的亮度统计数据大于预设的阈值,所述亮度统计数据为根据所述图像中各像素的亮度或所述图像中采样像素的亮度统计得到的。a lighting module, configured to control illumination of the illumination device of the terminal according to the ambient brightness data, so that: the brightness statistics of the image is greater than a preset threshold, and the brightness statistics are according to each pixel in the image The brightness or the brightness of the sampled pixels in the image is statistically derived.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
拍摄模块,用于响应于拍摄指令,将当下的所述环境图像保存为图片,所述拍摄指令为根据用户对终端的输入装置的操作得到的。The photographing module is configured to save the current environment image as a picture according to a photographing instruction, and the photographing instruction is obtained according to an operation of the input device of the terminal by the user.
根据本发明的第三方面,提供了一种电子终端,包括:存储器、处理器以及计算机程序,所述计算机程序存储在所述存储器中,所述处理器运行所述计算机程序执行第一方面及第一方面各种可能的所述方法。According to a third aspect of the present invention, there is provided an electronic terminal comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the first aspect and The first aspect of the various possible methods.
根据本发明的第四方面,本申请提供一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序用于实现第一方面及第一方面各种可能的所述方法。According to a fourth aspect of the present invention, there is provided a storage medium comprising: a readable storage medium and a computer program for implementing the first aspect and the various possible methods of the first aspect.
本发明提供的图像显示方法与电子终端,通过检测到应用程序的程序界面进入前台运行;以及在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像,发明在程序界面进入前台运行后,能够通过独立显示的窗口向用户输出当前采集的环境图像,由于图像包含的信息更多样,本发明可以向用户输出更多样的信息,以帮助用户较为全面地了解当下的环境状况。The image display method and the electronic terminal provided by the present invention enter the foreground operation by detecting the program interface of the application program; and display a window on the program interface, and display the real-time collected environment image in the window, and invent the program interface After entering the foreground operation, the currently collected environment image can be output to the user through the independently displayed window. Since the image contains more information, the present invention can output more kinds of information to the user, so as to help the user to fully understand the current situation. Environmental conditions.
附图说明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 it can be used by those skilled in the art without creative labor. Other figures are obtained from these figures.
图1是本发明一应用场景的示意图;1 is a schematic diagram of an application scenario of the present invention;
图2是本发明一电子终端的图像显示方法的流程示意图一;2 is a schematic flow chart 1 of an image display method of an electronic terminal according to the present invention;
图3是本发明一电子终端的图像显示方法的流程示意图二;3 is a schematic flow chart 2 of an image display method of an electronic terminal according to the present invention;
图4是本发明一程序界面的界面示意图;4 is a schematic diagram of an interface of a program interface of the present invention;
图5是本发明一主界面的界面示意图;5 is a schematic diagram of an interface of a main interface of the present invention;
图6是本发明一电子终端的结构示意图一;6 is a schematic structural view 1 of an electronic terminal of the present invention;
图7是本发明一电子终端的结构示意图二;7 is a schematic structural view 2 of an electronic terminal of the present invention;
图8是本发明一电子终端的结构示意图三。FIG. 8 is a third schematic structural diagram of an electronic terminal according to the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged as appropriate, such that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the present invention will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
图1是本发明一应用场景的示意图;请参考图1,其以地图应用程序为例,示意了一种程序界面。程序界面,可以理解为一种应用程序的交互界面。1 is a schematic diagram of an application scenario of the present invention; please refer to FIG. 1, which illustrates a program interface by taking a map application as an example. The program interface can be understood as an interactive interface of an application.
实施例1Example 1
图2是本发明一电子终端的图像显示方法的流程示意图一;请参考图2,所述的方法,包括: 2 is a schematic flowchart 1 of an image display method of an electronic terminal according to the present invention; referring to FIG. 2, the method includes:
S11:检测到应用程序的程序界面进入前台运行。S11: The program interface of the detected application enters the foreground operation.
程序界面,可以理解为应用程序在前台运行时的交互界面,具体实施过程中,用户可以通过查阅程序界面内容,或操作程序界面,实现用户与终端间的交互。本实施例可应用于任意程序界面。The program interface can be understood as an interactive interface when the application is running in the foreground. During the specific implementation process, the user can interact with the user by referring to the program interface content or operating the program interface. This embodiment can be applied to any program interface.
S12:在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像。S12: Display a window on the program interface, and display an environment image collected in real time in the window.
窗口,可以理解为显示于程序界面上层的窗口,其可以为任意形式的窗口,具体实施过程中,可以采用现有相关技术中画中画的方式显示窗口,也可采用现有相关技术中悬浮窗的方式显示窗口。The window can be understood as a window displayed on the upper layer of the program interface, which can be any form of window. In the specific implementation process, the window can be displayed by using the picture-in-picture method in the related art, and the existing related technology can be used to suspend the window. The window displays the window.
实时采集的环境图像,可以为终端的摄像头采集的画面,开始实时采集环境图像的时间,可以在步骤S11检测到程序界面前台运行之前,也可以在其之后,只要在实施步骤S12的时候已经在采集,就不脱离本发明的精神。The real-time collected environment image, the time that the image captured by the camera of the terminal can be collected, and the time when the environment image is collected in real time may be detected before the program interface is detected in step S11, or may be after the step S12. The collection does not depart from the spirit of the invention.
本实施例提供的电子终端的图像显示方法,通过检测到应用程序的程序界面进入前台运行;以及在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像,发明在程序界面进入前台运行后,能够通过独立显示的窗口向用户输出当前采集的环境图像,由于图像包含的信息更多样,本实施例可以向用户输出更多样的信息,以帮助用户较为全面地了解当下的环境状况。The image display method of the electronic terminal provided by the embodiment enters the foreground operation by detecting the program interface of the application program; and displays a window on the program interface, and displays the environment image collected in real time in the window, and invents the program After the interface enters the foreground, the environment image can be output to the user through the independently displayed window. Since the image contains more information, the embodiment can output more information to the user to help the user understand more comprehensively. Current environmental conditions.
实施例2Example 2
图3是本发明一电子终端的图像显示方法的流程示意图二;请参考图3,所述的方法,包括:3 is a schematic flowchart 2 of an image display method of an electronic terminal according to the present invention; referring to FIG. 3, the method includes:
S21:检测到应用程序的程序界面进入前台运行。S21: The program interface of the detected application enters the foreground operation.
程序界面,可以理解为应用程序在前台运行时的交互界面,具体实施过程中,用户可以通过查阅程序界面内容,或操作程序界面,实现用户与终端间的交互。本实施例可应用于任意程序界面。The program interface can be understood as an interactive interface when the application is running in the foreground. During the specific implementation process, the user can interact with the user by referring to the program interface content or operating the program interface. This embodiment can be applied to any program interface.
S22:在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像。S22: Display a window on the program interface, and display an environment image collected in real time in the window.
窗口,可以理解为显示于程序界面上层的窗口,其可以为任意形式的窗口,具体实施过程中,可以采用现有相关技术中画中画的方式显示窗口,也可采用现有相关技术中悬浮窗的方式显示窗口。The window can be understood as a window displayed on the upper layer of the program interface, which can be any form of window. In the specific implementation process, the window can be displayed by using the picture-in-picture method in the related art, and the existing related technology can be used to suspend the window. The window displays the window.
图4是本发明一程序界面的界面示意图;请参考图4,其以地图应用程序为例进行描述,窗口可位于程序界面的任意位置,其尺寸也可以为任意的。4 is a schematic diagram of an interface of a program interface of the present invention; please refer to FIG. 4, which is described by taking a map application as an example, and the window may be located at any position of the program interface, and the size thereof may also be arbitrary.
实时采集的环境图像,可以为终端的摄像头采集的画面。开始实时采集环境图像 的时间,可以在步骤S21检测到程序界面前台运行之前,也可以在其之后,只要在实施步骤S22的时候已经在采集,就不脱离本发明的精神。The image captured in real time can be the image captured by the camera of the terminal. Start collecting real-time environment images The time can be detected before the program interface is detected in step S21, or after it is collected, as long as it is already collected at the time of implementing step S22, without departing from the spirit of the present invention.
具体实施过程中,在实施步骤S22之前,还可包括:触发采集环境图像,其可以为通过点击预设的按键触发的,按键可以为操作***中的预设控件。在已触发采集环境图像,且程序界面进入前台运行,则:可以显示窗口,以显示实时采集的环境画面。对于触发采集环境图像的时机,可以在步骤S21之后,经用户的触发操作而发生,也可以在步骤S21之前。In the specific implementation, before the step S22 is performed, the method further includes: triggering the collection environment image, which may be triggered by clicking a preset button, and the button may be a preset control in the operating system. After the environment image has been triggered and the program interface enters the foreground, the window can be displayed to display the environment image collected in real time. The timing for triggering the acquisition of the environment image may occur after the step S21, by the user's triggering operation, or may be before step S21.
其中一种实施方式中,所述的方法,还包括:In one embodiment, the method further includes:
当操作***的主界面在前台运行时,以所述环境图像作为所述主界面的实时桌面背景;当所述程序界面在前台运行时,停止以所述环境图像作为所述主界面的实时桌面背景。When the main interface of the operating system is running in the foreground, the environment image is used as a real-time desktop background of the main interface; when the program interface is running in the foreground, stopping the real-time desktop with the environment image as the main interface background.
图5是本发明一主界面的界面示意图;其示意了在主界面下以实时桌面背景方式显示环境图像的情况。在该实施方式下,用户可以在图标后的背景中看到实时变化的图像,进而为用户提供了较为多样、全面的信息,以帮助用户更好的了解环境情况。FIG. 5 is a schematic diagram of an interface of a main interface of the present invention; FIG. 5 is a diagram showing a situation in which an environment image is displayed in a real-time desktop background manner under the main interface. In this embodiment, the user can see the real-time changing image in the background behind the icon, thereby providing users with more comprehensive and comprehensive information to help the user better understand the environment.
具体实施过程中,若触发采集环境图像发生于步骤S21之前,则,在程序界面在前台运行之前,操作***的主界面在前台运行,此时,以环境图像作为主界面的实时桌面背景,在进入程序界面后,***不再进行主界面实时桌面背景的更新,直至程序界面退出,可有效地减少***处理的数据量,当程序界面退出前台运行,主界面再次在前台运行,则可再以环境图像作为主界面的实时桌面背景。In the specific implementation process, if the triggering collection environment image occurs before step S21, before the program interface runs in the foreground, the main interface of the operating system runs in the foreground. At this time, the environment image is used as the real-time desktop background of the main interface. After entering the program interface, the system no longer updates the real-time desktop background of the main interface until the program interface exits, which can effectively reduce the amount of data processed by the system. When the program interface exits the foreground and the main interface runs again in the foreground, it can be The environment image serves as the real-time desktop background of the main interface.
此外,在该实施方式下,主界面进入前台运行时,则停止显示窗口。以窗口的方式在程序界面中显示实时的环境图像,可以有效保障用户对程序界面的使用。且相对于作为背景的方案,以窗口的方式,还可以降低显示环境图像对正常使用终端的影响。In addition, in this embodiment, when the main interface enters the foreground operation, the display window is stopped. Displaying the real-time environment image in the program interface in the form of a window can effectively protect the user's use of the program interface. And in contrast to the solution as a background, the effect of the display environment image on the normal use terminal can also be reduced in the form of a window.
具体实施过程中,若触发采集环境图像发生于步骤S21之后,则,在程序界面在前台运行时,先不显示窗口,当触发了采集环境图像之后,才开始采集环境图像,并显示所述窗口。当程序界面退出前台运行,主界面在前台运行,则可以环境图像作为主界面的实时桌面背景,而不显示窗口。In the specific implementation process, if the triggering collection environment image occurs after step S21, when the program interface is running in the foreground, the window is not displayed first, and when the collection environment image is triggered, the environment image is collected and displayed. . When the program interface exits the foreground and the main interface runs in the foreground, the environment image can be used as the real-time desktop background of the main interface without displaying the window.
其中一种实施方式中,步骤S22之后,还可以包括:In an implementation manner, after step S22, the method may further include:
S23:根据运动传感器检测的运动数据,改变所述窗口的显示参数。S23: Change display parameters of the window according to motion data detected by the motion sensor.
显示参数,可以为任意用于表征窗口如何显示的参数,其中一种实施方式中,所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口 内图像的显示亮度。The display parameter may be any parameter for characterizing how the window is displayed. In one embodiment, the display parameter includes at least one of: a size of the window; a position of the window; and: the window The brightness of the display of the internal image.
以运动数据为依据改变窗口的显示参数,可以自动根据终端所处的运动场景调整自身的显示参数,以适应用户在不同运动场景下对环境图像的查看需求。Changing the display parameters of the window based on the motion data can automatically adjust its display parameters according to the motion scene in which the terminal is located, so as to adapt to the user's need to view the environment image under different motion scenarios.
具体实施过程中,步骤S23,可以包括:In the specific implementation process, step S23 may include:
比对所述运动数据与预设的行走参考数据,以确定终端是否处于行走运动的场景。The motion data and the preset walking reference data are compared to determine whether the terminal is in a walking motion scene.
若确定终端自非行走运动的场景进入行走运动的场景,则将当前为第一尺寸的窗口增大至第二尺寸。If it is determined that the terminal enters the scene of the walking motion from the scene of the non-walking motion, the window that is currently the first size is increased to the second size.
若确定终端自行走运动的场景进入非行走运动的场景,则将当前为第一尺寸的窗口缩小至第三尺寸。If it is determined that the scene of the terminal self-walking motion enters the scene of the non-walking motion, the window that is currently the first size is reduced to the third size.
第一尺寸,可以理解为窗口当前的尺寸,第二尺寸,可以理解为大于第一尺寸的任意尺寸,第三尺寸,可以理解为小于第一尺寸的任意尺寸。尺寸的增大和缩小,可以理解为在保证形状不变的情况下,对窗口的尺寸整体进行处理,以实现增大与缩小,若窗口为矩形窗口,则可以理解为在保证长宽比的情况下,放大与缩小窗口。对于增大与缩小的幅度,可以为任意预设的幅度,可以以百分比的方式来实现,也可以以固定值的方式来实现。The first size can be understood as the current size of the window, the second size can be understood as any size larger than the first size, and the third size can be understood as any size smaller than the first size. The increase and decrease of the size can be understood as the overall processing of the size of the window to ensure the increase and decrease if the shape is unchanged. If the window is a rectangular window, it can be understood as the aspect ratio is guaranteed. Next, zoom in and out the window. For the magnitude of the increase and decrease, it can be any preset amplitude, which can be implemented in a percentage manner or in a fixed value manner.
行走参考数据,可以理解为表征行走运动场景的预设运动数据。行走参考数据的获得,可以理解为收集现有技术中人走路时采集到的运动参数,以该些参数为依据,若符合这些运动参数,包括符合参数本身或符合参数间的逻辑,则确定其为处于行走运动场景下的运动数据,具体可以采用现有相关技术中有关判断步行的手段来实现。The walking reference data can be understood as the preset motion data characterizing the walking motion scene. The acquisition of the walking reference data can be understood as collecting the motion parameters collected by the prior art when walking, based on the parameters, and if the motion parameters are met, including the parameters themselves or the logic between the parameters, then the determination is made. For the motion data in the walking motion scene, the specific related art can be used to determine the walking.
通过以上实施方式,可以在用户进入步行后自动放大窗口,在行走场景下,由于用户保持移动,其对环境图像需求更为强烈,所以该实施方式通过自动的放大,为用户提供相对更大的画面,以帮助用户了解当下的环境。Through the above embodiment, the window can be automatically enlarged after the user enters the walking. In the walking scene, since the user keeps moving, the demand for the environment image is more intense, so the embodiment provides a relatively larger user by automatic amplification. Screen to help users understand the current environment.
其中一种实施方式中,步骤S22之后,还可以包括:In an implementation manner, after step S22, the method may further include:
S24:通过所述终端的触摸屏接收到触摸事件。S24: Receive a touch event through a touch screen of the terminal.
触摸事件,可以为接触触摸屏的任意事件。也可以为接触触摸屏的时间超出下限值的事件。通过步骤S24,可以确定用户正在输入使用触摸屏,本实施方式认为,该情况下,用户的注意力会更容易专注于程序界面,而忽略环境因素,故而本实施方式以此为条件,实施步骤S25与S26。Touch events can be any event that touches the touch screen. It can also be an event that touches the touch screen beyond the lower limit. In step S24, it can be determined that the user is inputting and using the touch screen. In this embodiment, the user's attention is more likely to focus on the program interface, and the environmental factors are neglected. Therefore, the present embodiment takes the condition S25. With S26.
S25:将当前为第一尺寸的窗口增大至第四尺寸。S25: Increase the window that is currently the first size to the fourth size.
第一尺寸,可以理解为窗口当下的尺寸;第四尺寸,可以理解为大于第一尺寸的 任意尺寸。同时,第四尺寸与第二尺寸可以是相同的,也可以是不同的。对于增大的幅度,可以为任意预设的幅度,可以以百分比的方式来实现,也可以以固定值的方式来实现。The first size can be understood as the current size of the window; the fourth size can be understood as larger than the first size. Any size. Meanwhile, the fourth size and the second size may be the same or different. For the increased amplitude, it can be any preset amplitude, which can be implemented in a percentage manner or in a fixed value manner.
S26:判断增大至第四尺寸后的预设时间内是否收到其他触摸事件。S26: Determine whether other touch events are received within a preset time after the fourth size is increased.
若所述窗口增大至第四尺寸后的预设时间内均未收到其他触摸事件,则,可实施步骤S27:将当前为第四尺寸的窗口缩小至所述第一尺寸。该步骤下,当预设时间内均未接收到触摸事件,则本实施方式认为用户当下并未输入使用触摸屏,所以,其注意力相对不会如输入使用时这么专注,将窗口恢复,有利于用户在查看到环境图像的情况下,能够更有效地交互使用程序界面。If no other touch events are received within the preset time after the window is increased to the fourth size, step S27 may be implemented: reducing the window currently of the fourth size to the first size. In this step, when no touch event is received within the preset time, the embodiment considers that the user does not input the touch screen at present, so the attention is relatively not as concentrated as the input is used, and the window is restored, which is beneficial to the user. Users can interact with the program interface more effectively when viewing the environment image.
若所述窗口增大至第四尺寸后的预设时间内收到其他触摸事件,则,可在收到其他触摸事件之后,重新起算时间,再次实施步骤S26。If another touch event is received within the preset time after the window is increased to the fourth size, the time may be restarted after receiving other touch events, and step S26 is performed again.
其中一种实施方式中,步骤S22之后,还可以包括:In an implementation manner, after step S22, the method may further include:
S28:根据用户的输入操作,改变所述窗口的显示参数;所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。S28: change display parameters of the window according to an input operation of the user; the display parameter includes at least one of: a size of the window; a position of the window; and: a display brightness of an image in the window.
通过该实施方式,可以实现窗口显示参数的手动调整,以满足用户的个性化需求,也可以有利于适应不同的程序界面、用户偏好和使用场景。Through this implementation manner, manual adjustment of the window display parameters can be implemented to meet the personalized needs of the user, and it is also beneficial to adapt to different program interfaces, user preferences, and usage scenarios.
步骤S28具体可以包括以下至少之一:Step S28 may specifically include at least one of the following:
根据两触点的间距的变化,变化所述窗口的尺寸。The size of the window is varied in accordance with the change in the pitch of the two contacts.
根据第一触点沿预设方向的滑动,变化所述窗口内图像的显示亮度,所述第一触点初始位于所述窗口的显示区域外。The display brightness of the image in the window is changed according to the sliding of the first contact in a preset direction, and the first contact is initially located outside the display area of the window.
根据第二触点的位置变化,变化所述窗口的位置,所述第二触点初始位于所述窗口的显示区域内。The position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
其中一种实施方式中,所述图像为所述终端的后置摄像头实时采集的,所述的方法,还可包括:采集环境亮度数据;以及:根据所述环境亮度数据,控制所述终端的照明装置发光,以使得:所述图像的亮度统计数据大于预设的阈值。In one embodiment, the image is collected in real time by the rear camera of the terminal, and the method may further include: collecting ambient brightness data; and: controlling the terminal according to the ambient brightness data. The illumination device emits light such that the brightness statistics of the image are greater than a predetermined threshold.
亮度统计数据,可以理解为根据所述图像中各像素的亮度或所述图像中采样像素的亮度统计得到的。Luminance statistics can be understood as being derived from the brightness of each pixel in the image or the brightness of the sampled pixels in the image.
通过根据亮度调整照明装置发光,可以以采集图像的环境亮度为依据调整光亮,以使得所采集的图像更清晰,为用户提供更清楚、便于观察的图像。By adjusting the illumination of the illumination device according to the brightness, the illumination can be adjusted based on the ambient brightness of the acquired image, so that the acquired image is clearer, and the user is provided with a clearer and more convenient image.
对于控制所述终端的照明装置发光,可以包括控制是否发光以及控制发光亮度。 若采集到的环境亮度数据小于亮度最低值,则可触发照明装置开始发光,在照明装置开始照明后,可根据采集到的环境亮度数据,对发光的程度进行调整。For controlling the illumination of the illumination device of the terminal, it may include controlling whether to emit light and controlling the luminance of the illumination. If the collected ambient brightness data is less than the minimum brightness value, the illumination device may be triggered to start to emit light, and after the illumination device starts to illuminate, the degree of illumination may be adjusted according to the collected ambient brightness data.
此外,由于本实施例使用了终端的摄像头,则可进一步扩展其功能。其中一种实施方式中,所述的方法,还包括:响应于拍摄指令,将当下的所述环境图像保存为图片,所述拍摄指令为根据用户对终端的输入装置的操作得到的。Further, since the present embodiment uses the camera of the terminal, its function can be further expanded. In one embodiment, the method further includes: saving the current environment image as a picture in response to a shooting instruction, the shooting instruction being obtained according to an operation of the input device of the terminal by the user.
该实施方式将拍照的功能与图像的显示相结合,扩展了应用本实施例进行环境图像输出时的功能。其中,拍摄指令,可以为任意触发拍照的指令,在不与现有其他功能冲突的情况下,可以利用终端的任意输入设备实现拍摄指令的生成。具体实施过程中,可以采用返回键、开关键、音量键中至少之一来实现,例如,可以同时按下开关键与返回键,以完成一次拍摄指令的生成。This embodiment combines the function of photographing with the display of an image, and expands the function when the environment image is output by the present embodiment. The shooting instruction may be any instruction for triggering the photographing, and the shooting instruction may be generated by using any input device of the terminal without conflicting with other existing functions. In the specific implementation process, at least one of a return key, an open key, and a volume key may be used. For example, the open key and the return key may be simultaneously pressed to complete the generation of one shooting instruction.
从拍摄的角度来看,现有相关技术中,只能重新触发调用拍照应用程序,其过程较为繁琐复杂,在现有的繁琐操作中,很有可能错过需拍照的对象,相较而言,本实施方式操作过程简单快捷,且利用了已采集的环境图像作为拍摄的参考依据,可以同时满足拍照需求与环境图像交互输出的需求。From the perspective of shooting, in the related art, the calling application can only be re-triggered, and the process is cumbersome and complicated. In the existing cumbersome operation, it is very likely to miss the object to be photographed, in comparison, The operation process of the embodiment is simple and fast, and the collected environment image is utilized as a reference basis for shooting, and the requirement for interactive output of the photographing requirement and the environment image can be simultaneously satisfied.
本实施例提供的电子终端的图像显示方法,通过检测到应用程序的程序界面进入前台运行;以及在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像,发明在程序界面进入前台运行后,能够通过独立显示的窗口向用户输出当前采集的环境图像,由于图像包含的信息更多样,本实施例可以向用户输出更多样的信息,以帮助用户较为全面地了解当下的环境状况。The image display method of the electronic terminal provided by the embodiment enters the foreground operation by detecting the program interface of the application program; and displays a window on the program interface, and displays the environment image collected in real time in the window, and invents the program After the interface enters the foreground, the environment image can be output to the user through the independently displayed window. Since the image contains more information, the embodiment can output more information to the user to help the user understand more comprehensively. Current environmental conditions.
实施例3Example 3
图6是本发明一电子终端的结构示意图一;请参考图6,所述的终端,包括:6 is a schematic structural diagram 1 of an electronic terminal according to the present invention; referring to FIG. 6, the terminal includes:
检测模块301,用于检测到应用程序的程序界面进入前台运行;The detecting module 301 is configured to detect that the program interface of the application enters the foreground operation;
显示模块302,用于在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像。The display module 302 is configured to display a window on the program interface, and display an environment image collected in real time in the window.
本实施例提供的电子终端,通过检测到应用程序的程序界面进入前台运行;以及在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像,发明在程序界面进入前台运行后,能够通过独立显示的窗口向用户输出当前采集的环境图像,由于图像包含的信息更多样,本实施例可以向用户输出更多样的信息,以帮助用户较为全面地了解当下的环境状况。The electronic terminal provided in this embodiment enters the foreground operation by detecting the program interface of the application program; and displays a window on the program interface, and displays the environment image collected in real time in the window, and the invention enters the foreground operation in the program interface. After that, the currently collected environment image can be output to the user through the independently displayed window. Since the image contains more information, the embodiment can output more information to the user to help the user understand the current environmental situation more comprehensively. .
实施例4 Example 4
图7是本发明一电子终端的结构示意图二;请参考图7,所述的终端,包括:FIG. 7 is a schematic structural diagram 2 of an electronic terminal according to the present invention; referring to FIG. 7, the terminal includes:
检测模块401,用于检测到应用程序的程序界面进入前台运行。The detecting module 401 is configured to detect that the program interface of the application enters the foreground operation.
显示模块402,用于在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像。The display module 402 is configured to display a window on the program interface, and display an environment image collected in real time in the window.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
第一改变模块403,用于根据运动传感器检测的运动数据,改变所述窗口的显示参数,所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。a first changing module 403, configured to change display parameters of the window according to motion data detected by the motion sensor, where the display parameter includes at least one of: a size of the window; a position of the window; and: The brightness of the image in the window.
可选的,所述显示参数包括所述窗口的尺寸,所述第一改变模块403,具体用于:Optionally, the display parameter includes a size of the window, and the first change module 403 is specifically configured to:
比对所述运动数据与预设的行走参考数据,以确定终端是否处于行走运动的场景;Comparing the motion data with the preset walking reference data to determine whether the terminal is in a walking motion scene;
若确定终端自非行走运动的场景进入行走运动的场景,则将当前为第一尺寸的窗口增大至第二尺寸;If it is determined that the terminal enters the scene of the walking motion from the scene of the non-walking motion, the window that is currently the first size is increased to the second size;
若确定终端自行走运动的场景进入非行走运动的场景,则将当前为第一尺寸的窗口缩小至第三尺寸。If it is determined that the scene of the terminal self-walking motion enters the scene of the non-walking motion, the window that is currently the first size is reduced to the third size.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
接收模块404,用于通过所述终端的触摸屏接收到触摸事件;The receiving module 404 is configured to receive a touch event by using a touch screen of the terminal;
增大模块405,用于将当前为第一尺寸的窗口增大至第四尺寸;An increasing module 405, configured to increase a window that is currently the first size to a fourth size;
缩小模块406,用于若所述窗口增大至第四尺寸后的预设时间内均未收到其他触摸事件,则将当前为第四尺寸的窗口缩小至所述第一尺寸。The reduction module 406 is configured to reduce the window that is currently the fourth size to the first size if no other touch events are received within the preset time after the window is increased to the fourth size.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
第二改变模块407,用于根据用户的输入操作,改变所述窗口的显示参数;所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。a second change module 407, configured to change display parameters of the window according to an input operation of the user; the display parameter includes at least one of: a size of the window; a position of the window; and: the window The brightness of the image.
可选的,所述第二改变模块407,具体用于实施以下至少之一:Optionally, the second changing module 407 is specifically configured to implement at least one of the following:
根据两触点的间距的变化,变化所述窗口的尺寸;Changing the size of the window according to a change in the pitch of the two contacts;
根据第一触点沿预设方向的滑动,变化所述窗口内图像的显示亮度,所述第一触点初始位于所述窗口的显示区域外;Changing display brightness of the image in the window according to sliding of the first contact in a preset direction, the first contact is initially located outside the display area of the window;
根据第二触点的位置变化,变化所述窗口的位置,所述第二触点初始位于所述窗口的显示区域内。The position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
可选的,所述的终端,还包括: Optionally, the terminal further includes:
第一背景模块,用于当操作***的主界面在前台运行时,以所述环境图像作为所述主界面的实时桌面背景;a first background module, configured to use the environment image as a real-time desktop background of the main interface when a main interface of the operating system is running in the foreground;
第二背景模块,用于当所述程序界面在前台运行时,停止以所述环境图像作为所述主界面的实时桌面背景。And a second background module, configured to stop the real-time desktop background with the environment image as the main interface when the program interface is running in the foreground.
可选的,所述图像为所述终端的后置摄像头实时采集的,所述的终端,还包括:Optionally, the image is collected in real time by the rear camera of the terminal, and the terminal further includes:
采集模块,用于采集环境亮度数据;An acquisition module for collecting ambient brightness data;
发光模块,用于根据所述环境亮度数据,控制所述终端的照明装置发光,以使得:所述图像的亮度统计数据大于预设的阈值,所述亮度统计数据为根据所述图像中各像素的亮度或所述图像中采样像素的亮度统计得到的。a lighting module, configured to control illumination of the illumination device of the terminal according to the ambient brightness data, so that: the brightness statistics of the image is greater than a preset threshold, and the brightness statistics are according to each pixel in the image The brightness or the brightness of the sampled pixels in the image is statistically derived.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
拍摄模块,用于响应于拍摄指令,将当下的所述环境图像保存为图片,所述拍摄指令为根据用户对终端的输入装置的操作得到的。The photographing module is configured to save the current environment image as a picture according to a photographing instruction, and the photographing instruction is obtained according to an operation of the input device of the terminal by the user.
本实施例提供的电子终端,通过检测到应用程序的程序界面进入前台运行;以及在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像,发明在程序界面进入前台运行后,能够通过独立显示的窗口向用户输出当前采集的环境图像,由于图像包含的信息更多样,本实施例可以向用户输出更多样的信息,以帮助用户较为全面地了解当下的环境状况。The electronic terminal provided in this embodiment enters the foreground operation by detecting the program interface of the application program; and displays a window on the program interface, and displays the environment image collected in real time in the window, and the invention enters the foreground operation in the program interface. After that, the currently collected environment image can be output to the user through the independently displayed window. Since the image contains more information, the embodiment can output more information to the user to help the user understand the current environmental situation more comprehensively. .
实施例5Example 5
图8上本发明一电子终端的结构示意图三;请参考图8,该电子终端50包括:处理器51以及存储器52;其中FIG. 8 is a schematic structural diagram 3 of an electronic terminal according to the present invention; referring to FIG. 8, the electronic terminal 50 includes: a processor 51 and a memory 52;
存储器52,用于存储计算机程序,该存储器还可以是flash(闪存)。The memory 52 is configured to store a computer program, and the memory may also be a flash memory.
处理器51,用于执行存储器存储的执行指令,以实现上述方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。The processor 51 is configured to execute an execution instruction of the memory storage to implement each step in the above method. For details, refer to the related description in the foregoing method embodiments.
可选地,存储器52既可以是独立的,也可以跟处理器51集成在一起。Alternatively, the memory 52 can be either stand-alone or integrated with the processor 51.
当所述存储器52是独立于处理器51之外的器件时,所述电子终端50还可以包括:When the memory 52 is a device other than the processor 51, the electronic terminal 50 may further include:
总线53,用于连接所述存储器52和处理器51。A bus 53 is provided for connecting the memory 52 and the processor 51.
实施例6Example 6
本实施例提供一种可读存储介质,可读存储介质中存储有执行指令,当电子终端的至少一个处理器执行该执行指令时,电子终端执行上述的各种实施方式提供的方法。The embodiment provides a readable storage medium. The readable storage medium stores execution instructions. When at least one processor of the electronic terminal executes the execution instruction, the electronic terminal executes the methods provided by the various embodiments described above.
实施例7 Example 7
本实施例提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。电子终端的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得电子终端实施上述的各种实施方式提供的方法。The embodiment provides a program product including an execution instruction stored in a readable storage medium. At least one processor of the electronic terminal can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the electronic terminal implements the methods provided by the various embodiments described above.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (10)

  1. 一种电子终端的图像显示方法,其特征在于,包括:An image display method for an electronic terminal, comprising:
    检测到应用程序的程序界面进入前台运行;The program interface of the detected application enters the foreground operation;
    在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像。A window is displayed on the program interface, and an environment image acquired in real time is displayed in the window.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像之后,还包括:The method according to claim 1, wherein the displaying a window on the program interface and displaying the real-time collected environment image after the window further comprises:
    根据运动传感器检测的运动数据,改变所述窗口的显示参数,所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。Changing display parameters of the window according to motion data detected by the motion sensor, the display parameters including at least one of: a size of the window; a position of the window; and: a display brightness of an image within the window.
  3. 根据权利要求2所述的方法,其特征在于,所述显示参数包括所述窗口的尺寸,所述根据运动传感器检测的运动数据,改变所述窗口的显示参数,包括:The method according to claim 2, wherein the display parameter comprises a size of the window, and the changing display parameters of the window according to the motion data detected by the motion sensor comprises:
    比对所述运动数据与预设的行走参考数据,以确定终端是否处于行走运动的场景;Comparing the motion data with the preset walking reference data to determine whether the terminal is in a walking motion scene;
    若确定终端自非行走运动的场景进入行走运动的场景,则将当前为第一尺寸的窗口增大至第二尺寸;If it is determined that the terminal enters the scene of the walking motion from the scene of the non-walking motion, the window that is currently the first size is increased to the second size;
    若确定终端自行走运动的场景进入非行走运动的场景,则将当前为第一尺寸的窗口缩小至第三尺寸。If it is determined that the scene of the terminal self-walking motion enters the scene of the non-walking motion, the window that is currently the first size is reduced to the third size.
  4. 根据权利要求1所述的方法,其特征在于,所述在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像之后,还包括:The method according to claim 1, wherein the displaying a window on the program interface and displaying the real-time collected environment image after the window further comprises:
    通过所述终端的触摸屏接收到触摸事件;Receiving a touch event through a touch screen of the terminal;
    将当前为第一尺寸的窗口增大至第四尺寸;Increase the window that is currently the first size to the fourth size;
    若所述窗口增大至第四尺寸后的预设时间内均未收到其他触摸事件,则将当前为第四尺寸的窗口缩小至所述第一尺寸。If no other touch events are received within the preset time after the window is increased to the fourth size, the window of the current fourth size is reduced to the first size.
  5. 根据权利要求1所述的方法,其特征在于,所述在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像之后,还包括:The method according to claim 1, wherein the displaying a window on the program interface and displaying the real-time collected environment image after the window further comprises:
    根据用户的输入操作,改变所述窗口的显示参数;所述显示参数包括以下至少之一:所述窗口的尺寸;所述窗口的位置;以及:所述窗口内图像的显示亮度。Changing display parameters of the window according to an input operation of the user; the display parameter includes at least one of: a size of the window; a position of the window; and: a display brightness of an image in the window.
  6. 根据权利要求5所述的方法,其特征在于,所述根据用户的输入操作,改变所述窗口的显示参数,包括以下至少之一:The method according to claim 5, wherein the changing display parameters of the window according to an input operation of the user comprises at least one of the following:
    根据两触点的间距的变化,变化所述窗口的尺寸;Changing the size of the window according to a change in the pitch of the two contacts;
    根据第一触点沿预设方向的滑动,变化所述窗口内图像的显示亮度,所述第一触 点初始位于所述窗口的显示区域外;Changing the display brightness of the image in the window according to the sliding of the first contact in a preset direction, the first touch The point is initially located outside the display area of the window;
    根据第二触点的位置变化,变化所述窗口的位置,所述第二触点初始位于所述窗口的显示区域内。The position of the window is varied in accordance with a change in position of the second contact, the second contact being initially located within the display area of the window.
  7. 根据权利要求1至6任一项所述的方法,其特征在于:还包括:The method according to any one of claims 1 to 6, further comprising:
    当操作***的主界面在前台运行时,以所述环境图像作为所述主界面的实时桌面背景;When the main interface of the operating system is running in the foreground, the environment image is used as a real-time desktop background of the main interface;
    当所述程序界面在前台运行时,停止以所述环境图像作为所述主界面的实时桌面背景。When the program interface is running in the foreground, the real-time desktop background with the environment image as the main interface is stopped.
  8. 根据权利要求1至6任一项所述的方法,其特征在于,所述图像为所述终端的后置摄像头实时采集的,所述的方法,还包括:The method according to any one of claims 1 to 6, wherein the image is collected in real time by a rear camera of the terminal, and the method further includes:
    采集环境亮度数据;Collecting ambient brightness data;
    根据所述环境亮度数据,控制所述终端的照明装置发光,以使得:所述图像的亮度统计数据大于预设的阈值,所述亮度统计数据为根据所述图像中各像素的亮度或所述图像中采样像素的亮度统计得到的。Controlling illumination of the illumination device of the terminal according to the ambient brightness data, such that the brightness statistics of the image is greater than a preset threshold, the brightness statistics being based on brightness of each pixel in the image or The brightness of the sampled pixels in the image is statistically obtained.
  9. 根据权利要求1至6任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 6, further comprising:
    响应于拍摄指令,将当下的所述环境图像保存为图片,所述拍摄指令为根据用户对终端的输入装置的操作得到的。The current environment image is saved as a picture in response to a shooting instruction, which is obtained according to an operation of the user's input device to the terminal.
  10. 一种电子终端,其特征在于,包括:An electronic terminal, comprising:
    第一检测模块,用于检测到应用程序的程序界面进入前台运行;a first detecting module, configured to detect that the program interface of the application enters the foreground operation;
    第一显示模块,用于在所述程序界面上显示一窗口,并在所述窗口显示实时采集的环境图像。The first display module is configured to display a window on the program interface, and display an environment image collected in real time in the window.
    .
PCT/CN2017/099349 2017-08-28 2017-08-28 Image display method for electronic terminal, and electronic terminal WO2019041103A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/099349 WO2019041103A1 (en) 2017-08-28 2017-08-28 Image display method for electronic terminal, and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/099349 WO2019041103A1 (en) 2017-08-28 2017-08-28 Image display method for electronic terminal, and electronic terminal

Publications (1)

Publication Number Publication Date
WO2019041103A1 true WO2019041103A1 (en) 2019-03-07

Family

ID=65524741

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099349 WO2019041103A1 (en) 2017-08-28 2017-08-28 Image display method for electronic terminal, and electronic terminal

Country Status (1)

Country Link
WO (1) WO2019041103A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873689A (en) * 2014-03-12 2014-06-18 深圳市中兴移动通信有限公司 Method and device for safety reminding
CN104881949A (en) * 2015-04-24 2015-09-02 深圳市欧珀通信软件有限公司 Road condition monitoring method based on mobile terminal and road condition monitoring device based on mobile terminal
CN105160220A (en) * 2015-09-01 2015-12-16 上海斐讯数据通信技术有限公司 Mobile terminal with playing safety control function of media file and method thereof
CN105654044A (en) * 2015-12-28 2016-06-08 深圳市金立通信设备有限公司 Information processing method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873689A (en) * 2014-03-12 2014-06-18 深圳市中兴移动通信有限公司 Method and device for safety reminding
CN104881949A (en) * 2015-04-24 2015-09-02 深圳市欧珀通信软件有限公司 Road condition monitoring method based on mobile terminal and road condition monitoring device based on mobile terminal
CN105160220A (en) * 2015-09-01 2015-12-16 上海斐讯数据通信技术有限公司 Mobile terminal with playing safety control function of media file and method thereof
CN105654044A (en) * 2015-12-28 2016-06-08 深圳市金立通信设备有限公司 Information processing method and terminal

Similar Documents

Publication Publication Date Title
US20230276136A1 (en) Photographing method, electronic device, and storage medium
US10805522B2 (en) Method of controlling camera of device and device thereof
CN114205522B (en) Method for long-focus shooting and electronic equipment
JP3640156B2 (en) Pointed position detection system and method, presentation system, and information storage medium
US20230262320A1 (en) Shooting method, shooting apparatus, and electronic device
US20140176776A1 (en) Display control apparatus and display control method
US9288396B2 (en) Camera timer
CN105577941A (en) Terminal screen brightness adjusting method and system
WO2021013147A1 (en) Video processing method, device, terminal, and storage medium
CN112911147B (en) Display control method, display control device and electronic equipment
US20230334789A1 (en) Image Processing Method, Mobile Terminal, and Storage Medium
KR102055898B1 (en) image outputting device and method for operating thereof
JP2015126326A (en) Electronic apparatus and image processing method
CN115706850A (en) Method, apparatus, storage medium, and program product for image capturing
WO2022156673A1 (en) Display control method and apparatus, electronic device, and medium
WO2021185374A1 (en) Image capturing method and electronic device
US9894262B2 (en) Display control apparatus to enable a user to check a captured image after image processing
CN115883958A (en) Portrait shooting method
WO2019041103A1 (en) Image display method for electronic terminal, and electronic terminal
CN112291471B (en) Shooting control method, shooting control device, electronic device and readable storage medium
CN112312024A (en) Photographing processing method and device and storage medium
TW202018460A (en) Electronic device and control method thereof
JP2015126281A (en) Projector, information processing method, and program
JP2012151669A (en) Television receiver
CN111711748B (en) Control method and device for screen refresh rate, electronic equipment and readable storage medium

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: 17923757

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923757

Country of ref document: EP

Kind code of ref document: A1