WO2023020006A1 - 基于可折叠屏的拍摄控制方法及电子设备 - Google Patents
基于可折叠屏的拍摄控制方法及电子设备 Download PDFInfo
- Publication number
- WO2023020006A1 WO2023020006A1 PCT/CN2022/089759 CN2022089759W WO2023020006A1 WO 2023020006 A1 WO2023020006 A1 WO 2023020006A1 CN 2022089759 W CN2022089759 W CN 2022089759W WO 2023020006 A1 WO2023020006 A1 WO 2023020006A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- screen
- shooting
- user
- response
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 163
- 230000009471 action Effects 0.000 claims abstract description 77
- 230000006870 function Effects 0.000 claims description 81
- 230000004044 response Effects 0.000 claims description 79
- 230000015654 memory Effects 0.000 claims description 57
- 230000000694 effects Effects 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 26
- 238000003860 storage Methods 0.000 claims description 16
- 230000001960 triggered effect Effects 0.000 claims description 5
- 238000003825 pressing Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 52
- 230000008569 process Effects 0.000 abstract description 30
- 238000004891 communication Methods 0.000 abstract description 25
- 230000001976 improved effect Effects 0.000 abstract description 2
- 230000000875 corresponding effect Effects 0.000 description 41
- 238000010586 diagram Methods 0.000 description 38
- 238000007726 management method Methods 0.000 description 17
- 230000008859 change Effects 0.000 description 12
- 238000010295 mobile communication Methods 0.000 description 11
- 210000000988 bone and bone Anatomy 0.000 description 10
- 230000005236 sound signal Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 230000001360 synchronised effect Effects 0.000 description 5
- 229920001621 AMOLED Polymers 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000006073 displacement reaction Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000010009 beating Methods 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 239000010985 leather Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Definitions
- the present application relates to the field of communication technology, and in particular to a shooting control method and electronic equipment based on a foldable screen.
- the display screens of electronic equipment can provide users with richer information and bring users better use experience.
- the camera shooting function is a common service provided by electronic devices, and users can take pictures or record videos through the electronic devices. Then, if the user needs to process the captured photos or videos, such as splicing multiple photos, or splicing photos and videos, the user usually needs to use a third-party image processing software to perform corresponding splicing processing. The operation is not convenient enough.
- the present application provides a shooting control method and electronic equipment based on a foldable screen, which solves the problem of inconvenient operation of the electronic equipment in the prior art in terms of taking photos or videos and splicing the photos or videos.
- the present application provides a shooting control method based on a foldable screen, which is applied to an electronic device with a foldable screen, and the method includes:
- the electronic device In response to a user's first operation, the electronic device starts a camera application
- the electronic device In response to the user's second operation, the electronic device enables a split-screen mode, and when the electronic device is in the split-screen mode, the foldable screen includes a first screen and a second screen, and the first screen is used to display A shooting preview interface, the second screen is used to display at least one shooting template;
- the electronic device In response to the user's third operation of selecting a target shooting template, the electronic device displays the target shooting template on the second screen, or the electronic device displays the target shooting template on the first screen and the second screen.
- a shooting template, the target shooting template includes M puzzle areas, where M is an integer greater than 1; wherein, the target shooting template is any one of the at least one target.
- the electronic device In response to the Nth shooting command received by the electronic device, the electronic device shoots the Nth image, and displays the Nth image in the Nth mosaic area of the target shooting template, and N takes 1,...M;
- the electronic device stitches the M images in the M mosaic areas to generate a target stitched image.
- the foldable screen of the electronic device can be displayed in split screens in the camera shooting mode, one screen displays the shooting preview interface, and the other screen displays the collage template or action template, etc.
- the method further includes:
- the electronic device In response to a user's fourth operation on the target stitched image, the electronic device displays at least one application icon on the second screen;
- the electronic device In response to the fifth operation of the user dragging the target stitched image onto the target application icon, the electronic device sends the target stitched image to an application server corresponding to the target application icon, so as to share the target stitched image.
- the electronic device can display the target mosaic image on the second screen, and then quickly share it in response to the user's operation on the second screen.
- the electronic device can also quickly edit or delete in response to the user's operation on the second screen. In this way, the processed image can be quickly shared, edited or deleted, etc., which can improve the user's shooting experience.
- the electronic device in response to the Nth shooting command received by the electronic device, shoots and obtains the Nth image, where N takes 1,...M in sequence, including:
- the electronic device In response to the sixth operation of the user, the electronic device starts a countdown continuous shooting function
- the electronic device In the countdown continuous shooting mode, when the Nth countdown duration is greater than or equal to the preset countdown duration, the electronic device initiates an Nth shooting command;
- the electronic device captures an Nth image
- N takes 1,...M in turn.
- the above solution provides a countdown automatic continuous shooting shooting method.
- this shooting method is adopted, multiple photos can be automatically taken without the user triggering the shooting, which improves the user's shooting experience.
- the electronic device in response to the Nth shooting command received by the electronic device, shoots and obtains the Nth image, where N takes 1,...M in turn, including:
- the electronic device When detecting that the shooting preview interface includes a preset image for the Nth time, the electronic device initiates an Nth shooting command, and the preset image includes a smiley face feature or a preset gesture feature;
- the electronic device captures an Nth image
- N takes 1,...M in turn.
- the above solution provides another shooting method.
- the electronic device automatically takes one shot, which improves the user's shooting experience.
- the electronic device in response to the Nth shooting command received by the electronic device, shoots and obtains the Nth image, where N takes 1,...M in sequence, including:
- the electronic device In response to the seventh operation of triggering shooting input by the user for the Nth time, the electronic device receives an Nth shooting command;
- the electronic device captures an Nth image
- N takes 1,...M in turn.
- the above solution provides a way for the user to manually trigger shooting, and the electronic device starts shooting after receiving the user's operation on the shooting controls.
- This shooting method can meet the user's actual shooting needs and improve the user's shooting experience.
- the seventh operation is a user's click operation on the camera control, and the Nth shooting command is used to instruct to take a photo; wherein, the electronic device responds to the Nth shooting command to shoot The obtained Nth image is in the form of a picture;
- the seventh operation is a user's long press operation on the camera control
- the Nth shooting command is used to instruct the start of video recording, and the video recording ends after the pressing time is greater than or equal to the preset time
- the Nth image captured by the electronic device in response to the Nth shooting command is in the form of a video
- the target stitched image is in the form of a picture; if at least one of the M images is in the form of a video, then the target stitched image is in the form of a video.
- multiple pictures obtained by shooting can be spliced, and pictures and videos obtained by shooting can also be spliced, and multiple videos obtained by shooting can also be spliced.
- the splicing methods are flexible and diverse. Improve user shooting experience.
- the second screen also displays at least one reference action template; the method further includes:
- the electronic device receives an eighth operation in which the user selects a target reference action template, where the target reference action template is any one of the at least one reference action template;
- the electronic device displays an image corresponding to the target reference action template on the second screen.
- the action template can be enlarged and displayed on the second screen for the user's reference when taking a selfie, which can improve the user's shooting experience.
- the electronic device further includes a third screen, and the third screen is located on a side of the electronic device opposite to the first screen or the second screen; the method further includes :
- the electronic device displays an image corresponding to the target reference action template on the third screen.
- the action template can also be enlarged and displayed on the third screen for reference by the user being photographed, which can improve the user's shooting experience.
- the image corresponding to the target reference action template is preset with a first filter effect; the method further includes:
- the electronic device In response to the eighth operation, the electronic device superimposes and displays the first filter effect on the shooting preview interface.
- the filter effect can be preset in the action template. After the user selects a shooting template with a specific filter effect, the filter effect can be displayed in the shooting preview interface for the user's reference when shooting. Improve user shooting experience.
- the method further includes:
- the electronic device In response to a ninth operation of triggering shooting input by the user, the electronic device captures an image with the first filter effect.
- the captured image can present the filter effect, and filter processing can be realized during shooting, without the need to perform the shooting as in the prior art.
- the solution of this application can improve the user's shooting experience.
- the enabling the split-screen mode of the electronic device in response to the second user operation includes:
- the electronic device controls the foldable screen to enable the first split-screen mode, and in the first split-screen mode, the first screen And the display mode of the second screen is a vertical screen display mode;
- the electronic device when the electronic device is in the folded state, in response to a second user operation, the electronic device controls the foldable screen to enable a second split-screen mode, and in the second split-screen mode, the first The display modes of the first screen and the second screen are both horizontal screen display modes.
- the shooting function of the above-mentioned smart split-screen mode is supported.
- the split-screen effect is a vertical screen effect.
- the split screen effect is a horizontal screen effect.
- the method also includes:
- the electronic device detects an angle value between the first screen and the second screen
- the electronic device determines whether the electronic device is in the unfolded state or the folded state according to the angle value.
- the electronic device displays the target shooting template on the first screen and the second screen, including:
- the electronic device displays a shooting sequence number in each of the M collage regions, and the shooting sequence number is used to indicate the sequence of M consecutive shots;
- the electronic device displays a shooting preview interface in the first collage area of the M collage areas, and the shooting preview interface is sequentially displayed in each of the M collage areas in the sequence corresponding to the shooting sequence number .
- the above solution provides a shooting method for sequentially shooting a plurality of images. Such a shooting method improves shooting interactivity, and thus can enhance user shooting experience.
- the method also includes:
- the electronic device turns on the multi-frame simultaneous shooting function, in response to a shooting command received by the electronic device, the electronic device shoots M images, and in the M images of the target shooting template The M images are respectively displayed in the collage area.
- the solution above provides a shooting method for shooting multiple images at the same time. Multiple images can be shot simultaneously through the same camera of the electronic device, or multiple images can be shot simultaneously through different cameras of the electronic device. Such shooting methods are flexible and diverse, which can improve the user's shooting experience.
- the electronic device includes a first camera and a second camera; wherein, the first camera is set on the back panel of the electronic device, and the second camera is set on the back panel of the electronic device the opposite side of the backplane;
- the electronic device shoots the Nth image, including:
- the electronic device In response to the Nth shooting command received by the electronic device, the electronic device captures an Nth image through the first camera or the second camera.
- the shooting control method provided in the embodiment of the present application can complete shooting through different cameras, and provide multiple shooting options and different shooting angles for different shooting scenes, so that user shooting experience can be improved.
- the at least one shooting template also includes a multi-picture free display template; the method further includes:
- the electronic device In response to the user's operation of selecting the multi-picture free presentation template, the electronic device displays the multi-picture free presentation template on the second screen;
- the electronic device In response to the operation of triggering shooting input by the user for the Sth time, the electronic device captures the Sth image, and displays S images in the multi-picture free display template, the S images include the Sth image, S is a positive integer.
- the solution of this application can also support the free display of one or more recently captured images, photos or videos on the second screen, which is convenient for users to view, so It can improve user shooting experience.
- the enabling the split-screen mode of the electronic device in response to the second user operation includes:
- the electronic device displays first prompt information, and the first prompt information is used to prompt whether to enable the smart split-screen function;
- the electronic device In response to the operation of triggering the smart split screen function input by the user, the electronic device enables the smart split screen mode, and when the electronic device is in the smart split screen mode, the first screen is used to display a shooting preview interface, The second screen is used to display the at least one shooting template.
- the electronic device can first prompt the user whether to enable the smart split screen mode. After the smart split screen mode is turned on, the smart split screen function can be supported. After the user confirms, the smart split screen function is enabled. This can improve human-computer interaction and improve user shooting experience.
- the method further includes:
- the electronic device Responding to an operation of temporarily not enabling the smart split-screen function triggered by a user input, the electronic device enables a normal split-screen mode, and when the electronic device is in the normal split-screen mode, the first screen is used to display a shooting preview interface, and the second screen is used to display the latest captured image.
- the electronic device prompts the user whether to enable the smart split-screen mode
- the electronic device if the user triggers that the smart split-screen mode is not turned on temporarily, the electronic device turns on the regular split-screen mode, and the second screen can be used when shooting in this mode. Displays the most recently captured image. This can improve human-computer interaction and improve user shooting experience.
- the present application provides a shooting control device based on a foldable screen, and the device includes a unit for performing the method in the first aspect above.
- the device may correspond to executing the method described in the first aspect above.
- the relevant description of the units in the device please refer to the description in the first aspect above, and details are not repeated here for brevity.
- Hardware or software includes one or more modules or units corresponding to the functions described above. For example, a processing module or unit, a display module or unit, etc.
- the present application provides an electronic device, the electronic device includes a processor, the processor is coupled with a memory, the memory is used to store computer programs or instructions, and the processor is used to execute the computer programs or instructions stored in the memory, so that the first The methods in the aspect are executed.
- the processor is used to execute the computer programs or instructions stored in the memory, so that the apparatus performs the method in the first aspect.
- the present application provides a computer-readable storage medium on which is stored a computer program (also referred to as an instruction or code) for implementing the method in the first aspect.
- a computer program also referred to as an instruction or code
- the computer when the computer program is executed by a computer, the computer can execute the method in the first aspect.
- the present application provides a chip, including a processor.
- the processor is used to read and execute the computer program stored in the memory, so as to execute the method in the first aspect and any possible implementation manners thereof.
- the chip further includes a memory, and the memory is connected to the processor through a circuit or wires.
- the present application provides a chip system, including a processor.
- the processor is used to read and execute the computer program stored in the memory, so as to execute the method in the first aspect and any possible implementation manners thereof.
- the chip system further includes a memory, and the memory is connected to the processor through a circuit or wires.
- the present application provides a computer program product
- the computer program product includes a computer program (also referred to as an instruction or code), and when the computer program is executed by a computer, the computer implements the method in the first aspect .
- FIG. 1 is a schematic diagram of a foldable screen of an electronic device provided in an embodiment of the present application when it is in a folded state or an unfolded state;
- FIG. 2 is a schematic flowchart of a shooting control method based on a foldable screen provided in an embodiment of the present application
- FIG. 3 is a schematic flowchart of another shooting control method based on a foldable screen provided in an embodiment of the present application
- Fig. 4 is a schematic flowchart of another shooting control method based on a foldable screen provided by the embodiment of the present application;
- Fig. 5 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application during application;
- Fig. 6 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 7 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application during application;
- Fig. 8 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 9 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 10 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 11 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 12 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 13 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 14 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 15 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 16 is a schematic interface diagram of the application of the shooting control method based on the foldable screen provided by the embodiment of the present application;
- Fig. 17 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the application when it is applied;
- Fig. 18 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the present application when it is applied;
- Fig. 19 is a schematic interface diagram of the shooting control method based on the foldable screen provided by the embodiment of the application when it is applied;
- FIG. 20 is a schematic structural diagram of a shooting control device based on a foldable screen provided in an embodiment of the present application.
- FIG. 21 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- first and second are used to distinguish different objects, not to describe a specific order of objects.
- first screen, the second screen, etc. are used to distinguish different screens, not to describe a specific order of the screens.
- words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
- multiple means two or more, for example, multiple processing units refer to two or more processing units, etc.; multiple A component refers to two or more components or the like.
- FIG. 1 is a schematic diagram of a product form of an electronic device including a foldable screen provided in an embodiment of the present application.
- the electronic device in the embodiment of the present application includes a foldable screen, which can be unfolded or folded along a folding axis, and can present different display areas in different states.
- FIG. 1 is a schematic diagram of the shape of the electronic device when it is folded.
- the foldable screen can present a screen 1 and a screen 2 .
- the electronic device 1 can display a shooting preview interface on the screen 1 and display a shooting function operation interface on the screen 2 .
- This collapsed state may generally be referred to as the "notebook" state.
- FIG. 1 are schematic diagrams of the electronic device viewed from different angles when it is fully unfolded.
- the electronic device 1 can be unfolded along the folding axis (shown by the dotted line in the figure), at this time, viewed from the inside of the electronic device 1, the foldable screen presents a foldable screen as shown in (a) in Figure 1 ) is a large screen composed of screen 1 and screen 2.
- the electronic device 1 may display a shooting preview interface in full screen.
- the foldable screen presents a screen 3 .
- the electronic device 1 when the electronic device 1 is in the unfolded state and the camera shooting function is turned on, the electronic device 1 can also display a shooting preview interface through the screen 3 .
- the third screen can be set on the back of the first screen or the second screen.
- the value range of the angle ⁇ between the screen 1 and the screen 2 may be [0°, 180°].
- ⁇ is in the range of [0°, P]
- ⁇ is in the range of (P, 180°]
- ⁇ Within the range of [0°, P)
- ⁇ is in the range of [P, 180°]
- P is a preset angle threshold.
- P may be determined according to the usage habits of a large number of users using the folding screen; or, P may be set by the user in the electronic device. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
- the angle ⁇ between screen 1 and screen 2 is greater than 90°, the user wants to use screen 1 and screen 2 as a whole (that is, as a complete display screen). The possibility is higher.
- the preset angle threshold P in the embodiment of the present application may be greater than 90°.
- the value range of the preset angle threshold P may be (90°, 180°).
- the preset angle threshold P may be 100°, 120°, 135°, 140°, 145° or 150° and so on.
- the electronic device 1 may be provided with a camera module 2 , a camera module 3 and a camera module 4 .
- the user can select any one of these camera modules for shooting according to actual usage requirements.
- the user can choose the camera module 3 to take pictures; when the user needs to take a selfie, the user can choose the camera module 2 or the camera module 4 to take pictures.
- the photographing by the photographing module 2 will be taken as an example for illustration in the following.
- images mentioned in the embodiments of the present application may represent photos or videos.
- the foldable screen of the electronic device may be a flexible foldable screen.
- the flexible folding screen includes folding edges made of flexible materials. Part or all of the flexible folding screen is made of flexible materials.
- the two screens formed after the flexible folding screen is folded are a complete screen with an integrated structure, and the two screens can be understood as two display areas.
- the foldable screen of the electronic device may be a multi-screen foldable screen.
- the multi-screen folding screen may include multiple (two or more) screens.
- the multiple screens are individual display screens. These multiple screens can be connected sequentially by folding shafts. Each screen can rotate around the folding axis connected to it to realize the folding of multi-screen folding screens.
- the folding screen in the embodiment of the present application is described by taking the folding screen as an example of a flexible folding screen.
- the method provided in the embodiments of the present application will be described by taking the folding screen as an example of a flexible folding screen.
- the shooting control method provided in the embodiment of the present application may be applicable to a shooting scene, and is also applicable to a video recording scene.
- the shooting control method provided in the embodiment of the present application is exemplarily described below by taking a shooting scene as an example.
- the electronic device in the embodiment of the present application may be a mobile terminal or a non-mobile terminal.
- the mobile terminal can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle terminal, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.
- the non-mobile terminal may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiment of the present application.
- the execution subject of the shooting control method based on the foldable screen provided in the embodiment of the present application may be the above-mentioned electronic device, or may be a functional module and/or a functional entity in the electronic device capable of implementing the shooting control method based on the foldable screen , and the solution of the present application can be realized by means of hardware and/or software, which can be determined according to actual usage requirements, and is not limited by the embodiment of the present application.
- the method for controlling shooting based on a foldable screen provided in the embodiment of the present application will be exemplarily described in conjunction with the accompanying drawings.
- FIG. 2 is a schematic flowchart of a shooting control method based on a foldable screen provided in an embodiment of the present application. Referring to Fig. 2, the method includes the following steps S101-S103.
- the foldable screen of the electronic device displays the shooting preview interface in full screen
- the foldable screen in response to the user triggering the first operation of splitting the screen, the foldable screen is divided into a first screen and a second screen, and the first screen is used to display the shooting preview interface.
- the second screen is used to display the captured image.
- the foldable screen can evoke a split-screen state when the inner screen is unfolded.
- One screen presents the framing area, and the other screen presents the photo or video content after shooting.
- the foldable screen can display a shooting preview interface in full screen.
- a control for triggering split screen may be displayed in the shooting preview interface.
- the above-mentioned first operation may be a user's click operation on a control for triggering screen splitting.
- the above-mentioned division of the foldable screen into the first screen and the second screen can be understood as dividing the display area of the foldable screen into two display areas, one area is called the first screen, and the other area is called the first screen. Called the second screen, these two areas are used to display different interfaces.
- the first screen can be used as the main screen to display the shooting preview interface;
- the second screen can be used as the secondary screen to display the images after shooting, which is equivalent to creating an album or gallery on the second screen to display the latest One or more images captured.
- the embodiment of the present application does not limit whether the foldable screen of the electronic device in S101 is in the folded state or the unfolded state, which can be determined according to actual usage conditions, and is not limited in the embodiment of the present application.
- the foldable screen of the electronic device when the foldable screen of the electronic device is in an unfolded state, the foldable screen of the electronic device displays a shooting preview interface in full screen.
- the electronic device when the electronic device receives an operation of triggering the split screen by the user, the electronic device may first display prompt information, and the prompt information is used to prompt whether to enable the smart split screen function. Then, according to the usage requirements of the user, the electronic device turns on the smart split-screen function, or does not turn on the smart split-screen function.
- the split-screen display without the smart split-screen function is referred to as regular split-screen display below.
- the electronic device will enable the smart split-screen function (or called the smart secondary screen function), and divide the foldable screen into the first screen and the second screen.
- the second screen can be used to display templates for assisting shooting (referred to as shooting templates for short), such as collage templates or action templates. That is, when the foldable screen is in the unfolded state of the inner screen, after turning on the smart split screen function, you can recommend puzzle layouts, recommend reference actions, etc.
- the electronic device divides the foldable screen into a first screen and a second screen, the first screen is used to display the shooting preview interface, and the second screen can be used It is used to display the captured photos or videos, which corresponds to the conventional split-screen mode.
- the electronic device may prompt the user again whether to turn on the smart split-screen mode, so that It can improve human-computer interaction and improve user shooting experience.
- the first image is captured, and the first image is displayed on the second screen according to the preset shooting template.
- controls for triggering photographing are also displayed in the photographing preview interface.
- the above-mentioned second operation may be a user's click operation on the control for triggering the photographing, and the first image obtained by photographing at this time is in the form of a photograph.
- the above-mentioned second operation may be a long press operation by the user on the control used to trigger the photo taking, and the first image captured at this time is in the form of a video; wherein, the long press operation may be an operation in which the duration of the press exceeds a preset duration, For example, the preset duration may be 3 seconds.
- the third operation can be the user's click operation on the control used to trigger the photo taking, or the user's long press operation on the control used to trigger the photo taking, which can be determined according to actual usage requirements , the embodiment of this application is not limited.
- two images are displayed on the second screen after taking two shots after opening the camera application as an example.
- This embodiment of the application does not limit the number of images that can be displayed on the second screen.
- the captured image can be displayed on the second screen, that is, after multiple images are captured, you can Multiple captured images are sequentially displayed on the second screen.
- the interface displayed on the second screen is equivalent to an interface of a photo album or a gallery, and can be used to display one or more recently captured images.
- the folding screen of the electronic device can be displayed in split screens in the camera shooting mode, not only can display the shooting preview interface, but also can display two or more recently taken photos or videos, which is more convenient for users to view.
- the user when the electronic device performs a shooting operation and then displays the captured image, the user may be supported to select the captured image for quick sharing, sending, or editing, thereby improving user experience.
- the shooting control method provided by the embodiment of the present application further includes the following steps S104 and S105 .
- S104 Display at least one processing control on the second screen in response to the user's fourth operation on the target image on the second screen, where the target image includes the first image and/or the second image.
- the above-mentioned target image may be any one of multiple images displayed on the second screen.
- the target image can be the first image, or the second image, or the first image and the second image, or it can be other shots in the second screen except the first image and the second image. one or more images.
- the above fourth operation may be a user's long press on the target image, or a user's long press on the target image followed by a drag operation in any direction, or other operations that meet the requirements. It can be determined according to actual usage requirements, and is not limited in this embodiment of the application.
- the electronic device may display one or more processing controls on the second screen, such as controls for sharing photos to social applications, controls for editing photos, or controls for deleting photos.
- the above one or more processing controls include a first processing control, which is a control for sharing photos to social applications.
- S105 in response to the user's fifth operation on the first processing control, process the target image by using a function corresponding to the first processing control, where the function corresponding to the first processing control is sharing, editing or deleting.
- the above-mentioned fifth operation may be a drag operation in which the user drags the target image to the processing control, or may be a click operation of the user in the processing control, or may be other operations that meet requirements, and may be based on actual usage requirements Alternatively, the embodiment of this application is not limited.
- the above at least one processing control may be presented as icons of one or more social applications.
- multiple commonly used social application icons pop up on the second screen.
- the electronic device can The picture selected by the user is sent to the application server corresponding to the social application icon, so as to realize quick sharing of the photo.
- the function corresponding to the first processing control is listed as an example. In actual implementation, the function corresponding to the first processing control can also be other functions, which can be set according to actual use requirements. limited. Wherein, the above-mentioned editing function may refer to processing functions such as graffiti and cutting of an image.
- the sharing or editing of the photo or video can be quickly completed at any time according to the needs of the user, thereby improving the user experience.
- the electronic device when the electronic device displays one or more shooting templates after the smart split screen is enabled, after the user selects a certain shooting template (take the collage template as an example), it can support During the shooting process, multiple pictures or videos are collaged according to the collage style corresponding to the shooting template to improve user experience.
- a certain shooting template take the collage template as an example
- the shooting control method provided by the embodiment of the present application further includes the following step S106 .
- S106 in response to the user's operation of selecting a preset shooting template, display a collage area corresponding to the preset shooting template on the second screen.
- steps S102-104 in FIG. 3 may specifically be implemented through steps S102A-104A in FIG. 4 .
- the first image is captured, and the first image is displayed in the collage area corresponding to the preset shooting template on the second screen.
- the second image is captured, and the first image and the second image are displayed in the mosaic area corresponding to the preset shooting template on the second screen.
- S104A in response to the user's fourth operation on the target image on the second screen, display at least one processing control on the second screen, where the target image includes the first image and the second image.
- the user can be supported to select a shooting template, and multiple photographs or videos obtained during shooting can be spliced according to the shooting template to form a spliced image.
- the spliced image can also support fast sharing and other processing, which can improve user experience.
- FIG. 5 show a schematic interface of a shooting scene when the electronic device is in an unfolded state.
- the electronic device displays an interface in the photographing mode on a full screen.
- the interface may be a shooting preview interface, and the shooting preview interface may display a preview image of an object to be photographed. If the user needs to visually view the captured photos, the user can operate the split-screen control 11 in the shooting preview interface to trigger the split-screen display of the electronic device.
- puzzle templates are displayed, such as puzzle template 1, puzzle template 2, and puzzle template 3, and of course more puzzle templates can also be displayed.
- These templates are the collage templates preset by the system, and are used to stitch multiple captured images into one image according to the template style. In addition, it can also display the option of free display of multiple pictures, and supports the images taken to be presented independently in sequence without splicing.
- the electronic device can also display one or more action templates on the second screen, such as action 1, action 2, action 3, action 4 , Action 5, Action 6 and other action templates, of course, more action templates can also be displayed.
- action templates are all action templates provided by the system, which are used for user reference when shooting.
- puzzle template options 13 and action template options 14 are displayed on the second screen, which can be used to trigger switching between the puzzle template interface and the action template interface , which is convenient for users to operate.
- FIG. 5 describes the shooting operation interface of the electronic device after the smart split screen function is turned on.
- the shooting operation interface when the smart split screen function is not turned on on the electronic device is exemplarily described below in conjunction with FIG. 6 .
- the electronic device may not enable the smart split-screen function, that is, the various templates shown in FIG. 5 above will not be displayed.
- the electronic device can use a conventional split-screen display. For example, the electronic device displays a shooting preview interface on the first screen, and the second screen may not display an image when no shooting is taking place.
- the electronic device when the electronic device receives the user's operation on the camera control, as shown in (b) of FIG. 6 , the electronic device captures a photo 15 and displays the photo 15 on the second screen. As shown in (c) in Figure 6, when the electronic device receives the user's operation on the camera control again, as shown in (d) in Figure 6, the electronic device captures a photo 16, and displays the photo 16 on the second screen . That is to say, when the foldable screen is in the split-screen state, a recently taken photo or video can be presented after the shooting is completed. In this way, it is convenient for the user to visually check the latest photo or video taken when shooting.
- the user can operate the full screen control 17 shown in (d) in FIG. 6 to trigger the electronic device to change from split screen display to full screen display.
- the shooting control method based on the foldable screen provided by the embodiment of the present application can not only display the shooting preview interface through the foldable screen, but also display one or more photos or videos taken recently, which is more convenient for users Check.
- FIG. 5 shows a schematic diagram of the interface for displaying puzzle templates or action templates on the second screen after the smart split screen is enabled on the electronic device. Or the schematic diagram of the interface for shooting with action templates.
- FIG. 7 shows a schematic diagram of an interface of applying a multi-picture free display function after the smart split screen is enabled on the electronic device.
- the electronic device when the electronic device receives the user's operation on the control 18 for free display of multiple pictures, the electronic device enables the function of free display of multiple pictures. As shown in (b) of FIG. 7 , the electronic device displays a shooting preview interface on the first screen, and the second screen may not display an image in the case of no shooting.
- the electronic device receives the user's operation on the camera control, as shown in (c) in FIG. 7 , the electronic device captures a photo 19 and displays the photo 19 on the second screen.
- the electronic device receives the user's operation on the camera control again, as shown in (d) in FIG. That is to say, multiple photos or videos taken recently can be displayed on the second screen. In this way, it is convenient for the user to visually check the most recently captured photos or videos when shooting.
- the user can long press the photo 20, and accordingly, as shown in (e) in FIG. 7, when the electronic device receives the user's operation on the photo 20, The electronic device displays an edit control 21 , a share control 22 and a delete control 23 on the second screen. As shown in (f) of FIG. 7 , when the electronic device receives a drag operation in which the user drags the photo 20 to the sharing control 22, the electronic device sends the photo 20 to other electronic devices or uploads it to the server to complete sharing. Wherein, during the process of dragging the photo 20, the display size of the photo 20 may change, for example, the display size gradually becomes smaller.
- FIG. 8 shows a schematic diagram of an interface for shooting with a collage template after the smart split screen is enabled on the electronic device.
- the electronic device when the electronic device receives the user's operation on the control 24 corresponding to the collage template 1 , the electronic device activates the collage template 1 . As shown in (b) of FIG. 8 , the electronic device displays a shooting preview interface on the first screen, and displays the collage area 25 corresponding to the collage template 1 on the second screen. When the electronic device receives the user's operation on the camera control, the electronic device captures a photo 26 , and as shown in FIG. 8( c ), the electronic device displays the photo 26 in the mosaic area 25 . When the electronic device receives the user's operation on the camera control again, the electronic device captures a photo 27, and as shown in FIG.
- the electronic device displays a photo obtained by integrating multiple photos in the mosaic area 25 , which is called a mosaic picture 25 .
- a mosaic picture 25 a photo obtained by integrating multiple photos in the mosaic area 25 .
- the electronic device displays editing control, sharing control and deletion control on the second screen.
- the electronic device sends the spliced picture 25 to other electronic devices or uploads it to the server to complete sharing.
- the display size of the collaged picture 25 may change, for example, the displayed size gradually becomes smaller.
- FIG. 9 shows a schematic diagram of an interface for taking photos and recording videos using a collage template after the smart split screen is enabled on the electronic device.
- the electronic device when the electronic device receives the user's click operation on the camera control 28 , the electronic device captures a photo 30 and displays the photo 30 in the mosaic area 29 . As shown in (b) of FIG. 9 , when the electronic device receives the user's long press operation on the camera control 28 again, the electronic device captures a video 31 and displays the photo 30 and video 31 in the mosaic area 29 . As shown in (c) and (d) in Figure 9, after continuing to take videos or pictures, the electronic device displays a video file integrated by video and photos in the collage area 29, which is called spliced video 29 or spliced video thumbnail. Sketch 29. In this way, multiple pictures and videos can be spliced according to the collage style corresponding to the shooting template during the shooting process, which can improve user experience.
- the electronic device displays editing control, sharing control and deletion control on the second screen.
- the electronic device can edit the spliced video 29 .
- the display size of the mosaic video 29 may change, for example, the display size gradually becomes smaller.
- the above-mentioned multi-frame recording solution in the embodiment of the present application can not only support multiple frames recorded sequentially, but also support multiple frames recorded simultaneously. Specifically, it can be set according to actual usage requirements, and is not limited in this embodiment of the application.
- this embodiment of the present application also provides a shooting control based on a foldable screen
- the selected collage area can be displayed in full screen according to the actual needs of the user.
- each area in the collage area displays a shooting preview interface sequentially during shooting.
- FIG. 10 shows a schematic diagram of an interface for taking pictures in a scene where the collage template is displayed in full screen after the smart split screen is enabled on the electronic device.
- each puzzle template is displayed on the second screen.
- the electronic device displays the collage template 1 on the first screen, and the display size of the collage template 1 gradually increases until it is displayed in full screen.
- the electronic device displays the four grids corresponding to the collage template 1 in full screen.
- each box in the four-square grid corresponds to a serial number, such as 1, 2, 3, 4, which is used to prompt the display sequence when taking photos.
- each frame in the four-square grid is alternately used as a viewfinder frame.
- the electronic device sequentially displays the captured photos in the grid. In this way, photos stitched according to the four-square grid can be obtained.
- the photos obtained each time are sequentially displayed in the collage template when shooting, so that multiple videos and/or photos obtained by shooting are spliced according to the collage template, which enhances Shoot fun and improve user experience.
- FIG. 11 shows a schematic interface diagram of how to quickly share a stitched photo after taking a photo based on the full-screen displayed collage template shown in FIG. 10 .
- the stitched photo obtained in the manner shown in FIG. 10 is in a full-screen display state. If the user needs to share, edit or delete the spliced picture, the user can operate the split-screen control 11 to trigger the split-screen display of the electronic device.
- the electronic device displays edit controls, share controls, and delete controls on the second screen.
- the electronic device may send the stitched photo to other electronic devices to complete sharing.
- the displayed size of the stitched photo may change, for example, the displayed size gradually becomes smaller.
- the electronic device may display a prompt message on the second screen: the sharing is successful! Go back and continue taking pictures.
- the prompt information can be canceled after a preset period of time (for example, 3 seconds).
- the electronic device continues to display the interface corresponding to the collage template on the second screen.
- the embodiment of the present application also provides a shooting control method based on a foldable screen.
- the electronic device can display this type of action template for the user to take pictures. refer to.
- the electronic device may also collect an image of the subject to be photographed and perform face recognition, and then the electronic device may display a corresponding action template according to the face recognition result for the user's reference when taking pictures.
- the electronic device when the electronic device is in the interface corresponding to the action template, the electronic device can collect images of the object to be photographed through the camera in real time or periodically, and perform image feature recognition.
- Fig. 12 shows a schematic diagram of an interface for taking pictures with an action template after the smart split screen is enabled on the electronic device.
- the camera 2 is used for shooting, and this scene may be called a Selfie scene.
- the electronic device collects an image of the object to be photographed through the camera 2, and uses artificial intelligence (AI) technology to identify that the object to be photographed in the image is a woman.
- the electronic device displays a prompt message on the second screen: intelligent recognition is in progress, and a reference action will be recommended for you; ---female---.
- the electronic device may display action templates related to women on the second screen, for example, multiple reference action pictures such as action 1 and action 2 for the user to choose.
- the electronic device When the electronic device receives the user's operation (such as a click operation) on the action 1 picture, as shown in (c) in Figure 12, the electronic device enlarges and displays the action 1 picture on the second screen for the user's reference when taking pictures.
- the user's operation such as a click operation
- action templates can be displayed for the user according to the user's actual needs for reference when shooting, thereby improving the user's shooting experience.
- Figure 12 is a schematic diagram of the interface for shooting with an action template in the selfie scene
- Figure 13 is a schematic diagram of the interface for shooting with an action template in another scene
- the scene shown in Figure 13 is used in this scene
- the camera 3 of the camera 3 shoots, and usually two users cooperate to complete the shooting, assuming that user 1 is the photographer, and user 2 is the person to be photographed, that is, the object to be photographed.
- the electronic device can display a shooting preview interface on the third screen, and the shooting preview interface shows the image of the object to be photographed, that is, the user 2 can see his own image through the third screen. image.
- the electronic device can also display a shooting preview interface on the first screen to show the user 1 the image of the object to be photographed; and display multiple reference actions such as action 1 and action 2 on the second screen Picture for user 1 to choose.
- the electronic device receives user 1's operation (such as a click operation) on the action 1 picture, as shown in (c) in FIG. 13
- the electronic device enlarges and displays the action 1 picture on the second screen, and as shown in FIG. 13 (
- the electronic device updates and displays the content displayed on the third screen as an enlarged picture of action 1 for reference when user 2 takes pictures.
- the action templates can be displayed on different screens, which is convenient for the photographer and the subject to view, and improves the user's shooting experience.
- the embodiment of the present application also provides a shooting control method based on a foldable screen.
- Different filter effects can be preset in the collage template or action template. When applying the collage template or action template, they can be applied at the same time The corresponding filter effect. That is to say, if a collage template or an action template with a filter effect is applied for shooting, the captured picture or video may have a corresponding filter effect.
- the shooting control method provided by the embodiment of the present application will be exemplarily described below with reference to FIG. 14 , taking different filter effects preset in the action template as an example.
- the electronic device collects an image of the object to be photographed through the camera, and uses AI technology to identify that the object to be photographed in the image is a male.
- the electronic device displays a prompt message on the second screen: intelligent recognition is in progress, and a reference action will be recommended for you; ---male---.
- the electronic device can display action templates related to men on the second screen, for example, multiple reference action pictures such as Action 1 and Action 2, and different filter effects are preset in the action templates .
- the electronic device When the electronic device receives the user's operation (such as a click operation) on the action 1 picture, as shown in (c) in Figure 14, the electronic device enlarges and displays the action 1 picture on the second screen for the user's reference when taking pictures.
- the electronic device receives an instruction to trigger a photo shoot, as shown in (d) in FIG.
- action templates with different filter effects can be displayed for the user according to the user's actual needs for reference when shooting, and the photos taken after selecting the action template can have corresponding filter effects , to improve user shooting experience.
- the embodiment of the present application also provides a shooting control method based on a foldable screen.
- the present application is not limited to the above-mentioned embodiment. It introduces the way that the user clicks the camera button to trigger the shooting during the shooting process.
- the present application can also trigger photographing in the following manner: when it is judged that the preset automatic photographing conditions are met, the system automatically photographs.
- the preset automatic photo-taking conditions may include any of the following: detection that the countdown photo-taking function has been turned on, the images collected by the camera contain preset features such as smiling faces or specific gestures, and of course any other possible automatic photo-taking condition.
- the camera automatically takes a photo.
- the system starts a countdown (for example, the countdown duration is 3 seconds), and when the countdown ends, the camera automatically takes a photo.
- a countdown for example, the countdown duration is 3 seconds
- the camera automatically takes a photo.
- the countdown duration is 3 seconds
- four consecutive countdowns can be performed, that is, at the end of each countdown, the camera will automatically take a photo and restart the countdown, and will automatically take another picture at the end of the next countdown.
- multiple photos can be taken continuously and automatically, and the obtained multiple photos are photos with corresponding collage effects, which improves the user's shooting experience.
- the collage template can be selected after the countdown photo taking function is turned on to trigger the system to automatically take pictures; or, the countdown photo taking function is turned on after the collage template is selected to trigger the system to automatically Photograph. Specifically, it can be set according to actual usage requirements, and is not limited in this embodiment of the application.
- FIG. 15 is a schematic diagram of an interface for shooting without turning on the smart split screen when the electronic device is in a folded state.
- the electronic device displays the shooting preview interface on the first screen, and displays the shooting function operation interface on the second screen, and whenever the electronic device takes a photo, the electronic device The photo is displayed on the second screen.
- the electronic device displays the shooting preview interface on the first screen, and the shooting function operation interface on the second screen, and whenever the electronic device shoots a video, the electronic device displays the shooting preview interface on the second screen.
- the thumbnail of the video is displayed on the second screen.
- the electronic device only displays a photo or a video thumbnail image captured last time on the second screen.
- the foldable screen can present a recently taken photo after the shooting is completed in the "notebook" state.
- FIG. 16 is a schematic diagram of an interface for taking and processing photos after the smart split screen is turned on when the electronic device is in a folded state.
- the electronic device has turned on the smart split screen, and the shooting preview interface is displayed on the first screen, and multiple collage templates are displayed on the second screen.
- the electronic device receives the control displayed by the user freely
- the electronic device enables the function of freely displaying multiple pictures.
- the electronic device receives the user's operation on the camera control, as shown in (c) of FIG. 16
- the electronic device takes a photo and displays the photo on the second screen.
- the electronic device receives the user's operation on the camera control again, as shown in (d) in FIG. 16
- the electronic device captures another photo, and the electronic device displays these two photos sequentially on the second screen. That is to say, multiple photos or videos taken recently can be displayed on the second screen. In this way, it is convenient for the user to visually check the most recently captured photos or videos when shooting.
- the user can press and hold the photo, correspondingly, as shown in (e) in Figure 16, when the electronic device receives When the user operates on the photo, the electronic device displays editing controls, sharing controls and deleting controls on the second screen. As shown in (f) of FIG. 16 , when the electronic device receives a drag operation in which the user drags the photo onto the deletion control, the electronic device deletes the photo. Wherein, during the process of the photo being dragged, the display size of the photo may change, for example, the display size gradually becomes smaller.
- FIG. 17 is a schematic diagram of an interface for taking and processing photos using the collage mode after the smart split screen is turned on when the electronic device is in a folded state.
- the electronic device has turned on the smart split screen, and the shooting preview interface is displayed on the first screen, and multiple collage templates are displayed on the second screen.
- the electronic device enables the two-grid mosaic template.
- the electronic device displays the two-square mosaic area corresponding to the two-square mosaic template on the second screen.
- the electronic device receives the user's operation on the camera control, the electronic device takes a photo, and as shown in (c) of FIG. 17 , the electronic device displays the photo in the two-grid mosaic area.
- the electronic device receives the user's operation on the camera control again, the electronic device takes another photo, and as shown in (d) of FIG.
- the electronic device displays the two photos in the two-grid mosaic area.
- the photo obtained by combining these two photos is called a stitched picture.
- multiple pictures can be spliced according to the collage style corresponding to the shooting template during the shooting process, which can improve user experience.
- the user can drag the stitched picture upwards, correspondingly, as shown in (e) in Figure 17, when the electronic device receives the user's operation on the stitched picture , the electronic device displays edit controls, share controls and delete controls on the second screen.
- the electronic device when the electronic device receives the user's drag operation of dragging the stitched picture to the sharing control, the electronic device sends the stitched picture to other electronic devices or uploads it to the server to complete sharing.
- the display size of the stitched picture may change, for example, the display size gradually becomes smaller.
- the selected collage area can also be displayed in full screen according to the actual needs of the user.
- each area in the collage area will display the shooting preview interface in turn when shooting.
- FIG. 18 shows a schematic diagram of an interface for taking pictures in a scene where the collage template is displayed in full screen after the smart split screen is enabled on the electronic device.
- the electronic device has turned on the smart split screen, and the shooting preview interface is displayed on the first screen, and multiple collage templates are displayed on the second screen.
- the electronic device displays the four-grid jigsaw template on the first screen, and the display size of the four-grid jigsaw template gradually increases. Larger until full screen.
- the electronic device displays a four-grid puzzle template on a full screen.
- each box in the four-square grid corresponds to a serial number, such as 1, 2, 3, 4, which is used to prompt the display sequence when taking photos.
- each frame in the four-square grid alternates as a viewfinder frame.
- the electronic device sequentially displays the captured photos in four frames. In this way, photos stitched according to the four-square grid can be obtained.
- the user can press and hold the stitched picture, correspondingly, as shown in (e) in Figure 18, when the electronic device receives the user's operation on the stitched picture , the electronic device displays the spliced picture and edit controls, share controls and delete controls on the second screen. As shown in (f) in FIG. 18, when the electronic device receives the user's click operation on the sharing control, the electronic device sends the stitched picture to other electronic devices or uploads it to the server to complete the sharing.
- the photos obtained each time are sequentially displayed in the collage template when shooting, so that multiple videos and/or photos obtained by shooting are spliced according to the collage template, which enhances Shoot fun and improve user experience.
- the embodiment of the present application can also implement countdown timer photography. After the countdown timer function is enabled, the system starts a countdown (for example, the countdown time is 3 seconds), and when the countdown ends, the camera automatically takes a photo.
- FIG. 19 shows a schematic diagram of an interface for counting down and taking pictures after the smart split screen is enabled on the electronic device.
- the electronic device has turned on the smart split screen, and the shooting preview interface is displayed on the first screen, and a two-grid collage template is displayed on the second screen.
- the electronic device starts the countdown photo taking function, and displays a prompt message on the first screen: start countdown photo taking.
- start countdown photo taking it is assumed that the preset duration of the countdown is 3 seconds.
- the electronic device displays the countdown time: 3, 2, 1 in sequence on the first screen.
- the countdown time is 1, the electronic device automatically takes a picture, and displays the taken picture in the two-grid collage template.
- the electronic device again displays the countdown time on the first screen in sequence: 3, 2, 1.
- the electronic device automatically takes pictures again, and displays the taken pictures in the two-grid collage template.
- the photo obtained by combining these two photos is called a stitched picture.
- multiple pictures can be spliced according to the collage style corresponding to the shooting template during the shooting process, which can improve user experience.
- the user can drag the stitched picture downwards.
- the electronic device when the electronic device receives the When the operation is dragged down, the electronic device displays the edit control, share control and delete control on the second screen; when the spliced picture is dragged onto the share control, the electronic device sends the spliced picture to other electronic devices or uploads it to the server to complete share.
- the display size of the stitched picture may change, for example, the display size gradually becomes smaller.
- the camera will automatically take a photo at the end of each countdown, and restart the countdown, and automatically take another photo at the end of the next countdown, so that continuous automatic shooting can be realized.
- photos, and the resulting multiple photos are photos with a corresponding collage effect, which improves the user's shooting experience.
- the electronic device implementing the method includes hardware structures and/or software modules corresponding to each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Professionals may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the protection scope of the present application.
- the embodiment of the present application may divide the electronic device into functional modules according to the above method examples.
- each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other feasible division methods in actual implementation. In the following, description will be made by taking the division of each functional module corresponding to each function as an example.
- FIG. 20 is a schematic block diagram of a shooting control device 800 based on a foldable screen provided in an embodiment of the present application.
- the device 800 is a device with a foldable screen.
- the apparatus 800 may be used to perform the actions performed by the electronic device in the above method embodiments.
- the device 800 includes a processing unit 810 , a display unit 820 and a photographing unit 830 .
- the processing unit 810 is configured to start the camera application in response to the user's first operation; to enable the split-screen mode in response to the user's second operation, and when the device 800 is in the split-screen mode, the foldable screen includes the first screen and A second screen, the first screen is used to display a shooting preview interface, and the second screen is used to display at least one shooting template;
- a display unit 820 configured to display the target shooting template on the second screen, or display the target shooting template on the first screen and the second screen in response to the third operation of the user selecting the target shooting template , the target shooting template includes M puzzle areas, and M is an integer greater than 1;
- the shooting unit 830 is configured to capture an Nth image in response to the received Nth shooting command, and display the Nth image in the Nth mosaic area of the target shooting template, where N is sequentially set to 1, ...M;
- the processing unit 810 is further configured to stitch the M images in the M mosaic areas to generate a target stitched image.
- the foldable screen can be displayed in split screens in the camera shooting mode, one screen displays the shooting preview interface, and the other screen displays shooting templates such as collage templates or action templates for User reference when shooting.
- shooting you can perform image stitching or filter processing on photos and/or videos according to the selected shooting template, that is, image stitching or filter processing can be realized during the shooting process, and the user's operation is convenient, which can improve the user's shooting experience.
- the device 800 may correspond to the implementation of the method described in the embodiment of the present application, and the above-mentioned and other operations and/or functions of the units in the device 800 are for realizing the corresponding flow of the method, and for the sake of brevity, are not described here Let me repeat.
- FIG. 21 is a schematic structural diagram of an electronic device 900 provided by an embodiment of the present application.
- the electronic device 900 may include a processor 910, an external memory interface 920, an internal memory 921, a universal serial bus (universal serial bus, USB) interface 930, a charge management module 940, a power management unit 941, a battery 942, an antenna 1, and an antenna 2.
- SIM subscriber identification module
- the sensor module 980 may include a pressure sensor 980A, a gyroscope sensor 980B, an air pressure sensor 980C, a magnetic sensor 980D, an acceleration sensor 980E, a distance sensor 980F, a proximity light sensor 980G, a fingerprint sensor 980H, a temperature sensor 980I, a touch sensor 980J, and ambient light sensor 980K and bone conduction sensor 980L and the like.
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 900 .
- the electronic device 900 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
- the illustrated components can be realized in hardware, software or a combination of software and hardware.
- the processor 910 may include one or more processing units, for example: the processor 910 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. Wherein, the controller may be the nerve center and command center of the electronic device 900 . The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
- a memory may also be provided in the processor 910 for storing instructions and data.
- the memory in processor 910 is a cache memory.
- the memory may hold instructions or data that the processor 910 has just used or recycled. If the processor 910 needs to use the instruction or data again, it can be directly recalled from the memory. Repeated access is avoided, and the waiting time of the processor 910 is reduced, thereby improving the efficiency of the system.
- processor 910 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, And/or a universal serial bus (universal serial bus, USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transceiver
- mobile industry processor interface mobile industry processor interface
- MIPI mobile industry processor interface
- general-purpose input and output general-purpose input/output
- GPIO general
- the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 900 .
- the electronic device 900 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
- the charging management module 940 is configured to receive charging input from the charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 940 can receive the charging input of the wired charger through the USB interface 930 .
- the charging management module 940 may receive wireless charging input through a wireless charging coil of the electronic device 900 . While the charging management module 940 is charging the battery 942 , it can also provide power for electronic devices through the power management unit 941 .
- the power management unit 941 is used to connect the battery 942 , the charging management module 940 and the processor 910 .
- the power management unit 941 receives the input of the battery 942 and/or the charging management module 940, and supplies power for the processor 910, the internal memory 921, the external memory, the display screen 994, the camera 993 and the wireless communication module 960, etc.
- the power management unit 941 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
- the power management unit 941 can also be set in the processor 910.
- the power management unit 941 and the charging management module 940 can also be set in the same device.
- the wireless communication function of the electronic device 900 may be realized by the antenna 1, the antenna 2, the mobile communication module 950, the wireless communication module 960, a modem processor, a baseband processor, and the like.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in electronic device 900 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
- Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
- the antenna may be used in conjunction with a tuning switch.
- the mobile communication module 950 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 900 .
- the mobile communication module 950 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
- the mobile communication module 950 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
- the mobile communication module 950 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
- at least part of the functional modules of the mobile communication module 950 may be set in the processor 910 .
- at least part of the functional modules of the mobile communication module 950 and at least part of the modules of the processor 910 may be set in the same device.
- a modem processor may include a modulator and a demodulator.
- the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
- the application processor outputs a sound signal through an audio device (not limited to a speaker 970A, a receiver 970B, etc.), or displays an image or video through a display screen 994 .
- the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 910, and be set in the same device as the mobile communication module 950 or other functional modules.
- the wireless communication module 960 can provide wireless communication including WLAN (such as Wi-Fi), BT, global navigation satellite system (global navigation satellite system, GNSS), FM, NFC, IR or general 2.4G/5G applied on the electronic device 900. technology and other wireless communication solutions.
- the wireless communication module 960 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 960 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 910 .
- the wireless communication module 960 can also receive the signal to be transmitted from the processor 910 , frequency-modulate and amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
- the wireless communication module 960 may be a Wi-Fi and/or Bluetooth chip.
- the electronic device 900 can establish a connection with chips of electronic devices such as wireless earphones through the chip, so as to implement wireless communication and business processing between the electronic device 900 and other electronic devices through the connection.
- the Bluetooth chip can usually support BR/EDR Bluetooth and BLE.
- the antenna 1 of the electronic device 900 is coupled to the mobile communication module 950, and the antenna 2 is coupled to the wireless communication module 960, so that the electronic device 900 can communicate with the network and other devices through wireless communication technology.
- Wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband code division Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TDSCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology etc.
- GNSS can include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi-zenith) satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- Beidou satellite navigation system beidou navigation satellite system, BDS
- quasi-zenith satellite system quasi-zenith satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite based augmentation systems
- the electronic device 900 implements a display function through a GPU, a display screen 994, an application processor, and the like.
- the GPU is a microprocessor for image processing, connected to the display screen 994 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
- Processor 910 may include one or more GPUs that execute program instructions to generate or alter display information.
- the display screen 994 is used to display images, videos and the like.
- Display 994 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
- the electronic device 900 may include 1 or N display screens 994, where N is a positive integer greater than 1.
- the electronic device 900 can realize the shooting function through an ISP, a camera 993 , a video codec, a GPU, a display screen 994 , an application processor, and the like.
- the ISP is used to process the data fed back by the camera 993. For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the optical signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
- ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be located in the camera 993 .
- Camera 993 is used to capture still images or video.
- the object generates an optical image through the lens and projects it to the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other image signals.
- the electronic device 900 may include 1 or N cameras 993, where N is a positive integer greater than 1.
- Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 900 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
- Video codecs are used to compress or decompress digital video.
- the electronic device 900 may support one or more video codecs.
- the electronic device 900 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
- MPEG moving picture experts group
- the NPU is a neural-network (NN) computing processor.
- NN neural-network
- Applications such as intelligent cognition of the electronic device 900 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
- the external memory interface 920 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 900.
- the external memory card communicates with the processor 910 through the external memory interface 920 to implement a data storage function. Such as saving music, video and other files in the external memory card.
- the internal memory 921 may be used to store computer-executable program codes including instructions.
- the processor 910 executes various functional applications and data processing of the electronic device 900 by executing instructions stored in the internal memory 921 .
- the internal memory 921 may include an area for storing programs and an area for storing data.
- the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
- the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 900 .
- the internal memory 921 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, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
- the processor 910 may be configured to execute the above program codes, and call related modules to realize the functions of the electronic device in the embodiment of the present application. For example, multiple communication links are established with another electronic device; when there is a preset service (such as a file transfer service, etc.), the data of the preset service is transmitted with another electronic device through multiple communication links.
- a preset service such as a file transfer service, etc.
- the electronic device 900 can realize the audio function through the speaker 970A, the receiver 970B, the microphone 970C, the earphone interface 970D, and the application processor in the audio module 970 . Such as music playback, recording, etc.
- the audio module 970 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
- the audio module 970 may also be used to encode and decode audio signals.
- the audio module 970 may be set in the processor 910 , or some functional modules of the audio module 970 may be set in the processor 910 .
- Loudspeaker 970A also called “horn” is used to convert audio electrical signals into sound signals.
- Electronic device 900 can listen to music through speaker 970A, or listen to hands-free calls.
- Receiver 970B also called “earpiece” is used to convert audio electrical signals into sound signals.
- the receiver 970B can be placed close to the human ear to receive the voice.
- Microphone 970C also called “microphone” is used to convert sound signal into electrical signal. When making a call or sending a voice message, the user can approach the microphone 970C to make a sound through the mouth, and input the sound signal to the microphone 970C.
- the electronic device 900 may be provided with at least one microphone 970C. In other embodiments, the electronic device 900 may be provided with two microphones 970C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 900 can also be provided with three, four or more microphones 970C, so as to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
- the earphone interface 970D is used to connect wired earphones.
- the earphone interface 970D may be a USB interface 930, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA
- the pressure sensor 980A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
- pressure sensor 980A may be located on display screen 994 .
- pressure sensors 980A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
- a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
- the electronic device 900 may also calculate the touched position according to the detection signal of the pressure sensor 980A.
- touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
- the gyro sensor 980B can be used to determine the motion posture of the electronic device 900 .
- the angular velocity of the electronic device 900 about three axes can be determined by the gyro sensor 980B.
- the gyro sensor 980B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 980B detects the shaking angle of the electronic device 900, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the electronic device 900 through reverse movement to achieve anti-shake.
- the gyroscope sensor 980B can also be used for navigation and somatosensory game scenes.
- the acceleration sensor 980E can detect the acceleration of the electronic device 900 in various directions (generally three axes). When the electronic device 900 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
- the distance sensor 980F is used to measure distance.
- the electronic device 900 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 900 can use the distance sensor 980F to measure distance to achieve fast focusing.
- the proximity light sensor 980G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode.
- the light emitting diodes may be infrared light emitting diodes.
- the electronic device 900 emits infrared light through the light emitting diode.
- Electronic device 900 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 900 . When insufficient reflected light is detected, the electronic device 900 may determine that there is no object near the electronic device 900 .
- the electronic device 900 can use the proximity light sensor 980G to detect that the user holds the electronic device 900 close to the ear to make a call, so as to automatically turn off the screen to save power.
- the proximity light sensor 980G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
- the ambient light sensor 980K is used for sensing ambient light brightness.
- the electronic device 900 can adaptively adjust the brightness of the display screen 994 according to the perceived ambient light brightness.
- the ambient light sensor 980K can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 980K can also cooperate with the proximity light sensor 980G to detect whether the electronic device 900 is in the pocket, so as to prevent accidental touch.
- the air pressure sensor 980C is used to measure air pressure.
- the electronic device 900 calculates the altitude based on the air pressure value measured by the air pressure sensor 980C to assist positioning and navigation.
- the magnetic sensor 980D includes a Hall sensor.
- the electronic device 900 may detect displacement of the electronic device 900 using the magnetic sensor 980D.
- the Hall sensor can use a magnet to form a linear trapezoidal magnetic field (or called a ramp magnetic field).
- the displacement change of the Hall sheet in the linear magnetic field is consistent with the change of the magnetic field intensity, and the formed Hall potential is also consistent with The displacement is proportional, and the electronic device 900 can measure the displacement by obtaining the Hall potential.
- the fingerprint sensor 980H is used to collect fingerprints.
- the electronic device 900 can use the collected fingerprint features to unlock fingerprints, access application locks, take photos with fingerprints, answer incoming calls with fingerprints, and the like.
- the temperature sensor 980I is used to detect temperature.
- the electronic device 900 uses the temperature detected by the temperature sensor 980I to implement a temperature processing strategy. For example, when the temperature reported by the temperature sensor 980I exceeds the threshold, the electronic device 900 may reduce the performance of a processor located near the temperature sensor 980I, so as to reduce power consumption and implement thermal protection.
- the electronic device 900 heats the battery 942 to avoid abnormal shutdown of the electronic device 900 caused by the low temperature.
- the electronic device 900 boosts the output voltage of the battery 942 to avoid abnormal shutdown caused by low temperature.
- Touch sensor 980J also known as "touch panel”.
- the touch sensor 980J can be arranged on the display screen 994, and the touch sensor 980J and the display screen 994 form a touch screen, also called “touch screen”.
- the touch sensor 980J is used to detect a touch operation on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- Visual output related to touch operations can be provided through the display screen 994 .
- the touch sensor 980J may also be disposed on the surface of the electronic device 900 , which is different from the position of the display screen 994 .
- the bone conduction sensor 980L can acquire vibration signals.
- the bone conduction sensor 980L can acquire the vibration signal of the vibrating bone mass of the human voice.
- the bone conduction sensor 980L can also touch the human pulse and receive the blood pressure beating signal.
- the bone conduction sensor 980L can also be disposed in the earphone, combined into a bone conduction earphone.
- the audio module 970 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 980L, so as to realize the voice function.
- the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 980L, so as to realize the heart rate detection function.
- the keys 990 include a power key, a volume key, and the like.
- the key 990 may be a mechanical key. It can also be a touch button.
- the electronic device 900 may receive key input and generate key signal input related to user settings and function control of the electronic device 900 .
- the motor 991 can generate vibration prompts.
- the motor 991 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
- touch operations applied to different applications may correspond to different vibration feedback effects.
- the motor 991 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 994 .
- Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
- the touch vibration feedback effect can also support customization.
- the indicator 992 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
- the SIM card interface 995 is used for connecting a SIM card.
- the SIM card can be connected and separated from the electronic device 900 by inserting it into the SIM card interface 995 or pulling it out from the SIM card interface 995 .
- the electronic device 900 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- SIM card interface 995 can support Nano SIM card, Micro SIM card, SIM card, etc.
- the same SIM card interface 995 can insert multiple cards at the same time. The types of multiple cards may be the same or different.
- the SIM card interface 995 is also compatible with different types of SIM cards.
- the SIM card interface 995 is also compatible with external memory cards.
- the electronic device 900 interacts with the network through the SIM card to implement functions such as calling and data communication.
- the electronic device 900 adopts an eSIM, that is, an embedded SIM card.
- the eSIM card can be embedded in the electronic device 900 and cannot be separated from the electronic device 900 .
- the electronic device 900 may be a mobile terminal or a non-mobile terminal.
- the electronic device 900 may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle terminal, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant) , PDA), wireless headsets, wireless bracelets, wireless smart glasses, wireless watches, augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) equipment, desktop computers, smart home appliances (such as TVs, speakers, refrigerators, air purifiers, air conditioners, rice cookers), etc.
- the electronic device 900 may also be collectively referred to as an Internet of Things (Internet of Things, IoT) device.
- IoT Internet of Things
- the electronic device 900 shown in FIG. 21 may correspond to the device 800 shown in FIG. 20 .
- the processor 910, the display screen 994, and the camera 993 in the electronic device 900 shown in FIG. 21 may respectively correspond to the processing unit 810, the display unit 820, and the camera unit 830 in the apparatus 800 in FIG. 20 .
- the processor 910 executes computer-executable instructions in the memory 921 to execute the operation steps of the above-mentioned method through the electronic device 900 .
- the present application provides a chip, the chip is coupled with a memory, and the chip is used to read and execute computer programs or instructions stored in the memory, so as to execute the methods in the foregoing embodiments.
- the present application provides an electronic device, which includes a chip, and the chip is used to read and execute computer programs or instructions stored in a memory, so that the methods in each embodiment are executed.
- the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores program codes, and when the computer program codes run on the computer, the computer executes the above-mentioned Methods in the Examples.
- the embodiments of the present application further provide a computer program product, the computer program product includes computer program code, and when the computer program code runs on the computer, the computer executes the Methods.
- the electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
- the hardware layer may include hardware such as a central processing unit (central processing unit, CPU), a memory management unit (memory management unit, MMU), and memory (also called main memory).
- the operating system of the operating system layer can be any one or more computer operating systems that realize business processing through processes, for example, Linux operating system, Unix operating system, Android operating system, iOS operating system, or windows operating system.
- the application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
- the embodiment of the present application does not specifically limit the specific structure of the execution subject of the method provided in the embodiment of the present application, as long as the program that records the code of the method provided in the embodiment of the present application can be executed according to the method provided in the embodiment of the present application Just communicate.
- the subject of execution of the method provided by the embodiment of the present application may be an electronic device, or a functional module in the electronic device capable of invoking a program and executing the program.
- Computer-readable media may include, but are not limited to, magnetic storage devices (such as hard disks, floppy disks, or tapes, etc.), optical disks (such as compact discs (compact disc, CD), digital versatile discs (digital versatile disc, DVD), etc. ), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), card, stick or key drive, etc.).
- magnetic storage devices such as hard disks, floppy disks, or tapes, etc.
- optical disks such as compact discs (compact disc, CD), digital versatile discs (digital versatile disc, DVD), etc.
- smart cards and flash memory devices for example, erasable programmable read-only memory (EPROM), card, stick or key drive, etc.
- Various storage media described herein can represent one or more devices and/or other machine-readable media for storing information.
- the term "machine-readable medium” may include, but is not limited to, wireless channels and various other media capable of storing, containing and/or carrying instructions and/or data.
- processors mentioned in the embodiment of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits ( application specific integrated circuit (ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
- the memory mentioned in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories.
- the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
- the volatile memory may be random access memory (RAM).
- RAM can be used as an external cache.
- RAM may include the following forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM) , double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and Direct memory bus random access memory (direct rambus RAM, DR RAM).
- static random access memory static random access memory
- dynamic RAM dynamic random access memory
- DRAM synchronous dynamic random access memory
- SDRAM synchronous DRAM
- double data rate SDRAM double data rate SDRAM
- DDR SDRAM double data rate SDRAM
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronous connection dynamic random access memory
- Direct memory bus random access memory direct rambus RAM, DR RAM
- the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
- the memory storage module may be integrated in the processor.
- memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
- the disclosed systems, devices and methods may be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
- the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
- the essence of the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution can be embodied in the form of computer software products, which are stored in a storage
- the computer software product includes several instructions, which are used to make a computer device (which may be a personal computer, server, or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium may include, but is not limited to: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请提供了一种基于可折叠屏的拍摄控制方法及电子设备,涉及通信技术领域。通过本方案,电子设备的可折叠屏在相机拍摄模式下可以分屏显示,一个屏显示拍摄预览界面,另一屏显示拼图模板、动作模板等拍摄模板,供用户拍摄时参考,还可以显示最近拍摄的一个或更多个照片或者视频,便于用户查看。在拍摄时可以按照所选拍摄模板对照片或视频进行图像拼接处理或者滤镜处理,即在拍摄过程中即可实现图像拼接或者滤镜处理,并且可以实现将处理后的图片快速分享、编辑或删除等,用户操作便捷,可提升用户拍摄体验。
Description
本申请要求于2021年08月20日提交国家知识产权局、申请号为202110963584.2、申请名称为“基于可折叠屏的拍摄控制方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信技术领域,尤其涉及一种基于可折叠屏的拍摄控制方法及电子设备。
随着电子设备和屏幕技术的不断发展,越来越多具有显示屏的电子设备应用于人们的日常生活和工作中,电子设备的显示屏可以给用户提供更丰富的信息,带给用户更好的使用体验。
目前,相机拍摄功能是电子设备提供的常用服务,用户通过电子设备可进行拍照或者录像。然后,如果用户需要对拍摄得到的照片或者视频进行处理,例如对多张照片作拼接处理,或者对照片和视频进行拼接处理,那么用户通常需要借助于第三方图像处理软件进行相应拼接处理,这样的操作不够便捷。
发明内容
本申请提供一种基于可折叠屏的拍摄控制方法及电子设备,解决了现有技术中电子设备在拍摄照片或视频方面以及对照片或视频进行拼接处理方面存在操作不够便捷的问题。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种基于可折叠屏的拍摄控制方法,应用于具有可折叠屏的电子设备,该方法包括:
响应于用户的第一操作,所述电子设备开启相机应用;
响应于用户的第二操作,所述电子设备启用分屏模式,在所述电子设备处于分屏模式时,所述可折叠屏包括第一屏和第二屏,所述第一屏用于显示拍摄预览界面,所述第二屏用于显示至少一个拍摄模板;
响应于用户选择目标拍摄模板的第三操作,所述电子设备在所述第二屏上显示所述目标拍摄模板,或者所述电子设备在所述第一屏和第二屏上显示所述目标拍摄模板,所述目标拍摄模板包括M个拼图区域,M为大于1的整数;其中,上述目标拍摄模板为上述至少一个目标中的任一个模板。
响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,并在所述目标拍摄模板的第N拼图区域中显示所述第N个图像,N依次取1,…M;
所述电子设备将所述M个拼图区域中的M个图像进行拼接,生成目标拼接图像。
通过本申请实施例提供的基于可折叠屏的拍摄控制方法,电子设备的可折叠屏在相机拍摄模式下可以分屏显示,一个屏显示拍摄预览界面,另一屏显示拼图模板或者动作模板等拍摄模板,供用户拍摄时参考。在拍摄时可以按照所选的拍摄模板对照片和/或视频进行 图像拼接处理或者滤镜处理,即在拍摄过程中即可实现图像拼接或者滤镜处理,用户操作便捷,可提升用户拍摄体验。
在一些可能实现方式中,在所述电子设备将所述M个拼图区域中的M个图像进行拼接,生成目标拼接图像之后,所述方法还包括:
响应于用户在所述目标拼接图像上的第四操作,所述电子设备在所述第二屏上显示至少一个应用图标;
响应于用户将所述目标拼接图像拖动到目标应用图标上的第五操作,所述电子设备将所述目标拼接图像发送到目标应用图标对应的应用服务器,以分享所述目标拼接图像。
通过上述方案,电子设备可以在第二屏上显示目标拼接图像,然后可以响应于用户在第二屏上的操作进行快速分享。此外,电子设备还可以响应于用户在第二屏上的操作进行快速编辑或删除等。如此,可以实现将处理后的图像快速分享、编辑或删除等,可提升用户拍摄体验。
在一些可能实现方式中,所述响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,N依次取1,…M,包括:
响应于用户的第六操作,所述电子设备开启倒计时连拍功能;
在所述倒计时连拍模式下,当第N次倒计时时长大于或等于预设倒计时时长时,所述电子设备发起第N次拍摄命令;
响应于所述第N次拍摄命令,所述电子设备拍摄得到第N个图像;
其中,N依次取1,…M。
上述方案提供了一种倒计时自动连拍的拍摄方式,在采用该拍摄方式时,无需用户触发拍摄,即可自动拍摄多张照片,提升了用户拍摄体验。
在一些可能实现方式中,上述响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,N依次取1,…M,包括:
当第N次检测到所述拍摄预览界面中包括预设图像时,所述电子设备发起第N次拍摄命令,所述预设图像包括笑脸特征或者预设手势特征;
响应于所述第N次拍摄命令,所述电子设备拍摄得到第N个图像;
其中,N依次取1,…M。
上述方案提供了另一种拍摄方式,当识别到预览界面中包括笑脸或特定手势等图像特征时,电子设备自动拍摄一次,提升了用户拍摄体验。
在一些可能实现方式中,所述响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,N依次取1,…M,包括:
响应于用户第N次输入的触发拍摄的第七操作,所述电子设备接收到第N次拍摄命令;
响应于所述第N次拍摄命令,所述电子设备拍摄得到第N个图像;
其中,N依次取1,…M。
上述方案提供了用户手动触发拍摄的方式,电子设备在接收到用户对拍摄控件的操作之后进行拍摄,这种拍摄方式可满足用户实际拍摄需求,可提升用户拍摄体验。
在一些可能实现方式中,所述第七操作为用户在拍照控件上的点击操作,所述第N次拍摄命令用于指示拍照;其中,所述电子设备响应于所述第N次拍摄命令拍摄得到的第N个图像为图片形式;
在另一些可能实现方式中,所述第七操作为用户在拍照控件上的长按操作,所述第N次拍摄命令用于指示开始录像,直到按压时长大于或等于预设时长后结束录像;其中,所述电子设备响应于所述第N次拍摄命令拍摄得到的第N个图像为视频形式;
其中,若所述M个图像均为图片形式,则所述目标拼接图像为图片形式;若所述M个图像中的至少一个图像为视频形式,则所述目标拼接图像为视频形式。
通过上述方案,在拍摄过程中,可以对拍摄得到的多个图片进行拼接,也可以对拍摄得到的图片和视频进行拼接,还可以对拍摄得到的多个视频进行拼接,拼接方式灵活多样,可提升用户拍摄体验。
在一些可能实现方式中,所述第二屏还显示有至少一个参考动作模板;所述方法还包括:
所述电子设备接收到用户选择目标参考动作模板的第八操作,所述目标参考动作模板为所述至少一个参考动作模板中的任一个模板;
响应于所述第八操作,所述电子设备在所述第二屏上显示所述目标参考动作模板对应的图像。
通过上述方案,若用户选择了某一动作模板,则可以在第二屏放大显示该动作模板,供用户自拍时参考,可提升用户拍摄体验。
在一些可能实现方式中,所述电子设备还包括第三屏,所述第三屏位于所述电子设备的与所述第一屏或者所述第二屏相反的一侧;所述方法还包括:
响应于所述第八操作,所述电子设备在所述第三屏上显示所述目标参考动作模板对应的图像。
通过上述方案,若执行拍摄的用户选择了某一动作模板,则还可以在第三屏上放大显示该动作模板,供被拍摄的用户参考,可提升用户拍摄体验。
在一些可能实现方式中,所述目标参考动作模板对应的图像预设有第一滤镜效果;所述方法还包括:
响应于所述第八操作,所述电子设备在所述拍摄预览界面上叠加显示所述第一滤镜效果。
通过上述方案,可以在动作模板中预设有滤镜效果,在用户选择某一具有特定滤镜效果的拍摄模板后,可以在拍摄预览界面中显示该滤镜效果,供用户拍摄时参考,可提升用户拍摄体验。
在一些可能实现方式中,在所述电子设备在所述拍摄预览界面上叠加显示所述第一滤镜效果之后,所述方法还包括:
响应于用户输入的触发拍摄的第九操作,所述电子设备拍摄得到带有所述第一滤镜效果的图像。
通过上述方案,若用户选择某一具有特定滤镜效果的拍摄模板进行拍摄,则拍摄得到的图像可以呈现该滤镜效果,在拍摄时即可实现滤镜处理,无需如现有技术那样在拍摄照片后通过第三方软件进行滤镜处理,本申请方案可提升用户拍摄体验。
在一些可能实现方式中,所述响应于用户的第二操作,所述电子设备启用分屏模式,包括:
当所述电子设备处于展开状态时,响应于用户的第二操作,所述电子设备控制所述可 折叠屏启用第一分屏模式,在所述第一分屏模式下,所述第一屏和所述第二屏的显示方式均为竖屏显示方式;
或者,当所述电子设备处于折叠状态时,响应于用户的第二操作,所述电子设备控制所述可折叠屏启用第二分屏模式,在所述第二分屏模式下,所述第一屏和所述第二屏的显示方式均为横屏显示方式。
通过上述方案,不管电子设备处于展开状态(或称为展开形态、展开态),还是处于折叠状态(或称为折叠形态、折叠态),均支持上述智慧分屏模式的拍摄功能。当电子设备处于展开状态时,分屏效果为竖屏效果。当电子设备处于折叠状态时,分屏效果为横屏效果。这样,可以在可折叠屏的各种形态下实现多功能拍摄,用户操作便捷,提升了用户拍摄体验。
在一些可能实现方式中,所述方法还包括:
所述电子设备检测所述第一屏和所述第二屏之间的角度值;
所述电子设备根据所述角度值确定所述电子设备是处于所述展开状态或者所述折叠状态。
通过上述方案,可以根据两个屏的夹角判断是可折叠屏是处于展开态还是折叠态,进而实现在可折叠屏的对应形态下进行多功能拍摄,提升用户拍摄体验。
在一些可能实现方式中,所述电子设备在所述第一屏和第二屏上显示所述目标拍摄模板,包括:
所述电子设备在所述M个拼图区域中的每个拼图区域中显示一个拍摄序号,所述拍摄序号用于指示连续拍摄M次的先后顺序;
所述电子设备在所述M个拼图区域中的第一拼图区域显示拍摄预览界面,所述拍摄预览界面按照所述拍摄序号对应的顺序依次显示于所述M个拼图区域中的每个拼图区域。
上述方案提供了一种按顺序连续拍摄多个图像的拍摄方式。这样的拍摄方式提升了拍摄互动性,因此可提升用户拍摄体验。
在一些可能实现方式中,所述方法还包括:
在所述电子设备开启多格同时拍摄功能的情况下,响应于所述电子设备接收到的一次拍摄命令,所述电子设备拍摄得到M个图像,并在所述目标拍摄模板的所述M个拼图区域中分别显示所述M个图像。
上述方案提供了一种同时拍摄多个图像的拍摄方式,可以通过电子设备的同一摄像头同时拍摄多个图像,也可以通过电子设备的不同摄像头同时拍摄多个图像。这样的拍摄方式灵活多样,可提升用户拍摄体验。
在一些可能实现方式中,所述电子设备包括第一摄像头和第二摄像头;其中,所述第一摄像头设置于所述电子设备的背板,所述第二摄像头设置于与所述电子设备的背板相反的一侧;
其中,所述响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,包括:
响应于所述电子设备接收到的第N次拍摄命令,所述电子设备通过所述第一摄像头或者所述第二摄像头拍摄得到第N个图像。
通过上述方案可知,本申请实施例提供的拍摄控制方法可以通过不同摄像头完成拍摄, 针对不同拍摄场景提供了多种拍摄选择和不同拍摄视角,因此可以提升用户拍摄体验。
在一些可能实现方式中,所述至少一个拍摄模板还包括多图片自由展示模板;所述方法还包括:
响应于用户选择所述多图片自由展示模板的操作,所述电子设备在所述第二屏上显示所述多图片自由展示模板;
响应于用户第S次输入的触发拍摄的操作,所述电子设备拍摄得到第S图像,并在所述多图片自由展示模板中显示S个图像,所述S个图像包括所述第S图像,S为正整数。
通过上述方案可知,除了可以在第二屏显示拼图模板或动作模板之外,本申请方案还可以支持在第二屏自由展示最近拍摄的一个或更多个图像照片或者视频,便于用户查看,因此可以提升用户拍摄体验。
在一些可能实现方式中,所述响应于用户的第二操作,所述电子设备启用分屏模式,包括:
当电子设备的可折叠屏全屏显示拍摄预览界面时,响应于用户的第二操作,所述电子设备显示第一提示信息,所述第一提示信息用于提示是否开启智慧分屏功能;
响应于用户输入的触发开启智慧分屏功能的操作,所述电子设备启用智慧分屏模式,在所述电子设备处于所述智慧分屏模式时,所述第一屏用于显示拍摄预览界面,所述第二屏用于显示所述至少一个拍摄模板。
通过上述方案可知,在触发分屏时,电子设备可以先提示用户是否开启智慧分屏模式,在开启智慧分屏模式后可以支持智慧分屏功能,在用户确认后,开启智慧分屏功能。这样可提升人机交互性,提升用户拍摄体验。
在一些可能实现方式中,在所述电子设备显示第一提示信息之后,所述方法还包括:
响应于用户输入的触发暂不开启智慧分屏功能的操作,所述电子设备启用常规分屏模式,在所述电子设备处于所述常规分屏模式时,所述第一屏用于显示拍摄预览界面,所述第二屏用于显示最近一次拍摄得到的图像。
通过上述方案可知,当电子设备提示用户是否开启智慧分屏模式时,若用户触发暂不开启智慧分屏模式,则电子设备开启常规分屏模式,在该模式下拍摄时第二屏可以用于显示最近一次拍摄的图像。这样可提升人机交互性,提升用户拍摄体验。
第二方面,本申请提供一种基于可折叠屏的拍摄控制装置,该装置包括用于执行上述第一方面中的方法的单元。该装置可对应于执行上述第一方面中描述的方法,该装置中的单元的相关描述请参照上述第一方面的描述,为了简洁,在此不再赘述。
其中,上述第一方面描述的方法可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,处理模块或单元、显示模块或单元等。
第三方面,本申请提供一种电子设备,所述电子设备包括处理器,处理器与存储器耦合,存储器用于存储计算机程序或指令,处理器用于执行存储器存储的计算机程序或指令,使得第一方面中的方法被执行。
例如,处理器用于执行存储器存储的计算机程序或指令,使得该装置执行第一方面中的方法。
第四方面,本申请提供一种计算机可读存储介质,其上存储有用于实现第一方面中的 方法的计算机程序(也可称为指令或代码)。
例如,该计算机程序被计算机执行时,使得该计算机可以执行第一方面中的方法。
第五方面,本申请提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面及其任意可能的实现方式中的方法。
可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线连接。
第六方面,本申请提供一种芯片系统,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面及其任意可能的实现方式中的方法。
可选地,所述芯片系统还包括存储器,存储器与处理器通过电路或电线连接。
第七方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序(也可称为指令或代码),所述计算机程序被计算机执行时使得所述计算机实现第一方面中的方法。
可以理解的是,上述第二方面至第七方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
图1为本申请实施例提供的电子设备的可折叠屏处于折叠状态或者展开状态时的示意图;
图2为本申请实施例提供的一种基于可折叠屏的拍摄控制方法的流程示意图;
图3为本申请实施例提供的另一种基于可折叠屏的拍摄控制方法的流程示意图;
图4为本申请实施例提供的又一种基于可折叠屏的拍摄控制方法的流程示意图;
图5为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图6为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图7为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图8为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图9为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图10为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图11为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图12为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图13为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图14为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图15为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图16为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图17为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图18为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图19为本申请实施例提供的基于可折叠屏的拍摄控制方法在应用时的界面示意图;
图20为本申请实施例提供的一种基于可折叠屏的拍摄控制装置的结构示意图;
图21为本申请实施例提供的电子设备的结构示意图。
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本 申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一屏和第二屏等是用于区别不同的屏,而不是用于描述屏的特定顺序。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。
图1为本申请实施例提供的包含可折叠屏的电子设备的产品形态示意图。本申请实施例中的电子设备包括可折叠屏,该可折叠屏可以沿折叠轴线展开或者折叠,在不同状态下可以呈现不同的显示区域。
图1中(a)是电子设备折叠时的形态示意图。如图1中(a)所示,从电子设备1的内部来看,可折叠屏可以呈现屏1和屏2。在电子设备1处于折叠状态且开启拍照模式时,电子设备1可以在在屏1显示拍摄预览界面,并且屏2上显示拍摄功能操作界面。通常可以将这种折叠状态称为“笔记本”状态。
图1中(b)和(c)是电子设备完全展开时从不同角度看的形态示意图。
如图1中(b)所示,电子设备1可以沿折叠轴(如图中的虚线所示)展开,此时从电子设备1的内部来看,可折叠屏呈现一个由图1中(a)中的屏1和屏2构成的大屏。示例性地,在电子设备1处于展开状态且开启相机拍摄功能时,电子设备1可以全屏显示拍摄预览界面。
如图1中(c)所示,从电子设备1的外部来看,可折叠屏呈现屏3。示例性地,在电子设备1处于展开状态且开启相机拍摄功能时,电子设备1还可以通过屏3显示拍摄预览界面。其中,第三屏可以设置在第一屏或第二屏的背面。
需要说明的是,屏1和屏2之间的夹角α的取值范围可以为[0°,180°]。本申请实施例中,如果α在[0°,P]范围内,可以确定电子设备处于折叠状态;如果α在(P,180°]范围内,可以确定电子设备处于展开状态。或者,如果α在[0°,P)范围内,可以确定电子设备处于折叠状态;如果α在[P,180°]范围内,可以确定电子设备处于展开状态。
其中,P是预设角度阈值。P可以是根据大量用户使用折叠屏的使用习惯确定的;或者,P可以由用户在电子设备中设定。具体可以根据实际使用需求确定,本申请实施例不作限定。
在一些实施例中,按照大多数用户的使用习惯,屏1和屏2的夹角α大于90°时,用户想要将屏1和屏2作为整体(即作为一个完整的显示屏)使用的可能性较高。
因此,本申请实施例中的预设角度阈值P可以大于90°。其中,预设角度阈值P的取值范围可以为(90°,180°)。例如,预设角度阈值P可以为100°、120°、135°、140°、145°或150°等。
再结合图1中(b)和(c)来看,电子设备1可以设置有摄像模块2、摄像模块3和摄像模块4。在拍摄时,用户可以根据实际使用需求,选择这些摄像模块中的任一个摄像模块进行拍摄。示例性地,在实际实现时,当用户需要朝向景物拍摄时,用户可以选择摄像模块3进行拍摄;当用户需要自拍时,用户可以选择摄像模块2或者摄像模块4进行拍摄。为了便于描述,下文中将以通过拍摄模块2进行拍摄为例进行示例性说明。
需要说明的是,本申请实施例中提及的图像可以表示照片,也可以表示视频。
还需要说明的是,本申请上下文中将以电子设备处于展开状态场景,或者电子设备处于折叠状态场景(这里排除完全折叠状态)为例,对本申请实施例提供的基于可折叠屏的拍摄控制方法进行示例性说明。
可选地,该电子设备的可折叠屏可以是柔性折叠屏。柔性折叠屏包括采用柔性材质制作的折叠边。该柔性折叠屏的部分或全部采用柔性材质制作。柔性折叠屏被折叠后形成的两个屏是一体结构的一个完整屏,两个屏可以理解为两个显示区域。
或者,该电子设备的可折叠屏可以为多屏折叠屏。该多屏折叠屏可包括多个(两个或两个以上)屏。这多个屏是多个单独的显示屏。这多个屏可依次通过折叠轴连接。每个屏可以绕与其连接的折叠轴转动,实现多屏折叠屏的折叠。
其中,本文以折叠屏是柔性折叠屏为例,对本申请实施例中的折叠屏进行说明。并且,本申请后续实施例中也以折叠屏是柔性折叠屏为例,对本申请实施例提供的方法进行说明。
需要说明的是,本申请实施例提供的拍摄控制方法可以适用于拍照场景,也同样适用于录像场景。为了便于描述,下文中以拍照场景为例对本申请实施例提供的拍摄控制方法进行示例性地说明。
本申请实施例中的电子设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例提供的基于可折叠屏的拍摄控制方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该基于可折叠屏的拍摄控制方法的功能模块和/或功能实体,并且本申请方案能够通过硬件和/或软件的方式实现,具体的可以根据实际使用需求确定,本申请实施例不作限定。下面以电子设备为例,结合附图对本申请实施例提供的基于可折叠屏的拍摄控制方法进行示例性的说明。
图2是本申请实施例提供的基于可折叠屏的拍摄控制方法的流程示意图。参照图2所示,该方法包括下述的步骤S101-S103。
S101,当电子设备的可折叠屏全屏显示拍摄预览界面时,响应于用户触发分屏的第一操作,将可折叠屏分为第一屏和第二屏,第一屏用于显示拍摄预览界面,第二屏用于显示拍摄得到的图像。
在本申请方案中,可折叠屏在内屏展开状态中,可唤起分屏状态,一个屏呈现取景区 域,另一屏呈现拍摄后的照片或视频内容。
在实际实现时,在具有可折叠屏的电子设备开启相机拍摄功能后,可折叠屏可以全屏显示拍摄预览界面。可选地,拍摄预览界面中可以显示有用于触发分屏的控件。其中,上述第一操作可以为用户在用于触发分屏的控件上的点击操作。
在本申请实施例中,上述将可折叠屏分为第一屏和第二屏,可以理解为将可折叠屏的显示区域划分为两个显示区域,一个区域称为第一屏,另一个区域称为第二屏,这两个区域分别用于显示不同界面。具体地,第一屏可作为主屏,用于显示拍摄预览界面;第二屏可作为副屏,用于显示拍摄后的图像,这相当于在第二屏建立了相册或图库,用于显示最近拍摄的一个或多个图像。
需要说明的是,本申请实施例不限定S101中电子设备的可折叠屏是处于折叠状态还是展开状态,具体可以根据实际使用情况确定,本申请实施例不作限定。
示例性地,当电子设备的可折叠屏处于展开状态时,电子设备的可折叠屏全屏显示拍摄预览界面。
可选地,在本申请实施例中,当电子设备接收到用户触发分屏的操作时,电子设备可以先显示提示信息,该提示信息用于提示是否开启智慧分屏功能。然后,根据用户的使用需求,电子设备再开启智慧分屏功能,或者不开启智慧分屏功能。为了便于描述,下面将未开启智慧分屏功能的分屏显示称为常规分屏显示。
一方面,若电子设备接收到用户的确认开启操作,则电子设备开启智慧分屏功能(或者称为智慧副屏功能),将可折叠屏分为第一屏和第二屏,第一屏用于显示拍摄预览界面,此时第二屏可以用于显示用于辅助拍摄的模板(简称为拍摄模板),例如拼图模板或者动作模板。即,可折叠屏在内屏展开状态中,开启智慧分屏功能后,可以推荐拼图布局,推荐参考动作等。
另一方面,若电子设备接收到用户的暂不开启操作,则电子设备将可折叠屏分为第一屏和第二屏,第一屏用于显示拍摄预览界面,此时第二屏可以用于显示拍摄得到的照片或者视频,这对应于常规分屏模式。
可选地,在本申请实施例中,对于暂不开启智慧分屏模式的情况,在预设时长之后,当再次触发分屏时,电子设备还可以再次提示用户是否开启智慧分屏模式,这样可提升人机交互性,提升用户拍摄体验。
S102,响应于用户触发拍摄的第二操作,拍摄得到第一图像,在第二屏按照预设拍摄模板显示第一图像。
其中,在电子设备的拍照模式下,拍摄预览界面中还显示有用于触发拍照的控件。
可选地,上述第二操作可以为用户在用于触发拍照的控件上的点击操作,此时拍摄得到的第一图像为照片形式。或者,上述第二操作可以为用户在用于触发拍照的控件上的长按操作,此时拍摄得到的第一图像为视频形式;其中,长按操作可以为按压时长超过预设时长的操作,例如预设时长可以为3秒。
S103,响应于用户触发拍摄的第三操作,拍摄得到第二图像,在第二屏按照预设拍摄模板显示第一图像和第二图像。
其中,类似于第二操作,第三操作可以为用户在用于触发拍照的控件上的点击操作,也可以为用户在用于触发拍照的控件上的长按操作,具体可以根据实际使用需求确定,本 申请实施例不作限定。
需要说明的是,本申请实施例中以在打开相机应用后拍摄两次后在第二屏显示两个图像为例进行示例性地说明,本申请实施例不限定第二屏能够显示图像的数量,在实际实现时,根据本申请实施例提供的方案,在打开相机应用后,每拍摄一个图像,即可在第二屏显示拍摄得到的图像,也就是说,在拍摄多个图像之后,可以在第二屏依次显示拍摄得到的多个图像。此时,第二屏所显示的界面相当于一个相册或图库的界面,可以用于显示最近拍摄的一个或多个图像。
在本申请实施例中,电子设备的折叠屏在相机拍摄模式下可以分屏显示,不仅可以显示拍摄预览界面,还可以显示最近拍摄的两个或更多个照片或者视频,更加便于用户查看。
可选地,在本申请实施例中,在电子设备执行拍摄操作,然后显示所拍摄的图像的情况下,可以支持用户选择所拍摄的图像进行快速分享、发送或者编辑等处理,提升用户体验。
示例性地,结合图2,如图3所示,在步骤S103之后,本申请实施例提供的拍摄控制方法还包括下述的步骤S104和S105。
S104,响应于用户对第二屏中的目标图像的第四操作,在第二屏显示至少一个处理控件,目标图像包括第一图像和/或第二图像。
其中,上述目标图像可以是第二屏显示的多个图像中的任一个图像。例如,目标图像可以是第一图像,也可以是第二图像,还可以是第一图像和第二图像,也可以是第二屏中除第一图像和第二图像之外的其他拍摄得到的一个或多个图像。
可选地,上述第四操作可以为用户在目标图像上的长按操作,也可以为用户在目标图像上的长按后向任意方向的拖动操作,或者可以为其他满足需求的操作,具体可以根据实际使用需求确定,本申请实施例不作限定。
需要说明的是,电子设备可以在第二屏显示一个或多个处理控件,例如用于将照片分享到社交应用的控件、用于对照片进行编辑的控件,或者用于删除照片的控件等。
示例性地,上述一个或多个处理控件包括第一处理控件,该第一处理控件为用于将照片分享到社交应用的控件。
S105,响应于用户对第一处理控件的第五操作,采用第一处理控件对应的功能对目标图像进行处理,该第一处理控件对应的功能为分享、编辑或者删除。
可选地,上述第五操作可以为用户将目标图像拖动到处理控件的拖动操作,也可以为用户在处理控件的点击操作,或者可以为其他满足需求的操作,具体可以根据实际使用需求确定,本申请实施例不作限定。
在实际实现时,上述至少一个处理控件可以呈现为一个或更多个社交应用的图标。当用户选中第二屏展示的一个或多个图片时,在第二屏弹出多个常用社交应用图标,当用户选中图片并将图片拖动到某一个社交应用图标上后松手时,电子设备可以将用户选中的图片发送到该社交应用图标对应的应用服务器,实现照片快速分享。
需要说明的是,这里第一处理控件对应的功能为示例性地列举,在实际实现时,第一处理控件对应的功能还可以是其他功能,具体可以根据实际使用需求设置,本申请实施例不作限定。其中,上述编辑功能可以指对图像涂鸦、剪切等处理功能。
通过上述方案,可以在电子设备拍摄照片或视频后,可随时根据用户需求,快速完成 照片或视频的分享或者编辑,提升用户体验。
可选地,在本申请实施例中,在电子设备开启智慧分屏后显示一个或更多个拍摄模板的情况下,当用户选择某一拍摄模板(以拼图模板为例)之后,可以支持在拍摄过程中按照拍摄模板对应的拼图样式对多张图片或视频进行拼图处理,提升用户体验。
示例性地,结合图3,如图4所示,在步骤S101之后,本申请实施例提供的拍摄控制方法还包括下述的步骤S106。
S106,响应于用户选择预设拍摄模板的操作,在第二屏显示与预设拍摄模板对应的拼图区域。
进一步地,在S106之后,图3中的步骤S102-104具体可以通过图4中的步骤S102A-104A实现。
S102A,响应于用户触发拍摄的第二操作,拍摄得到第一图像,在第二屏中与预设拍摄模板对应的拼图区域显示第一图像。
S103A,响应于用户触发拍摄的第三操作,拍摄得到第二图像,在第二屏中与预设拍摄模板对应的拼图区域显示第一图像和第二图像。
S104A,响应于用户对第二屏中的目标图像的第四操作,在第二屏显示至少一个处理控件,目标图像包括第一图像和第二图像。
通过上述方案,可以支持用户选择拍摄模板,在拍摄过程中可以将拍摄得到的多个照片或视频,按照拍摄模板进行拼接,形成一个拼接图像。并且,该拼接图像同样可以支持快速分享等处理,这样可提升用户体验。
下面结合图5对上述分屏显示进行示例性说明。图5中(a)-(d)示出了在电子设备处于展开状态时拍摄场景的界面示意图。
如图5中(a)所示,电子设备全屏显示拍照模式下的界面,该界面可以为拍摄预览界面,该拍摄预览界面可以显示待拍摄对象的预览图。如果用户需要直观地查看拍摄得到的照片,那么用户可以对拍摄预览界面中的分屏控件11进行操作,以触发电子设备分屏显示。
当电子设备接收到用户对分屏控件11的操作时,如图5中(b)所示,电子设备可以分屏显示,其中在第一屏上显示拍摄预览界面,并在第二屏上可以显示提示信息:“智慧分屏,开启后可使用丰富模板,根据场景为您智能推荐动作模板及滤镜”,以及开启控件12和暂不开启控件13。
如图5中(b)所示,当电子设备接收到用户对开启控件12的选择操作时,电子设备开启智慧分屏功能,如图5中(c)所示,电子设备在第二屏上显示一个或更多个拼图模板,例如拼图模板1、拼图模板2和拼图模板3,当然还可以显示更多个拼图模板。这些模板均为系统预设的拼图模板,用于将拍摄得到的多个图像按照模板样式拼接成一个图像。此外,还可以显示有多图片自由展示的选项,支持拍摄的图像依次独立呈现,不作拼接。
如图5中(d)所示,在电子设备开启智慧分屏功能后,电子设备还可以在第二屏上显示一个或更多个动作模板,例如动作1、动作2、动作3、动作4、动作5和动作6等动作模板,当然还可以显示更多个动作模板。这些模板均为系统提供的动作模板,用于拍摄时供用户参考。
其中,如图5中(c)和(d)所示,在第二屏上均显示有拼图模板选项13和动作模板选项14,可以用于触发在拼图模板界面和动作模板界面之间进行切换,便于用户操作。
通过上述方案,在电子设备开启智慧分屏功能后,可以通过可折叠屏的特定显示区域为用户展示各种模板,供用户选择和参考,可以提升拍摄效果。
以上图5描述了电子设备开启智慧分屏功能后的拍摄操作界面,下面结合图6示例性地说明电子设备未开启智慧分屏功能时的拍摄操作界面。
返回参考图5中的(b),当电子设备接收到用户对暂不开启控件13的操作时,电子设备可以不开启智慧分屏功能,即不会显示上述图5所示的各种模板。在此情况下,如图6中(a)所示,电子设备可以应用常规分屏显示,例如电子设备在第一屏显示拍摄预览界面,在未拍摄的情况下第二屏可以不显示图像。
如图6中(a)所示,当电子设备接收到用户对拍照控件的操作时,如图6中(b)所示,电子设备拍摄得到照片15,并在第二屏上显示照片15。如图6中(c)所示,当电子设备再次接收到用户对拍照控件的操作时,如图6中(d)所示,电子设备拍摄得到照片16,并在第二屏上显示照片16。也就是说,当可折叠屏在分屏状态中可以在拍摄完成后呈现一张最近拍摄的照片或视频。这样,可以便于用户在拍摄时直观地查看最近一次拍摄的照片或视频。
此外,如果用户需要全屏预览待拍摄画面,那么用户可以对图6中(d)所示的全屏控件17进行操作,以触发电子设备从分屏显示变为全屏显示。
本申请实施例提供的基于可折叠屏的拍摄控制方法,通过可折叠屏进行分屏显示,不但可以显示拍摄预览界面,而且还可以显示最近拍摄的一个或更多个照片或者视频,更加便于用户查看。
上述图5示出了电子设备开启智慧分屏后在第二屏展示拼图模板或者动作模板的界面示意图,下面将结合图7至图14示例性地描述电子设备开启智慧分屏后如何根据拼图模板或者动作模板进行拍摄的界面示意图。
图7示出了在电子设备开启智慧分屏后应用多图片自由展示功能的界面示意图。
如图7中(a)所示,当电子设备接收到用户在多图片自由展示的控件18上的操作时,电子设备启用多图片自由展示的功能。如图7中(b)所示,电子设备在第一屏显示拍摄预览界面,在未拍摄的情况下第二屏可以不显示图像。当电子设备接收到用户对拍照控件的操作时,如图7中(c)所示,电子设备拍摄得到照片19,并在第二屏上显示照片19。当电子设备再次接收到用户对拍照控件的操作时,如图7中(d)所示,电子设备拍摄得到照片20,此时电子设备在第二屏上依次显示照片19和照片20。也就是说,第二屏上可以显示最近拍摄得到的多个照片或视频。这样,可以便于用户在拍摄时直观地查看最近拍摄的照片或视频。
进一步地,如果用户需要将照片20分享或者编辑或者删除,那么用户可以对照片20长按,相应地,如图7中(e)所示,当电子设备接收到用户对照片20的操作时,电子设备在第二屏显示编辑控件21、分享控件22和删除控件23。如图7中(f)所示,当电子设备接收到用户将照片20拖动到分享控件22上的拖动操作时,电子设备将照片20发送给其他电子设备或者上传到服务器完成分享。其中,在照片20被拖动的过程中,照片20的显示尺寸可以发生变化,例如显示尺寸逐渐变小。
图8示出了在电子设备开启智慧分屏后应用拼图模板拍摄的界面示意图。
如图8中(a)所示,当电子设备接收到用户在拼图模板1对应的控件24上的操作时, 电子设备启用拼图模板1。如图8中(b)所示,电子设备在第一屏显示拍摄预览界面,在第二屏显示拼图模板1对应的拼图区域25。当电子设备接收到用户对拍照控件的操作时,电子设备拍摄得到照片26,并且如图8中(c)所示,电子设备在拼图区域25中显示照片26。当电子设备再次接收到用户对拍照控件的操作时,电子设备拍摄得到照片27,并且如图8中(d)所示,电子设备在拼图区域25中显示照片26和照片27。如此在继续拍摄得到两张照片后,如图8中(e)所示,电子设备在拼图区域25中显示由多个照片整合得到的照片,称为拼接图片25。如此,可以在拍摄过程中按照拍摄模板对应的拼图样式对多张图片进行拼接处理,可以提升用户体验。
进一步地,如果用户需要将拼接图片25分享或者编辑或者删除,那么用户可以向下拖动拼接图片25,相应地,如图8中(e)所示,当电子设备接收到用户对拼接图片25的操作时,电子设备在第二屏显示编辑控件、分享控件和删除控件。如图8中(f)所示,当电子设备接收到用户将拼接图片25拖动到分享控件上的拖动操作时,电子设备将拼接图片25发送给其他电子设备或者上传到服务器完成分享。其中,在拼接图片25被拖动的过程中,拼接图片25的显示尺寸可以发生变化,例如显示尺寸逐渐变小。
图9示出了在电子设备开启智慧分屏后应用拼图模板拍照并录像的界面示意图。
如图9中(a)所示,当电子设备接收到用户对拍照控件28的点击操作时,电子设备拍摄得到照片30,并在拼图区域29中显示该照片30。如图9中(b)所示,当电子设备再次接收到用户对拍照控件28的长按操作时,电子设备拍摄得到视频31,并在拼图区域29中显示照片30和视频31。如图9中(c)和(d)所示,在继续拍摄视频或者图片后,电子设备在拼图区域29中显示由视频和照片整合得到的一个视频文件,称为拼接视频29或者拼接视频缩略图29。如此,可以在拍摄过程中按照拍摄模板对应的拼图样式对多张图片和视频进行拼接处理,可以提升用户体验。
进一步地,如果用户需要将拼接视频29分享或者编辑或者删除,那么用户可以向下拖动拼接视频29,相应地,如图9中(e)所示,当电子设备接收到用户对拼接视频29的操作时,电子设备在第二屏显示编辑控件、分享控件和删除控件。如图9中(f)所示,当电子设备接收到用户将拼接视频29拖动到编辑控件上的拖动操作时,电子设备可以对拼接视频29进行编辑处理。其中,在拼接视频29被拖动的过程中,拼接视频29的显示尺寸可以发生变化,例如显示尺寸逐渐变小。
需要说明的是,本申请实施例上述多格录制的方案,既可以支持多格按顺序录制的场景,也可以支持多格同时录制的场景。具体可以根据实际使用需求设置,本申请实施例不作限定。
可选地,除了如上述在分屏状态下第一屏显示拍摄预览界面以及在第二屏显示拼图模板对应的拼图区域之外,本申请实施例还提供了一种基于可折叠屏的拍摄控制方法,可以根据用户实际使用需求,将选择的拼图区域全屏显示,在此情况下拼图区域中的每个区域在拍摄时依次显示拍摄预览界面。
图10示出了在电子设备开启智慧分屏后拼图模板全屏显示场景下进行拍照的界面示意图。
如图10中(a)所示,第二屏中显示有多个拼图模板,当电子设备接收到用户将第二屏中的拼图模板1拖动到第二屏的拖动操作时,如图10中(b)所示,电子设备在第一屏 显示拼图模板1,并且拼图模板1的显示尺寸逐渐增大,直至全屏显示。如图10中(c)所示,电子设备全屏显示拼图模板1对应的四宫格。其中,四宫格中的每个框对应一个序号,例如1,2,3,4,用于提示在拍摄照片时的先后显示顺序。再参考图10中(c)、(d)、(e)和(f)所示,在拍摄过程中,四宫格中的每个框交替作为取景框。电子设备响应于用户触发拍摄的操作,将拍摄得到的照片依次显示在宫格内。如此可以得到按照四宫格拼接的照片。
通过上述方案,通过将拼图模板放大到全屏显示,在拍摄时将每次得到的照片依次显示于拼图模板中,如此实现将拍摄得到的多个视频和/或照片按照拼图模板进行拼接,这样增强拍摄趣味性,提升用户体验。
图11示出了在图10所示的基于全屏显示的拼图模板拍照之后,如何快速分享拼接照片的界面示意图。
如图11中(a)所示,按照图10所示方式得到的拼接照片处于全屏显示的状态。如果用户需要对该拼接图片进行分享或者编辑或者删除等处理,那么用户可以对分屏控件11进行操作,以触发电子设备分屏显示。
当电子设备接收到用户对分屏控件11的操作时,如图11中(b)所示,电子设备分屏显示:在第一屏显示拍摄预览界面,在第二屏显示最近拍摄得到的拼接照片。
进一步地,如果用户需要将拼接照片分享或者编辑或者删除,那么用户可以长按拼接照片,相应地,如图11中(c)所示,当电子设备接收到用户对拼接照片的操作时,电子设备在第二屏显示编辑控件、分享控件和删除控件。如图11中(d)所示,当电子设备接收到用户将拼接照片拖动到分享上的拖动操作时,电子设备可以将拼接照片发送到其他电子设备完成分享。同样,在拼接照片被拖动的过程中,拼接照片的显示尺寸可以发生变化,例如显示尺寸逐渐变小。
如图11中(e)所示,在完成分享后,电子设备可以在第二屏显示提示信息:分享成功!返回继续拍照。该提示信息可以在预设时长(例如3秒)后取消显示。如图11中(f)所示,在提示信息取消显示后,电子设备在第二屏继续显示拼图模板对应的界面。
如此,可以实现从全屏显示拼图模板进行拍照,在得到拼接图片后切换到分屏显示界面,以便对拼接图片进行快速分享、编辑或者删除等操作。
以上详细描述了具有可折叠屏的电子设备应用拼图模板进行拍摄的过程,下面结合附图详细描述具有可折叠屏的电子设备应用动作模板进行拍摄的过程。
可选地,本申请实施例还提供了一种基于可折叠屏的拍摄控制方法,电子设备可以响应于用户主动选择某一类型的动作模板的操作,展示该类型的动作模板,供用户拍照时参考。或者,电子设备还可以采集待拍摄对象的图像并进行人脸识别,然后电子设备根据人脸识别的结果,显示对应的动作模板,供用户拍照时参考。
在实际实现时,当电子设备处于动作模板对应的界面时,电子设备可以实时或周期性地通过摄像头采集待拍摄对象的图像,并进行图像特征识别。
图12示出了在电子设备开启智慧分屏后应用动作模板拍照的界面示意图。其中,采用摄像头2进行拍摄,可将此场景称为自拍场景。
如图12中(a)所示,电子设备通过摄像头2采集到待拍摄对象的图像,并采用人工智能(artificial intelligence,AI)技术识别出图像中待拍摄对象为女性。相应地,电子设备 在第二屏显示提示信息:正在智能识别,将为您推荐参考动作;---女性---。
如图12中(b)所示,电子设备可以在第二屏显示与女性相关的动作模板,例如,动作1、动作2等多个参考动作图片,供用户选择。
当电子设备接收到用户在动作1图片上的操作(例如点击操作)时,如图12中(c)所示,电子设备在第二屏上放大显示动作1图片,供用户拍照时参考。
通过上述方案,在用户自拍场景中,可以根据用户实际使用需求,为用户展示动作模板供用户拍摄时参考,提升用户拍摄体验。
需要说明的是,上面的图12是在自拍场景中应用动作模板拍摄的界面示意图,下面的图13是另一种场景中应用动作模板拍摄的界面示意图,在此场景中采用图13中所示的摄像头3进行拍摄,通常由两个用户配合完成拍摄,假设用户1作为拍摄者,用户2作为被拍摄者,即待拍摄对象。
如图13中(a)所示,电子设备可以在第三屏显示拍摄预览界面,该拍摄预览界面中显示了待拍摄对象的图像,也就是说,用户2可以通过第三屏看到自己的图像。
如图13中(b)所示,电子设备同样可以在第一屏显示拍摄预览界面,向用户1展示待拍摄对象的图像;并在第二屏显示诸如动作1、动作2等多个参考动作图片,供用户1选择。当电子设备接收到用户1在动作1图片上的操作(例如点击操作)时,如图13中(c)所示,电子设备在第二屏上放大显示动作1图片,并且如图13中(d)所示,电子设备将第三屏上显示的内容更新显示为放大后的动作1图片,供用户2拍照时参考。
通过上述方案,在多用户配合拍照的场景中,可以通过不同的屏分别显示动作模板,方便拍摄者和被拍摄者查看,提升用户拍摄体验。
可选地,本申请实施例还提供了一种基于可折叠屏的拍摄控制方法,在拼图模板或者动作模板中可以预设有不同滤镜效果,当应用拼图模板或者动作模板时,可以同时应用对应的滤镜效果。也就是说,若应用了具有滤镜效果的拼图模板或者动作模板进行拍摄,则拍摄得到的图片或者视频可以具有对应的滤镜效果。
下面结合图14,以动作模板中预设有不同滤镜效果为例,对本申请实施例提供的拍摄控制方法进行示例性地说明。
如图14中(a)所示,电子设备通过摄像头采集到待拍摄对象的图像,并采用AI技术识别出图像中待拍摄对象为男性。相应地,电子设备在第二屏显示提示信息:正在智能识别,将为您推荐参考动作;---男性---。
如图14中(b)所示,电子设备可以在第二屏显示与男性相关的动作模板,例如,动作1、动作2等多个参考动作图片,并且动作模板中预设有不同滤镜效果。
当电子设备接收到用户在动作1图片上的操作(例如点击操作)时,如图14中(c)所示,电子设备在第二屏上放大显示动作1图片,供用户拍照时参考。当电子设备接收到触发拍照的指令时,如图14中(d)所示,电子设备拍摄得到照片32,并在第二屏上显示照片32,其中该照片32带有与动作1图片中滤镜效果相同的滤镜效果。
通过上述方案,在拍摄场景中,可以根据用户实际使用需求,为用户展示具有不同滤镜效果的动作模板供用户拍摄时参考,并且在选择动作模板后拍摄得到的照片可以具有对应的滤镜效果,提升用户拍摄体验。
可选地,本申请实施例还提供了一种基于可折叠屏的拍摄控制方法,本申请不限于上 述实施例介绍了拍摄过程中用户点击拍照按钮触发拍照的方式,在实际实现时,本申请实施例还可以通过下述方式触发拍照:当判断满足预设自动拍照条件时,系统自动拍照。其中,预设自动拍照条件可以包括以下任一项:检测到已开启倒计时拍照的功能,摄像头采集到的图像中包含诸如笑脸或特定手势等预设特征,当然还可以包其他任意可能的自动拍照条件。
示例性地,若摄像头采集到的图像中包含诸如笑脸或特定手势等预设特征,则摄像头自动拍摄照片。
再示例性地,在已开启倒计时拍照的功能后,系统开始倒计时(例如倒计时时长为3秒),当倒计时结束时,摄像头自动拍摄照片。例如,在应用四宫格的拼图模板的情况下,可以连续执行四次倒计时,即每次倒计时结束时,则摄像头自动拍摄一张照片,并重新开始倒计时,在下一次倒计时结束时再次自动拍摄一张照片,这样可以实现连续自动拍摄多张照片,并且得到的多张照片为具有对应拼图效果的照片,提升了用户拍摄体验。
需要说明的是,对于倒计时拍照而言,在已开启倒计时拍照的功能之后再选用拼图模板,可以触发系统自动拍照;或者,在选用拼图模板后再已开启倒计时拍照的功能,也可以触发系统自动拍照。具体可以根据实际使用需求设置,本申请实施例不作限定。
这样,无需用户手动点击拍照按钮触发拍照,可以实现连续多张照片自动触发拍摄,使得拍摄体验更有趣味性。
以上结合图5至图14描述在电子设备处于展开状态时未开启智慧分屏时进行拍摄以及开启智慧分屏进行拍摄的可能实现方式。下面结合图15至图19描述在电子设备处于折叠状态时未开启智慧分屏进行拍摄以及开启智慧分屏时进行拍摄的可能实现方式。
图15为在电子设备处于折叠状态时未开启智慧分屏进行拍摄的界面示意图。
如图15中(a)所示,以拍照为例,电子设备在第一屏显示拍摄预览界面,在第二屏显示拍摄功能操作界面,并且每当电子设备拍摄一张照片,则电子设备在第二屏显示该照片。
如图15中(b)所示,以录像为例,电子设备在第一屏显示拍摄预览界面,在第二屏显示拍摄功能操作界面,并且每当电子设备拍摄一个视频,则电子设备在第二屏显示该视频的缩略图。
由此可知,在常规分屏模式下,电子设备在第二屏仅显示最近一次拍摄得到的一张照片或者一个视频缩略图。也就是说,可折叠屏在“笔记本”状态中可以在拍摄完成后呈现一张最近拍摄的照片。
图16为在电子设备处于折叠状态时开启智慧分屏后拍摄并处理照片的界面示意图。
如图16中(a)所示,电子设备已开启智慧分屏,在第一屏显示拍摄预览界面,并在第二屏显示有多个拼图模板,当电子设备接收到用户在自由展示的控件上的操作时,电子设备启用多图片自由展示的功能。如图16中(b)所示,当电子设备接收到用户对拍照控件的操作时,如图16中(c)所示,电子设备拍摄得到照片,并在第二屏上显示该照片。当电子设备再次接收到用户对拍照控件的操作时,如图16中(d)所示,电子设备拍摄得到另一照片,此时电子设备在第二屏上依次显示这两张照片。也就是说,在第二屏上可以显示最近拍摄得到的多个照片或视频。这样,可以便于用户在拍摄时直观地查看最近拍摄的照片或视频。
进一步地,如果用户需要将第二屏上显示的任一张照片进行分享或者编辑或者删除,那么用户可以长按该照片,相应地,如图16中(e)所示,当电子设备接收到用户对照片的操作时,电子设备在第二屏显示编辑控件、分享控件和删除控件。如图16中(f)所示,当电子设备接收到用户将照片拖动到删除控件上的拖动操作时,电子设备删除该照片。其中,在照片被拖动的过程中,照片的显示尺寸可以发生变化,例如显示尺寸逐渐变小。
图17为在电子设备处于折叠状态时开启智慧分屏后,应用拼图模拍摄并处理照片的界面示意图。
如图17中(a)所示,电子设备已开启智慧分屏,在第一屏显示拍摄预览界面,并在第二屏显示有多个拼图模板,当电子设备接收到用户在两宫格拼图模板上的操作时,电子设备启用该两宫格拼图模板。如图17中(b)所示,电子设备在第二屏显示两宫格拼图模板对应的两宫格拼图区域。当电子设备接收到用户对拍照控件的操作时,电子设备拍摄得到一个照片,并且如图17中(c)所示,电子设备在两宫格拼图区域中显示该照片。当电子设备再次接收到用户对拍照控件的操作时,电子设备拍摄得到另一张照片,并且如图17中(d)所示,电子设备在两宫格拼图区域中显示这两张照片。这两张照片整合得到的照片称为拼接图片。如此,可以在拍摄过程中按照拍摄模板对应的拼图样式对多张图片进行拼接处理,可以提升用户体验。
进一步地,如果用户需要将该拼接图片进行分享或者编辑或者删除,那么用户可以向上拖动拼接图片,相应地,如图17中(e)所示,当电子设备接收到用户对拼接图片的操作时,电子设备在第二屏显示编辑控件、分享控件和删除控件。如图17中(f)所示,当电子设备接收到用户将拼接图片拖动到分享控件上的拖动操作时,电子设备将拼接图片发送给其他电子设备或者上传到服务器完成分享。其中,在拼接图片被拖动的过程中,拼接图片的显示尺寸可以发生变化,例如显示尺寸逐渐变小。
可选地,除了如上述在分屏状态下第一屏显示拍摄预览界面以及在第二屏显示拼图模板对应的拼图区域之外,还可以根据用户实际使用需求,将选择的拼图区域全屏显示,在此情况下拼图区域中的每个区域在拍摄时依次显示拍摄预览界面。
示例性地,图18示出了在电子设备开启智慧分屏后拼图模板全屏显示场景下进行拍照的界面示意图。
如图18中(a)所示,电子设备已开启智慧分屏,在第一屏显示拍摄预览界面,并在第二屏显示有多个拼图模板,当电子设备接收到用户将第二屏中的四宫格拼图模板朝向第二屏的拖动操作时,如图18中(b)所示,电子设备在第一屏显示四宫格拼图模板,并且四宫格拼图模板的显示尺寸逐渐增大,直至全屏显示。如图18中(c)所示,电子设备全屏显示四宫格拼图模板。其中,四宫格中的每个框对应一个序号,例如1,2,3,4,用于提示在拍摄照片时的先后显示顺序。再参考图18中(c)、(d)、(e)和(f)所示,在拍摄过程中,四宫格中的每个框交替作为取景框。电子设备响应于用户触发拍摄的操作,将拍摄得到的照片依次显示在四个框内。如此可以得到按照四宫格拼接的照片。
进一步地,如果用户需要将该拼接图片进行分享或者编辑或者删除,那么用户可以长按该拼接图片,相应地,如图18中(e)所示,当电子设备接收到用户对拼接图片的操作时,电子设备在第二屏显示拼接图片以及编辑控件、分享控件和删除控件。如图18中(f)所示,当电子设备接收到用户在分享控件上的点击操作时,电子设备将拼接图片发送给其 他电子设备或者上传到服务器完成分享。
通过上述方案,通过将拼图模板放大到全屏显示,在拍摄时将每次得到的照片依次显示于拼图模板中,如此实现将拍摄得到的多个视频和/或照片按照拼图模板进行拼接,这样增强拍摄趣味性,提升用户体验。
在实际实现时,在开启智慧分屏拍照的场景中,本申请实施例还可以实现倒计时拍照。在已开启倒计时拍照的功能后,系统开始倒计时(例如倒计时时长为3秒),当倒计时结束时,摄像头自动拍摄照片。
示例性地,图19示出了在电子设备开启智慧分屏后倒计时拍照的界面示意图。
如图19中(a)所示,电子设备已开启智慧分屏,在第一屏显示拍摄预览界面,并在第二屏显示有两宫格拼图模板,当电子设备接收到用户对第二屏显示的倒计时拍照控件33的操作时,电子设备开启倒计时拍照功能,并在第一屏显示提示信息:开始倒计时拍照。其中,假设倒计时的预设时长为3秒。
进一步地,如图19中(b)、(c)和(d)所示,电子设备在第一屏依次显示倒计时时间:3,2,1。当倒计时时间为1时,电子设备自动拍摄照片,并将拍摄得到的照片显示于两宫格拼图模板中。
进一步地,如图19中(e)、(f)和(g)所示,电子设备再次在第一屏依次显示倒计时时间:3,2,1。当倒计时时间为1时,电子设备再次自动拍摄照片,并将拍摄得到的照片也显示于两宫格拼图模板中。这两张照片整合得到的照片称为拼接图片。如此,可以在拍摄过程中按照拍摄模板对应的拼图样式对多张图片进行拼接处理,可以提升用户体验。
进一步地,如果用户需要将该拼接图片进行分享或者编辑或者删除,那么用户可以向下拖动拼接图片,相应地,如图19中(h)所示,当电子设备接收到用户将拼接图片向下拖动的操作时,电子设备在第二屏显示编辑控件、分享控件和删除控件;当拼接图片被拖动到分享控件上时,电子设备将拼接图片发送给其他电子设备或者上传到服务器完成分享。其中,在拼接图片被拖动的过程中,拼接图片的显示尺寸可以发生变化,例如显示尺寸逐渐变小。
通过上述方案,在应用拼图模板的情况下,每次倒计时结束时,则摄像头自动拍摄一张照片,并重新开始倒计时,在下一次倒计时结束时再次自动拍摄一张照片,这样可以实现连续自动拍摄多张照片,并且得到的多张照片为具有对应拼图效果的照片,提升了用户拍摄体验。
也需要说明的是,在本申请实施例中,“大于”可以替换为“大于或等于”,“小于或等于”可以替换为“小于”,或者,“大于或等于”可以替换为“大于”,“小于”可以替换为“小于或等于”。
本文中描述的各个实施例可以为独立的方案,也可以根据内在逻辑进行组合,这些方案都落入本申请的保护范围中。
可以理解的是,上述各个方法实施例中由电子设备实现的方法和操作,也可以由可用于电子设备的部件(例如芯片或者电路)实现。
上文描述了本申请提供的方法实施例,下文将描述本申请提供的装置实施例。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文 方法实施例,为了简洁,这里不再赘述。
上文主要从方法步骤的角度对本申请实施例提供的方案进行了描述。可以理解的是,为了实现上述功能,实施该方法的电子设备包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的保护范围。
本申请实施例可以根据上述方法示例,对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有其它可行的划分方式。下面以采用对应各个功能划分各个功能模块为例进行说明。
图20为本申请实施例提供的基于可折叠屏的拍摄控制装置800的示意性框图。该装置800为具有可折叠屏的装置。该装置800可以用于执行上文方法实施例中电子设备所执行的动作。该装置800包括处理单元810、显示单元820和拍摄单元830。
处理单元810,用于响应于用户的第一操作,开启相机应用;响应于用户的第二操作,启用分屏模式,在装置800处于分屏模式时,所述可折叠屏包括第一屏和第二屏,所述第一屏用于显示拍摄预览界面,所述第二屏用于显示至少一个拍摄模板;
显示单元820,用于响应于用户选择目标拍摄模板的第三操作,在所述第二屏上显示所述目标拍摄模板,或者在所述第一屏和第二屏上显示所述目标拍摄模板,所述目标拍摄模板包括M个拼图区域,M为大于1的整数;
拍摄单元830,用于响应于接收到的第N次拍摄命令,拍摄得到第N个图像,并在所述目标拍摄模板的第N拼图区域中显示所述第N个图像,N依次取1,…M;
处理单元810,还用于将所述M个拼图区域中的M个图像进行拼接,生成目标拼接图像。
通过本申请实施例提供的基于可折叠屏的拍摄控制装置,可折叠屏在相机拍摄模式下可以分屏显示,一个屏显示拍摄预览界面,另一屏显示拼图模板或者动作模板等拍摄模板,供用户拍摄时参考。在拍摄时可以按照所选的拍摄模板对照片和/或视频进行图像拼接处理或者滤镜处理,即在拍摄过程中即可实现图像拼接或者滤镜处理,用户操作便捷,可提升用户拍摄体验。
根据本申请实施例的装置800可对应于执行本申请实施例中描述的方法,并且装置800中的单元的上述和其它操作和/或功能分别为了实现方法的相应流程,为了简洁,在此不再赘述。
图21是本申请实施例提供的电子设备900的结构性示意性图。该电子设备900可以包括处理器910,外部存储器接口920,内部存储器921,通用串行总线(universal serial bus,USB)接口930,充电管理模块940,电源管理单元941,电池942,天线1,天线2,移动通信模块950,无线通信模块960,音频模块970,扬声器970A,受话器970B,麦克风970C, 耳机接口970D,传感器模块980,按键990,马达991,指示器992,摄像头993,显示屏994,以及用户标识模块(subscriber identification module,SIM)卡接口995等。其中传感器模块980可以包括压力传感器980A,陀螺仪传感器980B,气压传感器980C,磁传感器980D,加速度传感器980E,距离传感器980F,接近光传感器980G,指纹传感器980H,温度传感器980I,触摸传感器980J,环境光传感器980K以及骨传导传感器980L等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备900的具体限定。在本申请另一些实施例中,电子设备900可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器910可以包括一个或多个处理单元,例如:处理器910可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备900的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器910中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器910中的存储器为高速缓冲存储器。该存储器可以保存处理器910刚用过或循环使用的指令或数据。如果处理器910需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器910的等待时间,因而提高了系统的效率。
在一些实施例中,处理器910可以包括一个或多个接口。该接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备900的结构限定。在本申请另一些实施例中,电子设备900也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块940用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块940可以通过USB接口930接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块940可以通过电子设备900的无线充电线圈接收无线充电输入。充电管理模块940为电池942充电的同时,还可以通过电源管理单元941为电子设备供电。
电源管理单元941用于连接电池942,充电管理模块940与处理器910。电源管理单元941接收电池942和/或充电管理模块940的输入,为处理器910,内部存储器921,外部存储器,显示屏994,摄像头993和无线通信模块960等供电。电源管理单元941还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些 实施例中,电源管理单元941也可以设置于处理器910中。在另一些实施例中,电源管理单元941和充电管理模块940也可以设置于同一个器件中。
电子设备900的无线通信功能可以通过天线1、天线2、移动通信模块950、无线通信模块960、调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备900中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块950可以提供应用在电子设备900上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块950可以包括至少一个滤波器、开关、功率放大器、低噪声放大器(low noise amplifier,LNA)等。移动通信模块950可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块950还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块950的至少部分功能模块可以被设置于处理器910中。在一些实施例中,移动通信模块950的至少部分功能模块可以与处理器910的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器970A、受话器970B等)输出声音信号,或通过显示屏994显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器910,与移动通信模块950或其他功能模块设置在同一个器件中。
无线通信模块960可以提供应用在电子设备900上的包括WLAN(如Wi-Fi)、BT、全球导航卫星系统(global navigation satellite system,GNSS)、FM、NFC、IR或通用2.4G/5G无线通信技术等无线通信的解决方案。无线通信模块960可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块960经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器910。无线通信模块960还可以从处理器910接收待发送的信号,对其进行调频、放大,经天线2转为电磁波辐射出去。
在一些实施例中,该无线通信模块960可以为Wi-Fi和/或蓝牙芯片。电子设备900可以通过该芯片,与无线耳机等电子设备的芯片之间建立连接,以通过该连接实现电子设备900和其他电子设备之间的无线通信和业务处理。其中,蓝牙芯片通常可以支持BR/EDR蓝牙和BLE。
在一些实施例中,电子设备900的天线1和移动通信模块950耦合,天线2和无线通信模块960耦合,使得电子设备900可以通过无线通信技术与网络以及其他设备通信。无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TDSCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。GNSS可以 包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备900通过GPU,显示屏994,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏994和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器910可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏994用于显示图像,视频等。显示屏994包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备900可以包括1个或N个显示屏994,N为大于1的正整数。
电子设备900可以通过ISP、摄像头993、视频编解码器、GPU、显示屏994以及应用处理器等实现拍摄功能。
ISP用于处理摄像头993反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点、亮度、肤色进行算法优化。ISP还可以对拍摄场景的曝光、色温等参数优化。在一些实施例中,ISP可以设置在摄像头993中。
摄像头993用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备900可以包括1个或N个摄像头993,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备900在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备900可以支持一种或多种视频编解码器。这样,电子设备900可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备900的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口920可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备900的存储能力。外部存储卡通过外部存储器接口920与处理器910通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器921可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处 理器910通过运行存储在内部存储器921的指令,从而执行电子设备900的各种功能应用以及数据处理。内部存储器921可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备900使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器921可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
处理器910可以用于执行上述程序代码,调用相关模块以实现本申请实施例中电子设备的功能。例如,与另一电子设备建立多个通信链路;在有预设业务(例如文件传输业务等)时,通过多个通信链路与另一电子设备传输预设业务的数据。
电子设备900可以通过音频模块970中的扬声器970A、受话器970B、麦克风970C、耳机接口970D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块970用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块970还可以用于对音频信号编码和解码。在一些实施例中,音频模块970可以设置于处理器910中,或将音频模块970的部分功能模块设置于处理器910中。
扬声器970A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备900可以通过扬声器970A收听音乐,或收听免提通话。
受话器970B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备900接听电话或语音信息时,可以通过将受话器970B靠近人耳接听语音。
麦克风970C,也称“话筒”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风970C发声,将声音信号输入到麦克风970C。电子设备900可以设置至少一个麦克风970C。在另一些实施例中,电子设备900可以设置两个麦克风970C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备900还可以设置三个,四个或更多麦克风970C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口970D用于连接有线耳机。耳机接口970D可以是USB接口930,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器980A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器980A可以设置于显示屏994。压力传感器980A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器980A,电极之间的电容改变。电子设备900根据电容的变化确定压力的强度。当有触摸操作作用于显示屏994,电子设备900根据压力传感器980A检测触摸操作强度。电子设备900也可以根据压力传感器980A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器980B可以用于确定电子设备900的运动姿态。在一些实施例中,可以通过陀螺仪传感器980B确定电子设备900围绕三个轴(例如x,y和z轴)的角速度。陀螺仪传感器980B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器980B检测电子设备900抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备900的抖动,实现防抖。陀螺仪传感器980B还可以用于导航,体感游戏场景。
加速度传感器980E可检测电子设备900在各个方向上(一般为三轴)加速度的大小。当电子设备900静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器980F用于测量距离。电子设备900可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备900可以利用距离传感器980F测距以实现快速对焦。
接近光传感器980G可以包括例如发光二极管(light-emitting diode,LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备900通过发光二极管向外发射红外光。电子设备900使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备900附近有物体。当检测到不充分的反射光时,电子设备900可以确定电子设备900附近没有物体。电子设备900可以利用接近光传感器980G检测用户手持电子设备900贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器980G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器980K用于感知环境光亮度。电子设备900可以根据感知的环境光亮度自适应调节显示屏994亮度。环境光传感器980K也可用于拍照时自动调节白平衡。环境光传感器980K还可以与接近光传感器980G配合,检测电子设备900是否在口袋里,以防误触。
气压传感器980C用于测量气压。在一些实施例中,电子设备900通过气压传感器980C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器980D包括霍尔传感器。电子设备900可以利用磁传感器980D检测电子设备900的位移。在一些实施例中,霍尔传感器可以利用磁铁形成线性的梯形磁场(或称为斜坡磁场),霍尔片在线性磁场中的位移变化与磁场强度变化相一致,形成的霍尔电势也就与位移成正比,电子设备900获取霍尔电势,就可以测量出位移大小。
指纹传感器980H用于采集指纹。电子设备900可以利用采集的指纹特性实现指纹解锁,访问应用锁、指纹拍照、指纹接听来电等。
温度传感器980I用于检测温度。在一些实施例中,电子设备900利用温度传感器980I检测的温度,执行温度处理策略。例如,当温度传感器980I上报的温度超过阈值,电子设备900执行降低位于温度传感器980I附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备900对电池942加热,以避免低温导致电子设备900异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备900对电池942的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器980J,也称“触控面板”。触摸传感器980J可以设置于显示屏994,由触摸传感器980J与显示屏994组成触摸屏,也称“触控屏”。触摸传感器980J用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定 触摸事件类型。可以通过显示屏994提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器980J也可以设置于电子设备900的表面,与显示屏994所处的位置不同。
骨传导传感器980L可以获取振动信号。在一些实施例中,骨传导传感器980L可以获取人体声部振动骨块的振动信号。骨传导传感器980L也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器980L也可以设置于耳机中,结合成骨传导耳机。音频模块970可以基于骨传导传感器980L获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于骨传导传感器980L获取的血压跳动信号解析心率信息,实现心率检测功能。
按键990包括开机键、音量键等。按键990可以是机械按键。也可以是触摸式按键。电子设备900可以接收按键输入,产生与电子设备900的用户设置以及功能控制有关的键信号输入。
马达991可以产生振动提示。马达991可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照、音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏994不同区域的触摸操作,马达991也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒、接收信息、闹钟、游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器992可以是指示灯,可以用于指示充电状态、电量变化,也可以用于指示消息、未接来电、通知等。
SIM卡接口995用于连接SIM卡。SIM卡可以通过插入SIM卡接口995,或从SIM卡接口995拔出,实现和电子设备900的接触和分离。电子设备900可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口995可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口995可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口995也可以兼容不同类型的SIM卡。SIM卡接口995也可以兼容外部存储卡。电子设备900通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备900采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备900中,不能和电子设备900分离。
电子设备900可以为移动终端,也可以为非移动终端。示例性的,电子设备900可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)、无线耳机、无线手环、无线智能眼镜、无线手表、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、台式计算机、智能家电(例如电视、音箱、冰箱、空气净化器、空调、电饭煲)等。其中,电子设备900也可以被统称为物联网(Internet of Things,IoT)设备。本申请实施例对电子设备900的设备类型不予具体限定。
应理解,图21所示的电子设备900可对应于图20所示的装置800。其中,图21所示的电子设备900中的处理器910、显示屏994、摄像头993,可以分别对应于图20中的装置800中的处理单元810、显示单元820、摄像单元830。
在实际实现时,在电子设备900运行时,处理器910执行存储器921中的计算机执行指令以通过电子设备900执行上述方法的操作步骤。
可选地,在一些实施例中,本申请提供一种芯片,该芯片与存储器耦合,该芯片用于读取并执行存储器中存储的计算机程序或指令,以执行上述各实施例中的方法。
可选地,在一些实施例中,本申请提供一种电子设备,该电子设备包括芯片,该芯片用于读取并执行存储器存储的计算机程序或指令,使得各实施例中的方法被执行。
可选地,在一些实施例中,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序代码,当计算机程序代码在计算机上运行时,使得计算机执行上述各实施例中的方法。
可选地,在一些实施例中,本申请实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行上述各实施例中的方法。
在本申请实施例中,电子设备包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。其中,硬件层可以包括中央处理器(central processing unit,CPU)、内存管理单元(memory management unit,MMU)和内存(也称为主存)等硬件。操作系统层的操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。应用层可以包含浏览器、通讯录、文字处理软件、即时通信软件等应用。
本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构进行特别限定,只要能够通过运行记录有本申请实施例提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可。例如,本申请实施例提供的方法的执行主体可以是电子设备,或者,是电子设备中能够调用程序并执行程序的功能模块。
本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本文中使用的术语“制品”可以涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。
本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可以包括但不限于:无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM, EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM可以包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。
还需要说明的是,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的保护范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上,或者说对现有技术做出贡献的部分,或者该技术方案的部分,可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,该计算机软件产品包括若干指令,该指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。前述的存储介质可以包括但不限于:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的 实施例的目的,不是旨在于限制本申请。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (22)
- 一种基于可折叠屏的拍摄控制方法,其特征在于,应用于具有可折叠屏的电子设备,所述方法包括:响应于用户的第一操作,所述电子设备开启相机应用;响应于用户的第二操作,所述电子设备启用分屏模式,在所述电子设备处于分屏模式时,所述可折叠屏包括第一屏和第二屏,所述第一屏用于显示拍摄预览界面,所述第二屏用于显示至少一个拍摄模板;响应于用户选择目标拍摄模板的第三操作,所述电子设备在所述第二屏上显示所述目标拍摄模板,或者所述电子设备在所述第一屏和第二屏上显示所述目标拍摄模板,所述目标拍摄模板包括M个拼图区域,M为大于1的整数;响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,并在所述目标拍摄模板的第N拼图区域中显示所述第N个图像,N依次取1,…M;所述电子设备将所述M个拼图区域中的M个图像进行拼接,生成目标拼接图像。
- 根据权利要求1所述的方法,其特征在于,在所述电子设备将所述M个拼图区域中的M个图像进行拼接,生成目标拼接图像之后,所述方法还包括:响应于用户在所述目标拼接图像上的第四操作,所述电子设备在所述第二屏上显示至少一个应用图标;响应于用户将所述目标拼接图像拖动到目标应用图标上的第五操作,所述电子设备将所述目标拼接图像发送到目标应用图标对应的应用服务器,以分享所述目标拼接图像。
- 根据权利要求1或2所述的方法,其特征在于,所述响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,N依次取1,…M,包括:响应于用户的第六操作,所述电子设备开启倒计时连拍功能;在所述倒计时连拍模式下,当第N次倒计时时长大于或等于预设倒计时时长时,所述电子设备发起第N次拍摄命令;响应于所述第N次拍摄命令,所述电子设备拍摄得到第N个图像;其中,N依次取1,…M。
- 根据权利要求1或2所述的方法,其特征在于,上述响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,N依次取1,…M,包括:当第N次检测到所述拍摄预览界面中包括预设图像时,所述电子设备发起第N次拍摄命令,所述预设图像包括笑脸特征或者预设手势特征;响应于所述第N次拍摄命令,所述电子设备拍摄得到第N个图像;其中,N依次取1,…M。
- 根据权利要求1或2所述的方法,其特征在于,所述响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,N依次取1,…M,包括:响应于用户第N次输入的触发拍摄的第七操作,所述电子设备接收到第N次拍摄命令;响应于所述第N次拍摄命令,所述电子设备拍摄得到第N个图像;其中,N依次取1,…M。
- 根据权利要求5所述的方法,其特征在于,所述第七操作为用户在拍照控件上的点击操作,所述第N次拍摄命令用于指示拍照;其中,所述电子设备响应于所述第N次拍摄命令拍摄得到的第N个图像为图片形式;或者,所述第七操作为用户在拍照控件上的长按操作,所述第N次拍摄命令用于指示开始录像,直到按压时长大于或等于预设时长后结束录像;其中,所述电子设备响应于所述第N次拍摄命令拍摄得到的第N个图像为视频形式;其中,若所述M个图像均为图片形式,则所述目标拼接图像为图片形式;若所述M个图像中的至少一个图像为视频形式,则所述目标拼接图像为视频形式。
- 根据权利要求1至6中任一项所述的方法,其特征在于,所述第二屏还显示有至少一个参考动作模板;所述方法还包括:所述电子设备接收到用户选择目标参考动作模板的第八操作,所述目标参考动作模板为所述至少一个参考动作模板中的任一个模板;响应于所述第八操作,所述电子设备在所述第二屏上显示所述目标参考动作模板对应的图像。
- 根据权利要求7所述的方法,其特征在于,所述电子设备还包括第三屏,所述第三屏位于所述电子设备的与所述第一屏或者所述第二屏相反的一侧;所述方法还包括:响应于所述第八操作,所述电子设备在所述第三屏上显示所述目标参考动作模板对应的图像。
- 根据权利要求7或8所述的方法,其特征在于,所述目标参考动作模板对应的图像预设有第一滤镜效果;所述方法还包括:响应于所述第八操作,所述电子设备在所述拍摄预览界面上叠加显示所述第一滤镜效果。
- 根据权利要求9所述的方法,其特征在于,在所述电子设备在所述拍摄预览界面上叠加显示所述第一滤镜效果之后,所述方法还包括:响应于用户输入的触发拍摄的第九操作,所述电子设备拍摄得到带有所述第一滤镜效果的图像。
- 根据权利要求1至10中任一项所述的方法,其特征在于,所述响应于用户的第二操作,所述电子设备启用分屏模式,包括:当所述电子设备处于展开状态时,响应于用户的第二操作,所述电子设备控制所述可折叠屏启用第一分屏模式,在所述第一分屏模式下,所述第一屏和所述第二屏的显示方式均为竖屏显示方式;或者,当所述电子设备处于折叠状态时,响应于用户的第二操作,所述电子设备控制所述可折叠屏启用第二分屏模式,在所述第二分屏模式下,所述第一屏和所述第二屏的显示方式均为横屏显示方式。
- 根据权利要求11所述的方法,其特征在于,所述方法还包括:所述电子设备检测所述第一屏和所述第二屏之间的角度值;所述电子设备根据所述角度值确定所述电子设备是处于所述展开状态或者所述折叠状态。
- 根据权利要求1至12中任一项所述的方法,其特征在于,所述电子设备在所述第一屏和第二屏上显示所述目标拍摄模板,包括:所述电子设备在所述M个拼图区域中的每个拼图区域中显示一个拍摄序号,所述拍摄序号用于指示连续拍摄M次的先后顺序;所述电子设备在所述M个拼图区域中的第一拼图区域显示拍摄预览界面,所述拍摄预览界面按照所述拍摄序号对应的顺序依次显示于所述M个拼图区域中的每个拼图区域。
- 根据权利要求1至12中任一项所述的方法,其特征在于,所述方法还包括:在所述电子设备开启多格同时拍摄功能的情况下,响应于所述电子设备接收到的一次拍摄命令,所述电子设备拍摄得到M个图像,并在所述目标拍摄模板的所述M个拼图区域中分别显示所述M个图像。
- 根据权利要求1至14中任一项所述的方法,其特征在于,所述电子设备包括第一摄像头和第二摄像头;其中,所述第一摄像头设置于所述电子设备的背板,所述第二摄像头设置于与所述电子设备的背板相反的一侧;其中,所述响应于所述电子设备接收到的第N次拍摄命令,所述电子设备拍摄得到第N个图像,包括:响应于所述电子设备接收到的第N次拍摄命令,所述电子设备通过所述第一摄像头或者所述第二摄像头拍摄得到第N个图像。
- 根据权利要求1至15中任一项所述的方法,其特征在于,所述至少一个拍摄模板还包括多图片自由展示模板;所述方法还包括:响应于用户选择所述多图片自由展示模板的操作,所述电子设备在所述第二屏上显示所述多图片自由展示模板;响应于用户第S次输入的触发拍摄的操作,所述电子设备拍摄得到第S图像,并在所述多图片自由展示模板中显示S个图像,所述S个图像包括所述第S图像,S为正整数。
- 根据权利要求1至16中任一项所述的方法,其特征在于,所述响应于用户的第二操作,所述电子设备启用分屏模式,包括:当电子设备的可折叠屏全屏显示拍摄预览界面时,响应于用户的第二操作,所述电子设备显示第一提示信息,所述第一提示信息用于提示是否开启智慧分屏功能;响应于用户输入的触发开启智慧分屏功能的操作,所述电子设备启用智慧分屏模式,在所述电子设备处于所述智慧分屏模式时,所述第一屏用于显示拍摄预览界面,所述第二屏用于显示所述至少一个拍摄模板。
- 根据权利要求17所述的方法,其特征在于,在所述电子设备显示第一提示信息之后,所述方法还包括:响应于用户输入的触发暂不开启智慧分屏功能的操作,所述电子设备启用常规分屏模式,在所述电子设备处于所述常规分屏模式时,所述第一屏用于显示拍摄预览界面,所述第二屏用于显示最近一次拍摄得到的图像。
- 一种电子设备,其特征在于,包括处理器,所述处理器与存储器耦合,所述处理器用于执行所述存储器中存储的计算机程序或指令,以使得所述电子设备实现如权利要求1至18中任一项所述的方法。
- 一种芯片系统,其特征在于,所述芯片系统与存储器耦合,所述芯片系统用于读取并执行所述存储器中存储的计算机程序,以实现如权利要求1至18中任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至18中任一项所述的方法。
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1至18中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110963584.2A CN113824878A (zh) | 2021-08-20 | 2021-08-20 | 基于可折叠屏的拍摄控制方法及电子设备 |
CN202110963584.2 | 2021-08-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023020006A1 true WO2023020006A1 (zh) | 2023-02-23 |
Family
ID=78923150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/089759 WO2023020006A1 (zh) | 2021-08-20 | 2022-04-28 | 基于可折叠屏的拍摄控制方法及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113824878A (zh) |
WO (1) | WO2023020006A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117714834A (zh) * | 2023-06-21 | 2024-03-15 | 荣耀终端有限公司 | 摄像头控制方法及其相关设备 |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113824878A (zh) * | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | 基于可折叠屏的拍摄控制方法及电子设备 |
CN114051100B (zh) * | 2022-01-13 | 2022-07-08 | 荣耀终端有限公司 | 一种实时共享拍照信息的方法、系统及其终端设备 |
CN116546313A (zh) * | 2022-01-25 | 2023-08-04 | 华为技术有限公司 | 一种复原拍摄的方法及电子设备 |
CN116567394A (zh) * | 2022-01-27 | 2023-08-08 | 华为技术有限公司 | 一种分享多媒体文件的方法、发送端设备和接收端设备 |
CN116939093A (zh) * | 2022-03-30 | 2023-10-24 | 华为技术有限公司 | 一种拍摄方法及电子设备 |
CN114866694A (zh) * | 2022-04-24 | 2022-08-05 | 维沃移动通信有限公司 | 拍摄方法和拍摄装置 |
CN116048436B (zh) * | 2022-06-17 | 2024-03-08 | 荣耀终端有限公司 | 应用界面显示方法、电子设备及存储介质 |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010041255A (ja) * | 2008-08-01 | 2010-02-18 | Sony Corp | 撮像装置、撮像方法およびプログラム |
CN105812643A (zh) * | 2014-12-30 | 2016-07-27 | 中兴通讯股份有限公司 | 拼图的处理方法及装置 |
CN106780304A (zh) * | 2016-12-06 | 2017-05-31 | 仙桃市寒悦社美图有限公司 | 手机图片处理软件 |
CN108769511A (zh) * | 2018-05-07 | 2018-11-06 | 北京金山安全软件有限公司 | 一种图像拍摄方法、装置、电子设备及存储介质 |
CN109656450A (zh) * | 2018-11-28 | 2019-04-19 | 维沃移动通信有限公司 | 一种图像显示方法及终端设备 |
CN109922271A (zh) * | 2019-04-18 | 2019-06-21 | 珠海格力电器股份有限公司 | 一种基于折叠屏的移动终端及其拍照方法 |
CN111263005A (zh) * | 2020-01-21 | 2020-06-09 | 华为技术有限公司 | 一种折叠屏的显示方法及相关装置 |
WO2021036770A1 (zh) * | 2019-08-26 | 2021-03-04 | 华为技术有限公司 | 一种分屏处理方法及终端设备 |
CN113824878A (zh) * | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | 基于可折叠屏的拍摄控制方法及电子设备 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5749115B2 (ja) * | 2011-08-12 | 2015-07-15 | 京セラ株式会社 | 携帯端末装置、プログラムおよび電子文書作成方法 |
CN103116468A (zh) * | 2013-03-12 | 2013-05-22 | 上海揆志网络科技有限公司 | 对文件/文件夹进行管理的触摸操控系统及方法 |
CN105955569A (zh) * | 2016-04-25 | 2016-09-21 | 乐视控股(北京)有限公司 | 实现分享文件的方法及装置 |
CN107257439B (zh) * | 2017-07-26 | 2019-05-17 | 维沃移动通信有限公司 | 一种拍摄方法及移动终端 |
CN108076292A (zh) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | 拍摄方法、移动终端及存储介质 |
CN108469898B (zh) * | 2018-03-15 | 2020-05-12 | 维沃移动通信有限公司 | 一种图像处理方法及柔性屏终端 |
CN109547694A (zh) * | 2018-11-29 | 2019-03-29 | 维沃移动通信有限公司 | 一种图像显示方法及终端设备 |
CN110213440B (zh) * | 2019-05-27 | 2021-12-28 | 维沃移动通信有限公司 | 一种图像分享方法及终端 |
CN112351185A (zh) * | 2019-08-07 | 2021-02-09 | 华为技术有限公司 | 拍照方法和移动终端 |
CN110475069B (zh) * | 2019-09-03 | 2021-05-07 | 腾讯科技(深圳)有限公司 | 图像的拍摄方法及装置 |
CN111475077A (zh) * | 2020-02-04 | 2020-07-31 | 华为技术有限公司 | 显示控制方法及电子设备 |
CN111596990B (zh) * | 2020-04-28 | 2023-06-09 | 维沃移动通信(杭州)有限公司 | 一种图片显示方法及装置 |
CN112954111A (zh) * | 2021-02-09 | 2021-06-11 | 维沃移动通信有限公司 | 分享图片的方法、装置、电子设备及存储介质 |
CN113194256B (zh) * | 2021-04-29 | 2023-04-25 | 维沃移动通信(杭州)有限公司 | 拍摄方法、装置、电子设备和存储介质 |
-
2021
- 2021-08-20 CN CN202110963584.2A patent/CN113824878A/zh active Pending
-
2022
- 2022-04-28 WO PCT/CN2022/089759 patent/WO2023020006A1/zh active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010041255A (ja) * | 2008-08-01 | 2010-02-18 | Sony Corp | 撮像装置、撮像方法およびプログラム |
CN105812643A (zh) * | 2014-12-30 | 2016-07-27 | 中兴通讯股份有限公司 | 拼图的处理方法及装置 |
CN106780304A (zh) * | 2016-12-06 | 2017-05-31 | 仙桃市寒悦社美图有限公司 | 手机图片处理软件 |
CN108769511A (zh) * | 2018-05-07 | 2018-11-06 | 北京金山安全软件有限公司 | 一种图像拍摄方法、装置、电子设备及存储介质 |
CN109656450A (zh) * | 2018-11-28 | 2019-04-19 | 维沃移动通信有限公司 | 一种图像显示方法及终端设备 |
CN109922271A (zh) * | 2019-04-18 | 2019-06-21 | 珠海格力电器股份有限公司 | 一种基于折叠屏的移动终端及其拍照方法 |
WO2021036770A1 (zh) * | 2019-08-26 | 2021-03-04 | 华为技术有限公司 | 一种分屏处理方法及终端设备 |
CN111263005A (zh) * | 2020-01-21 | 2020-06-09 | 华为技术有限公司 | 一种折叠屏的显示方法及相关装置 |
CN113824878A (zh) * | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | 基于可折叠屏的拍摄控制方法及电子设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117714834A (zh) * | 2023-06-21 | 2024-03-15 | 荣耀终端有限公司 | 摄像头控制方法及其相关设备 |
Also Published As
Publication number | Publication date |
---|---|
CN113824878A (zh) | 2021-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023020006A1 (zh) | 基于可折叠屏的拍摄控制方法及电子设备 | |
WO2021093793A1 (zh) | 一种拍摄方法及电子设备 | |
WO2020233553A1 (zh) | 一种拍摄方法及终端 | |
WO2020186969A1 (zh) | 一种多路录像方法及设备 | |
WO2020259038A1 (zh) | 一种拍摄方法及设备 | |
WO2021052232A1 (zh) | 一种延时摄影的拍摄方法及设备 | |
WO2022068537A1 (zh) | 一种图像处理方法及相关装置 | |
WO2021213477A1 (zh) | 多路录像的取景方法、图形用户界面及电子设备 | |
WO2020168965A1 (zh) | 一种具有折叠屏的电子设备的控制方法及电子设备 | |
WO2020224449A1 (zh) | 一种分屏显示的操作方法及电子设备 | |
WO2021129198A1 (zh) | 一种长焦场景下的拍摄方法及终端 | |
WO2023024559A9 (zh) | 熄屏显示的控制方法及电子设备 | |
CN115484380B (zh) | 拍摄方法、图形用户界面及电子设备 | |
US20220342516A1 (en) | Display Method for Electronic Device, Electronic Device, and Computer-Readable Storage Medium | |
WO2020221060A1 (zh) | 一种卡片处理方法及设备 | |
US12022183B2 (en) | Photographing method, graphical user interface, and electronic device | |
WO2020118490A1 (zh) | 自动分屏的方法、图形用户界面及电子设备 | |
WO2020037469A1 (zh) | 界面的显示方法及电子设备 | |
WO2021185296A1 (zh) | 一种拍摄方法及设备 | |
WO2023045712A1 (zh) | 投屏异常处理方法及电子设备 | |
WO2022042769A2 (zh) | 多屏交互的系统、方法、装置和介质 | |
WO2023284591A1 (zh) | 视频拍摄方法及装置、电子设备和存储介质 | |
WO2023016067A1 (zh) | 视频处理方法、装置及电子设备 | |
WO2021042878A1 (zh) | 一种拍摄方法及电子设备 | |
US20240295905A1 (en) | Screen display method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22857324 Country of ref document: EP Kind code of ref document: A1 |