CN110045888A - A kind of screen interface screenshot processing method and mobile terminal - Google Patents

A kind of screen interface screenshot processing method and mobile terminal Download PDF

Info

Publication number
CN110045888A
CN110045888A CN201910241207.0A CN201910241207A CN110045888A CN 110045888 A CN110045888 A CN 110045888A CN 201910241207 A CN201910241207 A CN 201910241207A CN 110045888 A CN110045888 A CN 110045888A
Authority
CN
China
Prior art keywords
screenshot
movement
application process
mobile terminal
monitoring application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910241207.0A
Other languages
Chinese (zh)
Other versions
CN110045888B (en
Inventor
严敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910241207.0A priority Critical patent/CN110045888B/en
Publication of CN110045888A publication Critical patent/CN110045888A/en
Application granted granted Critical
Publication of CN110045888B publication Critical patent/CN110045888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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

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)

Abstract

The invention discloses a kind of screen interface screenshot processing methods, comprising: shows that application receives the screenshot that triggering screenshot acts and instructs by foreground;Screenshot file is saved, and is inserted into screenshot file record corresponding with screenshot movement in the database;Whether the monitoring application process for judging to monitor screenshot file record in the database is that the foreground shows the monitoring application process applied;In the case where the judgment result is yes, the notification message for notifying the screenshot to act sent to the monitoring application process is intercepted;After receiving the completion instruction for completing screenshot movement, the notification message is notified into the monitoring application process.The embodiment of the invention also discloses a kind of mobile terminal and computer readable storage mediums, it solves the problems, such as to monitor long screenshot failure caused by the suspended window after screenshot movement is shown due to tripartite's application, the success rate that long screenshot is applied in tripartite is improved, user experience is improved.

Description

A kind of screen interface screenshot processing method and mobile terminal
Technical field
The present invention relates to mobile communication technology field more particularly to a kind of screen interface screenshot processing method and movements eventually End.
Background technique
Current many tripartites apply when foreground is shown can monitoring users screenshot movement, when detecting user in the application There is the movement for carrying out screenshot on interface foreground when showing when, the small suspended window comprising screenshot content will be popped up and be covered on application To prompt user that can carry out problem feedback according to screenshot content or share the operation such as interface content on interface, at this time if with If family continues long screenshot after screenshot if necessary, since the principle of long screenshot is to need constantly to send analog subscriber hand Refer to that the event-driven screen for sliding up and down screen scrolls up and down what then rear screenshot was spliced, at this time due to suspension window cover The focus for accounting for touch-control is robbed on interface content, the event for the analog subscriber finger sliding for causing long screenshot process to issue can not Normally be sent to using the View layer of display interface go drive application interface content scrolled up and down, eventually lead to long screenshot without Method continues and fails.
Aiming at the problem that the long screenshot failure caused by monitoring the suspended window after screenshot movement due to tripartite's application and showing, at present Not yet propose solution.
Summary of the invention
It is a primary object of the present invention to propose a kind of screen interface screenshot processing method and mobile terminal, it is intended to solve by The problem of long screenshot caused by the suspended window after screenshot movement is shown fails is monitored in tripartite's application.
To achieve the above object, the embodiment of the present invention proposes a kind of screen interface screenshot processing method, comprising:
Show that application receives the screenshot instruction of triggering screenshot movement by foreground;
Screenshot file is saved, and is inserted into screenshot file record corresponding with screenshot movement in the database;
Whether the monitoring application process for judging to monitor screenshot file record in the database is the foreground display application Monitoring application process;
In the case where the judgment result is yes, it intercepts to what the monitoring application process was sent and notifies what the screenshot acted Notification message;
After receiving the completion instruction for completing screenshot movement, by the notification message notify monitoring apply into Journey.
Optionally, before the notification message to be notified to the monitoring application process, the method also includes:
Judge whether to receive the completion instruction for completing screenshot movement;
If the determination result is NO, the slip instruction for continuing screenshot is received;
Long screenshot file is saved according to the slip instruction.
Optionally, being inserted into screenshot file record corresponding with screenshot movement in the database includes:
It is that the screenshot acts the file for creating that filename includes the screenshot movement under pre-set storing path.
Optionally, after the notification message to be notified to the monitoring application process, the method also includes:
The image that screenshot movement generates is shown on a display screen.
Optionally, after showing the image that screenshot movement generates on a display screen, the method also includes:
The suspended window of display and operation described image on the image.
According to another aspect of an embodiment of the present invention, a kind of mobile terminal is additionally provided, the mobile terminal includes: processing Device, memory and communication bus, wherein
The communication bus, for realizing the connection communication between the processor and the memory;
The processor, for executing the screen interface screenshot processing routine stored in memory, to perform the steps of
Show that application receives the screenshot instruction of triggering screenshot movement by foreground;
Screenshot file is saved, and is inserted into screenshot file record corresponding with screenshot movement in the database;
Whether the monitoring application process for judging to monitor screenshot file record in the database is the foreground display application Monitoring application process;
In the case where the judgment result is yes, it intercepts to what the monitoring application process was sent and notifies what the screenshot acted Notification message;
After receiving the completion instruction for completing screenshot movement, by the notification message notify monitoring apply into Journey.
Optionally, the processor is also used to execute screen interface screenshot processing routine, to perform the steps of
Before the notification message to be notified to the monitoring application process, judges whether to receive and complete screenshot movement Completion instruction;
If the determination result is NO, the slip instruction for continuing screenshot is received;
Long screenshot file is saved according to the slip instruction.
Optionally, the processor is also used to execute screen interface screenshot processing routine, to perform the steps of
It is that the screenshot acts the file for creating that filename includes the screenshot movement under pre-set storing path.
Optionally, the processor is also used to execute screen interface screenshot processing routine, to perform the steps of
After the notification message to be notified to the monitoring application process, show that screenshot movement generates on a display screen Image.
Optionally, the processor is also used to execute screen interface screenshot processing routine, to perform the steps of
After showing the image that screenshot movement generates on a display screen, display and operation described image is outstanding on the image Floating window.
According to another aspect of an embodiment of the present invention, a kind of computer readable storage medium, the computer are additionally provided Readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be by one or more processor It executes, the step of to realize above-mentioned application processing method.
Through the invention, show that application receives the screenshot that triggering screenshot acts and instructs by foreground;Screenshot file is saved, and It is inserted into screenshot file record corresponding with screenshot movement in the database;Screenshot file note in the database is monitored in judgement Whether the monitoring application process of record is that the foreground shows the monitoring application process applied;In the case where the judgment result is yes, Intercept the notification message for notifying the screenshot to act sent to the monitoring application process;Screenshot movement is completed receiving After completing instruction, the notification message is notified into the monitoring application process, is solved since screenshot is monitored in tripartite's application The problem of failure of long screenshot caused by suspended window after movement is shown, the success rate that long screenshot is applied in tripartite is improved, is improved User experience.
Detailed description of the invention
The hardware structural diagram of Fig. 1 optional mobile terminal of each embodiment one to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart of screen interface screenshot processing method according to an embodiment of the present invention;
Fig. 4 is the schematic diagram one of shot operation according to an embodiment of the present invention;
Fig. 5 is the schematic diagram two of shot operation according to an embodiment of the present invention;
Fig. 6 is the block diagram of mobile terminal according to an embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific 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 subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components 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 constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless 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, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex 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, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the 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 received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent 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 (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further 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 sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of 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 sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of 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) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch 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 It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it 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, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, 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 storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it 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 entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out whole monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless 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) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment 1
Based on above-mentioned mobile terminal, the embodiment of the invention provides a kind of screen interface screenshot processing method, Fig. 3 is root According to the flow chart of the screen interface screenshot processing method of the embodiment of the present invention, as shown in figure 3, method includes the following steps:
Step S301 shows that application receives the screenshot that triggering screenshot acts and instructs by foreground;
Step S302 saves screenshot file, and is inserted into screenshot file note corresponding with screenshot movement in the database Record;
Step S303, whether the monitoring application process for judging to monitor screenshot file record in the database is the foreground Show the monitoring application process of application;
Step S304 is intercepted described in the notice sent to the monitoring application process in the case where the judgment result is yes The notification message of screenshot movement;
Step S305 notifies the notification message described after receiving the completion instruction for completing screenshot movement Monitor application process.
S301 to S305 through the above steps shows that application receives the screenshot that triggering screenshot acts and instructs by foreground;It protects Screenshot file is deposited, and is inserted into screenshot file record corresponding with screenshot movement in the database;The data are monitored in judgement Whether the monitoring application process of screenshot file record is that the foreground shows the monitoring application process applied in library;In judging result In the case where being, the notification message for notifying the screenshot to act sent to the monitoring application process is intercepted;It is receiving After the completion instruction for completing screenshot movement, the notification message is notified into the monitoring application process, is solved due to three Caused by the suspended window that Fang Yingyong monitors after screenshot movement is shown the problem of the failure of long screenshot, improve what long screenshot was applied in tripartite Success rate improves user experience.
The embodiment of the present invention judges whether to receive before the notification message to be notified to the monitoring application process To the completion instruction for completing screenshot movement;If the determination result is NO, the slip instruction for continuing screenshot is received;According to institute It states slip instruction and saves long screenshot file.I.e. after determination is long shot operation, screenshot behaviour is continued according to slide Make, saves corresponding screenshot file.
The content interface for tripartite's application that mobile terminal is opened supports long shot operation, the mobile terminal to receive user's touching Hair opens the triggering command of long screenshot mode, which can be upward simultaneously by two fingers on the basis of shot operation Or downward sliding operation triggering, launch into long screenshot mode.
Specifically, existing mobile terminal generally only include a fingerprint identification module, or set on mobile terminal front housing, Or the rear shell set on mobile terminal, however, also starting two fingers gradually occur on the market with the continuous development of mobile terminal technology Line mobile terminal is further added by a fingerprint identification module, shape on the basis of the mobile terminal of existing one fingerprint identification module of band At the mobile terminal of the double fingerprint modules of band, two fingerprint identification modules or the front housing for being set to mobile terminal simultaneously, or be set to simultaneously The rear shell of mobile terminal, or it is respectively arranged on the front housing and rear shell of mobile terminal, or be respectively arranged on the two sides of mobile terminal.And at this In the method and step of embodiment, which specifically includes the first fingerprint module and the second fingerprint module, the first fingerprint mould Block and the second fingerprint module are respectively with respect to the two sides medium position for being set to mobile terminal, in order to which user carries out one-handed performance, Effectively promote user experience.Meanwhile first fingerprint module and second fingerprint module include fingerprint induction zone and are set to The fingerprint induction zone can operate this pair in user's finger by the structure setting in pressure sensitive area along the pressure sensitive area on side While fingerprint module, the pressing dynamics for pressing double fingerprint modules to user's finger are detected, and then are conducive to extension and are used Mode of operation of the family finger to double fingerprint modules.
Existing two fingers line mobile terminal realizes that unlocking screen is operated typically merely by double fingerprint modules, in other feelings It is general that double fingerprint modules is seldom called so to be easy to cause resources idle under condition.And in embodiments of the present invention, it gives Double fingerprint modules of mobile terminal increase long screenshot mode, to enrich the use pattern of its double fingerprint module, increase it using model It encloses.Meanwhile the embodiment of the present invention can launch into long screenshot mode by double fingerprint modules, in mobile terminal is opened When holding the interface long shot operation of support, double fingerprint modules of the mobile terminal receive the sliding of user's two fingers upward or downward simultaneously Operation, launches into long screenshot mode.Correspondingly, before this, the currently used state of mobile terminal need to be detected, to judge State whether the content interface that mobile terminal is opened supports long shot operation.Can be by detecting opened content interface specifically No is more than that one page shows to judge whether Current Content interface supports long shot operation.
In addition, double fingerprint modules in the mobile terminal receive the slide of user's two fingers upward or downward simultaneously, open When the long screenshot mode of dynamic entrance, a sliding speed qualifications can be also added, only meets the sliding speed simultaneously and limits item Part, double fingerprint modules just will start into long screenshot mode, i.e., receive user's two fingers in double fingerprint modules of the mobile terminal Slide upward or downward simultaneously, and when the sliding speed of the slide reaches pre-set velocity threshold value, the two fingers line mould Block launches into long screenshot mode.By the setting of this sliding speed qualifications, the mistake of user's two fingers can be effectively prevent to grasp Make.In addition, the content interface can be carried out to sling long shot operation when double fingerprint modules launch into long screenshot mode, Long screenshot selected areas is presented in the content interface.
Under the long screenshot mode, the touch control of user's two fingers is received, long shot operation is carried out to the content interface.
Specifically, when the content interface that mobile terminal is opened supports long shot operation, the two fingers line of the mobile terminal Module receives the slide of user's two fingers upward or downward simultaneously, after launching into long screenshot mode, double fingerprint module meetings The content interface is carried out to sling long shot operation, which can be presented long screenshot selected areas.At this point, user can lead to It crosses two fingers while operating double fingerprint modules to complete long shot operation.Whole operation process is specific as follows:
Under the long screenshot mode, which receives pressing again for user's two fingers and operates, into long screenshot area tune Save instruction mode.
Specifically, since first fingerprint module and second fingerprint module include pressure sensitive area, user can be incuded Finger examines the pressing dynamics of block or the second fingerprint module to first fingerprint, thus, the touch of user's two fingers in the present embodiment Control not only carries out sliding upward or downward on double fingerprint modules simultaneously including user's two fingers, may also include user's two fingers Again by double fingerprint modules (i.e. user's two fingers press double fingerprint modules, while pressing dynamics are more than default pressing dynamics threshold value) Equal operations side ^ formula.When double fingerprint modules of mobile terminal are under long screenshot mode, which can be to the content interface It carries out slinging long shot operation, which can be presented long screenshot selected areas.In actual operation, the long screenshot selected areas The regional location of domain default is often not necessarily the screenshot position that user wants, thus need to carry out region to long screenshot selected areas Position adjusts operation, at this point, user is started to carry out long screenshot selected areas region position by double fingerprint modules by two fingers again Setting adjusting, (i.e. under the long screenshot mode, which receives pressing again for user's two fingers and operates, into long screenshot area tune Save instruction mode).
Under the long screenshot area regulating command mode, which receives user's two fingers simultaneously upward or downward Slide carries out regional location to the long screenshot selected areas and adjusts operation.
Specifically, under the long screenshot area regulating command mode, user can be same on double fingerprint modules by two fingers When slide upward or downward, come the regional location that adjusts the long screenshot selected areas, (i.e. the double fingerprint modules receive user's two fingers Slide upward or downward simultaneously carries out regional location to the long screenshot selected areas and adjusts operation), it concurrently, should Long screenshot preview graph can be presented in content interface, which shows the long screenshot with breviary diagram form in real time and choose Region, in order to which user is in the current screen interface preview at any time long screenshot selected areas, and the long screenshot preview graph and the length Scaling between screenshot selected areas can carry out automatic adaptation according to screen size, i.e., when the long screenshot selected areas is chosen Regional location it is more, scaling between the two is bigger.
After the regional location for determining the long screenshot selected areas, which receives pressing again for user's two fingers and operates, Long screenshot preservation is carried out to the regional location.
Specifically, same on double fingerprint modules by two fingers when the content that user needs to choose according to actual (tube) length screenshot When slide upward or downward, (determine the long screenshot selected areas to regulate the regional location of the long screenshot selected areas Regional location) after, only it need to can retain selected long screenshot (i.e. double fingerprint modules by double fingerprint modules again again by two fingers Receive user's two fingers presses operation again, carries out long screenshot preservation to the regional location), while double fingerprint modules can exit long cut Chart-pattern so far just completes vice-minister's shot operation.
In addition, in the foregoing invention embodiment the step of, when the currently used state of detection mobile terminal, to judge the shifting When whether the content interface that dynamic terminal is opened supports long shot operation, if the content interface that mobile terminal is opened is not supported to grow When shot operation, at this point, double fingerprint modules of mobile terminal receive the slide of user's two fingers upward or downward simultaneously, to this Content interface carries out screen shot operation, and slide terminates to save current screenshot capture.I.e. this equally can be used in user Double fingerprint modules carry out common screen shot operation, likewise, double fingerprint modules in the mobile terminal receive user's two fingers Slide upward or downward simultaneously can also add a sliding speed when carrying out screen shot operation to the content interface Qualifications only meet the sliding speed qualifications simultaneously, which just carries out screen to the content interface and cut Graphic operation receives the slide of user's two fingers upward or downward simultaneously, and the cunning in double fingerprint modules of the mobile terminal When the sliding speed of dynamic operation reaches pre-set velocity threshold value, which just can carry out screenshot capture behaviour to the content interface Make.By the setting of this sliding speed qualifications, the maloperation of user's two fingers can be effectively prevent.
Further, above-mentioned steps S302 is inserted into screenshot file record corresponding with screenshot movement in the database It can specifically include: be screenshot movement creation filename under pre-set storing path including what the screenshot acted File.
Fig. 4 is the schematic diagram one of shot operation according to an embodiment of the present invention, as shown in figure 4, by the notification message After notifying the monitoring application process, the image that screenshot movement generates is shown in a manner of the preview window, user can later To click " completion " in the upper left corner of image, triggering screenshot completes instruction, shows the image that screenshot movement generates on a display screen, According to the image for completing that display screenshot movement is instructed to generate.
Fig. 5 is the schematic diagram two of shot operation according to an embodiment of the present invention, as shown in figure 5, display is cut on a display screen After the image that figure movement generates, the suspended window of display and operation described image on the image can be to length by suspended window The image that shot operation generates carries out corresponding manipulation, e.g., screenshot is shared medium to specified application.
The specified directory file generated movement of mobile phone MediaProvider database is monitored in registration, and when listening to, " mobile phone is deposited Generating new filename under storage/Pictures/Screenshots/ " catalogue includes " Screenshot " when the file of keyword, It will determine that user has carried out screenshot movement (because the storing path of android system default screenshot file is all in the catalogue Lower storage).In the embodiment of the present invention, meeting is in MediaProvider number after first saving screenshot file after user's triggering screenshot movement According to corresponding file record is inserted into library, system needs to notify to registration to monitor in form of a message by this movement at this time The monitoring application process of MediaProvider database movement variation, at this time if it is determined that the application process that needs notify is Tripartite's application process that foreground is shown then temporarily intercepts this time notice behavior, allows tripartite's application process that can not temporarily receive this section Map file generates action behavior, to judge that user is not required to continue to carry out long screenshot or long screenshot is completed in screenshot process in interaction Tripartite's application process this time screenshot action behavior is reinformed later.
The embodiment of the present invention can effectively promote the success rate that long screenshot is applied in tripartite, reduce since tripartite's application is monitored Caused by suspended window after screenshot movement is shown the problem of the failure of long screenshot.
Embodiment 2
According to another aspect of an embodiment of the present invention, a kind of mobile terminal is additionally provided, Fig. 6 is according to embodiments of the present invention Mobile terminal block diagram, as shown in fig. 6, the mobile terminal includes: processor 110, memory 109 and communication bus, In,
The communication bus, for realizing the connection communication between the processor 110 and the memory 109;
The processor 110, for executing the screen interface screenshot processing routine stored in memory 109, with realize with Lower step:
Show that application receives the screenshot instruction of triggering screenshot movement by foreground;
Screenshot file is saved, and is inserted into screenshot file record corresponding with screenshot movement in the database;
Whether the monitoring application process for judging to monitor screenshot file record in the database is the foreground display application Monitoring application process;
In the case where the judgment result is yes, it intercepts to what the monitoring application process was sent and notifies what the screenshot acted Notification message;
After receiving the completion instruction for completing screenshot movement, by the notification message notify monitoring apply into Journey.
Optionally, the processor 110 is also used to execute screen interface screenshot processing routine, to perform the steps of
Before the notification message to be notified to the monitoring application process, judges whether to receive and complete screenshot movement Completion instruction;
If the determination result is NO, the slip instruction for continuing screenshot is received;
Long screenshot file is saved according to the slip instruction.
Optionally, the processor 110 is also used to execute screen interface screenshot processing routine, to perform the steps of
It is that the screenshot acts the file for creating that filename includes the screenshot movement under pre-set storing path.
Optionally, the processor 110 is also used to execute screen interface screenshot processing routine, to perform the steps of
After the notification message to be notified to the monitoring application process, show that screenshot movement generates on a display screen Image.
Optionally, the processor 110 is also used to execute screen interface screenshot processing routine, to perform the steps of
After showing the image that screenshot movement generates on a display screen, display and operation described image is outstanding on the image Floating window.
Embodiment 3
According to another aspect of an embodiment of the present invention, a kind of computer readable storage medium, the computer are additionally provided Readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be by one or more processor It executes, to realize the following steps of above-mentioned application processing method:
S11 shows that application receives the screenshot that triggering screenshot acts and instructs by foreground;
S12 saves screenshot file, and is inserted into screenshot file record corresponding with screenshot movement in the database;
S13, whether the monitoring application process for judging to monitor screenshot file record in the database is that the foreground is shown The monitoring application process of application;
S14 is intercepted to what the monitoring application process was sent in the case where the judgment result is yes and is notified that the screenshot is dynamic The notification message of work;
The notification message is notified the monitoring to answer by S15 after receiving the completion instruction for completing screenshot movement Use process.
Through the embodiment of the present invention, show that application receives the screenshot that triggering screenshot acts and instructs by foreground;Save screenshot File, and it is inserted into screenshot file record corresponding with screenshot movement in the database;Judgement is monitored in the database and is cut Whether the monitoring application process of map file record is that the foreground shows the monitoring application process applied;It is yes in judging result In the case of, intercept the notification message for notifying the screenshot to act sent to the monitoring application process;It completes to cut receiving After the completion instruction of figure movement, the notification message is notified into the monitoring application process, is solved since tripartite applies Caused by suspended window after monitoring screenshot movement is shown the problem of the failure of long screenshot, the success that long screenshot is applied in tripartite is improved Rate improves user experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of screen interface screenshot processing method characterized by comprising
Show that application receives the screenshot instruction of triggering screenshot movement by foreground;
Screenshot file is saved, and is inserted into screenshot file record corresponding with screenshot movement in the database;
Whether the monitoring application process for judging to monitor screenshot file record in the database is that the foreground shows the prison applied Listen application process;
In the case where the judgment result is yes, the notice for notifying the screenshot to act sent to the monitoring application process is intercepted Message;
After receiving the completion instruction for completing screenshot movement, the notification message is notified into the monitoring application process.
2. the method according to claim 1, wherein by the notification message notify monitoring application into Before journey, the method also includes:
Judge whether to receive the completion instruction for completing screenshot movement;
If the determination result is NO, the slip instruction for continuing screenshot is received;
Long screenshot file is saved according to the slip instruction.
3. acting corresponding section with the screenshot the method according to claim 1, wherein being inserted into the database Map file records
It is that the screenshot acts the file for creating that filename includes the screenshot movement under pre-set storing path.
4. according to the method in any one of claims 1 to 3, which is characterized in that the notification message is being notified institute It states after monitoring application process, the method also includes:
The image that screenshot movement generates is shown on a display screen.
5. according to the method described in claim 4, it is characterized in that, show on a display screen screenshot movement generate image it Afterwards, the method also includes:
The suspended window of display and operation described image on the image.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes: processor, memory and communication bus, wherein
The communication bus, for realizing the connection communication between the processor and the memory;
The processor, for executing the screen interface screenshot processing routine stored in memory, to perform the steps of
Show that application receives the screenshot instruction of triggering screenshot movement by foreground;
Screenshot file is saved, and is inserted into screenshot file record corresponding with screenshot movement in the database;
Whether the monitoring application process for judging to monitor screenshot file record in the database is that the foreground shows the prison applied Listen application process;
In the case where the judgment result is yes, the notice for notifying the screenshot to act sent to the monitoring application process is intercepted Message;
After receiving the completion instruction for completing screenshot movement, the notification message is notified into the monitoring application process.
7. mobile terminal according to claim 6, which is characterized in that the processor is also used to execute screen interface screenshot Processing routine, to perform the steps of
Before the notification message to be notified to the monitoring application process, judges whether to receive and complete the complete of screenshot movement At instruction;
If the determination result is NO, the slip instruction for continuing screenshot is received;
Long screenshot file is saved according to the slip instruction.
8. mobile terminal according to claim 6, which is characterized in that the processor is also used to execute screen interface screenshot Processing routine, to perform the steps of
It is that the screenshot acts the file for creating that filename includes the screenshot movement under pre-set storing path.
9. the mobile terminal according to any one of claim 6 to 8, which is characterized in that the processor is also used to execute Screen interface screenshot processing routine, to perform the steps of
After the notification message to be notified to the monitoring application process, the figure that screenshot movement generates is shown on a display screen Picture.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize in claim 1 to 5 The step of described in any item application processing methods.
CN201910241207.0A 2019-03-28 2019-03-28 Screen interface screenshot processing method and mobile terminal Active CN110045888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910241207.0A CN110045888B (en) 2019-03-28 2019-03-28 Screen interface screenshot processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910241207.0A CN110045888B (en) 2019-03-28 2019-03-28 Screen interface screenshot processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN110045888A true CN110045888A (en) 2019-07-23
CN110045888B CN110045888B (en) 2021-09-14

Family

ID=67275426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910241207.0A Active CN110045888B (en) 2019-03-28 2019-03-28 Screen interface screenshot processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110045888B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986088A (en) * 2020-08-28 2020-11-24 网易(杭州)网络有限公司 Image processing method, image processing device, storage medium and terminal equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161866A1 (en) * 2009-12-29 2011-06-30 Nokia Corporation Method and apparatus for managing notifications for a long scrollable canvas
CN102968590A (en) * 2012-10-23 2013-03-13 北京奇虎科技有限公司 Pop window suppression method and system
CN105892833A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Popup message processing method and device
CN106775301A (en) * 2016-11-29 2017-05-31 珠海市魅族科技有限公司 The screenshot method and terminal device of a kind of terminal
CN106843665A (en) * 2015-12-04 2017-06-13 北京奇虎科技有限公司 A kind of screenshot method, device and terminal device
CN106851010A (en) * 2017-03-02 2017-06-13 腾讯科技(深圳)有限公司 The interference processing method and terminal of a kind of intended application
CN108196750A (en) * 2018-01-03 2018-06-22 努比亚技术有限公司 The method, apparatus and computer readable storage medium of screen interface sectional drawing
CN108334345A (en) * 2017-08-14 2018-07-27 广东欧珀移动通信有限公司 Applied program processing method, device, readable storage medium storing program for executing and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161866A1 (en) * 2009-12-29 2011-06-30 Nokia Corporation Method and apparatus for managing notifications for a long scrollable canvas
CN102968590A (en) * 2012-10-23 2013-03-13 北京奇虎科技有限公司 Pop window suppression method and system
CN106843665A (en) * 2015-12-04 2017-06-13 北京奇虎科技有限公司 A kind of screenshot method, device and terminal device
CN105892833A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Popup message processing method and device
CN106775301A (en) * 2016-11-29 2017-05-31 珠海市魅族科技有限公司 The screenshot method and terminal device of a kind of terminal
CN106851010A (en) * 2017-03-02 2017-06-13 腾讯科技(深圳)有限公司 The interference processing method and terminal of a kind of intended application
CN108334345A (en) * 2017-08-14 2018-07-27 广东欧珀移动通信有限公司 Applied program processing method, device, readable storage medium storing program for executing and mobile terminal
CN108196750A (en) * 2018-01-03 2018-06-22 努比亚技术有限公司 The method, apparatus and computer readable storage medium of screen interface sectional drawing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI手机资料: "荣耀畅玩5A截屏,滚动截屏,截屏编辑与分享", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/E6C8503C6DA1A3E54F1A18A4.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986088A (en) * 2020-08-28 2020-11-24 网易(杭州)网络有限公司 Image processing method, image processing device, storage medium and terminal equipment
CN111986088B (en) * 2020-08-28 2023-06-30 网易(杭州)网络有限公司 Image processing method, device, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN110045888B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN109407957A (en) Screen touch control method, terminal and computer readable storage medium
CN110209456A (en) Method, mobile terminal and the computer readable storage medium of the long screenshot of screen interface
CN109040441A (en) Using display methods of attending to anything else, mobile terminal and computer readable storage medium
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN107463243A (en) A kind of screen control method, mobile terminal and computer-readable recording medium
CN109739571A (en) Application program launching method, mobile terminal and computer readable storage medium
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN109933253A (en) Method for controlling application starting, terminal and computer readable storage medium
CN109726179A (en) Screenshot picture processing method, storage medium and mobile terminal
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109729267A (en) Filter selection method, mobile terminal and computer readable storage medium
CN109165042A (en) Restoration methods, terminal and computer readable storage medium are interrupted in a kind of application
CN109117105A (en) A kind of collaboration desktop interaction regulation method, equipment and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN110418004A (en) Screenshot processing method, terminal and computer readable storage medium
CN110069182A (en) Wallpaper control method, mobile terminal and computer readable storage medium
CN110086925A (en) A kind of application processing method and mobile terminal
CN109947523A (en) Replicate method of attaching, terminal and computer readable storage medium
CN109309762A (en) Message treatment method, device, mobile terminal and storage medium
CN109522276A (en) Application icon management method, terminal and computer readable storage medium
CN108595092A (en) Image processing method, equipment and computer storage media
CN108900765A (en) A kind of shooting based reminding method, mobile terminal and computer readable storage medium
CN108228301A (en) The method, apparatus and computer readable storage medium of the long sectional drawing of screen interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant