CN106547444B - Method and device for realizing screen capture and mobile terminal - Google Patents

Method and device for realizing screen capture and mobile terminal Download PDF

Info

Publication number
CN106547444B
CN106547444B CN201510685398.1A CN201510685398A CN106547444B CN 106547444 B CN106547444 B CN 106547444B CN 201510685398 A CN201510685398 A CN 201510685398A CN 106547444 B CN106547444 B CN 106547444B
Authority
CN
China
Prior art keywords
frame
time point
determining
mobile terminal
triggering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510685398.1A
Other languages
Chinese (zh)
Other versions
CN106547444A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Xiaomi Inc
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc, Beijing Xiaomi Mobile Software Co Ltd filed Critical Xiaomi Inc
Publication of CN106547444A publication Critical patent/CN106547444A/en
Application granted granted Critical
Publication of CN106547444B publication Critical patent/CN106547444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a method and a device for realizing screen capture and a mobile terminal for improving the stability of screen capture operation. The method comprises the following steps: determining a first position for triggering a first frame and a second position for triggering a second frame of the mobile terminal, wherein the first frame and the second frame are positioned at two sides of the mobile terminal; determining a first time point for triggering the first frame and a second time point for triggering the second frame; determining a distance difference between the first position and the second position along the direction of the first frame and determining a time difference between the first time point and the second time point; and determining whether the current interface of the mobile terminal needs to be subjected to screen capturing according to the distance difference and the time difference. According to the technical scheme, the screen capture of any interface of the mobile terminal is triggered through the frames on the two sides of the mobile terminal, and the stability and the reliability in screen capture are improved.

Description

Method and device for realizing screen capture and mobile terminal
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for implementing screen capture, and a mobile terminal.
Background
With the wide use of smart phones, more and more applications are installed on smart phones. When a user needs to perform screen capturing operation on a current interface on a smart phone, screen capturing is usually realized by using a combination of an existing menu key and a volume key on the smart phone, and since the screen capturing is only an auxiliary function of a group of the menu key and the volume key, a menu corresponding to the menu key and a volume adjustment corresponding to the volume key can be popped up when the user needs to perform screen capturing, so that more uncontrollable factors appear during screen capturing, and the screen capturing operation is unstable.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method and an apparatus for implementing screen capture, and a mobile terminal, so as to improve stability of screen capture operations.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for implementing screen capture, which is applied to a mobile terminal, and includes:
determining a first position for triggering a first frame and a second position for triggering a second frame of the mobile terminal, wherein the first frame and the second frame are positioned at two sides of the mobile terminal;
determining a first time point for triggering the first frame and a second time point for triggering the second frame;
determining a distance difference between the first position and the second position along the direction of the first frame and determining a time difference between the first time point and the second time point;
and determining whether the current interface of the mobile terminal needs to be subjected to screen capturing according to the distance difference and the time difference.
In an embodiment, the determining whether the current interface of the mobile terminal needs to be subjected to screen capturing according to the distance difference and the time difference may include:
determining whether the distance difference is less than a first threshold and determining whether the time difference is less than a second threshold;
if the distance difference is smaller than the first threshold and the time difference is smaller than the second threshold, determining that screen capture needs to be performed on a current interface of the mobile terminal;
and if the distance difference is larger than the first threshold value or the time difference is larger than the second threshold value, determining that screen capture of the current interface of the mobile terminal is not needed.
In an embodiment, the determining to trigger the first time point of the first frame and the second time point of the second frame may include:
determining a trigger type of the first frame and the second frame in a frame setting option of the mobile terminal;
and determining a first time point of the first frame and a second time point of the second frame according to the trigger type.
In an embodiment, the determining the first time point of the first frame and the second time point of the second frame according to the trigger type may include:
if the trigger type is that the first frame and the second frame are double-clicked, monitoring a starting time point corresponding to the double-click of the first frame and a starting time point corresponding to the second frame;
and determining the starting time point corresponding to the first frame as the first time point, and determining the starting time point corresponding to the second frame as the second time point.
In an embodiment, the method may further comprise:
if the first frame or the second frame is monitored to be triggered, determining the triggering time length of the first frame or the second frame;
and if the trigger time length exceeds the preset threshold value, generating a misoperation reminding message.
In an embodiment, the method may further comprise:
sensing whether a finger triggers the first frame and the second frame to exceed the height of a display screen of the mobile terminal;
and if the finger exceeds the height of the display screen of the mobile terminal, determining that the frame is triggered.
In an embodiment, the trigger circuit corresponding to the frame may be disposed at a position of the frame close to the touch screen.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for implementing screen capture, which is applied to a mobile terminal, and includes:
a first determining module configured to determine a first position of a first frame and a second position of a second frame of the mobile terminal, the first frame and the second frame being located on two sides of the mobile terminal;
a second determination module configured to determine a first point in time to trigger the first bounding box and a second point in time to trigger the second bounding box;
a third determining module configured to determine a distance difference between the first position and the second position determined by the first determining module along the direction of the first frame and determine a time difference between the first time point and the second time point determined by the second determining module;
a fourth determining module configured to determine whether a screen shot of a current interface of the mobile terminal is required according to the distance difference and the time difference determined by the third determining module.
In an embodiment, the fourth determining module may include:
a first determination sub-module configured to determine whether the distance difference is less than a first threshold and to determine whether the time difference is less than a second threshold;
a second determining sub-module configured to determine that a screen shot needs to be performed on a current interface of the mobile terminal when the first determining sub-module determines that the distance difference is smaller than the first threshold and the time difference is smaller than the second threshold;
a third determining sub-module configured to determine that screen capturing of the current interface of the mobile terminal is not required when the first determining sub-module determines that the distance difference is greater than the first threshold or the time difference is greater than the second threshold.
In an embodiment, the second determining module may include:
a fourth determining submodule configured to determine a trigger type of the first frame and the second frame in the frame setting options of the mobile terminal;
a fifth determining submodule configured to determine a first time point of the first bezel and a second time point of the second bezel according to the trigger type determined by the fourth determining submodule.
In an embodiment, the fifth determination submodule may include:
the monitoring submodule is configured to monitor a starting time point corresponding to double-clicking the first border and a starting time point corresponding to double-clicking the second border when the trigger type is double-clicking the first border and the second border;
a sixth determining submodule configured to determine, as the first time point, a start time point corresponding to the first frame monitored by the monitoring submodule, and determine, as the second time point, a start time point corresponding to the second frame.
In an embodiment, the apparatus may further comprise:
a fifth determining module, configured to determine a trigger duration on the first frame or the second frame when it is monitored that the first frame or the second frame is triggered;
and the reminding module is configured to generate a misoperation reminding message when the trigger time length determined by the fifth determining module exceeds the preset threshold.
In one embodiment, the apparatus further comprises:
the sensing module is configured to sense whether a finger triggers the first frame and the second frame to be higher than the display screen of the mobile terminal;
a sixth determining module configured to determine that the bezel is triggered when the sensing module senses that the finger exceeds the height of the display screen of the mobile terminal.
In an embodiment, the trigger circuit corresponding to the frame may be disposed at a position of the frame close to the touch screen.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a first position for triggering a first frame and a second position for triggering a second frame of the mobile terminal, wherein the first frame and the second frame are positioned at two sides of the mobile terminal;
determining a first time point for triggering the first frame and a second time point for triggering the second frame;
determining a distance difference between the first position and the second position along the direction of the first frame and determining a time difference between the first time point and the second time point;
and determining whether the current interface of the mobile terminal needs to be subjected to screen capturing according to the distance difference and the time difference.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method includes the steps that the distance difference between a first position triggered on a first frame and a second position triggered on a second frame and the time difference between a first time point triggered on the first frame and a second time point triggered on the second frame are determined, whether screen capture needs to be conducted on the current interface of the mobile terminal is determined according to the distance difference and the time difference, screen capture of any interface of the mobile terminal is triggered through frames on two sides of the mobile terminal, and since the operation of simultaneous triggering of the frames on two sides of the mobile terminal only corresponds to the screen capture function, menus or volume adjustment cannot occur on the interface of the mobile terminal due to key combination during screen capture, and stability and reliability during screen capture are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1A is a flow diagram illustrating a method of implementing a screen shot in accordance with an exemplary embodiment.
FIG. 1B is a schematic diagram illustrating a first bezel and a second bezel in accordance with an example embodiment.
FIG. 2A is a flow diagram illustrating a method of implementing a screen shot in accordance with an exemplary embodiment.
Fig. 2B is a diagram illustrating a setting option for a trigger type on a mobile terminal according to an example embodiment.
FIG. 3 is a flowchart illustrating a method of implementing a screen shot in accordance with an exemplary embodiment.
FIG. 4 is a block diagram illustrating an apparatus for implementing screen shots in accordance with an example embodiment.
FIG. 5A is a block diagram illustrating another apparatus for implementing screen shots in accordance with an example embodiment.
FIG. 5B is a block diagram illustrating a fifth determination submodule, according to an example embodiment.
FIG. 6 is a block diagram illustrating an apparatus suitable for implementing screen shots in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1A is a flow diagram illustrating a method of implementing a screen shot in accordance with an exemplary embodiment, and FIG. 1B is a schematic diagram illustrating a first bezel and a second bezel in accordance with an exemplary embodiment; the method for realizing screen capture can be applied to a mobile terminal (e.g., a smart phone, a tablet computer), and as shown in fig. 1A, the method for realizing screen capture includes the following steps S101-S104:
in step S101, a first position of a first frame and a second position of a second frame of the mobile terminal are determined to be triggered, and the first frame and the second frame are located on two sides of the mobile terminal.
In an embodiment, as shown in fig. 1B, the mobile terminal 10 has a first frame 11 and a second frame 12 on two sides in the vertical direction, where the first frame 11 and the second frame 12 may be all or part of two side edges of the mobile terminal 10, and the sizes of the first frame 11 and the second frame 12 are not limited in this disclosure. In an embodiment, the first frame 11 and the second frame 12 both have a touch function, and accordingly, a circuit supporting touch is disposed on the mobile terminal 10. In one embodiment, the first frame 11 and the second frame 12 may be triggered by a light touch; in another embodiment, the first frame 11 and the second frame 12 may be triggered by clicking or double clicking. In an embodiment, the first position and the second position may be positions where the user triggers any point on the first frame 11 and the second frame 12 with both hands. In one embodiment, when the user touches the first frame 11 and the second frame 12 with a finger, the finger needs to exceed the height of the display screen 20 to ensure the accuracy of the triggering.
In step S102, a first time point of triggering the first frame and a second time point of the second frame are determined.
In an embodiment, the first time point of the first frame and the second time point of the second frame may be determined according to the trigger type, for example, if the trigger type is single click, both the first time point and the second time point are time points when the clicked frame is monitored, and if the trigger type is double click, both the first time point and the second time point may be start time points when the clicked frame is monitored, and may also be an average value of the start time point and the end time point when the clicked frame is monitored.
In step S103, a distance difference between the first position and the second position along the direction of the first frame and a time difference between the first time point and the second time point are determined.
In one embodiment, the direction of the first bezel may be a vertical direction of the mobile terminal 10. In an embodiment, the distance difference between the first position and the second position along the direction of the first frame is Δ h, the first position and the second position may be referred to a bottom side of the mobile terminal 10, that is, the first position is a distance h1 from the bottom side of the mobile terminal 10, and the second position is a distance h2 from the bottom side of the mobile terminal 10, and the distance difference Δ h is obtained by determining an absolute value of a difference therebetween, or alternatively, the first position and the second position may also be referred to a top side of the mobile terminal 10, and will not be described in detail herein. In an embodiment, the first time point and the second time point may be response time points of the touch circuit when it is monitored that the user triggers the first frame 11 and the second frame 12, for example, the first time point t1 triggering the first frame 11 and the second time point t2 triggering the second frame 12 are monitored, and the time difference is an absolute value Δ t of a difference between the two.
In step S104, it is determined whether a screen shot of a current interface of the mobile terminal is required according to the distance difference and the time difference.
In an embodiment, if the distance difference Δ h is smaller than the first threshold and the time difference Δ t is smaller than the second threshold, it is indicated that the user triggers the frames on both sides of the mobile terminal at the same time, so that it may be determined that the current interface of the mobile terminal needs to be screenshot, and a picture obtained by the screenshot is stored.
In this embodiment, by determining a distance difference between a first position triggered on a first frame and a second position triggered on a second frame and a time difference between a first time point triggered on the first frame and a second time point triggered on the second frame, and determining whether to capture a screen of a current interface of the mobile terminal according to the distance difference and the time difference, it is implemented that the frames on both sides of the mobile terminal trigger the capture of any interface of the mobile terminal.
In an embodiment, determining whether a screen shot of a current interface of the mobile terminal is required according to the distance difference and the time difference may include:
determining whether the distance difference is less than a first threshold and determining whether the time difference is less than a second threshold;
if the distance difference is smaller than a first threshold value and the time difference is smaller than a second threshold value, determining that screen capture needs to be carried out on the current interface of the mobile terminal;
and if the distance difference is larger than the first threshold value or the time difference is larger than the second threshold value, determining that screen capture of the current interface of the mobile terminal is not needed.
In an embodiment, determining a first time point of triggering the first frame and a second time point of the second frame may include:
determining trigger types of a first frame and a second frame in frame setting options of the mobile terminal;
and determining a first time point of the first frame and a second time point of the second frame according to the trigger type.
In an embodiment, determining the first time point of the first frame and the second time point of the second frame according to the trigger type may include:
if the trigger type is double-click on the first frame and the second frame, monitoring a starting time point corresponding to the double-click on the first frame and a starting time point corresponding to the second frame;
and determining the starting time point corresponding to the first frame as a first time point, and determining the starting time point corresponding to the second frame as a second time point.
In an embodiment, the method may further comprise:
if the first frame or the second frame is monitored to be triggered, determining the triggering time length of the first frame or the second frame;
and if the trigger time length exceeds a preset threshold value, generating a misoperation reminding message.
In an embodiment, the method may further comprise:
sensing whether the finger triggers the first frame and the second frame to exceed the height of a display screen of the mobile terminal;
and if the finger exceeds the height of the display screen of the mobile terminal, determining that the frame is triggered.
In an embodiment, the trigger circuit corresponding to the frame may be disposed at a position of the frame close to the touch screen, or at a position of the frame close to the back of the mobile terminal, and if the trigger circuit is disposed at a position of the frame close to the touch screen, the finger needs to exceed the height of the display screen of the mobile terminal, so that the frame can be triggered normally.
In an embodiment, the trigger circuit corresponding to the frame may be disposed at a position of the frame close to the touch screen.
Please refer to the following embodiments, specifically how to implement the screen capturing operation on any interface of the mobile terminal.
Therefore, the method provided by the embodiment of the disclosure realizes the screen capture of any interface of the mobile terminal through the frame triggering of the two sides of the mobile terminal, and the operation of the simultaneous triggering of the two side frames of the mobile terminal only corresponds to the screen capture function, so that a menu or volume adjustment cannot occur on the interface of the mobile terminal due to the combination of keys during the screen capture, and the stability and reliability during the screen capture are improved.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
FIG. 2A is a flow chart illustrating a method of implementing a screen shot in accordance with an exemplary embodiment, and FIG. 2B is a schematic illustration of a trigger-type setting option on a mobile terminal in accordance with an exemplary embodiment; in this embodiment, an example of how to determine the trigger type through the frame setting option is described by using the above method provided by the embodiment of the present disclosure, as shown in fig. 2A, the method includes the following steps:
in step S201, a first position of a first frame and a second position of a second frame of the mobile terminal are determined to be triggered, and the first frame and the second frame are located on two sides of the mobile terminal.
For a detailed description of step S201, refer to the above description related to the embodiment shown in fig. 1A, and will not be described in detail here.
In step S202, trigger types regarding the first bezel and the second bezel in the bezel setting options of the mobile terminal are determined.
As an exemplary scenario, as shown in fig. 2B, the frame setting options of the mobile terminal 10 relate to the triggering manner of the frame during screen capture, including single-click and double-click. The user can self-define and set a single-click frame or a double-click frame to realize screen capture operation, and the screen capture operation is exemplarily illustrated by taking the simultaneous double-click frames on two sides as an example.
In step S203, if the trigger type is double-clicking the first frame and the second frame, the start time point corresponding to the double-clicking the first frame and the start time point corresponding to the second frame are monitored.
In step S204, the start time point corresponding to the first frame is determined as a first time point, and the start time point corresponding to the second frame is determined as a second time point.
In step S203 and step S204, in an embodiment, the first time point and the second time point may be response time points that the touch circuit of the bezel makes when the user first clicks the first bezel 11 and the second bezel 12 when double-clicking the bezel is monitored.
In step S205, a distance difference between the first position and the second position along the direction of the first frame and a time difference between the first time point and the second time point are determined.
In step S206, it is determined whether a screen shot of the current interface of the mobile terminal is required according to the distance difference and the time difference.
For detailed description of step S205 and step S206, refer to the above description of the embodiment shown in fig. 1A, and will not be described in detail here.
On the basis of the beneficial technical effects of the embodiment, the trigger types of the first frame and the second frame of the user during screen capturing operation are determined through the frame setting options of the mobile terminal, so that the user can flexibly set different trigger modes according to the use habits of the user, and the user can conveniently perform screen capturing operation on any interface of the mobile terminal.
FIG. 3 is a flow chart illustrating a method for controlling indicator lights installed on a smart device in accordance with an exemplary embodiment two; in this embodiment, by using the above method provided by the embodiment of the present disclosure, an example of how to prevent the frame of the mobile terminal from being touched by mistake is taken as an example, and an example of how to prevent the frame of the mobile terminal from being touched by mistake is taken as an example, as shown in fig. 3, the method includes the following steps:
in step S301, if it is monitored that the first frame is triggered, the trigger duration on the first frame is determined.
In step S302, if the trigger duration exceeds the preset threshold, a warning message of misoperation is generated.
In an embodiment, the preset threshold may be set by definition through the touch habits of the users, or an average value may be obtained by counting the touch habits of a large number of users. In an embodiment, if the triggering manner is a single click or a frame touch, the triggering duration may be a duration when the frame is single click or a frame touch, and in another embodiment, if the triggering manner is a double click of the frame, the triggering duration may be a time interval between a first time point and a second time point in a double click of the frame. In one embodiment, the alert message may be generated by text, voice, or vibration, for example, the various alert messages described above may be set by the user.
On the basis of the beneficial technical effects of the embodiment, the error touch of the user on the frame of the mobile terminal is prevented through the trigger duration, so that the accuracy of screen capture through the frame is improved, and the interference of the unintentional touch of the user on the screen capture is avoided.
Fig. 4 is a block diagram illustrating a screen capture implemented according to an exemplary embodiment, and is applied to a mobile terminal, and as shown in fig. 4, an apparatus for implementing screen capture includes:
a first determining module 41 configured to determine a first position of a first frame and a second position of a second frame of the mobile terminal, where the first frame and the second frame are located on two sides of the mobile terminal;
a second determination module 42 configured to determine a first time point of triggering the first bezel and a second time point of the second bezel;
a third determining module 43 configured to determine a distance difference between the first position and the second position determined by the first determining module 41 along the direction of the first frame and determine a time difference between the first time point and the second time point determined by the second determining module 42;
and a fourth determining module 44 configured to determine whether a screen shot of the current interface of the mobile terminal is required according to the distance difference and the time difference determined by the third determining module 43.
Fig. 5A is a block diagram illustrating another implementation screen capture according to an exemplary embodiment, and fig. 5B is a block diagram illustrating a fifth determination sub-module according to an exemplary embodiment, where as shown in fig. 5A, on the basis of the above-mentioned embodiment illustrated in fig. 4, in an embodiment, the fourth determination module 44 may include:
a first determination sub-module 441 configured to determine whether the distance difference is smaller than a first threshold and to determine whether the time difference is smaller than a second threshold;
a second determination sub-module 442 configured to determine that a screen capture of a current interface of the mobile terminal is required when the first determination sub-module 441 determines that the distance difference is smaller than the first threshold and the time difference is smaller than the second threshold;
a third determination sub-module 443 configured to determine that the current interface of the mobile terminal does not need to be screenshot when the first determination sub-module 441 determines that the distance difference is greater than the first threshold or the time difference is greater than the second threshold.
In an embodiment, the second determination module 42 may include:
a fourth determining submodule 421 configured to determine a trigger type with respect to the first bezel and the second bezel in the bezel setting options of the mobile terminal;
a fifth determining submodule 422 configured to determine the first time point of the first frame and the second time point of the second frame according to the trigger type determined by the fourth determining submodule 421.
As shown in fig. 5B, in an embodiment, the fifth determination sub-module 422 may include:
the monitoring submodule 4221 is configured to monitor a start time point corresponding to double-clicking the first frame and a start time point corresponding to the second frame when the trigger type is double-clicking the first frame and the second frame;
the sixth determining submodule 4222 is configured to determine a start time point corresponding to the first frame monitored by the monitoring submodule 4221 as the first time point, and determine a start time point corresponding to the second frame as the second time point.
In an embodiment, the apparatus may further comprise:
a fifth determining module 45, configured to determine a trigger duration on the first frame or the second frame when it is monitored that the first frame or the second frame is triggered;
and the reminding module 46 is configured to generate a misoperation reminding message when the trigger time length determined by the fifth determining module 45 exceeds a preset threshold.
In an embodiment, the apparatus further comprises:
the sensing module 47 is configured to sense whether the finger is triggering the first frame and the second frame to be beyond the height of the display screen of the mobile terminal;
a sixth determining module 48 configured to determine that the frame is triggered when the sensing module 47 senses that the finger exceeds the height of the display screen of the mobile terminal, and the first determining module 41 performs the step of determining a first position of the first frame and a second position of the second frame of the mobile terminal to trigger.
In an embodiment, the trigger circuit corresponding to the frame may be disposed at a position of the frame close to the touch screen.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 6 is a block diagram illustrating an apparatus suitable for implementing screen shots in accordance with an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A method for realizing screen capture is applied to a mobile terminal, and is characterized in that the method comprises the following steps:
determining a first position for triggering a first frame and a second position for triggering a second frame of the mobile terminal, wherein the first frame and the second frame are positioned at two sides of the mobile terminal;
determining a first time point for triggering the first frame and a second time point for triggering the second frame, wherein the triggering type is that the first frame and the second frame are double-clicked, the first time point is an initial time point corresponding to the double-click of the first frame, and the second time point is an initial time point corresponding to the double-click of the second frame;
determining a distance difference between the first position and the second position along the direction of the first frame and determining a time difference between the first time point and the second time point;
and determining whether the current interface of the mobile terminal needs to be subjected to screen capturing according to the distance difference and the time difference.
2. The method according to claim 1, wherein the determining whether the current interface of the mobile terminal needs to be captured according to the distance difference and the time difference comprises:
determining whether the distance difference is less than a first threshold and determining whether the time difference is less than a second threshold;
if the distance difference is smaller than the first threshold and the time difference is smaller than the second threshold, determining that screen capture needs to be performed on a current interface of the mobile terminal;
and if the distance difference is larger than the first threshold value or the time difference is larger than the second threshold value, determining that screen capture of the current interface of the mobile terminal is not needed.
3. The method of claim 1, wherein the determining to trigger a first point in time of the first bounding box and a second point in time of the second bounding box comprises:
determining a trigger type of the first frame and the second frame in a frame setting option of the mobile terminal;
and determining a first time point of the first frame and a second time point of the second frame according to the trigger type.
4. The method of claim 3, wherein the determining the first time point of the first frame and the second time point of the second frame according to the trigger type comprises:
monitoring a starting time point corresponding to double-clicking the first frame and a starting time point corresponding to the second frame;
and determining the starting time point corresponding to the first frame as the first time point, and determining the starting time point corresponding to the second frame as the second time point.
5. The method of claim 1, further comprising:
if the first frame or the second frame is monitored to be triggered, determining the triggering time length of the first frame or the second frame;
and if the trigger time length exceeds a preset threshold value, generating a misoperation reminding message.
6. The method of claim 1, further comprising:
sensing whether a finger triggers the first frame and the second frame to exceed the height of a display screen of the mobile terminal;
and if the finger exceeds the height of the display screen of the mobile terminal, determining that the frame is triggered.
7. An apparatus for implementing screen capture, applied to a mobile terminal, the apparatus comprising:
a first determining module configured to determine a first position of a first frame and a second position of a second frame of the mobile terminal, the first frame and the second frame being located on two sides of the mobile terminal;
a second determining module configured to determine a first time point of triggering the first frame and a second time point of triggering the second frame, where the triggering type is double-clicking the first frame and the second frame, the first time point is a start time point corresponding to double-clicking the first frame, and the second time point is a start time point corresponding to double-clicking the second frame;
a third determining module configured to determine a distance difference between the first position and the second position determined by the first determining module along the direction of the first frame and determine a time difference between the first time point and the second time point determined by the second determining module;
a fourth determining module configured to determine whether a screen shot of a current interface of the mobile terminal is required according to the distance difference and the time difference determined by the third determining module.
8. The apparatus of claim 7, wherein the fourth determining module comprises:
a first determination sub-module configured to determine whether the distance difference is less than a first threshold and to determine whether the time difference is less than a second threshold;
a second determining sub-module configured to determine that a screen shot needs to be performed on a current interface of the mobile terminal when the first determining sub-module determines that the distance difference is smaller than the first threshold and the time difference is smaller than the second threshold;
a third determining sub-module configured to determine that screen capturing of the current interface of the mobile terminal is not required when the first determining sub-module determines that the distance difference is greater than the first threshold or the time difference is greater than the second threshold.
9. The apparatus of claim 7, wherein the second determining module comprises:
a fourth determining submodule configured to determine a trigger type of the first frame and the second frame in the frame setting options of the mobile terminal;
a fifth determining submodule configured to determine a first time point of the first bezel and a second time point of the second bezel according to the trigger type determined by the fourth determining submodule.
10. The apparatus of claim 9, wherein the fifth determination submodule comprises:
the monitoring submodule is configured to monitor a starting time point corresponding to double-clicking the first border and a starting time point corresponding to the second border;
a sixth determining submodule configured to determine, as the first time point, a start time point corresponding to the first frame monitored by the monitoring submodule, and determine, as the second time point, a start time point corresponding to the second frame.
11. The apparatus of claim 7, further comprising:
a fifth determining module, configured to determine a trigger duration on the first frame or the second frame when it is monitored that the first frame or the second frame is triggered;
and the reminding module is configured to generate a misoperation reminding message when the trigger time length determined by the fifth determining module exceeds a preset threshold.
12. The apparatus of claim 7, further comprising:
the sensing module is configured to sense whether a finger triggers the first frame and the second frame to be higher than the display screen of the mobile terminal;
a sixth determining module configured to determine that the bezel is triggered when the sensing module senses that the finger exceeds the height of the display screen of the mobile terminal.
13. A mobile terminal, characterized in that the mobile terminal comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a first position for triggering a first frame and a second position for triggering a second frame of the mobile terminal, wherein the first frame and the second frame are positioned at two sides of the mobile terminal;
determining a first time point for triggering the first frame and a second time point for triggering the second frame, wherein the triggering type is that the first frame and the second frame are double-clicked, the first time point is an initial time point corresponding to the double-click of the first frame, and the second time point is an initial time point corresponding to the double-click of the second frame;
determining a distance difference between the first position and the second position along the direction of the first frame and determining a time difference between the first time point and the second time point;
and determining whether the current interface of the mobile terminal needs to be subjected to screen capturing according to the distance difference and the time difference.
CN201510685398.1A 2015-09-22 2015-10-20 Method and device for realizing screen capture and mobile terminal Active CN106547444B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2015106084151 2015-09-22
CN201510608415 2015-09-22

Publications (2)

Publication Number Publication Date
CN106547444A CN106547444A (en) 2017-03-29
CN106547444B true CN106547444B (en) 2020-06-23

Family

ID=58364714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510685398.1A Active CN106547444B (en) 2015-09-22 2015-10-20 Method and device for realizing screen capture and mobile terminal

Country Status (1)

Country Link
CN (1) CN106547444B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526525B (en) * 2017-09-06 2019-04-02 Oppo广东移动通信有限公司 A kind of screenshotss method, apparatus, mobile terminal and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013046027A1 (en) * 2011-09-27 2013-04-04 Z124 Repositioning applications in a stack
CN104731502A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Double-click recognition method and device based on virtual partition touch screen and mobile terminal
CN104731514A (en) * 2015-04-09 2015-06-24 努比亚技术有限公司 Method and device for recognizing single-hand-holding touch operation in touch operation area
CN104898926A (en) * 2015-05-29 2015-09-09 努比亚技术有限公司 Screen capture method and device of mobile terminal
CN104932815A (en) * 2015-05-06 2015-09-23 努比亚技术有限公司 Mobile terminal and operation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013046027A1 (en) * 2011-09-27 2013-04-04 Z124 Repositioning applications in a stack
CN104731502A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Double-click recognition method and device based on virtual partition touch screen and mobile terminal
CN104731514A (en) * 2015-04-09 2015-06-24 努比亚技术有限公司 Method and device for recognizing single-hand-holding touch operation in touch operation area
CN104932815A (en) * 2015-05-06 2015-09-23 努比亚技术有限公司 Mobile terminal and operation method thereof
CN104898926A (en) * 2015-05-29 2015-09-09 努比亚技术有限公司 Screen capture method and device of mobile terminal

Also Published As

Publication number Publication date
CN106547444A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
EP3099063A1 (en) Video communication method and apparatus
CN105183364A (en) Application switching method, application switching device and application switching equipment
CN106919629B (en) Method and device for realizing information screening in group chat
CN105786507B (en) Display interface switching method and device
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
EP3147802B1 (en) Method and apparatus for processing information
CN106033397B (en) Memory buffer area adjusting method, device and terminal
CN107562349B (en) Method and device for executing processing
EP3232301B1 (en) Mobile terminal and virtual key processing method
CN106354504B (en) Message display method and device
CN106485660B (en) Electronic map zooming method and device
CN104461236A (en) Method and device for displaying application icons
CN106951299A (en) The operating method and device of application program
CN106547462B (en) Photographing control method and device and mobile terminal
CN105323152A (en) Message processing method, device and equipment
CN112181265B (en) Touch signal processing method, device and medium
CN108874450B (en) Method and device for waking up voice assistant
CN109769191B (en) Audio output detection method and device and electronic equipment
CN106919302B (en) Operation control method and device of mobile terminal
CN105227426B (en) Application interface switching method and device and terminal equipment
CN106445122B (en) Equipment state control method and device
CN106445376B (en) Webpage operation method and device
CN106126050B (en) Menu display method and device
CN111506234B (en) Method and device for preventing false touch of edge of touch screen, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200417

Address after: No.018, floor 8, building 6, yard 33, middle Xierqi Road, Haidian District, Beijing 100085

Applicant after: BEIJING XIAOMI MOBILE SOFTWARE Co.,Ltd.

Applicant after: Xiaomi Technology Co.,Ltd.

Address before: 100085, Haidian District, Beijing Qinghe Street No. 68, Huarun colorful city shopping center two, 13 layers

Applicant before: Xiaomi Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant