CN107635065A - A kind of screenshotss method, mobile terminal and computer-readable recording medium - Google Patents

A kind of screenshotss method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107635065A
CN107635065A CN201710758776.3A CN201710758776A CN107635065A CN 107635065 A CN107635065 A CN 107635065A CN 201710758776 A CN201710758776 A CN 201710758776A CN 107635065 A CN107635065 A CN 107635065A
Authority
CN
China
Prior art keywords
screenshotss
mobile terminal
angle
content
display interface
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.)
Pending
Application number
CN201710758776.3A
Other languages
Chinese (zh)
Inventor
严敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710758776.3A priority Critical patent/CN107635065A/en
Publication of CN107635065A publication Critical patent/CN107635065A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of screenshotss method, mobile terminal and computer-readable recording medium, by detecting that mobile terminal is under long screenshotss functional status, the current angle of inclination and direction of mobile terminal is obtained by preset gravity sensor, the current display interface of the mobile terminal is adjusted according to angle of inclination and direction, and select the screenshotss content of long screenshotss, it is the operation that screenshotss can be carried out by the content that gravity sensor controls the display content of terminal display interface and does not show, screenshotss need not can also be controlled by contacting terminal by realizing, and the selection of screenshotss content, so as to the abbreviation operating process of long screenshotss, improve the operability and screenshotss efficiency of long screenshotss.Further, the screenshotss content is preserved into the memory space of mobile terminal, improves the Consumer's Experience of terminal sectional drawing.

Description

A kind of screenshotss method, mobile terminal and computer-readable recording medium
Technical field
, can more specifically to a kind of screenshotss method, mobile terminal and computer the present invention relates to field of mobile terminals Read storage medium.
Background technology
The daily life of currently becoming increasingly popular with terminals such as mobile phones, mobile phone and user are also increasingly close.User Ke Tong Cross surfing Internet with cell phone, reading, play game or chat etc., also need to the good information or chat note that will be seen in reading process sometimes Record carries out sectional drawing preservation, in case follow-up consult.At present, most of equipment all have sectional drawing function, such as mobile phone.Prior art In, user can be cut by the specific keys on mobile phone or key combination to a screen content of the current display of display screen Figure, i.e., screenshot capture is carried out by single screen sectional drawing function.But for long screenshotss function, current mobile phone is to support automatic roll Roll two ways with manual, wherein the mode user rolled automatically can not the freely speed of adjustment control rolling and direction, Be inconvenient to choose the content of sectional drawing, and the mode of manual sliding-rolling, although be free to speed and the direction that control rolls, But whether being automatic or manual, it is required for having always a demand for ceaselessly operating in the enterprising line slip of terminal by user's finger, And screen can be also blocked during finger slip, the sight of user in selecting content is influenceed, and this kind of mode of operation is complex, effect Rate is low, poor user experience.
The content of the invention
The technical problem to be solved in the present invention is:Existing long screenshotss need that by user's slip terminal length could be obtained The problem of content, its is cumbersome, efficiency is low, and user experience is not high, for the technical problem, there is provided a kind of screenshotss method, Mobile terminal and computer-readable recording medium.
In order to solve the above technical problems, the present invention provides a kind of screenshotss method, the screenshotss method includes:
In the case where opening long screenshotss functional status, the current angle of inclination of mobile terminal is obtained by preset gravity sensor The angle formed with direction, the angle of inclination by the position that the mobile terminal is currently put with horizontal plane;
The current display interface of the mobile terminal is adjusted according to the angle of inclination and direction, and selects cutting for long screenshotss Shield content, the screenshotss content includes the content shown during the content that shows of current display interface and adjustment;
The screenshotss content is preserved into the memory space of the mobile terminal.
Optionally, the current display interface of the mobile terminal is being adjusted according to the angle of inclination and direction, and selected Before the screenshotss content of long screenshotss, in addition to:
Obtain the initial angle that the mobile terminal and horizontal plane are formed when opening the long screenshotss function, and by institute State the original position of initial angle alternatively screenshotss content.
Optionally, it is described that the current display interface of the mobile terminal is adjusted according to the angle of inclination and direction, and select Selecting the screenshotss content of long screenshotss includes:
Calculate the angle difference between the angle of inclination and the initial angle;
Judge whether the angle difference is more than zero;
It is more than zero when judged result is that the angle is poor, then controls the current display interface slide downward, and downwards The displacement of slip is equal to the angle difference;
The displacement of content and slide downward that the current display interface is shown is equal to during the angle difference Display content is as the screenshotss content.
Optionally, it is less than zero when judged result is that the angle is poor, then controls the current display interface upward sliding, and And the displacement of upward sliding is equal to the angle difference;
The content that the current display interface is shown and upward sliding displacement show during being equal to the angle difference Show content as the screenshotss content.
Optionally, it is described that the current display interface of the mobile terminal is adjusted according to the angle of inclination and direction, and select Selecting the screenshotss content of long screenshotss also includes:
According to the angle difference between the angle of inclination and the initial angle and the angle difference with sliding speed The corresponding relation of degree, inquire sliding speed corresponding to the current angle difference calculated;
The mobile terminal current display interface upward sliding is controlled to select the screenshotss according to the sliding speed inquired Content.
Optionally, the angle difference and the corresponding relation of sliding speed include:When the angle difference is bigger, selection The screenshotss content-length it is longer, and the sliding speed that the control mobile terminal current display interface is slided also is got over It hurry up;When the angle difference is smaller, the screenshotss content-length of selection is shorter, and the control mobile terminal is current The sliding speed that display interface slides is also slower.
Optionally, before mobile terminal current angle of inclination and direction is obtained by preset gravity sensor, also Including:
Obtain the operational order of user on the mobile terminal;
The operational order is compared with default control instruction;
If comparison result is that the operational order is identical with default control instruction, the mobile terminal is switched into length Screenshotss functional status.
Optionally, the operational order includes:Gesture triggering command, sliding trace triggering command and fingerprint triggering command.
Further, present invention also offers a kind of mobile terminal, the terminal control mechanism include reason device, memory and Communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize such as any one of foregoing institute The step of screenshotss method stated.
Further, present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium It is stored with one or more program, one or more of programs can be by one or more computing device, to realize The step of screenshotss method described in any one as describe above.
Beneficial effects of the present invention:
The present invention provides a kind of screenshotss method, mobile terminal and computer-readable recording medium, for existing long screenshotss Long content could be obtained by needing to slide terminal by user, the defects of its is cumbersome, efficiency is low, and user experience is not high, this Invention is by the case where detecting that mobile terminal is in long screenshotss functional status, obtaining mobile terminal by preset gravity sensor and working as Preceding angle of inclination and direction, the current display interface of the mobile terminal is adjusted according to angle of inclination and direction, and select to grow The screenshotss content of screenshotss, it is that the display content of terminal display interface can be controlled by gravity sensor and is not shown Content carries out the operation of screenshotss, and screenshotss, and the selection of screenshotss content need not can also be controlled by contacting terminal by realizing, So as to the abbreviation operating process of long screenshotss, the operability and screenshotss efficiency of long screenshotss are improved.Further, described will cut Screen content is preserved into the memory space of mobile terminal, improves the Consumer's Experience of terminal sectional drawing.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the present invention;
Fig. 2 is the screenshotss method basic flow sheet that first embodiment of the invention provides;
Fig. 3 is the screenshotss method refined flow chart that second embodiment of the invention provides;
Fig. 4 is the structural representation for the mobile terminal that third embodiment of the invention provides;
Mobile terminal puts schematic diagram when Fig. 5 is present invention unlatching long screenshotss function;
Fig. 6 provides the display schematic diagram of the current display interface in initial angle for the present invention;
The schematic diagram that Fig. 7 tilts down for mobile terminal after the long screenshotss function of present invention unlatching;
Fig. 8 provides the display schematic diagram of the current display interface after adjustment is rolled for the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed.
First embodiment
Screenshotss method provided in an embodiment of the present invention is applied to various mobile terminals, including PC, mobile phone, flat board, notebook Etc. terminal, Fig. 2 is specifically refer to, Fig. 2 is the screenshotss method basic flow sheet that the present embodiment provides, and the screenshotss method includes:
S201, the current angle of inclination and direction of mobile terminal is obtained by preset gravity sensor.
In the present embodiment, when performing the step, it is also necessary to the current working condition of the mobile terminal is determined, when true When the fixed working condition is long screenshotss functional status, then the angle of inclination and direction of mobile terminal are obtained, specifically, the inclination angle Degree refers to inclination angle of the mobile terminal after long screenshotss function is started, and the inclination angle is that the mobile terminal is currently put The angle that is formed of position and horizontal plane, the direction refers to adjusting the direction of the display interface of mobile terminal, is specifically By the way that the inclination angle got is compared to obtain with the original position that mobile terminal is put before long screenshotss function is opened, It that is to say that inclination angle is inclined upwardly or tilted down relative to original position.
In the present embodiment, for the working condition of the determination mobile terminal, realized particular by the following manner:
The operational order of user on the mobile terminal is obtained, the operational order includes:Gesture triggering command, slide Track triggering command and fingerprint triggering command;
The operational order is compared with default control instruction;
If comparison result is that the operational order is identical with default control instruction, the mobile terminal is switched into length Screenshotss functional status.
In actual applications, can be a kind of gesture instruction for default control instruction, either fingerprinting-instruction or sliding Dynamic instruction.User browses to some contents using during mobile terminal, but when reproducible does not get off, it will select The mode of screenshotss obtains, then at this moment, user needs to open long screenshotss function, by inputting specific operation on mobile terminals Instruction, it is assumed that the operational order of input is the instruction that multiple gesture swing is carried out before mobile terminal, and mobile terminal camera connects After gesture instruction corresponding to receiving, the long screenshotss gesture triggering command pre-set in the gesture instruction and mobile terminal is carried out Compare, if meeting condition, open long screenshotss function;Also need to supervise the gravity sensor on mobile terminal in real time simultaneously Control, obtain the angle of inclination for the mobile terminal that gravity sensor collects.
In the present embodiment, after detecting that the mobile terminal opens long screenshotss function, the gravity sensitive is passed through Device monitoring mobile terminal can be by the gravity sensitive of itself in mobile terminal in the angle of horizontal plane, the gravity sensitive implement body Device is realized or realized by the sensor exclusively for the long screenshotss function setting.
S202, the current display interface for adjusting according to the angle of inclination and direction the mobile terminal, and select long cut The screenshotss content of screen.
In the present embodiment, before this step, in addition to obtain mobile terminal shifting when starting long screenshotss function The initial angle that dynamic terminal is formed with horizontal plane, and by the original position of the initial angle alternatively screenshotss content.
Further, according to the angle of inclination and the initial angle difference of angle calcu-lation between the two, optionally, The initial angle is subtracted into angle of inclination, angle difference is obtained, judges whether the angle difference is more than zero, work as judged result Be that angle difference is more than zero, then illustrate mobile terminal under current state to lower swing, be adjustment it is described it is mobile eventually The direction of the display interface at end is adjustment downwards, according to current display interface slide downward described in the direction controlling, and to The displacement of lower slider is equal to the angle difference.
At this moment the screenshotss content includes displacement of content and slide downward that the current display interface is shown etc. The display content during the angle difference.
It is less than zero when judged result is that the angle is poor, then illustrates that mobile terminal is swung up under current state, The direction for being the display interface for adjusting the mobile terminal is to adjust upward, and the current display is then controlled according to the direction Interface upward sliding, and the displacement of upward sliding is equal to the angle difference.
At this moment the screenshotss content includes content that the current display interface shows and upward sliding displacement is equal to Display content during the angle difference.
S203, the screenshotss content preserved into the memory space of the mobile terminal.
In the present embodiment, can be with root in addition to the length of adjustment screenshotss content is determined according to the angle difference The speed of adjustment screenshotss content is determined according to the angle difference, such as, slip N rows per second, specifically include:
According to the angle difference between the angle of inclination and the initial angle and the angle difference with sliding speed The corresponding relation of degree, inquire sliding speed, the angle difference and sliding speed corresponding to the current angle difference calculated Corresponding relation include:When the angle difference is bigger, the screenshotss content-length of selection is longer, and described in the control The sliding speed that mobile terminal current display interface is slided is also faster;When the angle difference is smaller, the screenshotss of selection Content-length is shorter, and the sliding speed that the control mobile terminal current display interface is slided is also slower.
The mobile terminal current display interface upward sliding is controlled to select the screenshotss according to the sliding speed inquired Content.
The screenshotss method that the present embodiment provides, under long screenshotss functional status, passes through the gravity sensor on mobile terminal Terminal current angle of inclination and direction are obtained, the display content in current display interface is adjusted according to angle of inclination and direction, And the screenshotss content that selection needs are cut, it is achieved thereby that controlling the display content of terminal display interface by gravity sensor And the content not shown carries out the operation of screenshotss, it is no longer necessary to can also control screenshotss by contacting terminal, and cut Shield the selection of content, so as to the abbreviation operating process of long screenshotss, improve the operability and screenshotss efficiency of long screenshotss.
Second embodiment
Fig. 3 is the screenshotss method refined flow chart that second embodiment of the invention provides, and the present embodiment combines specific scene The screenshotss method of the present invention is described in detail, the screenshotss method includes:
S301, obtain the operational order of user on mobile terminals.
In this step, mobile terminal obtains operational order in the process of running, can be specifically by the user in Fig. 1 Input block 107 realizes that the contact panel 1071 that can optionally pass through in user input unit 107 obtains what user inputted Sliding trace, judge whether the sliding trace is track that long screenshotss function is opened, can also gather user by camera Swinging track before camera, it is the swing gesture of user, can also be and angle of inclination is gathered by gravity sensor Situation of change, if amplitude of fluctuation change of the terminal collected at current time more than some threshold value or is carried out repeatedly back and forth Swing and amplitude of fluctuation change is more than some threshold value.
When user operates in 1071 enterprising line slip of touch panel of cell phone, click, touching or pressing etc., mobile phone then may be used Obtain the operational order on contact panel 1071.In the specific implementation, the display screen of the contact panel 1071 of mobile phone or mobile phone, Or touch screen, it can specifically be determined according to the hardware configuration of mobile phone, be not limited herein.
S302, determined whether to start long screenshotss function according to the operational order.
In this step, specifically the operational order is compared with default control instruction, if comparison result is The operational order is identical with default control instruction, then the mobile terminal is switched into long screenshotss functional status.
S303, obtain the initial angle that the mobile terminal is formed with horizontal plane.
Specifically, the starting angle is referred to when opening the long screenshotss function time point, mobile terminal and horizontal plane Between angle value, and by the original position of the initial angle alternatively screenshotss content.
S304, under long screenshotss functional status, obtain the mobile terminal current angle of inclination and direction.
The angle of inclination and direction are specifically obtained by the gravity sensor monitoring collection that is preset on mobile terminal, Under long screenshotss functional status, as user swings up and down mobile terminal, display interface is shown on mobile terminal content also with Swing and adjust;Then need to be determined according to the relation between initial angle and angle of inclination for the direction of adjustment, if described Initial angle is more than the angle of inclination, then explanation is needed current display interface slide downward, if the initial angle is less than The angle of inclination, then illustrate to need current display interface upward sliding.
S305, angle difference is calculated according to the initial angle and the angle of inclination, and determine the screenshotss content of adjustment Length.
In the present embodiment, it is specifically that initial angle is subtracted into the angle of inclination to calculate the angle difference, is pressed from both sides Angular difference value, and the absolute value of the angle difference is taken, the length of the screenshotss content is calculated according to the absolute value, according to institute State length selected from reality interface corresponding to screenshotss content.
S306, sliding speed is inquired according to the angle difference.
In the present embodiment, the sliding speed refers to adjusting the renewal speed of the content shown by display interface, than Such as the content per second for upwardly or downwardly promoting N rows.
In actual applications, a mapping table can be set in the terminal in advance, and terminal can be according to the corresponding relation Table inquires velocity amplitude corresponding with difference, and the corresponding relation of the angle difference and sliding speed includes:When the differential seat angle When value is bigger, the screenshotss content-length of selection is longer, and the control mobile terminal current display interface slip Sliding speed is also faster;When the angle difference is smaller, the screenshotss content-length of selection is shorter, and described in the control The sliding speed that mobile terminal current display interface is slided is also slower.
S307, screenshotss operation is carried out according to the length, sliding speed and adjustment direction of the screenshotss content.
Specifically, during opening long screenshotss function corresponding initial angle as screenshotss original position, and according to inquiry The sliding speed arrived, by the content shown in current display interface according to the adjustment of corresponding adjustment direction and the angle difference pair The length answered.
S308, screenshotss content is preserved.
In actual applications, it is assumed that user start in use can long screenshotss function, as shown in figure 5, just user Long screenshotss function is opened when terminal inclination angle is a1, then a1 is the initial angle of terminal, and the terminal in a1 angles Display interface on the content that shows it is as shown in Figure 6.
Further, terminal is continued to tilt down by user on the basis of a1 angles, and is detected by gravity sensor The angle of inclination arrived is a2, as shown in Figure 7.During being tilted down with terminal, in the terminal current display interface The content of display is also scrolling up.And scrolled up according to speed corresponding to (a1-a2) angle, until rolling distance is equal to (a1-a2) terminate when, as shown in figure 8, and being stored in all the elements that display interface in rolling process is shown.
The screenshotss method that the present embodiment provides, using the preset gravity sensor of mobile phone, when user needs to control long sectional drawing When rolling carries out selection sectional drawing, it is only necessary to manually tilt mobile phone direction and angle, gravity sensor can obtain mobile phone cut it is oblique Angle and direction, to control the direction that sectional drawing rolls, for example it is that control scrolls up to be inclined upwardly, and it is to roll downwards to tilt down It is dynamic, carry out the speed of control interface rolling further according to the angle of user's inclination mobile phone, it is bigger towards the inclined angle in some direction, roll Speed is faster, so as to the abbreviation operating process of long screenshotss, improves the operability and screenshotss efficiency of long screenshotss.
3rd embodiment
It refer to Fig. 4, a kind of structural representation for mobile terminal that Fig. 4 provides for third embodiment of the invention, the movement Terminal includes:Processor 51, memory 52 and communication bus 53, the communication between processor 51 and memory 52 pass through described logical Letter bus 53 is realized.
Processor 51 generally controls the overall operation of the server belonging to itself.For example, processor 51 perform calculate and really The operation such as recognize.Wherein, processor 51 can be central processing unit (CPU).In the present embodiment, processor 51 at least needs to have Such function:In the case where detecting that mobile terminal is in long screenshotss functional status, obtain the current angle of inclination of mobile terminal with Direction, the current display interface of the mobile terminal is adjusted according to angle of inclination and direction, and selects the screenshotss content of long screenshotss, The screenshotss content is preserved into the memory space of the mobile terminal.
In actual applications, the mobile terminal is additionally provided with gravity sensor 54, and the gravity sensor 54 is mainly used for The angle of inclination of terminal is obtained, specifically can be by setting realization pair to the processing step of gravity sensor 54 and processor 51 The software code of function is answered to realize, optionally, memory 52 stores the software generation that processor 51 is readable, processor 51 is executable Code, it, which is included, is used for the instruction (i.e. software perform function) that control processor 51 performs function described above.In the present embodiment In, memory 52, which at least needs to be stored with, realizes that processor 51 performs program and the control gravity sensor 54 that above-mentioned function needs Gather the current angle of inclination of mobile terminal.
Memory 52, typically using semiconductor memory cell, including random access memory (RAM), read-only storage (ROM), And cache (CACHE), RAM are most important of which memories.Memory 52 is one of part important in computer, It is the bridge linked up with CPU, in computer the operation of all programs all carried out in internal memory, its effect is to be used for The temporarily operational data in storage CPU, and the data exchanged with external memory storages such as hard disks, as long as computer is in operation, CPU will carry out computing needing the data of computing to be transferred in internal memory, and CPU again sends out result after the completion of computing, interior The operation deposited also determines the stable operation of computer.
In the present embodiment, before the angle of inclination and direction of mobile terminal is obtained, the processor 51, which also has, to be used for Perform the screenshotss program and realize following steps:
The operational order of user on the mobile terminal is obtained, the operational order includes:Gesture triggering command, slide Track triggering command and fingerprint triggering command;
The operational order is compared with default control instruction;
If comparison result is that the operational order is identical with default control instruction, the mobile terminal is switched into length Screenshotss functional status.
In the present embodiment, the processor 51 is additionally operable to obtain the mobile terminal when opening the long screenshotss function The initial angle formed with horizontal plane, and by the original position of the initial angle alternatively screenshotss content.
Folder according to the angle of inclination and the initial angle calcu-lation between angle of inclination and the initial angle Angular difference value;
Judge whether the angle difference is more than zero;
It is more than zero when judged result is that the angle is poor, then controls the current display interface slide downward, and downwards The displacement of slip is equal to the angle difference;
It is less than zero when judged result is that the angle is poor, then controls the current display interface upward sliding, and upwards The displacement of slip is equal to the angle difference;
Further, according to the angle difference between the angle of inclination and the initial angle and the differential seat angle The corresponding relation of value and sliding speed, inquire sliding speed corresponding to the current angle difference calculated;
The mobile terminal current display interface upward sliding is controlled to select the screenshotss according to the sliding speed inquired Content;
Content and slide downward that the current display interface is shown or the displacement of upward sliding are equal to the angle Display content is as the screenshotss content during difference.
In actual applications, a mapping table can be set in the terminal in advance, and terminal can be according to the corresponding relation Table inquires velocity amplitude corresponding with difference, and the corresponding relation of the angle difference and sliding speed includes:When the differential seat angle When value is bigger, the screenshotss content-length of selection is longer, and the control mobile terminal current display interface slip Sliding speed is also faster;When the angle difference is smaller, the screenshotss content-length of selection is shorter, and described in the control The sliding speed that mobile terminal current display interface is slided is also slower.
Assuming that user start in use can long screenshotss function, as shown in figure 5, just user is at terminal inclination angle Long screenshotss function is opened during a1, then a1 is the initial angle of terminal, and is shown in a1 angles on the display interface of terminal The content shown is as shown in Figure 6.
Terminal is continued to tilt down by user on the basis of a1 angles, and the inclination angle detected by gravity sensor Spend for a2, as shown in Figure 7.During being tilted down with terminal, the content that is shown in the terminal current display interface Also scrolling up.And scrolled up according to speed corresponding to (a1-a2) angle, when rolling distance is equal to (a1-a2) Terminate, as shown in figure 8, and being stored in all the elements that display interface in rolling process is shown.
In the present embodiment, in addition to detecting the tilted upward of the mobile terminal and can adjust screenshotss content, may be used also When being tilted to detect mobile terminal by gravity sensor, the mark to screenshotss content is triggered, for example, detecting left bank When, the increase mark content in screenshotss content is triggered, the mark content can be word, icon, lines etc., be completed in increase Afterwards by the way that mobile terminal right bank, confirmation flag is successful.
The present embodiment additionally provides a kind of computer-readable recording medium, and the computer-readable recording medium storage has one Individual or multiple programs, one or more of programs can be by one or more computing devices, to realize following steps:
In the case where opening long screenshotss functional status, the current angle of inclination of mobile terminal is obtained by preset gravity sensor The angle formed with direction, the angle of inclination by the position that the mobile terminal is currently put with horizontal plane;
The current display interface of the mobile terminal is adjusted according to the angle of inclination and direction, and selects cutting for long screenshotss Shield content, the screenshotss content includes the content shown during the content that shows of current display interface and adjustment;
The screenshotss content is preserved into the memory space of the mobile terminal.
In the present embodiment, the current display interface of the mobile terminal is being adjusted according to the angle of inclination and direction, And before selecting the screenshotss content of long screenshotss, in addition to:
Obtain the initial angle that the mobile terminal and horizontal plane are formed when opening the long screenshotss function, and by institute State the original position of initial angle alternatively screenshotss content.
Further, one or more program of the computing device is realized adjusts according to the angle of inclination and direction The current display interface of the mobile terminal, and when selecting the screenshotss content step of long screenshotss, realized especially by following steps:
Calculate the angle difference between the angle of inclination and the initial angle;
Judge whether the angle difference is more than zero;
It is more than zero when judged result is that the angle is poor, then controls the current display interface slide downward, and downwards The displacement of slip is equal to the angle difference;
The displacement of content and slide downward that the current display interface is shown is equal to during the angle difference Display content is as the screenshotss content.
It is less than zero when judged result is that the angle is poor, then controls the current display interface upward sliding, and upwards The displacement of slip is equal to the angle difference;
The content that the current display interface is shown and upward sliding displacement show during being equal to the angle difference Show content as the screenshotss content.
Further, the processor stored by performing in the computer-readable recording medium one or more Program, it is additionally operable to realize following steps:
According to the angle difference between the angle of inclination and the initial angle and the angle difference with sliding speed The corresponding relation of degree, inquire sliding speed corresponding to the current angle difference calculated;
The mobile terminal current display interface upward sliding is controlled to select the screenshotss according to the sliding speed inquired Content.
Wherein, the angle difference and the corresponding relation of sliding speed include:When the angle difference is bigger, selection The screenshotss content-length is longer, and the sliding speed that the control mobile terminal current display interface is slided is also faster; When the angle difference is smaller, the screenshotss content-length of selection is shorter, and the control mobile terminal currently shows Show that the sliding speed of Surface active component is also slower.
In the present embodiment, by preset gravity sensor obtain the current angle of inclination of mobile terminal and direction it Before, in addition to:
The operational order of user on the mobile terminal is obtained, the operational order includes:Gesture triggering command, slide Track triggering command and fingerprint triggering command;
The operational order is compared with default control instruction;
If comparison result is that the operational order is identical with default control instruction, the mobile terminal is switched into length Screenshotss functional status.
In summary, screenshotss method, mobile terminal and computer-readable recording medium provided by the invention, for existing Long screenshotss need that by user's slip terminal long content could be obtained, and its is cumbersome, efficiency is low, and user experience is not high to be lacked Fall into, the present invention is by the way that in the case where detecting that mobile terminal is in long screenshotss functional status, movement is obtained by preset gravity sensor Terminal current angle of inclination and direction, the current display interface of the mobile terminal is adjusted according to angle of inclination and direction, and The screenshotss content of long screenshotss is selected, is that the display content of terminal display interface can be controlled by gravity sensor and is not shown Content out carries out the operation of screenshotss, and screenshotss, and screenshotss content need not can also be controlled by contacting terminal by realizing Selection, so as to the abbreviation operating process of long screenshotss, improve the operability and screenshotss efficiency of long screenshotss.Further, The screenshotss content is preserved into the memory space of mobile terminal, improves the Consumer's Experience of terminal sectional drawing.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

  1. A kind of 1. screenshotss method, it is characterised in that the screenshotss method includes:
    In the case where opening long screenshotss functional status, the current angle of inclination and side of mobile terminal is obtained by preset gravity sensor To the angle that the angle of inclination is formed by the position that the mobile terminal is currently put with horizontal plane;
    The current display interface of the mobile terminal is adjusted according to the angle of inclination and direction, and is selected in the screenshotss of long screenshotss Hold, the screenshotss content includes the content shown during the content that shows of current display interface and adjustment;
    The screenshotss content is preserved into the memory space of the mobile terminal.
  2. 2. screenshotss method according to claim 1, it is characterised in that according to the angle of inclination and direction adjustment The current display interface of mobile terminal, and before selecting the screenshotss content of long screenshotss, in addition to:
    The initial angle that the mobile terminal is formed with horizontal plane when opening the long screenshotss function is obtained, and will be described first The original position of beginning angle alternatively screenshotss content.
  3. 3. screenshotss method according to claim 2, it is characterised in that described that institute is adjusted according to the angle of inclination and direction The current display interface of mobile terminal is stated, and selects the screenshotss content of long screenshotss to include:
    Calculate the angle difference between the angle of inclination and the initial angle;
    Judge whether the angle difference is more than zero;
    It is more than zero when judged result is that the angle is poor, then controls the current display interface slide downward, and slide downward Displacement be equal to the angle difference;
    The displacement of content and slide downward that the current display interface is shown is shown during being equal to the angle difference Content is as the screenshotss content.
  4. 4. screenshotss method according to claim 3, it is characterised in that be less than zero when judged result is that the angle is poor, then The current display interface upward sliding is controlled, and the displacement of upward sliding is equal to the angle difference;
    The content that the current display interface is shown and upward sliding displacement are equal to during the angle difference in display Hold and be used as the screenshotss content.
  5. 5. terminal control method according to claim 4, it is characterised in that described to be adjusted according to the angle of inclination and direction The current display interface of the whole mobile terminal, and select the screenshotss content of long screenshotss also to include:
    According to the angle difference between the angle of inclination and the initial angle and the angle difference and sliding speed Corresponding relation, inquire sliding speed corresponding to the current angle difference calculated;
    The mobile terminal current display interface upward sliding is controlled to select the screenshotss content according to the sliding speed inquired.
  6. 6. screenshotss method according to claim 5, it is characterised in that the angle difference and the corresponding relation of sliding speed Including:When the angle difference is bigger, the screenshotss content-length of selection is longer, and the control mobile terminal is worked as The sliding speed that preceding display interface slides is also faster;When the angle difference is smaller, the screenshotss content-length of selection is got over It is short, and the sliding speed that the control mobile terminal current display interface is slided is also slower.
  7. 7. according to the screenshotss method described in claim any one of 1-6, it is characterised in that obtained by preset gravity sensor Before taking the angle of inclination and direction that mobile terminal is current, in addition to:
    Obtain the operational order of user on the mobile terminal;
    The operational order is compared with default control instruction;
    If comparison result is that the operational order is identical with default control instruction, the mobile terminal is switched into long screenshotss Functional status.
  8. 8. screenshotss method according to claim 7, it is characterised in that the operational order includes:Gesture triggering command, cunning Dynamic rail mark triggering command and fingerprint triggering command.
  9. 9. a kind of mobile terminal, it is characterised in that the terminal control mechanism includes processor, memory and communication bus;
    The communication bus is used to realize the connection communication between the processor and memory;
    The processor is used to perform one or more program stored in memory, to realize as appointed in claim 1 to 8 The step of screenshotss method described in one.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing devices, to realize such as claim 1 to 8 Any one of screenshotss method the step of.
CN201710758776.3A 2017-08-29 2017-08-29 A kind of screenshotss method, mobile terminal and computer-readable recording medium Pending CN107635065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710758776.3A CN107635065A (en) 2017-08-29 2017-08-29 A kind of screenshotss method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710758776.3A CN107635065A (en) 2017-08-29 2017-08-29 A kind of screenshotss method, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107635065A true CN107635065A (en) 2018-01-26

Family

ID=61101397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710758776.3A Pending CN107635065A (en) 2017-08-29 2017-08-29 A kind of screenshotss method, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107635065A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600543A (en) * 2018-04-25 2018-09-28 维沃移动通信有限公司 A kind of selection method and mobile terminal of screen content
CN108628508A (en) * 2018-04-25 2018-10-09 维沃移动通信有限公司 It is a kind of to adjust the method and mobile terminal for cutting out window
CN108681428A (en) * 2018-04-04 2018-10-19 四川巧夺天工信息安全智能设备有限公司 A kind of rolling screenshotss method under windows systems
CN111338728A (en) * 2020-02-17 2020-06-26 深圳传音控股股份有限公司 Screen capturing method and device and computer readable storage medium
CN111679775A (en) * 2020-06-04 2020-09-18 上海闻泰电子科技有限公司 Screen capture method and device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841267A (en) * 2014-03-17 2014-06-04 广州市久邦数码科技有限公司 Short message screenshot method and system
CN105843508A (en) * 2016-03-31 2016-08-10 努比亚技术有限公司 Mobile terminal and screen capturing method thereof
CN106527928A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Screen capturing control device and method and intelligent terminal
CN106569704A (en) * 2016-11-02 2017-04-19 珠海格力电器股份有限公司 Mobile terminal, screenshot method and screenshot device thereof
CN106970752A (en) * 2017-02-28 2017-07-21 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841267A (en) * 2014-03-17 2014-06-04 广州市久邦数码科技有限公司 Short message screenshot method and system
CN105843508A (en) * 2016-03-31 2016-08-10 努比亚技术有限公司 Mobile terminal and screen capturing method thereof
CN106527928A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Screen capturing control device and method and intelligent terminal
CN106569704A (en) * 2016-11-02 2017-04-19 珠海格力电器股份有限公司 Mobile terminal, screenshot method and screenshot device thereof
CN106970752A (en) * 2017-02-28 2017-07-21 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681428A (en) * 2018-04-04 2018-10-19 四川巧夺天工信息安全智能设备有限公司 A kind of rolling screenshotss method under windows systems
CN108681428B (en) * 2018-04-04 2021-01-29 四川巧夺天工信息安全智能设备有限公司 Scrolling screen capture method under windows system
CN108600543A (en) * 2018-04-25 2018-09-28 维沃移动通信有限公司 A kind of selection method and mobile terminal of screen content
CN108628508A (en) * 2018-04-25 2018-10-09 维沃移动通信有限公司 It is a kind of to adjust the method and mobile terminal for cutting out window
CN111338728A (en) * 2020-02-17 2020-06-26 深圳传音控股股份有限公司 Screen capturing method and device and computer readable storage medium
CN111679775A (en) * 2020-06-04 2020-09-18 上海闻泰电子科技有限公司 Screen capture method and device, electronic equipment and computer readable storage medium
CN111679775B (en) * 2020-06-04 2021-10-22 上海闻泰电子科技有限公司 Screen capture method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107145293A (en) A kind of screenshot method, mobile terminal and storage medium
CN107635065A (en) A kind of screenshotss method, mobile terminal and computer-readable recording medium
CN107402709A (en) A kind of multi-screen display method, terminal and computer-readable recording medium
CN107566721A (en) A kind of method for information display, terminal and computer-readable recording medium
CN108196766A (en) A kind of display interface processing method, terminal and computer readable storage medium
CN107831946A (en) Interactive button location regulation method, mobile terminal and computer-readable recording medium
CN107402694A (en) Using switching method, equipment and computer-readable recording medium
CN107621914A (en) Display methods, terminal and the computer-readable recording medium of termination function control key
CN108089808A (en) A kind of screen-picture acquisition methods, terminal and computer readable storage medium
WO2021068885A1 (en) Control method and electronic device
CN107229389A (en) A kind of method of shared file, equipment and computer-readable recording medium
CN108052251A (en) A kind of screenshotss method for information display and mobile terminal
CN107728886A (en) A kind of one-handed performance method and apparatus
CN108108110A (en) A kind of screen control method, screen control device and mobile terminal
CN107678829A (en) A kind of application control method and mobile terminal
CN107765941A (en) A kind of icon display method, terminal and computer-readable recording medium
CN107656788A (en) A kind of operation interface processing method, terminal and computer-readable recording medium
CN107632757A (en) A kind of terminal control method, terminal and computer-readable recording medium
CN107885428A (en) Terminal split screen starts method, terminal and computer-readable recording medium
CN107463324A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107809534A (en) A kind of control method, terminal and computer-readable storage medium
CN107765942A (en) A kind of method, equipment and computer-readable recording medium for realizing presentation of information
CN108668010A (en) Method for controlling mobile terminal, bracelet and computer readable storage medium
CN108771861A (en) A kind of game control method, mobile terminal and computer readable storage medium
CN107870722A (en) Document transmission method, mobile terminal and the computer-readable recording medium of terminal room

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180126