CN109976641A - Operating method, terminal and computer readable storage medium based on screenshot picture - Google Patents

Operating method, terminal and computer readable storage medium based on screenshot picture Download PDF

Info

Publication number
CN109976641A
CN109976641A CN201910252302.0A CN201910252302A CN109976641A CN 109976641 A CN109976641 A CN 109976641A CN 201910252302 A CN201910252302 A CN 201910252302A CN 109976641 A CN109976641 A CN 109976641A
Authority
CN
China
Prior art keywords
screen
screenshot picture
user
screenshot
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910252302.0A
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 CN201910252302.0A priority Critical patent/CN109976641A/en
Publication of CN109976641A publication Critical patent/CN109976641A/en
Pending legal-status Critical Current

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

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of operating method based on screenshot picture, terminal and computer readable storage mediums, method includes: that the content that currently shows of screen printing obtains screenshot picture, the screenshot picture is shown into the content upper layer that the screen is currently shown, the size of the screenshot picture is less than the size of the screen;Receive operation of the user to the screenshot picture;According to the position that the user operates the screenshot picture, the corresponding position on the screen is calculated;According to the corresponding position on the screen, the action event to the screen is simulated.In the inventive solutions, when user operates in screenshot picture, automatically position user operated in screenshot picture is converted to corresponding position on the screen, and press the action event of corresponding position analog subscriber, i.e. user need not exit screenshot picture display interface, and screen interface can directly be operated, reduce the operating procedure of user, improves the operating efficiency of user.

Description

Operating method, terminal and computer readable storage medium based on screenshot picture
Technical field
The present invention relates to field of mobile terminals more particularly to a kind of operating methods based on screenshot picture, terminal and calculating Machine readable storage medium storing program for executing.
Background technique
In general, there is the function of long screenshot in mobile phone, after user enters long screenshot, current screen is intercepted first, is generated One screenshot picture carries out small window displaying, but the element in the screenshot wicket can not be clicked, is inoperable, if user is not Think the region of interception current application, it is necessary to exit long screenshot, reselect the region of target application, be again introduced into long screenshot application Screenshot is carried out, and if user suddenly wants to open other application, need to exit long screenshot, the icon of reselection other application It is clicked, it is seen that current protocol step is complicated, and cumbersome, user experience is bad.
Therefore, it is necessary to a kind of new technical solutions, allow user not exit screenshot picture interface, are directly based upon screenshot picture Interface carries out touch operation.
Summary of the invention
It is a primary object of the present invention to propose a kind of operating method based on screenshot picture, terminal and computer-readable deposit Storage media, it is intended to allow user not exit screenshot picture interface, be directly based upon screenshot picture interface and carry out touch operation.
To achieve the above object, the present invention provides a kind of operating methods based on screenshot picture, comprising: screen printing is worked as The content of preceding display obtains screenshot picture, and the screenshot picture is shown the content upper layer that the screen is currently shown, and described section The size for shielding picture is less than the size of the screen;Receive operation of the user to the screenshot picture;According to the user to institute The position that screenshot picture is operated is stated, the corresponding position on the screen is calculated;According to the corresponding position on the screen, mould The quasi- action event to the screen.
To achieve the above object, the present invention provides a kind of terminal, the terminal includes processor, memory, communicates always Line;The communication bus is for realizing the connection communication between processor and memory;The processor is for executing memory The program of middle storage, the step of to realize preceding method.
To achieve the above object, the present invention provides a kind of computer readable storage medium, the computer-readable storages Media storage has one or more program, and one or more of programs can be executed by one or more processor, with The step of realizing preceding method.
According to above technical scheme, it is known that the operating method of the invention based on screenshot picture, terminal and computer-readable Storage medium has at least the following advantages:
In the inventive solutions, when user operates in screenshot picture, automatically by user in snapshot The position of on piece operation is converted to corresponding position on the screen, and presses the action event of corresponding position analog subscriber, i.e. user Screenshot picture display interface need not be exited, and screen interface can directly be operated, reduces the operating procedure of user, mentions The operating efficiency of user is risen.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment 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 according to the operating method based on screenshot picture of one embodiment of the present of invention;
Fig. 4 is the flow chart according to the operating method based on screenshot picture of one embodiment of the present of invention;
Fig. 5 is the schematic diagram according to the operating method based on screenshot picture of one embodiment of the present of invention;
Fig. 6 is the flow chart according to the operating method based on screenshot picture of one embodiment of the present of invention;
Fig. 7 is the block diagram according to the terminal of one embodiment of the present of 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 distinctive 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 peculiar 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 integral 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.
As shown in figure 3, providing a kind of operating method based on screenshot picture in one embodiment of the present of invention, comprising:
Step S310, the content that screen printing is currently shown obtain screenshot picture, and screenshot picture is shown that screen is currently shown The content upper layer shown, the size of screenshot picture are less than the size of screen.
In the present embodiment, generally, the instruction of screenshotss is carried out to terminal screen as the instruction of long screenshot, terminal receives length Screenshot triggering command, into long screenshot.
Step S320 receives operation of the user to screenshot picture.
In the prior art scheme, since screenshot picture is only a picture, user can not be grasped based on screenshot picture Make to trigger interruption system function.
Step S330 calculates the corresponding position on screen according to the position that user operates screenshot picture.
In the present embodiment, screenshot picture actually screen thumbnail turns operating position of the user in screenshot picture The corresponding position being changed on screen interface, for example, as user clicks certain element in screenshot picture, then the corresponding position after converting For the position of the element on screen interface.
Step S340 simulates the action event to screen according to the corresponding position on screen.
In the present embodiment, by taking android system as an example, when incoming event generation, InputReader (android system For obtaining the mechanism of incoming event) it is activated, reading message is then sent to terminal and clicks case distribution mechanism, completes screen Clicking operation.For example, user clicks certain application icon in screenshot picture, then can clicking screen interface with analog subscriber, this is answered With the event of icon, to trigger the function of the application.
According to the technical solution of the present embodiment, when user operates in screenshot picture, automatically by user in screenshotss The position operated on picture is converted to corresponding position on the screen, and presses the action event of corresponding position analog subscriber, that is, uses Family need not exit screenshot picture display interface, and can directly operate to screen interface, reduce the operating procedure of user, Improve the operating efficiency of user.
As shown in figure 4, providing a kind of operating method based on screenshot picture in one embodiment of the present of invention, comprising:
Step S410, the content that screen printing is currently shown obtain screenshot picture, and screenshot picture is shown that screen is currently shown The content upper layer shown, the size of screenshot picture are less than the size of screen.
Step S420 receives operation of the user to screenshot picture.
Step S430, the distance according to the size of screenshot picture, the size of screen, screenshot picture relative to screen generate Coordinate mapping relations.
Step S440, according to the coordinate of the coordinate mapping relations and user's operation position of preset screenshot picture and screen, Calculate the coordinate of the corresponding position on screen.
In the present embodiment, as shown in figure 5, using screen upper left point as origin, the height x1 of current screen, width are obtained Y1, it is known that the height x2 of screenshot impression window, width y2, broadside is away from dx, and off screen curtain top sides are away from dy.Position on wicket (X, Y) is ((X-dx) * x1/x2, (Y-dy) * y1/y2) in the mapping position of former screen, establishes two wickets and former screen Curtain coordinate mapping relations.When (X, the Y) on wicket is put when the user clicks, current click coordinate position is converted into former screen Coordinate position ((X-dx) * x1/x2, (Y-dy) * y1/y2), and this position write the input equipment node dev/ of terminal Uinput (mechanism of android system simulation input event) injects screen taps coordinate data to kernel.By walking above Suddenly, the clicking operation on wicket is mapped to the clicking operation on former screen, realizes to click and advance, switches the function at interface.
Step S450 calculates the corresponding position on screen according to the position that user operates screenshot picture.
Step S460 simulates the action event to screen according to the corresponding position on screen.
Step S470, after the corresponding movement of incoming event executes, the content that screen printing is currently shown again is simultaneously Update screenshot picture.
In the present embodiment, after former screen is clicked, changing interface is completed after drawing, and the application of notice screenshot is again Screen printing shows that, when user needs to intercept picture again, the technical solution based on the present embodiment can be fast as new window Speed interception.
As shown in fig. 6, providing a kind of operating method based on screenshot picture in one embodiment of the present of invention, comprising:
Step S610, the content that screen printing is currently shown obtain screenshot picture, and screenshot picture is shown that screen is currently shown The content upper layer shown, the size of screenshot picture are less than the size of screen.
Step S620 receives operation of the user to screenshot picture.
Step S630 calculates the corresponding position on screen according to the position that user operates screenshot picture.
Step S640 simulates the action event to screen according to the corresponding position on screen.
Step S650 determines the size of return push-button according to the size in the region of element-free.
In the present embodiment, it in order to avoid return push-button is oversized, overlaps with the element in screenshot picture, so Need to rationally design the size of return push-button.
Step S660, return push-button is drawn in the region of element-free in screenshot picture.
In the present embodiment, return push-button and element will not be overlapped, and user will not phase to the operation of return push-button and element Mutually interference.
Step S670 receives operation of the user to return push-button, and simulates the event of the return key of triggering terminal system.
In the present embodiment, the Instrumentation frame clsss of android system, which can be understood to one kind, does not have Graphical interfaces, with starting ability, for monitoring the tool-class of other classes.Based on this, as shown in figure 5, in wicket circle A return push-button is added in face, when clicking return push-button, executes in Instrumentation class SendKeyDownUpSync (KeyEvent.KEYCODE_BACK) method realizes that the function of back key is clicked in simulation.
Step S680, after the corresponding movement of the event for returning to key executes, screen printing is currently shown again Content simultaneously updates screenshot picture.
In the present embodiment, it realizes to click and return, switch the function at interface.Technical solution based on the present embodiment, passes through The step of capable of operating application at screenshot interface, reduce selection target screenshot interface, the user experience is improved.
As shown in fig. 7, providing a kind of terminal in one embodiment of the present of invention, terminal includes processor 710, memory 720, communication bus 730;Communication bus 730 is for realizing the connection communication between processor 710 and memory 720;Processor 710 for executing the program stored in memory 720, to perform the steps of
The content that screen printing is currently shown obtains screenshot picture, in the content that screenshot picture display screen is currently shown Layer, the size of screenshot picture are less than the size of screen.
In the present embodiment, generally, the instruction of screenshotss is carried out to terminal screen as the instruction of long screenshot, terminal receives length Screenshot triggering command, into long screenshot.
Receive operation of the user to screenshot picture.
In the prior art scheme, since screenshot picture is only a picture, user can not be grasped based on screenshot picture Make to trigger interruption system function.
According to the position that user operates screenshot picture, the corresponding position on screen is calculated.
In the present embodiment, screenshot picture actually screen thumbnail turns operating position of the user in screenshot picture The corresponding position being changed on screen interface, for example, as user clicks certain element in screenshot picture, then the corresponding position after converting For the position of the element on screen interface.
According to the corresponding position on screen, the action event to screen is simulated.
In the present embodiment, by taking android system as an example, when incoming event generation, InputReader (android system For obtaining the mechanism of incoming event) it is activated, reading message is then sent to terminal and clicks case distribution mechanism, completes screen Clicking operation.For example, user clicks certain application icon in screenshot picture, then can clicking screen interface with analog subscriber, this is answered With the event of icon, to trigger the function of the application.
According to the technical solution of the present embodiment, when user operates in screenshot picture, automatically by user in screenshotss The position operated on picture is converted to corresponding position on the screen, and presses the action event of corresponding position analog subscriber, that is, uses Family need not exit screenshot picture display interface, and can directly operate to screen interface, reduce the operating procedure of user, Improve the operating efficiency of user.
As shown in fig. 7, providing a kind of terminal in one embodiment of the present of invention, terminal includes processor 710, memory 720, communication bus 730;Communication bus 730 is for realizing the connection communication between processor 710 and memory 720;Processor 710 for executing the program stored in memory 720, to perform the steps of
The content that screen printing is currently shown obtains screenshot picture, in the content that screenshot picture display screen is currently shown Layer, the size of screenshot picture are less than the size of screen.
Receive operation of the user to screenshot picture.
Distance according to the size of screenshot picture, the size of screen, screenshot picture relative to screen generates coordinate mapping and closes System.
According to the coordinate of the coordinate mapping relations and user's operation position of preset screenshot picture and screen, calculate on screen Corresponding position coordinate.
In the present embodiment, as shown in figure 5, using screen upper left point as origin, the height x1 of current screen, width are obtained Y1, it is known that the height x2 of screenshot impression window, width y2, broadside is away from dx, and off screen curtain top sides are away from dy.Position on wicket (X, Y) is ((X-dx) * x1/x2, (Y-dy) * y1/y2) in the mapping position of former screen, establishes two wickets and former screen Curtain coordinate mapping relations.When (X, the Y) on wicket is put when the user clicks, current click coordinate position is converted into former screen Coordinate position ((X-dx) * x1/x2, (Y-dy) * y1/y2), and this position write the input equipment node dev/ of terminal Uinput (mechanism of android system simulation input event) injects screen taps coordinate data to kernel.By walking above Suddenly, the clicking operation on wicket is mapped to the clicking operation on former screen, realizes to click and advance, switches the function at interface.
According to the position that user operates screenshot picture, the corresponding position on screen is calculated.
According to the corresponding position on screen, the action event to screen is simulated.
After the corresponding movement of incoming event executes, screen printing is currently shown again content simultaneously updates snapshot Piece.
In the present embodiment, after former screen is clicked, changing interface is completed after drawing, and the application of notice screenshot is again Screen printing shows that, when user needs to intercept picture again, the technical solution based on the present embodiment can be fast as new window Speed interception.
As shown in fig. 7, providing a kind of terminal in one embodiment of the present of invention, terminal includes processor 710, memory 720, communication bus 730;Communication bus 730 is for realizing the connection communication between processor 710 and memory 720;Processor 710 for executing the program stored in memory 720, to perform the steps of
The content that screen printing is currently shown obtains screenshot picture, in the content that screenshot picture display screen is currently shown Layer, the size of screenshot picture are less than the size of screen.
Receive operation of the user to screenshot picture.
According to the position that user operates screenshot picture, the corresponding position on screen is calculated.
According to the corresponding position on screen, the action event to screen is simulated.
According to the size in the region of element-free, the size of return push-button is determined.
In the present embodiment, it in order to avoid return push-button is oversized, overlaps with the element in screenshot picture, so Need to rationally design the size of return push-button.
Return push-button is drawn in the region of element-free in screenshot picture.
In the present embodiment, return push-button and element will not be overlapped, and user will not phase to the operation of return push-button and element Mutually interference.
Operation of the user to return push-button is received, and simulates the event of the return key of triggering terminal system.
In the present embodiment, the Instrumentation frame clsss of android system, which can be understood to one kind, does not have Graphical interfaces, with starting ability, for monitoring the tool-class of other classes.Based on this, as shown in figure 5, in wicket circle A return push-button is added in face, when clicking return push-button, executes in Instrumentation class SendKeyDownUpSync (KeyEvent.KEYCODE_BACK) method realizes that the function of back key is clicked in simulation.
After returning to the event corresponding movement execution of key, screen printing is currently shown again content and update Screenshot picture.
In the present embodiment, it realizes to click and return, switch the function at interface.Technical solution based on the present embodiment, passes through The step of capable of operating application at screenshot interface, reduce selection target screenshot interface, the user experience is improved.
A kind of computer readable storage medium is provided in one embodiment of the present of invention, computer readable storage medium is deposited One or more program is contained, one or more program can be executed by one or more processor, to realize following step It is rapid:
The content that screen printing is currently shown obtains screenshot picture, in the content that screenshot picture display screen is currently shown Layer, the size of screenshot picture are less than the size of screen.
In the present embodiment, generally, the instruction of screenshotss is carried out to terminal screen as the instruction of long screenshot, terminal receives length Screenshot triggering command, into long screenshot.
Receive operation of the user to screenshot picture.
In the prior art scheme, since screenshot picture is only a picture, user can not be grasped based on screenshot picture Make to trigger interruption system function.
According to the position that user operates screenshot picture, the corresponding position on screen is calculated.
In the present embodiment, screenshot picture actually screen thumbnail turns operating position of the user in screenshot picture The corresponding position being changed on screen interface, for example, as user clicks certain element in screenshot picture, then the corresponding position after converting For the position of the element on screen interface.
According to the corresponding position on screen, the action event to screen is simulated.
In the present embodiment, by taking android system as an example, when incoming event generation, InputReader (android system For obtaining the mechanism of incoming event) it is activated, reading message is then sent to terminal and clicks case distribution mechanism, completes screen Clicking operation.For example, user clicks certain application icon in screenshot picture, then can clicking screen interface with analog subscriber, this is answered With the event of icon, to trigger the function of the application.
According to the technical solution of the present embodiment, when user operates in screenshot picture, automatically by user in screenshotss The position operated on picture is converted to corresponding position on the screen, and presses the action event of corresponding position analog subscriber, that is, uses Family need not exit screenshot picture display interface, and can directly operate to screen interface, reduce the operating procedure of user, Improve the operating efficiency of user.
A kind of computer readable storage medium is provided in one embodiment of the present of invention, computer readable storage medium is deposited One or more program is contained, one or more program can be executed by one or more processor, to realize following step It is rapid:
The content that screen printing is currently shown obtains screenshot picture, in the content that screenshot picture display screen is currently shown Layer, the size of screenshot picture are less than the size of screen.
Receive operation of the user to screenshot picture.
Distance according to the size of screenshot picture, the size of screen, screenshot picture relative to screen generates coordinate mapping and closes System.
According to the coordinate of the coordinate mapping relations and user's operation position of preset screenshot picture and screen, calculate on screen Corresponding position coordinate.
In the present embodiment, as shown in figure 5, using screen upper left point as origin, the height x1 of current screen, width are obtained Y1, it is known that the height x2 of screenshot impression window, width y2, broadside is away from dx, and off screen curtain top sides are away from dy.Position on wicket (X, Y) is ((X-dx) * x1/x2, (Y-dy) * y1/y2) in the mapping position of former screen, establishes two wickets and former screen Curtain coordinate mapping relations.When (X, the Y) on wicket is put when the user clicks, current click coordinate position is converted into former screen Coordinate position ((X-dx) * x1/x2, (Y-dy) * y1/y2), and this position write the input equipment node dev/ of terminal Uinput (mechanism of android system simulation input event) injects screen taps coordinate data to kernel.By walking above Suddenly, the clicking operation on wicket is mapped to the clicking operation on former screen, realizes to click and advance, switches the function at interface.
According to the position that user operates screenshot picture, the corresponding position on screen is calculated.
According to the corresponding position on screen, the action event to screen is simulated.
After the corresponding movement of incoming event executes, screen printing is currently shown again content simultaneously updates snapshot Piece.
In the present embodiment, after former screen is clicked, changing interface is completed after drawing, and the application of notice screenshot is again Screen printing shows that, when user needs to intercept picture again, the technical solution based on the present embodiment can be fast as new window Speed interception.
A kind of computer readable storage medium is provided in one embodiment of the present of invention, computer readable storage medium is deposited One or more program is contained, one or more program can be executed by one or more processor, to realize following step It is rapid:
The content that screen printing is currently shown obtains screenshot picture, in the content that screenshot picture display screen is currently shown Layer, the size of screenshot picture are less than the size of screen.
Receive operation of the user to screenshot picture.
According to the position that user operates screenshot picture, the corresponding position on screen is calculated.
According to the corresponding position on screen, the action event to screen is simulated.
According to the size in the region of element-free, the size of return push-button is determined.
In the present embodiment, it in order to avoid return push-button is oversized, overlaps with the element in screenshot picture, so Need to rationally design the size of return push-button.
Return push-button is drawn in the region of element-free in screenshot picture.
In the present embodiment, return push-button and element will not be overlapped, and user will not phase to the operation of return push-button and element Mutually interference.
Operation of the user to return push-button is received, and simulates the event of the return key of triggering terminal system.
In the present embodiment, the Instrumentation frame clsss of android system, which can be understood to one kind, does not have Graphical interfaces, with starting ability, for monitoring the tool-class of other classes.Based on this, as shown in figure 5, in wicket circle A return push-button is added in face, when clicking return push-button, executes in Instrumentation class SendKeyDownUpSync (KeyEvent.KEYCODE_BACK) method realizes that the function of back key is clicked in simulation.
After returning to the event corresponding movement execution of key, screen printing is currently shown again content and update Screenshot picture.
In the present embodiment, it realizes to click and return, switch the function at interface.Technical solution based on the present embodiment, passes through The step of capable of operating application at screenshot interface, reduce selection target screenshot interface, the user experience is improved.
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 operating method based on screenshot picture characterized by comprising
The content that screen printing is currently shown obtains screenshot picture, the screenshot picture is shown that the screen is currently shown in Hold upper layer, the size of the screenshot picture is less than the size of the screen;
Receive operation of the user to the screenshot picture;
According to the position that the user operates the screenshot picture, the corresponding position on the screen is calculated;
According to the corresponding position on the screen, the action event to the screen is simulated.
2. the method according to claim 1, wherein described grasp the screenshot picture according to the user The position of work calculates the corresponding position on the screen, comprising:
According to the coordinate of the coordinate mapping relations and the user's operation position of the preset screenshot picture and the screen, meter Calculate the coordinate of the corresponding position on the screen.
3. according to the method described in claim 2, it is characterized in that, being carried out according to the user to the screenshot picture described The position of operation, before calculating the corresponding position on the screen, further includes:
Distance according to the size of the screenshot picture, the size, the screenshot picture of the screen relative to the screen, it is raw At the coordinate mapping relations.
4. the method according to claim 1, wherein further include:
After the corresponding movement of the incoming event executes, the content that the screen is currently shown is intercepted again and updates institute State screenshot picture.
5. the method according to claim 1, wherein further include:
Return push-button is drawn on the upper layer of the screenshot picture;
Operation of the user to the return push-button is received, and simulates the event of the return key of triggering terminal system.
6. according to the method described in claim 5, it is characterized in that, described return in the drafting of the upper layer of the screenshot picture is pressed Button, comprising:
The return push-button is drawn in the region of element-free in the screenshot picture.
7. according to the method described in claim 6, it is characterized in that, being drawn in the region of the element-free in the screenshot picture Before making the return push-button, further includes:
According to the size in the region of the element-free, the size of the return push-button is determined.
8. according to the method described in claim 5, it is characterized by further comprising:
After the event corresponding movement execution for returning to key, content that the screen is currently shown is intercepted again simultaneously Update the screenshot picture.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory, communication bus;The communication bus is used for Realize the connection communication between processor and memory;The processor is for executing the program stored in memory, to realize The step of method described in any item of the claim 1 to 8.
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 8 The step of described in any item methods.
CN201910252302.0A 2019-03-29 2019-03-29 Operating method, terminal and computer readable storage medium based on screenshot picture Pending CN109976641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910252302.0A CN109976641A (en) 2019-03-29 2019-03-29 Operating method, terminal and computer readable storage medium based on screenshot picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910252302.0A CN109976641A (en) 2019-03-29 2019-03-29 Operating method, terminal and computer readable storage medium based on screenshot picture

Publications (1)

Publication Number Publication Date
CN109976641A true CN109976641A (en) 2019-07-05

Family

ID=67081924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910252302.0A Pending CN109976641A (en) 2019-03-29 2019-03-29 Operating method, terminal and computer readable storage medium based on screenshot picture

Country Status (1)

Country Link
CN (1) CN109976641A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413366A (en) * 2019-07-30 2019-11-05 深圳市乘法信息技术有限公司 A kind of screenshotss method, apparatus, equipment and storage medium based on block chain
CN112148193A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Navigation gesture setting method and device and electronic equipment
CN112835667A (en) * 2021-02-04 2021-05-25 深圳市广和通无线股份有限公司 Interface element positioning method, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120036444A1 (en) * 2010-07-01 2012-02-09 Andersen Ann-Cabell Baum Systems and Methods for Interactive Web-based Social Networking and Activities Coordination
CN102915201A (en) * 2012-09-17 2013-02-06 广东欧珀移动通信有限公司 One-hand operation method of large-screen touch screen mobile phone
CN103472996A (en) * 2013-09-17 2013-12-25 深圳市佳创软件有限公司 Method and device for receiving touch in mobile device
CN103543913A (en) * 2013-10-25 2014-01-29 小米科技有限责任公司 Terminal device operation method and device, and terminal device
CN103558957A (en) * 2013-10-17 2014-02-05 深圳市欧珀通信软件有限公司 Method and device for screen operation of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120036444A1 (en) * 2010-07-01 2012-02-09 Andersen Ann-Cabell Baum Systems and Methods for Interactive Web-based Social Networking and Activities Coordination
CN102915201A (en) * 2012-09-17 2013-02-06 广东欧珀移动通信有限公司 One-hand operation method of large-screen touch screen mobile phone
CN103472996A (en) * 2013-09-17 2013-12-25 深圳市佳创软件有限公司 Method and device for receiving touch in mobile device
CN103558957A (en) * 2013-10-17 2014-02-05 深圳市欧珀通信软件有限公司 Method and device for screen operation of mobile terminal
CN103543913A (en) * 2013-10-25 2014-01-29 小米科技有限责任公司 Terminal device operation method and device, and terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413366A (en) * 2019-07-30 2019-11-05 深圳市乘法信息技术有限公司 A kind of screenshotss method, apparatus, equipment and storage medium based on block chain
CN110413366B (en) * 2019-07-30 2023-10-31 深圳市乘法信息技术有限公司 Screen capturing method, device, equipment and storage medium based on blockchain
CN112148193A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Navigation gesture setting method and device and electronic equipment
WO2022068725A1 (en) * 2020-09-30 2022-04-07 维沃移动通信有限公司 Navigation gesture setting method and apparatus, and electronic device
CN112835667A (en) * 2021-02-04 2021-05-25 深圳市广和通无线股份有限公司 Interface element positioning method, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109885174A (en) Gesture control method, device, mobile terminal and storage medium
CN109343775A (en) Double screen terminal screen switching method, terminal and computer readable storage medium
CN109407957A (en) Screen touch control method, terminal and computer readable storage medium
CN107748638A (en) A kind of region method of adjustment, terminal and computer-readable recording medium
CN109040441A (en) Using display methods of attending to anything else, mobile terminal and computer readable storage medium
CN109284065A (en) Key false-touch prevention method, apparatus, mobile terminal and readable storage medium storing program for executing
CN108881635A (en) Screen luminance adjustment method, mobile terminal and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN109933253A (en) Method for controlling application starting, terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109976641A (en) Operating method, terminal and computer readable storage medium based on screenshot picture
CN109376669A (en) Control method, mobile terminal and the computer readable storage medium of intelligent assistant
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
CN110096213A (en) Terminal operation method, mobile terminal and readable storage medium storing program for executing based on gesture
CN109889651A (en) A kind of notification message processing method, terminal and computer readable storage medium
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN110007817A (en) A kind of message treatment method and mobile terminal, computer readable storage medium
CN110096173A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110174934A (en) A kind of power button device and mobile terminal
CN109710168A (en) A kind of screen touch method, equipment and computer readable storage medium
CN109683796A (en) A kind of interaction control method, equipment and computer readable storage medium
CN109658883A (en) Screen display method, terminal and computer readable storage medium
CN109522064A (en) The exchange method and interactive device of portable electronic device with double screen

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: 20190705