CN110209326A - Screenshot method and device, folding screen device and storage medium - Google Patents

Screenshot method and device, folding screen device and storage medium Download PDF

Info

Publication number
CN110209326A
CN110209326A CN201910381672.4A CN201910381672A CN110209326A CN 110209326 A CN110209326 A CN 110209326A CN 201910381672 A CN201910381672 A CN 201910381672A CN 110209326 A CN110209326 A CN 110209326A
Authority
CN
China
Prior art keywords
screen
sub
screenshot
folding
foldable
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.)
Granted
Application number
CN201910381672.4A
Other languages
Chinese (zh)
Other versions
CN110209326B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910381672.4A priority Critical patent/CN110209326B/en
Publication of CN110209326A publication Critical patent/CN110209326A/en
Application granted granted Critical
Publication of CN110209326B publication Critical patent/CN110209326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0216Foldable in one direction, i.e. using a one degree of freedom hinge
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Telephone Set Structure (AREA)

Abstract

The invention discloses a screenshot method, a screenshot device, a folding screen device and a storage medium, relates to the technical field of electronics, and is used for rapidly intercepting content displayed by the folding screen device according to the folding characteristic of the folding screen device and providing a new screenshot interaction mode, wherein the screenshot method comprises the following steps: detecting a first predetermined operation for controlling a foldable screen of a foldable screen device to change its form between a first folded form and a second folded form when the foldable screen is in the first folded form, wherein the foldable screen of the foldable screen device comprises at least two sub-screens, and the at least two sub-screens are in different forms when the foldable screen is in the first folded form and the second folded form, respectively; generating a screenshot instruction for intercepting the content displayed by the foldable screen according to a first preset operation; and determining an intercepting area corresponding to the screenshot instruction in the foldable screen, and intercepting corresponding content in the intercepting area.

Description

Screenshot method and device, folding screen device and storage medium
Technical Field
The invention relates to the technical field of electronics, in particular to a screenshot method and device, a folding screen device and a storage medium.
Background
Currently, in the existing electronic devices, a plurality of physical keys (such as a power key and a flip-down key) are usually pressed simultaneously or a multi-finger sliding screen (a three-direction lower sliding screen) is adopted to intercept a current display page of a display screen of the electronic device. However, with the appearance of the flexible foldable screen, the appearance of the existing mobile electronic device is also changed greatly, and a foldable screen device, such as a foldable screen mobile phone, capable of folding the mobile electronic device is provided, so that how to provide a new screenshot interaction mode for the foldable screen device is a problem to be considered.
Disclosure of Invention
The embodiment of the application provides a screenshot method, a screenshot device, folding screen equipment and a storage medium, which are applied to the folding screen equipment, wherein the folding screen equipment comprises a folding screen, the folding screen comprises at least two sub-screens, and the screenshot method comprises the following steps:
detecting a first predetermined operation for controlling the foldable screen to change its form between a first folded form and a second folded form when the foldable screen is in the first folded form, wherein the at least two sub-screens present different forms when the foldable screen is in the first folded form and the second folded form, respectively;
generating a screenshot instruction for intercepting the content displayed by the foldable screen according to the first preset operation;
and determining an intercepting area corresponding to the screenshot instruction in the foldable screen, and intercepting corresponding content in the intercepting area.
Optionally, if the first folding state is a state that the foldable screen is in a folding mode, the second folding state is a state that the foldable screen is in a non-folding mode; then the process of the first step is carried out,
the first predetermined operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be away from each other to switch from the folding mode to the non-folding mode; or,
the first preset operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be away from each other to switch to a non-folding mode and return to the folding mode within a first preset time length.
Optionally, if the first folding state is a state that the foldable screen is in an unfolded mode, the second folding state is a state that the foldable screen is in a non-unfolded mode; then the process of the first step is carried out,
the first predetermined operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be close to each other to switch from the unfolded mode to the non-unfolded mode; or,
the first preset operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be close to each other so as to switch to a non-unfolding mode and return to the unfolding mode within a second preset time length.
Optionally, determining a capture area corresponding to the screenshot instruction in the foldable screen includes:
and according to the form change parameter for controlling the foldable screen to change form between the first folding form and the second folding form within a third preset time length by the first preset operation, determining a capture area corresponding to the screenshot instruction from a current display area of the foldable screen.
Optionally, determining, according to a form change parameter of a form change occurring between the first folding form and the second folding form, a capture area corresponding to the screenshot instruction from a current display area of the foldable screen, including:
determining a screenshot type corresponding to a first sub-form change parameter which is subjected to form change between the first folding form and the second folding form according to a corresponding relation between a form change parameter of preset form change and the screenshot type; wherein the first sub-form change parameter comprises an angle or a number of form changes;
and determining a screenshot area needing screenshot according to the determined screenshot type, wherein the screenshot type comprises a full-screen screenshot, a partial screenshot or a long screenshot.
Optionally, if the determined screenshot type is a partial screenshot, determining a screenshot area needing screenshot according to the following method:
determining a target position area in the current display area corresponding to a second sub-form change parameter which is changed in form between the first folding form and the second folding form according to a corresponding relation between the form change parameter which is changed in form and the position area, and determining the target position area as the intercepting area, wherein the second sub-form change parameter comprises the angle or the frequency of the form change; or,
according to the corresponding relation between the form change parameters of the form change and the object types, determining the target object type in the current display area corresponding to a third sub-form change parameter of the form change between the first folding form and the second folding form, and determining the display area occupied by the target object type as the intercepting area, wherein the third sub-form change parameter comprises the angle or the frequency of the form change.
Optionally, when a plurality of determined intercepting areas are provided, the method further includes:
respectively intercepting a plurality of contents corresponding to the plurality of intercepting areas, and generating a plurality of screenshots; or,
and respectively acquiring a plurality of contents corresponding to the plurality of intercepting areas, and processing the plurality of contents to generate a screenshot.
In a second aspect, a screenshot device is provided, which includes:
a detection unit, configured to detect a first predetermined operation for controlling a foldable screen of a foldable screen device to change its form between a first folded form and a second folded form when the foldable screen is in the first folded form, where the foldable screen device includes the foldable screen, the foldable screen includes at least two sub-screens, and the at least two sub-screens are in different forms when the foldable screen is in the first folded form and the second folded form, respectively;
the instruction generating unit is used for generating a screenshot instruction for intercepting the content displayed by the foldable screen according to the first preset operation;
and the determining unit is used for determining an intercepting area corresponding to the screenshot instruction in the foldable screen and intercepting corresponding content in the intercepting area.
Optionally, if the first folding state is a state that the foldable screen is in a folding mode, the second folding state is a state that the foldable screen is in a non-folding mode; then the process of the first step is carried out,
the first predetermined operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be away from each other to switch from the folding mode to the non-folding mode; or,
the first preset operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be away from each other to switch to a non-folding mode and return to the folding mode within a first preset time length.
Optionally, if the first folding state is a state that the foldable screen is in an unfolded mode, the second folding state is a state that the foldable screen is in a non-unfolded mode; then the process of the first step is carried out,
the first predetermined operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be close to each other to switch from the unfolded mode to the non-unfolded mode; or,
the first preset operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be close to each other so as to switch to a non-unfolding mode and return to the unfolding mode within a second preset time length.
Optionally, the determining unit is further configured to: and according to the form change parameter for controlling the foldable screen to change form between the first folding form and the second folding form within a third preset time length by the first preset operation, determining a capture area corresponding to the screenshot instruction from a current display area of the foldable screen.
Optionally, the determining unit is further configured to: determining a screenshot type corresponding to a first sub-form change parameter which is subjected to form change between the first folding form and the second folding form according to a corresponding relation between a form change parameter of preset form change and the screenshot type; wherein the first sub-form change parameter comprises an angle or a number of form changes;
and determining a screenshot area needing screenshot according to the determined screenshot type, wherein the screenshot type comprises a full-screen screenshot, a partial screenshot or a long screenshot.
Optionally, if the determined screenshot type is a partial screenshot, the determining unit is further configured to:
determining a target position area in the current display area corresponding to a second sub-form change parameter which is changed in form between the first folding form and the second folding form according to a corresponding relation between the form change parameter which is changed in form and the position area, and determining the target position area as the intercepting area, wherein the second sub-form change parameter comprises the angle or the frequency of the form change; or,
according to the corresponding relation between the form change parameters of the form change and the object types, determining the target object type in the current display area corresponding to a third sub-form change parameter of the form change between the first folding form and the second folding form, and determining the display area occupied by the target object type as the intercepting area, wherein the third sub-form change parameter comprises the angle or the frequency of the form change.
Optionally, when a plurality of determined intercepting areas are provided, the determining unit is further configured to:
respectively intercepting a plurality of contents corresponding to the plurality of intercepting areas, and generating a plurality of screenshots; or,
and respectively acquiring a plurality of contents corresponding to the plurality of intercepting areas, and processing the plurality of contents to generate a screenshot.
In a third aspect, there is provided a folding screen device comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the steps included in any of the methods of the first aspect according to the obtained program instructions.
In a fourth aspect, there is provided a storage medium storing computer-executable instructions for causing a computer to perform the steps included in any of the methods of the first aspect.
In the embodiment of the application, after a first predetermined operation of changing the foldable screen form of the foldable screen mobile phone is detected, a screenshot instruction of intercepting contents displayed by the foldable screen can be generated according to the first predetermined operation, an intercepting area needing to be intercepted from the displayed contents of the foldable screen is further determined according to the screenshot instruction, the contents in the intercepting area are intercepted, and a screenshot is generated. Therefore, the folding characteristic of the folding screen equipment is fully utilized to control the folding screen equipment to capture the screen, a new screen capture interaction mode is provided, the multifunctionality of the folding screen equipment is enhanced, the folding and unfolding characteristics of the folding screen based on the folding screen equipment are increased, the interest of the screen capture is increased, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a schematic view of an application scenario in which a foldable screen provided in an embodiment of the present application is folded once;
fig. 2 is a schematic view of an application scenario in which another foldable screen provided in the embodiment of the present application is folded once;
fig. 3 is a schematic view of an application scenario in which a foldable screen provided in the embodiment of the present application is folded twice;
fig. 4 is a flowchart of a screenshot method provided in an embodiment of the present application;
fig. 5a is a schematic diagram of capturing display content in a left half area of a current display area in an expansion mode according to an embodiment of the present application;
fig. 5b is a schematic diagram of capturing display content of a right half area of a current display area in an expansion mode according to the embodiment of the present application;
fig. 5c is a schematic diagram of capturing display content in an upper half area of a current display area in an expansion mode according to the embodiment of the present application;
fig. 5d is a schematic diagram of capturing display content of a lower half area of a current display area in an expansion mode according to the embodiment of the present application;
fig. 6a is a schematic view illustrating capturing characters displayed in a current display area in an expansion mode according to an embodiment of the present application;
fig. 6b is a schematic view of capturing a picture displayed in a current display area in an expansion mode according to an embodiment of the present application;
fig. 7 is a block diagram of a screenshot device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a folding screen device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the technical solutions of the present invention. All other embodiments obtained by a person skilled in the art without any inventive work based on the embodiments described in the present application are within the scope of the protection of the technical solution of the present invention.
The terms "first" and "second" in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
For ease of understanding, the technical background of the embodiments of the present application will be described below.
As described above, in the existing electronic device, a gesture of pressing multiple physical keys or different sliding screens at the same time is longer used to capture the current display content of the electronic device, so that after the folding screen device appears, there is a problem how to provide a new screenshot interaction mode for the folding screen device.
In view of this, the embodiment of the present application provides a screenshot scheme according to a characteristic that a display screen in a folding screen device is foldable, and generates a screenshot instruction for intercepting content displayed on the folding screen in the folding screen device by using the characteristic that the folding screen in the folding screen device is foldable and by changing an operation of a form of the folding screen in the folding screen device, and further intercepts and determines an area to be intercepted according to the generated screenshot instruction and intercepts the content displayed in the intercepted area. That is to say, can come the content that the collapsible screen of intercepting folding screen equipment shows through the form that changes collapsible screen in the folding screen equipment, so, compare in current screenshot modes such as through physics button and gesture slip, this application make full use of can buckle this characteristic of collapsible screen in the folding screen equipment, provide a new screenshot interactive mode, still increased the interest of screenshot, and then improved user's use experience.
Some simple descriptions are given below to application scenarios to which the technical solution of the embodiment of the present application can be applied, and it should be noted that the application scenarios described below are only used for describing the embodiment of the present application and are not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Referring to the application scenario schematic diagram shown in fig. 1, in addition to the aforementioned folding-screen mobile phone, the folding-screen device in the embodiment of the present application may further include a foldable tablet computer, a smart watch, and the like, and for convenience of description, the application scenario shown in fig. 1 is described by taking the folding-screen device as the folding-screen mobile phone 10 as an example.
A folding screen mobile phone is a mobile phone which can change the effective display area of the screen by folding. Current folding screen cell phones may be a large size flexible foldable display screen that can then be folded to enable the folding screen cell phone to present at least two (e.g., two or three or more) different active display areas. For example, as shown in fig. 1, the foldable screen may be folded once, and then the foldable screen may be divided into two sub-screens by following the folding line, that is, the foldable screen in the folding-screen mobile phone 10 is divided into two sub-screens, namely, a first sub-screen 101 and a second sub-screen 102; in the unfolding mode, one picture may be displayed in the foldable screen of the foldable-screen mobile phone 10, different pictures may be displayed in the first sub-screen 101 and the second sub-screen 102, and the foldable screen of the foldable-screen mobile phone 10 may be divided into different areas according to a predetermined ratio to display different pictures. Referring to fig. 2, when the folding screen phone 10 is in the folding mode, the first sub-screen 101 or the second sub-screen 102 shown in fig. 2 may be used for displaying.
Of course, the foldable screen may also be folded for multiple times, such as twice folding or three times folding, as shown in fig. 3, when the foldable screen of the foldable-screen mobile phone 10 is folded for two times, there are two folding center lines, so that the foldable screen may be divided into three sub-screens, i.e., the first sub-screen 101, the second sub-screen 102 and the third sub-screen 103, according to the folding lines. Therefore, when the folding screen mobile phone is in the folding mode, any one of the three sub-screens can be controlled to display, and only one picture can be displayed in any one sub-screen, or at least two pictures can be respectively displayed in any one sub-screen; when the mobile phone is in the unfolding mode, the three sub-screens are used for displaying together, namely, the three sub-screens are used for displaying in the whole foldable screen, the three sub-screens can display the same picture together, and of course, the three sub-screens can be controlled to display different pictures respectively when the mobile phone with the foldable screen is in the unfolding mode, or a plurality of pictures can be displayed in proportion.
In the embodiment of the present application, when the foldable screen in the foldable-screen mobile phone is folded, that is, divided into two sub-screens, the form of the foldable screen is changed, and the foldable screen may be folded in a direction opposite to one side of the display screen with the side of the display screen as an outer surface as shown in fig. 1 and fig. 2, or folded inward with the side of the display screen as an inner surface, that is, the first sub-screen 101 and the second sub-screen 102 may move toward each other or move away from each other. When the foldable screen in the foldable-screen mobile phone is folded twice, the form of the foldable screen is changed to use one side of the displayed picture as the outer surface, the third sub-screen can be kept still, the first sub-screen and the second sub-screen are respectively controlled to be folded in the direction opposite to the one side of the displayed picture, or the first sub-screen and the second sub-screen are controlled to be folded towards one side of the displayed picture, or the first sub-screen and the second sub-screen can be respectively folded towards different directions, for example, the third sub-screen is kept still, the first sub-screen is controlled to be folded towards one side of the displayed picture, and the second sub-screen is controlled to be folded towards the other side of the displayed picture. Accordingly, when the foldable screen is a triple-fold or more-fold screen, it can be folded in a similar manner.
For convenience of description in the embodiment of the present application, a foldable screen in a foldable-screen mobile phone is taken as a foldable screen that can be folded at a time, that is, two sub-screens including a first sub-screen and a second sub-screen are taken as an example for specific description.
In the embodiment of the present application, the change of the form of the foldable screen may be embodied by a change of an included angle between the first sub-screen and the second sub-screen, so that the folding mode and the unfolding mode in the foregoing may be divided according to a difference of an included angle formed between the first sub-screen and the second sub-screen when the form of the foldable screen in the mobile phone with the foldable screen is changed. For example, the folding screen mobile phone when an included angle between the first sub-screen and the second sub-screen is any one of 0 degree and 5 degrees can be regarded as being in the folding mode, and the folding screen mobile phone when the included angle between the first sub-screen and the second sub-screen is any one of 170 degrees or 180 degrees can be regarded as being in the unfolding mode.
However, when the folding mode and the unfolding mode both correspond to a specific angle, a situation may occur in which the angle of the form change does not reach the specific angle value and cannot be detected, so that, in order to detect the form change of the foldable screen, the folding mode and the unfolding mode may be set to correspond to an angle range, respectively. The folding screen mobile phone can be regarded as being in the folding mode when the included angle between the first sub-screen and the second sub-screen is in the range of 0-90 degrees, and the folding screen mobile phone is regarded as being in the unfolding mode when the included angle between the first sub-screen and the second sub-screen is in the range of 91-180 degrees.
Further, the angle range of the folding mode and the angle range of the unfolding mode may also be two angle ranges that are not connected, for example, when the angle between the first sub-screen and the second sub-screen is in the range of 0 degree to 20 degrees, the folding screen mobile phone is regarded as being in the folding mode, and when the angle between the first sub-screen and the second sub-screen is in the range of 160 degrees to 180 degrees, the folding screen mobile phone is regarded as being in the unfolding mode, wherein when the angle between the first angle and the second angle is in the range of 20 degrees to 160 degrees, the folding screen mobile phone is neither the folding mode nor the unfolding mode, for example, the folding screen mobile phone may be called as an intermediate mode, the intermediate mode and the unfolding mode may be collectively called as an unfolding mode, and the intermediate mode and the folding mode may be collectively called as an unfolding mode.
It should be noted that, in the embodiment of the present application, in order to avoid ambiguity of the mode in which the foldable screen is located or the corresponding screenshot type when the form changes into the end value, the angle range in the present application may be set to include the end value with the smaller angle value of the two end values, but not include the end value with the larger angle value. For example, assuming that the corresponding angle range of the folding mode is 5 degrees to 20 degrees, when the detected angle between the first sub-screen and the second sub-screen of the foldable screen is 5 degrees, the foldable screen is in the folding mode, but when the detected angle between the first sub-screen and the second sub-screen of the foldable screen is 20 degrees, it may be determined that the foldable screen is in the non-folding mode.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application. The method can be executed in sequence or in parallel according to the method shown in the embodiment or the figures when the method is executed in an actual processing procedure or a device (for example, a parallel processor or an application environment of multi-thread processing).
Referring to fig. 4, a flow of a screenshot method in the embodiment of the present application is described as follows.
Step 401: detecting a first predetermined operation for controlling the foldable screen to change its form between a first folded form and a second folded form when the foldable screen is in the first folded form, wherein at least two sub-screens included in the foldable screen device are in different forms when the foldable screen is in the first folded form and the second folded form, respectively;
for convenience of description in the embodiment of the present application, the folding-screen mobile phone 10 in the application scenarios of fig. 1 to fig. 3 is taken as an example to be specifically described.
In the embodiment of the application, the two sub-screens are different in presenting form, and the presentation form of the folding screen mobile phone can be changed by changing the angle of the included angle between the two sub-screens and further by controlling the presentation form of the two sub-screens. That is, an operation of changing the form of the foldable screen in the foldable-screen mobile phone may be detected according to a change in an angle between the first sub-screen and the second sub-screen. For convenience of description, in the embodiment of the present application, an angle at which the foldable screen can be folded is exemplified as 0 degree to 180 degrees.
In this embodiment of the application, according to a difference in an included angle range between the first sub-screen and the second sub-screen, the foldable screen in the folding-screen mobile phone may be divided into two forms, namely a first folding form and a second folding form, where an angle range corresponding to the first folding form may be referred to as a first angle range, and an angle range corresponding to the second folding form may be referred to as a second angle range. That is, the first folded configuration and the second folded configuration correspond to any one of the folded mode and the unfolded mode described above, respectively.
For example, the first folding state may be a state in which the folding screen mobile phone is in a folding mode, and at this time, the corresponding first angle range may be 0 to 50 degrees; the second folding state is a state that the folding screen mobile phone is in the unfolding mode, and at this time, the corresponding second angle range may be 50 degrees to 180 degrees. It can be seen that the corresponding first angle range in the folded mode is smaller than the corresponding second angle range in the unfolded mode.
Or, in this embodiment of the application, the foldable screen in the mobile phone with a foldable screen may be further divided into three forms, namely a first folding form, a second folding mode and a third folding form, according to a range of an included angle between the first sub-screen and the second sub-screen, where an angle range corresponding to the first folding form may be referred to as a first angle range, an angle range corresponding to the second folding form may be referred to as a second angle range, and an angle range corresponding to the third folding form may be referred to as a third angle range.
For example, the first folded configuration corresponds to a folded mode, the corresponding first angle range is 0 to 20 degrees, the second folded configuration corresponds to an unfolded mode, the corresponding second angle range is 160 to 180 degrees, the third folded configuration corresponds to the intermediate mode, and the corresponding third angle range is 20 to 159 degrees.
Further, as mentioned above, the first folding state may be a state in which the foldable screen is in the unfolding mode, or a state in which the foldable screen is in the folding mode, so the first predetermined operation in step 401 may be a different operation according to the difference of the first folding state.
Specifically, if the first folding state is a state in which the foldable screen is in the folding mode, and the second folding state is a state in which the foldable screen is in the non-folding mode (the unfolding mode or the intermediate mode), the first predetermined operation may include the following two modes:
mode 1: the first predetermined operation may be an operation of controlling the first sub-screen and the second sub-screen to be away from each other so that the foldable screen is switched from the folding mode to the non-folding mode.
For example, the first angle range is 0 to 60 degrees, the second angle range is 60 to 180 degrees, and assuming that the included angle between the first sub-screen and the second sub-screen before the form change is 25 degrees, if the included angle between the first sub-screen and the second sub-screen is detected to be 150 degrees after the form of the foldable screen is changed, it indicates that the foldable screen is changed from the first folding form to the second folding form, i.e. the foldable screen is changed from the folding mode to the unfolding mode.
For another example, the first angle range corresponding to the folding mode is 0 degree to 20 degrees, the second angle range corresponding to the unfolding mode is 160 degrees to 180 degrees, the third angle range corresponding to the middle mode is 20 degrees to 160 degrees, when the first folding state is the folding mode, the included angle between the first sub-screen and the second sub-screen is 0 degree, after the state of the foldable screen is changed, the detected included angle between the first sub-screen and the second sub-screen is 50 degrees, and 50 degrees are greater than the first angle range and smaller than the second angle range and just within the third angle range, so that it can be determined that the first predetermined operation is detected at this time.
For another example, assuming that the first angle range corresponding to the folding mode is 0 degree to 20 degrees, and the second angle range corresponding to the unfolding mode is 160 degrees to 170 degrees, then 20 degrees to 160 degrees, and 170 degrees to 180 degrees may all belong to the angle range corresponding to the middle mode, and in the first folding state (i.e. in the folding mode), the included angle between the first sub-screen and the second sub-screen is 0 degree, and after the form of the foldable screen is changed, if the included angle between the first sub-screen and the second sub-screen is detected to be 50 degrees or 175 degrees, it may be considered that the foldable screen of the folding-screen mobile phone has changed in form, so it may be determined that the first predetermined operation is detected.
Mode 2: the first predetermined operation may be an operation of controlling the first sub-screen and the second sub-screen to be away from each other to switch to the non-folding mode and to return to the folding mode within a first predetermined length of time.
The first preset time can be set according to actual conditions, but in order to detect the form change of the foldable screen more quickly and detect a complete first preset operation in a short time to avoid false detection, the first preset time is not set too long or too short, false operation is easy to occur if the first preset time is too long, and false detection is impossible if the first preset time is too short.
For example, the first angle range is 0 to 20 degrees, the second angle range is 160 to 180 degrees, and the third angle range is 20 to 160 degrees, wherein the form of the foldable screen corresponding to the angle ranges other than the first angle range of 0 to 20 degrees may be referred to as the non-folding mode. Assuming that the first preset time duration is 2 seconds, the included angle between the first sub-screen and the second sub-screen before the form change is 10 degrees, if the detected change of the form change angle of the foldable screen in the time duration of 2 seconds is changed from 10 to 120 degrees, and then the angle is finally detected to be 15 degrees, namely, after the included angle between the first sub-screen and the second sub-screen of the foldable screen in the time duration of 2 seconds exceeds the maximum angle value in the first angle range, the angle is restored to the angle in the first angle range, and then the first preset operation can be determined to occur.
The two modes of the mode 1-the mode 2 illustrate that when the folding screen mobile phone is in the folding mode, the mode of the folding screen in the folding screen can be changed by controlling the first sub-screen and the second sub-screen to be away from each other, so that the content displayed in the current display area of the folding screen mobile phone can be quickly captured by fully utilizing the folding characteristic of the folding screen mobile phone, a new screenshot interaction mode is provided, and the interest of screenshot is increased. In addition, different forms of the folding screen mobile phone correspond to different angle ranges, so that the folding screen mobile phone is more convenient for a user to operate when the form of the folding screen is changed, and misoperation and invalid operation are avoided.
Further, specifically, if the first folding configuration is a configuration in which the foldable screen is in the unfolded mode, and the second folding screen is a configuration in which the foldable screen belongs to the non-unfolded mode, the first predetermined operation may include the following two modes:
mode 3: the first predetermined operation may be to control the first sub-screen and the second sub-screen to approach each other so that the foldable screen is switched from the unfolded mode to the non-unfolded mode.
For example, taking the first angle range as 60 degrees to 180 degrees and the second angle range as 0 degree to 60 degrees as an example, assuming that the included angle between the first sub-screen and the second sub-screen before the foldable screen is changed in shape is 170 degrees, if the included angle between the first sub-screen and the second sub-screen is detected as 20 degrees after the foldable screen is changed in shape, it is indicated that the foldable screen is changed from the first folding shape to the second folding shape, i.e. the foldable screen is changed from the unfolding mode to the folding mode.
For another example, assuming that the first angle range is 160 degrees to 180 degrees, the second angle range is 0 degrees to 20 degrees, the third angle range is 20 degrees to 160 degrees, and in the first folding state, the included angle between the first sub-screen and the second sub-screen is 170 degrees, and after the form of the foldable screen is changed, the detected included angle between the first sub-screen and the second sub-screen is 100 degrees, it may be determined that the first predetermined operation is detected.
For another example, if the first angle range corresponding to the unfolding mode is 160 degrees to 180 degrees, and the second angle range corresponding to the folding mode is 10 degrees to 30 degrees, then 20 degrees to 160 degrees and 0 degrees to 10 degrees all belong to the angle ranges corresponding to the middle mode, and if the first folding state is the unfolding mode, the included angle between the first sub-screen and the second sub-screen is 180 degrees, after the state of the foldable screen is changed, if the included angle between the first sub-screen and the second sub-screen is detected to be 50 degrees or 5 degrees, it can be considered that the foldable screen of the foldable screen mobile phone has changed in state, so that it can be determined that the first predetermined operation is detected.
Mode 4: the first predetermined operation may also be an operation of controlling the first sub-screen and the second sub-screen of the foldable screen to approach each other to switch to the non-unfolded mode and return to the unfolded mode within a second predetermined length of time. The second predetermined time period may be the same as the first predetermined time period, or may be different from the first predetermined time period, and is specifically set according to specific situations.
For example, the first angle range is 160 degrees to 180 degrees, the second angle range is 0 degrees to 20 degrees, and the third angle range is 20 degrees to 160 degrees, wherein the foldable screen corresponding to the angle ranges other than the first angle range of 160 degrees to 180 degrees may be called the non-unfolded mode. Assuming that the angle of the foldable screen before the form change is 170 degrees, and the second preset time is 1 second, if it is detected that the change of the form change of the foldable screen is changed from 170 degrees to 140 degrees within the time of 1 second, and then it is detected that the angle between the first sub-screen and the second sub-screen is 175 degrees, that is, after the angle between the first sub-screen and the second sub-screen of the foldable screen exceeds the minimum angle value in the first angle range within the time of 1 second, it is restored to the angle within the first angle range, it can be determined that the first preset operation has occurred.
The above two modes of modes 3 to 4 illustrate that the form of the foldable screen mobile phone can be changed by controlling the first sub-screen and the second sub-screen to approach each other when the foldable screen mobile phone is in the unfolding mode, so that the three modes of modes 3 to 4 also utilize the foldable characteristic of the foldable screen mobile phone to rapidly capture the content displayed in the current display area of the foldable screen mobile phone, provide a new screenshot interaction mode, and further increase the screenshot interest. In addition, different forms of the folding screen mobile phone correspond to different angle ranges, so that the folding screen mobile phone is more convenient for a user to operate when the form of the folding screen is controlled to change, and misoperation and invalid operation caused by angle errors are avoided.
It should be noted that the above-mentioned exemplary embodiments are merely for convenience of describing the first predetermined operation in the embodiment of the present application, and the first predetermined operation is not limited to only the above-mentioned four modes.
Step 402: and generating a screenshot instruction for intercepting the content displayed by the foldable screen according to the first preset operation.
In this embodiment of the application, different screenshot instructions may be generated according to different morphological change parameters of morphological change of the foldable screen corresponding to the first predetermined operation, for example, the screenshot instruction generated according to the first predetermined operation may be an instruction for intercepting content corresponding to a part of a foldable current display area of the foldable screen mobile phone, may also be an instruction for intercepting all content displayed in the foldable current display area of the foldable screen mobile phone, and may also be an instruction for performing long-screenshot on the content displayed on the foldable screen of the foldable screen mobile phone. Therefore, partial or all or more display contents in the current display area of the foldable screen can be intercepted through the different form changes of the foldable screen, the screenshot mode of the mobile phone end of the foldable screen is enriched, the intercepting efficiency is improved, and the interest of screenshot is increased.
Step 403: and determining an intercepting area corresponding to the screenshot instruction in the foldable screen, and intercepting corresponding content in the intercepting area.
In the embodiment of the present application, as described above, different screenshot instructions may be generated according to different first predetermined operations, so that a morphological change parameter that a foldable screen in a foldable-screen mobile phone changes morphologically between the first folded form and the second folded form may be controlled within a third predetermined time according to the first predetermined operation, and a capture area corresponding to the screenshot instruction may be determined from a current display area of the foldable screen of the foldable-screen mobile phone. For convenience of description, in the embodiment of the present application, the form change parameter is specifically described as an angle and/or a number of times as an example.
Specifically, the screenshot type corresponding to the first sub-form change parameter that is changed in form between the first folding form and the second folding form may be determined according to a preset correspondence between the form change parameter of the form change and the screenshot type, and the screenshot area that needs to be screenshot may be determined according to the determined screenshot type.
The screenshot type comprises a full-screen screenshot, a partial screenshot or a long screenshot, wherein the full-screen screenshot corresponds to the screenshot instruction for intercepting all contents displayed in the current display area of the foldable screen of the folding-screen mobile phone, the partial screenshot corresponds to the screenshot instruction for intercepting the contents corresponding to a partial area in the current display area of the foldable screen of the folding-screen mobile phone, and the long screenshot corresponds to the instruction for performing long screenshot on the contents displayed in the foldable screen of the folding-screen mobile phone; the first sub-form change parameter may be an angle of form change or a number of times of form change; the current display area of the foldable screen of the folding-screen mobile phone can be independently displayed through any one of the first sub-screen and the second sub-screen, or can be displayed through the whole display screen of the foldable screen composed of the first sub-screen and the second sub-screen.
For example, taking the form change parameter as the angle of the form change of the foldable screen as an example, assuming that the angle of the form change of the foldable screen is in the range of 0 degree to 50 degrees, the corresponding screenshot type is a partial screenshot; and when the screen capture type is within the range of 50-100 degrees, the corresponding screen capture type is a full screen capture, and when the screen capture type is within the range of 100-150 degrees, the corresponding screen capture type is a long screen capture. After the foldable screen is subjected to form change, if the detected angle of the form change is in the range of 0-50 degrees, the screenshot type corresponding to the generated screenshot instruction is a partial screenshot; if the detected form change angle is within the range of 50 degrees to 100 degrees, the screenshot type corresponding to the generated screenshot instruction is a full-screen screenshot; if the detected form change angle is in the range of 100 degrees to 150 degrees, the screenshot type corresponding to the generated screenshot command is a long screenshot.
For another example, taking the form change parameter as the number of times of form change of the foldable screen as an example, assuming that the form of the foldable screen mobile phone changes for 1 time, the corresponding screenshot type is a partial screenshot; the foldable screen of the folding screen mobile phone changes for 2 times, and the corresponding screenshot type is a full screen screenshot; the folding screen of the folding screen mobile phone changes in shape for 3 times, and the corresponding screenshot type is a long screenshot. After the foldable screen is subjected to form change, if the detected form change times are 1 time, the screenshot type corresponding to the generated screenshot instruction is a partial screenshot; if the detected form change times are 2 times, the screenshot type corresponding to the generated screenshot command is a full-screen screenshot; and if the detected form change times are 3 times, the screenshot type corresponding to the generated screenshot command is a long screenshot.
For another example, taking the form change parameters as the angle and the number of times of the form change of the foldable screen as an example, assuming that the angle of the form change of the foldable screen mobile phone is 0 degree to 50 degrees, and the number of times of the form change is 1 time, the corresponding screenshot type is a partial screenshot; the angle of the foldable screen form change of the foldable screen mobile phone is 50-100 degrees, and when the form change times are 2 times, the corresponding screenshot type is a full screen screenshot; the angle of the foldable screen form change of the foldable screen mobile phone is 100-150 degrees, and when the form change times are 3 times, the corresponding screenshot type is a long screenshot. After the foldable screen is subjected to form change, if the detected angle of the form change is 0-50 degrees and the number of the form change is 1 time, the screenshot type corresponding to the generated screenshot command is a partial screenshot; if the detected form change angle is 50-100 degrees and the form change frequency is 2 times, the screenshot type corresponding to the generated screenshot command is a full-screen screenshot; and if the detected form change angle is 100-150 degrees, and the form change frequency is 3 times, the screenshot type corresponding to the generated screenshot command is a long screenshot.
In the embodiment of the application, when the determined screenshot type is a partial screenshot, it can be further determined from a current display area of a foldable screen of the foldable screen mobile phone to specifically intercept the content corresponding to the partial area.
In the embodiment of the application, a region corresponding to the content selected by the user can be used as the intercepting region by detecting the selection operation of the user on the display content in the current display region of the foldable screen mobile phone, wherein the selection operation can be that the user directly scratches the intercepting region to be intercepted by a finger or a stylus pen, or determines the intercepting region from the current display region of the foldable screen mobile phone through voice control, and the like. And the method can also directly determine to select partial areas from the current display areas of the foldable screen mobile phone for screenshot according to the form change parameters which change the form of the foldable screen and correspond to the first preset operation.
Specifically, the target position area in the current display area of the foldable screen corresponding to the second sub-form change parameter, which is changed in form between the first folding form and the second folding form, may be determined according to a preset corresponding relationship between the form change parameter, which is changed in form, and the position area of the foldable screen, and the target position area may be determined as the capture area. The second sub-form change parameter also comprises the angle or the times of the foldable form change of the folding screen mobile phone;
in the embodiment of the application, it is assumed that the form change parameter of the foldable screen mobile phone is an angle and a frequency, the screenshot type corresponding to the generated screenshot instruction is determined to be a partial screenshot, and then the angle range corresponding to the partial screenshot can be further subdivided into a plurality of angle ranges, a screenshot area is defined for each angle range, and then the display content corresponding to which department area in the current display area of the foldable screen mobile phone is determined according to which specific range the angle of the form change of the foldable screen mobile phone is in.
For example, referring to fig. 5a to 5d, if it is determined that the screenshot type of the generated screenshot instruction is a partial screenshot according to the angle and the number of times of the form change of the foldable screen mobile phone, where the angle range of the form change is 0 to 50 degrees, it may be set that when the detected angle of the form change of the foldable screen mobile phone is in the range of 0 to 10 degrees, the display content in the left half area of the current display area of the foldable screen is intercepted (as shown in fig. 5 a); when the detected angle of the foldable screen form change of the foldable screen mobile phone is in the range of 10 degrees to 20 degrees, intercepting the display content in the right half area in the current display area of the foldable screen (as shown in fig. 5 b); when the detected angle of the foldable screen form change of the foldable screen mobile phone is in the range of 20 degrees to 30 degrees, intercepting the display content in the middle upper area of the current display area of the foldable screen (as shown in fig. 5 c); when the detected angle of the foldable screen form change of the foldable screen mobile phone is in the range of 30 degrees to 40 degrees, intercepting the display content in the lower half area of the current display area of the foldable screen (as shown in fig. 5 d); and when the detected angle of the foldable screen form change of the foldable screen mobile phone is in the range of 40-50 degrees, intercepting the display content of the area corresponding to the circle with the largest area in the current display area of the foldable screen.
Of course, it is also possible to cut out a part of the area of the foldable screen in the current display area according to other cutting shapes, such as regular shapes like triangles or other irregular shapes. It should be noted here that, as shown in fig. 5a to 5d, the method for capturing a part of display content in the foldable screen may capture a part of display content in the current display area when the foldable screen is in the unfolded mode, that is, when the first sub-screen and the second sub-screen are displayed together, or may capture a part of content in the current display area when the foldable screen is in the folded mode (that is, when the first sub-screen or the second sub-screen is displayed separately). The clipped region may be clipped according to a scale other than that shown in fig. 5a to 5d, for example, the display content corresponding to the left one third region of the display region may be clipped.
In this embodiment of the application, the content displayed in the foldable screen of the folding-screen mobile phone may include one or more of characters, pictures, flash animations, videos, and the like, and the characters, the pictures, the flash animations, the videos, and the like may be collectively referred to as the displayed object types. Therefore, when the screenshot type of the screenshot command is a partial screenshot, the target object type in the current display area of the foldable screen corresponding to the third sub-form change parameter which is changed in form between the first folding form and the second folding form can be determined according to the preset corresponding relationship between the form change parameter which is changed in form of the foldable screen and the object type, and the display area occupied by the target object type can be determined as the screenshot area. The third sub-configuration change parameter may be the same as or different from the second sub-configuration change parameter.
For example, referring to fig. 6a to 6b, if it is determined that the screenshot type of the generated screenshot instruction is a partial screenshot according to the angle and the number of times of the form change of the foldable screen mobile phone, where the angle range of the form change is 0 to 50 degrees, it may be set that when the detected angle of the form change of the foldable screen mobile phone is in the range of 0 to 10 degrees, the text content displayed in the current display area of the foldable screen is intercepted (as shown in fig. 6 a); when the detected angle of the foldable screen form change of the foldable screen mobile phone is within the range of 10 degrees to 20 degrees, intercepting the picture content displayed in the current display area of the foldable screen (as shown in fig. 6 b); when the detected angle of the form change of the foldable screen mobile phone is within the range of 20-30 degrees, intercepting flash animation content displayed in the current display area of the foldable screen; when the detected angle of the foldable screen form change of the foldable screen mobile phone is in the range of 30 degrees to 40 degrees, intercepting the video content displayed in the current display area of the foldable screen.
Similarly, when the content such as the picture or the text in the current display area is captured, the content may also be captured when the folding-screen mobile phone is in the extended mode, or may be captured when the folding-screen mobile phone is in the folded mode as shown in fig. 6a to 6 b.
Further, as an optional implementation manner, when the current display area of the foldable screen mobile phone includes discontinuous multiple segments of text contents, multiple pictures, or multiple flash animations, the discontinuous multiple segments of text contents, the multiple pictures, or the multiple flash animations are all captured, and after the capture, multiple screenshots can be generated respectively, or one or multiple screenshots can be generated from the text, the pictures, or the flash animations selected by the user according to the operation selected by the user; the plurality of intercepted contents can be spliced to generate a screenshot, wherein the splicing direction can be splicing the plurality of intercepted contents from left to right according to the intercepting sequence, or splicing the plurality of intercepted contents from top to bottom according to the intercepting sequence, or splicing the plurality of intercepted contents in any other mode; or directly and respectively acquiring corresponding contents in a plurality of intercepting areas, and displaying the plurality of contents in one screenshot.
For example, two screenshots can be finally generated when two characters are included in a current display area of a foldable screen mobile phone, or a screenshot obtained by splicing the two characters up and down, or a screenshot obtained by splicing the two characters left and right, or a screenshot obtained by directly obtaining the contents of the two characters.
As an optional implementation manner, when the current display area of the foldable screen of the folding-screen mobile phone includes at least two of characters, pictures, flash animations, and videos, and when the at least two contents need to be intercepted, it is necessary to intercept the contents corresponding to a plurality of partial areas in the current display area of the foldable screen of the folding-screen mobile phone. In order to improve the efficiency of screenshot, the screenshot can be intercepted according to a preset interception strategy.
The predetermined interception policy may be three types:
firstly, the object type with the top display order can be preferentially intercepted according to the display order of the object types from top to bottom in the current display area of the foldable screen mobile phone; if the display sequence is sequentially characters, pictures and flash animations, the characters are firstly intercepted, then the pictures are intercepted, and finally the flash animations are intercepted.
Secondly, the interception sequence can be determined according to the object type; for example, the order of character capture is the first, the order of picture capture is the second, and the order of flash animation capture is the last.
Thirdly, the interception order can be determined according to the data size of the object type; for example, if the amount of text data is the smallest, the text is firstly captured, if the amount of picture data is the second, the picture is secondly captured, and if the amount of flash animation data is the largest, the flash animation is finally captured.
Further, after a plurality of object types are intercepted according to a preset interception strategy, a plurality of screenshots can be generated, and a screenshot can also be generated after the intercepted plurality of object types are processed, such as splicing, synthesis and the like, according to the interception sequence.
Therefore, by the method, in the embodiment of the application, after a first predetermined operation of changing the foldable screen form of the foldable screen mobile phone is detected, a screenshot instruction of intercepting the content displayed by the foldable screen can be generated according to the first predetermined operation, an intercepting area needing to be intercepted from the content displayed by the foldable screen is further determined according to the screenshot instruction, the content in the intercepting area is intercepted, and a screenshot is generated. Therefore, the folding characteristic of the folding screen equipment is fully utilized to control the folding screen equipment to capture the screen, a new screen capture interaction mode is provided, the multifunctionality of the folding screen equipment is enhanced, and the folding and unfolding characteristics of the folding screen based on the folding screen equipment also increase the interest of the screen capture, so that the use experience of a user is improved. Furthermore, when partial screenshot is carried out, a plurality of partial screenshots needing to be intercepted can be processed to generate one screenshot, and the screenshots are prevented from being spliced after being intercepted respectively, so that the screenshot efficiency of long screenshots is improved.
Based on the same inventive concept, the embodiment of the application provides a screenshot device, which can be a hardware structure, a software module, or a hardware structure plus a software module. The screenshot device can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices. As shown in fig. 7, the screen capture apparatus includes: a detection unit 701, an instruction generation unit 702, and a determination unit 703. Wherein:
a detecting unit 701, configured to detect a first predetermined operation for controlling a foldable screen to change a form between a first folding form and a second folding form when the foldable screen is in the first folding form, where the foldable screen device includes the foldable screen, the foldable screen includes at least two sub-screens, and when the foldable screen is in the first folding form and the second folding form, at least two sub-screens present different forms;
an instruction generating unit 702, configured to generate a screenshot instruction for intercepting content displayed by the foldable screen according to a first predetermined operation;
the determining unit 703 is configured to determine a capture area corresponding to the screenshot instruction in the foldable screen, and capture corresponding content in the capture area.
In an alternative embodiment, if the first folded configuration is a configuration in which the foldable screen is in the folded mode, the second folded configuration is a configuration in which the foldable screen is in the unfolded mode; then the process of the first step is carried out,
the first predetermined operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be away from each other to switch from the folding mode to the non-folding mode; or,
the first preset operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be away from each other so as to switch to the non-folding mode and return to the folding mode within a first preset time length.
In an alternative embodiment, if the first folded configuration is a configuration in which the foldable screen is in the unfolded mode, the second folded configuration is a configuration in which the foldable screen is in the non-unfolded mode; then the process of the first step is carried out,
the first predetermined operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to approach each other to switch from the unfolded mode to the non-unfolded mode; or,
the first preset operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be close to each other so as to switch to a non-expansion mode and return to the expansion mode within a second preset time length.
In an alternative embodiment, the determining unit 703 is further configured to determine, according to a form change parameter that controls the foldable screen to perform a form change between the first folding state and the second folding state within a third predetermined time period according to the first predetermined operation, a capture area corresponding to the screenshot instruction from a current display area of the foldable screen.
In an optional implementation manner, the determining unit 703 is further configured to determine, according to a corresponding relationship between a preset morphological change parameter of the morphological change and a screenshot type, a screenshot type corresponding to a first sub-morphological change parameter of the morphological change occurring between the first folding form and the second folding form; wherein, the first sub-form change parameter comprises the angle or the frequency of form change;
and determining a screenshot area needing screenshot according to the determined screenshot type, wherein the screenshot type comprises a full-screen screenshot, a partial screenshot or a long screenshot.
In an optional implementation manner, if the determined screenshot type is a partial screenshot, the determining unit 703 is further configured to:
determining a target position area in the current display area corresponding to a second sub-form change parameter which is changed in form between the first folding form and the second folding form according to the corresponding relation between the form change parameter of the form change and the position area, and determining the target position area as a capture area, wherein the second sub-form change parameter comprises the angle or the frequency of the form change; or,
and determining the type of the target object in the current display area corresponding to a third sub-form change parameter which is subjected to form change between the first folding form and the second folding form according to the corresponding relation between the form change parameter of the form change and the type of the object, and determining the display area occupied by the type of the target object as a cut-out area, wherein the third sub-form change parameter comprises the angle or the frequency of the form change.
In an optional implementation manner, when a plurality of determined intercepting areas are determined, the determining unit 703 is further configured to respectively intercept a plurality of contents corresponding to the plurality of intercepting areas, and generate a plurality of screenshots; or respectively acquiring a plurality of contents corresponding to the plurality of capture areas, and processing the plurality of contents to generate a screenshot.
Based on the same inventive concept, the embodiment of the present application further provides a folding screen device, which may be the folding screen mobile phone as described above, and may also be a folding screen device as shown in fig. 8, where the folding screen device includes at least one processor 801 and a memory 802 connected to the at least one processor, a specific connection medium between the processor 801 and the memory 802 is not limited in the embodiment of the present application, in fig. 8, the processor 801 and the memory 802 are connected through a bus 800 as an example, the bus 800 is shown by a thick line in fig. 8, and a connection manner between other components is merely schematically illustrated and is not limited. The bus 800 may be divided into an address bus, a data bus, a control bus, etc., and is shown in fig. 8 with only one thick line for ease of illustration, but does not represent only one bus or type of bus.
In the embodiment of the present application, the memory 802 stores instructions executable by the at least one processor 801, and the at least one processor 801 may execute the steps included in the screenshot method described above by executing the instructions stored in the memory 802.
The processor 801 is a control center of the folding screen device, and may connect various parts of the entire folding screen device by using various interfaces and lines, and perform various functions and process data of the folding screen device by operating or executing instructions stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring on the folding screen device. Optionally, the processor 801 may include one or more processing units, and the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 801. In some embodiments, the processor 801 and the memory 802 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 801 may be a general-purpose processor, such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the screenshot method disclosed in the embodiment of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Memory 802, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 802 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charged Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 802 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 802 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 801, the code corresponding to the screenshot method described in the foregoing embodiment may be solidified in the chip, so that the chip can execute the steps of the screenshot method when running, and how to program the processor 801 is a technique known by those skilled in the art and will not be described herein again.
Based on the same inventive concept, embodiments of the present application provide a storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the screenshot method as described above.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
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 application. 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A screenshot method is applied to a folding screen device, the folding screen device comprises a foldable screen, the foldable screen comprises at least two sub-screens, and the screenshot method comprises the following steps:
detecting a first predetermined operation for controlling the foldable screen to change its form between a first folded form and a second folded form when the foldable screen is in the first folded form, wherein the at least two sub-screens present different forms when the foldable screen is in the first folded form and the second folded form, respectively;
generating a screenshot instruction for intercepting the content displayed by the foldable screen according to the first preset operation;
and determining an intercepting area corresponding to the screenshot instruction in the foldable screen, and intercepting corresponding content in the intercepting area.
2. The method of claim 1, wherein if the first folded configuration is a configuration in which the foldable screen is in a folded mode, the second folded configuration is a configuration in which the foldable screen is in an unfolded mode; then the process of the first step is carried out,
the first predetermined operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be away from each other to switch from the folding mode to the non-folding mode; or,
the first preset operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be away from each other to switch to a non-folding mode and return to the folding mode within a first preset time length.
3. The method of claim 1, wherein if the first folded configuration is a configuration in which the foldable screen is in an unfolded mode, the second folded configuration is a configuration in which the foldable screen is in a non-unfolded mode; then the process of the first step is carried out,
the first predetermined operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be close to each other to switch from the unfolded mode to the non-unfolded mode; or,
the first preset operation is an operation of controlling a first sub-screen of the at least two sub-screens and a second sub-screen of the at least two sub-screens to be close to each other so as to switch to a non-unfolding mode and return to the unfolding mode within a second preset time length.
4. The method of claim 1, wherein determining a screenshot area in the foldable screen corresponding to the screenshot instruction comprises:
and according to the form change parameter for controlling the foldable screen to change form between the first folding form and the second folding form within a third preset time length by the first preset operation, determining a capture area corresponding to the screenshot instruction from a current display area of the foldable screen.
5. The method of claim 4, wherein determining a screenshot area from a current display area of the foldable screen corresponding to the screenshot instruction based on a morphing parameter of the morphable between the first folded configuration and the second folded configuration comprises:
determining a screenshot type corresponding to a first sub-form change parameter which is subjected to form change between the first folding form and the second folding form according to a corresponding relation between a form change parameter of preset form change and the screenshot type; wherein the first sub-form change parameter comprises an angle or a number of form changes;
and determining a screenshot area needing screenshot according to the determined screenshot type, wherein the screenshot type comprises a full-screen screenshot, a partial screenshot or a long screenshot.
6. The method of claim 5, wherein if the determined screenshot type is a partial screenshot, determining the screenshot area that needs to be screenshot in the following manner:
determining a target position area in the current display area corresponding to a second sub-form change parameter which is changed in form between the first folding form and the second folding form according to a corresponding relation between the form change parameter which is changed in form and the position area, and determining the target position area as the intercepting area, wherein the second sub-form change parameter comprises the angle or the frequency of the form change; or,
according to the corresponding relation between the form change parameters of the form change and the object types, determining the target object type in the current display area corresponding to a third sub-form change parameter of the form change between the first folding form and the second folding form, and determining the display area occupied by the target object type as the intercepting area, wherein the third sub-form change parameter comprises the angle or the frequency of the form change.
7. The method of claim 5, wherein when the plurality of the determined intercepting regions are determined, the method further comprises:
respectively intercepting a plurality of contents corresponding to the plurality of intercepting areas, and generating a plurality of screenshots; or,
and respectively acquiring a plurality of contents corresponding to the plurality of intercepting areas, and processing the plurality of contents to generate a screenshot.
8. A screenshot device, comprising:
a detection unit, configured to detect a first predetermined operation for controlling a foldable screen of a foldable screen device to change its form between a first folded form and a second folded form when the foldable screen is in the first folded form, where the foldable screen device includes the foldable screen, the foldable screen includes at least two sub-screens, and the at least two sub-screens are in different forms when the foldable screen is in the first folded form and the second folded form, respectively;
the instruction generating unit is used for generating a screenshot instruction for intercepting the content displayed by the foldable screen according to the first preset operation;
and the determining unit is used for determining an intercepting area corresponding to the screenshot instruction in the foldable screen and intercepting corresponding content in the intercepting area.
9. A folding screen apparatus, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and for executing the steps comprised in the method of any one of claims 1 to 7 in accordance with the obtained program instructions.
10. A storage medium storing computer-executable instructions for causing a computer to perform the steps comprising the method of any one of claims 1-7.
CN201910381672.4A 2019-05-08 2019-05-08 Screenshot method and device, folding screen device and storage medium Active CN110209326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910381672.4A CN110209326B (en) 2019-05-08 2019-05-08 Screenshot method and device, folding screen device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910381672.4A CN110209326B (en) 2019-05-08 2019-05-08 Screenshot method and device, folding screen device and storage medium

Publications (2)

Publication Number Publication Date
CN110209326A true CN110209326A (en) 2019-09-06
CN110209326B CN110209326B (en) 2020-12-25

Family

ID=67785698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910381672.4A Active CN110209326B (en) 2019-05-08 2019-05-08 Screenshot method and device, folding screen device and storage medium

Country Status (1)

Country Link
CN (1) CN110209326B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727489A (en) * 2019-09-16 2020-01-24 咪咕文化科技有限公司 Screenshot image generation method, electronic device and computer-readable storage medium
CN112114733A (en) * 2020-09-23 2020-12-22 青岛海信移动通信技术股份有限公司 Screen capturing and recording method, mobile terminal and computer storage medium
CN115174738A (en) * 2022-06-30 2022-10-11 深圳传音控股股份有限公司 Control method, intelligent terminal and storage medium
JP2023502720A (en) * 2019-11-22 2023-01-25 華為技術有限公司 Screenshot display method and device, and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908381A (en) * 2017-10-27 2018-04-13 北京珠穆朗玛移动通信有限公司 A kind of double screen image processing method, mobile terminal and storage medium
CN108563966A (en) * 2018-03-02 2018-09-21 北京珠穆朗玛移动通信有限公司 Sectional drawing display methods, mobile terminal and storage medium
CN108898552A (en) * 2018-06-27 2018-11-27 努比亚技术有限公司 Picture joining method, double screen terminal and computer readable storage medium
CN109032466A (en) * 2018-06-27 2018-12-18 努比亚技术有限公司 Long screenshot method, mobile terminal and storage medium based on double screen
CN109358793A (en) * 2018-09-27 2019-02-19 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN109542306A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 A kind of screenshotss method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908381A (en) * 2017-10-27 2018-04-13 北京珠穆朗玛移动通信有限公司 A kind of double screen image processing method, mobile terminal and storage medium
CN108563966A (en) * 2018-03-02 2018-09-21 北京珠穆朗玛移动通信有限公司 Sectional drawing display methods, mobile terminal and storage medium
CN108898552A (en) * 2018-06-27 2018-11-27 努比亚技术有限公司 Picture joining method, double screen terminal and computer readable storage medium
CN109032466A (en) * 2018-06-27 2018-12-18 努比亚技术有限公司 Long screenshot method, mobile terminal and storage medium based on double screen
CN109358793A (en) * 2018-09-27 2019-02-19 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN109542306A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 A kind of screenshotss method and terminal device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727489A (en) * 2019-09-16 2020-01-24 咪咕文化科技有限公司 Screenshot image generation method, electronic device and computer-readable storage medium
JP2023502720A (en) * 2019-11-22 2023-01-25 華為技術有限公司 Screenshot display method and device, and terminal device
JP7361917B2 (en) 2019-11-22 2023-10-16 華為技術有限公司 Screenshot display method and device, and terminal device
US12050832B2 (en) 2019-11-22 2024-07-30 Huawei Technologies Co., Ltd. Screenshot display method and apparatus, and terminal device
CN112114733A (en) * 2020-09-23 2020-12-22 青岛海信移动通信技术股份有限公司 Screen capturing and recording method, mobile terminal and computer storage medium
CN115174738A (en) * 2022-06-30 2022-10-11 深圳传音控股股份有限公司 Control method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN110209326B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN110209326B (en) Screenshot method and device, folding screen device and storage medium
KR102549529B1 (en) Method for launching a second application using a first application icon in an electronic device
CN105204745A (en) Screen capture method and device for mobile terminal
CN108064369B (en) Interaction method and device of flexible display screen
US9519369B2 (en) Touch screen selection
CN104571987B (en) A kind of display methods and electronic equipment
US20150063785A1 (en) Method of overlappingly displaying visual object on video, storage medium, and electronic device
TWI498808B (en) Method, apparatus and computer program product for cropping screen frame
CN106815809B (en) Picture processing method and device
CN110532051B (en) Method and device for displaying shortcut operation bar, folding screen equipment and storage medium
CN111190677A (en) Information display method, information display device and terminal equipment
CN112817376A (en) Information display method and device, electronic equipment and storage medium
US20150012856A1 (en) Electronic device and method for displaying user interface for one handed operation
US10943372B2 (en) GUI display method and apparatus, and terminal device
CN111143731A (en) Display method and device for webpage interface zooming and terminal equipment
CN111638844A (en) Screen capturing method and device and electronic equipment
CN110413167A (en) Screen capturing method of terminal equipment and terminal equipment
CN115617225A (en) Application interface display method and device, electronic equipment and storage medium
CN116132568A (en) Operation execution method and device
CN115421631A (en) Interface display method and device
CN114115639A (en) Interface control method and device, electronic equipment and storage medium
CN110609651A (en) Method and device for using photo album and electronic equipment with folding screen
CN115357172A (en) Content display method and device
CN114579233A (en) Desktop deformer display method and device, electronic equipment and storage medium
CN110196672B (en) Method and device for opening file, folding screen device and 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