Picture taking method, apparatus, and electronic device

The proposed picture-taking method simplifies the activation of under-screen cameras by allowing users to activate the camera by moving a picture to a specific area on the screen, addressing the mechanical and cumbersome nature of conventional methods and improving user convenience.

JP7691490B2Active Publication Date: 2025-06-11VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023508496
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-08-07
Filing Date
2021-08-04
Publication Date
2025-06-11
Estimated Expiration
2041-08-04

AI Technical Summary

Technical Problem

The conventional under-screen camera activation method is mechanical and cumbersome, requiring users to search for the camera icon among multiple theme interfaces and application program icons, making it inconvenient for user operation.

Method used

A picture-taking method that activates the under-screen camera by moving a picture to a specific area on the screen corresponding to the camera's position, eliminating the need for manual icon selection and simplifying the activation process.

Benefits of technology

This method allows users to activate the under-screen camera with a simple picture movement operation, reducing the complexity and time required for activation, thereby enhancing user convenience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007691490000001
    Figure 0007691490000001
  • Figure 0007691490000002
    Figure 0007691490000002
  • Figure 0007691490000003
    Figure 0007691490000003
Patent Text Reader

Abstract

This application discloses a picture capturing method, device, and electronic device, belonging to the mobile terminal technical field. The method includes activating an under-screen camera when a first picture moves to a first area, where the first area is a screen area corresponding to the location of the under-screen camera. In an embodiment of the application, a user can activate the under-screen camera by simply performing a picture movement operation, which is flexible and convenient to use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] (Cross - reference to related applications) This application claims the priority of Chinese Patent Application No. 202010791067.7, filed in China on August 7, 2020, and the entire content of the same application is incorporated herein by reference.

[0002] This application belongs to the technical field of mobile terminals, and specifically relates to a picture - taking method, apparatus, and electronic device.

Background Art

[0003] An under - screen camera sets the camera under the electronic device screen panel, and when it is necessary to use the under - screen camera, the under - screen camera is turned on for shooting. The under - screen camera technology does not require opening holes in the screen panel or setting water - droplet - shaped notches, and can achieve a true full - screen.

[0004] Currently, when the user needs to turn on the under - screen camera, the user needs to switch the screen theme interface to find the camera icon of the under - screen camera, and then click on the camera icon to start the camera for shooting. The above process of starting the under - screen camera for shooting requires the user to perform multiple operations, and the steps are mechanical and cumbersome. Especially when the electronic device has multiple theme interfaces and a large number of application program icons, the user always needs a long time to find the under - screen camera icon, which is inconvenient for the user's operation.

Summary of the Invention

Problems to be Solved by the Invention

[0005] The objective of the embodiments of this application is to provide a picture-taking method that can solve the problem that the conventional under-screen camera activation method is mechanical and cumbersome, and inconvenient for user operation.

Means for Solving the Problem

[0006] To solve the above technical problems, this application is realized as follows.

[0007] According to a first aspect, the embodiments of this application provide a picture-taking method, and this method includes when a first picture moves to a first area, activating an under-screen camera, where the first area is a screen area corresponding to the position where the under-screen camera is located.

[0008] According to a second aspect, the embodiments of this application provide a picture-taking device, and this device includes an activation module for activating an under-screen camera when a first picture moves to a first area, where the first area is a screen area corresponding to the position where the under-screen camera is located.

[0009] According to a third aspect, the embodiments of this application provide an electronic device, and this electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are realized.

[0010] According to a fourth aspect, the embodiments of this application provide a readable storage medium, where a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are realized.

[0011] According to a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, and the processor running a program or instructions and being used to implement the method described in the first aspect.

Advantages of the Invention

[0012] In an embodiment of the present application, when a first picture moves to a first area, by activating an under-screen camera, the first area is a screen area corresponding to the position where the under-screen camera is located. In an embodiment of the present application, when it is detected that the first picture has moved to a screen area corresponding to the position where the under-screen camera is located, the under-screen camera can be activated, thereby performing picture taking, and the user can activate the under-screen camera by performing a simple picture movement operation. The operation is flexible and convenient to use.

Brief Description of the Drawings

[0013]

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Embodiments for Carrying Out the Invention

[0014] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present application.

[0015] Terms such as "first" and "second" in the specification and claims of the present application are used to distinguish similar objects and are not for describing a specific order or sequence. It should be understood that such data can be exchanged when appropriate, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the related objects before and after are in an "or" relationship.

[0016] The following will detail the picture taking method according to the embodiments of the present application with reference to the drawings, in conjunction with specific embodiments and their application scenarios.

[0017] Referring to FIG. 1, a flowchart of the steps of the picture taking method according to the embodiments of the present application is shown. Here, this method may include S100.

[0018] In actual applications, this method may be used in an electronic device, and this electronic device may be a terminal device with an under-screen camera such as a mobile phone or a tablet computer.

[0019] In S100, when the first picture moves to the first area, the underscreen camera is activated, where the first area is a screen area corresponding to the position where the underscreen camera is located.

[0020] In the above S100, when it is detected that one or more pictures have moved into the screen area corresponding to the position where the underscreen camera is located, the underscreen camera is activated, that is, the imaging function is triggered, thereby performing picture taking. When a shooting command is received, the corresponding target picture is generated to complete the picture taking process. In the above control method, by simply moving at least one picture inside the prompt box, the activation of the underscreen camera can be triggered, the operation is simple, flexible, and rapid, avoiding the cumbersome operation of searching for the camera icon from a large number of application program icons, saving time for the user to activate the underscreen camera, and being advantageous for quickly activating the underscreen camera to quickly capture the disappearing screen in an instant.

[0021] Optionally, in one embodiment, in the picture taking method according to the embodiment of the present application, before S100, it further includes S1001.

[0022] In S1001, a prompt box of the underscreen camera is displayed in the first area of the preset interface.

[0023] In this S1001, the pre-set interface is a screen interface that is pre-set and can display the camera's prompt box. In actual applications, this pre-set interface is often a screen interface that needs to use the camera to take photos or videos, such as a screen lock interface, a high board interface, a smart scenario interface, an album interface, and a photo-taking interface. In actual applications, this pre-set interface may be selected by the user to add or remove according to their own usage needs.

[0024] The prompt box is displayed on the screen and is used to indicate the specific position of the under-screen camera. The display position of this prompt box on the screen corresponds to the position of the under-screen camera. Specifically, the prompt box is displayed on the screen directly above the under-screen camera to easily and intuitively indicate the specific position of the under-screen camera.

[0025] This embodiment can accurately inform the user of the position where the under-screen camera exists by displaying the prompt box of the under-screen camera in the first area of the screen, and further facilitate the user to move at least one first picture into the screen area corresponding to the position where the under-screen camera exists, thereby quickly activating the under-screen camera to take pictures.

[0026] In actual applications, this prompt box is displayed on the screen in the form of a dotted box and can display the corresponding prompt information. Specifically, reference may be made to FIG. 2, which shows a schematic diagram of the display of the prompt box of the screen lock interface. The prompt box is displayed on the screen at the position where the under-screen camera exists in dotted line form and prompts "Your camera is here".

[0027] Optionally, in one form of implementing the invention, the user can directly click on the dotted box of the prompt box a preset number of times, for example, twice, to similarly and rapidly wake up the under-screen camera, eliminating the need to search for and click on the camera icon to activate the under-screen camera.

[0028] Optionally, in one form of implementing the invention, specifically, S1001 includes displaying a prompt box for the under-screen camera in the first region of the preset interface when a preset control is turned on.

[0029] Here, the preset control is used to control the prompt box to be turned on or off. This preset control may be displayed on the screen interface in a way like a floating ball or set in the menu bar of the electronic device. This preset control has two states: on and off. When the preset control is clicked to turn it on, it can be realized that the prompt box is controlled to be displayed on the preset interface. When the preset control is clicked to turn it off, it can be controlled that the prompt box is not displayed on the preset interface.

[0030] In the form of implementing this application, when the preset control is turned on and the preset interface is detected, it is advantageous to display the prompt box of the under-screen camera in the first region of the screen, allowing the user to select whether to display the prompt box of the under-screen camera on the preset interface according to their own needs.

[0031] In an alternative embodiment, when the under-screen camera is turned on, the screen at the position where the under-screen camera is located is automatically and transparently converted, that is, the light transmittance is 100%, and the user can directly see the camera structure hidden behind the screen, giving the user a true, high-end, and smart intuitive feeling.

[0032] In actual applications, at least one of the above pictures may be any picture within a preset interface. Specifically, it may also be a picture displayed by an application program such as a web page, moments, or album. Just by the user selecting at least one of these pictures and moving it into the above prompt box, the activation of the under-screen camera can be triggered to take a picture and generate a target picture.

[0033] Optionally, in one embodiment, in the picture taking method according to the embodiment of the present application, when the number of pictures moving into the prompt box is one, referring to FIG. 1 subsequently, after S100, S201 is further included.

[0034] In S201, the picture moving to the first area is determined as the picture background.

[0035] In the above S201, when the user selects to move at least one picture into the screen area corresponding to the position where the under-screen camera is located, it is explained that the user desires to use this at least one picture as the background material, and in order to perform picture processing on the current picture screen obtained by the under-screen camera, when there is one picture moving to the first area, this picture is directly used as the shooting background, and the shooting effect after picture synthesis processing can be immediately displayed.

[0036] In actual applications, when the picture moving to the first area changes, the above picture background also changes accordingly, that is, the picture background can be updated based on the picture moving to the first area.

[0037] Optionally, in one embodiment, in the picture shooting method according to the embodiment of the present application, after S201, S202 to S203 are further included.

[0038] In S202, the underscreen camera is called to collect a preview picture.

[0039] In S202, the preview picture is the current scene screen within the viewing angle range of the underscreen camera. Currently, since the underscreen camera is in the on state, the underscreen camera can collect the current scene screen within its viewing angle range, thereby obtaining the above preview picture.

[0040] In S203, a target picture is generated based on the preview picture and the picture background.

[0041] In S203, picture synthesis processing is performed on the preset preview picture collected in S202 and the background picture determined in S201, thereby generating a target picture and displaying this target picture on the screen.

[0042] In actual applications, various picture synthesis methods may be displayed on the screen. When receiving a second input from the user for the target picture synthesis method, in response to the second input, synthesis processing is performed on the preview picture and the background picture according to the target picture synthesis method.

[0043] Specifically, the above picture synthesis method may include an upper ghost and a lower ghost. When receiving a second input from the user for the upper ghost, the preview picture is ghosted onto the background picture to perform a picture synthesis process to generate a target picture. When receiving a second input from the user for the lower ghost, the background picture is ghosted onto the preview picture to perform a picture synthesis process to generate a target picture.

[0044] In this embodiment, when it is detected that a picture has moved to the screen area corresponding to the position where the under-screen camera exists, not only can the under-screen camera be activated to take a picture, but also the picture moving into this prompt box is used as the picture background, and it is synthesized with the preview picture collected by the under-screen camera into the target picture. By simply performing a picture moving operation by the user, the under-screen camera can be activated to realize the synthesis of pictures, and a quick and smart photo-taking method can be provided by the under-screen camera.

[0045] Optionally, in one embodiment, when the number of pictures moving into the prompt box is plural, the picture taking method according to the embodiment of the present application further includes S211 to S214 after S100.

[0046] In S211, at least one picture arrangement method is displayed.

[0047] In S211 above, the picture arrangement method defines the arrangement method of a plurality of pictures moving into the prompt box of the under-screen camera and how to synthesize the picture screen collected by the under-screen camera with the target picture.

[0048] In actual applications, the at least one picture arrangement method may be arrangement methods such as an eight-grid, a nine-grid, a ten-grid, a poster, and a free combination.

[0049] In S212, a first input of a user with respect to the target picture arrangement method is received, and in response to the first input, pictures inside the prompt box are arranged according to the target picture arrangement method to obtain a stitching picture.

[0050] In the above S212, the first input is a selection operation with respect to the target picture arrangement method. When receiving the first input of the user with respect to the target picture arrangement method, in order to explain that it is necessary to perform a stitching combination of a picture screen collected by an underscreen camera with a plurality of pictures that the user moves inside the prompt box according to the target picture arrangement method, first, pictures inside the prompt box are arranged according to the target picture arrangement method, a stitching picture based on the plurality of pictures moving inside the prompt box is obtained, and it is advantageous to perform a stitching combination using this stitching picture and the picture screen collected by the underscreen camera.

[0051] In S213, the underscreen camera is called to collect a preview picture.

[0052] The above S213 may refer to the detailed description of S202, and will not be described further here.

[0053] In S214, a target picture is generated based on the preview picture and the stitching picture.

[0054] In the above S214, according to the use of the picture synthesis technology, the preview picture and the stitching picture are synthesized into one picture, that is, the target picture is obtained and this target picture is displayed on the screen.

[0055] In this embodiment, when it is detected that a plurality of pictures have been moved to the first area, not only can the under-screen camera be activated to take pictures, but at least one picture arrangement method can be displayed, and when receiving a first input for the target picture arrangement method, a plurality of pictures moving to this first area according to the target arrangement method are stitched, and further synthesized with the target picture together with the preview pictures collected by the under-screen camera, so that the under-screen camera can be activated and the synthesis of pictures can be realized only by the user performing a simple picture moving operation, and a quick and smart photo-taking method can be provided by the under-screen camera.

[0056] In actual applications, referring to FIGS. 3 and 4, FIG. 3 shows a schematic diagram of displaying a prompt box of the under-screen camera in the album interface, and FIG. 4 shows a schematic diagram of the display of the picture arrangement method.

[0057] As shown in Figure 3, a prompt box is displayed at the top of the album interface, that is, the screen part corresponding to the under-screen camera. Pictures contained in the album are displayed in the middle part of the album interface. A camera button and a picture stitching button are displayed at the bottom of the album interface. When the user clicks the camera button, the camera is directly turned on to take pictures. When the user directly moves a picture into the prompt box, the under-screen camera is activated to take pictures. The picture that moves into the prompt box is used as the picture background to generate a target picture. After the user selects at least one picture in the album and clicks the picture stitching button, the user enters the interface shown in Figure 4. A prompt box is displayed at the screen part corresponding to the under-screen camera in the interface of Figure 4, and three stitching methods, namely template, poster, and free, and a stitching button are displayed at the bottom of the interface. Here, arrangement methods such as eight-grid, nine-grid, and ten-grid are set in the template stitching method menu. The user can adjust the arrangement order of each picture by moving the pictures within each grid, and then click the stitching button to synthesize them into a stitched picture. Furthermore, when the stitched picture is moved into the prompt box, the under-screen camera is activated to take pictures, and the stitched picture can be combined with the preview picture collected by the under-screen camera to generate a target picture.

[0058] Referring to FIG. 5 here, it shows a schematic diagram of light rays when the under-screen camera takes pictures. As shown in FIG. 5, when starting the under-screen camera to take pictures by moving at least one picture to the first area, the at least one picture moving to the first area as described above is displayed on the screen, and the shooting object and the under-screen camera are located on both sides of the screen respectively. The under-screen camera can collect the preview picture of the shooting object and use at least one picture moving to the first area as the picture background to generate a target picture by combining it with the preview picture.

[0059] Optionally, in a form for implementing one invention, the above S214 includes S2141 to S2142.

[0060] In S2141, the stitching picture is determined as the picture background.

[0061] In the above S2141, when the user selects to move at least one picture to the first area under the screen, it is explained that the person hopes to use the stitching picture stitched from this at least one picture as the background material. For performing picture processing on the current picture screen obtained by the under-screen camera, this picture is used as the shooting background, and the shooting effect after picture synthesis processing can be displayed immediately.

[0062] In S2142, the preview picture is laminated on the picture background to generate the target picture.

[0063] In the above S2142, the preview picture collected based on the current picture screen within the viewing angle range by the under-screen camera is laminated on the picture background obtained by S2141, and picture synthesis processing is performed to obtain the target picture.

[0064] In the embodiment for carrying out the above invention, when it is detected that a plurality of pictures have been moved to the first area, the underscreen camera is activated to take pictures, and based on the plurality of pictures moving to this first area, they are synthesized into a stitching picture, and the preview picture collected by the underscreen camera is stacked on the above stitching picture and synthesized into a single target picture, enabling the underscreen camera to be activated and picture synthesis to be realized only by the user performing a simple picture moving operation, and imparting a quick and smart photo-taking method by the underscreen camera.

[0065] Optionally, in one embodiment for carrying out the invention, S214 includes S2143.

[0066] In S2143, the preview picture is stitched within a preset area inside the stitching picture to generate the target picture.

[0067] In this embodiment, the generation position, shape, special effects, etc. of the preset area in the picture arrangement method are all defined. When synthesizing a plurality of pictures moving to the first area into a stitching picture, a preset area for previewing picture stitching and filling can be simultaneously generated within this stitching picture. Therefore, the preview picture collected by the underscreen camera can be stitched within the above preset area to form a single complete target picture.

[0068] In the embodiment for implementing the above invention, when it is detected that a plurality of pictures have been moved to the first area of the screen, the under-screen camera is activated to take pictures, and they are synthesized into a stitching picture having a preset area based on the plurality of pictures moving to this first area, and the preview pictures collected by the under-screen camera are stitched into the preset area within the above stitching picture and synthesized into a single target picture, enabling the activation of the under-screen camera and the realization of picture synthesis just by the user performing a simple picture movement operation, and imparting a quick and smart photo-taking method by the under-screen camera.

[0069] Optionally, in one embodiment, when a prompt box of the under-screen camera is displayed in the first area of the preset interface, the picture-taking method according to the embodiments of the present application further includes S301 to S302 after S100, and after the step of generating the target picture, the method further includes S303.

[0070] In S301, the first application program to which the preset interface belongs is determined.

[0071] In the above S301, when it is detected that at least one picture has been moved to the first area within the preset interface and the activation of the under-screen camera is triggered to take pictures, it is advantageous to determine, by the preset interface that triggers the activation of the under-screen camera to take pictures, the currently running application program, that is, the application program to which this current preset interface belongs, and predict the subsequent processing to be performed on the target picture.

[0072] In S302, based on the preset interface and the first application program, a first picture interaction interface is determined.

[0073] In S302, based on the current interface when triggering the activation of the under-screen camera to take a picture and the application program to which it belongs, predict the application operation that the user intends to perform on the target picture obtained by the user in S203 or S214, and further determine the picture interaction interface that can execute the application operation that the user intends to perform based on the above application program, that is, the first picture interaction interface can be determined. For example, when turning on the under-screen camera, if the screen is located at the Moments interface, that is, it is determined that the user has turned on the Moments interface, the Moments sending interface is the above first picture interaction interface. If it is determined that the screen when turning on the under-screen camera is located at the chat interface, this chat interface is the above first picture interaction interface.

[0074] In S303, load the target picture into the first picture interaction interface.

[0075] In S303, by directly loading the target picture generated in S203 or S214 into the first picture interaction interface determined in S302, it is determined whether the user will execute subsequent operations.

[0076] For example, when the first picture interaction interface is the Moments sending interface, load the target picture into this Moments sending interface, generate a Moments photo sending waiting interface, and the user can directly click and send it after confirmation without problems. When the first picture interaction interface is the chat interface, load the target picture into the chat interface and send it to the chat target.

[0077] In this embodiment, by moving at least one picture to the first area, the activation of the under-screen camera is triggered to take pictures to obtain a target picture, and based on the preset interface and the application program to which it belongs when the under-screen camera is activated to take pictures, a first picture interaction interface based on this application program is determined, and the generated target picture is loaded into this first picture interaction interface, so that the user can activate the under-screen camera and realize the synthesis of pictures only by performing a simple picture moving operation, and the target picture is automatically loaded into the picture interaction interface.

[0078] Optionally, in one embodiment, the picture taking method according to the embodiment of the present application further includes S311 to S313 after S100, and after the step of generating a target picture, the method further includes S314.

[0079] In S311, the current display content of the screen is captured using the under-screen camera.

[0080] In the above S311, since the under-screen camera needs to penetrate the screen when taking pictures, the current display content of the current screen interface can be captured by the under-screen camera.

[0081] In S312, the first application program to which the display content belongs is determined.

[0082] In the above S312, based on the current display content of the screen captured by the above S311, the specific application program currently running on the electronic device, that is, the above first application program, is determined, which is advantageous for predicting the subsequent processing to be performed on the target picture.

[0083] In S313, a first picture interaction interface is determined based on the display content and the first application program.

[0084] In the above S313, based on the current interface display content and the application program to which the current interface belongs when triggering the activation of the under-screen camera to take a picture, predict the application operation that the user intends to perform on the target picture obtained by the user in S203 or S214, and further determine the picture interaction interface that can execute the application operation that the user intends to perform based on the above application program, that is, the above first picture interaction interface can be determined. For example, when the screen is located at the Moments interface when turning on the under-screen camera according to the display content, that is, if it is determined that the user has turned on the Moments interface, the Moments sending interface is the above first picture interaction interface; if it is determined that the screen when turning on the under-screen camera according to the display content is located at the chat interface, this chat interface is the above first picture interaction interface.

[0085] In S314, the target picture is loaded into the first picture interaction interface.

[0086] In the above S314, by directly loading the target picture generated in S203 or S214 into the first picture interaction interface determined in S313, it is determined whether the user will perform subsequent operations.

[0087] For example, when the under-screen camera captures that the electronic device is currently located at the chat interface, it uses the under-screen camera to directly send the photo taken during picture taking to the chat target. Specifically, reference may be made to FIG. 6, which shows a diagram of the under-screen camera capturing the user operation interface. As shown in FIG. 6, when the under-screen camera captures that the electronic device is currently located at the chat interface, it displays the taken photo in the chat interface in the form of a selfie floating box, and when receiving a third input for the selfie floating box, it sends the photo in the selfie floating box to the chat target.

[0088] It should be noted that for the picture taking method according to the embodiments of the present application, the execution body may be a picture taking device or a control module for executing the loading of the picture taking method in this picture taking device. In the embodiments of the present application, taking the picture taking device executing the loading of the picture taking method as an example, the picture taking method according to the embodiments of the present application will be described.

[0089] Referring to FIG. 7, a schematic structural diagram of the picture taking device according to the embodiments of the present application is shown. As shown in FIG. 7, the device includes a startup module 71 for starting the under-screen camera when the first picture moves to the first area, wherein the first area is a screen area corresponding to the position where the under-screen camera exists.

[0090] Optionally, the device further includes a shooting module 72, and the shooting module 72 when the number of pictures moving to the first area is one, after starting the under-screen camera when the first picture moves to the first area, includes a determination unit for determining the picture moving to the first area as the picture background.

[0091] Optionally, in the picture taking device, the photographing module 72 After determining the picture moving to the first area as the picture background, a first calling unit for calling the under-screen camera to collect a preview picture And a first generating unit for generating a target picture based on the preview picture and the picture background.

[0092] Optionally, in the picture taking device, the photographing module 72 When the number of pictures moving to the first area is plural, a display unit for displaying at least one picture arranging method after activating the under-screen camera when the first picture moves to the first area A picture stitching unit for receiving a first input of the user for the target picture arranging method, arranging the pictures moving to the first area according to the target picture arranging method in response to the first input, and obtaining a stitching picture A second calling unit for calling the under-screen camera to collect a preview picture And a second generating unit for generating a target picture based on the preview picture and the stitching picture.

[0093] Optionally, in the picture taking device, the second generating unit A determining sub-unit for determining the stitching picture as the picture background And a first generating sub-unit for stacking the preview picture on the picture background to generate the target picture.

[0094] Optionally, in the picture taking device, the second generating unit A second generation sub-unit is included for stitching the preview picture within a preset area of the stitching picture to generate the target picture.

[0095] Optionally, the apparatus further includes a display module for displaying a prompt box of the under-screen camera in the first area of the preset interface when a preset control is turned on when the preset interface is turned on before starting the under-screen camera when moving the first picture to the first area.

[0096] Optionally, the apparatus a first determination module for determining an application program to which the preset interface belongs after starting the under-screen camera when moving the first picture to the first area, a second determination module for determining a target picture interaction interface based on the application program based on the preset interface and the application program, and a first loading module for loading the target picture into the target picture interaction interface after generating the target picture.

[0097] Optionally, the apparatus a capture module for capturing the current display content of the screen using the under-screen camera after starting the under-screen camera when the first picture moves to the first area, a third determination module for determining a second application program to which the display content belongs, a fourth determination module for determining a second picture interaction interface based on the display content and the second application program, After generating the target picture, it further includes a second loading module for loading the target picture into the second picture interaction interface.

[0098] The picture-taking device in the embodiments of the present application may be a device, or may be a component, integrated circuit, or chip in a terminal. This device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, tablet computer, notebook computer, palmtop computer, in-vehicle electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc., and the non-mobile electronic device may be a server, network-attached storage (NAS), personal computer (PC), television (TV), deposit and payment machine, or self-service machine, etc. The embodiments of the present application are not specifically limited.

[0099] The picture-taking device in the embodiments of the present application may be a device having an operating system. This operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application are not specifically limited.

[0100] The picture-taking device according to the embodiments of the present application can implement each process implemented by the picture-taking device in the method embodiments of FIGS. 1 to 6. To avoid repetition of description, it will not be described further here.

[0101] In summary, when the first picture moves to the first area, the picture-taking device according to the embodiment of the present application activates the underscreen camera by the activation module 71. In addition, in the embodiment of the present application, when it is detected that at least one picture has moved inside the prompt box area, the shooting module 72 activates the underscreen camera to take pictures and generate a target picture. By doing so, the user can activate the underscreen camera by performing a simple picture movement operation, with flexible operation and convenient use.

[0102] Optionally, the embodiment of the present application further provides an electronic device, including a processor 810, a memory 809, and a program or instruction stored in the memory 809 and executable on the processor 810. When this program or instruction is executed by the processor 810, each process of the embodiment of the above picture-taking method is realized, and the same technical effect can be achieved. To avoid repetition of the description, it will not be further described here.

[0103] It should be noted that the electronic device in the embodiment of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.

[0104] FIG. 8 is a schematic diagram of the hardware structure of an electronic device for realizing the embodiment of the present application.

[0105] This electronic device 800 includes components such as a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810, but is not limited thereto.

[0106] As would be understood by those skilled in the art, the electronic device 800 may further include a power source (e.g., a battery) for supplying power to each component. The power source may be logically connected to the processor 810 by a power management system, whereby functions such as charge and discharge management and power consumption management can be realized by the power management system. The electronic device structure shown in FIG. 8 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown, or a combination of some components, or different arrangements of components, which will not be further described herein.

[0107] Here, when the first picture moves to the first area, the processor 810 is used to activate the under-screen camera, where the first area is a screen area corresponding to the position where the under-screen camera is located.

[0108] When the electronic device according to the embodiment of the present application detects that at least one picture has moved inside the prompt box area, the processor 810 activates the under-screen camera to take a picture, further generates a target picture, and the user can activate the under-screen camera by performing a simple picture movement operation. The operation is flexible and convenient to use.

[0109] Optionally, when the first picture moves to the first area, before activating the under-screen camera, when a preset control is turned on, when a preset interface is turned on, the display unit 806 is used to display a prompt box of the under-screen camera in the first area of the preset interface.

[0110] Optionally, the processor 810 further determines an application program to which the preset interface belongs, determines a first picture interaction interface based on the application program according to the preset interface and the application program, and is used to load the target picture into the first picture interaction interface.

[0111] Optionally, when the number of pictures moving into the prompt box is one, the processor 810 specifically determines the picture moving into the prompt box as a picture background, calls the underscreen camera to collect a preview picture, and is used to generate a target picture based on the preview picture and the picture background.

[0112] Optionally, when the number of pictures moving into the prompt box is plural, the display unit 806 is specifically used to display at least one picture arrangement method. The processor 810 specifically receives a first input of the user for the target picture arrangement method, arranges the pictures moving into the first area according to the target picture arrangement method in response to the first input to obtain a stitched picture, calls the underscreen camera to collect a preview picture, and is used to generate a target picture based on the preview picture and the stitched picture.

[0113] Optionally, the processor 810 specifically determines the stitched picture as a picture background, stacks the preview picture on the picture background, and is used to generate a target picture.

[0114] Optionally, specifically, the processor 810 stitches the preview picture within a preset area inside the stitching picture and is used to generate the target picture.

[0115] Optionally, specifically, when the first picture moves to the first area, after activating the under-screen camera, the processor 810 uses the under-screen camera to capture the current display content of the screen, determines the second application program to which the display content belongs, determines a second picture interaction interface based on the display content and the second application program, and after generating the target picture, loads the target picture into the second picture interaction interface.

[0116] Embodiments of the present application further provide a readable storage medium, in which a program or instruction is stored. When this program or instruction is executed by a processor, each process of the embodiment of the above picture taking method is realized, and the same technical effect can be achieved. To avoid repetition of the description, it will not be described further here.

[0117] Here, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0118] Embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor runs a program or instruction and is used to realize each process of the embodiment of the above picture taking method, and the same technical effect can be achieved. To avoid repetition of the description, it will not be described further here.

[0119] It should be understood that the chip mentioned in the embodiments of the present application may be referred to as a system-level chip, a system-on-chip, a chip system, a system-on-a-chip, or the like.

[0120] It should be noted that in this specification, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive "including", whereby a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article or device. In the case of an element limited by the phrase "comprising one...", in the process, method, article or device comprising this element, the presence of other identical elements is not excluded. It should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order illustrated or discussed, and may include performing functions basically simultaneously or in the reverse order based on such functions. For example, the described method can be executed in a procedure different from that described, and various steps can be added, omitted or combined. Also, features described with reference to some examples can be combined in other examples.

[0121] As will be clearly understood by those skilled in the art from the description of the above embodiments, the method of the above embodiments can be realized in the form of software and the necessary general-purpose hardware platform. Of course, it may also be realized by hardware, but in many cases, the former is a more preferred embodiment. Based on such an understanding, the technical solution of the present application may, in essence, be embodied in the form of a software product even if the part that contributes to the prior art. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0122] The above has described the embodiments of the present application in conjunction with the drawings, but the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Those skilled in the art can make many forms without departing from the spirit of the present application and the scope protected by the claims, and all belong to the protection scope of the present application.

Claims

1. A picture taking method, comprising: when a first picture moves to a first area, activating an under-screen camera, wherein the first area is a screen area corresponding to a position where the under-screen camera is located and is an area where a prompt box is displayed; when the number of pictures moving to the first area is one, after the step of activating the under-screen camera when the first picture moves to the first area, further comprising determining the picture moving to the first area as a picture background; when the number of pictures moving to the first area is plural, after the step of activating the under-screen camera when the first picture moves to the first area, displaying at least one picture arrangement; receiving a first input of a user for a target picture arrangement; in response to the first input, arranging the pictures inside the prompt box according to the target picture arrangement to obtain a composite picture; invoking the under-screen camera to collect a preview picture; further comprising generating a target picture based on the preview picture and the composite picture; The prompt box is displayed at a screen part corresponding to the under-screen camera. A picture taking method.

2. After the step of determining the picture moving to the first area as a picture background, invoking the under-screen camera to collect a preview picture; The picture taking method according to Claim 1, further comprising generating a target picture based on the preview picture and the picture background.

3. After the step of activating the under-screen camera when the first picture moves to the first area, capturing the current display content of the screen using the under-screen camera; determining a first application program to which the display content belongs; further comprising determining a first picture interaction interface based on the display content and the first application program. After the step of generating the target picture as described above, The picture taking method according to claim 1 or 2, further comprising loading the target picture into the first picture interaction interface.

4. A picture taking device, Including an activation module for activating an under-screen camera when a first picture moves to a first area, Here, the first area is a screen area corresponding to the position where the under-screen camera is located, and is an area where a prompt box is displayed, Further including a shooting module, and the shooting module When the number of pictures moving to the first area is one, after activating the under-screen camera when the first picture moves to the first area, including a determination unit for determining the picture moving to the first area as a picture background, The shooting module When the number of pictures moving to the first area is plural, after activating the under-screen camera when the first picture moves to the first area, including a display unit for displaying at least one picture arrangement, Receiving a first input of a user for a target picture arrangement, and in response to the first input, arranging the pictures inside the prompt box according to the target picture arrangement to obtain a composite picture, a picture stitching unit, A second calling unit for calling the under-screen camera to collect a preview picture, Including a second generation unit for generating a target picture based on the preview picture and the composite picture, a picture taking device. The prompt box is displayed at a screen part corresponding to the under-screen camera.

5. The shooting module After determining the picture moving to the first area as a picture background, a first calling unit for calling the under-screen camera to collect a preview picture, The picture taking device according to claim 4, further including a first generation unit for generating a target picture based on the preview picture and the picture background.

6. When the first picture moves to the first area, after activating the under-screen camera, a capture module for capturing the current display content of the screen using the under-screen camera; A third determination module for determining a second application program to which the display content belongs; A fourth determination module for determining a second picture interaction interface based on the display content and the second application program; After generating a target picture, a second loading module for loading the target picture into the second picture interaction interface, the picture taking device according to claim 4 or 5.

7. An electronic device including a processor and a memory storing a program or instructions, and when the program or instructions are executed by the processor, realizing the steps of the picture taking method according to any one of claims 1 to 3.

8. A readable storage medium storing a program or instructions, and when the program or instructions are executed by a processor, realizing the picture taking method according to any one of claims 1 to 3.

9. Computer software stored in a non-volatile storage medium, the computer software being arranged to be executed by at least one processor to realize the steps of the picture taking method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Camera start method and mobile terminal

    CN108833709A

  • Shooting method and terminal equipment

    CN109862267A

  • Control method and terminal equipment

    CN110647277A