WO2017121239A1 - 一种截屏方法及装置 - Google Patents

一种截屏方法及装置 Download PDF

Info

Publication number
WO2017121239A1
WO2017121239A1 PCT/CN2016/112412 CN2016112412W WO2017121239A1 WO 2017121239 A1 WO2017121239 A1 WO 2017121239A1 CN 2016112412 W CN2016112412 W CN 2016112412W WO 2017121239 A1 WO2017121239 A1 WO 2017121239A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen capture
screen
preset threshold
function
terminal
Prior art date
Application number
PCT/CN2016/112412
Other languages
English (en)
French (fr)
Inventor
徐桃
李成
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017121239A1 publication Critical patent/WO2017121239A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • This application relates to, but is not limited to, the field of electronic device technology.
  • the screen capture function of the terminal device in the related art usually includes three types: a common screen capture, which can intercept the entire screen; and a free screen capture, the user can determine the screen capture range by itself, which is suitable for the user in terms of privacy and the like.
  • This paper proposes a screen capture method and device to solve the common screen capture, free screen capture and long screen entry of the terminal equipment in the related art, and the user has a large learning cost and affects the user experience in the cognitive and operation. .
  • a screen capture method comprising:
  • Screen capture is performed according to the user's pressing operation on the touch screen.
  • the motion state parameter includes one or more of the following: a flip angle, an acceleration, a shaking number, and a flip count of the terminal.
  • the motion state parameter includes a flip angle or an acceleration of the terminal
  • the comparing the motion state parameter with a preset threshold and determining a screen type according to the comparison result.
  • launch the corresponding screen capture features including:
  • the screen capture type is a long screen shot and the long screen capture function is activated.
  • the motion state parameter includes a flip angle and an acceleration of the terminal
  • the comparing the motion state parameter with a preset threshold and determining a screen type according to the comparison result.
  • launch the corresponding screen capture features including:
  • the flip angle is greater than the first preset threshold and less than the second preset threshold, and the acceleration is greater than the third preset threshold and less than the fourth preset threshold, determining that the screen capture type is a free screen capture and starting Free screen capture function;
  • the flip angle is greater than the second preset threshold, and the acceleration is greater than the fourth preset threshold, determining that the screen capture type is a long screen shot and starting a long screen capture function.
  • the comparing the motion state parameter with a preset threshold determines the screen type and launches the corresponding screen capture function, including:
  • the screen type is a long screen and the long screen function is activated.
  • the method when the motion state parameter includes the number of times of shaking of the terminal, the method further includes:
  • the number of shaking of the terminal is determined by acquiring the acceleration of the terminal.
  • the method when the motion state parameter includes the number of times of inversion of the terminal, the method further includes:
  • the number of times of inversion of the terminal is determined by acquiring a flip angle of the terminal.
  • the performing a screen capture according to a user operation on the touch screen includes:
  • the free screen capture function When the free screen capture function is activated, if it is determined that the operation draws a closed curve on the touch screen, and the pressure value of the closed curve is greater than or equal to the preset pressure threshold, the closed curve is intercepted. Display content in the area;
  • the display content of the touch screen is scrolled until the pressure point pressure disappears, and all scroll displays are intercepted. Content.
  • the method before the receiving the screen capture instruction, the method further includes:
  • a screen capture instruction is preset, and the screen capture instruction includes a physical key combination operation instruction or a frame operation instruction.
  • the screen capture is performed according to a user pressing a touch screen.
  • the method further includes:
  • the user's pressing operation on the touch screen is identified by a surface touch sensing function.
  • a screen capture device comprising:
  • the receiving unit is configured to: receive a screen capture instruction
  • the parameter obtaining unit is configured to: acquire a motion state parameter of the terminal;
  • the function activation unit is configured to: compare the motion state parameter acquired by the parameter acquisition unit with a preset threshold, determine a screen capture type according to the comparison result, and initiate a corresponding screen capture function, where the screen capture type includes a common screen capture, One of a free screen shot or a long screen shot;
  • the screen capture unit is configured to: take a screen shot according to a user pressing the touch screen.
  • the motion state parameter acquired by the parameter acquiring unit includes one or more of the following: a flip angle, an acceleration, a shaking number, and a flipping number of the terminal.
  • the function activation unit is further configured to: when the flip angle or acceleration is less than a first preset threshold When it is determined, the screen capture type is a normal screen capture and the normal screen capture function is activated;
  • the function activation unit is further configured to: when the flip angle or acceleration is greater than the first preset threshold is less than the second preset threshold, determine that the screen capture type is a free screen capture and initiate a free screen capture function;
  • the function activation unit is further configured to: when the flip angle or acceleration is greater than the second preset threshold, determine that the screen capture type is a long screen shot and activate a long screen capture function.
  • the function starting unit is further configured to: when the flip angle is smaller than a first preset threshold, and When the acceleration is less than the third preset threshold, determining that the screen capture type is a normal screen capture and starting a normal screen capture function;
  • the function activation unit is further configured to: when the flip angle is greater than the first preset threshold and less than a second preset threshold, and the acceleration is greater than the third preset threshold and less than a fourth preset threshold Determine the screen type as a free screen capture and activate the free screen capture function;
  • the function activation unit is further configured to: when the flip angle is greater than the second preset threshold, and the acceleration is greater than the fourth preset threshold, determine that the screen capture type is a long screen shot and initiate a long screen capture function.
  • the function activation unit is further configured to: when the number of times of shaking or the number of inversions is less than the first preset When the threshold is determined, it is determined that the screen capture type is a normal screen capture and the normal screen capture function is activated;
  • the function activation unit is further configured to: when the number of times of shaking or the number of inversions is greater than the first preset threshold and less than the second preset threshold, determine that the screen type is a free screen capture and initiate a free screen capture function;
  • the function activation unit is further configured to: when the number of shaking or the number of inversions is greater than the second preset threshold, determine that the screen type is a long screen and activate a long screen function.
  • the parameter acquiring unit is further configured to: determine the number of times of shaking of the terminal by acquiring an acceleration of the terminal.
  • the parameter acquiring unit is further configured to: determine the number of times the terminal is flipped by acquiring the flip angle of the terminal. .
  • the screen capture unit is further configured to: when the normal screen capture function is started, if it is determined that the pressure value of the pressure point of the operation is greater than or equal to the preset pressure threshold, the current entire interception is performed. Display content of the screen;
  • the screen capture unit is further configured to: when the normal screen capture function is activated, if it is determined that the operation is to draw a closed curve on the touch screen, and the pressure value of the closed curve is greater than or equal to the preset pressure threshold And intercepting the display content in the area of the closed curve;
  • the screen capture unit is further configured to: when the long screen function is activated, if it is determined that the pressure value of the pressure point of the operation is greater than or equal to the preset pressure threshold, scrolling display the display content of the touch screen until The pressure point pressure disappears and all scrolling displays are intercepted.
  • the device further includes:
  • a setting unit configured to: preset a screen capture instruction, where the screen capture instruction includes a physical button group Operation instructions or border operation instructions.
  • the device further includes:
  • the identification unit is configured to: identify, by the surface touch sensing function, the pressing operation of the touch screen by the user.
  • the screen capture method and device provided by the embodiment of the present invention initiates a screen capture operation by receiving a screen capture instruction, and the manner of initiating the screen capture operation may be: acquiring a motion state parameter of the terminal, and then comparing the motion state parameter with a preset threshold value, thereby
  • the screen capture type is determined according to the comparison result to activate the corresponding screen capture function, and the screen is screened according to the operation of the touch screen by the user;
  • the embodiment of the present invention implements three screen capture operations by the above method, and unifies the long screen, the free screen capture and the common screen capture.
  • the portal simplifies the steps of the terminal screen capture operation and optimizes the user experience.
  • the user is free to select the length of the screen shot.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a screen capture method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of another screen capture method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a common screen capture operation in a screen capture method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a common screen shot in a screen capture method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a free screen capture operation in a screen capture method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a free screen shot in a screen capture method according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a long screen shot operation in a screen capture method according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a long screen shot in a screen capture method according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a screen capture device according to an embodiment of the present invention.
  • a screen capture device of an embodiment of the present invention can be applied to a terminal.
  • a terminal embodying various embodiments of the present invention will now be described with reference to the accompanying drawings.
  • suffixes such as “module”, “component” or “unit” for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, “module” and “component” can be used in combination.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, etc.
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network.
  • the wireless communication unit can include at least one of the mobile communication module 112, the wireless internet module 113, and the short-range communication module 114.
  • the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
  • a base station e.g., an access point, a Node B, etc.
  • Such radio signals may include voice call signals, video call signals, or according to text and/or multimedia messages Various types of data sent and/or received.
  • the wireless internet module 113 supports wireless internet access of the mobile terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technologies include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), ZigbeeTM, and the like.
  • the A/V input unit 120 is for receiving an audio or video signal.
  • the A/V input unit 120 may include a camera 121 and a microphone 1220 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode.
  • the processed image frame can be displayed on the display module 151.
  • the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 1210 may be provided according to the configuration of the mobile terminal.
  • the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
  • the microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc.
  • a touch screen can be formed.
  • the sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal.
  • the sensing unit 140 may sense that the slide type phone is turned on. Still closed.
  • the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device.
  • the interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like.
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device.
  • the interface unit 170 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • the output unit 150 may include a display module 151, an audio output module 152, and the like.
  • the display module 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display module 151 can display a user interface (UI) or graphical user interface (GUI) associated with a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capture mode, the display module 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
  • UI user interface
  • GUI graphical user interface
  • the display module 151 can function as an input device and an output device.
  • the display module 151 may include a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, and a flexible At least one of a sexual display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • 3D three-dimensional
  • Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
  • the audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio signal is output as sound.
  • the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • the audio output module 152 can include a speaker, a buzzer, and the like.
  • the memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
  • the memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
  • the controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. Additionally, the controller 180 can include a multimedia module 1810 for reproducing (or playing back) multimedia data, which can be constructed within the controller 180 or can be configured to be separate from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 190 receives external power or internal power under the control of the controller 180 and provides Operate the appropriate power required for each component and component.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle.
  • implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
  • the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • the mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system in which a mobile terminal provided according to an embodiment of the present invention can be operated will now be described with reference to FIG.
  • Such communication systems may use different air interfaces and/or physical layers.
  • air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc.
  • FDMA Frequency Division Multiple Access
  • TDMA Time Division Multiple Access
  • CDMA Code Division Multiple Access
  • UMTS Universal Mobile Telecommunications System
  • LTE Long Term Evolution
  • GSM Global System for Mobile Communications
  • the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
  • FIG. 2 is a flowchart of a screen capture method according to an embodiment of the present invention.
  • the screen capture method provided by the embodiment may include the following steps, namely, S210 to S240:
  • the method before S210, the method further includes:
  • a screen capture instruction is preset, and the screen capture instruction includes a physical button combination operation instruction or a frame operation instruction.
  • a screen shot instruction can be set by setting a screen shot combination key. For example, set the screen capture command to: home button + volume up/down button, or power button + volume up/down button.
  • comparing the motion state parameter with a preset threshold, determining a screen capture type according to the comparison result, and starting a corresponding screen capture function may include :
  • the motion state parameter includes the flip angle or acceleration of the terminal
  • preset two thresholds including a first preset threshold and a second preset threshold
  • the two thresholds constitute three numerical intervals
  • the three numerical intervals are respectively: less than
  • the first preset threshold is greater than the first preset threshold and smaller than the second preset threshold, and is greater than the second preset threshold.
  • Each value interval corresponds to a different screen capture function
  • the flip angle or acceleration is compared with the preset two thresholds. Determine the value range of the flip angle or acceleration, thereby starting the screen capture function corresponding to the value range.
  • the motion state parameter may include only one of a flip angle or an acceleration, and the manner in which only one of the parameter setting thresholds is acquired has been described above.
  • the motion state parameter may include a flip angle and an acceleration of the terminal.
  • two thresholds may be set respectively for the flip angle and the acceleration, for example, the flip angle is set.
  • the first preset threshold and the second preset threshold are used to set a third preset threshold and a fourth preset threshold for the acceleration, and the corresponding parameters are started when the two parameters of the flip angle or the acceleration satisfy the corresponding preset threshold.
  • the screen capture function for example, the flip angle is less than the first preset threshold, and the acceleration is less than the third preset threshold; the flip angle is greater than the first preset threshold and less than the second preset The threshold is set, and the acceleration is greater than the third preset threshold and less than the fourth preset threshold; the flip angle is greater than the second preset threshold, and the acceleration is greater than the fourth preset threshold.
  • the motion state parameter may also include the number of shaking or the number of inversions of the terminal.
  • two thresholds are preset, including a first preset threshold and a second preset threshold. Each threshold interval corresponds to a different screen capture function, and the number of shaking times or the number of flips is compared with the preset two thresholds, thereby starting Corresponding screen capture function.
  • the motion state parameter is the number of shaking
  • the number of shaking can also be determined by obtaining the acceleration. For example, whenever the terminal generates an acceleration, the terminal is considered to be shaken once, and if the number of shaking is greater than or equal to 1 time in the preset time interval. And less than or equal to 3 times, it can be considered as a valid operation.
  • the motion state parameter is the number of flips
  • the number of flips can be determined by obtaining the flip angle.
  • the flip angle and acceleration of the terminal can be obtained by an angular velocity sensor.
  • the surface touch (Force Touch) sensing function can be used to identify the user's pressing operation on the touch screen.
  • the screen capture method provided by the embodiment of the present invention initiates a screen capture operation by receiving a screen capture instruction, and the manner of initiating the screen capture operation may be: acquiring a motion state parameter of the terminal, and then comparing the motion state parameter with a preset threshold value, thereby comparing As a result, the screen capture type is determined to activate the corresponding screen capture function, and the screen is screened according to the user's operation on the touch screen; the embodiment of the present invention implements three screen capture operations by the above method, and unifies the entrance of the long screen, the free screen capture and the common screen capture. It simplifies the steps of the terminal screen capture operation and optimizes the user experience.
  • the screen capture method provided in this embodiment may include the following steps, namely, S310. ⁇ S360:
  • the upper layer software accepts the acceleration and flip angle uploaded by the angular velocity sensor, and compares the acceleration and the flip angle with a preset threshold to determine that the operation is normal. Screen capture, free screenshot or long screen capture.
  • S330 Compare the flip angle or the acceleration with the preset threshold, and determine the screen capture type according to the comparison result: when the flip angle or the acceleration is less than the first preset threshold, perform S340; when the flip angle or acceleration is greater than the first preset When the threshold is less than the second preset threshold, S350 is performed; when the flip angle or the acceleration is greater than the second preset threshold, S360 is performed.
  • S340 when the flip angle is smaller than the first preset threshold and the acceleration is less than the third preset threshold, S340 is performed; when the flip angle is greater than the first preset When the threshold is smaller than the second preset threshold, and the acceleration is greater than the third preset threshold and less than the fourth preset threshold, S350 is performed; when the flip angle is greater than the second preset threshold, and the acceleration is greater than the fourth preset At the threshold, S360 is executed.
  • FIG. 4 is a flowchart of a common screen capture operation in the screen capture method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a normal screen capture operation according to a user's screen capture method.
  • the process may include the following steps, namely, S341 to S344:
  • FIG. 5 is a schematic diagram of a common screen capture in the screen capture method provided by the embodiment of the present invention.
  • FIG. 6 is a flowchart of a free screen capture operation according to a screen capture method provided by an embodiment of the present invention
  • FIG. 6 is a flowchart of a screen capture operation performed by a user.
  • the process may include the following steps, namely S351 to S354:
  • S352 Determine whether the pressing operation draws a closed curve on the touch screen, and draw the closed curve.
  • the pressure value of the line is greater than or equal to the preset pressure threshold; if so, S353 is performed, otherwise, S354 is performed.
  • FIG. 7 is a schematic diagram of a free screen shot in the screen capture method provided by the embodiment of the present invention, and the dotted line in FIG. 7 is a closed curve drawn by the user.
  • the screen capture content is the content displayed in the closed curve;
  • FIG. 8 a flowchart of a long screen operation in the screen capture method provided by the embodiment of the present invention is shown in FIG. 8 .
  • the process may include the following steps, namely, S361 to S364:
  • FIG. 9 is a schematic diagram of a long screen shot in a screen capture method according to an embodiment of the present invention. For example, when the long screen capture function is activated, the user scrolls and displays 1.5 screens based on the current display of the display content of the touch screen. At the same time, the pressing of the touch screen is cancelled, and the screen capture content acquired at this time is the content of the 1.5 screen scroll display.
  • the frame in the screen capture content obtained in FIG. 5, FIG. 7 and FIG. 9 is only for indicating the content in the frame, that is, the content of the screen capture.
  • the screen capture content may be without a frame.
  • the screen capture method provided by the embodiment of the present invention initiates a screen capture operation by receiving a screen capture instruction, and the manner of initiating the screen capture operation may be: acquiring a motion state parameter of the terminal, and then comparing the motion state parameter with a preset threshold value, thereby comparing The result determines the screen type to start the corresponding cut Screen function, and according to the user's operation of the touch screen screen capture; the embodiment of the present invention achieves three screen capture operations by the above method, unifying the entrance of the long screen, free screen capture and common screen capture, simplifying the steps of the terminal screen capture operation, Optimized user experience.
  • the button combination initiates a screen capture operation, for example, the combination button is, for example, a power button + volume up/down button, and then turns on the free screen capture function by flipping the phone, and sends a screen shot of the display content that the user wants to display to the friend to be sent to the friend.
  • the combination button is, for example, a power button + volume up/down button, and then turns on the free screen capture function by flipping the phone, and sends a screen shot of the display content that the user wants to display to the friend to be sent to the friend.
  • FIG. 10 a schematic diagram of a screen capture device according to an embodiment of the present invention may be provided.
  • the receiving unit 710 is configured to: receive a screen capture instruction
  • the parameter obtaining unit 720 is configured to: acquire a motion state parameter of the terminal;
  • the function starting unit 730 is configured to: compare the motion state parameter acquired by the parameter obtaining unit 720 with a preset threshold, determine a screen capture type according to the comparison result, and start a corresponding screen capture function, where the screen capture type includes a common screen capture and a free screen capture. Or one of the long screen shots;
  • the screen capture unit 740 is configured to perform a screen capture according to a user's pressing operation on the touch screen.
  • the apparatus may further include:
  • the setting unit is configured to: preset a screen capture instruction, where the screen capture instruction comprises a physical button combination operation instruction or a frame operation instruction.
  • a screen shot instruction can be set by setting a screen shot combination key. For example, set the screen capture command to: home button + volume up/down button, or power button + volume up/down button.
  • the two thresholds may be preset, including the first preset threshold and the second preset threshold.
  • the two thresholds constitute three numerical intervals, and the three numerical intervals are respectively smaller than the threshold first preset threshold, greater than the threshold first preset threshold and smaller than the second preset threshold, and greater than the second preset threshold, each The numerical interval corresponds to different screen capture functions, and the function activation unit 730 compares the flip angle or acceleration with the preset two thresholds to determine the number of the flip angle or the number of the acceleration. The value interval, thereby starting the screen capture function corresponding to the value interval.
  • the motion state parameter may include only one of a flip angle or an acceleration, and the manner in which only one of the parameter setting thresholds is acquired has been described above.
  • the motion state parameter acquired by the parameter obtaining unit 720 may include a flip angle and an acceleration of the terminal, and at this time, two threshold values may be respectively set for the flip angle and the acceleration, For example, the first preset threshold and the second preset threshold are set for the flip angle, and the third preset threshold and the fourth preset threshold are set for the acceleration, and the two parameters of the flip angle or the acceleration satisfy the corresponding preset threshold.
  • the corresponding screen capture function is activated, for example, the flip angle is less than the first preset threshold, and the acceleration is less than the third preset threshold; the flip angle is greater than the first preset threshold and less than the second preset threshold, and the acceleration is greater than the third preset
  • the threshold is set to be smaller than the fourth preset threshold; the flip angle is greater than the second preset threshold, and the acceleration is greater than the fourth preset threshold.
  • the motion state parameter acquired by the parameter obtaining unit 720 includes: a flip angle and/or an acceleration of the terminal.
  • the function activation unit 730 is further configured to: when the flip angle or the acceleration is less than the first preset threshold, determine that the screen capture type is a normal screen capture and activate a normal screen capture function; the function activation unit 730 is further configured to: at the flip angle or When the acceleration is greater than the first preset threshold is less than the second preset threshold, determining that the screen capture type is a free screen capture and activating the free screen capture function; the function activation unit 730 is further configured to: the flip angle or the acceleration is greater than the second preset When the threshold is determined, it is determined that the screen capture type is a long screen capture and the long screen capture function is activated.
  • the function activation unit 730 is further configured to: when the flip angle is less than the first preset threshold, and the acceleration is less than the third preset threshold, determine that the screen capture type is a normal screen capture and initiate a normal screen capture function; the function startup unit is further configured to: When the flip angle is greater than the first preset threshold and less than the second preset threshold, and the acceleration is greater than the third preset threshold and less than the fourth preset threshold, determining that the screen capture type is a free screen capture and initiating a free screen capture function; And being further configured to: when the flip angle is greater than the second preset threshold, and the acceleration is greater than the fourth preset threshold, determine that the screen capture type is a long screen capture and initiate a long screen capture function.
  • the motion state parameter acquired by the parameter obtaining unit 720 may also include the number of shaking or the number of times of the terminal.
  • two thresholds are preset, including a first preset threshold and a second preset threshold, and each threshold interval corresponds to a different screen capture function, and the number of times of shaking or the number of flips is preset. The two thresholds are compared to initiate the corresponding screen capture function.
  • the parameter obtaining unit 720 is further configured to: determine the number of times of shaking by acquiring the acceleration, for example, whenever the terminal generates an acceleration, the terminal is considered to be shaken once, if at a preset time interval.
  • the number of internal shakings is greater than or equal to 1 and less than or equal to 3 times, which can be considered as an effective operation.
  • the parameter obtaining unit 720 is further configured to: determine the number of times of flipping by acquiring the flip angle.
  • the flip angle and acceleration of the terminal can be obtained by an angular velocity sensor.
  • the screen capture unit 740 is further configured to: when the normal screen capture function is activated, if it is determined that the pressure value of the pressure point of the operation is greater than or equal to the preset pressure threshold, the current entire interception is performed.
  • the screen display unit 740 is further configured to: when the normal screen capture function is activated, if it is determined that the operation is to draw a closed curve on the touch screen, and the pressure value of the closed curve is greater than or equal to the preset pressure threshold And intercepting the display content in the area of the closed curve; the screen capture unit 740 is further configured to: when the long screen capture function is activated, if it is determined that the pressure value of the pressure point of the operation is greater than or equal to the preset pressure threshold, the scroll display The display content of the touch screen disappears until the pressure point pressure is captured, and all the scroll display contents are intercepted.
  • the screen capture device may further include: an identification unit configured to: identify, by the surface touch sensing function, the pressing operation of the touch screen by the user.
  • the screen capture device provided by the embodiment of the present invention initiates a screen capture operation by the screen capture instruction received by the receiving unit, and the manner of initiating the screen capture operation may be: the parameter acquisition unit acquires the motion state parameter of the terminal, and then the function startup unit compares the motion state parameter with the preset The threshold is compared to determine the screen type according to the comparison result to activate the corresponding screen capture function, and the screen capture unit performs screen capture according to the operation of the touch screen by the user; the embodiment of the present invention implements three screen capture operations by using the above device, and unified The long screen, free screen capture and normal screen captures simplify the steps of the terminal screen capture operation and optimize the user experience.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiment of the present invention initiates a screen capture operation by receiving a screen capture instruction, and the manner of initiating the screen capture operation may be: acquiring a motion state parameter of the terminal, and then comparing the motion state parameter with a preset threshold value, thereby determining a screen capture type according to the comparison result.
  • the corresponding screen capture function is activated, and the screen is screened according to the user's operation on the touch screen; the embodiment of the present invention implements three screen capture operations by the above method, and unifies the entrance of the long screen, the free screen and the normal screen capture, and simplifies the terminal screen capture operation. Steps to optimize the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种截屏方法及装置,其中,该方法包括:接收截屏指令;获取终端的运动状态参数;将所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,该截屏类型包括普通截屏、自由截屏或长截屏中的一种;根据用户对触屏的按压操作进行截屏。

Description

一种截屏方法及装置 技术领域
本申请涉及但不限于电子装置技术领域。
背景技术
随着通信技术的发展,手机等终端设备的功能也越来越丰富。在使用终端设备的过程中,如果用户想要保留当前屏幕的画面,例如,需要保留游戏画面、聊天记录、游戏记录等等,就需要用到截屏功能。根据用户需求的不同,相关技术中终端设备的截屏功能通常包括三种:普通截屏,可以截取整个屏幕;自由截屏,可以由用户自主决定截屏范围,这种方式适用于用户出于隐私等方面的考虑,只想截取部分内容的情况;长截屏,在有些情况下,用户不仅需要截出手机一屏的内容,还需要截出超过界面的内容,例如聊天软件中的一段对话非常长,超过一屏,需要一次性截出一张长图,这时需要用到长截屏功能。
上述几种截屏功能虽然实现了用户在不同场景下进行不同截屏的需求,但是在相关技术中,终端设备的普通截屏、自由截屏和长截屏入口并不一致,同一类的功能在相同设备上有三个截然不同的入口和操作方式,对用户来说在认知和操作上造成非常大的学习成本,严重影响用户体验。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本文提出一种截屏方法及装置,以解决相关技术中终端设备的普通截屏、自由截屏和长截屏入口并一致,给用户来在认知和操作上造成较大大的学习成本,影响用户体验的问题。
一种截屏方法,所述方法包括:
接收截屏指令;
获取终端的运动状态参数;
将所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,所述截屏类型包括普通截屏、自由截屏或长截屏中的一种;
根据用户对触屏的按压操作进行截屏。
可选地,作为一种实施方式,所述运动状态参数包括以下一项或多项:所述终端的翻转角度、加速度、晃动次数和翻转次数。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的翻转角度或加速度时,所述将所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,包括:
当所述翻转角度或加速度小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
当所述翻转角度或加速度大于所述第一预设阈值且小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
当所述翻转角度或加速度大于所述第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的翻转角度和加速度时,所述将所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,包括:
当所述翻转角度小于第一预设阈值,且所述加速度小于第三预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
当所述翻转角度大于所述第一预设阈值且小于第二预设阈值,且所述加速度大于所述第三预设阈值且小于第四预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
当所述翻转角度大于所述第二预设阈值,且所述加速度大于所述第四预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的晃动次数或翻转次数,所述将所述运动状态参数与预设阈值进行比对,根据比对 结果确定截屏类型并启动相应的截屏功能,包括:
当所述晃动次数或翻转次数小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
当所述晃动次数或翻转次数大于所述第一预设阈值且小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
当所述晃动次数或翻转次数大于所述第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的晃动次数时,所述方法还包括:
通过获取所述终端的加速度确定所述终端的晃动次数。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的翻转次数时,所述方法还包括:
通过获取所述终端的翻转角度确定所述终端的翻转次数。
可选地,作为一种实施方式,所述根据用户对触屏的操作进行截屏,包括:
当启动普通截屏功能时,若判断出所述操作的压力点的压力值大于或等于预设压力阈值时,截取当前整个屏幕的显示内容;
当启动自由截屏功能时,若判断出所述操作在所述触屏上绘制了封闭曲线,且绘制所述封闭曲线的压力值大于或等于所述预设压力阈值时,截取所述封闭曲线的区域内的显示内容;
当启动长截屏功能时,若判断出所述操作的压力点的压力值大于或等于所述预设压力阈值时,滚动显示所述触屏的显示内容,直至压力点压力消失,截取所有滚动显示的内容。
可选地,作为一种实施方式,所述接收截屏指令之前,所述方法还包括:
预先设置截屏指令,所述截屏指令包括物理按键组合操作指令或边框操作指令。
可选地,作为一种实施方式,所述根据用户对触屏的按压操作进行截屏 之前,所述方法还包括:
通过表面触摸传感功能识别所述用户对所述触屏的按压操作。
一种截屏装置,包括:
接收单元,设置为:接收截屏指令;
参数获取单元,设置为:获取终端的运动状态参数;
功能启动单元,设置为:将所述参数获取单元获取的所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,所述截屏类型包括普通截屏、自由截屏或长截屏中的一种;
截屏单元,设置为:根据用户对触屏的按压操作进行截屏。
可选地,作为一种实施方式,所述参数获取单元获取的所述运动状态参数包括以下一项或多项:所述终端的翻转角度、加速度、晃动次数和翻转次数。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的翻转角度或加速度时,所述功能启动单元,还设置为:在所述翻转角度或加速度小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
所述功能启动单元,还设置为:在所述翻转角度或加速度大于所述第一预设阈值小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
所述功能启动单元,还设置为:在所述翻转角度或加速度大于所述第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的翻转角度或加速度时,所述功能启动单元,还设置为:在所述翻转角度小于第一预设阈值,且所述加速度小于第三预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
所述功能启动单元,还设置为:在所述翻转角度大于所述第一预设阈值且小于第二预设阈值,且所述加速度大于所述第三预设阈值且小于第四预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
所述功能启动单元,还设置为:在所述翻转角度大于所述第二预设阈值,且所述加速度大于所述第四预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的晃动次数或翻转次数,所述功能启动单元,还设置为:在所述晃动次数或翻转次数小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
所述功能启动单元,还设置为:在所述晃动次数或翻转次数大于所述第一预设阈值且小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
所述功能启动单元,还设置为:在所述晃动次数或翻转次数大于所述第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的晃动次数时,所述参数获取单元,还设置为:通过获取所述终端的加速度确定所述终端的晃动次数。
可选地,作为一种实施方式,当所述运动状态参数包括所述终端的翻转次数时,所述参数获取单元,还设置为:通过获取所述终端的翻转角度确定所述终端的翻转次数。
可选地,作为一种实施方式,所述截屏单元,还设置为:在启动普通截屏功能时,若判断出所述操作的压力点的压力值大于或等于预设压力阈值时,截取当前整个屏幕的显示内容;
所述截屏单元,还设置为:在启动普通截屏功能时,若判断出所述操作为在所述触屏绘制封闭曲线,且绘制所述封闭曲线的压力值大于或等于所述预设压力阈值时,截取所述封闭曲线的区域内的显示内容;
所述截屏单元,还设置为:在启动长截屏功能时,若判断出所述操作的压力点的压力值大于或等于所述预设压力阈值时,滚动显示所述触屏的显示内容,直至压力点压力消失,截取所有滚动显示的内容。
可选地,作为一种实施方式,所述装置还包括:
设置单元,设置为:预先设置截屏指令,所述截屏指令包括物理按键组 合操作指令或边框操作指令。
可选地,作为一种实施方式,所述装置还包括:
识别单元,设置为:通过表面触摸传感功能识别所述用户对所述触屏的按压操作。
本发明实施例提供的截屏方法及装置,通过接收到的截屏指令发起截屏操作,发起截屏操作的方式可以为,获取终端的运动状态参数,然后将该运动状态参数与预设阈值进行对比,从而根据对比结果确定截屏类型以启动相应的截屏功能,并根据用户对触屏的操作进行截屏;本发明实施例通过上述方法,实现了三种截屏操作,统一了长截屏、自由截屏与普通截屏的入口,简化了终端截屏操作的步骤,优化了用户体验。另外,在长截屏模式下,使得用户能够自由选择截屏的长度。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为实现本发明实施例提供的移动终端的硬件结构示意图;
图2为本发明实施例提供的一种截屏方法的流程图;
图3为本发明实施例提供的另一种截屏方法的流程图;
图4为本发明实施例提供的截屏方法中一种普通截屏操作的流程图;
图5为本发明实施例提供的截屏方法中一种普通截屏的示意图;
图6为本发明实施例提供的截屏方法中一种自由截屏操作的流程图;
图7为本发明实施例提供的截屏方法中一种自由截屏的示意图;
图8为本发明实施例提供的截屏方法中一种长截屏操作的流程图;
图9为本发明实施例提供的截屏方法中一种长截屏的示意图;
图10本发明实施例提供的一种截屏装置的结构示意图。
本发明的实施方式
应当理解,以下所描述的实施例仅仅用以解释本发明,并不用于限定本 发明。
下文中将结合附图对本发明的实施方式进行详细说明。需要说明的是,在不冲突的情况下,本文中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸根据一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
本发明实施例的一种截屏装置可应用于终端中。现在将参考附图描述实现本发明各个实施例的终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
图1为实现本发明实施例提供的移动终端的硬件结构示意图。
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元可以包括移动通信模块112、无线互联网模块113、短程通信模块114中的至少一个。
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息 发送和/或接收的各种类型的数据。
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风1220,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示模块151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机1210。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示模块151上时,可以形成触摸屏。
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开 还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。
接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为"识别装置")可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示模块151、音频输出模块152等等。
显示模块151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示模块151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示模块151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。
同时,当显示模块151和触摸板以层的形式彼此叠加以形成触摸屏时,显示模块151可以用作输入装置和输出装置。显示模块151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔 性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块1810,多媒体模块1810可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供 操作各元件和组件所需的适当的电力。
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。
现在将参考图1描述其中根据本发明实施例提供的移动终端能够操作的通信系统。
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。
基于上述移动终端硬件结构,提出本发明的截屏方法和装置的以下实施例。
如图2所示,为本发明实施例提供的一种截屏方法的流程图,本发明实 施例提供的截屏方法可以包括如下步骤,即S210~S240:
S210、接收截屏指令;
S220、获取终端的运动状态参数;
S230、将该运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,该截屏类型包括普通截屏、自由截屏或长截屏中的一种;
S240、根据用户对触屏的按压操作进行截屏。
可选地,在本发明实施例中,在S210之前,该方法还包括:
预先设置截屏指令,该截屏指令包括物理按键组合操作指令或边框操作指令。
举例来说,可以通过设置截屏组合键来设置截屏指令。例如,设置截屏指令为:home键+音量上/下键,或者,电源键+音量上/下键等。
可选地,在本发明实施例的中,上述实施例的S230中将该运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能的实现方式,可以包括:
当运动状态参数包括终端的翻转角度或加速度时,预设两个阈值,包括第一预设阈值和第二预设阈值,该两个阈值构成三个数值区间,三个数值区间分别为:小于第一预设阈值,大于第一预设阈值且小于第二预设阈值,大于第二预设阈值,每个数值区间对应不同的截屏功能,将翻转角度或加速度与预设的两个阈值比较,确定翻转角度或加速度所属的数值区间,从而启动该数值区间对应的截屏功能。在实际应用中,运动状态参数可以仅包括翻转角度或者加速度中的一个,上述已经说明仅获取其中一个参数设置阈值的方式。可选地,在本发明实施例的另一种应用场景中,该运动状态参数可以包括终端的翻转角度和加速度,此时,可以分别对翻转角度和加速度设置两个阈值,例如对翻转角度设置第一预设阈值和第二预设阈值,对加速度设置第三预设阈值和第四预设阈值,在翻转角度或加速度这两个参数均满足相应预设阈值的情况下,才启动相应的截屏功能,例如,翻转角度小于第一预设阈值,且加速度小于第三预设阈值;翻转角度大于第一预设阈值且小于第二预 设阈值,且加速度大于第三预设阈值且小于第四预设阈值;翻转角度大于第二预设阈值,且加速度大于第四预设阈值。
在实际应用中,运动状态参数也可以包括终端的晃动次数或者翻转次数。此时预设两个阈值,包括第一预设阈值和第二预设阈值,每个阈值区间对应不同的截屏功能,将晃动次数或翻转次数与预设的两个个阈值进行比较,从而启动对应的截屏功能。当运动状态参数为晃动次数时,也可以通过获取加速度确定晃动的次数,比如每当终端产生一次加速的,就认为终端晃动了一次,如果在预设的时间间隔内晃动的次数大于等于1次且小于等于3次,就可以认为是有效的操作。当运动状态参数为翻转次数时,则可以通过获取翻转角度确定翻转的次数。
在实际应用中,可以通过角速度传感器获取终端的翻转角度和加速度。
在实际应用中,可以采用表面触摸(Force Touch)传感功能对用户针对触屏的按压操作进行识别。
本发明实施例提供的截屏方法,通过接收到的截屏指令发起截屏操作,发起截屏操作的方式可以为,获取终端的运动状态参数,然后将该运动状态参数与预设阈值进行对比,从而根据对比结果确定截屏类型以启动相应的截屏功能,并根据用户对触屏的操作进行截屏;本发明实施例通过上述方法,实现了三种截屏操作,统一了长截屏、自由截屏与普通截屏的入口,简化了终端截屏操作的步骤,优化了用户体验。
可选地,在本发明上述实施例的基础上,如图3所示,为本发明实施例提供的另一种截屏方法的流程图,本实施例提供的截屏方法可以包括如下步骤,即S310~S360:
S310、接收截屏指令。
S320、发起截屏操作,获取角速度传感器监测到的终端的翻转角度或加速度。
当截屏操作执行时,上层软件接受角速度传感器上传的加速度和翻转角度,并将此次加速度和翻转角度与预设阈值进行比较,判断此次操作为普通 截屏、自由截屏还是长截屏。
S330、将翻转角度或加速度与预设阈值进行比对,根据比对结果判断截屏类型:当翻转角度或加速度小于第一预设阈值时,执行S340;当翻转角度或加速度大于该第一预设阈值且小于第二预设阈值时,执行S350;当翻转角度或加速度大于该第二预设阈值时,执行S360。
上述S330为仅对比翻转角度或加速度的应用场景中,在同时对比翻转角度和加速度的应用场景中,需要对转角度和加速度分别设置两个阈值,并且在翻转角度或加速度者两个参数均满足预设阈值的情况下,才启动相应的截屏功能;在实际应用中,当翻转角度小于第一预设阈值,且加速度小于第三预设阈值时,执行S340;当翻转角度大于第一预设阈值且小于第二预设阈值,且加速度大于所述第三预设阈值且小于第四预设阈值时,执行S350;当翻转角度大于第二预设阈值,且加速度大于所述第四预设阈值时,执行S360。
S340、启动普通截屏功能。
可选地,当启动普通截屏功能后,根据用户对触屏的按压操作进行截屏的流程请参阅图4,为本发明实施例提供的截屏方法中一种普通截屏操作的流程图,图4所述流程可以包括如下步骤,即S341~S344:
S341、接收用户对触屏的按压操作;
S342、判断压力点的压力值是否大于或等于预设压力阈值;若是,则执行S343,否则,则执行S344;
S343、截取当前整个屏幕的显示内容,如图5所示,为本发明实施例提供的截屏方法中一种普通截屏的示意图;
S344、确认当前操作为误操作,并忽略此次操作。
S350、启动自由截屏功能。
可选地,当启动自由截屏功能后,根据用户对触屏的按压操作进行截屏的流程请参阅图6,为本发明实施例提供的截屏方法中一种自由截屏操作的流程图,图6所述流程可以包括如下步骤,即S351~S354:
S351、接收用户对触屏的按压操作;
S352、判断按压操作是否在该触屏上绘制了封闭曲线,且绘制该封闭曲 线的压力值大于或等于该预设压力阈值;若是,则执行S353,否则,则执行S354。
S353、截取该封闭曲线的区域内的显示内容,如图7所示,为本发明实施例提供的截屏方法中一种自由截屏的示意图,图7中的虚线为用户绘制的封闭曲线,获取的截屏内容为封闭曲线内显示的内容;
S354、确认当前操作为误操作,并忽略此次操作。
S360、启动长截屏功能。
可选地,当启动长截屏功能后,根据用户对触屏的按压操作进行截屏的流程请参阅图8,为本发明实施例提供的截屏方法中一种长截屏操作的流程图,图8所述流程可以包括如下步骤,即S361~S364:
S361、接收用户对触屏的按压操作。
S362、判断压力点的压力值是否大于或等于预设压力阈值;若是,则执行S363,否则,执行S364;
S363、滚动显示该触屏的显示内容,直至压力点压力消失,截取所有滚动显示的内容;
S364、确认当前操作为误操作,并忽略此次操作。
相比于相关技术中的长截屏是一屏一屏的截取,再进行拼接,因而不能截取大于一个完整屏(例如为1.5屏)的内容的缺陷,本实施例中的长截屏可以通过按压操作滚动显示触屏的显示内容,并将所有滚动至主界面的显示内容截屏,使得用户可以自由选择截屏的长度。如图9所示,为本发明实施例提供的截屏方法中一种长截屏的示意图,例如,当启动了长截屏功能后,用户在触屏的显示内容当前的显示基础上滚动显示了1.5屏时,取消对触屏的按压,此时获取的截屏内容为滚动显示的1.5屏的内容。
需要说明的是,图5、图7以及图9中获取的截屏内容中的边框仅是为了表示边框内的内容即为截屏的内容,实际应用中截屏内容可以不带边框。
本发明实施例提供的截屏方法,通过接收到的截屏指令发起截屏操作,发起截屏操作的方式可以为,获取终端的运动状态参数,然后将该运动状态参数与预设阈值进行对比,从而根据对比结果确定截屏类型以启动相应的截 屏功能,并根据用户对触屏的操作进行截屏;本发明实施例通过上述方法,实现了三种截屏操作,统一了长截屏、自由截屏与普通截屏的入口,简化了终端截屏操作的步骤,优化了用户体验。
举例来说,当用户与朋友用聊天软件(如微信)聊天时,需要分享一段非常重要的信息给另一个朋友,但是又不能泄露其他人的隐私,采用复制的手段又太慢,则可以通过按键组合发起截屏操作,例如组合按键例如为如电源键+音量上/下键,然后通过翻转手机开启自由截屏功能,把用户想展示给朋友的显示内容截屏发给朋友。
如图10所示,为本发明实施例提供的一种截屏装置的结构示意图,本发明实施例提供的终端截屏的装置可以包括:
接收单元710,设置为:接收截屏指令;
参数获取单元720,设置为:获取终端的运动状态参数;
功能启动单元730,设置为:将参数获取单元720获取的该运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,该截屏类型包括普通截屏、自由截屏或长截屏中的一种;
截屏单元740,设置为:根据用户对触屏的按压操作进行截屏。
可选地,在本发明实施例中,该装置还可以包括:
设置单元,设置为:预先设置截屏指令,该截屏指令包括物理按键组合操作指令或边框操作指令。
举例来说,可以通过设置截屏组合键来设置截屏指令。例如,设置截屏指令为:home键+音量上/下键,或者,电源键+音量上/下键等。
可选地,在本发明实施例中,当参数获取单元720获取的运动状态参数包括移动终端的翻转角度或加速度时,可以预设两个阈值,包括第一预设阈值和第二预设阈值,该两个阈值构成三个数值区间,三个数值区间分别为:小于阈值第一预设阈值,大于阈值第一预设阈值且小于第二预设阈值,大于第二预设阈值,每个数值区间对应不同的截屏功能,功能启动单元730则将翻转角度或加速度与预设的两个阈值比较,确定翻转角度或加速度所属的数 值区间,从而启动该数值区间对应的截屏功能。在实际应用中,运动状态参数可以仅包括翻转角度或者加速度中的一个,上述已经说明仅获取其中一个参数设置阈值的方式。可选地,在本发明实施例的另一种应用场景中,参数获取单元720获取的运动状态参数可以包括终端的翻转角度和加速度,此时,可以分别对翻转角度和加速度设置两个阈值,例如对翻转角度设置第一预设阈值和第二预设阈值,对加速度设置第三预设阈值和第四预设阈值,在翻转角度或加速度这两个参数均满足相应预设阈值的情况下,才启动相应的截屏功能,例如,翻转角度小于第一预设阈值,且加速度小于第三预设阈值;翻转角度大于第一预设阈值且小于第二预设阈值,且加速度大于第三预设阈值且小于第四预设阈值;翻转角度大于第二预设阈值,且加速度大于第四预设阈值。
可选地,在本发明实施例中,当参数获取单元720获取的运动状态参数包括:该终端的翻转角度和/或加速度时。
功能启动单元730,还设置为:在该翻转角度或加速度小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;该功能启动单元730,还设置为:在该翻转角度或加速度大于该第一预设阈值小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;该功能启动单元730,还设置为:在该翻转角度或加速度大于该第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
功能启动单元730,还设置为:在翻转角度小于第一预设阈值,且加速度小于第三预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;该功能启动单元,还设置为:在翻转角度大于第一预设阈值且小于第二预设阈值,且加速度大于第三预设阈值且小于第四预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;该功能启动单元,还设置为:在翻转角度大于第二预设阈值,且加速度大于第四预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
在实际应用中,参数获取单元720获取的运动状态参数也可以包括终端的晃动次数或者翻转次数。此时预设两个阈值,包括第一预设阈值和第二预设阈值,每个阈值区间对应不同的截屏功能,将晃动次数或翻转次数与预设 的两个阈值进行比较,从而启动对应的截屏功能。当运动状态参数为晃动次数时,上述参数获取单元720,还设置为:通过获取加速度确定晃动的次数,比如每当终端产生一次加速的,就认为终端晃动了一次,如果在预设的时间间隔内晃动的次数大于等于1次且小于等于3次,就可以认为是有效的操作。当运动状态参数为翻转次数时,上述参数获取单元720,还设置为:通过获取翻转角度确定翻转的次数。
在实际应用中,可以通过角速度传感器获取终端的翻转角度和加速度。
可选地,在本发明实施例中,该截屏单元740,还设置为:在启动普通截屏功能时,若判断出该操作的压力点的压力值大于或等于预设压力阈值时,截取当前整个屏幕的显示内容;该截屏单元740,还设置为:在启动普通截屏功能时,若判断出该操作为在该触屏绘制封闭曲线,且封闭曲线的压力值大于或等于该预设压力阈值时,截取该封闭曲线的区域内的显示内容;该截屏单元740,还设置为:在启动长截屏功能时,若判断出该操作的压力点的压力值大于或等于该预设压力阈值,滚动显示该触屏的显示内容,直至压力点压力消失,截取所有滚动显示的内容。
可选地,在本发明实施例中,截屏装置还可以包括:识别单元,设置为:通过表面触摸传感功能识别所述用户对所述触屏的按压操作。
本发明实施例提供的截屏装置,通过接收单元接收到的截屏指令发起截屏操作,发起截屏操作的方式可以为,参数获取单元获取终端的运动状态参数,然后功能启动单元将该运动状态参数与预设阈值进行对比,从而根据对比结果确定截屏类型以启动相应的截屏功能,并由截屏单元根据用户对触屏的操作进行截屏;本发明实施例通过上述装置,实现了三种截屏操作,统一了长截屏、自由截屏与普通截屏的入口,简化了终端截屏操作的步骤,优化了用户体验。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的 情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的实施例和可选实施例方式,并非因此限制本发明实施例的保护范围,凡是利用本文说明书及说明书附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(根据系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例通过接收到的截屏指令发起截屏操作,发起截屏操作的方式可以为,获取终端的运动状态参数,然后将该运动状态参数与预设阈值进行对比,从而根据对比结果确定截屏类型以启动相应的截屏功能,并根据用户对触屏的操作进行截屏;本发明实施例通过上述方法,实现了三种截屏操作,统一了长截屏、自由截屏与普通截屏的入口,简化了终端截屏操作的步骤,优化了用户体验。

Claims (20)

  1. 一种截屏方法,包括:
    接收截屏指令;
    获取终端的运动状态参数;
    将所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,所述截屏类型包括普通截屏、自由截屏或长截屏中的一种;
    根据用户对触屏的按压操作进行截屏。
  2. 根据权利要求1所述的方法,其中,所述运动状态参数包括以下一项或多项:所述终端的翻转角度、加速度、晃动次数和翻转次数。
  3. 根据权利要求2所述的方法,其中,当所述运动状态参数包括所述终端的翻转角度或加速度时,所述将所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,包括:
    当所述翻转角度或加速度小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
    当所述翻转角度或加速度大于所述第一预设阈值且小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
    当所述翻转角度或加速度大于所述第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
  4. 根据权利要求2所述的方法,其中,当所述运动状态参数包括所述终端的翻转角度和加速度时,所述将所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,包括:
    当所述翻转角度小于第一预设阈值,且所述加速度小于第三预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
    当所述翻转角度大于所述第一预设阈值且小于第二预设阈值,且所述加速度大于所述第三预设阈值且小于第四预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
    当所述翻转角度大于所述第二预设阈值,且所述加速度大于所述第四预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
  5. 根据权利要求2所述的方法,其中,当所述运动状态参数包括所述终端的晃动次数或翻转次数,所述将所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,包括:
    当所述晃动次数或翻转次数小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
    当所述晃动次数或翻转次数大于所述第一预设阈值且小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
    当所述晃动次数或翻转次数大于所述第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
  6. 根据权利要求2所述的方法,其中,当所述运动状态参数包括所述终端的晃动次数时,所述方法还包括:
    通过获取所述终端的加速度确定所述终端的晃动次数。
  7. 根据权利要求2所述的方法,其中,当所述运动状态参数包括所述终端的翻转次数时,所述方法还包括:
    通过获取所述终端的翻转角度确定所述终端的翻转次数。
  8. 根据权利要求1至7任一项所述的方法,其中,所述根据用户对触屏的操作进行截屏,包括:
    当启动普通截屏功能时,若判断出所述操作的压力点的压力值大于或等于预设压力阈值时,截取当前整个屏幕的显示内容;
    当启动自由截屏功能时,若判断出所述操作在所述触屏上绘制了封闭曲线,且绘制所述封闭曲线的压力值大于或等于所述预设压力阈值时,截取所述封闭曲线的区域内的显示内容;
    当启动长截屏功能时,若判断出所述操作的压力点的压力值大于或等于所述预设压力阈值时,滚动显示所述触屏的显示内容,直至压力点压力消失,截取所有滚动显示的内容。
  9. 根据权利要求1所述的方法,其中,所述接收截屏指令之前,所述方法还包括:
    预先设置截屏指令,所述截屏指令包括物理按键组合操作指令或边框操作指令。
  10. 根据权利要求1所述的方法,其中,所述根据用户对触屏的按压操作进行截屏之前,所述方法还包括:
    通过表面触摸传感功能识别所述用户对所述触屏的按压操作。
  11. 一种截屏装置,包括:
    接收单元,设置为:接收截屏指令;
    参数获取单元,设置为:获取终端的运动状态参数;
    功能启动单元,设置为:将所述参数获取单元获取的所述运动状态参数与预设阈值进行比对,根据比对结果确定截屏类型并启动相应的截屏功能,所述截屏类型包括普通截屏、自由截屏或长截屏中的一种;
    截屏单元,设置为:根据用户对触屏的按压操作进行截屏。
  12. 根据权利要求11所述的装置,其中,所述参数获取单元获取的所述运动状态参数包括以下一项或多项:所述终端的翻转角度、加速度、晃动次数和翻转次数。
  13. 根据权利要求12所述的装置,其中,当所述运动状态参数包括所述终端的翻转角度或加速度时,所述功能启动单元,还设置为:在所述翻转角度或加速度小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
    所述功能启动单元,还设置为:在所述翻转角度或加速度大于所述第一预设阈值小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
    所述功能启动单元,还设置为:在所述翻转角度或加速度大于所述第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
  14. 根据权利要求12所述的装置,其中,当所述运动状态参数包括所述终端的翻转角度或加速度时,所述功能启动单元,还设置为:在所述翻转角度小于第一预设阈值,且所述加速度小于第三预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
    所述功能启动单元,还设置为:在所述翻转角度大于所述第一预设阈值且小于第二预设阈值,且所述加速度大于所述第三预设阈值且小于第四预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
    所述功能启动单元,还设置为:在所述翻转角度大于所述第二预设阈值,且所述加速度大于所述第四预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
  15. 根据权利要求12所述的装置,其中,当所述运动状态参数包括所述终端的晃动次数或翻转次数,所述功能启动单元,还设置为:在所述晃动次数或翻转次数小于第一预设阈值时,确定截屏类型为普通截屏并启动普通截屏功能;
    所述功能启动单元,还设置为:在所述晃动次数或翻转次数大于所述第一预设阈值且小于第二预设阈值时,确定截屏类型为自由截屏并启动自由截屏功能;
    所述功能启动单元,还设置为:在所述晃动次数或翻转次数大于所述第二预设阈值时,确定截屏类型为长截屏并启动长截屏功能。
  16. 根据权利要求12所述的装置,其中,当所述运动状态参数包括所述终端的晃动次数时,所述参数获取单元,还设置为:通过获取所述终端的加速度确定所述终端的晃动次数。
  17. 根据权利要求12所述的装置,其中,当所述运动状态参数包括所述终端的翻转次数时,所述参数获取单元,还设置为:通过获取所述终端的翻转角度确定所述终端的翻转次数。
  18. 根据权利要求11至17任一项所述的装置,其中,
    所述截屏单元,还设置为:在启动普通截屏功能时,若判断出所述操作的压力点的压力值大于或等于预设压力阈值时,截取当前整个屏幕的显示内 容;
    所述截屏单元,还设置为:在启动普通截屏功能时,若判断出所述操作为在所述触屏绘制封闭曲线,且绘制所述封闭曲线的压力值大于或等于所述预设压力阈值时,截取所述封闭曲线的区域内的显示内容;
    所述截屏单元,还设置为:在启动长截屏功能时,若判断出所述操作的压力点的压力值大于或等于所述预设压力阈值时,滚动显示所述触屏的显示内容,直至压力点压力消失,截取所有滚动显示的内容。
  19. 根据权利要求11所述的装置,还包括:
    设置单元,设置为:预先设置截屏指令,所述截屏指令包括物理按键组合操作指令或边框操作指令。
  20. 根据权利要求11所述的装置,还包括:
    识别单元,设置为:通过表面触摸传感功能识别所述用户对所述触屏的按压操作。
PCT/CN2016/112412 2016-01-15 2016-12-27 一种截屏方法及装置 WO2017121239A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610029100.6A CN105718161A (zh) 2016-01-15 2016-01-15 一种终端截屏的方法及装置
CN201610029100.6 2016-01-15

Publications (1)

Publication Number Publication Date
WO2017121239A1 true WO2017121239A1 (zh) 2017-07-20

Family

ID=56147642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112412 WO2017121239A1 (zh) 2016-01-15 2016-12-27 一种截屏方法及装置

Country Status (2)

Country Link
CN (1) CN105718161A (zh)
WO (1) WO2017121239A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4057122A4 (en) * 2019-12-27 2023-01-25 Huawei Technologies Co., Ltd. SCREEN CAPTURE METHOD AND ASSOCIATED DEVICE

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718161A (zh) * 2016-01-15 2016-06-29 努比亚技术有限公司 一种终端截屏的方法及装置
CN106371718A (zh) * 2016-08-19 2017-02-01 乐视控股(北京)有限公司 一种截屏方法和装置
CN107870712B (zh) * 2016-09-23 2021-11-09 北京搜狗科技发展有限公司 一种截图处理方法及装置
CN106527881B (zh) * 2016-09-26 2019-08-20 维沃移动通信有限公司 一种启动截屏功能的方法和移动终端
CN106569704A (zh) * 2016-11-02 2017-04-19 珠海格力电器股份有限公司 移动终端及其截屏方法和装置
CN108174014A (zh) * 2016-12-07 2018-06-15 中兴通讯股份有限公司 一种截屏方法及装置
CN106802766A (zh) * 2016-12-22 2017-06-06 维沃移动通信有限公司 一种移动终端的控制方法及移动终端
CN107526511A (zh) * 2017-07-20 2017-12-29 深圳天珑无线科技有限公司 智能终端及其截屏方法、具有存储功能的装置
CN108205412B (zh) 2017-11-09 2019-10-11 中兴通讯股份有限公司 一种实现截屏的方法和装置
CN110162256A (zh) * 2018-02-12 2019-08-23 优视科技有限公司 浏览器的操作方法、介质和终端设备
CN109086113B (zh) * 2018-07-23 2021-06-15 Oppo(重庆)智能科技有限公司 截屏方法、装置以及移动终端
CN112703475A (zh) * 2018-11-28 2021-04-23 深圳市柔宇科技股份有限公司 截屏方法及折叠式电子终端
CN118113204A (zh) * 2019-03-22 2024-05-31 Oppo广东移动通信有限公司 长截屏方法、装置、终端及存储介质
CN113535014B (zh) * 2020-04-13 2024-02-02 中移(上海)信息通信科技有限公司 屏幕截取方法、装置、设置及介质
CN112843691B (zh) * 2020-12-31 2022-11-18 上海米哈游天命科技有限公司 拍摄图像的方法、装置、电子设备及存储介质
CN116998144A (zh) * 2021-04-16 2023-11-03 深圳传音控股股份有限公司 功能唤醒方法、终端及存储介质
CN117280311A (zh) * 2021-06-25 2023-12-22 深圳传音控股股份有限公司 页面获取方法、移动终端及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750420A (zh) * 2015-04-16 2015-07-01 努比亚技术有限公司 截屏方法及装置
CN104793884A (zh) * 2015-04-07 2015-07-22 广东欧珀移动通信有限公司 一种触摸截图方法及装置
US20150277638A1 (en) * 2014-03-26 2015-10-01 Jose Angel Bustamante System and method to control screen capture
CN105094588A (zh) * 2014-05-22 2015-11-25 北京三星通信技术研究有限公司 用于移动终端的数据处理方法和装置以及移动终端
CN105718161A (zh) * 2016-01-15 2016-06-29 努比亚技术有限公司 一种终端截屏的方法及装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080250331A1 (en) * 2007-04-04 2008-10-09 Atul Tulshibagwale Method and System of a Voting Based Wiki and Its Application to Internet Topic Directories
CN102929854A (zh) * 2012-09-20 2013-02-13 国家电网华中电力调控分中心 基于wams动态数据的自动报告生成系统
CN103558978A (zh) * 2013-10-17 2014-02-05 深圳市同洲电子股份有限公司 一种截取图像的方法、装置及系统
CN103714168B (zh) * 2013-12-31 2017-05-31 百度国际科技(深圳)有限公司 在具有触摸屏的电子智能设备中获取词条的方法及装置
CN104793870B (zh) * 2014-01-22 2018-05-22 阿里巴巴集团控股有限公司 数据分享方法和装置
CN104898926B (zh) * 2015-05-29 2018-04-27 努比亚技术有限公司 移动终端的屏幕截图方法及装置
CN105094628A (zh) * 2015-07-31 2015-11-25 联想(北京)有限公司 一种截屏方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150277638A1 (en) * 2014-03-26 2015-10-01 Jose Angel Bustamante System and method to control screen capture
CN105094588A (zh) * 2014-05-22 2015-11-25 北京三星通信技术研究有限公司 用于移动终端的数据处理方法和装置以及移动终端
CN104793884A (zh) * 2015-04-07 2015-07-22 广东欧珀移动通信有限公司 一种触摸截图方法及装置
CN104750420A (zh) * 2015-04-16 2015-07-01 努比亚技术有限公司 截屏方法及装置
CN105718161A (zh) * 2016-01-15 2016-06-29 努比亚技术有限公司 一种终端截屏的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4057122A4 (en) * 2019-12-27 2023-01-25 Huawei Technologies Co., Ltd. SCREEN CAPTURE METHOD AND ASSOCIATED DEVICE

Also Published As

Publication number Publication date
CN105718161A (zh) 2016-06-29

Similar Documents

Publication Publication Date Title
WO2017121239A1 (zh) 一种截屏方法及装置
US10003599B2 (en) Method and terminal device for kid mode
US10437547B2 (en) Device, system and method for generating data
US20200387795A1 (en) Super network training method and device
EP2770708A1 (en) Device, system and method for generating application data
US20170034325A1 (en) Image-based communication method and device
EP3179397A1 (en) Methods and devices for managing automatic parallel login and logout in several applications
WO2016206292A1 (zh) 文本输入方法和装置
EP3147802B1 (en) Method and apparatus for processing information
KR101810514B1 (ko) 클라우드 카드에 기반한 전화 호출 방법, 장치, 프로그램 및 저장 매체
KR20170137445A (ko) 파일 공유 방법 및 이를 구현한 전자 장치
WO2021082770A1 (zh) 界面显示方法、装置和电子设备
US20140244739A1 (en) Device, System and Method for Generating Application Data
CN105704331B (zh) 一种移动终端的应用程序推荐方法及其系统
EP3687118A1 (en) Information search method, terminal, network device, and system
WO2016150104A1 (zh) 应用主题的加载方法及装置
US20170201477A1 (en) Method, device and medium for sending message
CN114401336B (zh) 一种电子设备的操作方法、电子设备、芯片和计算机存储介质
CN107295167B (zh) 信息显示方法及装置
CN106060129A (zh) 信息处理方法及装置
US9538062B2 (en) Camera management system
CN109032621B (zh) 一种应用程序安装方法、移动终端以及计算机存储介质
US20150163340A1 (en) Portable terminal and a method for operating the same
JP6082842B2 (ja) アプリケーションリスト実行方法、アプリケーションリスト実行装置、プログラム及び記録媒体
CN106161712A (zh) 联系人管理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16884791

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16884791

Country of ref document: EP

Kind code of ref document: A1