CN108196775B - Screenshot control method, flexible screen terminal and computer-readable storage medium - Google Patents

Screenshot control method, flexible screen terminal and computer-readable storage medium Download PDF

Info

Publication number
CN108196775B
CN108196775B CN201711373390.7A CN201711373390A CN108196775B CN 108196775 B CN108196775 B CN 108196775B CN 201711373390 A CN201711373390 A CN 201711373390A CN 108196775 B CN108196775 B CN 108196775B
Authority
CN
China
Prior art keywords
screenshot
bending
frame
area
target
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
CN201711373390.7A
Other languages
Chinese (zh)
Other versions
CN108196775A (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 CN201711373390.7A priority Critical patent/CN108196775B/en
Publication of CN108196775A publication Critical patent/CN108196775A/en
Application granted granted Critical
Publication of CN108196775B publication Critical patent/CN108196775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a screenshot control method, a flexible screen terminal and a computer readable storage medium, wherein the method comprises the steps of detecting the bending parameters of a flexible screen of the flexible screen terminal when a screenshot starting instruction is received; controlling the movement and the expansion of the screenshot frame according to the bending parameter so as to select a corresponding screenshot area; when a screenshot finishing instruction is received, selecting a currently selected screenshot area of a screenshot frame as a target screenshot area, and controlling to screenshot an image in the target screenshot area; the screenshot process is realized, the screenshot frame does not need to be manually dragged by a user to extend and move, and the screenshot frame can be automatically controlled only by bending the flexible screen; the invention also discloses a flexible screen terminal and a computer readable storage medium, and by implementing the scheme, the problem that the existing screenshot scheme is inconvenient for the user to operate is solved.

Description

Screenshot control method, flexible screen terminal and computer-readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a screenshot control method, a flexible screen terminal, and a computer-readable storage medium.
Background
At present, when a user needs to capture a screenshot of a display image on a terminal screen, a desired screenshot area needs to be selected, and the screenshot frame is usually adjusted in a sliding manner in the selection process, that is, the user needs to manually drag the screenshot frame, so that the image area desired to be captured by the user is selected for screenshot. The method of selecting the screenshot area by dragging the screenshot box has the problem of inconvenient operation, and particularly for long screenshot operation, a user needs to drag the screenshot box to a relatively far position, so that the operation is various and inconvenient for the user.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the existing screenshot scheme requires a user to manually drag a screenshot frame to move so as to select a corresponding screenshot area, and is inconvenient for the user to operate. Aiming at the technical problem, a screenshot control method, a flexible screen terminal and a computer readable storage medium are provided.
In order to solve the technical problem, the invention provides a screenshot control method, which comprises the following steps:
when receiving a screenshot starting instruction, detecting a bending parameter of a flexible screen of the flexible screen terminal;
controlling the movement and the expansion of the screenshot frame according to the bending parameters to select a corresponding screenshot area;
and when receiving a screenshot finishing instruction, selecting the current selected screenshot area of the screenshot frame as a target screenshot area, and controlling to screenshot the image in the target screenshot area.
Optionally, the bending parameter includes a bending direction, and the controlling, according to the bending parameter, to change the movement and the stretch of the screenshot frame to select the corresponding screenshot area includes:
and controlling the extending direction of the cutout frame according to the bending direction.
Optionally, the controlling the extending direction of the cutout frame according to the bending direction includes:
selecting a first target extending direction corresponding to the bending direction based on a first corresponding relation table between the bending direction and the extending direction of the cutout frame, and controlling the cutout frame to extend along the first target extending direction.
Optionally, the bending parameter further includes a bending area, and the controlling, according to the bending parameter, to change the movement and the expansion of the screenshot frame to select the corresponding screenshot area further includes:
and jointly controlling the extending direction of the cutout frame according to the bending area and the bending direction.
Optionally, the jointly controlling the extending direction of the cutout frame according to the bending area and the bending direction includes:
selecting a second target extension direction corresponding to the comprehensive bending parameter based on a second corresponding relation table between the comprehensive bending parameter and the extension direction of the cutout frame, and controlling the cutout frame to extend along the second target extension direction; the composite bend parameter includes both the bend region and the bend direction.
Optionally, when the screenshot frame is a rectangular screenshot frame, the screenshot control method further includes:
determining a target screenshot frame side corresponding to the bending area according to a third corresponding relation table between the bending area and each side of the rectangular screenshot frame;
the controlling the cutout frame to extend along the second target extending direction includes:
and controlling the target screenshot frame of the screenshot frame to extend along the second target extension direction.
Optionally, the bending parameter further includes a bending angle, and the screenshot control method further includes:
selecting a target extension rate corresponding to the bending angle based on a fourth corresponding relation table between the bending angle and the extension rate of the cutout frame, and controlling the cutout frame to extend at the target extension rate.
Optionally, after the controlling captures the image in the target capture area, the capture control method further includes:
and taking a picture obtained by screenshot of the image in the target screenshot area as a target screenshot picture, and controlling the target screenshot picture to be displayed in a full screen mode or in a small window mode on the flexible screen.
Further, the invention also provides a flexible screen terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the screenshot control method as described in any one of the above.
Further, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the screenshot control method as described in any one of the above.
Advantageous effects
The invention provides a screenshot control method, a flexible screen terminal and a computer readable storage medium, aiming at the defect that the existing screenshot scheme requires a user to manually drag a screenshot frame to select a corresponding screenshot area, which is inconvenient for the user to operate; detecting the bending parameters of the flexible screen terminal when receiving a screenshot starting instruction; controlling the movement and the expansion of the screenshot frame according to the bending parameter so as to select a corresponding screenshot area; when a screenshot finishing instruction is received, selecting a currently selected screenshot area of a screenshot frame as a target screenshot area, and controlling to screenshot an image in the target screenshot area; the process of screenshot is realized, the screenshot frame does not need to be manually dragged by a user to extend and move, and the control on the screenshot frame can be automatically realized only by bending the flexible screen.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
fig. 2 is a schematic flow chart of a screenshot control method according to a first embodiment of the present invention;
FIG. 3 is a schematic view of a bending angle provided by a first embodiment of the present invention;
fig. 4 is a first schematic diagram illustrating the moving and stretching of the screenshot box according to the first embodiment of the present invention;
fig. 5 is a second schematic diagram illustrating the movement and expansion of the screenshot box according to the first embodiment of the present invention;
FIG. 6 is a structural diagram of a bending region according to a first embodiment of the present invention;
FIG. 7 is a flowchart illustrating a detailed screenshot control method according to a second embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a moving and stretching of a screenshot box according to a second embodiment of the present invention;
fig. 9 is a schematic structural diagram of a flexible screen terminal according to a third 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: RF (Radio Frequency) unit 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 GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
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.
Based on the hardware structure of the mobile terminal, the invention provides various embodiments of the method.
First embodiment
The present embodiment provides a screenshot control method, so as to solve a problem that an existing screenshot scheme requires a user to manually drag a screenshot frame to move so as to select a corresponding screenshot area, which is inconvenient for the user to operate, please refer to fig. 2, where fig. 2 is a basic flowchart of the screenshot control method provided in the present embodiment, and the method includes the following steps:
s201, when receiving a screenshot starting instruction, detecting bending parameters of a flexible screen of the flexible screen terminal.
It should be noted that the present solution is mainly applicable to a flexible screen terminal, that is, a terminal device having a flexible screen, where the flexible display screen may be used to receive a corresponding display instruction issued when a related hardware (e.g., a core processor CPU, a graphics processing unit GPU, etc.) of the terminal executes a related program, and display and process a corresponding image content according to the display instruction, so as to be viewed by a user. Certainly, the flexible screen terminal is not limited to include a flexible display screen, and may further include other hardware devices in order to implement corresponding functions, which please refer to the description of the hardware structure of the terminal in fig. 1, and details are not described herein again. For a common terminal, the scheme is not applicable. The core idea of the scheme is to control the moving and stretching of the screenshot frame based on the bending parameters of the flexible screen of the terminal so as to select the screenshot area.
When the flexible screen terminal receives a screenshot starting instruction, the flexible screen terminal starts to detect the bending parameters of the flexible screen, the detection process can be real-time, the detection on the bending parameters of the flexible screen is closed until the screenshot is completed, and extra power consumption caused by the fact that the terminal continuously opens the detection function when a user does not need to screenshot is avoided.
Bending parameters of the flexible screen of the terminal are detected, wherein the bending parameters include, but are not limited to, a bending direction, a bending degree, a bent portion and the like. It should be appreciated that the manner of detecting the corresponding bending parameter may be any manner, and the present embodiment is not limited thereto. For better understanding, this embodiment specifically provides the following simple description of several detection modes:
for the detection of the bending direction, the bending direction can be divided into two directions of bending to the front side of the flexible screen and bending to the back side of the flexible screen, and certainly the bending direction can also be divided according to other modes, which is not described one by one, when the bending direction is divided into two directions of bending to the front side of the flexible screen and bending to the back side of the flexible screen, detectors such as an acoustic wave sensor or an infrared sensor and the like can be arranged on a terminal of the flexible screen to detect the conditions of the front side and the back side of the flexible screen, taking the infrared sensor as an example, if the area where the front side of the flexible screen is located is blocked, it is indicated that the current bending direction is the bending; and if the shielding of the area where the back surface is located is detected, the current bending direction is bending towards the back surface of the flexible screen. It should be understood that the above examples are for illustrative purposes only and are not to be construed as limiting the present invention. The present solution may also employ any existing means to detect the bending parameter.
For the detection of the bending degree, the bending degree can be represented by the bending angle, and for the detection of the bending angle, referring to fig. 3, a tangent 32 of a detection point 31 of the bending part on a bending curve is detected, and an included angle formed by the tangent 32 and an unbent part 33 is detected to obtain the bending angle alpha. Specifically, a gravity sensor or an orientation sensor may be disposed on a partial area or a whole area of the flexible display screen to detect a bending condition or a bending path of a relevant area of the flexible display screen, so that a bending included angle formed between the detection point 31 and the unbent portion 33 can be obtained. The bending angle may range from 0 ° to 180 °, it being understood that when 180 °, i.e. bent parallel to the front or back of the flexible screen; when the bending angle is 0 °, that is, the flexible display screen is not bent, the flexible display screen is in a flat state.
It should be understood that the above-mentioned manner of detecting the bending angle of the flexible display screen is only an example, and of course, any manner may be adopted as long as the bending degree can be detected, and the present embodiment does not limit this.
The degree of curvature may also be characterized by a curvature, and it should be understood that the curvature refers to a rotation rate of a tangential direction angle of a certain point on a curve to an arc length, and when the arc length is constant, the larger the tangential direction angle of rotation is, the larger the curvature is, indicating the degree of curvature is, and the smaller the tangential direction angle of rotation is, the smaller the curvature is, indicating the degree of curvature is. For the detection of the bending curvature, the flexible screen terminal can realize the calculation of the bending curvature by detecting the length of the bending arc and the rotation angle, and can also calculate the curvature by detecting the pressure of each point of the bending part, the larger the pressure is usually born, the larger the bending degree of the point is, the larger the curvature is, and the corresponding bending curvature is obtained through the preset corresponding relation between the pressure and the bending curvature, so that the size of the cutout frame is controlled and changed.
S202, controlling the movement and the expansion of the screenshot frame according to the bending parameters to select a corresponding screenshot area.
And controlling the moving and stretching of the screenshot frame in real time based on the bending parameters obtained by current detection so as to select a corresponding screenshot area.
For example, when the detected bending parameter is a bending direction, the extending direction of the capture frame may be controlled according to the bending direction, that is, the capture frame is controlled to be stretched or compressed toward the extending direction, so as to change the size of the capture frame. Specifically, referring to fig. 4, a first correspondence table is pre-stored in the flexible screen terminal, and a first target extending direction corresponding to the detected bending direction is selected, so as to control the cutout frame to stretch or compress along the first target extending direction; the first mapping table is a mapping table of the bending direction and the extending direction of the cutout frame, and can be specifically shown in the following table 1:
TABLE 1
Direction of bending The extending direction of the frame-cutting frame
Bending to the front of the flexible screen Extend downwards
Bending to the back of the flexible screen Extend to the right
The description is made here by way of example: after receiving a screenshot command issued by a user, assuming that the bending direction of the flexible screen is detected to be bending towards the front of the flexible screen, at this time, the flexible screen terminal selects a first target extending direction "extending downwards" corresponding to the bending direction "bending towards the front of the flexible screen" according to a first pre-stored corresponding relation table (here, it is assumed to be table 1), so as to control the screenshot frame 41 to stretch downwards and move, so as to expand the frame selection area of the screenshot frame.
Or, when the detected bending parameter is a bending area, the flexible screen terminal may control the movement and the expansion of the screenshot frame according to the detected bending area to select a corresponding screenshot area. For example, the flexible screen terminal may store a correspondence table between the bending area and the extending direction of the flexible screen in advance, and the correspondence table may be shown in table 2 below:
TABLE 2
Bending zone The extending direction of the frame-cutting frame
Bending zone 1 Extend upwards
Bending zone 2 Extend downwards
Bending zone 3 Extend leftwards
Bending zone 4 Extend to the right
Referring to fig. 5, the diagram on the left side shows that when the flexible screen terminal receives a screenshot command issued by a user, a preset screenshot frame 51 is generated, and the size and shape of the preset screenshot frame 51 can be flexibly set according to the actual requirements of the user; and detecting the bending area of the flexible screen, if the currently detected bending area is a preset area at the lower side of the flexible screen, controlling the screen capture frame 51 to stretch and move along the display area at the lower part of the terminal, and if the screen capture frame is stretched and moved at the right side 52 in fig. 5, changing and controlling the movement of the screen capture frame, changing the size of the screen capture frame, enabling the area selected by the screen capture frame to meet the screen capture requirement of a user, and enabling the whole screen capture process to be convenient and flexible without the user manually dragging the screen capture frame.
It should be noted that the bending area can be flexibly set, for example, referring to fig. 6, the left side partial area 61 of the flexible screen is taken as a first area, the right side partial area 62 of the flexible screen is taken as a second area, the upper side partial area 63 of the flexible screen is taken as a third area, and the lower side partial area 64 of the flexible screen is taken as a fourth area.
Or, the bending parameter may also be a bending angle, and the flexible screen terminal determines an extending direction corresponding to the bending angle according to the detected bending angle, so as to control the movement and stretching of the cutout frame.
It should be understood that, in practical applications, in order to better meet the actual use requirements of users, at least two of the bending parameters include a bending direction, a bending area, and a bending angle, so as to implement the control of the moving and stretching of the screenshot frame. For example, the extending direction of the cutout frame is controlled by the bending area and the bending direction together to change the selected area of the cutout frame, specifically, see the following example:
for convenience of description, the bending region and the bending direction are collectively referred to as a comprehensive bending parameter, that is, the comprehensive bending parameter includes both the bending region and the bending direction. When a screenshot command issued by a user is received, detecting a comprehensive bending parameter of the flexible screen, selecting a second target extension direction corresponding to the currently detected comprehensive bending parameter according to a second corresponding relation table between the currently detected comprehensive bending parameter and a comprehensive bending parameter preset by the flexible screen terminal and the extension direction of the screenshot frame, and controlling the screenshot frame to extend along the second target extension direction. The second correspondence table may be referred to as the following table 3:
TABLE 3
Comprehensive bending parameter The extending direction of the frame-cutting frame
Bending region 1, bending direction a Extend upwards
Bending region 1, bending direction b Extend downwards
Bending zone 2, bending direction a Extend leftwards
Bending region 2, bending direction b Extend to the right
For example, if the currently detected comprehensive bending parameter is "bending area 1, bending direction a", the flexible screen terminal will control the cutout frame to extend upward, and the process of specifically controlling the cutout frame to extend is not described herein again.
It should be understood that the scheme is not limited to screenshot in the currently visible display area of the flexible screen, but the scheme is also applicable to long screenshot, and the long screenshot is realized by extending the screenshot frame to a pull-down area or a pull-right area which is not visible on the current screen through movement of the screenshot frame.
And S203, when receiving a screenshot finishing instruction, selecting the currently selected screenshot area of the screenshot box as a target screenshot area, and controlling to screenshot the image in the target screenshot area.
When a user enables a screenshot frame to select a screenshot requirement expected by the user by bending the flexible screen, a screenshot completing instruction is issued to the flexible screen terminal, and the specific manner for issuing the screenshot completing instruction can be any conventional manner without limitation. At this time, when the flexible screen terminal receives the instruction for completing screenshot, the current screenshot area selected by the screenshot selecting frame is used as the target screenshot area, and screenshot of the image in the target screenshot area is controlled to generate a screenshot image. Therefore, the screenshot process is achieved through the bending parameters of the flexible screen, the user does not need to manually pull the screenshot frame in the screenshot area selection process, the movement stretching of the screenshot frame is achieved through the bending flexible screen, the operation is convenient and rapid, and misoperation cannot be easily caused.
Second embodiment
The embodiment provides a screenshot control method, which is different from the first embodiment in that the screenshot frame is accurately controlled to move and stretch by simultaneously combining a plurality of bending parameters, the size of the screenshot frame is adjusted, actual use requirements of a user are met, relatively more complex screenshot requirements are met, and user experience is improved. Referring to fig. 7, fig. 7 is a schematic flowchart of a screenshot control method according to a second embodiment of the present invention, where the screenshot control method includes the following steps:
s701, detecting the bending parameters of the flexible screen in real time when a long screenshot command is received; wherein the bending parameters include a bending area, a bending direction, and a bending angle.
The screenshot control scheme provided by the embodiment can be suitable for common screenshots (non-long screenshots) and long screenshots. When the flexible screen terminal receives the long screenshot command, the flexible screen terminal starts to detect bending parameters of the flexible screen, namely a bending area, a bending direction and a bending angle. The specific method for detecting the bending parameter may be any conventional method, or the detection method described in the first embodiment, which is not described herein again.
And S702, determining a corresponding target screenshot frame according to the currently detected bending area.
In this embodiment, the screenshot frame may be a rectangular screenshot frame, and includes four frame sides, which may be controlled by the scheme provided in this embodiment, so that the four frame sides may move along four directions of the flexible screen, and the moving speed of the flexible screen.
The determination of the corresponding target screenshot frame according to the bending area may be specifically implemented according to a third correspondence table of the bending area and the screenshot frame preset by the flexible screen terminal, where the third correspondence table may be as shown in table 4 below:
TABLE 4
Bending zone Frame edge of screenshot
Left part area of flexible screen Left side frame edge of cutout frame
Right partial area of flexible screen Right frame edge of cutout frame
Flexible screen upper side partial area Upper frame edge of picture-cutting frame
Lower partial area of flexible screen Lower side frame edge of cutout frame
The upper, lower, left and right partial areas of the flexible screen can be continuously referred to as shown in fig. 6, and the screenshot frame is rectangular, so that four frame edges, namely an upper frame edge, a lower frame edge, a left frame edge and a right frame edge, exist; for example, if the current bending area belongs to the left partial area of the flexible screen, the target screenshot frame edge is the left frame edge of the screenshot frame, so that the left frame edge is controlled to extend correspondingly. The specific extension method also needs to be performed in combination with the direction and rate of extension, while the direction of extension (i.e., the target extension direction) needs to be determined based on the bending direction, and the rate of extension (i.e., the target extension rate) needs to be determined based on the bending angle.
And S703, determining the target extension direction corresponding to the frame edge of the target screenshot according to the currently detected bending direction.
After the frame edge of the target screenshot is determined, the target extending direction of the frame edge of the target screenshot is also determined according to the bending direction, which is specifically shown in the following table 5:
TABLE 5
Figure GDA0002463750930000141
Figure GDA0002463750930000151
In table 5, that is, the target extending direction of the frame border of the target screenshot is further determined according to the bending finding, and after the frame border of the target screenshot is determined to be the left frame border according to the bending region (for example, the left partial region), the target extending direction of the left frame border may be determined to be extending rightward according to the bending direction (for example, bending toward the front of the flexible screen).
And S704, determining the target extension rate of the target screenshot frame moving along the target extension direction according to the currently detected bending angle.
According to the scheme, the target extension rate of the target screenshot frame moving along the target extension direction is determined according to the bending angle, the extension rate can be controlled, and accurate screenshot is facilitated.
For example, it is also determined that the target screenshot frame edge is the lower frame edge of the screenshot frame according to the bending area (assumed as the lower partial area) and the bending direction (bending toward the back of the flexible screen), and the target extending direction of the lower frame edge is downward extension, and at this time, it is further required to determine the target extending rate of the lower frame edge extending downward according to the detected bending angle, specifically, according to a fourth corresponding relation table between the bending angle and the extending rate of the screenshot frame, as shown in table 6 below:
TABLE 6
Bending angle Rate of elongation
0°~30° V1
30°~60° V2
>60° V3
If the detected bending angle is 20 °, according to the fourth corresponding relation table of the preset bending angle and the extension rate, the target extension rate can be determined to be V1, and the bending area (assumed as the lower partial area) and the bending direction (bending towards the back of the flexible screen) are combined, so that the lower frame edge of the cutout frame is determined to extend downwards at the rate of V1, and the current bending parameters can be adjusted in real time, so that the moving extension of the cutout frame can be well controlled.
It should be understood that the fourth corresponding relationship between the bending angle and the extension rate can be flexibly set according to actual situations, and is not limited to the example shown in table 6, for example, the bending angle can be divided into two types of angles from 0 ° to 45 ° and more than 45 °, and the four types of angles correspond to the extension rates v1 and v2, respectively.
S705, controlling the extension of the frame edge of the target screenshot according to the target extension direction and the target extension rate.
Referring to fig. 8, according to the bending area (assumed as the lower partial area), the bending direction (bending toward the back of the flexible screen), and the bending angle (20 °), it is determined that the lower frame edge 81 of the screenshot frame (i.e. the target frame edge) extends downward (i.e. the target extending direction) at a V1 rate (i.e. the target extending rate), and when the flexible screen returns to the flat state (i.e. the user stops bending the flexible screen), the screenshot frame is controlled to stop, and at this time, the lower frame edge stops at the position 82.
And S706, when the instruction of finishing the long screenshot is received, selecting the currently selected screenshot area of the screenshot box as a target screenshot area, and controlling to screenshot the image in the target screenshot area to obtain a target screenshot image.
And S707, controlling the target screenshot picture to be displayed in a full screen or in a small window on the flexible screen.
The target screenshot picture obtained by screenshot the image in the target screenshot area can also be directly displayed on the flexible screen in a full screen mode or a small window mode for a user to view and process.
Third embodiment
The present embodiment provides a flexible screen terminal, as shown in fig. 9, which includes a processor 91, a memory 91 and a communication bus 93, where:
the communication bus 93 is used for realizing connection communication between the processor 91 and the memory 92;
the processor 91 is configured to execute one or more programs stored in the memory 92 to implement the steps of the screenshot controlling method in the first embodiment and/or the second embodiment described above. For a specific process, please refer to the description in the first embodiment and/or the second embodiment, which is not repeated herein.
The present embodiment also provides a computer-readable storage medium, which stores one or more programs that can be executed by one or more processors to implement the steps of the screenshot controlling method in the first embodiment and/or the second embodiment described above. For a specific process, please refer to the description in the first embodiment and/or the second embodiment, which is not repeated herein.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A screenshot control method is applied to a flexible screen terminal and comprises the following steps:
when receiving a screenshot starting instruction, detecting a bending parameter of a flexible screen of the flexible screen terminal;
controlling the movement and the expansion of the screenshot frame according to the bending parameters to select a corresponding screenshot area;
and when receiving a screenshot finishing instruction, selecting the current selected screenshot area of the screenshot frame as a target screenshot area, and controlling to screenshot the image in the target screenshot area.
2. The screenshot control method according to claim 1, wherein said bending parameter comprises a bending direction, and said controlling the scaling of the movement of the screenshot frame according to said bending parameter to select the corresponding screenshot area comprises:
and controlling the extending direction of the cutout frame according to the bending direction.
3. The method for controlling screenshot according to claim 2, wherein said controlling an extension direction of said screenshot frame according to said bending direction comprises:
selecting a first target extending direction corresponding to the bending direction based on a first corresponding relation table between the bending direction and the extending direction of the cutout frame, and controlling the cutout frame to extend along the first target extending direction.
4. The screenshot control method according to claim 2, wherein said bending parameters further include a bending area, and said controlling the scaling of the movement of the screenshot frame according to said bending parameters to select a corresponding screenshot area further comprises:
and jointly controlling the extending direction of the cutout frame according to the bending area and the bending direction.
5. The method for controlling screenshot according to claim 4, wherein said controlling the extension direction of said screenshot frame according to said bending area and said bending direction comprises:
selecting a second target extension direction corresponding to the comprehensive bending parameter based on a second corresponding relation table between the comprehensive bending parameter and the extension direction of the cutout frame, and controlling the cutout frame to extend along the second target extension direction; the composite bend parameter includes both the bend region and the bend direction.
6. The screenshot control method according to claim 5, wherein when said screenshot frame is a rectangular screenshot frame, said screenshot control method further comprises:
determining a target screenshot frame side corresponding to the bending area according to a third corresponding relation table between the bending area and each side of the rectangular screenshot frame;
the controlling the cutout frame to extend along the second target extending direction includes:
and controlling the target screenshot frame of the screenshot frame to extend along the second target extension direction.
7. The screenshot control method of any of claims 1-6, wherein said bending parameters further include a bending angle, said screenshot control method further comprising:
selecting a target extension rate corresponding to the bending angle based on a fourth corresponding relation table between the bending angle and the extension rate of the cutout frame, and controlling the cutout frame to extend at the target extension rate.
8. The screenshot control method of claim 7, wherein after the controlling screenshots the image within the target screenshot area, the screenshot control method further comprises:
taking a picture obtained by screenshot of the image in the target screenshot area as a target screenshot picture,
and controlling the target screenshot picture to be displayed in a full screen or in a small window on the flexible screen.
9. A flexible screen terminal is characterized by comprising a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the screenshot control method as claimed in any of claims 1-8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the screenshot control method according to any one of claims 1-8.
CN201711373390.7A 2017-12-19 2017-12-19 Screenshot control method, flexible screen terminal and computer-readable storage medium Active CN108196775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711373390.7A CN108196775B (en) 2017-12-19 2017-12-19 Screenshot control method, flexible screen terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711373390.7A CN108196775B (en) 2017-12-19 2017-12-19 Screenshot control method, flexible screen terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108196775A CN108196775A (en) 2018-06-22
CN108196775B true CN108196775B (en) 2020-12-01

Family

ID=62576815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711373390.7A Active CN108196775B (en) 2017-12-19 2017-12-19 Screenshot control method, flexible screen terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108196775B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221755A (en) * 2019-05-31 2019-09-10 维沃移动通信有限公司 A kind of object select method and flexible terminal
CN110597580B (en) * 2019-07-23 2020-09-22 珠海格力电器股份有限公司 Screen capturing method and device
CN110908554B (en) * 2019-10-16 2022-02-01 维沃移动通信有限公司 Long screenshot method and terminal device
CN111050082A (en) * 2019-12-30 2020-04-21 维沃移动通信有限公司 Video shooting method and electronic equipment
CN111324263B (en) * 2020-01-21 2021-09-03 维沃移动通信有限公司 Screen capture method, electronic equipment and computer readable storage medium
CN111443855B (en) * 2020-04-07 2021-07-16 维沃移动通信有限公司 Image processing method and electronic equipment
CN112578974B (en) * 2020-12-15 2021-11-23 珠海读书郎网络教育有限公司 Wearable device screen capture control method based on distance measurement

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404494A (en) * 2010-09-08 2012-04-04 联想(北京)有限公司 Electronic equipment and method for acquiring image in determined area
CN105678684A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Image capture method and device
US9430123B2 (en) * 2012-10-09 2016-08-30 Sap Se Triggering a refresh of displayed content on a mobile device
CN106648035A (en) * 2016-11-29 2017-05-10 维沃移动通信有限公司 Image resolution adjusting method and mobile terminal
CN106970752A (en) * 2017-02-28 2017-07-21 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102568710B1 (en) * 2016-03-30 2023-08-21 삼성전자주식회사 Electronic device and operating method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404494A (en) * 2010-09-08 2012-04-04 联想(北京)有限公司 Electronic equipment and method for acquiring image in determined area
US9430123B2 (en) * 2012-10-09 2016-08-30 Sap Se Triggering a refresh of displayed content on a mobile device
CN105678684A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Image capture method and device
CN106648035A (en) * 2016-11-29 2017-05-10 维沃移动通信有限公司 Image resolution adjusting method and mobile terminal
CN106970752A (en) * 2017-02-28 2017-07-21 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal

Also Published As

Publication number Publication date
CN108196775A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108196775B (en) Screenshot control method, flexible screen terminal and computer-readable storage medium
CN108471498B (en) Shooting preview method and terminal
CN108073343B (en) display interface adjusting method and mobile terminal
CN108196776B (en) Terminal screen splitting method, terminal and computer readable storage medium
CN109725683B (en) Program display control method and folding screen terminal
CN108874280B (en) Screen division method, terminal and computer readable storage medium
CN110209313B (en) Icon moving method and terminal equipment
WO2019184947A1 (en) Image viewing method and mobile terminal
CN107741814B (en) Display control method and mobile terminal
CN110531915B (en) Screen operation method and terminal equipment
CN108228902B (en) File display method and mobile terminal
CN109348019B (en) Display method and device
CN110602389B (en) Display method and electronic equipment
CN109683802B (en) Icon moving method and terminal
CN109408171B (en) Display control method and terminal
CN107728923B (en) Operation processing method and mobile terminal
WO2019169991A1 (en) Display method and mobile terminal
CN109782992B (en) Video playing method, double-screen terminal and computer readable storage medium
KR102535334B1 (en) Image display method and mobile terminal
CN109710130B (en) Display method and terminal
CN110874147A (en) Display method and electronic equipment
CN111562896A (en) Screen projection method and electronic equipment
CN111142679A (en) Display processing method and electronic equipment
CN111028686B (en) Image processing method, image processing apparatus, electronic device, and medium
CN110058686B (en) Control method and terminal equipment

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