Movatterモバイル変換


[0]ホーム

URL:


CN108174014A - A kind of screenshotss method and device - Google Patents

A kind of screenshotss method and device
Download PDF

Info

Publication number
CN108174014A
CN108174014ACN201611118526.5ACN201611118526ACN108174014ACN 108174014 ACN108174014 ACN 108174014ACN 201611118526 ACN201611118526 ACN 201611118526ACN 108174014 ACN108174014 ACN 108174014A
Authority
CN
China
Prior art keywords
screen
terminal
data
time
picture
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.)
Withdrawn
Application number
CN201611118526.5A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE CorpfiledCriticalZTE Corp
Priority to CN201611118526.5ApriorityCriticalpatent/CN108174014A/en
Priority to PCT/CN2017/103522prioritypatent/WO2018103423A1/en
Publication of CN108174014ApublicationCriticalpatent/CN108174014A/en
Withdrawnlegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of screenshotss method, applied to the terminal with the first screen and the second screen, including:Obtain the first attitude data and the second attitude data of the terminal;The attitude data is for characterizing spatial data of the terminal relative to object reference object;According to first attitude data and second attitude data, judge whether the terminal is reversed;When determining that the terminal is reversed, screenshotss are carried out to first screen;First screen shots being truncated to are included on second screen.The present invention also discloses a kind of screen video recorders.

Description

Screen capturing method and device
Technical Field
The invention relates to an intelligent terminal technology, in particular to a screen capturing method and a screen capturing device.
Background
In recent years, with the rapid development of communication network technology and internet technology, terminals such as mobile phones and tablet computers have become indispensable personal belongings. The user can share the content of interest by the terminal, for example, when the user browses the content of interest by the mobile phone, the user can control the mobile phone to capture the display interface of the current screen and share the display interface according to the screen capture method of the mobile phone.
In the prior art, a screen capture method of a terminal mainly includes the following four schemes:
the method comprises the following steps that firstly, screen capturing is carried out by pressing a specific physical key on a terminal, which is a screen capturing method which is common in the terminal at present; for example, the volume key and the power key of most android phones can be simultaneously pressed for screen capture, and the Home key and the power key of the apple phone can be simultaneously pressed for screen capture; however, this method of performing screen capture by pressing a specific physical key on the terminal has the following disadvantages: the user has to use at least two fingers to perform key operation, which is difficult to operate by one hand; the physical service life of the entity key is easily shortened due to excessive use times of the entity key of the terminal, namely the physical service life of the terminal is influenced; the key operation needs certain operation time, and a dynamic screen is easy to miss, so that the captured picture is not required by a user; the user is required to have a certain level of proficiency, otherwise the appearance of the volume icon is stimulated or the screen-off phenomenon occurs.
The second scheme is that the screen is shot by pressing a screen shot shortcut key on a terminal screen, for example, the screen shot shortcut key is selected to shoot the screen after a menu is opened on a screen needing to be shot; however, in this method of capturing a screen by pressing a screen capture shortcut key on a terminal screen, since two or more steps of operations must be performed, screen capture delay is easily caused; in addition, the space of the main screen is easily occupied, so that a user cannot see a screen needing screen capture, and screen capture errors are easily caused.
Performing screen capturing through gestures, namely comparing the currently acquired gestures with preset and stored screen capturing gestures by the terminal, and performing screen capturing operation if the currently acquired gestures are consistent with the preset and stored screen capturing gestures; however, in this method of capturing a screen through a gesture, a fixed screen capturing gesture must be preset, and performing a gesture operation on a screen capturing interface is likely to cause an error operation; in addition, one or more fingers are required to operate simultaneously, so that large errors are easy to generate.
According to the scheme, a screen is shot through finger joints, namely the screen is shot through the finger joints to trigger screen shooting operation; however, this method of capturing a screen by tapping the screen through a finger joint is only suitable for a user to place the terminal on a fixed object such as a desktop or in the other hand first, and is inconvenient to operate.
With the continuous development of technology and manufacturing technology, a double-screen terminal with two screens appears, and the double-screen terminal is characterized in that the front side and the back side of the terminal are respectively provided with a display screen; at present, the four modes still continue to be used for the screen capturing method of the dual-screen terminal, and therefore, the screen capturing method of the dual-screen terminal also has the technical problems of the four modes respectively and needs to be solved.
Disclosure of Invention
In view of this, embodiments of the present invention provide a screen capturing method and apparatus, which can perform a screen capturing operation simply and quickly.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides a screen capture method, which comprises the following steps:
acquiring first attitude data and second attitude data of the terminal; the attitude data is used for representing the space data of the terminal relative to a target reference object;
judging whether the terminal is turned over or not according to the first attitude data and the second attitude data;
when the terminal is determined to be turned over, screen capturing is carried out on the first screen;
and displaying the intercepted first screen picture on the second screen.
In the above solution, the spatial data of the terminal with respect to the target reference object includes: two-dimensional coordinate data, and/or three-dimensional coordinate data of the terminal relative to a horizontal plane.
In the above scheme, the first posture data is posture data corresponding to the terminal at a first time; the second attitude data is attitude data corresponding to the terminal at a second time; the second time is greater than the first time, and a difference between the second time and the first time is less than a preset time threshold.
In the above solution, after the truncated first screen picture is displayed on the second screen, the method further includes:
automatically displaying a processing menu containing picture operation options on the second screen; or when the second screen is detected to be touched, displaying a processing menu containing picture operation options on the second screen; the picture manipulation options include at least one of: editing, saving, deleting and sharing.
In the above scheme, the detecting that the second screen is touched is: detecting that a designated location on the second screen is touched.
In the above scheme, after the screen capturing is performed on the first screen, the method further includes:
and extinguishing the first screen and lightening the second screen.
In the above scheme, the method further comprises:
and when the fact that the processing of the first screen picture is completed is detected, switching the application service displayed on the first screen before screen capture to the second screen for display.
The embodiment of the invention also provides a screen capture device, which comprises: the system comprises an attitude acquisition unit, a processing unit and a screen capturing unit; wherein,
the attitude acquisition unit is used for acquiring first attitude data and second attitude data of the terminal; the attitude data is used for representing the space data of the terminal relative to a target reference object;
the processing unit is used for judging whether the terminal is overturned according to the first posture data and the second posture data;
the screen capturing unit is used for capturing the first screen when the terminal is determined to be turned over;
the processing unit is further configured to display the intercepted first screen picture on the second screen.
In the above solution, the spatial data of the terminal with respect to the target reference object includes: two-dimensional coordinate data, and/or three-dimensional coordinate data of the terminal relative to a horizontal plane.
In the above scheme, the first posture data is posture data corresponding to the terminal at a first time; the second attitude data is attitude data corresponding to the terminal at a second time; the second time is greater than the first time, and a difference between the second time and the first time is less than a preset time threshold.
In the above solution, the processing unit is further configured to automatically display a processing menu including a picture operation option on the second screen; or when the second screen is detected to be touched, displaying a processing menu containing picture operation options on the second screen; the picture manipulation options include at least one of: editing, saving, deleting and sharing.
In the above scheme, the processing unit detects that the second screen is touched as: the processing unit detects that a designated position on the second screen is touched.
In the foregoing solution, the processing unit is further configured to turn off the first screen and turn on the second screen after the screen capture unit captures the first screen.
In the foregoing solution, the processing unit is further configured to switch, after it is detected that processing of the first screen picture is completed, the application service displayed on the first screen before screen capture to be displayed on the second screen.
The screen capturing method and the screen capturing device provided by the embodiment of the invention are used for acquiring first attitude data and second attitude data of the terminal; the attitude data is used for representing the space data of the terminal relative to a target reference object; judging whether the terminal is turned over or not according to the first attitude data and the second attitude data; when the terminal is determined to be turned over, screen capturing is carried out on the first screen; displaying the intercepted first screen picture on the second screen; therefore, in the embodiment of the invention, when the terminal is determined to be turned over, the first screen in the terminal is captured, and the captured first screen picture is displayed on the second screen of the terminal, so that the first screen picture is processed on the second screen of the terminal, and the first screen and the second screen of the terminal are fully utilized; the screen capture can be realized without operating the entity keys of the terminal, so that the physical service life of the entity keys of the terminal can be prolonged; complex technology and proficiency are not needed, and screen capturing operation can be simply and quickly carried out.
In addition, a time threshold value can be preset, and only when the terminal is turned over within the preset time threshold value, the first screen is shot, so that the requirements of a user are met, and the screen shooting accuracy is improved; after the first screen picture is processed on a second screen of the terminal, the application service displayed on the first screen before screen capture can be selected to be switched to the second screen, and the application service is displayed and executed on the second screen; or after the first screen picture is processed on the second screen of the terminal, returning to the first screen to continue executing the application service displayed on the first screen before screen capture.
Drawings
FIG. 1 is a schematic flow chart of an implementation of a screen capture method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a specific implementation of a screen capture method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a mobile phone in an embodiment of the invention;
FIG. 4 is a diagram illustrating a display interface of a processing menu according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a screen capture device according to an embodiment of the present invention.
Detailed Description
Fig. 1 is a schematic view of an implementation flow of a screen capture method according to an embodiment of the present invention, where the method is applied to a terminal having a first screen and a second screen, and includes:
step 101: acquiring first attitude data and second attitude data of the terminal; the attitude data is used for representing the space data of the terminal relative to a target reference object;
specifically, when the first screen of the terminal is determined to be in a working state, namely a bright screen state, first posture data of the terminal is obtained, and second posture data of the terminal is obtained.
Here, the first posture data is posture data corresponding to the terminal at a first time; the second attitude data is attitude data corresponding to the terminal at a second time; the second time is greater than the first time and a difference between the second time and the first time is less than a preset time threshold.
In this embodiment, the terminal has a front screen and a rear screen, and may be a device such as a dual-screen mobile phone; the terminal can only be in a bright screen state when the first screen or the second screen is lightened at the same time; the terminal comprises one or more sensors capable of measuring two-dimensional space data and/or three-dimensional space data of the terminal relative to a target reference object, wherein the target reference object can be a specific plane such as a horizontal plane, a ground surface and the like, and the two-dimensional and/or three-dimensional space data obtained by the sensors form attitude data of the terminal; that is, the pose data may be two-dimensional coordinate data and/or three-dimensional coordinate data or the like.
In a specific implementation process, two-dimensional and/or three-dimensional vectors, projections and the like of the length, width and height directions of the terminal relative to a target reference object can be measured to determine attitude data; alternatively, two-dimensional and/or three-dimensional vectors, projections, etc. of the first screen and/or the second screen of the terminal relative to the target reference object may also be measured to determine the pose data; the target reference object may be a specific object such as the ground, etc., or may be a specific plane such as a horizontal plane, etc.
In practical application, the terminal may obtain the attitude data through a gyroscope, a gravity sensor, an acceleration sensor, a geomagnetic sensor, and the like. For example, the gravity sensor may measure gravity data in the length, width, and height directions of the terminal to determine whether the terminal is in a horizontal posture or a vertical posture; the gyroscope can measure the rotation angular velocity of the terminal; the geomagnetic sensor may measure the strength of magnetic induction of the terminal in the length, width, and height directions with respect to the geomagnetic line to determine the direction of the terminal with respect to the geomagnetic line.
Here, the first posture data may represent a posture of the terminal at a first time, such as a horizontal state, a vertical state, an inclined state, or the like of the terminal at the first time, and an inclination angle of the terminal with a horizontal plane when the terminal is in the inclined state, or the like; the second pose data may be indicative of the pose of the terminal at a second time, such as the terminal being in a horizontal state, or a vertical state, or a tilted state, etc. at the second time, and the tilt angle of the terminal from the horizontal when the terminal is in the tilted state, etc.
Further, before step 101, the method may further include: detecting whether a designated position on a second screen of the terminal is touched, if so, triggering to acquire first posture data corresponding to the terminal at a first time, otherwise, not triggering to acquire the first posture data corresponding to the terminal at the first time and the second posture data corresponding to the terminal at a second time.
Here, the designated position may be set according to the use habit of the user on the terminal, for example, a position where the index finger of the user can touch the terminal and is not easy to touch by mistake; in addition, a touch time threshold value can be set, and when the touch time of the specified position on the second screen of the terminal is detected to be greater than or equal to the touch time threshold value, the first gesture data corresponding to the terminal at the first time is triggered to be acquired, so that misoperation of a user is prevented better, and the efficiency is improved; the touch time threshold may be set according to actual needs, the speed of the user touching the screen, the sensitivity of the screen, and other factors, such as: and setting the value range of the touch time threshold value to be greater than or equal to 5ms and less than or equal to 5 s.
Step 102: judging whether the terminal is turned over or not according to the first attitude data and the second attitude data;
specifically, comparing and analyzing the first posture data of the terminal obtained in step 101 at the first time with the second posture data of the terminal obtained at the second time, so as to determine whether the terminal is turned over, that is, whether the terminal is turned over within the preset time threshold, if it is determined that the terminal is turned over within the preset time threshold, step 103 is executed, otherwise, the analysis is ended.
Here, the size of the preset time threshold is related to a determination result of whether the terminal is turned over within the preset time threshold; for example, when the preset time threshold is too small and the preset time threshold is smaller than the time taken for the terminal to be turned over once, the determination result of whether the terminal is turned over within the preset time threshold may be affected; therefore, the size of the preset time threshold can be set according to actual needs, the speed of the user turning over the terminal, the size of the terminal, and other factors, such as: and setting the value range of the preset time threshold to be more than or equal to 6ms and less than or equal to 5s so as to obtain a quick and accurate judgment result. In addition, when the preset time threshold is larger, the preset time threshold may also be divided into a plurality of time sub-thresholds with equal time intervals, the attitude data corresponding to the terminal at each time sub-threshold is acquired, then the first attitude data corresponding to the terminal at the first time is compared with the attitude data corresponding to the terminal at each time sub-threshold for analysis, so as to determine whether the terminal is turned over between the first time and each time sub-threshold, and as long as the terminal is turned over between the first time and any one of the time sub-thresholds, it may be determined that the terminal is turned over within the preset time threshold.
Here, a flipping threshold may be further set as an evaluation criterion for determining whether the terminal is flipped within the preset time threshold, that is: when the difference between the first attitude data and the second attitude data meets the turnover threshold, determining that the terminal is turned over within the preset time threshold; when the difference between the first posture data and the second posture data does not satisfy the flipping threshold, it may be determined that the terminal is not flipped within the preset time threshold. When the attitude data is three-dimensional coordinate data, the overturning threshold value is also three-dimensional coordinate data; when the pose data is two-dimensional coordinate data, the rollover threshold is also two-dimensional coordinate data.
In addition, the turning threshold value can be set according to the actual situation requirements, the gesture of the user holding the terminal, the direction of the user turning the terminal and other user habits of the user on the terminal; for example, when the flipping threshold is three-dimensional coordinate data, the thresholds of the X axis and the Z axis are both 180 ° and the threshold of the X axis is 0 °, if the difference between the first posture data and the second posture data satisfies the flipping threshold, that is, the variation difference between the first posture data and the second posture data on the X axis and the Z axis is both 180 ° and the variation difference on the X axis is 0 °, it may be determined that the terminal is flipped within the preset time threshold.
Step 103: when the terminal is determined to be turned over, screen capturing is carried out on the first screen;
specifically, when it is determined that the terminal is turned over within the preset time threshold according to the determination result obtained in step 102, the first screen is captured to obtain a first screen picture including the current display content of the first screen.
Further, after the screen capturing of the first screen, the method further includes: and extinguishing the first screen and lightening the second screen.
Specifically, after the first screen is captured, the first screen is extinguished, and the second screen is lightened, so that the second screen is in a working state, namely, a screen-lightening state.
Step 104: and displaying the intercepted first screen picture on the second screen.
Specifically, after the first screen picture is cut in step 103, the cut first screen picture is displayed on the second screen, so that the first screen picture can be processed on the second screen, and the cut first screen picture is displayed and processed on the second screen.
Further, after the displaying the intercepted first screen picture on the second screen, the method further includes:
automatically displaying a processing menu containing picture operation options on the second screen; or when the second screen is detected to be touched, displaying a processing menu containing picture operation options on the second screen; the picture manipulation options include at least one of: editing, saving, deleting and sharing.
Here, the detection that the second screen is touched means that a specified position on the second screen is detected to be touched, the specified position being settable by a user in advance; the step of displaying the processing menu containing the picture operation options on the second screen is to display the processing menu at a specified position on the second screen; if the designated position on the second screen is touched all the time before the first screen is captured and after the first screen picture is displayed on the second screen, displaying the processing menu at the designated position on the second screen after the first screen picture is displayed on the second screen.
Here, the automatically displaying the processing menu containing the picture manipulation option on the second screen may be considered as displaying the processing menu at a default position of the second screen; the default position and the processing menu may be set by the user.
Further, the method further comprises:
and when the fact that the processing of the first screen picture is completed is detected, switching the application service displayed on the first screen before screen capture to the second screen for display.
Here, after the first screen is captured, or after the processing of the first screen picture is detected to be completed, or when the second screen is detected to be in a working state, that is, a bright screen state, the application service displayed on the first screen before the capture is switched to be displayed on the second screen, and then the corresponding application service can be executed by selecting, for example, clicking and triggering the application service displayed on the second screen.
Here, after it is detected that the processing of the first screen picture is completed, prompt information may also be displayed on the second screen, for example, prompt a user whether to display an application service displayed by the first screen before screen capture on the second screen, or prompt a user whether to return to the first screen to process an application service displayed by the first screen before screen capture, and the like.
By the screen capturing method provided by the embodiment of the invention, when a user holds the dual-screen mobile phone by one hand or two hands and uses the first screen to perform video watching or reading and other operations, the dual-screen mobile phone can be turned over to perform the screen capturing operation on the first screen, the captured first screen picture is displayed on the second screen, and then the corresponding operation can be performed on the first screen picture. In addition, after the operation on the first screen picture is completed, a migration interface can be clicked to perform the operation of the first screen before screen capture on the second screen or the double-screen mobile phone is turned over again to return to the first screen.
The embodiment of the present invention will be further described below by a specific example, and fig. 2 is a schematic flowchart of a specific implementation of the screen capturing method according to the embodiment of the present invention, where the method includes:
step 201: obtaining the current mobile phone attitude S0And corresponding time T0
Specifically, the gesture obtaining unit in the mobile phone obtains the current mobile phone gesture S within a very short time interval t (for example, t is 10ms)0And the current mobile phone attitude S0Corresponding time T0And then storing the current mobile phone posture S0And the current mobile phone attitude S0Corresponding time T0
Here, the current mobile phone posture is the state and posture information of the current mobile phone; the current state of the mobile phone may include which screen is lighted to determine the forward and reverse directions of the mobile phone and obtain the initial state of the mobile phone, such as an initial angle; the posture information of the current mobile phone comprises information that the current mobile phone is horizontal, vertical or inclined angle and the like.
The mobile phone has a front screen and a back screen, is internally provided with a sensor which can acquire the current mobile phone posture, such as a gyroscope, an acceleration sensor and/or a gravity sensor, and has data storage and calculation capabilities; the gesture obtaining unit can be integrated in the mobile phone.
FIG. 3 is a schematic diagram of a mobile phone according to an embodiment of the present invention, including FIG. 3(a) and FIG. 3(b), in which the positions of the two gestures are different; assuming that the screen with the oval keys at the lower side in fig. 3(a) is taken as a first screen and the screen at the back of the first screen is taken as a second screen, fig. 3(a) and fig. 3(b) are different in that: in FIG. 3(a), the first screen is facing forward and vertical Z-axis upward, and the second screen is facing backward and vertical Z-axis downward; in FIG. 3(b), the second screen is facing up in the forward direction and the vertical Z axis is facing down in the reverse direction.
Here, at the present time T0The obtained mobile phone attitude information S0Can be recorded as S0=T0(x0,y0,z0) (ii) a Mobile phone attitude information S at current moment0After completion of acquisition, i.e. S0And T0And transmitting the data to a processing unit for storage.
Here, x, y, z may be represented by various data, for example, the deflection angle of the axis of the mobile phone obtained by a gyroscope; alternatively, the position information is represented by position information obtained cooperatively by a gravity sensor or the like.
Step 202: obtaining the mobile phone attitude S within the threshold value TxAnd corresponding time Tx
Specifically, the gesture processing unit in the mobile phone obtains the gesture S of the mobile phone in real time in each time interval T contained in the threshold TxAnd corresponding time TxAnd the mobile phone posture S is measuredxAnd corresponding time TxThe mobile phone gesture S transmitted by the gesture processing unit is acquired by the processing unit in the mobile phone in real timexAnd correspondingTime Tx
Here, the attitude data acquired by the processing unit within the threshold T may be represented as a set of data: s1=T1(x1,y1,z1);S2=T2(x2,y2,z2);……;Sx=Tx(xx,yx,zx)。
Step 203: judging whether the mobile phone is overturned within a threshold value T, if so, executing a step 204, otherwise, ending the analysis;
in particular, the processing unit will time T0Mobile phone posture S0The gesture of the mobile phone within the threshold value T set by the user is the time TxMobile phone posture SxComparing, and comparing the comparison result with a turning threshold value Guser set by a user, so as to judge whether the mobile phone is turned within a threshold value T, if so, executing a step 204, otherwise, ending the analysis; the turning threshold Guser is used for calculating whether the mobile phone meets the set minimum value of turning when turning, and turning is performed after the minimum value is reached.
Let T be0If the gesture of the mobile phone is acquired every 10ms when the threshold T is set to 0.5S, i.e. 500ms, 50 sets of data are acquired within the threshold T, where the 1 st set of data is denoted as S1The 50 th group of data is denoted as S50(ii) a Comparison S0And S50The mobile phone attitude data of S50-S0=(0.5s)(x50-x0,y50-y0,z50-z0) (ii) a Comparison S0And SxThe mobile phone attitude data of Sx-S0=(Tx)(xx-x0,yx-y0,zx-z0) (ii) a When the set rollover threshold Guser ═ GT)(G1,G2,G3) For any time TxMobile phone posture SxIf T isx≤GT、xx-x0≤G1、yx-y0≤G2、zx-z0≤G3Then, it can be determined that the mobile phone is at the time T0To TxThe mobile phone is turned over, namely the mobile phone is judged to be turned over within the threshold value T; of course, it can also be based on S alone50-S0The relationship with Guser determines whether the mobile phone is turned over within a threshold value T.
For example, the following steps are carried out: in fig. 3, when the mobile phone is rotated clockwise within the threshold T from the posture shown in fig. 3(a) along the Y-axis to the posture shown in fig. 3(b), that is, the first screen is changed from the forward vertical Z-axis upward to the reverse vertical Z-axis downward, and the second screen is changed from the reverse vertical Z-axis downward to the forward vertical Z-axis upward, it can be determined that the mobile phone is turned over within the threshold T according to the different postures shown in fig. 3(a) and 3 (b).
Step 204: and capturing the first screen, and displaying the captured first screen picture on a second screen.
Specifically, in step 203, after the processing unit obtains an action that meets the user setting, that is, the mobile phone is turned over, the processing unit notifies a screen capture unit in the mobile phone to capture a first screen of the mobile phone; and the processing unit displays the first screen picture intercepted by the screen intercepting unit on a second screen of the mobile phone, and performs operations such as sharing.
Here, when the processing unit acquires a flip operation, it immediately notifies the screen capture unit to start a screen capture action, and then the processing unit extinguishes the first screen and performs subsequent processing on the opposite second screen.
Here, if it is detected that the designated position of the second screen is touched, for example, the index finger touches the designated position of the second screen, a processing menu containing various picture operations is directly displayed at the designated position, as shown in fig. 4; FIG. 4 is a schematic diagram of a display interface of a processing menu according to an embodiment of the present invention, where FIGS. 4(a) and 4(b) respectively show two different display interfaces of the processing menu; wherein, "o" represents a designated position of the second screen, and "1", "2", "3", "4" respectively represent various picture operations, which may be editing, saving, deleting, sharing, and the like; then, corresponding operation is carried out according to the menu; after the first screen picture is processed, prompting a user whether to display the application service displayed by the first screen before screen capture on the second screen or whether to return to the first screen to process the application service displayed by the first screen before screen capture, and the like.
Here, if it is not detected that the designated position of the second screen is touched, a processing menu containing various operations is displayed at a default position; the user can set the position where the processing menu is displayed, that is, the default position, the operation included in the processing menu, and the like.
Here, if the processing unit acquires a turning action again after processing the first screen picture, the processing unit turns off the second screen, returns to the first screen, and starts an application service displayed by the first screen before screen capture.
In order to realize the method, the embodiment of the invention also provides a screen capture device; fig. 5 is a schematic structural diagram of a screen capture device according to an embodiment of the present invention, where the screen capture device includes: the system comprises an attitude acquisition unit 11, a processing unit 12 and a screen capturing unit 13; wherein
The attitude obtaining unit 11 is configured to obtain first attitude data and second attitude data of the terminal; the attitude data is used for representing the space data of the terminal relative to a target reference object;
the processing unit 12 is configured to determine whether the terminal is flipped according to the first posture data and the second posture data;
the screen capturing unit 13 is configured to capture a screen of the first screen when it is determined that the terminal is turned over;
the processing unit 12 is further configured to display the intercepted first screen picture on the second screen.
The posture acquiring unit 11 is specifically configured to: when the first screen of the terminal is determined to be in a working state, namely a bright screen state, the first posture data of the terminal is obtained, and the second posture data of the terminal is obtained.
Here, the first posture data is posture data corresponding to the terminal at a first time; the second attitude data is attitude data corresponding to the terminal at a second time; the second time is greater than the first time and a difference between the second time and the first time is less than a preset time threshold.
In this embodiment, the terminal has a front screen and a rear screen, and may be a device such as a dual-screen mobile phone; the terminal can only be in a bright screen state when the first screen or the second screen is lightened at the same time; the attitude acquisition unit 11 may include one or more sensors capable of measuring two-dimensional and/or three-dimensional spatial data of the terminal relative to a target reference object, such as a specific plane, for example, a horizontal plane, a ground plane, etc., and the two-dimensional and/or three-dimensional spatial data obtained by the sensors constitute attitude data of the terminal; that is, the pose data may be two-dimensional coordinate data and/or three-dimensional coordinate data or the like.
In a specific implementation process, two-dimensional and/or three-dimensional vectors, projections and the like of the length, width and height directions of the terminal relative to a target reference object can be measured to determine attitude data; alternatively, two-dimensional and/or three-dimensional vectors, projections, etc. of the first screen and/or the second screen of the terminal relative to the target reference object may also be measured to determine the pose data; the target reference object may be a specific object such as the ground, etc., or may be a specific plane such as a horizontal plane, etc.
In practical applications, the attitude acquisition unit 11 may include a gyroscope, a gravity sensor, an acceleration sensor, a geomagnetic sensor, and other instruments or sensors for acquiring attitude data. For example, the gravity sensor may measure gravity data in the length, width, and height directions of the terminal to determine whether the terminal is in a horizontal posture or a vertical posture; the gyroscope can measure the rotation angular velocity of the terminal; the geomagnetic sensor may measure the strength of magnetic induction of the terminal with respect to the geomagnetic line in the length, width, and height directions to determine the direction of the terminal with respect to the geomagnetic line.
Here, the first posture data may represent a posture of the terminal at a first time, such as a horizontal state, a vertical state, an inclined state, or the like of the terminal at the first time, and an inclination angle of the terminal with a horizontal plane when the terminal is in the inclined state, or the like; the second pose data may be indicative of the pose of the terminal at a second time, such as the terminal being in a horizontal state, or a vertical state, or a tilted state, etc. at the second time, and the tilt angle of the terminal from the horizontal when the terminal is in the tilted state, etc.
Further, the processing unit 12 may be further configured to detect whether a designated position on a second screen of the terminal is touched before the gesture obtaining unit 11 obtains the first gesture data of the terminal, if so, trigger the gesture obtaining unit 11 to obtain the first gesture data corresponding to the terminal at a first time and the second gesture data corresponding to the terminal at a second time, otherwise, not trigger the gesture obtaining unit 11 to obtain the first gesture data corresponding to the terminal at the first time and the second gesture data corresponding to the terminal at the second time.
Here, the designated position may be set according to the use habit of the user on the terminal, for example, a position where the index finger of the user can touch the terminal and is not easy to touch by mistake; in addition, a touch time threshold value can be set, and when the processing unit 12 detects that the time for which the specified position on the second screen of the terminal is touched is greater than or equal to the touch time threshold value, the gesture obtaining unit 11 is triggered to obtain the first gesture data corresponding to the terminal at the first time, so that misoperation of the user is prevented better, and the efficiency is improved; the touch time threshold may be set according to actual needs, the speed of the user touching the screen, the sensitivity of the screen, and other factors, such as: the value range of the touch time threshold may be set to be greater than or equal to 5ms and less than or equal to 2 s.
The processing unit 12 is specifically configured to: comparing the first posture data of the terminal corresponding to the first time obtained by the analysis posture obtaining unit 11 with the second posture data of the terminal corresponding to the second time, so as to determine whether the terminal is turned over, that is, whether the terminal is turned over within the preset time threshold, if it is determined that the terminal is turned over within the preset time threshold, triggering the screen capturing unit 13 to perform corresponding operation, otherwise, ending the analysis.
Here, the size of the preset time threshold is related to a determination result of whether the terminal is turned over within the preset time threshold; for example, when the preset time threshold is too small and smaller than the time taken for the terminal to be turned over once, the result of the determination of whether the terminal is turned over within the preset time threshold by the processing unit 12 may be affected; therefore, the size of the preset time threshold can be set according to actual needs, the speed of the user turning over the terminal, the size of the terminal, and other factors, such as: and setting the value range of the preset time threshold to be more than or equal to 6ms and less than or equal to 5s so as to obtain a quick and accurate judgment result. In addition, when the preset time threshold is large, the preset time threshold may also be divided into a plurality of time sub-thresholds with equal time intervals, and then the posture acquisition unit 11 acquires posture data corresponding to each time sub-threshold of the terminal; then, the processing unit 12 compares and analyzes the first posture data corresponding to the terminal at the first time with the posture data corresponding to the terminal at each time sub-threshold, so as to determine whether the terminal is flipped between the first time and each time sub-threshold, and as long as the terminal is flipped between the first time and any one of the time sub-thresholds, it is determined that the terminal is flipped within the preset time threshold.
Here, a flipping threshold may be further set as an evaluation criterion for determining whether the terminal is flipped within the preset time threshold, that is: when the difference between the first posture data and the second posture data satisfies the flipping threshold, the processing unit 12 may determine that the terminal is flipped within the preset time threshold; when the difference between the first posture data and the second posture data does not satisfy the flipping threshold, the processing unit 12 may determine that the terminal is not flipped within the preset time threshold. When the attitude data is three-dimensional coordinate data, the overturning threshold value is also three-dimensional coordinate data; when the pose data is two-dimensional coordinate data, the rollover threshold is also two-dimensional coordinate data.
In addition, the turning threshold value can be set according to the actual situation requirements, the gesture of the user holding the terminal, the direction of the user turning the terminal and other user habits of the user on the terminal; for example, when the flipping threshold is three-dimensional coordinate data, the thresholds of the X axis and the Z axis are both 180 ° and the threshold of the X axis is 0 °, if the difference between the first posture data and the second posture data satisfies the flipping threshold, that is, the variation difference between the first posture data and the second posture data on the X axis and the Z axis is both 180 ° and the variation difference on the X axis is 0 °, it may be determined that the terminal is flipped within the preset time threshold.
The screen capture unit 13 is specifically configured to: when it is determined that the terminal is turned over according to the determination result obtained in the processing unit 12, the first screen is captured to obtain a first screen picture including the current display content of the first screen.
Further, the processing unit 12 is further configured to turn off the first screen and turn on the second screen after the screen capture unit 13 captures the first screen.
Specifically, after the screen capture unit 13 captures the first screen, the processing unit 12 extinguishes the first screen and lights up the second screen, so that the second screen is in a working state, i.e., a screen-on state.
The processing unit 12 is specifically configured to: after the screen capture unit 13 captures the first screen picture, the captured first screen picture is displayed on the second screen, so that the first screen picture can be processed on the second screen, and the captured first screen picture is displayed and processed on the second screen.
Further, the processing unit 12 is further configured to, after the first screen picture to be cut is displayed on the second screen, automatically display a processing menu containing picture operation options on the second screen; or when the second screen is detected to be touched, displaying a processing menu containing picture operation options on the second screen; the picture manipulation options include at least one of: editing, saving, deleting and sharing.
Here, the processing unit 12 detecting that the second screen is touched means that the processing unit 12 detects that a specified position on the second screen is touched, the specified position being settable by a user in advance; the step of displaying the processing menu containing the picture operation options on the second screen is to display the processing menu at a specified position on the second screen; if the designated position on the second screen is touched all the time before the first screen is captured and after the first screen picture is displayed on the second screen, the processing unit 12 displays the first screen picture on the second screen and displays the processing menu at the designated position on the second screen.
Here, the automatically displaying the processing menu containing the picture manipulation option on the second screen may be considered as displaying the processing menu at a default position of the second screen; the default position and the processing menu may be set by the user.
Further, the processing unit 12 is further configured to switch, after it is detected that the processing of the first screen picture is completed, the application service displayed on the first screen before the screen capture to the second screen, and display and execute the application service on the second screen.
Specifically, the processing unit 12 switches the application service displayed on the first screen before the screen capturing to the second screen for displaying after detecting that the screen capturing unit 13 captures the first screen, or after detecting that the processing of the first screen picture is completed, or when detecting that the second screen is in a working state, that is, a bright screen state, and further may execute the corresponding application service by selecting, for example, clicking and triggering the application service displayed on the second screen.
Here, when the processing unit 12 detects that the processing of the first screen picture is completed, prompt information may also be displayed on the second screen, such as prompting a user whether to display an application service displayed by the first screen before screen capture on the second screen, or prompting a user whether to return to the first screen to process an application service displayed by the first screen before screen capture.
In practical applications, the gesture obtaining unit 11, the processing unit 12, and the screen capturing unit 13 may be implemented by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA), etc. located in the terminal.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (14)

CN201611118526.5A2016-12-072016-12-07A kind of screenshotss method and deviceWithdrawnCN108174014A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201611118526.5ACN108174014A (en)2016-12-072016-12-07A kind of screenshotss method and device
PCT/CN2017/103522WO2018103423A1 (en)2016-12-072017-09-26Method and apparatus for taking screenshot

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611118526.5ACN108174014A (en)2016-12-072016-12-07A kind of screenshotss method and device

Publications (1)

Publication NumberPublication Date
CN108174014Atrue CN108174014A (en)2018-06-15

Family

ID=62490645

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611118526.5AWithdrawnCN108174014A (en)2016-12-072016-12-07A kind of screenshotss method and device

Country Status (2)

CountryLink
CN (1)CN108174014A (en)
WO (1)WO2018103423A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109032466A (en)*2018-06-272018-12-18努比亚技术有限公司Long screenshot method, mobile terminal and storage medium based on double screen
CN109085968A (en)*2018-06-272018-12-25维沃移动通信有限公司A kind of screenshotss method and terminal device
CN109388301A (en)*2018-09-142019-02-26Oppo(重庆)智能科技有限公司Screenshot method and relevant apparatus
CN109407936A (en)*2018-09-212019-03-01Oppo(重庆)智能科技有限公司Screenshot method and relevant apparatus
CN109491572A (en)*2018-10-292019-03-19维沃移动通信有限公司A kind of the screenshotss method and mobile terminal of mobile terminal
CN110647506A (en)*2019-08-232020-01-03维沃移动通信有限公司 A kind of picture deletion method and terminal device
WO2020220992A1 (en)*2019-04-302020-11-05维沃移动通信有限公司Operation control method for terminal, and terminal
CN112181259A (en)*2019-07-042021-01-05中移(苏州)软件技术有限公司Control method, control device, terminal and computer storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109857306B (en)*2018-12-272021-04-13维沃移动通信有限公司Screen capturing method and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN203070270U (en)*2012-12-052013-07-17中国电信股份有限公司泰州分公司Double-screen display management system
KR20150056346A (en)*2013-11-152015-05-26엘지전자 주식회사Terminal for screen capture processing for multi windows
CN104978133A (en)*2014-04-042015-10-14阿里巴巴集团控股有限公司Screen capturing method and screen capturing device for intelligent terminal
CN105718161A (en)*2016-01-152016-06-29努比亚技术有限公司Method and device for terminal screen capturing
CN105933544A (en)*2016-06-292016-09-07努比亚技术有限公司Screen capture method and mobile terminal
CN105955634A (en)*2016-04-202016-09-21上海斐讯数据通信技术有限公司Mobile intelligent terminal screenshot method and screenshot system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104199592B (en)*2014-09-092017-11-28联想(北京)有限公司A kind of display methods and electronic equipment
CN105843508B (en)*2016-03-312019-07-26努比亚技术有限公司Mobile terminal and its screenshotss method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN203070270U (en)*2012-12-052013-07-17中国电信股份有限公司泰州分公司Double-screen display management system
KR20150056346A (en)*2013-11-152015-05-26엘지전자 주식회사Terminal for screen capture processing for multi windows
CN104978133A (en)*2014-04-042015-10-14阿里巴巴集团控股有限公司Screen capturing method and screen capturing device for intelligent terminal
CN105718161A (en)*2016-01-152016-06-29努比亚技术有限公司Method and device for terminal screen capturing
CN105955634A (en)*2016-04-202016-09-21上海斐讯数据通信技术有限公司Mobile intelligent terminal screenshot method and screenshot system
CN105933544A (en)*2016-06-292016-09-07努比亚技术有限公司Screen capture method and mobile terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109085968B (en)*2018-06-272021-02-12维沃移动通信有限公司Screen capturing method and terminal equipment
CN109085968A (en)*2018-06-272018-12-25维沃移动通信有限公司A kind of screenshotss method and terminal device
CN109032466A (en)*2018-06-272018-12-18努比亚技术有限公司Long screenshot method, mobile terminal and storage medium based on double screen
CN109388301A (en)*2018-09-142019-02-26Oppo(重庆)智能科技有限公司Screenshot method and relevant apparatus
CN109407936A (en)*2018-09-212019-03-01Oppo(重庆)智能科技有限公司Screenshot method and relevant apparatus
CN109407936B (en)*2018-09-212021-07-16Oppo(重庆)智能科技有限公司 Screenshot method and related device
CN109491572B (en)*2018-10-292021-01-08维沃移动通信有限公司Screen capturing method of mobile terminal and mobile terminal
CN109491572A (en)*2018-10-292019-03-19维沃移动通信有限公司A kind of the screenshotss method and mobile terminal of mobile terminal
WO2020220992A1 (en)*2019-04-302020-11-05维沃移动通信有限公司Operation control method for terminal, and terminal
CN112181259A (en)*2019-07-042021-01-05中移(苏州)软件技术有限公司Control method, control device, terminal and computer storage medium
CN112181259B (en)*2019-07-042023-04-07中移(苏州)软件技术有限公司Control method, device, terminal and computer storage medium
CN110647506A (en)*2019-08-232020-01-03维沃移动通信有限公司 A kind of picture deletion method and terminal device
CN110647506B (en)*2019-08-232021-09-07维沃移动通信有限公司 A kind of picture deletion method and terminal device

Also Published As

Publication numberPublication date
WO2018103423A1 (en)2018-06-14

Similar Documents

PublicationPublication DateTitle
CN108174014A (en)A kind of screenshotss method and device
JP6087349B2 (en) Mobile terminal and method for realizing cursor movement thereof
CN105824495B (en) A method for operating a mobile terminal with one hand and the mobile terminal
CN107509028B (en) A shooting method, mobile terminal and computer-readable storage medium
US20150035781A1 (en)Electronic device
CN106527693A (en)Application control method and mobile terminal
JP2012514786A (en) User interface for mobile devices
CN101689244A (en)Camera-based user input for compact devices
US9535493B2 (en)Apparatus, method, computer program and user interface
WO2013107382A1 (en)Electronic device
CN107066176A (en)A kind of control method and device of the singlehanded pattern of terminal
WO2013082954A1 (en)Man machine interaction detection and processing method based on gyroscope in smart terminal
CN104571886A (en)Interface processing method and device
WO2019188031A1 (en)Information processing device, and recording medium having program for information processing device recorded thereto
CN107613193A (en) A camera control method and mobile terminal
US20150242094A1 (en)Method for Processing Information and Electronic Device
CN106911897A (en)A kind of determination method and mobile terminal for shooting focus
JP2019170802A (en)Program and information processing apparatus
CN107346202A (en)A kind of image pickup method and mobile terminal
KR102123406B1 (en)A mobile terminal comprising a touch screen supporting a multi touch and method for controlling the mobile terminal
CN108733275A (en)A kind of object displaying method and terminal
CN107333004A (en)A kind of photographic method and mobile terminal
CN109753199B (en)Application page display method and mobile terminal
JP6519074B2 (en) Electronics
CN115098015A (en) Display method, device, electronic device and storage medium of virtual keyboard

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
WW01Invention patent application withdrawn after publication

Application publication date:20180615

WW01Invention patent application withdrawn after publication

[8]ページ先頭

©2009-2025 Movatter.jp