WO2021083114A1 - Photo viewing method and electronic device - Google Patents

Photo viewing method and electronic device Download PDF

Info

Publication number
WO2021083114A1
WO2021083114A1 PCT/CN2020/123893 CN2020123893W WO2021083114A1 WO 2021083114 A1 WO2021083114 A1 WO 2021083114A1 CN 2020123893 W CN2020123893 W CN 2020123893W WO 2021083114 A1 WO2021083114 A1 WO 2021083114A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
display
photo
area
electronic device
Prior art date
Application number
PCT/CN2020/123893
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 WO2021083114A1 publication Critical patent/WO2021083114A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor

Definitions

  • the present disclosure relates to the field of communication technology, and in particular, to a photo viewing method and electronic equipment.
  • electronic devices With the rapid development of science and technology, electronic devices have become an indispensable tool in people's lives and have brought great convenience to all aspects of users' lives. Generally speaking, electronic devices have a camera function, and users can use the electronic devices to take photos they like.
  • the embodiments of the present disclosure provide a photo viewing method and electronic device to solve the problem that the process of viewing the taken photo is relatively cumbersome.
  • the embodiments of the present disclosure provide a photo viewing method applied to an electronic device, including:
  • the taken photo is displayed in the first area of the display screen, and the preview photo is displayed in the second area of the display screen.
  • the embodiments of the present disclosure also provide an electronic device, including:
  • the first display module is configured to display preview photos on the display screen of the electronic device
  • the shooting module is used to receive the user's shooting input instructions to obtain the shooting photos;
  • the second display module is configured to display the taken photo in the first area of the display screen, and display the preview photo in the second area of the display screen.
  • the embodiments of the present disclosure also provide an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of the above-mentioned photo viewing method.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned photo viewing method are implemented.
  • the preview photo is displayed on the display screen of the electronic device; the user's shooting input instruction is received to obtain the captured photo; the captured photo is displayed in the first area of the display screen, and the captured photo is displayed on the display screen.
  • the second area of the screen displays the preview photo.
  • FIG. 1 is a flowchart of a photo viewing method provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure
  • Figure 3 is one of the structural diagrams of an electronic device provided by an embodiment of the present disclosure.
  • Fig. 4 is a second structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • Fig. 1 is a flowchart of a photo viewing method provided by an embodiment of the present disclosure, as shown in Fig. 1, including the following steps:
  • Step 101 The electronic device displays a preview photo on the display screen of the electronic device.
  • the display screen of the electronic device can display the preview photo.
  • Step 102 The electronic device receives the user's shooting input instruction to obtain a shooting photo.
  • the above-mentioned user's shooting input instruction may be an instruction obtained by inputting a single click, pressing, double-clicking, etc., on a virtual button displayed on the display screen, or it may be on a physical button used for shooting. Double-click, press, etc. to input the command.
  • the shooting photo After receiving the user's shooting input instruction, the shooting photo can be obtained. And, the taken photo can be saved in the specified path.
  • the corresponding path will have a new file.
  • the cached photo can also be displayed directly, so the display here and later can also be based on whether the buffer file has been generated, as long as the same data source is used.
  • Step 103 The electronic device displays the taken photo in the first area of the display screen, and displays the preview photo in the second area of the display screen.
  • the preview photo in step 103 and the preview photo in step 101 may be the same or different. If the user moves the electronic device, the preview photos in step 103 and step 101 can be different; if the user does not move the electronic device, then the preview photos in step 103 and step 101 can also be the same.
  • the above-mentioned first display area and the second display area are different display areas.
  • the user can redisplay the layout of the main camera interface.
  • layout1 as the pre-photograph preview interface, providing users with real-time preview images, similar to the current photographing interface, how the interface in layout1 is laid out, and what functions it contains, can be laid out again.
  • layout2 as the preview interface after the photo is generated. After receiving some input from the user, the entire display screen can be the preview interface, or some close and return buttons can be added to the interface.
  • the electronic device is a folding screen electronic device
  • corresponding operations can be performed when the screen is folded and the display is opened; when the display is folded, the layout2 photo preview interface can be hidden by setting the attribute to invisible.
  • the folding screen is opened, The display area of the display screen is larger.
  • the hidden function allows the entire folding screen to display the photos that have been taken in full screen, so that the photos are displayed as if they are placed on a physical album.
  • the photographed photo is directly displayed in the first area of the display screen, and the preview photo is displayed in the second area of the display screen.
  • the user There is no need for the user to click on the small thumbnail of the shooting interface, and then jump to the album to view the captured photos, but directly display the captured photos in the first area, which can simplify the process of viewing the captured photos.
  • the above-mentioned electronic equipment may be a mobile phone, a tablet (Personal Computer), a laptop (a laptop computer), a personal digital assistant (personal digital assistant, PDA), a mobile Internet device (Mobile Internet Device, MID). ) Or wearable device (Wearable Device) and so on.
  • the display screen includes a folding screen
  • the folding screen includes a first screen and a second screen
  • the first area is a display area in the first screen
  • the second area is the The display area in the second screen.
  • FIG. 2 is a schematic diagram of an electronic device provided by an embodiment of the disclosure.
  • the display screen of the electronic device includes a folding screen, and the folding screen includes a first screen and a second screen. After the captured photo is taken, the captured photo can be directly displayed on the first screen, and the preview photo can be displayed on the second screen, and subsequent photos can be taken.
  • the first area may be all the display areas of the first screen, or it may be a part of the display area of the first screen; the second area may be all the display areas of the second screen, or it may be the display area of the second screen.
  • the displaying the taken photo in the first area of the display screen and displaying the preview photo in the second area of the display screen includes:
  • the taken photo is displayed in the display area of the first screen, and the taken photo is displayed in the display area of the second screen Show preview photos.
  • the captured photo is displayed in the display area of the first screen, and the captured photo is displayed in the display area of the second screen.
  • the preview photo is displayed, so that the taken photo and the preview photo can be displayed at the same time when the folding screen is expanded at a larger angle, which is convenient for users to view.
  • the preview photo may be displayed only in the display area of the second screen, and the display area of the first screen may be None is displayed.
  • the displaying the captured photo in the display area of the first screen includes:
  • the captured photo in the photo album application is displayed in the display area of the first screen.
  • starting the photo album application program is to start the photo album application program when the included angle between the first screen and the second screen is greater than the preset included angle threshold, and then display the photo album in the display area of the first screen.
  • the above-mentioned take photos in the app.
  • the two screens of the folding screen are respectively identified as the first screen and the second screen.
  • Take pictures through the camera button on the camera application you can also take pictures through other shortcut keys), save the taken picture when the camera button is pressed, and set the display area of the photo album application as the first screen.
  • the album application After detecting the photo generation, it is judged whether the folding screen is in the folded state at this time. If it is in the folded state (the angle between the first screen and the second screen is less than or equal to the preset angle threshold), the album application will not open. If it is detected to be in the open state (the angle between the first screen and the second screen is greater than the preset angle threshold), then the photo album application will be automatically opened, and the photo just taken will be displayed by default, so that the photo album application will be displayed automatically when the photo is completed photo. That is, when an application has an operation that will jump to another application, the linkage is realized when the folding screen is in the folded state. In the scene of taking a picture, the photo album application is automatically launched when the photo is taken, which simplifies the user's operation , Make user operation more convenient.
  • the method further includes:
  • the captured photo is displayed in the first area and the second area.
  • the above-mentioned first input may be input such as single click, double click, or sliding.
  • the first input can also be input in the preset area to realize the corresponding function.
  • the captured photo can be displayed in the first area and the second area in response to the first input, that is, the captured photo is displayed in the first area and the second area together, such as through All the display areas of the folding screen display the taken photos, so that the taken photos can have a better display effect, and it is convenient for users to view the details of the photos more clearly.
  • a photo viewing method is applied to an electronic device, displaying a preview photo on the display screen of the electronic device; receiving a user's shooting input instruction to obtain the captured photo; and displaying all photos in the first area of the display screen.
  • the picture is taken, and the preview picture is displayed in the second area of the display screen.
  • FIG. 3 is a structural diagram of an electronic device provided by an embodiment of the present disclosure, which can realize the details of the photo viewing method in the foregoing embodiment and achieve the same effect.
  • the electronic device 300 includes a first display module 301, a photographing module 302, and a second display module 303.
  • the first display module 301 is connected to the photographing module 302, and the photographing module 302 is connected to the second display module 303, wherein:
  • the first display module 301 is configured to display preview photos on the display screen of the electronic device
  • the shooting module 302 is used to receive a user's shooting input instruction to obtain a shooting photo
  • the second display module 303 is configured to display the taken photo in the first area of the display screen, and display the preview photo in the second area of the display screen.
  • the display screen includes a folding screen
  • the folding screen includes a first screen and a second screen
  • the first area is a display area in the first screen
  • the second area is the The display area in the second screen.
  • the second display module 303 is configured to display in the display area of the first screen when the included angle between the first screen and the second screen is greater than a preset included angle threshold The photo is taken, and a preview photo is displayed in the display area of the second screen.
  • the second display module 303 includes:
  • the start sub-module is used to receive the user's photo album start instruction and start the photo album application;
  • the display sub-module is configured to display the taken photo in the photo album application in the display area of the first screen.
  • the electronic device further includes:
  • the receiving module is used to receive the user's first input
  • the third display module is configured to display the taken photo in the first area and the second area in response to the first input.
  • the electronic device 300 can implement various processes implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
  • the first display module 301 is used to display preview photos on the display screen of the electronic device;
  • the shooting module 302 is used to receive the user's shooting input instructions to obtain the shooting photos;
  • the second display module 303 configured to display the taken photo in a first area of the display screen, and display a preview photo in a second area of the display screen.
  • FIG. 4 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present disclosure.
  • the electronic device 400 includes, but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, and a sensor. 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, a power supply 411 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 4 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle terminals, wearable devices, and pedometers.
  • the processor 410 is configured to control the display unit 406 to display preview photos on the display screen of the electronic device; to receive the user's shooting input instruction to obtain the taken photos; to control the display unit 406 to display all the photos in the first area of the display screen. The picture is taken, and the preview picture is displayed in the second area of the display screen.
  • the embodiments of the present disclosure can simplify the process of viewing and shooting photos.
  • the display screen includes a folding screen
  • the folding screen includes a first screen and a second screen
  • the first area is a display area in the first screen
  • the second area is the The display area in the second screen.
  • the processor 410 is further configured to display the captured photo in the display area of the first screen when the included angle between the first screen and the second screen is greater than a preset included angle threshold. , And a preview photo is displayed in the display area of the second screen.
  • the processor 410 is further configured to receive a user's album activation instruction and start the album application program; and display the taken photos in the album application program in the display area of the first screen.
  • the processor 410 is further configured to receive a first input of a user; in response to the first input, display the taken photo in the first area and the second area.
  • the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (e.g., call signal reception sound, message reception sound, etc.).
  • the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 404 is used to receive audio or video signals.
  • the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042.
  • the graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 406.
  • the image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402.
  • the microphone 4042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
  • the electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 4061 and the display panel 4061 when the electronic device 400 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 406 is used to display information input by the user or information provided to the user.
  • the display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operating).
  • the touch panel 4071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed.
  • the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 407 may also include other input devices 4072.
  • other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 4071 can cover the display panel 4061.
  • the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 4061.
  • the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 408 is an interface for connecting an external device and the electronic device 400.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc.
  • the interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 400 or can be used to connect to the electronic device 400 and the external device. Transfer data between devices.
  • the memory 409 can be used to store software programs and various data.
  • the memory 409 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 409, and calls the data stored in the memory 409 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 410 may include one or more processing units; optionally, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
  • the electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 400 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides an electronic device, including a processor 410, a memory 409, a computer program stored in the memory 409 and running on the processor 410, and the computer program is executed by the processor 410
  • an electronic device including a processor 410, a memory 409, a computer program stored in the memory 409 and running on the processor 410, and the computer program is executed by the processor 410
  • the various processes of the above embodiment of the photo viewing method can be realized at a time, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above embodiment of the photo viewing method is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • modules, units, and sub-units can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSP Device, DSPD) ), programmable logic devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to implement this disclosure Described functions in other electronic units or combinations thereof.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processor
  • DSP Device Digital Signal Processing Device
  • DSPD Digital Signal Processing Device
  • PLD programmable logic devices
  • FPGA Field-Programmable Gate Array
  • the technology described in the embodiments of the present disclosure can be implemented through modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
  • the software codes can be stored in the memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present disclosure provides a photo viewing method and an electronic device. Said method comprises: displaying a preview photo on a display screen of an electronic device; receiving a photographing input instruction of a user to obtain a photographed photo; and displaying the photographed photo in a first region of the display screen, and displaying the preview photo in a second region of the display screen.

Description

照片查看方法及电子设备Photo viewing method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年10月31日在中国提交的中国专利申请号No.201911074320.0的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911074320.0 filed in China on October 31, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种照片查看方法及电子设备。The present disclosure relates to the field of communication technology, and in particular, to a photo viewing method and electronic equipment.
背景技术Background technique
随着科技的迅速发展,电子设备已经成为人们生活中必不可少的一种工具,并且为用户生活的各个方面带来了极大的便捷。通常来说,电子设备上都具有拍照功能,用户可以使用电子设备拍摄自己喜欢的照片。With the rapid development of science and technology, electronic devices have become an indispensable tool in people's lives and have brought great convenience to all aspects of users' lives. Generally speaking, electronic devices have a camera function, and users can use the electronic devices to take photos they like.
但是,相关技术中,在电子设备拍摄照片之后,如果用户需要查看已拍摄的照片,需要点击拍摄界面的小缩略图,再跳转到相册中查看拍摄的照片,导致相关技术中查看已拍摄照片的过程比较繁琐。However, in the related technology, after the electronic device takes a photo, if the user needs to view the taken photo, he needs to click on the small thumbnail of the shooting interface, and then jump to the album to view the taken photo, resulting in viewing the taken photo in the related technology The process is more cumbersome.
发明内容Summary of the invention
本公开实施例提供一种照片查看方法及电子设备,以解决查看已拍摄照片的过程比较繁琐的问题。The embodiments of the present disclosure provide a photo viewing method and electronic device to solve the problem that the process of viewing the taken photo is relatively cumbersome.
第一方面,本公开实施例提供了一种照片查看方法,应用于电子设备,包括:In the first aspect, the embodiments of the present disclosure provide a photo viewing method applied to an electronic device, including:
在所述电子设备的显示屏显示预览照片;Displaying a preview photo on the display screen of the electronic device;
接收用户的拍摄输入指令,得到拍摄照片;Receive the user's shooting input instruction to obtain the shooting photo;
在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。The taken photo is displayed in the first area of the display screen, and the preview photo is displayed in the second area of the display screen.
第二方面,本公开实施例还提供一种电子设备,包括:In a second aspect, the embodiments of the present disclosure also provide an electronic device, including:
第一显示模块,用于在所述电子设备的显示屏显示预览照片;The first display module is configured to display preview photos on the display screen of the electronic device;
拍摄模块,用于接收用户的拍摄输入指令,得到拍摄照片;The shooting module is used to receive the user's shooting input instructions to obtain the shooting photos;
第二显示模块,用于在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。The second display module is configured to display the taken photo in the first area of the display screen, and display the preview photo in the second area of the display screen.
第三方面,本公开实施例还提供一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述照片查看方法的步骤。In a third aspect, the embodiments of the present disclosure also provide an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of the above-mentioned photo viewing method.
第四方面,本公开实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述照片查看方法的步骤。In a fourth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned photo viewing method are implemented.
在本公开实施例中,在所述电子设备的显示屏显示预览照片;接收用户的拍摄输入指令,得到拍摄照片;在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。本公开实施例可以简化查看拍摄照片的过程。In the embodiment of the present disclosure, the preview photo is displayed on the display screen of the electronic device; the user's shooting input instruction is received to obtain the captured photo; the captured photo is displayed in the first area of the display screen, and the captured photo is displayed on the display screen. The second area of the screen displays the preview photo. The embodiments of the present disclosure can simplify the process of viewing and shooting photos.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本公开实施例提供的照片查看方法的流程图;FIG. 1 is a flowchart of a photo viewing method provided by an embodiment of the present disclosure;
图2是本公开实施例提供的电子设备的示意图;Figure 2 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure;
图3是本公开实施例提供的电子设备的结构图之一;Figure 3 is one of the structural diagrams of an electronic device provided by an embodiment of the present disclosure;
图4是本公开实施例提供的电子设备的结构图之二。Fig. 4 is a second structural diagram of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
参见图1,图1是本公开实施例提供的照片查看方法的流程图,如图1所 示,包括以下步骤:Referring to Fig. 1, Fig. 1 is a flowchart of a photo viewing method provided by an embodiment of the present disclosure, as shown in Fig. 1, including the following steps:
步骤101、电子设备在所述电子设备的显示屏显示预览照片。Step 101: The electronic device displays a preview photo on the display screen of the electronic device.
本实施例中,启动电子设备的摄像头,电子设备的显示屏就可以显示预览照片。In this embodiment, when the camera of the electronic device is activated, the display screen of the electronic device can display the preview photo.
步骤102、电子设备接收用户的拍摄输入指令,得到拍摄照片。Step 102: The electronic device receives the user's shooting input instruction to obtain a shooting photo.
本实施例中,上述用户的拍摄输入指令,可以是在显示屏显示的虚拟按键上的一次点击、按压、双击等等输入得到的指令,或者也可以是在某个用于拍摄的实体按键上进行的双击、按压等等输入得到的指令。在接收用户的拍摄输入指令之后,可以得到拍摄照片。并且,该拍摄照片可以保存在指定的路径。In this embodiment, the above-mentioned user's shooting input instruction may be an instruction obtained by inputting a single click, pressing, double-clicking, etc., on a virtual button displayed on the display screen, or it may be on a physical button used for shooting. Double-click, press, etc. to input the command. After receiving the user's shooting input instruction, the shooting photo can be obtained. And, the taken photo can be saved in the specified path.
拍摄照片生成之后,对应的路径会有新文件,通过判断刚刚保存的拍摄照片是否已经存在,确认拍照是否完成。完成则进入下一步,如果没有则保持现状,或者再次拍照。需要说明的是,照片缓冲之后,也可以直接显示缓存的照片,所以此处及后面的显示也可以基于缓冲文件是否已经生成,只要使用相同的数据来源就可以。After the captured photo is generated, the corresponding path will have a new file. By judging whether the captured photo just saved already exists, confirm whether the photo is completed. When finished, go to the next step, if not, keep the status quo or take another photo. It should be noted that after the photo is buffered, the cached photo can also be displayed directly, so the display here and later can also be based on whether the buffer file has been generated, as long as the same data source is used.
步骤103、电子设备在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。Step 103: The electronic device displays the taken photo in the first area of the display screen, and displays the preview photo in the second area of the display screen.
本实施例中,步骤103中的预览照片与步骤101中的预览照片可以相同,也可以不同。若用户移动了电子设备,那么步骤103和步骤101中的预览照片可以不同;若用户没有移动电子设备,那么步骤103和步骤101中的预览照片也可以相同。In this embodiment, the preview photo in step 103 and the preview photo in step 101 may be the same or different. If the user moves the electronic device, the preview photos in step 103 and step 101 can be different; if the user does not move the electronic device, then the preview photos in step 103 and step 101 can also be the same.
本实施例中,上述第一显示区域与第二显示区域为不同的显示区域。用户可以对拍照主界面进行重新显示布局,通过在一个线性布局或者一个相对布局中定义两个控件,并设置两个控件的weight都为1,达到把整个显示屏按照1:1分为两个部分,即layout1和layout2;定义layout1为拍照前预览界面,提供给用户实时的预览图像,类同现在的拍照界面,具体layout1里面的界面如何布局,以及包含哪些功能,可再布局。例如,layout1左上角可以存在一个矩形的控件,该控件用于调整图像的对比度,layout1右上角可以存在一个圆形的控件,该控件用于调整图像的亮度等等。定义layout2为照片生成 之后的预览界面,在接收用户的一些输入之后,可整个显示屏即为预览界面,也可在界面上加上一些关闭以及返回按钮等等。In this embodiment, the above-mentioned first display area and the second display area are different display areas. The user can redisplay the layout of the main camera interface. By defining two controls in a linear layout or a relative layout, and setting the weight of both controls to 1, the entire display screen can be divided into two 1:1 Part, namely layout1 and layout2; define layout1 as the pre-photograph preview interface, providing users with real-time preview images, similar to the current photographing interface, how the interface in layout1 is laid out, and what functions it contains, can be laid out again. For example, there can be a rectangular control in the upper left corner of layout1, which is used to adjust the contrast of the image, and there can be a circular control in the upper right corner of layout1, which is used to adjust the brightness of the image and so on. Define layout2 as the preview interface after the photo is generated. After receiving some input from the user, the entire display screen can be the preview interface, or some close and return buttons can be added to the interface.
当电子设备为折叠屏电子设备时,在折叠屏和打开显示屏的时候可以进行相应的操作;当显示屏折叠时,可以通过设置属性为invisible隐藏layout2照片预览界面,当折叠屏打开的时候,显示屏显示区域较大,这时通过把layout2的属性设置为visible,展示照片预览界面;如果用户拍完照,需要把照片显示的更大,能看的更清楚的话,可以提供手动把layout1完全隐藏的功能,让整块折叠屏全屏显示已拍摄生成的照片,让照片显示像放到物理相册上一样效果。When the electronic device is a folding screen electronic device, corresponding operations can be performed when the screen is folded and the display is opened; when the display is folded, the layout2 photo preview interface can be hidden by setting the attribute to invisible. When the folding screen is opened, The display area of the display screen is larger. At this time, you can display the photo preview interface by setting the attribute of layout2 to visible; if the user needs to display the photo larger and see more clearly after taking the photo, you can provide manual layout1. The hidden function allows the entire folding screen to display the photos that have been taken in full screen, so that the photos are displayed as if they are placed on a physical album.
拍摄照片已经生成的情况下,获取拍摄照片的照片信息,可以通过surface view绘制显示照片在layout2区域;也可以通过其他控件,比如image view,设置数据来源是为该照片,把拍摄照片显示在layout2区域。如果之前拍摄了多张照片,则可以通过在layout2区域响应左右滑动操作来查看,向左滑动则加载后一张照片并显示在layout2区域,如果向右滑则加载前一张照片并显示在layout2区域。When the captured photo has been generated, to obtain the photo information of the captured photo, you can draw and display the photo in the layout2 area through surface view; you can also use other controls, such as image view, to set the data source to this photo, and display the captured photo in layout2 area. If you have taken multiple photos before, you can view them by swiping left and right in the layout2 area. If you swipe to the left, the next photo will be loaded and displayed in the layout2 area. If you swipe to the right, the previous photo will be loaded and displayed in layout2. area.
本实施例中,直接在上述显示屏的第一区域显示上述拍摄照片,且在上述显示屏的第二区域显示预览照片。从而无需用户点击拍摄界面的小缩略图,再跳转到相册中查看拍摄的照片,而是直接在第一区域显示拍摄照片,从而可以简化查看已拍摄照片的过程。In this embodiment, the photographed photo is directly displayed in the first area of the display screen, and the preview photo is displayed in the second area of the display screen. There is no need for the user to click on the small thumbnail of the shooting interface, and then jump to the album to view the captured photos, but directly display the captured photos in the first area, which can simplify the process of viewing the captured photos.
本公开实施例中,上述电子设备可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等等。In the embodiments of the present disclosure, the above-mentioned electronic equipment may be a mobile phone, a tablet (Personal Computer), a laptop (a laptop computer), a personal digital assistant (personal digital assistant, PDA), a mobile Internet device (Mobile Internet Device, MID). ) Or wearable device (Wearable Device) and so on.
可选的,所述显示屏包括:折叠屏,所述折叠屏包括第一屏和第二屏,所述第一区域为所述第一屏中的显示区域,所述第二区域为所述第二屏中的显示区域。Optionally, the display screen includes a folding screen, the folding screen includes a first screen and a second screen, the first area is a display area in the first screen, and the second area is the The display area in the second screen.
本实施方式中,为了更好的理解上述显示屏,请参阅图2,图2为本公开实施例提供的电子设备的示意图。如图2所示,电子设备的显示屏包括:折叠屏,折叠屏包括第一屏和第二屏。在拍摄得到拍摄照片之后,可以直接将 拍摄照片在第一屏进行显示,在第二屏可以继续显示预览照片,并进行后续的拍照。In this embodiment, in order to better understand the above-mentioned display screen, please refer to FIG. 2, which is a schematic diagram of an electronic device provided by an embodiment of the disclosure. As shown in FIG. 2, the display screen of the electronic device includes a folding screen, and the folding screen includes a first screen and a second screen. After the captured photo is taken, the captured photo can be directly displayed on the first screen, and the preview photo can be displayed on the second screen, and subsequent photos can be taken.
本实施方式中,上述第一区域可以是第一屏所有的显示区域,或者也可以是第一屏部分的显示区域;上述第二区域可以是第二屏所有的显示区域,或者也可以是第二屏部分的显示区域。这样,在折叠屏的第一屏上显示拍摄照片,在折叠屏的第二屏上显示预览照片,用户可以同时查看拍摄照片和预览照片,简化用户查看已拍摄照片的过程。其次,折叠屏的第一屏和第二屏相互之间不会产生干扰,并且有足够的显示区域,可以有一个较好的显示效果。In this embodiment, the first area may be all the display areas of the first screen, or it may be a part of the display area of the first screen; the second area may be all the display areas of the second screen, or it may be the display area of the second screen. The display area of the second screen part. In this way, the captured photo is displayed on the first screen of the folding screen, and the preview photo is displayed on the second screen of the folding screen. The user can view the captured photo and the preview photo at the same time, which simplifies the user's process of viewing the captured photos. Secondly, the first screen and the second screen of the folding screen will not interfere with each other, and there is enough display area to have a better display effect.
可选的,所述在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片,包括:Optionally, the displaying the taken photo in the first area of the display screen and displaying the preview photo in the second area of the display screen includes:
在所述第一屏与所述第二屏的夹角大于预设夹角阈值的情况下,在所述第一屏的显示区域显示所述拍摄照片,且在所述第二屏的显示区域显示预览照片。In the case where the included angle between the first screen and the second screen is greater than the preset included angle threshold, the taken photo is displayed in the display area of the first screen, and the taken photo is displayed in the display area of the second screen Show preview photos.
本实施方式中,在上述第一屏与上述第二屏的夹角大于预设夹角阈值的情况下,在上述第一屏的显示区域显示上述拍摄照片,且在上述第二屏的显示区域显示预览照片,从而可以在折叠屏以较大角度展开的情况下同时显示拍摄照片和预览照片,便于用户查看。In this embodiment, when the included angle between the first screen and the second screen is greater than the preset included angle threshold, the captured photo is displayed in the display area of the first screen, and the captured photo is displayed in the display area of the second screen. The preview photo is displayed, so that the taken photo and the preview photo can be displayed at the same time when the folding screen is expanded at a larger angle, which is convenient for users to view.
需要说明的是,在上述第一屏与上述第二屏的夹角小于或者等于预设夹角阈值的情况下,可以仅在第二屏的显示区域显示预览照片,第一屏的显示区域可以不显示任何内容。It should be noted that in the case where the included angle between the first screen and the second screen is less than or equal to the preset included angle threshold, the preview photo may be displayed only in the display area of the second screen, and the display area of the first screen may be Nothing is displayed.
可选的,所述在所述第一屏的显示区域显示所述拍摄照片,包括:Optionally, the displaying the captured photo in the display area of the first screen includes:
接收用户的相册启动指令,启动相册应用程序;Receive the user's photo album start instruction and start the photo album application;
在所述第一屏的显示区域显示所述相册应用程序中的所述拍摄照片。The captured photo in the photo album application is displayed in the display area of the first screen.
本实施方式中,上述启动相册应用程序,是在第一屏与第二屏的夹角大于预设夹角阈值的情况下,启动相册应用程序,进而在上述第一屏的显示区域显示上述相册应用程序中的上述拍摄照片。In this embodiment, starting the photo album application program is to start the photo album application program when the included angle between the first screen and the second screen is greater than the preset included angle threshold, and then display the photo album in the display area of the first screen. The above-mentioned take photos in the app.
本实施方式中,针对向内折叠显示屏或者向外折叠显示屏的电子设备,把的折叠屏的两个屏分别标识为第一屏和第二屏。打开相机应用,并设置显 示区域为第二屏,使其在折叠屏的第二屏上打开。通过相机应用上的拍照按钮进行拍照(也可以通过其他快捷键方式进行拍照),并在拍照按键按下的时候保存拍摄照片,同时设置相册应用的显示区域标识为第一屏。In this embodiment, for an electronic device that folds a display screen inwardly or folds a display screen outwardly, the two screens of the folding screen are respectively identified as the first screen and the second screen. Open the camera application and set the display area to the second screen to open it on the second screen of the folding screen. Take pictures through the camera button on the camera application (you can also take pictures through other shortcut keys), save the taken picture when the camera button is pressed, and set the display area of the photo album application as the first screen.
检测到照片生成之后,判断此时折叠屏是否是折叠状态,如果是折叠状态(第一屏与第二屏的夹角小于或者等于预设夹角阈值)则相册应用不打开。如果检测到是打开状态(第一屏与第二屏的夹角大于预设夹角阈值),那么自动打开相册应用,并默认显示刚才拍的照片,实现在拍照完成的时候自动打开相册应用显示照片。即当一个应用有操作会跳转到另一个应用的时候,在折叠屏处于折叠状态时实现联动,在拍照这个场景下,就是拍摄照片生成的时候自动启动查看照片的相册应用,简化用户的操作,使用户操作更加便捷。After detecting the photo generation, it is judged whether the folding screen is in the folded state at this time. If it is in the folded state (the angle between the first screen and the second screen is less than or equal to the preset angle threshold), the album application will not open. If it is detected to be in the open state (the angle between the first screen and the second screen is greater than the preset angle threshold), then the photo album application will be automatically opened, and the photo just taken will be displayed by default, so that the photo album application will be displayed automatically when the photo is completed photo. That is, when an application has an operation that will jump to another application, the linkage is realized when the folding screen is in the folded state. In the scene of taking a picture, the photo album application is automatically launched when the photo is taken, which simplifies the user's operation , Make user operation more convenient.
可选的,在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片之后,所述方法还包括:Optionally, after the captured photo is displayed in the first area of the display screen, and the preview photo is displayed in the second area of the display screen, the method further includes:
接收用户的第一输入;Receive the user's first input;
响应于所述第一输入,在所述第一区域和所述第二区域显示所述拍摄照片。In response to the first input, the captured photo is displayed in the first area and the second area.
本实施方式中,上述第一输入可以是单击、双击或者滑动等等输入。当然第一输入还可以在预设区域进行的输入,以实现对应的功能。这样,在接收用户的第一输入之后,可以响应于上述第一输入,在上述第一区域和上述第二区域显示上述拍摄照片,即通过第一区域和第二区域共同显示拍摄照片,如通过折叠屏所有的显示区域显示拍摄照片,使拍摄照片可以有更好的显示效果,便于用户更清醒的查看照片的细节。In this embodiment, the above-mentioned first input may be input such as single click, double click, or sliding. Of course, the first input can also be input in the preset area to realize the corresponding function. In this way, after receiving the first input from the user, the captured photo can be displayed in the first area and the second area in response to the first input, that is, the captured photo is displayed in the first area and the second area together, such as through All the display areas of the folding screen display the taken photos, so that the taken photos can have a better display effect, and it is convenient for users to view the details of the photos more clearly.
本公开实施例的一种照片查看方法,应用于电子设备,在所述电子设备的显示屏显示预览照片;接收用户的拍摄输入指令,得到拍摄照片;在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。从而无需用户点击拍摄界面的小缩略图,再跳转到相册中查看拍摄的照片,而是直接在第一区域显示拍摄照片,从而可以简化查看已拍摄照片的过程。A photo viewing method according to an embodiment of the present disclosure is applied to an electronic device, displaying a preview photo on the display screen of the electronic device; receiving a user's shooting input instruction to obtain the captured photo; and displaying all photos in the first area of the display screen. The picture is taken, and the preview picture is displayed in the second area of the display screen. There is no need for the user to click on the small thumbnail of the shooting interface, and then jump to the album to view the captured photos, but directly display the captured photos in the first area, which can simplify the process of viewing the captured photos.
参见图3,图3是本公开实施例提供的电子设备的结构图,能实现上述实施例中照片查看方法的细节,并达到相同的效果。如图3所示,电子设备 300包括第一显示模块301、拍摄模块302和第二显示模块303,第一显示模块301和拍摄模块302连接,拍摄模块302和第二显示模块303连接,其中:Referring to FIG. 3, FIG. 3 is a structural diagram of an electronic device provided by an embodiment of the present disclosure, which can realize the details of the photo viewing method in the foregoing embodiment and achieve the same effect. As shown in FIG. 3, the electronic device 300 includes a first display module 301, a photographing module 302, and a second display module 303. The first display module 301 is connected to the photographing module 302, and the photographing module 302 is connected to the second display module 303, wherein:
第一显示模块301,用于在所述电子设备的显示屏显示预览照片;The first display module 301 is configured to display preview photos on the display screen of the electronic device;
拍摄模块302,用于接收用户的拍摄输入指令,得到拍摄照片;The shooting module 302 is used to receive a user's shooting input instruction to obtain a shooting photo;
第二显示模块303,用于在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。The second display module 303 is configured to display the taken photo in the first area of the display screen, and display the preview photo in the second area of the display screen.
可选的,所述显示屏包括:折叠屏,所述折叠屏包括第一屏和第二屏,所述第一区域为所述第一屏中的显示区域,所述第二区域为所述第二屏中的显示区域。Optionally, the display screen includes a folding screen, the folding screen includes a first screen and a second screen, the first area is a display area in the first screen, and the second area is the The display area in the second screen.
可选的,所述第二显示模块303,用于:在所述第一屏与所述第二屏的夹角大于预设夹角阈值的情况下,在所述第一屏的显示区域显示所述拍摄照片,且在所述第二屏的显示区域显示预览照片。Optionally, the second display module 303 is configured to display in the display area of the first screen when the included angle between the first screen and the second screen is greater than a preset included angle threshold The photo is taken, and a preview photo is displayed in the display area of the second screen.
可选的,所述第二显示模块303,包括:Optionally, the second display module 303 includes:
启动子模块,用于接收用户的相册启动指令,启动相册应用程序;The start sub-module is used to receive the user's photo album start instruction and start the photo album application;
显示子模块,用于在所述第一屏的显示区域显示所述相册应用程序中的所述拍摄照片。The display sub-module is configured to display the taken photo in the photo album application in the display area of the first screen.
可选的,所述电子设备还包括:Optionally, the electronic device further includes:
接收模块,用于接收用户的第一输入;The receiving module is used to receive the user's first input;
第三显示模块,用于响应于所述第一输入,在所述第一区域和所述第二区域显示所述拍摄照片。The third display module is configured to display the taken photo in the first area and the second area in response to the first input.
电子设备300能实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 300 can implement various processes implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
本公开实施例的电子设备300,第一显示模块301,用于在所述电子设备的显示屏显示预览照片;拍摄模块302,用于接收用户的拍摄输入指令,得到拍摄照片;第二显示模块303,用于在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。本公开实施例可以简化查看拍摄照片的过程。In the electronic device 300 of the embodiment of the present disclosure, the first display module 301 is used to display preview photos on the display screen of the electronic device; the shooting module 302 is used to receive the user's shooting input instructions to obtain the shooting photos; the second display module 303, configured to display the taken photo in a first area of the display screen, and display a preview photo in a second area of the display screen. The embodiments of the present disclosure can simplify the process of viewing and shooting photos.
参见图4,图4为实现本公开各个实施例的一种电子设备的硬件结构示意图,该电子设备400包括但不限于:射频单元401、网络模块402、音频输 出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。4, FIG. 4 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present disclosure. The electronic device 400 includes, but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, and a sensor. 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, a power supply 411 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 4 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present disclosure, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle terminals, wearable devices, and pedometers.
其中,处理器410,用于控制显示单元406在所述电子设备的显示屏显示预览照片;接收用户的拍摄输入指令,得到拍摄照片;控制显示单元406在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。本公开实施例可以简化查看拍摄照片的过程。Wherein, the processor 410 is configured to control the display unit 406 to display preview photos on the display screen of the electronic device; to receive the user's shooting input instruction to obtain the taken photos; to control the display unit 406 to display all the photos in the first area of the display screen. The picture is taken, and the preview picture is displayed in the second area of the display screen. The embodiments of the present disclosure can simplify the process of viewing and shooting photos.
可选的,所述显示屏包括:折叠屏,所述折叠屏包括第一屏和第二屏,所述第一区域为所述第一屏中的显示区域,所述第二区域为所述第二屏中的显示区域。Optionally, the display screen includes a folding screen, the folding screen includes a first screen and a second screen, the first area is a display area in the first screen, and the second area is the The display area in the second screen.
可选的,处理器410,还用于在所述第一屏与所述第二屏的夹角大于预设夹角阈值的情况下,在所述第一屏的显示区域显示所述拍摄照片,且在所述第二屏的显示区域显示预览照片。Optionally, the processor 410 is further configured to display the captured photo in the display area of the first screen when the included angle between the first screen and the second screen is greater than a preset included angle threshold. , And a preview photo is displayed in the display area of the second screen.
可选的,处理器410,还用于接收用户的相册启动指令,启动相册应用程序;在所述第一屏的显示区域显示所述相册应用程序中的所述拍摄照片。Optionally, the processor 410 is further configured to receive a user's album activation instruction and start the album application program; and display the taken photos in the album application program in the display area of the first screen.
可选的,处理器410,还用于接收用户的第一输入;响应于所述第一输入,在所述第一区域和所述第二区域显示所述拍摄照片。Optionally, the processor 410 is further configured to receive a first input of a user; in response to the first input, display the taken photo in the first area and the second area.
应理解的是,本公开实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输 出单元403还可以提供与电子设备400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
电子设备400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在电子设备400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light. The proximity sensor can close the display panel 4061 and the display panel 4061 when the electronic device 400 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏, 可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operating). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed. In addition, the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can cover the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 4061. Although in FIG. 4, the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元408为外部装置与电子设备400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(Input/Output,I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备400内的一个或多个元件或者可以用于在电子设备400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device and the electronic device 400. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc. The interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 400 or can be used to connect to the electronic device 400 and the external device. Transfer data between devices.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如 至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器410是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器410可包括一个或多个处理单元;可选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 409, and calls the data stored in the memory 409 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 410 may include one or more processing units; optionally, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
电子设备400还可以包括给各个部件供电的电源411(比如电池),可选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components. Optionally, the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备400包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 400 includes some functional modules not shown, which will not be repeated here.
可选的,本公开实施例还提供一种电子设备,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述照片查看方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides an electronic device, including a processor 410, a memory 409, a computer program stored in the memory 409 and running on the processor 410, and the computer program is executed by the processor 410 The various processes of the above embodiment of the photo viewing method can be realized at a time, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述照片查看方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above embodiment of the photo viewing method is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the present disclosure.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which is not repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述的程序可存储于计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by controlling the relevant hardware through a computer program. The program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present disclosure may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, and sub-units can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSP Device, DSPD) ), programmable logic devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to implement this disclosure Described functions in other electronic units or combinations thereof.
对于软件实现,可通过执行本公开实施例所述功能的模块(例如过程、函数等)来实现本公开实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the technology described in the embodiments of the present disclosure can be implemented through modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure. The software codes can be stored in the memory and executed by the processor. The memory can be implemented in the processor or external to the processor.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, without departing from the purpose of the present disclosure and the scope of protection of the claims, many forms can be made, all of which fall within the protection of the present disclosure.

Claims (12)

  1. 一种照片查看方法,应用于电子设备,包括:A photo viewing method applied to electronic equipment, including:
    在所述电子设备的显示屏显示预览照片;Displaying a preview photo on the display screen of the electronic device;
    接收用户的拍摄输入指令,得到拍摄照片;Receive the user's shooting input instruction to obtain the shooting photo;
    在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片。The taken photo is displayed in the first area of the display screen, and the preview photo is displayed in the second area of the display screen.
  2. 根据权利要求1所述的方法,其中,所述显示屏包括:折叠屏,所述折叠屏包括第一屏和第二屏,所述第一区域为所述第一屏中的显示区域,所述第二区域为所述第二屏中的显示区域。The method according to claim 1, wherein the display screen comprises: a folding screen, the folding screen comprises a first screen and a second screen, the first area is a display area in the first screen, and The second area is a display area in the second screen.
  3. 根据权利要求2所述的方法,其中,所述在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片,包括:The method according to claim 2, wherein the displaying the taken photo in the first area of the display screen and displaying the preview photo in the second area of the display screen comprises:
    在所述第一屏与所述第二屏的夹角大于预设夹角阈值的情况下,在所述第一屏的显示区域显示所述拍摄照片,且在所述第二屏的显示区域显示预览照片。In the case where the included angle between the first screen and the second screen is greater than the preset included angle threshold, the taken photo is displayed in the display area of the first screen, and the taken photo is displayed in the display area of the second screen Show preview photos.
  4. 根据权利要求3所述的方法,其中,所述在所述第一屏的显示区域显示所述拍摄照片,包括:The method according to claim 3, wherein the displaying the taken photo in the display area of the first screen comprises:
    接收用户的相册启动指令,启动相册应用程序;Receive the user's photo album start instruction and start the photo album application;
    在所述第一屏的显示区域显示所述相册应用程序中的所述拍摄照片。The captured photo in the photo album application is displayed in the display area of the first screen.
  5. 根据权利要求1所述的方法,其中,在所述显示屏的第一区域显示所述拍摄照片,且在所述显示屏的第二区域显示预览照片之后,所述方法还包括:The method according to claim 1, wherein after displaying the taken photo in the first area of the display screen and displaying the preview photo in the second area of the display screen, the method further comprises:
    接收用户的第一输入;Receive the user's first input;
    响应于所述第一输入,在所述第一区域和所述第二区域显示所述拍摄照片。In response to the first input, the captured photo is displayed in the first area and the second area.
  6. 一种电子设备,包括:An electronic device including:
    第一显示模块,用于在所述电子设备的显示屏显示预览照片;The first display module is configured to display preview photos on the display screen of the electronic device;
    拍摄模块,用于接收用户的拍摄输入指令,得到拍摄照片;The shooting module is used to receive the user's shooting input instructions to obtain the shooting photos;
    第二显示模块,用于在所述显示屏的第一区域显示所述拍摄照片,且在 所述显示屏的第二区域显示预览照片。The second display module is configured to display the taken photo in the first area of the display screen, and display the preview photo in the second area of the display screen.
  7. 根据权利要求6所述的电子设备,其中,所述显示屏包括:折叠屏,所述折叠屏包括第一屏和第二屏,所述第一区域为所述第一屏中的显示区域,所述第二区域为所述第二屏中的显示区域。The electronic device according to claim 6, wherein the display screen comprises: a folding screen, the folding screen comprises a first screen and a second screen, and the first area is a display area in the first screen, The second area is a display area in the second screen.
  8. 根据权利要求7所述的电子设备,其中,所述第二显示模块,用于:在所述第一屏与所述第二屏的夹角大于预设夹角阈值的情况下,在所述第一屏的显示区域显示所述拍摄照片,且在所述第二屏的显示区域显示预览照片。8. The electronic device according to claim 7, wherein the second display module is configured to: when the included angle between the first screen and the second screen is greater than a preset included angle threshold, The display area of the first screen displays the taken photo, and the display area of the second screen displays a preview photo.
  9. 根据权利要求8所述的电子设备,其中,所述第二显示模块,包括:The electronic device according to claim 8, wherein the second display module comprises:
    启动子模块,用于接收用户的相册启动指令,启动相册应用程序;The start sub-module is used to receive the user's photo album start instruction and start the photo album application;
    显示子模块,用于在所述第一屏的显示区域显示所述相册应用程序中的所述拍摄照片。The display sub-module is configured to display the taken photo in the photo album application in the display area of the first screen.
  10. 根据权利要求6所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 6, wherein the electronic device further comprises:
    接收模块,用于接收用户的第一输入;The receiving module is used to receive the user's first input;
    第三显示模块,用于响应于所述第一输入,在所述第一区域和所述第二区域显示所述拍摄照片。The third display module is configured to display the taken photo in the first area and the second area in response to the first input.
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的照片查看方法的步骤。An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any of claims 1 to 5 One of the steps of the photo viewing method.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的照片查看方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the photo viewing method according to any one of claims 1 to 5 are realized.
PCT/CN2020/123893 2019-10-31 2020-10-27 Photo viewing method and electronic device WO2021083114A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911074320.0A CN110865752A (en) 2019-10-31 2019-10-31 Photo viewing method and electronic equipment
CN201911074320.0 2019-10-31

Publications (1)

Publication Number Publication Date
WO2021083114A1 true WO2021083114A1 (en) 2021-05-06

Family

ID=69653229

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/123893 WO2021083114A1 (en) 2019-10-31 2020-10-27 Photo viewing method and electronic device

Country Status (2)

Country Link
CN (1) CN110865752A (en)
WO (1) WO2021083114A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865752A (en) * 2019-10-31 2020-03-06 维沃移动通信有限公司 Photo viewing method and electronic equipment
CN111596990B (en) * 2020-04-28 2023-06-09 维沃移动通信(杭州)有限公司 Picture display method and device
CN116126202A (en) * 2021-11-12 2023-05-16 Oppo广东移动通信有限公司 Interface display method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140344739A1 (en) * 2013-05-14 2014-11-20 Samsung Electronics Co., Ltd. Method for providing contents curation service and an electronic device thereof
CN104980659A (en) * 2015-06-30 2015-10-14 广州三星通信技术研究有限公司 Electronic terminal for controlling shooting display and control method thereof
CN107800878A (en) * 2017-10-19 2018-03-13 广东欧珀移动通信有限公司 image display method and device
CN107846515A (en) * 2017-11-07 2018-03-27 广东欧珀移动通信有限公司 shooting parameter adjustment method, device and terminal
CN109194839A (en) * 2018-10-30 2019-01-11 维沃移动通信(杭州)有限公司 A kind of display control method and terminal
CN110865752A (en) * 2019-10-31 2020-03-06 维沃移动通信有限公司 Photo viewing method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3734404A1 (en) * 2011-02-10 2020-11-04 Samsung Electronics Co., Ltd. Portable device comprising a touch-screen display, and method for controlling same
KR101880913B1 (en) * 2012-07-03 2018-07-23 삼성전자 주식회사 Method and apparatus for controlling flexible display panel
CN107678661A (en) * 2017-10-19 2018-02-09 广东欧珀移动通信有限公司 The method and apparatus of display data content

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140344739A1 (en) * 2013-05-14 2014-11-20 Samsung Electronics Co., Ltd. Method for providing contents curation service and an electronic device thereof
CN104980659A (en) * 2015-06-30 2015-10-14 广州三星通信技术研究有限公司 Electronic terminal for controlling shooting display and control method thereof
CN107800878A (en) * 2017-10-19 2018-03-13 广东欧珀移动通信有限公司 image display method and device
CN107846515A (en) * 2017-11-07 2018-03-27 广东欧珀移动通信有限公司 shooting parameter adjustment method, device and terminal
CN109194839A (en) * 2018-10-30 2019-01-11 维沃移动通信(杭州)有限公司 A kind of display control method and terminal
CN110865752A (en) * 2019-10-31 2020-03-06 维沃移动通信有限公司 Photo viewing method and electronic equipment

Also Published As

Publication number Publication date
CN110865752A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
US12105935B2 (en) Method for displaying background application and mobile terminal
WO2019228294A1 (en) Object sharing method and mobile terminal
WO2021109907A1 (en) Application sharing method, first electronic device and computer-readable storage medium
WO2021104321A1 (en) Image display method and electronic device
WO2020151519A1 (en) Information input method, terminal device, and computer-readable storage medium
WO2021098677A1 (en) Display method and electronic device
WO2020220991A1 (en) Screen capture method, terminal device and computer-readable storage medium
WO2021012931A1 (en) Icon management method and terminal
WO2021082716A1 (en) Information processing method and electronic device
WO2020238497A1 (en) Icon moving method and terminal device
WO2021098672A1 (en) Display method and electronic device
WO2021098705A1 (en) Display method and electronic device
WO2020182035A1 (en) Image processing method and terminal device
WO2020259015A1 (en) Screen mirroring method and mobile terminal
WO2021083087A1 (en) Screen capturing method and terminal device
WO2020238449A1 (en) Notification message processing method and terminal
WO2021083114A1 (en) Photo viewing method and electronic device
WO2020151513A1 (en) Information processing method and terminal device
WO2021115172A1 (en) Display method and electronic device
WO2019184947A1 (en) Image viewing method and mobile terminal
WO2020259091A1 (en) Screen content display method and terminal
WO2020156118A1 (en) Management method and terminal apparatus
WO2021082772A1 (en) Screenshot method and electronic device
WO2021077908A1 (en) Parameter adjusting method and electronic device

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20882031

Country of ref document: EP

Kind code of ref document: A1

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20882031

Country of ref document: EP

Kind code of ref document: A1