CN108322610B - Method, terminal and storage medium for controlling photographing function - Google Patents

Method, terminal and storage medium for controlling photographing function Download PDF

Info

Publication number
CN108322610B
CN108322610B CN201810093403.3A CN201810093403A CN108322610B CN 108322610 B CN108322610 B CN 108322610B CN 201810093403 A CN201810093403 A CN 201810093403A CN 108322610 B CN108322610 B CN 108322610B
Authority
CN
China
Prior art keywords
deformation
camera
terminal
area
flexible screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810093403.3A
Other languages
Chinese (zh)
Other versions
CN108322610A (en
Inventor
王雅依
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810093403.3A priority Critical patent/CN108322610B/en
Publication of CN108322610A publication Critical patent/CN108322610A/en
Application granted granted Critical
Publication of CN108322610B publication Critical patent/CN108322610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a method, a terminal and a storage medium for controlling a photographing function, wherein the method comprises the following steps: when a flexible screen of a terminal generates first deformation, acquiring a first deformation parameter corresponding to the first deformation; if the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot; sending the shooting instruction to a camera of the terminal; therefore, the camera of the flexible screen terminal is controlled to take pictures by changing the form of the flexible screen.

Description

Method, terminal and storage medium for controlling photographing function
Technical Field
The present invention relates to the field of photographing technologies in electronic technologies, and in particular, to a method, a terminal, and a storage medium for controlling a photographing function.
Background
With the development of global information technology, more and more terminals appear in people's lives, such as: mobile phones, notebook computers, all-in-one machines, and the like.
The display screen of these terminals may be a flexible screen or a glass screen, and terminals having a flexible screen, such as a flexible mobile phone, a flexible tablet computer, etc., may be folded, bent or rolled, so that users do not worry about damaging the terminal even if the terminal is bent carelessly, and thus are favored by more and more users. However, since the flexible screen is flexible, when the user bends the terminal, the position of the camera in the terminal will inevitably change, and it is obviously not flexible enough if the user continues to use the normal way of clicking the camera to take a picture.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a terminal, and a storage medium for controlling a photographing function, which control a camera of a flexible screen terminal to photograph by changing a form of a flexible screen.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a method for controlling a photographing function, which comprises the following steps:
when a flexible screen of a terminal generates first deformation, acquiring a first deformation parameter corresponding to the first deformation;
if the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot;
and sending the shooting instruction to a camera of the terminal.
An embodiment of the present invention provides a terminal, where the terminal at least includes: a memory, a communication bus, and a processor, wherein:
the memory is used for storing a program for controlling the photographing function;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the program for controlling the photographing function stored in the memory so as to realize the following steps:
when a flexible screen of a terminal generates first deformation, acquiring a first deformation parameter corresponding to the first deformation;
if the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot;
and sending the shooting instruction to a camera of the terminal.
An embodiment of the present invention provides a computer-readable storage medium, where a program for controlling a photographing function is stored on the computer-readable storage medium, and when the program for controlling the photographing function is executed by a processor, the steps of the method for controlling the photographing function are implemented.
The embodiment of the invention provides a method for controlling a photographing function, a terminal and a storage medium, wherein first, when a flexible screen of the terminal generates first deformation, a first deformation parameter corresponding to the first deformation is obtained; then, if the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot; finally, sending the shooting instruction to a camera of the terminal; therefore, the camera of the flexible screen terminal is controlled to photograph by changing the form of the flexible screen, so that the photographing function of the flexible screen terminal can be completed more flexibly.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3A is a schematic diagram illustrating an implementation flow of a method for controlling a photographing function according to an embodiment of the present invention;
fig. 3B is a schematic structural diagram of a side edge of a terminal according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an implementation flow of a method for controlling a photographing function according to an embodiment of the present invention;
FIG. 5 is a schematic view of a flowchart illustrating an implementation of another method for controlling a photographing function according to an embodiment of the present invention;
FIG. 6 is a schematic view of a flowchart illustrating an implementation of a method for controlling a photographing function according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of an implementation process of another method for controlling a photographing function according to an embodiment of the present invention
Fig. 8 is a schematic diagram of a structure of a terminal when a camera is turned on according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a composition structure of a terminal when setting camera attribute information according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a composition structure of a terminal when exiting a camera function according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: radio Frequency (RF) 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access 2000(Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division duplex Long Term Evolution (FDD-LTE), and Time Division duplex Long Term Evolution (TDD-LTE), etc.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes User Equipment (UE) 201, Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) 202, Evolved Packet Core Network (EPC) 203, and IP service 204 of an operator, which are in communication connection in sequence.
Generally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include a Mobility Management Entity (MME) 2031, a Home Subscriber Server (HSS) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a Policy and Charging Rules Function (PCRF) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IP Multimedia Subsystem (IMS) or other IP services, and the like.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems. Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
An embodiment of the present invention provides a method for controlling a photographing function, and fig. 3A is a schematic flow chart illustrating an implementation of the method for controlling the photographing function according to the embodiment of the present invention, as shown in fig. 3A, the method includes the following steps:
step S301, when a flexible screen of the terminal generates a first deformation, acquiring a first deformation parameter corresponding to the first deformation.
Here, the first deformation of the flexible screen may be bending the flexible screen to the front side of the flexible screen or bending the flexible screen to the back side of the flexible screen; the first deformation parameter includes at least one of the following parameters: the curvature of the first deformation, the radius of the first deformation, etc. The flexible screen is typically thin and may be mounted on a flexible material such as plastic or metal foil. Instead of glass, plastic would make the display more durable and lighter. The flexible screen panel is concave from top to bottom with a bend radius of up to 700 mm. The flexible screen adopts a plastic substrate instead of a common glass substrate, and a protective film is adhered to the back surface of the panel by means of a thin film packaging technology, so that the panel can be bent and is not easy to break. The flexible screen can be rolled but cannot be folded, future products can be folded, and the appearance can be changed more. The display screen is cut from the panel. Flexible screens are also known as bendable display screens, with the ultimate goal of allowing mobile and wearable terminals to change their faces. In addition, the flexible screen has at least the following three advantages:
first, the flexible screen displays superior results. The flexible screen has self-luminous property, does not need a backlight source, has incomparable advantages in the aspects of contrast and brightness, does not have the problems of visual angle and response time, and can easily realize true color high-resolution display; and the flexible screen only can be electrified as the unit that needs to be lighted, so the flexible screen has higher brightness than liquid crystal, larger contrast and richer colors, and meanwhile, because a large number of lamp tubes are not needed as backlight sources, the flexible screen has lower voltage and is more energy-saving, and compared with a liquid crystal television with the same size, the flexible screen can save 40% of electric energy.
Secondly, the flexible screen is of a solid structure without liquid substances, so that the shock resistance is better and the screen is resistant to falling; the response time of the flexible screen is one thousandth of that of the liquid crystal display television, no trailing phenomenon exists when a high-speed moving picture is displayed, and the picture is free of distortion when the picture is watched under a large visual angle.
And thirdly, the flexible screen realizes the soft screen of the terminal equipment. Since the core layer of the flexible device is thin, even less than 1mm, and can assume a variety of curved shapes, it can be produced on different materials, such as plastics, resins, etc. A soft screen can be achieved if the organic layer is evaporated or coated on a plastic based substrate. The manufacture of foldable TV and computer is possible. It is anticipated that in the near future, televisions may be hung on a wall as a piece of paper, folded up as a cloth when not in use, and carried at will.
Step S302, if the first deformation parameter meets a first preset condition, a shooting instruction is generated.
Here, the first deformation parameter includes at least one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot; and the shooting instruction is used for controlling a camera of the terminal to shoot. The first deformation parameter meeting a first preset condition comprises the following steps:
if the first deformation parameter is the curvature of the first deformation, the first preset condition is a preset curvature threshold value;
if the curvature (first deformation parameter) of the first deformation is larger than or equal to a preset curvature threshold (first preset condition), determining that the first deformation parameter meets the first preset condition; alternatively, the first and second electrodes may be,
if the first deformation parameter is the radius of the first deformation, the first preset condition is a preset radius threshold value;
and if the radius (first deformation parameter) of the first deformation is larger than or equal to a preset radius threshold (first preset condition), determining that the first deformation parameter meets the first preset condition. That is to say, when the deformation amount of buckling the flexible screen reaches the preset condition, the shooting instruction can be generated, so that the phenomenon that the user touches by mistake to cause the deformation of the flexible screen and generate the unnecessary shooting instruction is avoided.
If the first deformation parameter does not meet the first preset condition, generating a stop instruction; the stop instruction is used for controlling the camera to stop shooting. That is, if the curvature (first deformation parameter) of the first deformation is smaller than a preset curvature threshold (first preset condition), generating a stop instruction, and controlling the camera to stop shooting; or if the radius (first deformation parameter) of the first deformation is smaller than a preset radius threshold (first preset condition), generating a stop instruction, and controlling the camera to stop shooting.
The curvature of the first deformation is the rotation rate of a tangent direction angle of a certain point on the curvature of the curve of the first deformation to an arc length, and is defined by differentiation, and the larger the curvature of the first deformation is, the larger the bending degree of the flexible screen is.
And step S303, sending the shooting instruction to a camera of the terminal.
Here, the sending of the shooting instruction to the camera of the terminal may be understood as that the processor of the terminal sends the shooting instruction to the processor of the camera, and then the processor of the camera controls the camera of the terminal to start shooting a picture; the sending of the shooting instruction to the camera of the terminal can be understood as: and the processor of the terminal sends the shooting instruction to the camera to control the camera to shoot. The camera can be present in a terminal comprising a flexible screen, and the terminal can be a mobile phone, a tablet computer, a palm computer, a game machine and other devices with the flexible screen. In addition, the technical scheme of the embodiment of the invention can also be applied to single camera equipment with a flexible screen.
For a better understanding of the embodiments of the present invention, the principle of the flexible screen display and the related art of the flexible screen display will be described herein.
The display principle of the flexible screen is simply that a display device is manufactured on a flexible plastic or metal film by using a flexible Organic Light-Emitting Diode (OLED), the OLED has a basic structure including a flexible substrate, an Indium Tin Oxide (ITO) anode, an Organic functional layer and a metal cathode, and the Light-Emitting mechanism of the flexible screen is similar to that of an OLED with a common glass substrate. OLED devices are typically constructed of a transparent anode, a metal cathode, and two or more organic layers sandwiched between them on a glass or polymer substrate. When a forward voltage is applied to the device, under the action of an external electric field, holes and electrons are respectively injected into the organic small molecular layer and the organic high molecular layer from the positive electrode and the negative electrode, carriers with opposite charges migrate in the small molecular layer and the organic high molecular layer and are combined in the light emitting layer to form excitons, the excitons transmit energy to light emitting molecules to excite the electrons to an excited state, and the excited state energy is inactivated through radiation to generate photons to form light emission, so that the flexible screen formed by the OLED displays.
The key technologies for realizing the flexible display are as follows: electrowetting Display (EWD), Plasma Tube Array (PTA), electrochromic Display (ECD), etc. Wherein the content of the first and second substances,
1. electrowetting display technology, the principle of which is to control the surface layer of the enclosed liquid with a control voltage, resulting in a change of pixels. When no voltage is applied, a layer of flat film is formed between the colored liquid and the waterproof and insulating outer layer of the electrode, namely a colored pixel point. When voltage is applied between the electrode and the liquid, the tension of the contact surface between the liquid and the outer layer of the electrode is changed, and as a result, the original static state of the liquid is not stable, so that the liquid moves aside, a partially transparent pixel point is formed, and meanwhile, the oil is dyed with a color, thereby displaying images and obtaining various display effects. The display device has the advantages of low power consumption, high brightness, high display speed, little influence of external environment and temperature and the like.
2. The Plasma tube array, the Plasma tube array technique, has the same light emission principle as that of a Plasma Display Panel (PDP), but has many differences in basic configuration and manufacturing method. The plasma tube is a glass tube with the length of 1m and the thickness of about 1mm, and the interior of the glass tube is coated with Red (Red, R), Green (Green, G) and Blue (Blue, B) phosphorescent materials, a plurality of glass tubes are arranged side by side, and the front and the back of the glass tubes are coated and combined by two electrode films, so that the lattice luminous display is formed. The new type of plasma display has weight of only one tenth, thickness of only about 1mm, power consumption of only one half, and can be bent to directly follow the basic structure of the driving circuit of the plasma display.
3. Electrochromic display technology, electrochromic refers to a phenomenon that optical properties of a material are reversibly changed under the action of an external electric field and current, and the appearance of the material is reversibly changed from a colored state to a transparent state or from one color to another color or colors. The latest development technology of electrochromic is an electrode constructed by using improved porous nano-film, and the electrochromic display technology has the advantages that: the reflective structure device has good contrast, high conversion speed and extremely low power consumption when displaying content for a long time under the condition of illumination, and is compatible with low cost, manufactured by using an additive printing process and wide spectral range.
One or more of the above flexible screen display technologies are used in embodiments of the present invention or other embodiments.
No matter which display mode of the flexible screen is adopted, the terminal can change the shape of the flexible screen terminal to realize the photographing function of the terminal.
In the method for controlling the photographing function provided by the embodiment of the invention, first, when a flexible screen of a terminal generates a first deformation, a first deformation parameter corresponding to the first deformation is obtained; then, if the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot; and finally, sending the shooting instruction to a camera of the terminal. Therefore, the camera of the flexible screen terminal is controlled to photograph by changing the form of the flexible screen, so that the photographing function of the flexible screen terminal can be completed more flexibly.
In other embodiments, in step S302, if the first deformation parameter satisfies a first preset condition, the generating of the shooting instruction may be implemented by:
step S21, determining an area where the first deformation occurs, to obtain a first area.
Here, the first region may be any region of the flexible screen.
Step S22, if the first area is an included angle area of a first pair of adjacent two side edges of the flexible screen, and the first deformation parameter meets a first preset condition, a shooting instruction is generated.
Here, if the first deformation parameter does not satisfy the first preset condition, a stop instruction is generated; the stop instruction is used for controlling the camera to stop shooting. The included angle area of the first pair of two adjacent sides is the included angle area of any two adjacent sides in the four sides of the flexible screen, as shown in fig. 3B, the included angle area of the first pair of two adjacent sides may have the following four conditions: the included angle area between the side edge a and the side edge b, the included angle area between the side edge a and the side edge d, the included angle area between the side edge b and the side edge c and the included angle area between the side edge c and the side edge d. The first deformation of the first region may be understood as that the included angle region of two adjacent side edges is bent towards the front of the flexible screen or the included angle region of two adjacent side edges is bent towards the back of the flexible screen. If the first area is the included angle area of the first pair of adjacent two sides of the flexible screen, and the first deformation parameter meets a first preset condition, it can be understood that: the curvature of the included angle area of two adjacent side edges of the flexible screen, which is bent towards the front of the flexible screen, is greater than or equal to a preset curvature threshold (the first deformation parameter meets a first preset condition), a shooting instruction is generated, and a camera of the terminal starts shooting; or, the curvature of the included angle area of two adjacent sides of the flexible screen bending to the back of the flexible screen is greater than or equal to a preset curvature threshold (the first deformation parameter meets a first preset condition), a shooting instruction is generated, and a camera of the terminal starts shooting. The included angle area of two adjacent sides of flexible screen is buckled to the flexible screen back or is buckled to the flexible screen front and can be set for according to user's individual custom.
Based on the foregoing embodiment, an embodiment of the present invention further provides a method for controlling a photographing function, fig. 4 is a schematic flow chart illustrating an implementation of the method for controlling the photographing function according to the embodiment of the present invention, as shown in fig. 4, the method includes the following steps:
step S401, when an input first operation is detected, displaying attribute information of the camera corresponding to the first operation in a second area of the flexible screen.
Here, the first operation may be a long press, a short press, a double click, a zoom-in or zoom-out operation, for example, the first operation may be a user pressing two adjacent sides of the flexible screen at the same time, or a user double clicking two adjacent sides, for example, pressing side a and side B in fig. 3B at the same time. The second area of the flexible screen may be any one of the sides of the flexible screen, such as side a in fig. 3B, which is different from the first area, and if the second area is side a or B, the first area should be the angle area of sides c and d; alternatively, the second region is either side d or c, then the first region should be the region of the angle between side a and b; the attribute information of the camera comprises the shooting type of the camera and the parameter information of the camera, and the shooting type can be pictures, videos, short videos and the like; the parameter information of the camera may be filter, brightness, saturation, focal length, delayed photography, flash, etc. That is, after pressing the side a and the side B in fig. 3B, the category of the shot and the parameter information of the camera are displayed on the side a, and it is obvious that the attribute information may also be displayed on the side B according to the user's needs.
Step S402, when the input second operation is detected, a modification interface of the attribute information corresponding to the second operation is opened.
Here, the second operation may be that the user clicks or slides the second area where the attribute information is being displayed, for example, if the user clicks brightness in the attribute information displayed in the second area, the user enters an interface for modifying the brightness; in the brightness modification interface, the user can adjust the brightness of the camera during shooting, and obviously, the brightness can also be turned off.
Step S403, if a second deformation occurs in a third area of the flexible screen, obtaining a second deformation parameter corresponding to the second deformation.
Here, the third region is a side different from the second region in step S401. For example, the third area may be a side adjacent to the second area in step S401, for example, two adjacent sides that the user presses long in step S401 are a side a and a side B in fig. 3B, and if the second area is the side a, the third area may be the side B. In addition, if the user double-clicks the side a (second region) in step S401, the third region may be the side B, c, or d in 3B. The second deformation of the third area may be that the third area is bent towards the front side of the flexible screen or bent towards the back side of the flexible screen, and if the third area is the side b, the second deformation of the third area may be that the side b is bent towards the front side of the flexible screen or the side b is bent towards the back side of the flexible screen.
In step S404, if the second deformation parameter satisfies a second preset condition, the attribute information displayed in the second area is modified.
Here, if after step S404, the flexible screen is not deformed, or the deformation parameter corresponding to the deformation does not satisfy the preset condition, step S412 is performed; if the flexible screen deforms and the deformation parameter corresponding to the deformation meets the preset condition, the method goes to step S405;
the second deformation parameter may be the size of an angle at which the third area is bent by the second deformation, or the vertical distance from the bent third area to the flexible screen (if the second deformation is to bend the third area to the front of the flexible screen, the second deformation parameter may be the vertical distance from the bent third area to the front of the flexible screen; if the second deformation is to bend the third area to the back of the flexible screen, the second deformation parameter may be the vertical distance from the bent third area to the back of the flexible screen); accordingly, if the second deformation parameter can be an angle at which the second deformation inflection occurs in the third region, the second preset condition is a preset angle threshold; if the second deformation parameter is the vertical distance from the bent third area to the flexible screen, the two preset conditions are preset distance thresholds. The modifying the attribute information displayed in the second area if the second deformation parameter satisfies a second preset condition may be understood as, in fig. 3B, when the third area is a side B, if the angle of bending the side B is greater than or equal to a preset angle threshold (the second deformation parameter satisfies the second preset condition), then increasing the brightness in the current modified interface; if the angle of the bent side b is smaller than the preset angle threshold (the second deformation parameter does not meet the second preset condition), the brightness in the current modification interface is adjusted to be low.
And step S405, sending the modified attribute information to a camera of the terminal.
Here, after sending the modified attribute information obtained in step S404 to the camera; the user can be according to oneself custom with the back that the flexible screen was buckled to second region and third region, make the camera shoots in the shooting interface of no redundant information.
Step S406, when the flexible screen of the terminal generates a first deformation, a first deformation parameter corresponding to the first deformation is obtained.
Step S407, if the first deformation parameter meets a first preset condition, a shooting instruction is generated.
Here, the first deformation parameter includes at least one of the following parameters: a curvature of the first deformation, a radius of the first deformation; and the shooting instruction is used for controlling a camera of the terminal to shoot.
And step S408, sending the shooting instruction to a camera of the terminal.
Here, in the application scenario of steps S401 to S408, as shown in fig. 9, first, when the user presses the side c and the side d for a long time (the first operation is detected), the attribute information of the camera, such as saturation and brightness, is displayed on the side c (the attribute information of the camera is displayed on the second area of the flexible screen); then, when the user clicks the brightness displayed on the side c (second operation), entering an interface for modifying the brightness value (opening a modification interface of the attribute information corresponding to the second operation); if the user bends the side edge d (the third area has the second deformation), the brightness is modified according to the bending degree, for example, the user bends the side edge d towards the front of the flexible screen, and the brightness value is larger as the bending angle is larger. After the brightness value is modified, if the user bends the included angle area between the side edge a and the side edge b, as shown in fig. 10, and the bending angle or curvature meets the preset condition, the camera can shoot.
In the method for controlling the photographing function provided by the embodiment of the invention, the attribute information of the camera is adjusted by controlling the four side edges of the flexible screen, so that the camera is controlled to photograph, the photographing function of the flexible screen terminal can be more flexibly completed, and the user experience is improved.
In other embodiments, after sending the modified attribute information to the camera of the terminal in step S405, the method further includes the following steps:
step S409, if a sixth deformation occurs in a seventh area of the flexible screen, a sixth deformation parameter corresponding to the sixth deformation is obtained.
Here, the sixth deformation is a deformation in a direction opposite to the first deformation; the sixth deformation parameter includes at least one of the following parameters: a curvature of the sixth deformation of the seventh region and a radius of the sixth deformation of the seventh region. The seventh area is an included angle area between two adjacent side edges of the flexible screen, and can be the same as or different from the first area. The seventh area of the flexible screen is subjected to a sixth deformation, which may be understood as bending the seventh area towards the front of the flexible screen (if the seventh area is the same as the first area, and the first deformation of the first area is bending the first area towards the back of the flexible screen).
And step S410, if the sixth deformation parameter meets a sixth preset condition, generating an exit instruction, and sending the exit instruction to the camera.
The exit instruction is used for controlling the camera to exit the shooting function; the processor of the terminal sends the generated second quit instruction to the processor of the camera, and then the processor of the camera controls the camera to quit shooting; the sixth deformation parameter meeting the sixth preset condition may be understood as that the curvature or radius of the seventh area bend is greater than or equal to a preset curvature threshold or a preset radius threshold.
And when the bending curvature or radius of the seventh area is larger than or equal to a preset curvature threshold or a preset radius threshold, controlling the camera to exit the shooting function. As shown in fig. 3B, the included angle area between the side edge a and the side edge B is bent outwards, and the bending curvature is greater than or equal to the preset curvature threshold, so as to control the camera to exit the shooting function.
Based on the foregoing embodiment, an embodiment of the present invention further provides a method for controlling a photographing function, and fig. 5 is a schematic flow chart illustrating an implementation of another method for controlling a photographing function according to an embodiment of the present invention, as shown in fig. 5, the method includes the following steps:
step S501, when an input first operation is detected, displaying attribute information of the camera corresponding to the first operation in a second area of the flexible screen.
Step S502, when the input second operation is detected, a modification interface of the attribute information corresponding to the second operation is opened.
Step S503, if a second deformation occurs in a third area of the flexible screen, a second deformation parameter corresponding to the second deformation is obtained.
In step S504, if the second deformation parameter satisfies a second preset condition, the attribute information displayed in the second area is modified.
In other embodiments, the modified attribute information of the camera is displayed in the second area.
And step S505, sending the modified attribute information to a camera of the terminal.
Here, the camera of the terminal includes a front camera or a rear camera; the camera shoots in a shooting interface without redundant information. And if the camera receives an instruction of self opening, the camera shoots a picture according to the modified attribute information.
Step S506, when a fourth area of the flexible screen generates third deformation, third deformation parameters corresponding to the third deformation are obtained.
Here, the third deformation of the fourth region may be a bending toward the front of the flexible screen or a bending toward the back of the flexible screen; the fourth region may be a middle region of the flexible screen, such as region e in fig. 3B; accordingly, the third deformation parameter may be the angle of the bend, or the arc of the bend.
Step S507, if the third deformation parameter meets a third preset condition, a first opening instruction is generated, and the first opening instruction is sent to the first camera.
Here, the first camera and the second camera are both included in the camera of the terminal; the first starting instruction is used for starting a first camera of the terminal; and the second starting instruction is used for starting a second camera of the terminal. The sending of the first start instruction to the first camera can be understood as that the processor of the terminal sends the first start instruction to the processor of the first camera, and then the processor of the first camera controls to start the first camera; the first opening instruction is used for opening a first camera of the terminal, such as a front camera or a rear camera. And the processor of the terminal sends the first opening instruction to the first camera so as to open the first camera of the terminal, and the first camera opens the first camera when receiving the first opening instruction.
And step S508, if the third deformation parameter does not meet a third preset condition, generating a second opening instruction, and sending the second opening instruction to the second camera.
Here, the sending of the second start instruction to the second camera may be understood as that the processor of the terminal sends the second start instruction to the processor of the second camera, and then the processor of the second camera controls to start the second camera; and the processor of the terminal sends a second starting instruction to a second camera, such as a rear camera or a front camera, so as to start the second camera of the terminal.
Here, the second turn-on instruction is used to turn on a second camera of the terminal. If the angle for bending the fourth area to the front face of the flexible screen is larger than or equal to a preset angle threshold value, starting a first camera (a front camera) of the terminal; and then, when the angle of bending the fourth area to the front of the flexible screen is smaller than a preset angle threshold value, or the fourth area is bent to the back of the flexible screen, starting a second camera (a rear camera) of the terminal. Here, the corresponding relationship between the fourth region being bent toward the back of the flexible screen or the fourth region being bent toward the front of the flexible screen and the first camera or the second camera (i.e., the rear camera or the front camera for turning on the terminal) for turning on the terminal may be set according to the habit of the user.
After a camera (a first or second camera) of the terminal is started, when a flexible screen of the terminal generates a first deformation, executing a process shown in fig. 3A, namely acquiring a first deformation parameter corresponding to the first deformation; if the first deformation parameter meets a first preset condition, generating a shooting instruction; and sending the shooting instruction to a camera of the terminal.
The application scenarios from step S501 to step S507 are: as shown in fig. 9, first, when the user presses the side c and the side d for a long time (a first operation is detected), attribute information such as saturation, brightness, and the like of the camera is displayed on the side c (the attribute information of the camera is displayed on the second area of the flexible screen); then, when the user clicks the brightness displayed on the side c (second operation), entering an interface for modifying the brightness value (opening a modification interface of the attribute information corresponding to the second operation); if the user bends the side edge d (the third area has the second deformation), the brightness is modified according to the bending degree, for example, the user bends the side edge d towards the front of the flexible screen, and the brightness value is larger as the bending angle is larger. After the brightness value is modified, if the user bends the middle area of the flexible screen, as shown in fig. 3B, bending an area e of the flexible screen, and when the user bends the area e toward the front of the flexible screen, opening the front camera or the rear camera of the terminal. And after the front camera or the rear camera of the terminal is started, sending the modified parameter information to the started camera.
In the method for controlling the photographing function provided by the embodiment of the invention, the attribute information of the camera is adjusted by controlling the four side edges of the flexible screen, so that the camera is controlled to photograph, the photographing function of the flexible screen terminal can be more flexibly completed, and the user experience is improved.
Based on the foregoing embodiment, an embodiment of the present invention further provides a method for controlling a photographing function, fig. 6 is a schematic flow chart illustrating an implementation of the method for controlling a photographing function according to the embodiment of the present invention, and as shown in fig. 6, the method includes the following steps:
step S601, when the input first operation is detected, displaying the attribute information of the camera corresponding to the first operation in the second area of the flexible screen.
Step S602, when an input second operation is detected, a modification interface of the attribute information corresponding to the second operation is opened.
Step S603, if a second deformation occurs in a third area of the flexible screen, obtaining a second deformation parameter corresponding to the second deformation.
In step S604, if the second deformation parameter satisfies a second preset condition, the attribute information displayed in the second area is modified.
And step S605, sending the modified attribute information to a camera of the terminal.
Step S606, when the fifth area of the flexible screen generates a fourth deformation, a fourth deformation parameter is obtained.
Here, the fourth deformation is that the fifth region is bent to the back surface of the flexible screen. The fifth area may be the same as the third area in step S603, that is, the fifth area is an area where the camera attribute information is modified. As shown in fig. 3B, if the third area is the side B, the fifth area is also the side B. That is, the side edge a is bent to the back of the flexible screen.
Step S607, if the fourth deformation parameter satisfies a fourth preset condition, stopping displaying the attribute information of the camera in the second area.
Here, the fourth deformation parameter may be an angle at which the fifth region is bent, and if the angle at which the fifth region is bent is greater than or equal to a preset angle threshold (a fourth preset condition, the preset angle threshold may be the same as or different from the angle threshold of the third preset condition), the displaying of the attribute information of the camera in the second region is stopped, for example, the displaying of the brightness value of the camera on the side b is stopped.
Step S608, when a fifth deformation occurs in the sixth area of the flexible screen, a fifth deformation parameter is obtained.
Here, the fifth deformation is that the sixth region is bent to the back surface of the flexible screen; the sixth area is the same area as the second area, that is, if the second area is the side a in fig. 3B, that is, attribute information is displayed on the side a, the side a is bent toward the back of the flexible screen, and when the deformation parameter satisfies the condition, the side a exits the function of displaying the attribute information.
In the steps S607 and S608, in brief, the side for displaying the attribute information and the side for modifying the attribute information are bent toward the back of the flexible screen, and when the deformation parameter satisfies the condition, the two sides will exit the corresponding functions. For example, the side a displaying the attribute information exits the display function, and the side b modifying the attribute information exits the modification function. If the two side edges are bent to the back surface of the flexible screen, a clean shooting interface without redundant information can be provided for a user.
Step S609, if the fifth deformation parameter is a fifth preset condition, controlling the third area to exit the function of modifying the attribute information.
The application scenarios from step S601 to step S609 are: as shown in fig. 9, first, when the user presses the side c and the side d for a long time (a first operation is detected), attribute information such as saturation, brightness, and the like of the camera is displayed on the side c (the attribute information of the camera is displayed on the second area of the flexible screen); then, when the user clicks the brightness displayed on the side c (second operation), entering an interface for modifying the brightness value (opening a modification interface of the attribute information corresponding to the second operation); if the user bends the side edge d (the third area has the second deformation), the brightness is modified according to the bending degree, for example, the user bends the side edge d towards the front of the flexible screen, and the brightness value is larger as the bending angle is larger. After the brightness value is modified, in order to make the shooting interface clean and tidy, as shown in fig. 10, the user may bend the side edge c and the side edge d to the back of the flexible screen, and when the side edge c and the side edge d are bent to the back of the flexible screen, the side edge c and the side edge d close the functions corresponding to the side edge c and the side edge d.
Based on the foregoing embodiment, an embodiment of the present invention further provides a method for controlling a photographing function, and fig. 7 is a schematic flow chart illustrating an implementation of the method for controlling the photographing function according to the embodiment of the present invention, as shown in fig. 7, the method includes the following steps:
step S701, when an input first operation is detected, displaying attribute information of the camera corresponding to the first operation in a second area of the flexible screen.
Step S702, when the input second operation is detected, a modification interface of the attribute information corresponding to the second operation is opened.
Step S703, if a second deformation occurs in a third area of the flexible screen, obtaining a second deformation parameter corresponding to the second deformation.
Step S704, if the second deformation parameter satisfies a second preset condition, modifying the attribute information displayed in the second area.
Step S705, when a fifth area of the flexible screen generates a fourth deformation, a fourth deformation parameter is obtained.
Step S706, if the fourth deformation parameter meets a fourth preset condition, stopping displaying the attribute information of the camera in the second area.
Step S707, when a fifth deformation occurs in the sixth area of the flexible screen, a fifth deformation parameter is obtained.
Step S708, if the fifth deformation parameter is a fifth preset condition, controlling the third area to exit the function of modifying the attribute information.
Step S709, when a third deformation occurs in a fourth area of the flexible screen, obtaining a third deformation parameter corresponding to the third deformation.
Step S710, if the third deformation parameter meets a third preset condition, generating a first opening instruction, and sending the first opening instruction to the first camera.
Here, the first turn-on instruction is used to turn on a front camera of the terminal.
And step S711, if the third deformation parameter does not meet a third preset condition, generating a second opening instruction, and sending the second opening instruction to the second camera.
Here, the first camera and the second camera are both included in the camera of the terminal; the first starting instruction is used for starting a first camera of the terminal; and the second starting instruction is used for starting a second camera of the terminal.
And step 712, sending the modified attribute information to a camera of the terminal.
In the method for controlling the photographing function provided by the embodiment of the invention, the attribute information of the camera is adjusted by controlling the four side edges of the flexible screen, so that the camera is controlled to photograph, the photographing function of the flexible screen terminal can be more flexibly completed, and the user experience is improved.
An embodiment of the present invention further provides a method for controlling a photographing function, which is applied to a terminal, where the terminal at least has a flexible screen and is installed with a camera, fig. 8 is a schematic view of a composition structure of the terminal when the camera is turned on according to the embodiment of the present invention, as shown in fig. 8, a user presses (i.e., performs a first operation) a side c (i.e., a second area) and a side d (i.e., a third area) for a long time, the camera of the terminal is turned on, and attribute information of the camera is displayed on the side c, where the attribute information includes a photographing type of the camera and parameter information of the camera. The shooting categories include at least: the camera is used for shooting pictures, videos and short videos. The parameter information at least includes: filters, brightness, saturation, focus, delayed photography, and flash. Due to the limited space, only the brightness and saturation in the parameter information are shown on side c of fig. 8. In fig. 8, side d may be used to set the parameter information displayed on side c.
When the user clicks or slides (i.e., the second operation) the brightness or saturation on side c of fig. 9, an interface for modifying the brightness or saturation will be entered, as shown in fig. 9; in fig. 9, if the user bends the side edge d capable of modifying the parameter information displayed on the side edge c toward the front of the flexible screen, the brightness displayed on the side edge c may be increased; correspondingly, if the user bends the side edge d capable of modifying the parameter information displayed on the side edge c towards the back of the flexible screen, the brightness displayed on the side edge c can be reduced; here, the user can set the correspondence between the bending direction of the side d and the brightness level on the side c according to the habit of the user. For example, the area e in fig. 9 shows the result of brightness adjustment by the user, which may be to increase the brightness value of the camera displayed on the side c when the side d is bent toward the front of the flexible screen, or to increase the brightness on the side c when the side d is bent toward the back of the flexible screen.
When a user completely adjusts the attribute information displayed on the side c by bending the side d, both the side c and the side d can be bent to the back of the flexible screen; when the side edge c and the side edge d are both bent to the back of the flexible screen, the side edge c and the side edge d respectively close the corresponding functions, for example, the side edge c quits the function of displaying the attribute information; side d exits the function of modifying attribute information. Therefore, a clean and tidy shooting interface can be provided for the user, and better experience is brought to the user.
When the shooting is finished, the user can quit the shooting function by bending the included angle area (namely the seventh area of the flexible screen) of the two adjacent side edges. As shown in fig. 10, the user bends the included angle area of the side edge a and the side edge b towards the front of the flexible screen, and the sixth deformation parameter corresponding to the bending meets the preset condition, controls the camera to exit from the shooting function, and displays "exiting from the camera" in the area 11.
In the embodiment of the invention, the four sides of the flexible screen are bent or slid to different degrees, the attribute information of the camera is set, and the camera is further controlled to shoot, so that the flexible screen terminal can flexibly complete a shooting function, and the user experience is improved.
An embodiment of the present invention provides a terminal, fig. 11 is a schematic view of a composition structure of a terminal according to an embodiment of the present invention, and as shown in fig. 11, the terminal 1100 at least includes: a memory 1101, a communication bus 1102, and a processor 1103, wherein:
the memory is used for storing a program for controlling the photographing function;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the program for controlling the photographing function stored in the memory so as to realize the following steps:
when a flexible screen of a terminal generates first deformation, acquiring a first deformation parameter corresponding to the first deformation;
if the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot;
and sending the shooting instruction to a camera of the terminal.
It should be noted that the above description of the terminal embodiment is similar to the description of the method embodiment, and has similar beneficial effects to the method embodiment. For technical details not disclosed in the terminal embodiments of the present invention, reference is made to the description of the method embodiments of the present invention for understanding.
It should be noted that, in the embodiment of the present invention, if the method for controlling the photographing function is implemented in the form of a software functional module and is sold or used as a standalone product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computing device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Accordingly, embodiments of the present invention provide a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
when a flexible screen of a terminal generates first deformation, acquiring a first deformation parameter corresponding to the first deformation;
if the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot;
and sending the shooting instruction to a camera of the terminal.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A method of controlling a photographing function, the method comprising:
when the operation on the side edge of the flexible screen of the terminal is detected, starting a camera of the terminal;
when a first input operation is detected, displaying attribute information of the camera corresponding to the first operation in a second area of the flexible screen;
when the input second operation is detected, starting a modification interface of the attribute information corresponding to the second operation;
if a third area of the flexible screen generates second deformation, acquiring a second deformation parameter corresponding to the second deformation;
if the second deformation parameter meets a second preset condition, modifying the attribute information displayed in the second area;
sending the modified attribute information to a camera of the terminal;
when a flexible screen of the terminal generates first deformation, acquiring a first deformation parameter corresponding to the first deformation;
determining an area where the first deformation occurs to obtain a first area;
if the first area is an included angle area of two adjacent side edges of the flexible screen and the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot;
and sending the shooting instruction to a camera of the terminal.
2. The method as recited in claim 1, wherein said method further comprises:
when a fourth area of the flexible screen generates third deformation, acquiring a third deformation parameter corresponding to the third deformation;
if the third deformation parameter meets a third preset condition, generating a first opening instruction, and sending the first opening instruction to a first camera of the terminal;
if the third deformation parameter does not meet a third preset condition, generating a second starting instruction, and sending the second starting instruction to a second camera of the terminal; the first starting instruction is used for starting a first camera of the terminal; and the second starting instruction is used for starting a second camera of the terminal.
3. The method as claimed in claim 1, wherein after modifying the attribute information displayed in the second area if the second deformation parameter satisfies a second preset condition, the method further comprises:
when a fifth area of the flexible screen generates a fourth deformation, acquiring a fourth deformation parameter; wherein the fourth deformation is that the fifth area is bent to the back side of the flexible screen;
if the fourth deformation parameter meets a fourth preset condition, stopping displaying the attribute information of the camera in the second area;
when a sixth area of the flexible screen is subjected to fifth deformation, acquiring a fifth deformation parameter; wherein the fifth deformation is that the sixth area is bent to the back of the flexible screen;
and if the fifth deformation parameter meets a fifth preset condition, controlling the third area to exit the function of modifying the attribute information.
4. The method of claim 1, wherein the method further comprises:
if the first deformation parameter does not meet the first preset condition, generating a stop instruction, and sending the stop instruction to a camera of the terminal;
the stop instruction is used for controlling the camera to stop shooting.
5. The method of claim 1, wherein after sending the photographing instruction to a camera of the terminal, the method further comprises:
if a seventh area of the flexible screen generates a sixth deformation, acquiring a sixth deformation parameter corresponding to the sixth deformation;
wherein the sixth deformation is a deformation in a direction opposite to the first deformation; the sixth deformation parameter includes at least one of the following parameters: a curvature of the sixth deformation of the seventh region and a radius of the sixth deformation of the seventh region;
if the sixth deformation parameter meets a sixth preset condition, generating an exit instruction, and sending the exit instruction to the camera; the exit instruction is used for controlling the camera to exit the shooting function.
6. A terminal, characterized in that the terminal comprises at least: a memory, a communication bus, and a processor, wherein:
the memory is used for storing a program for controlling the photographing function;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the program for controlling the photographing function stored in the memory so as to realize the following steps:
when the operation on the side edge of the flexible screen of the terminal is detected, starting a camera of the terminal;
when a first input operation is detected, displaying attribute information of the camera corresponding to the first operation in a second area of the flexible screen;
when the input second operation is detected, starting a modification interface of the attribute information corresponding to the second operation;
if a third area of the flexible screen generates second deformation, acquiring a second deformation parameter corresponding to the second deformation;
if the second deformation parameter meets a second preset condition, modifying the attribute information displayed in the second area;
sending the modified attribute information to a camera of the terminal;
when a flexible screen of the terminal generates first deformation, acquiring a first deformation parameter corresponding to the first deformation;
determining an area where the first deformation occurs to obtain a first area;
if the first area is an included angle area of two adjacent side edges of the flexible screen and the first deformation parameter meets a first preset condition, generating a shooting instruction; wherein the first deformation parameter at least comprises one of the following parameters: a curvature of the first deformation, a radius of the first deformation; the shooting instruction is used for controlling a camera of the terminal to shoot;
and sending the shooting instruction to a camera of the terminal.
7. A computer-readable storage medium, having stored thereon a program for controlling a photographing function, the program for controlling the photographing function, when executed by a processor, implementing the steps of the method for controlling the photographing function according to any one of claims 1 to 5.
CN201810093403.3A 2018-01-31 2018-01-31 Method, terminal and storage medium for controlling photographing function Active CN108322610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810093403.3A CN108322610B (en) 2018-01-31 2018-01-31 Method, terminal and storage medium for controlling photographing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810093403.3A CN108322610B (en) 2018-01-31 2018-01-31 Method, terminal and storage medium for controlling photographing function

Publications (2)

Publication Number Publication Date
CN108322610A CN108322610A (en) 2018-07-24
CN108322610B true CN108322610B (en) 2021-01-05

Family

ID=62890186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810093403.3A Active CN108322610B (en) 2018-01-31 2018-01-31 Method, terminal and storage medium for controlling photographing function

Country Status (1)

Country Link
CN (1) CN108322610B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848272A (en) * 2018-08-29 2018-11-20 努比亚技术有限公司 A kind of camera call method, flexible terminal and computer readable storage medium
CN110175114A (en) * 2019-04-19 2019-08-27 深圳壹账通智能科技有限公司 Test terminal, APP and camera compatibility test method and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699391A (en) * 2015-04-07 2015-06-10 联想(北京)有限公司 Electronic equipment and control method for cameras thereof
JP2015200918A (en) * 2014-04-04 2015-11-12 大木 光晴 Image processor, method, and program
CN106027862A (en) * 2016-05-23 2016-10-12 青岛海信移动通信技术股份有限公司 Focus adjustment method and device, and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015200918A (en) * 2014-04-04 2015-11-12 大木 光晴 Image processor, method, and program
CN104699391A (en) * 2015-04-07 2015-06-10 联想(北京)有限公司 Electronic equipment and control method for cameras thereof
CN106027862A (en) * 2016-05-23 2016-10-12 青岛海信移动通信技术股份有限公司 Focus adjustment method and device, and terminal

Also Published As

Publication number Publication date
CN108322610A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
CN109348123B (en) Photographing method, mobile terminal and computer-readable storage medium
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN108989563B (en) Double-sided screen display method, mobile terminal and computer readable storage medium
CN109634542B (en) Switching display control method, terminal and computer readable storage medium
CN108280136B (en) Multimedia object preview method, equipment and computer readable storage medium
CN110134471B (en) Screen switching animation control method, terminal and computer readable storage medium
CN107240072B (en) Screen brightness adjusting method, terminal and computer readable storage medium
CN110535211B (en) Charging control method, terminal and computer readable storage medium
CN108984063B (en) Desktop interaction regulation and control method and device and computer readable storage medium
CN108111691B (en) Method and device for controlling screen and computer readable storage medium
CN108322610B (en) Method, terminal and storage medium for controlling photographing function
CN110381202B (en) Display adjustment method, mobile terminal and computer-readable storage medium
CN108762709B (en) Terminal control method, terminal and computer readable storage medium
CN108037879B (en) Information display method, terminal and computer readable storage medium
CN107943402B (en) Regional brightness control method, intelligent terminal and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN108228302B (en) Information processing method, terminal and storage medium
CN108848298B (en) Picture shooting method, flexible terminal and computer readable storage medium
CN107844353B (en) Display method, terminal and computer readable storage medium
CN112203022B (en) Electrochromic control method and device and computer readable storage medium
CN112000268B (en) Electrochromic control method and device and computer readable storage medium
CN109639889B (en) Display control method, double-screen terminal and computer readable storage medium
CN109462688B (en) Terminal, display control method thereof, and computer-readable storage medium
CN109471688B (en) Display control method, double-screen terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant