WO2018094979A1 - Display method, apparatus and terminal - Google Patents

Display method, apparatus and terminal Download PDF

Info

Publication number
WO2018094979A1
WO2018094979A1 PCT/CN2017/084548 CN2017084548W WO2018094979A1 WO 2018094979 A1 WO2018094979 A1 WO 2018094979A1 CN 2017084548 W CN2017084548 W CN 2017084548W WO 2018094979 A1 WO2018094979 A1 WO 2018094979A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
display
instruction
photographing
displaying
Prior art date
Application number
PCT/CN2017/084548
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 WO2018094979A1 publication Critical patent/WO2018094979A1/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor

Definitions

  • the present application relates to, but is not limited to, the field of terminal screen display technologies, and in particular, to a display method, apparatus, and terminal.
  • dual-screen terminals With the increasing popularity of dual-screen terminals in the industry, multiple application displays and multi-service processing on dual-screen terminals are also diverse, and basically all of them are processed and displayed on different screens of different types of applications, and application types are different. The screen requirements on the terminal are also different, and the power consumption of the terminal is also improved.
  • the current dual-screen terminal cannot perform dual-screen display for the same application, especially the camera application, and cannot use the dual screen of the terminal to shoot and look back.
  • the present application provides a display method, device and terminal, which simultaneously provide a shooting and review function by using a dual screen of the terminal.
  • the application provides a display method, including:
  • Displaying a framing screen on at least one of the two screens of the terminal one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
  • the shooting instruction When receiving the shooting instruction through the first screen, taking a picture or capturing and displaying the taken photo or shooting recording screen on the second screen; the shooting instruction includes: a photographing instruction or a camera instruction.
  • the displaying the photographed photo on the second screen may include:
  • the photo displayed on the second screen is replaced Change to a photo taken based on the photo command received again.
  • the displaying the shooting recording screen on the second screen may include:
  • the shooting recording screen is displayed on the first screen, the captured audio and video frame information is read from the buffer, and the image frame in the audio and video frame information is played on the second screen.
  • the reading the captured audio and video frame information from the cache and playing the image frame in the audio and video frame information on the second screen may include:
  • the image frame in the encoded audio and video frame information is played on the second screen through the video player.
  • the shooting instruction may further include: an imaging end instruction;
  • the display method may further include: when receiving the imaging end instruction through the first screen, playing the image frame in the captured audio and video file on the second screen through the video player, or, on the first screen The view screen is displayed on the second screen.
  • the application also provides a display device comprising:
  • a framing display module configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
  • the photographing display module is configured to perform photographing or photographing when the photographing instruction is received through the first screen, and display the photographed photograph or the photographing and recording screen on the second screen; wherein the photographing instruction comprises: photographing instruction or photographing instruction.
  • the shooting display module may include:
  • a display unit configured to display the photograph taken each time on the second screen for a set period of time
  • the shooting display module may include:
  • Copying the display unit configured to display the shooting recording screen on the first screen on the second screen while displaying the shooting recording screen on the first screen;
  • Reading the display unit configured to read the captured audio and video frame information from the cache while displaying the captured recording screen on the first screen, and play the image frame in the audio and video frame information on the second screen .
  • the reading the display unit may include:
  • the splicing unit is configured to periodically acquire audio and video frame information from the cache for splicing
  • a coding unit configured to encode the stitched audio and video frame information
  • the playing unit is configured to play the image frame in the encoded audio and video frame information on the second screen through the video player.
  • the photographing instruction further includes: an imaging end instruction
  • the shooting display module may be further configured to: when receiving the imaging end instruction through the first screen, play the image frame in the captured audio and video file on the second screen through the video player, or The view screen on the screen is displayed on the second screen.
  • the application further provides a terminal, including a controller, a memory storing the controller executable instructions, and two screens, wherein the controller is configured to perform the following operations based on the instructions stored in the memory: at the terminal
  • the framing screen is displayed on at least one of the two screens, the screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen; taking a photo or taking a picture based on the shooting instruction and recording the taken photo or shooting
  • the screen is displayed on the second screen; wherein the photographing instruction comprises: a photographing instruction or a camera instruction;
  • a first screen configured to display a framing screen and receive a shooting instruction
  • the second screen is configured to display a photograph taken or a recording screen under the control of the controller.
  • the application also provides a machine readable medium storing computer executable instructions that, when executed by a processor, implement the display method described above.
  • the display method, device and terminal of the present application provide a plurality of different shooting interface display modes for the user in the shooting scene, in particular, the dual-screen display mode, manages and controls the display of the framing screen, and displays the new photo.
  • FIG. 1 is a flowchart of a display method according to a first embodiment of the present application.
  • FIG. 2 is a flowchart of a display method according to a second embodiment of the present application.
  • FIG. 3 is a flowchart of a display method according to a third embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a display device according to fourth to sixth embodiments of the present application.
  • FIG. 5 is a flowchart of a display method according to an eighth embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a terminal of an eighth embodiment of the present application.
  • This embodiment provides a display method, as shown in FIG. 1, including the following steps:
  • Step S101 displaying a framing screen on at least one of the two screens of the terminal, a screen displaying the framing screen is referred to as a first screen, and another screen is referred to as a second screen;
  • step S101 the framing screen is displayed on both screens of the terminal, which can be realized by: displaying the framing screen displayed on the first screen in real time while displaying the image frame of the framing screen on the first screen.
  • the image frame is displayed synchronously on the second screen.
  • Step S102 when receiving a photographing instruction through the first screen, taking a photo and displaying the photographed photo on the second screen.
  • the displaying the photograph taken on the second screen may include:
  • the photograph displayed on the second screen is replaced with a photograph taken based on the photographing instruction received again.
  • a typical application scenario of the embodiment of the present invention is: when photographing, two screens on the same side, the first screen is framing, and the second screen displays the photographed photos in time, so that the user can quickly and intuitively take a photo. Appreciate your own photo shooting effect, and automatically exit the photo display after a period of time, which greatly plays the role of the dual-screen terminal display, and the user experience is excellent.
  • This embodiment provides a display method, as shown in FIG. 2, including the following steps:
  • Step S201 displaying a framing screen on at least one of the two screens of the terminal, a screen displaying the framing screen is referred to as a first screen, and another screen is referred to as a second screen;
  • step S201 the framing screen is displayed on both screens of the terminal, which can be realized by: displaying the framing screen displayed on the first screen in real time while displaying the image frame of the framing screen on the first screen.
  • the image frame is displayed synchronously on the second screen.
  • Step S202 when receiving the imaging instruction through the first screen, performing imaging and displaying the shooting recording screen on the second screen.
  • step S202 the displaying the shooting recording screen on the second screen may include:
  • the shooting recording screen is displayed on the first screen, the captured audio and video frame information is read from the buffer, and the image frame in the audio and video frame information is played on the second screen.
  • the reading the captured audio and video frame information from the cache and playing the image frame in the audio and video frame information on the second screen may include:
  • Image frame in the encoded audio and video frame information is broadcasted on the second screen by the video player put.
  • the cache is a device that temporarily stores the recorded video image frames
  • the audio and video frame information is periodically read from the cache at an appropriate reading interval to achieve continuous and complete playback of the captured video on the second screen.
  • a typical application scenario of the embodiment of the present invention is that a first screen located on the front side of the terminal and a second screen located on the back side of the terminal can provide a viewfinder view function for different people, so that the photographer and the photographer can be fast, Intuitively grasp the effect of shooting, adjust the inappropriate shooting angle and content in time, greatly play the role of the dual-screen terminal display, and the user experience is excellent.
  • This embodiment provides a display method, as shown in FIG. 3, including the following steps:
  • Step S301 displaying a framing screen on at least one of the two screens of the terminal, a screen displaying the framing screen is referred to as a first screen, and another screen is referred to as a second screen;
  • step S301 the framing screen is displayed on both screens of the terminal, which can be realized by: displaying the framing screen displayed on the first screen in real time while displaying the image frame of the framing screen on the first screen.
  • the image frame is displayed synchronously on the second screen.
  • Step S302 when receiving the imaging instruction through the first screen, performing imaging and displaying the shooting recording screen on the second screen.
  • Step S303 when receiving the imaging end instruction through the first screen, playing the image frame in the captured audio and video file on the second screen through the video player, or copying the framing picture on the first screen Displayed on the second screen.
  • the display method of the embodiment of the present invention is substantially the same as that of the second embodiment.
  • the present embodiment further provides a response operation for the camera end instruction.
  • This embodiment can be located not only on the front and back sides of the terminal, but also on the dual screen of the terminal.
  • the function of viewing the view screen is provided for different people, so that the photographer and the photographer can quickly and intuitively grasp the effect of the shooting, and can also automatically display or play the recorded video file during shooting, and the video ends.
  • the video file can also be automatically played on the second screen, which greatly plays the role of the dual-screen terminal display, and the user experience is excellent.
  • This embodiment corresponds to the first embodiment, and provides a display device, as shown in FIG. 4, including The following components:
  • the finder display module 401 is configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
  • the finder display module 401 can be configured to display the framing screen on both screens of the terminal by: displaying the image frame of the framing screen on the first screen, and copying the framing displayed on the first screen in real time.
  • the image frame of the picture is displayed synchronously on the second screen.
  • the photographing display module 402 is configured to perform photographing and display the photographed photograph on the second screen when the photographing instruction is received through the first screen.
  • the shooting display module 402 can include:
  • a display unit configured to display the photograph taken each time on the second screen for a set period of time
  • a typical application scenario of the embodiment of the present invention is: when photographing, two screens on the same side, the first screen is framing, and the second screen displays the photographed photos in time, so that the user can quickly and intuitively take a photo. Appreciate your own photo shooting effect, and automatically exit the photo display after a period of time, which greatly plays the role of the dual-screen terminal display, and the user experience is excellent.
  • This embodiment corresponds to the second embodiment.
  • This embodiment introduces a display device, as shown in FIG. 4, including the following components:
  • the finder display module 401 is configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
  • the finder display module 401 can be configured to display the framing screen on both screens of the terminal by: displaying the image frame of the framing screen on the first screen, and copying the framing displayed on the first screen in real time.
  • the image frame of the picture is displayed synchronously on the second screen.
  • a shooting display module 402 configured to perform when an imaging instruction is received through the first screen Camera and display the recording recording screen on the second screen.
  • the shooting display module 402 can include:
  • Copying the display unit configured to copy the shooting recording screen on the first screen to the second screen while displaying the shooting recording screen on the first screen;
  • Reading the display unit configured to read the captured audio and video frame information from the cache while displaying the captured recording screen on the first screen, and play the image frame in the audio and video frame information on the second screen .
  • the reading the display unit may include:
  • the splicing unit is configured to periodically acquire audio and video frame information from the cache for splicing
  • a coding unit configured to encode the stitched audio and video frame information
  • the playing unit is configured to play the image frame in the encoded audio and video frame information on the second screen through the video player.
  • a typical application scenario of the embodiment of the present invention is that a first screen located on the front side of the terminal and a second screen located on the back side of the terminal can provide a viewfinder view function for different people, so that the photographer and the photographer can be fast, Intuitively grasp the effect of shooting, adjust the inappropriate shooting angle and content in time, greatly play the role of the dual-screen terminal display, and the user experience is excellent.
  • This embodiment corresponds to the third embodiment.
  • This embodiment introduces a display device. As shown in FIG. 4, the following components are included:
  • the finder display module 401 is configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
  • the finder display module 401 can be configured to display the framing screen on both screens of the terminal by: displaying the image frame of the framing screen on the first screen, and copying the framing displayed on the first screen in real time.
  • the image frame of the picture is displayed synchronously on the second screen.
  • the shooting display module 402 is configured to perform imaging and display the shooting recording screen on the second screen when the imaging instruction is received through the first screen.
  • This embodiment is substantially the same as the display device in the fifth embodiment.
  • the shooting display module 402 is further configured to be captured when the image capturing end command is received through the first screen.
  • the image frame in the audio and video file is played on the second screen by the video player, or the view screen on the first screen is copied to the second screen for display.
  • the embodiment further provides a response operation for the imaging end instruction.
  • This embodiment can provide viewing view screens for different people not only when the dual screens of the terminal are respectively located on the front and the back of the terminal.
  • the function allows the photographer and the photographer to quickly and intuitively grasp the effect of the shooting, and can also automatically display or play the recorded video file during shooting, and automatically play on the second screen at the end of the recording.
  • the video file greatly plays the role of the dual-screen terminal display, and the user experience is excellent.
  • the present embodiment provides a terminal, which can be understood as a physical device, including: a controller, a memory storing executable instructions of the controller, and two screens, where
  • the controller is configured to perform an operation of displaying the framing screen on at least one of the two screens of the terminal based on the instruction stored in the memory, and referencing one screen displaying the framing screen to the first screen, and the other screen It is called a second screen; taking a photo or a camera based on the shooting instruction, and displaying the taken photo or the shooting recording screen on the second screen;
  • the shooting instruction includes: a photographing instruction or a camera instruction;
  • a first screen configured to display a framing screen and receive a shooting instruction
  • the second screen is configured to display a photograph taken or a recording screen under the control of the controller.
  • the operations performed by the processor may further include:
  • the photographed photograph is displayed on the second screen by:
  • the photograph displayed on the second screen is replaced with a photograph taken based on the photographing instruction received again.
  • the operation performed by the processor may further include: displaying the shooting recording screen on the second screen in the following manner if the shooting instruction is an imaging instruction:
  • the shooting recording screen is displayed on the first screen, the captured audio and video frame information is read from the buffer, and the image frame in the audio and video frame information is played on the second screen.
  • a display method according to an embodiment of the present invention is applied to a dual screen terminal, and the method includes the following steps:
  • Step 101 The terminal invokes a Camera startup interface display mode according to a camera (Camera) startup command;
  • the notification management module calls the Camera_Start_ShowMode_Select() method to provide the user with two options: Single (Single) and Double (Double);
  • the terminal When the terminal detects the Submit_ChoiceMode ("Single") method, the terminal displays the startup interface of the Camera application on a single screen; for the single-screen display method, uses the Camera application startup interface display method on the current single-screen terminal to display. I will not repeat them here;
  • the dual screen terminal is provided with an A display screen and a B display screen;
  • the terminal When the terminal detects the Submit_ChoiceMode ("Double") method, the terminal will call the Show_Operation_Screen() method to provide the user with two options: A display or B display;
  • the terminal management module calls the Camera_Start_Duble_Show() method to display the startup interface of the Camera application on the A display and the B display respectively through the DoubleDisplay_Output() method, that is, the Camera application.
  • the startup interface is displayed synchronously on a dual screen; wherein the terminal only receives the operation performed by the user on the A display screen, and the B display screen only displays the interface on the A display screen synchronously; wherein the B display screen calls Copy (SrcDisplay, DesDisplay)
  • the method displays the interface on the A display synchronously on the B display, wherein the parameter SrcDisplay represents the operation display selected by the user, that is, the A display, and the parameter DesDisplay represents the display for synchronizing the operation display, that is, B Display screen
  • Step 102 The terminal selects a photographing processing flow and an imaging processing flow according to the detected shooting start instruction.
  • the terminal detects, by using the CameraManagerServer service, that the user initiates a photographing instruction or a camera instruction;
  • the terminal When the CameraManagerServer service detects the photo command Take_Photo and the photo has been successfully saved to the DCIM folder, the terminal first reads the latest photo (photo) through the Get() method, and passes the latest photo (photo) to Photo_Show (photo). , showDisplay) method, wherein the parameter showDisplay is a B display, that is, the photo photo is displayed on the B display;
  • the CameraManagerServer service detects the notification B to call the Close() method to exit the current photo display, and calls the Copy (SrcDisplay, DesDisplay) method again to display the interface on the A display simultaneously.
  • the A display shows the camera
  • the B display synchronizes the reading of the camera information from the cache for playback
  • the terminal calls the GetInfo_From_Buffer(frame) method to read the frame information of the audio and video from the terminal cache, and passes it to the CopyandJoin(beforeframe, currentframe) method to copy the obtained audio and video information segment of the current frame and the audio and video of the previous frame.
  • the information is spliced, and then the spliced audio and video frame information is encoded by the Encode() method, and the encoding information encoding_info is transmitted to the preset video player on the terminal.
  • the Decode (encoding_info) method returns True
  • the terminal calls Play_Video. (showDisplay) method automatically plays the currently recorded video information through the preset video player on the B display;
  • the A display display interface returns to the view screen according to the functions in the related art, and the CameraManagerServer service notifies the B display to call the Close () method to exit the current video play interface, and calls the Copy (SrcDisplay, DesDisplay) method again.
  • the interface on the A display is displayed synchronously on the B display;
  • the CameraManagerServer service When the camera operation is performed again on the A display, the CameraManagerServer service notifies the B display to call the Copy (SrcDisplay, DesDisplay) method to display the B display interface and the A display interface simultaneously;
  • the A display shows the camera, and the B display simultaneously displays the camera;
  • the terminal calls the Copy (SrcDisplay, DesDisplay) method to synchronously display the A display interface and the B display interface;
  • the A display display interface returns to the view screen according to the functions in the related art, and the CameraManagerServer service notifies the B display to call the Play_Video (showDisplay, video) method to read the camera file from the DCIM folder and pass the preset.
  • Video player automatically plays the video information currently being recorded;
  • the CameraManagerServer service When the camera operation is performed again on the A display, the CameraManagerServer service notifies the B display to call the Copy (SrcDisplay, DesDisplay) method to synchronize the B display interface with the A display interface.
  • the embodiment of the present invention further provides a terminal, including: a display module 201, a management module 202, and a control module 203, where
  • the display module 201 is configured to receive the list List ⁇ Single, Double ⁇ value returned by the Camera_Start_ShowMode_Select() method passed by the management module 202 when the terminal detects the startup instruction of the Camera application through the CameraManagerServer service, and then display two options to the user: Single, Double, and according to the selection passed by the management module 202 to determine whether to call the Camera_Start_Duble_Show () method to display the Camera application launch interface on both screens;
  • the display module 201 is further configured to receive the Photo_Show (photo, showDisplay) display method delivered by the management module 202, display the latest photo (photo) on the B display, and reach the timer (Timer). Notify the B display call when the time is scheduled Copy (SrcDisplay, DesDisplay) method synchronously displays the interface on the A display on the B display;
  • the display module 201 When the terminal detects the camera instruction, for the first mode, the display module 201 is configured to return a result according to the Decode (encoding_info) transmitted by the management module 202, and determine whether to call the method Play_Video(showDisplay) to pass the preset video on the B display screen. The player automatically plays the video information currently being recorded; when the recording ends, the display module 201 is configured to exit the current video playing interface, and again calls the Copy (SrcDisplay, DesDisplay) method to synchronously display the interface on the A display on the B display. on;
  • the display module 202 is configured to synchronously display the A display interface and the B display interface; when the recording ends, the display module 201 is configured to call the Play_Video (showDisplay, video) method to capture the camera file from the DCIM folder. Reading and automatically playing the currently recorded video information through the preset video player;
  • the Play_Video shownDisplay, video
  • the management module 202 is configured to, when the Camera application starts, invoke the Camera_Start_ShowMode_Select() method to pass the list List ⁇ Single, Double ⁇ to the display module 201, and then the management module 202 according to the value of the choice option passed by the Submit_ChoiceMode(String choice) method. Determining whether to call the Camera_Start_Duble_Show() method and then passing it to the display module 201; further configured to detect a shooting instruction, when the photographing instruction is detected, the management module 202 notifies the B display to call the Get() method to read the DCIM folder.
  • the method comprises: copying the acquired audio and video information segments of the current frame and splicing with the audio and video information of the previous frame, and then encoding the spliced audio and video frame information by using an Encode() method, and then transmitting the encoding information encoding_info to the terminal.
  • Pre-set video player when Decode (encoding_info) is detected When the return value is True, the display module 201 is notified to display; for the second mode, the notification display module 201 respectively calls the corresponding display method in the A display and the B during the imaging process, the end of the imaging, and the re-imaging. Displayed on the display;
  • the control module 203 is configured to receive the display mode of the Camera application launch interface transmitted by the management module 202 to detect the startup interface display of the Camera application in real time;
  • the Submit_ChoiceOperation ("A Display") method is transmitted to the receiving management module 202, and the control terminal only responds to the event on the A display screen, and the B display screen is displayed only through the display module 201;
  • the receiving management module 202 passes the photo display method Photo_Show (photo, showDisplay) method to True, the timer function is turned on.
  • the display module 201 When it is detected that the Timer reaches a predetermined time, the display module 201 is notified to perform corresponding display; In the imaging process, when the imaging start command and the end command transmitted by the management module 202 are received, the display module 201 is notified to perform corresponding display.
  • the process of displaying the dual-screen shooting interface of the embodiment is the same as that of the first, second or third embodiment.
  • the embodiment can be implemented by means of software plus a necessary universal hardware platform, or Through hardware, but in many cases the former is a better implementation.
  • the method of the embodiments of the present invention may be embodied in the form of a computer software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including a plurality of instructions. Enabling a device with dual screens (which may be a terminal such as a mobile phone) to perform the method described in the embodiments of the present invention
  • the dual-screen interface-based display method, device, and terminal of the embodiment of the present invention provide a plurality of different shooting interface display modes for the user in the shooting scene, that is, the user can select to select dual-screen or single-screen on the dual-screen terminal.
  • Display especially in the dual-screen display mode, manage and control the display of the framing screen, the display of the new photo, the display of the camera interface, and the display of the camera video interface; on the one hand, the new photo to be taken or the newly-produced video file is realized. It automatically displays or plays during shooting. On the other hand, it allows users to quickly and intuitively enjoy their own shooting effects, greatly playing the role of dual-screen terminal display, and the user experience is excellent.
  • the embodiment of the present application further provides a machine readable medium storing computer executable instructions, where the computer executable instructions are executed by a processor.
  • Such software may be distributed on a machine-readable medium, such as a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • a computer-readable medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the embodiment of the present application provides a display method, device, and terminal.
  • the new photo or the newly-recorded video file is automatically displayed or played during shooting, and the user can quickly and intuitively enjoy the user.
  • the shooting effect greatly played the role of the dual-screen terminal display, and the user experience was excellent.

Abstract

Provided are a display method, apparatus and terminal, the display method comprising: displaying a framing view on at least one screen of two screens of a terminal, referring to one screen displaying the framing view as a first screen, and the other screen as a second screen; and when a shooting instruction is received via the first screen, performing photographing or video shooting and displaying a photographed photo or a recorded image on the second screen, wherein the shooting instruction comprises: a photographing instruction or a video shooting instruction.

Description

一种显示方法、装置和终端Display method, device and terminal 技术领域Technical field
本申请涉及但不限于终端屏幕显示技术领域,尤其涉及一种显示方法、装置和终端。The present application relates to, but is not limited to, the field of terminal screen display technologies, and in particular, to a display method, apparatus, and terminal.
背景技术Background technique
随着业界双屏终端越来越普及,双屏终端上的多个应用显示及多业务处理也多种多样,且基本都围绕不同类型的应用在不同屏上的处理及显示,应用类型不同,其对终端的屏幕要求也不同,进而对终端的功耗等也带来一定的改善。但是,目前的双屏终端对同一个应用程序还不能进行双屏显示,尤其是相机应用程序,还不能利用终端的双屏进行拍摄和回看。With the increasing popularity of dual-screen terminals in the industry, multiple application displays and multi-service processing on dual-screen terminals are also diverse, and basically all of them are processed and displayed on different screens of different types of applications, and application types are different. The screen requirements on the terminal are also different, and the power consumption of the terminal is also improved. However, the current dual-screen terminal cannot perform dual-screen display for the same application, especially the camera application, and cannot use the dual screen of the terminal to shoot and look back.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请提供一种显示方法、装置和终端,利用终端的双屏同时提供拍摄和回看功能。The present application provides a display method, device and terminal, which simultaneously provide a shooting and review function by using a dual screen of the terminal.
本申请提供一种显示方法,包括:The application provides a display method, including:
在终端的两个屏幕中的至少一个屏幕上显示取景画面,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;Displaying a framing screen on at least one of the two screens of the terminal, one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
当通过第一屏幕接收到拍摄指令时,进行拍照或摄像并将拍摄的照片或拍摄录制画面显示在第二屏幕上;所述拍摄指令包括:拍照指令或摄像指令。When receiving the shooting instruction through the first screen, taking a picture or capturing and displaying the taken photo or shooting recording screen on the second screen; the shooting instruction includes: a photographing instruction or a camera instruction.
在示例性实施方式中,在所述拍摄指令为拍照指令的情况下,所述将拍摄的照片显示在第二屏幕上,可以包括:In an exemplary embodiment, in the case that the photographing instruction is a photographing instruction, the displaying the photographed photo on the second screen may include:
将每次拍摄的照片以设定的时长为限显示在所述第二屏幕上;或者,Displaying each taken photo on the second screen for a set period of time; or
当通过第一屏幕再次收到拍照指令时,将第二屏幕上显示的所述照片替 换成基于再次收到的拍照指令所拍摄的照片。When the photographing instruction is received again through the first screen, the photo displayed on the second screen is replaced Change to a photo taken based on the photo command received again.
在示例性实施方式中,在所述拍摄指令为摄像指令的情况下,所述将拍摄录制画面显示在第二屏幕上,可以包括:In an exemplary embodiment, in the case that the photographing instruction is an image capturing instruction, the displaying the shooting recording screen on the second screen may include:
在第一屏幕上显示拍摄录制画面的同时,将第一屏幕上的所述拍摄录制画面在第二屏幕上显示;或者,Displaying the shooting recording screen on the first screen on the second screen while displaying the shooting recording screen on the first screen; or
在第一屏幕上显示拍摄录制画面的同时,从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放。While the shooting recording screen is displayed on the first screen, the captured audio and video frame information is read from the buffer, and the image frame in the audio and video frame information is played on the second screen.
在示例性实施方式中,所述从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放,可以包括:In an exemplary embodiment, the reading the captured audio and video frame information from the cache and playing the image frame in the audio and video frame information on the second screen may include:
定期从缓存中依次获取音视频帧信息进行拼接;Regularly obtaining audio and video frame information from the cache for splicing;
对拼接的音视频帧信息进行编码;Encoding the stitched audio and video frame information;
将经过编码的音视频帧信息中的图像帧通过视频播放器在第二屏幕上播放。The image frame in the encoded audio and video frame information is played on the second screen through the video player.
在示例性实施方式中,所述拍摄指令还可以包括:摄像结束指令;In an exemplary embodiment, the shooting instruction may further include: an imaging end instruction;
上述显示方法,还可以包括:当通过第一屏幕接收到摄像结束指令时,将拍摄得到的音视频文件中的图像帧通过视频播放器在第二屏幕上播放,或者,将第一屏幕上的所述取景画面显示在第二屏幕上。The display method may further include: when receiving the imaging end instruction through the first screen, playing the image frame in the captured audio and video file on the second screen through the video player, or, on the first screen The view screen is displayed on the second screen.
本申请还提供一种显示装置,包括:The application also provides a display device comprising:
取景显示模块,配置为在终端的两个屏幕中的至少一个屏幕上显示取景画面,其中,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;a framing display module configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
拍摄显示模块,配置为当通过第一屏幕接收到拍摄指令时,进行拍照或摄像,并将拍摄的照片或拍摄录制画面显示在第二屏幕上;其中,所述拍摄指令包括:拍照指令或摄像指令。The photographing display module is configured to perform photographing or photographing when the photographing instruction is received through the first screen, and display the photographed photograph or the photographing and recording screen on the second screen; wherein the photographing instruction comprises: photographing instruction or photographing instruction.
在示例性实施方式中,所述拍摄显示模块,可以包括:In an exemplary embodiment, the shooting display module may include:
设定显示单元,配置为将每次拍摄的照片以设定的时长为限显示在所述第二屏幕上;或者, Setting a display unit configured to display the photograph taken each time on the second screen for a set period of time; or
替换显示单元,配置为当第一屏幕再次收到拍照指令时,将第二屏幕上显示的所述照片替换成基于再次收到的拍照指令所拍摄的照片。And replacing the display unit, configured to replace the photo displayed on the second screen with a photo taken based on the re-acquired photographing instruction when the first screen receives the photographing instruction again.
在示例性实施方式中,所述拍摄显示模块,可以包括:In an exemplary embodiment, the shooting display module may include:
拷贝显示单元,配置为在第一屏幕上显示拍摄录制画面的同时,将第一屏幕上的所述拍摄录制画面显示在第二屏幕上;或者,Copying the display unit, configured to display the shooting recording screen on the first screen on the second screen while displaying the shooting recording screen on the first screen; or
读取显示单元,配置为在第一屏幕上显示拍摄录制画面的同时,从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放。Reading the display unit, configured to read the captured audio and video frame information from the cache while displaying the captured recording screen on the first screen, and play the image frame in the audio and video frame information on the second screen .
在示例性实施方式中,所述读取显示单元,可以包括:In an exemplary embodiment, the reading the display unit may include:
读取拼接单元,配置为定期从缓存中依次获取音视频帧信息进行拼接;The splicing unit is configured to periodically acquire audio and video frame information from the cache for splicing;
编码单元,配置为对拼接的音视频帧信息进行编码;a coding unit configured to encode the stitched audio and video frame information;
播放单元,配置为将经过编码的音视频帧信息中的图像帧通过视频播放器在第二屏幕上播放。The playing unit is configured to play the image frame in the encoded audio and video frame information on the second screen through the video player.
在示例性实施方式中,所述拍摄指令还包括:摄像结束指令;In an exemplary embodiment, the photographing instruction further includes: an imaging end instruction;
所述拍摄显示模块,还可以配置为:当通过第一屏幕接收到摄像结束指令时,将拍摄得到的音视频文件中的图像帧通过视频播放器在第二屏幕上播放,或者,将第一屏幕上的所述取景画面显示在第二屏幕上。The shooting display module may be further configured to: when receiving the imaging end instruction through the first screen, play the image frame in the captured audio and video file on the second screen through the video player, or The view screen on the screen is displayed on the second screen.
本申请还提供一种终端,包括控制器、存储有所述控制器可执行指令的存储器以及两个屏幕,其中,控制器,配置为基于存储器中存储的所述指令执行如下操作:在终端的两个屏幕中的至少一个屏幕上显示取景画面,将显示取景画面的屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;基于拍摄指令进行拍照或摄像并将拍摄的照片或拍摄录制画面显示在第二屏幕上;其中,所述拍摄指令包括:拍照指令或摄像指令;The application further provides a terminal, including a controller, a memory storing the controller executable instructions, and two screens, wherein the controller is configured to perform the following operations based on the instructions stored in the memory: at the terminal The framing screen is displayed on at least one of the two screens, the screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen; taking a photo or taking a picture based on the shooting instruction and recording the taken photo or shooting The screen is displayed on the second screen; wherein the photographing instruction comprises: a photographing instruction or a camera instruction;
第一屏幕,配置为显示取景画面,并接收拍摄指令;a first screen configured to display a framing screen and receive a shooting instruction;
第二屏幕,配置为在控制器的控制下显示拍摄的照片或拍摄录制画面。The second screen is configured to display a photograph taken or a recording screen under the control of the controller.
本申请还提供一种机器可读介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述的显示方法。 The application also provides a machine readable medium storing computer executable instructions that, when executed by a processor, implement the display method described above.
本申请的所述显示方法、装置和终端,为用户在拍摄场景中提供多种不同的拍摄界面显示方式,特别是双屏显示方式下,管理及控制取景画面的显示、拍摄新照片的显示、摄像界面的显示及摄像视频界面的显示;一方面实现了将拍摄的新照片或者新摄制的录像文件在拍摄中自动显示或者播放,另一方面能够使用户快捷、直观地欣赏自己的拍摄效果,极大发挥了双屏终端显示屏的作用,用户体验极好。The display method, device and terminal of the present application provide a plurality of different shooting interface display modes for the user in the shooting scene, in particular, the dual-screen display mode, manages and controls the display of the framing screen, and displays the new photo. The display of the camera interface and the display of the camera video interface; on the one hand, the new photos or newly-produced video files are automatically displayed or played during shooting, and on the other hand, the user can quickly and intuitively enjoy his own shooting effect. Greatly played the role of dual-screen terminal display, user experience is excellent.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本申请第一实施例的显示方法的流程图;1 is a flowchart of a display method according to a first embodiment of the present application;
图2为本申请第二实施例的显示方法的流程图;2 is a flowchart of a display method according to a second embodiment of the present application;
图3为本申请第三实施例的显示方法的流程图;3 is a flowchart of a display method according to a third embodiment of the present application;
图4为本申请第四至第六实施例的显示装置的组成结构示意图;4 is a schematic structural diagram of a display device according to fourth to sixth embodiments of the present application;
图5为本申请第八实施例的显示方法的流程图;FIG. 5 is a flowchart of a display method according to an eighth embodiment of the present application; FIG.
图6为本申请第八实施例的终端的组成结构示意图。FIG. 6 is a schematic structural diagram of a terminal of an eighth embodiment of the present application.
详述Detailed
下面结合附图及实施例,对本申请进行详细说明如后。The present application will be described in detail below with reference to the accompanying drawings and embodiments.
第一实施例First embodiment
本实施例提供一种显示方法,如图1所示,包括以下步骤:This embodiment provides a display method, as shown in FIG. 1, including the following steps:
步骤S101,在终端的两个屏幕中的至少一个屏幕上显示取景画面,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;Step S101, displaying a framing screen on at least one of the two screens of the terminal, a screen displaying the framing screen is referred to as a first screen, and another screen is referred to as a second screen;
在步骤S101中,在终端的两个屏幕上均显示取景画面,可以通过以下方式实现的:在第一屏幕上显示取景画面的图像帧的同时,实时拷贝第一屏幕上显示的所述取景画面的图像帧并在第二屏幕上进行同步显示。In step S101, the framing screen is displayed on both screens of the terminal, which can be realized by: displaying the framing screen displayed on the first screen in real time while displaying the image frame of the framing screen on the first screen. The image frame is displayed synchronously on the second screen.
步骤S102,当通过第一屏幕接收到拍照指令时,进行拍照并将拍摄的照片显示在第二屏幕上。 Step S102, when receiving a photographing instruction through the first screen, taking a photo and displaying the photographed photo on the second screen.
在示例性实施方式中,所述将拍摄的照片显示在第二屏幕上,可以包括:In an exemplary embodiment, the displaying the photograph taken on the second screen may include:
将每次拍摄的照片以设定的时长为限显示在所述第二屏幕上;或者,Displaying each taken photo on the second screen for a set period of time; or
当通过第一屏幕再次收到拍照指令时,将第二屏幕上显示的所述照片替换成基于再次收到的拍照指令所拍摄的照片。When the photographing instruction is received again through the first screen, the photograph displayed on the second screen is replaced with a photograph taken based on the photographing instruction received again.
本发明实施例的一个典型的应用场景是:拍照时,位于同一面的两个屏幕,第一屏幕取景,第二屏幕及时显示拍摄的照片,使用户每拍摄一张照片都可以快捷、直观地欣赏自己的照片拍摄效果,且自动地在显示一段时间后退出照片显示,极大发挥了双屏终端显示屏的作用,用户体验极好。A typical application scenario of the embodiment of the present invention is: when photographing, two screens on the same side, the first screen is framing, and the second screen displays the photographed photos in time, so that the user can quickly and intuitively take a photo. Appreciate your own photo shooting effect, and automatically exit the photo display after a period of time, which greatly plays the role of the dual-screen terminal display, and the user experience is excellent.
第二实施例Second embodiment
本实施例提供一种显示方法,如图2所示,包括以下步骤:This embodiment provides a display method, as shown in FIG. 2, including the following steps:
步骤S201,在终端的两个屏幕中的至少一个屏幕上显示取景画面,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;Step S201, displaying a framing screen on at least one of the two screens of the terminal, a screen displaying the framing screen is referred to as a first screen, and another screen is referred to as a second screen;
在步骤S201中,在终端的两个屏幕上均显示取景画面,可以通过以下方式实现的:在第一屏幕上显示取景画面的图像帧的同时,实时拷贝第一屏幕上显示的所述取景画面的图像帧并在第二屏幕上进行同步显示。In step S201, the framing screen is displayed on both screens of the terminal, which can be realized by: displaying the framing screen displayed on the first screen in real time while displaying the image frame of the framing screen on the first screen. The image frame is displayed synchronously on the second screen.
步骤S202,当通过第一屏幕接收到摄像指令时,进行摄像并将拍摄录制画面显示在第二屏幕上。Step S202, when receiving the imaging instruction through the first screen, performing imaging and displaying the shooting recording screen on the second screen.
在步骤S202中,所述将拍摄录制画面显示在第二屏幕上,可以包括:In step S202, the displaying the shooting recording screen on the second screen may include:
在第一屏幕上显示拍摄录制画面的同时,将第一屏幕上的所述拍摄录制画面拷贝到第二屏幕上显示;或者,Copying the shooting recording screen on the first screen to the second screen while displaying the shooting recording screen on the first screen; or
在第一屏幕上显示拍摄录制画面的同时,从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放。While the shooting recording screen is displayed on the first screen, the captured audio and video frame information is read from the buffer, and the image frame in the audio and video frame information is played on the second screen.
其中,所述从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放,可以包括:The reading the captured audio and video frame information from the cache and playing the image frame in the audio and video frame information on the second screen may include:
定期从缓存中依次获取音视频帧信息进行拼接;Regularly obtaining audio and video frame information from the cache for splicing;
对拼接的音视频帧信息进行编码;Encoding the stitched audio and video frame information;
将经过编码的音视频帧信息中的图像帧通过视频播放器在第二屏幕上播 放。Image frame in the encoded audio and video frame information is broadcasted on the second screen by the video player put.
由于缓存是临时存储录制的视频图像帧的器件,按照合适的读取间隔,定期从缓存中读取音视频帧信息,以实现在第二屏幕上对拍摄的视频的连续完整的播放。Since the cache is a device that temporarily stores the recorded video image frames, the audio and video frame information is periodically read from the cache at an appropriate reading interval to achieve continuous and complete playback of the captured video on the second screen.
本发明实施例的一个典型的应用场景是:位于终端正面的第一屏幕和位于终端背面的第二屏幕可以为不同的人提供取景画面查看的功能,使拍摄者和被拍摄者都能快捷、直观地掌握拍摄的效果,及时调整不合适的拍摄角度和内容,极大发挥了双屏终端显示屏的作用,用户体验极好。A typical application scenario of the embodiment of the present invention is that a first screen located on the front side of the terminal and a second screen located on the back side of the terminal can provide a viewfinder view function for different people, so that the photographer and the photographer can be fast, Intuitively grasp the effect of shooting, adjust the inappropriate shooting angle and content in time, greatly play the role of the dual-screen terminal display, and the user experience is excellent.
第三实施例Third embodiment
本实施例提供一种显示方法,如图3所示,包括以下步骤:This embodiment provides a display method, as shown in FIG. 3, including the following steps:
步骤S301,在终端的两个屏幕中的至少一个屏幕上显示取景画面,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;Step S301, displaying a framing screen on at least one of the two screens of the terminal, a screen displaying the framing screen is referred to as a first screen, and another screen is referred to as a second screen;
在步骤S301中,在终端的两个屏幕上均显示取景画面,可以通过以下方式实现的:在第一屏幕上显示取景画面的图像帧的同时,实时拷贝第一屏幕上显示的所述取景画面的图像帧并在第二屏幕上进行同步显示。In step S301, the framing screen is displayed on both screens of the terminal, which can be realized by: displaying the framing screen displayed on the first screen in real time while displaying the image frame of the framing screen on the first screen. The image frame is displayed synchronously on the second screen.
步骤S302,当通过第一屏幕接收到摄像指令时,进行摄像并将拍摄录制画面显示在第二屏幕上。Step S302, when receiving the imaging instruction through the first screen, performing imaging and displaying the shooting recording screen on the second screen.
步骤S303,当通过第一屏幕接收到摄像结束指令时,将拍摄得到的音视频文件中的图像帧通过视频播放器在第二屏幕上播放,或者,将第一屏幕上的所述取景画面拷贝到第二屏幕上显示。Step S303, when receiving the imaging end instruction through the first screen, playing the image frame in the captured audio and video file on the second screen through the video player, or copying the framing picture on the first screen Displayed on the second screen.
本发明实施例的显示方法与第二实施例大致相同,区别在于:本实施例还提供针对摄像结束指令的响应操作,本实施例不仅可以在终端的双屏分别位于终端的正面和背面的情况下,为不同的人提供取景画面查看的功能,使拍摄者和被拍摄者都能快捷、直观地掌握拍摄的效果,而且还能将摄制的录像文件在拍摄中自动显示或者播放,且摄像结束时也可以自动在第二屏幕上播放录像文件,极大发挥了双屏终端显示屏的作用,用户体验极好。The display method of the embodiment of the present invention is substantially the same as that of the second embodiment. The difference is that the present embodiment further provides a response operation for the camera end instruction. This embodiment can be located not only on the front and back sides of the terminal, but also on the dual screen of the terminal. In the following, the function of viewing the view screen is provided for different people, so that the photographer and the photographer can quickly and intuitively grasp the effect of the shooting, and can also automatically display or play the recorded video file during shooting, and the video ends. The video file can also be automatically played on the second screen, which greatly plays the role of the dual-screen terminal display, and the user experience is excellent.
第四实施例Fourth embodiment
本实施例与第一实施例对应,提供一种显示装置,如图4所示,包括以 下组成部分:This embodiment corresponds to the first embodiment, and provides a display device, as shown in FIG. 4, including The following components:
1)取景显示模块401,配置为在终端的两个屏幕中的至少一个屏幕上显示取景画面,其中,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;1) The finder display module 401 is configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
其中,取景显示模块401,可以配置为通过以下方式在终端的两个屏幕上均显示取景画面:在第一屏幕上显示取景画面的图像帧的同时,实时拷贝第一屏幕上显示的所述取景画面的图像帧并在第二屏幕上进行同步显示。The finder display module 401 can be configured to display the framing screen on both screens of the terminal by: displaying the image frame of the framing screen on the first screen, and copying the framing displayed on the first screen in real time. The image frame of the picture is displayed synchronously on the second screen.
2)拍摄显示模块402,配置为当通过第一屏幕接收到拍照指令时,进行拍照并将拍摄的照片显示在第二屏幕上。2) The photographing display module 402 is configured to perform photographing and display the photographed photograph on the second screen when the photographing instruction is received through the first screen.
其中,拍摄显示模块402,可以包括:The shooting display module 402 can include:
设定显示单元,配置为将每次拍摄的照片以设定的时长为限显示在所述第二屏幕上;或者,Setting a display unit configured to display the photograph taken each time on the second screen for a set period of time; or
替换显示单元,配置为当第一屏幕再次收到拍照指令时,将第二屏幕上显示的所述照片替换成基于再次收到的拍照指令所拍摄的照片。And replacing the display unit, configured to replace the photo displayed on the second screen with a photo taken based on the re-acquired photographing instruction when the first screen receives the photographing instruction again.
本发明实施例的一个典型的应用场景是:拍照时,位于同一面的两个屏幕,第一屏幕取景,第二屏幕及时显示拍摄的照片,使用户每拍摄一张照片都可以快捷、直观地欣赏自己的照片拍摄效果,且自动地在显示一段时间后退出照片显示,极大发挥了双屏终端显示屏的作用,用户体验极好。A typical application scenario of the embodiment of the present invention is: when photographing, two screens on the same side, the first screen is framing, and the second screen displays the photographed photos in time, so that the user can quickly and intuitively take a photo. Appreciate your own photo shooting effect, and automatically exit the photo display after a period of time, which greatly plays the role of the dual-screen terminal display, and the user experience is excellent.
第五实施例Fifth embodiment
本实施例与第二实施例对应,本实施例介绍一种显示装置,如图4所示,包括以下组成部分:This embodiment corresponds to the second embodiment. This embodiment introduces a display device, as shown in FIG. 4, including the following components:
1)取景显示模块401,配置为在终端的两个屏幕中的至少一个屏幕上显示取景画面,其中,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;1) The finder display module 401 is configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
其中,取景显示模块401,可以配置为通过以下方式在终端的两个屏幕上均显示取景画面:在第一屏幕上显示取景画面的图像帧的同时,实时拷贝第一屏幕上显示的所述取景画面的图像帧并在第二屏幕上进行同步显示。The finder display module 401 can be configured to display the framing screen on both screens of the terminal by: displaying the image frame of the framing screen on the first screen, and copying the framing displayed on the first screen in real time. The image frame of the picture is displayed synchronously on the second screen.
2)拍摄显示模块402,配置为当通过第一屏幕接收到摄像指令时,进行 摄像并将拍摄录制画面显示在第二屏幕上。2) a shooting display module 402 configured to perform when an imaging instruction is received through the first screen Camera and display the recording recording screen on the second screen.
其中,拍摄显示模块402,可以包括:The shooting display module 402 can include:
拷贝显示单元,配置为在第一屏幕上显示拍摄录制画面的同时,将第一屏幕上的所述拍摄录制画面拷贝到第二屏幕上显示;或者,Copying the display unit, configured to copy the shooting recording screen on the first screen to the second screen while displaying the shooting recording screen on the first screen; or
读取显示单元,配置为在第一屏幕上显示拍摄录制画面的同时,从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放。Reading the display unit, configured to read the captured audio and video frame information from the cache while displaying the captured recording screen on the first screen, and play the image frame in the audio and video frame information on the second screen .
其中,读取显示单元,可以包括:The reading the display unit may include:
读取拼接单元,配置为定期从缓存中依次获取音视频帧信息进行拼接;The splicing unit is configured to periodically acquire audio and video frame information from the cache for splicing;
编码单元,配置为对拼接的音视频帧信息进行编码;a coding unit configured to encode the stitched audio and video frame information;
播放单元,配置为将经过编码的音视频帧信息中的图像帧通过视频播放器在第二屏幕上播放。The playing unit is configured to play the image frame in the encoded audio and video frame information on the second screen through the video player.
本发明实施例的一个典型的应用场景是:位于终端正面的第一屏幕和位于终端背面的第二屏幕可以为不同的人提供取景画面查看的功能,使拍摄者和被拍摄者都能快捷、直观地掌握拍摄的效果,及时调整不合适的拍摄角度和内容,极大发挥了双屏终端显示屏的作用,用户体验极好。A typical application scenario of the embodiment of the present invention is that a first screen located on the front side of the terminal and a second screen located on the back side of the terminal can provide a viewfinder view function for different people, so that the photographer and the photographer can be fast, Intuitively grasp the effect of shooting, adjust the inappropriate shooting angle and content in time, greatly play the role of the dual-screen terminal display, and the user experience is excellent.
第六实施例Sixth embodiment
本实施例与第三实施例对应,本实施例介绍一种显示装置,如图4所示,包括以下组成部分:This embodiment corresponds to the third embodiment. This embodiment introduces a display device. As shown in FIG. 4, the following components are included:
1)取景显示模块401,配置为在终端的两个屏幕中的至少一个屏幕上显示取景画面,其中,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;1) The finder display module 401 is configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
其中,取景显示模块401,可以配置为通过以下方式在终端的两个屏幕上均显示取景画面:在第一屏幕上显示取景画面的图像帧的同时,实时拷贝第一屏幕上显示的所述取景画面的图像帧并在第二屏幕上进行同步显示。The finder display module 401 can be configured to display the framing screen on both screens of the terminal by: displaying the image frame of the framing screen on the first screen, and copying the framing displayed on the first screen in real time. The image frame of the picture is displayed synchronously on the second screen.
2)拍摄显示模块402,配置为当通过第一屏幕接收到摄像指令时,进行摄像并将拍摄录制画面显示在第二屏幕上。 2) The shooting display module 402 is configured to perform imaging and display the shooting recording screen on the second screen when the imaging instruction is received through the first screen.
本实施例与第五实施例中的显示装置大致相同,区别在于:本实施例的显示装置中,拍摄显示模块402,还配置为当通过第一屏幕接收到摄像结束指令时,将拍摄得到的音视频文件中的图像帧通过视频播放器在第二屏幕上播放,或者,将第一屏幕上的所述取景画面拷贝到第二屏幕上显示。This embodiment is substantially the same as the display device in the fifth embodiment. The difference is that in the display device of the embodiment, the shooting display module 402 is further configured to be captured when the image capturing end command is received through the first screen. The image frame in the audio and video file is played on the second screen by the video player, or the view screen on the first screen is copied to the second screen for display.
与第五实施例相比,本实施例还提供针对摄像结束指令的响应操作,本实施例不仅可以在终端的双屏分别位于终端的正面和背面的情况下,为不同的人提供取景画面查看的功能,使拍摄者和被拍摄者都能快捷、直观地掌握拍摄的效果,而且还能将摄制的录像文件在拍摄中自动显示或者播放,且摄像结束时也可以自动在第二屏幕上播放录像文件,极大发挥了双屏终端显示屏的作用,用户体验极好。Compared with the fifth embodiment, the embodiment further provides a response operation for the imaging end instruction. This embodiment can provide viewing view screens for different people not only when the dual screens of the terminal are respectively located on the front and the back of the terminal. The function allows the photographer and the photographer to quickly and intuitively grasp the effect of the shooting, and can also automatically display or play the recorded video file during shooting, and automatically play on the second screen at the end of the recording. The video file greatly plays the role of the dual-screen terminal display, and the user experience is excellent.
第七实施例Seventh embodiment
本实施例提供一种终端,可以作为实体装置来理解,包括:控制器、存储有所述控制器可执行指令的存储器以及两个屏幕,其中,The present embodiment provides a terminal, which can be understood as a physical device, including: a controller, a memory storing executable instructions of the controller, and two screens, where
控制器,配置为基于存储器中存储的所述指令执行如下操作:在终端的两个屏幕中的至少一个屏幕上显示取景画面,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;基于拍摄指令进行拍照或摄像,并将拍摄的照片或拍摄录制画面显示在第二屏幕上;所述拍摄指令包括:拍照指令或摄像指令;The controller is configured to perform an operation of displaying the framing screen on at least one of the two screens of the terminal based on the instruction stored in the memory, and referencing one screen displaying the framing screen to the first screen, and the other screen It is called a second screen; taking a photo or a camera based on the shooting instruction, and displaying the taken photo or the shooting recording screen on the second screen; the shooting instruction includes: a photographing instruction or a camera instruction;
第一屏幕,配置为显示取景画面,并接收拍摄指令;a first screen configured to display a framing screen and receive a shooting instruction;
第二屏幕,配置为在控制器的控制下显示拍摄的照片或拍摄录制画面。The second screen is configured to display a photograph taken or a recording screen under the control of the controller.
其中,所述处理器执行的操作还可以包括:The operations performed by the processor may further include:
在所述拍摄指令为拍照指令的情况下,通过以下方式将拍摄的照片显示在第二屏幕上:In the case where the photographing instruction is a photographing instruction, the photographed photograph is displayed on the second screen by:
将每次拍摄的照片以设定的时长为限显示在所述第二屏幕上;或者,Displaying each taken photo on the second screen for a set period of time; or
当通过第一屏幕再次收到拍照指令时,将第二屏幕上显示的所述照片替换成基于再次收到的拍照指令所拍摄的照片。When the photographing instruction is received again through the first screen, the photograph displayed on the second screen is replaced with a photograph taken based on the photographing instruction received again.
其中,所述处理器执行的操作还可以包括:在所述拍摄指令为摄像指令的情况下,通过以下方式将拍摄录制画面显示在第二屏幕上: The operation performed by the processor may further include: displaying the shooting recording screen on the second screen in the following manner if the shooting instruction is an imaging instruction:
在第一屏幕上显示拍摄录制画面的同时,将第一屏幕上的所述拍摄录制画面在第二屏幕上显示;或者,Displaying the shooting recording screen on the first screen on the second screen while displaying the shooting recording screen on the first screen; or
在第一屏幕上显示拍摄录制画面的同时,从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放。While the shooting recording screen is displayed on the first screen, the captured audio and video frame information is read from the buffer, and the image frame in the audio and video frame information is played on the second screen.
第八实施例Eighth embodiment
本实施例是在上述实施例的基础上,结合图5和图6介绍本申请的一个应用实例。This embodiment is based on the above embodiment, and an application example of the present application is introduced in conjunction with FIG. 5 and FIG. 6.
如图5所示,本发明实施例的一种显示方法,应用于双屏终端,该方法包括以下步骤:As shown in FIG. 5, a display method according to an embodiment of the present invention is applied to a dual screen terminal, and the method includes the following steps:
步骤101:终端根据相机(Camera)启动指令,调用Camera启动界面显示方式;Step 101: The terminal invokes a Camera startup interface display mode according to a camera (Camera) startup command;
本发明实施例中,终端通过CameraManagerServer服务检测到Camera应用的启动指令时,通知管理模块调用Camera_Start_ShowMode_Select()方法向用户提供两个选项:单(Single)、双(Double);In the embodiment of the present invention, when the terminal detects the startup instruction of the Camera application through the CameraManagerServer service, the notification management module calls the Camera_Start_ShowMode_Select() method to provide the user with two options: Single (Single) and Double (Double);
当终端检测到Submit_ChoiceMode(“Single”)方法时,则终端会将Camera应用的启动界面以单屏进行显示;对于单屏显示方法,使用当前单屏终端上的Camera应用启动界面显示方法进行显示,在此不再赘述;When the terminal detects the Submit_ChoiceMode ("Single") method, the terminal displays the startup interface of the Camera application on a single screen; for the single-screen display method, uses the Camera application startup interface display method on the current single-screen terminal to display. I will not repeat them here;
本发明实施例中,设双屏终端具有A显示屏和B显示屏;In the embodiment of the present invention, the dual screen terminal is provided with an A display screen and a B display screen;
当终端检测到Submit_ChoiceMode(“Double”)方法时,则终端会调用Show_Operation_Screen()方法向用户提供两个选项:A显示屏或者B显示屏;When the terminal detects the Submit_ChoiceMode ("Double") method, the terminal will call the Show_Operation_Screen() method to provide the user with two options: A display or B display;
当终端检测到Submit_ChoiceOperation(“A显示屏”)方法时,则终端管理模块调用Camera_Start_Duble_Show()方法将Camera应用的启动界面通过DoubleDisplay_Output()方法分别显示在A显示屏和B显示屏上,即将Camera应用的启动界面以双屏进行同步显示;其中,终端只接收A显示屏上用户进行的操作,B显示屏只同步显示A显示屏上的界面;其中,B显示屏通过调用Copy(SrcDisplay,DesDisplay)方法将A显示屏上的界面同步显示在B显示屏上,其中,参数SrcDisplay代表用户所选择的操作显示屏,即为A显示屏,参数DesDisplay代表用于同步操作显示屏的显示屏,即为B 显示屏;When the terminal detects the Submit_ChoiceOperation ("A Display") method, the terminal management module calls the Camera_Start_Duble_Show() method to display the startup interface of the Camera application on the A display and the B display respectively through the DoubleDisplay_Output() method, that is, the Camera application. The startup interface is displayed synchronously on a dual screen; wherein the terminal only receives the operation performed by the user on the A display screen, and the B display screen only displays the interface on the A display screen synchronously; wherein the B display screen calls Copy (SrcDisplay, DesDisplay) The method displays the interface on the A display synchronously on the B display, wherein the parameter SrcDisplay represents the operation display selected by the user, that is, the A display, and the parameter DesDisplay represents the display for synchronizing the operation display, that is, B Display screen
当终端检测到Submit_ChoiceOperation(“B显示屏”)方法时,以上实现过程则反之;以下步骤仍以用户选择“A显示屏”为操作显示屏为例进行描述;When the terminal detects the Submit_ChoiceOperation ("B display") method, the above implementation process is reversed; the following steps are still described by the user selecting "A display screen" as the operation display screen;
步骤102:终端根据检测的拍摄启动指令,选择拍照处理流程和摄像处理流程;Step 102: The terminal selects a photographing processing flow and an imaging processing flow according to the detected shooting start instruction.
本发明实施例中,终端通过CameraManagerServer服务检测用户启动的是拍照指令或者是摄像指令;In the embodiment of the present invention, the terminal detects, by using the CameraManagerServer service, that the user initiates a photographing instruction or a camera instruction;
当CameraManagerServer服务检测到拍照指令Take_Photo,且照片已经成功保存到DCIM文件夹时,则终端首先通过Get()方法读取其中的最新照片(photo),并将最新照片(photo)传递给Photo_Show(photo,showDisplay)方法,其中,参数showDisplay是B显示屏,即将photo照片显示在B显示屏上;When the CameraManagerServer service detects the photo command Take_Photo and the photo has been successfully saved to the DCIM folder, the terminal first reads the latest photo (photo) through the Get() method, and passes the latest photo (photo) to Photo_Show (photo). , showDisplay) method, wherein the parameter showDisplay is a B display, that is, the photo photo is displayed on the B display;
当计时器(Timer)到达预定时间时,则CameraManagerServer服务检测通知B显示屏上调用Close()方法退出当前照片显示,并再次调用Copy(SrcDisplay,DesDisplay)方法将A显示屏上的界面同步显示在B显示屏上;When the timer reaches the predetermined time, the CameraManagerServer service detects the notification B to call the Close() method to exit the current photo display, and calls the Copy (SrcDisplay, DesDisplay) method again to display the interface on the A display simultaneously. B display;
当CameraManagerServer服务检测到摄像指令Take_Video时,B显示屏同步A显示屏的方式有两种:When the CameraManagerServer service detects the camera command Take_Video, there are two ways for the B display to synchronize the A display:
第一种方式,A显示屏显示摄像,B显示屏同步从缓存中读取摄像信息进而进行播放;即:In the first mode, the A display shows the camera, and the B display synchronizes the reading of the camera information from the cache for playback;
终端调用GetInfo_From_Buffer(frame)方法从终端缓存中读取音视频的帧信息,并传递给CopyandJoin(beforeframe,currentframe)方法,将获取的当前帧的音视频信息段进行拷贝并和前一帧的音视频信息进行拼接,接着通过Encode()方法对拼接的音视频帧信息进行编码,进而将编码信息encoding_info传递给终端上预置的视频播放器,当Decode(encoding_info)方法返回True时,则终端调用Play_Video(showDisplay)方法在B显示屏上通过预置的视频播放器自动播放当前正在录制的视频信息; The terminal calls the GetInfo_From_Buffer(frame) method to read the frame information of the audio and video from the terminal cache, and passes it to the CopyandJoin(beforeframe, currentframe) method to copy the obtained audio and video information segment of the current frame and the audio and video of the previous frame. The information is spliced, and then the spliced audio and video frame information is encoded by the Encode() method, and the encoding information encoding_info is transmitted to the preset video player on the terminal. When the Decode (encoding_info) method returns True, the terminal calls Play_Video. (showDisplay) method automatically plays the currently recorded video information through the preset video player on the B display;
当录制结束时,A显示屏显示界面按照相关技术中的功能回到取景画面,而CameraManagerServer服务通知B显示屏调用Close()方法退出当前视频播放界面,并再次调用Copy(SrcDisplay,DesDisplay)方法将A显示屏上的界面同步显示在B显示屏上;When the recording ends, the A display display interface returns to the view screen according to the functions in the related art, and the CameraManagerServer service notifies the B display to call the Close () method to exit the current video play interface, and calls the Copy (SrcDisplay, DesDisplay) method again. The interface on the A display is displayed synchronously on the B display;
当再次在A显示屏上进行摄像操作时,CameraManagerServer服务通知B显示屏调用Copy(SrcDisplay,DesDisplay)方法将B显示屏界面与A显示屏界面进行同步显示;When the camera operation is performed again on the A display, the CameraManagerServer service notifies the B display to call the Copy (SrcDisplay, DesDisplay) method to display the B display interface and the A display interface simultaneously;
第二种方式,A显示屏显示摄像,B显示屏同步显示摄像;即:In the second mode, the A display shows the camera, and the B display simultaneously displays the camera;
终端调用Copy(SrcDisplay,DesDisplay)方法将A显示屏界面与B显示屏界面进行同步显示;The terminal calls the Copy (SrcDisplay, DesDisplay) method to synchronously display the A display interface and the B display interface;
当录制结束时,A显示屏显示界面按照相关技术中的功能回到取景画面,而CameraManagerServer服务通知B显示屏调用Play_Video(showDisplay,video)方法将摄像文件从DCIM文件夹中读取并通过预置的视频播放器自动播放当前正在录制的视频信息;When the recording ends, the A display display interface returns to the view screen according to the functions in the related art, and the CameraManagerServer service notifies the B display to call the Play_Video (showDisplay, video) method to read the camera file from the DCIM folder and pass the preset. Video player automatically plays the video information currently being recorded;
当再次在A显示屏上进行摄像操作时,CameraManagerServer服务通知B显示屏调用Copy(SrcDisplay,DesDisplay)方法将B显示屏界面与A显示屏界面进行同步显示。When the camera operation is performed again on the A display, the CameraManagerServer service notifies the B display to call the Copy (SrcDisplay, DesDisplay) method to synchronize the B display interface with the A display interface.
如图6所示,本发明实施例还提供了一种终端,包括:显示模块201、管理模块202、控制模块203,其中,As shown in FIG. 6, the embodiment of the present invention further provides a terminal, including: a display module 201, a management module 202, and a control module 203, where
显示模块201,配置为在终端通过CameraManagerServer服务检测到Camera应用的启动指令时,接收管理模块202传递的Camera_Start_ShowMode_Select()方法所返回的列表List{Single,Double}值,进而向用户显示两个选项:Single、Double,并根据管理模块202传递的选择项判断是否调用Camera_Start_Duble_Show()方法以在双屏上均显示Camera的应用启动界面;The display module 201 is configured to receive the list List{Single, Double} value returned by the Camera_Start_ShowMode_Select() method passed by the management module 202 when the terminal detects the startup instruction of the Camera application through the CameraManagerServer service, and then display two options to the user: Single, Double, and according to the selection passed by the management module 202 to determine whether to call the Camera_Start_Duble_Show () method to display the Camera application launch interface on both screens;
当终端检测到拍照指令时,显示模块201还配置为接收管理模块202传递的Photo_Show(photo,showDisplay)显示方法,将最新照片(photo)显示在B显示屏上,并在计时器(Timer)达到预定的时间时,通知B显示屏调用 Copy(SrcDisplay,DesDisplay)方法将A显示屏上的界面同步显示在B显示屏上;When the terminal detects the photographing instruction, the display module 201 is further configured to receive the Photo_Show (photo, showDisplay) display method delivered by the management module 202, display the latest photo (photo) on the B display, and reach the timer (Timer). Notify the B display call when the time is scheduled Copy (SrcDisplay, DesDisplay) method synchronously displays the interface on the A display on the B display;
当终端检测到摄像指令时,对于第一种方式,显示模块201配置为根据管理模块202传递的Decode(encoding_info)返回结果,判断是否调用方法Play_Video(showDisplay)在B显示屏上通过预置的视频播放器自动播放当前正在录制的视频信息;当录制结束时,显示模块201配置为退出当前视频播放界面,并再次调用Copy(SrcDisplay,DesDisplay)方法将A显示屏上的界面同步显示在B显示屏上;When the terminal detects the camera instruction, for the first mode, the display module 201 is configured to return a result according to the Decode (encoding_info) transmitted by the management module 202, and determine whether to call the method Play_Video(showDisplay) to pass the preset video on the B display screen. The player automatically plays the video information currently being recorded; when the recording ends, the display module 201 is configured to exit the current video playing interface, and again calls the Copy (SrcDisplay, DesDisplay) method to synchronously display the interface on the A display on the B display. on;
对于第二种方式,显示模块202配置为将A显示屏界面与B显示屏界面进行同步显示;当录制结束时,显示模块201配置为调用Play_Video(showDisplay,video)方法将摄像文件从DCIM文件夹中读取并通过预置的视频播放器自动播放当前正在录制的视频信息;For the second mode, the display module 202 is configured to synchronously display the A display interface and the B display interface; when the recording ends, the display module 201 is configured to call the Play_Video (showDisplay, video) method to capture the camera file from the DCIM folder. Reading and automatically playing the currently recorded video information through the preset video player;
管理模块202,配置为在Camera应用启动时,调用Camera_Start_ShowMode_Select()方法以将列表List{Single,Double}传递给显示模块201,进而管理模块202根据Submit_ChoiceMode(String choice)方法所传递的choice选项值,判断是否调用Camera_Start_Duble_Show()方法并进而传递给显示模块201;还配置为检测拍摄指令,当检测到拍照指令时,则管理模块202通知B显示屏调用Get()方法以读取DCIM文件夹中的最新照片(photo);当检测到摄像指令时,对于第一种方式,则管理模块202调用GetInfo_From_Buffer(frame)方法从终端缓存中读取音视频的帧信息,并传递给CopyandJoin(beforeframe,currentframe)方法,将获取的当前帧的音视频信息段进行拷贝并和前一帧的音视频信息进行拼接,接着通过Encode()方法对拼接的音视频帧信息进行编码,进而将编码信息encoding_info传递给终端上预置的视频播放器,当检测到Decode(encoding_info)返回值为True时,则通知显示模块201进行显示;对于第二种方式,则通知显示模块201在摄像过程中、摄像结束时和再次摄像时,分别调用相应的显示方法在A显示屏和B显示屏上进行显示;The management module 202 is configured to, when the Camera application starts, invoke the Camera_Start_ShowMode_Select() method to pass the list List{Single, Double} to the display module 201, and then the management module 202 according to the value of the choice option passed by the Submit_ChoiceMode(String choice) method. Determining whether to call the Camera_Start_Duble_Show() method and then passing it to the display module 201; further configured to detect a shooting instruction, when the photographing instruction is detected, the management module 202 notifies the B display to call the Get() method to read the DCIM folder. The latest photo (photo); when the camera command is detected, for the first mode, the management module 202 calls the GetInfo_From_Buffer(frame) method to read the frame information of the audio and video from the terminal cache, and passes it to the CopyandJoin(beforeframe, currentframe) The method comprises: copying the acquired audio and video information segments of the current frame and splicing with the audio and video information of the previous frame, and then encoding the spliced audio and video frame information by using an Encode() method, and then transmitting the encoding information encoding_info to the terminal. Pre-set video player when Decode (encoding_info) is detected When the return value is True, the display module 201 is notified to display; for the second mode, the notification display module 201 respectively calls the corresponding display method in the A display and the B during the imaging process, the end of the imaging, and the re-imaging. Displayed on the display;
控制模块203,一方面配置为接收管理模块202传递的Camera的应用启动界面的显示模式以实时检测Camera应用的启动界面显示;另一方面配置 为接收管理模块202传递的Submit_ChoiceOperation(“A显示屏”)方法,进而控制终端只响应A显示屏上的事件,而B显示屏上只通过显示模块201进行显示;还配置为在拍照流程中,接收管理模块202传递照片显示方法Photo_Show(photo,showDisplay)方法为True时,开启计时器(Timer)计时功能,当检测到Timer到达预定的时间时,则通知显示模块201进行相应显示;还配置为在摄像流程中,当接收到管理模块202传递的摄像开始指令及结束指令时,则通知显示模块201进行相应显示。The control module 203 is configured to receive the display mode of the Camera application launch interface transmitted by the management module 202 to detect the startup interface display of the Camera application in real time; The Submit_ChoiceOperation ("A Display") method is transmitted to the receiving management module 202, and the control terminal only responds to the event on the A display screen, and the B display screen is displayed only through the display module 201; When the receiving management module 202 passes the photo display method Photo_Show (photo, showDisplay) method to True, the timer function is turned on. When it is detected that the Timer reaches a predetermined time, the display module 201 is notified to perform corresponding display; In the imaging process, when the imaging start command and the end command transmitted by the management module 202 are received, the display module 201 is notified to perform corresponding display.
第九实施例Ninth embodiment
本实施例的双屏拍摄界面显示的流程与第一、二或三实施例相同,区别在于:在工程实现上,本实施例可借助软件加必需的通用硬件平台的方式来实现,或者也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的所述方法可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台具有双屏的设备(可以是手机等终端)执行本发明实施例所述的方法The process of displaying the dual-screen shooting interface of the embodiment is the same as that of the first, second or third embodiment. The difference is that, in engineering implementation, the embodiment can be implemented by means of software plus a necessary universal hardware platform, or Through hardware, but in many cases the former is a better implementation. Based on such understanding, the method of the embodiments of the present invention may be embodied in the form of a computer software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including a plurality of instructions. Enabling a device with dual screens (which may be a terminal such as a mobile phone) to perform the method described in the embodiments of the present invention
本发明实施例的基于双屏界面的显示方法、装置和终端,为用户在拍摄场景中提供多种不同的拍摄界面显示方式,即用户可以选择在双屏终端上选择以双屏或者单屏进行显示,特别是双屏显示方式下,管理及控制取景画面的显示、拍摄新照片的显示、摄像界面的显示及摄像视频界面的显示;一方面实现了将拍摄的新照片或者新摄制的录像文件在拍摄中自动显示或者播放,另一方面能够使用户快捷、直观地欣赏自己的拍摄效果,极大发挥了双屏终端显示屏的作用,用户体验极好。The dual-screen interface-based display method, device, and terminal of the embodiment of the present invention provide a plurality of different shooting interface display modes for the user in the shooting scene, that is, the user can select to select dual-screen or single-screen on the dual-screen terminal. Display, especially in the dual-screen display mode, manage and control the display of the framing screen, the display of the new photo, the display of the camera interface, and the display of the camera video interface; on the one hand, the new photo to be taken or the newly-produced video file is realized. It automatically displays or plays during shooting. On the other hand, it allows users to quickly and intuitively enjoy their own shooting effects, greatly playing the role of dual-screen terminal display, and the user experience is excellent.
此外,本申请实施例还提供一种机器可读介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时上述显示方法。In addition, the embodiment of the present application further provides a machine readable medium storing computer executable instructions, where the computer executable instructions are executed by a processor.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实 施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在机器可读介质(比如,计算机可读介质)上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all components can be implemented Software implemented as a processor, such as a digital signal processor or microprocessor, is either implemented as hardware or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a machine-readable medium, such as a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
通过上述实施方式的说明,应当可对本申请为达成预定目的所采取的技术手段及功效得以更加深入且具体的了解,然而所附图示仅是提供参考与说明之用,并非用来对本申请加以限制。Through the above description of the embodiments, the technical means and functions of the present application for achieving the intended purpose can be more deeply and specifically understood, but the accompanying drawings are only for the purpose of reference and description, and are not intended to limit.
工业实用性Industrial applicability
本申请实施例提供一种显示方法、装置和终端,一方面实现了将拍摄的新照片或者新摄制的录像文件在拍摄中自动显示或者播放,另一方面能够使用户快捷、直观地欣赏自己的拍摄效果,极大发挥了双屏终端显示屏的作用,用户体验极好。 The embodiment of the present application provides a display method, device, and terminal. On the one hand, the new photo or the newly-recorded video file is automatically displayed or played during shooting, and the user can quickly and intuitively enjoy the user. The shooting effect greatly played the role of the dual-screen terminal display, and the user experience was excellent.

Claims (12)

  1. 一种显示方法,包括:A display method comprising:
    在终端的两个屏幕中的至少一个屏幕上显示取景画面,其中,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;Displaying a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
    当通过第一屏幕接收到拍摄指令时,进行拍照或摄像,并将拍摄的照片或拍摄录制画面显示在第二屏幕上;所述拍摄指令包括:拍照指令或摄像指令。When receiving the shooting instruction through the first screen, taking a picture or capturing the image, and displaying the taken photo or the shooting recording screen on the second screen; the shooting instruction includes: a photographing instruction or a camera instruction.
  2. 根据权利要求1所述的显示方法,其中,在所述拍摄指令为拍照指令的情况下,所述将拍摄的照片显示在第二屏幕上,包括:The display method according to claim 1, wherein, in a case where the photographing instruction is a photographing instruction, the displaying the photographed photograph on the second screen comprises:
    将每次拍摄的照片以设定的时长为限显示在所述第二屏幕上;或者,Displaying each taken photo on the second screen for a set period of time; or
    当通过第一屏幕再次收到拍照指令时,将第二屏幕上显示的所述照片替换成基于再次收到的拍照指令所拍摄的照片。When the photographing instruction is received again through the first screen, the photograph displayed on the second screen is replaced with a photograph taken based on the photographing instruction received again.
  3. 根据权利要求1所述的显示方法,其中,在所述拍摄指令为摄像指令的情况下,所述将拍摄录制画面显示在第二屏幕上,包括:The display method according to claim 1, wherein, in a case where the photographing instruction is an image capturing instruction, the displaying the shooting recording screen on the second screen comprises:
    在第一屏幕上显示拍摄录制画面的同时,将第一屏幕上的所述拍摄录制画面在第二屏幕上显示;或者,Displaying the shooting recording screen on the first screen on the second screen while displaying the shooting recording screen on the first screen; or
    在第一屏幕上显示拍摄录制画面的同时,从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放。While the shooting recording screen is displayed on the first screen, the captured audio and video frame information is read from the buffer, and the image frame in the audio and video frame information is played on the second screen.
  4. 根据权利要求3所述的显示方法,其中,所述从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放,包括:The display method according to claim 3, wherein the reading the captured audio and video frame information from the buffer and playing the image frame in the audio and video frame information on the second screen comprises:
    定期从缓存中依次获取音视频帧信息进行拼接;Regularly obtaining audio and video frame information from the cache for splicing;
    对拼接的音视频帧信息进行编码;Encoding the stitched audio and video frame information;
    将经过编码的音视频帧信息中的图像帧通过视频播放器在第二屏幕上播放。The image frame in the encoded audio and video frame information is played on the second screen through the video player.
  5. 根据权利要求1所述的显示方法,其中,所述拍摄指令还包括:摄像结束指令; The display method according to claim 1, wherein the photographing instruction further comprises: an image capturing end instruction;
    所述显示方法,还包括:The display method further includes:
    当通过第一屏幕接收到摄像结束指令时,将拍摄得到的音视频文件中的图像帧通过视频播放器在第二屏幕上播放,或者,将第一屏幕上的所述取景画面显示在第二屏幕上。When receiving the imaging end instruction through the first screen, playing the image frame in the captured audio and video file on the second screen through the video player, or displaying the framing picture on the first screen in the second on the screen.
  6. 一种显示装置,包括:A display device comprising:
    取景显示模块,配置为在终端的两个屏幕中的至少一个屏幕上显示取景画面,其中,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;a framing display module configured to display a framing screen on at least one of the two screens of the terminal, wherein one screen displaying the framing screen is referred to as a first screen, and the other screen is referred to as a second screen;
    拍摄显示模块,配置为当通过第一屏幕接收到拍摄指令时,进行拍照或摄像,并将拍摄的照片或拍摄录制画面显示在第二屏幕上;其中,所述拍摄指令包括:拍照指令或摄像指令。The photographing display module is configured to perform photographing or photographing when the photographing instruction is received through the first screen, and display the photographed photograph or the photographing and recording screen on the second screen; wherein the photographing instruction comprises: photographing instruction or photographing instruction.
  7. 根据权利要求6所述的显示装置,其中,所述拍摄显示模块,包括:The display device according to claim 6, wherein the photographing display module comprises:
    设定显示单元,配置为将每次拍摄的照片以设定的时长为限显示在所述第二屏幕上;或者,Setting a display unit configured to display the photograph taken each time on the second screen for a set period of time; or
    替换显示单元,配置为当第一屏幕再次收到拍照指令时,将第二屏幕上显示的所述照片替换成基于再次收到的拍照指令所拍摄的照片。And replacing the display unit, configured to replace the photo displayed on the second screen with a photo taken based on the re-acquired photographing instruction when the first screen receives the photographing instruction again.
  8. 根据权利要求6所述的显示装置,其中,所述拍摄显示模块,包括:The display device according to claim 6, wherein the photographing display module comprises:
    拷贝显示单元,配置为在第一屏幕上显示拍摄录制画面的同时,将第一屏幕上的所述拍摄录制画面显示在第二屏幕上;或者,Copying the display unit, configured to display the shooting recording screen on the first screen on the second screen while displaying the shooting recording screen on the first screen; or
    读取显示单元,配置为在第一屏幕上显示拍摄录制画面的同时,从缓存中读取所拍摄的音视频帧信息,并将所述音视频帧信息中的图像帧在第二屏幕上播放。Reading the display unit, configured to read the captured audio and video frame information from the cache while displaying the captured recording screen on the first screen, and play the image frame in the audio and video frame information on the second screen .
  9. 根据权利要求8所述的显示装置,其中,所述读取显示单元,包括:The display device according to claim 8, wherein the reading display unit comprises:
    读取拼接单元,配置为定期从缓存中依次获取音视频帧信息进行拼接;The splicing unit is configured to periodically acquire audio and video frame information from the cache for splicing;
    编码单元,配置为对拼接的音视频帧信息进行编码;a coding unit configured to encode the stitched audio and video frame information;
    播放单元,配置为将经过编码的音视频帧信息中的图像帧通过视频播放器在第二屏幕上播放。 The playing unit is configured to play the image frame in the encoded audio and video frame information on the second screen through the video player.
  10. 根据权利要求6所述的显示装置,其中,所述拍摄指令还包括:摄像结束指令;The display device according to claim 6, wherein the photographing instruction further comprises: an image capturing end instruction;
    所述拍摄显示模块,还配置为:当通过第一屏幕接收到摄像结束指令时,将拍摄得到的音视频文件中的图像帧通过视频播放器在第二屏幕上播放,或者,将第一屏幕上的所述取景画面显示在第二屏幕上。The photographing display module is further configured to: when receiving the image capturing end instruction through the first screen, play the image frame in the captured audio and video file on the second screen through the video player, or use the first screen The above viewfinder screen is displayed on the second screen.
  11. 一种终端,包括控制器、存储有所述控制器可执行指令的存储器以及两个屏幕,其中,A terminal includes a controller, a memory storing executable instructions of the controller, and two screens, wherein
    控制器,配置为基于所述存储器中存储的所述指令执行如下操作:在终端的两个屏幕中的至少一个屏幕上显示取景画面,将显示取景画面的一个屏幕称为第一屏幕,则另外一个屏幕称为第二屏幕;基于拍摄指令进行拍照或摄像,并将拍摄的照片或拍摄录制画面显示在第二屏幕上;所述拍摄指令包括:拍照指令或摄像指令;a controller configured to perform an operation of displaying a framing screen on at least one of the two screens of the terminal and a screen displaying the framing screen as the first screen, based on the instruction stored in the memory, One screen is referred to as a second screen; photographing or photographing is performed based on the photographing instruction, and the photographed photograph or the photographed recording screen is displayed on the second screen; the photographing instruction includes: a photographing instruction or a photographing instruction;
    第一屏幕,配置为显示取景画面,并接收所述拍摄指令;a first screen configured to display a framing screen and receive the shooting instruction;
    第二屏幕,配置为在所述控制器的控制下显示拍摄的照片或拍摄录制画面。The second screen is configured to display the photographed photograph or the photographed recording screen under the control of the controller.
  12. 一种机器可读介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至5中任一项所述的显示方法。 A machine readable medium storing computer executable instructions that, when executed by a processor, implement the display method of any one of claims 1 to 5.
PCT/CN2017/084548 2016-11-22 2017-05-16 Display method, apparatus and terminal WO2018094979A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611036136.3 2016-11-22
CN201611036136.3A CN108093166A (en) 2016-11-22 2016-11-22 A kind of display methods, device and terminal

Publications (1)

Publication Number Publication Date
WO2018094979A1 true WO2018094979A1 (en) 2018-05-31

Family

ID=62168145

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084548 WO2018094979A1 (en) 2016-11-22 2017-05-16 Display method, apparatus and terminal

Country Status (2)

Country Link
CN (1) CN108093166A (en)
WO (1) WO2018094979A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262707A (en) * 2019-04-26 2019-09-20 努比亚技术有限公司 A kind of application program operation method for recording, device and computer readable storage medium
WO2020238454A1 (en) * 2019-05-27 2020-12-03 维沃移动通信有限公司 Photographing method and terminal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379535A (en) * 2018-11-30 2019-02-22 Oppo广东移动通信有限公司 Image pickup method and device, electronic equipment, computer readable storage medium
CN111131715A (en) * 2019-12-31 2020-05-08 联想(北京)有限公司 Image acquisition method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913683A (en) * 2005-08-12 2007-02-14 Lg电子株式会社 Mobile communication terminal with dual-display unit having function of editing captured image and method thereof
US20140146212A1 (en) * 2012-11-26 2014-05-29 Samsung Electronics Co., Ltd. Photographing device for displaying image and methods thereof
CN104135611A (en) * 2014-07-11 2014-11-05 深圳市中兴移动通信有限公司 Method and device for photographing with split-screen function
CN104539843A (en) * 2014-12-18 2015-04-22 深圳市金立通信设备有限公司 Terminal shooting method
CN105554372A (en) * 2015-10-30 2016-05-04 东莞酷派软件技术有限公司 Photographing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100677303B1 (en) * 2003-12-26 2007-02-05 엘지전자 주식회사 Mobile phone
ATE520245T1 (en) * 2005-12-06 2011-08-15 Ipg Electronics 504 Ltd FOLDABLE MOBILE DEVICE WITH A BUILT-IN PHOTOGRAPH
US20110305427A1 (en) * 2010-06-09 2011-12-15 Digilife Technologies Co., Ltd. Imaging Apparatus
US9495012B2 (en) * 2011-09-27 2016-11-15 Z124 Secondary single screen mode activation through user interface activation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913683A (en) * 2005-08-12 2007-02-14 Lg电子株式会社 Mobile communication terminal with dual-display unit having function of editing captured image and method thereof
US20140146212A1 (en) * 2012-11-26 2014-05-29 Samsung Electronics Co., Ltd. Photographing device for displaying image and methods thereof
CN104135611A (en) * 2014-07-11 2014-11-05 深圳市中兴移动通信有限公司 Method and device for photographing with split-screen function
CN104539843A (en) * 2014-12-18 2015-04-22 深圳市金立通信设备有限公司 Terminal shooting method
CN105554372A (en) * 2015-10-30 2016-05-04 东莞酷派软件技术有限公司 Photographing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262707A (en) * 2019-04-26 2019-09-20 努比亚技术有限公司 A kind of application program operation method for recording, device and computer readable storage medium
CN110262707B (en) * 2019-04-26 2021-08-10 努比亚技术有限公司 Application program operation recording method and device and computer readable storage medium
WO2020238454A1 (en) * 2019-05-27 2020-12-03 维沃移动通信有限公司 Photographing method and terminal
US11863901B2 (en) 2019-05-27 2024-01-02 Vivo Mobile Communication Co., Ltd. Photographing method and terminal

Also Published As

Publication number Publication date
CN108093166A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
US9848159B2 (en) Image reproducing apparatus and method for controlling same
KR101790679B1 (en) Mobile terminal and method for starting shooting on mobile terminal
WO2018094979A1 (en) Display method, apparatus and terminal
JP5383356B2 (en) IMAGING DEVICE, INFORMATION PROCESSING DEVICE, IMAGING DEVICE CONTROL METHOD, INFORMATION PROCESSING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP2014075782A (en) Imaging apparatus
US9578233B2 (en) Imaging apparatus and method for controlling the same
JP2013251724A (en) Photographing instrument
JP2013239796A (en) Image processing device
JP5677008B2 (en) Imaging apparatus, control method and program thereof, and recording medium
WO2020238312A1 (en) Photographing method and apparatus, storage medium and electronic device
US20120070124A1 (en) Image capturing apparatus, image capturing method, and computer readable medium
JP2011211568A (en) Moving picture-recording device and control method thereof
JP2010252306A (en) Image capturing apparatus
JP2004104534A (en) Image pickup device
JP2014225836A (en) Imaging device and control method of imaging device
JP2011217369A (en) Imaging device, and method of displaying information therein
JP2012156750A (en) System for automatic setting of preference degree
JP2009105942A (en) Electronic camera device
JP2009010746A (en) Image recording and reproducing apparatus
JP2005229235A (en) Camera system and program
JP2017118446A (en) Imaging apparatus
JP6504919B2 (en) Moving image recording apparatus, control method therefor, program, and storage medium
JP2006197394A (en) Imaging device, control method, and imaging system
JP2016019253A (en) Photographing system
JP6032964B2 (en) Image processing apparatus and control method thereof

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

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

Country of ref document: EP

Kind code of ref document: A1