WO2021017730A1 - Screenshot method and terminal device - Google Patents

Screenshot method and terminal device Download PDF

Info

Publication number
WO2021017730A1
WO2021017730A1 PCT/CN2020/099345 CN2020099345W WO2021017730A1 WO 2021017730 A1 WO2021017730 A1 WO 2021017730A1 CN 2020099345 W CN2020099345 W CN 2020099345W WO 2021017730 A1 WO2021017730 A1 WO 2021017730A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
screenshot
terminal device
sub
user
Prior art date
Application number
PCT/CN2020/099345
Other languages
French (fr)
Chinese (zh)
Inventor
王飞
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021017730A1 publication Critical patent/WO2021017730A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a screenshot method and terminal equipment.
  • terminal equipment has become an indispensable tool for people's work and life.
  • people In the process of using the terminal device, people usually take screenshots of the information on the terminal device, so as to share the screenshots with friends or obtain beautiful pictures through the screenshots.
  • the user needs to take a screenshot of a part of the area on the screen, the user needs to drag the control displayed on the screen first to adjust the range of the area selected by the control. After adjusting the selected area, the user needs to perform another operation to trigger the terminal to perform a screenshot operation.
  • the embodiments of the present disclosure provide a screenshot method and terminal device to solve the problem of cumbersome operation of the screenshot method in the related art.
  • embodiments of the present disclosure provide a screenshot method, including:
  • the embodiments of the present disclosure also provide a terminal device, including:
  • the receiving module is used to receive the user's first operation when the screenshot control is displayed;
  • An adjustment module configured to adjust the position of the sub-control corresponding to the first operation in the screenshot control in response to the first operation
  • the screenshot module is used to perform screenshots based on the adjusted screenshot control.
  • the embodiments of the present disclosure also provide a terminal device, including: a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the computer program as described above. The steps in the screenshot method described.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the screenshot method described above are implemented.
  • the terminal device when the screenshot control is displayed, the user's first operation is received; in response to the first operation, the position of the child control corresponding to the first operation in the screenshot control is adjusted; based on the adjustment Take a screenshot after the screenshot control. In this way, the terminal device can take screenshots according to the adjusted screenshot control, which can reduce user operations and improve operating efficiency.
  • FIG. 1 is one of the flowcharts of the screenshot method provided by an embodiment of the present disclosure
  • FIGS. 2 to 6 are schematic diagrams of information interfaces of terminal devices provided by embodiments of the present disclosure.
  • FIG. 7 is the second flowchart of the screenshot method provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of another information interface of a terminal device provided by an embodiment of the present disclosure.
  • FIG. 9 is one of the structural diagrams of a terminal device provided by an embodiment of the present disclosure.
  • Fig. 10 is a second structural diagram of a terminal device provided by an embodiment of the present disclosure.
  • Fig. 1 is a flowchart of a screenshot method provided by an embodiment of the present disclosure. As shown in Fig. 1, it includes the following steps:
  • Step 101 In the case of displaying the screenshot control, receive the first operation of the user.
  • the screenshot control displayed by the terminal device may be displayed based on a user's operation, or may be displayed when the terminal device displays a specific interface.
  • the user operates on the information in the browsing interface, triggering the terminal device to display the screenshot control, so that the user can select part of the information in the browsing interface; another example, the terminal device displays the screenshot control on the picture when the picture is expanded and displayed. So that users can quickly edit the screenshot control.
  • This embodiment does not limit the specific scene of displaying the screenshot control.
  • the screenshot control can be used to select the range of information.
  • the information in the closed graphic can be the information that needs to be selected; if the screenshot control has multiple unconnected child controls, it is located among the child controls.
  • the time information can be selected information. Screenshot controls such as selection boxes or child controls for selecting the start and end positions of information, etc.
  • the user can operate the screenshot control, for example, click or drag on the screenshot control; or operate within the range selected by the screenshot control, for example, by two-finger sliding operation.
  • the first operation of the receiving user includes:
  • the adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
  • the first sub-control is moved to the position of the screen frame corresponding to the first sub-control in the terminal device, and the size of the screenshot control is updated.
  • a preset logo is displayed on the first sub-control of the screenshot control, and the user can operate the preset logo.
  • the preset identifier may be an identifier used to prompt the user to operate the position, and by operating the identifier, the user can be prevented from performing misoperations
  • the first sub-control may be any sub-control in the screenshot control.
  • the terminal device can obtain the first sub-control corresponding to the position operated by the user, move the first sub-control to the position of the screen border, and update the size of the screenshot control.
  • FIG. 2 For example, as shown in Figure 2, multiple preset points are displayed on the screenshot control, and the user double-clicks the preset point 111 on the sub-control 11 in the screenshot control.
  • the terminal device responds to the user's operation and controls the sub-control 11 to move to The left edge of the screen is updated to display the size of the screenshot control, as shown in Figure 3.
  • the user can move the first sub-control to the position of the screen border by operating the preset point on the screenshot control, thereby adjusting the selected range of the screenshot control, which can improve the user's operation efficiency and the convenience of user operation .
  • Step 102 In response to the first operation, adjust the position of the sub-control corresponding to the first operation in the screenshot control.
  • the child control corresponding to the first operation may be the child control where the first operation is located, or the child control whose distance from the first operation is less than a preset distance, etc.
  • the terminal device can adjust the position of the sub-control according to the position of the first operation, for example, control the sub-control to move with the position of the first operation; the terminal device can also respond to the first operation by directly moving the sub-control to the target Position, the target position can be the edge of the screen or the position with a preset distance from the sub-control, etc.
  • the size of the screenshot control can also be adjusted according to the characteristics of the screenshot control. For example, when the screenshot control is a closed graphic, you can adjust the size of the screenshot control after adjusting the position of part of the sub-controls of the screenshot control.
  • an enlarged preview image of the screenshot control is displayed in a preset area of the terminal device, and the first operation is an enlarged preview image of the screenshot control
  • the adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
  • the terminal device may display an enlarged preview image of the screenshot control in a preset area.
  • the enlarged preview image may specifically be a preview image of the corresponding position of the first operation.
  • the user can further operate the child controls in the enlarged preview image, that is, the second click operation.
  • the terminal device responds to the second click operation to control the target child
  • the control moves parallel to the preset distance and adjusts the size of the screenshot control.
  • the above-mentioned enlarged preview image may also be a preview image of a child control whose distance from the screen frame is less than a preset distance, so that the user can observe the positional relationship between the child control and the screen frame through the preview image.
  • the user operates the sub-control 11 in the screenshot control, and the terminal device displays an enlarged preview of the partial area of the screenshot control in the upper area of the display screen.
  • This area may correspond to the position where the user performs the operation. area. In this way, it is convenient for the user to operate the sub-control 11 in the magnified area, and it is convenient for the user to view the position of the sub-control 11 to make adjustments.
  • the terminal device When the user operates the sub-control, the terminal device responds to the user's operation and controls the sub-control to move according to a preset distance.
  • the user can also set the distance of each movement for the user to adjust. For example, when the distance to be adjusted for the sub-control is small, the step distance can be set to be smaller; when the distance to be adjusted is larger, the step distance can be set to be larger. In this way, the terminal device moves the corresponding distance according to the user's operation each time according to the set step distance, which is convenient for precise adjustment and convenient for user operations.
  • the user can more accurately adjust the moving distance of the sub-controls by zooming in the preview image, and improve the accuracy of the selected content.
  • Step 103 Perform a screenshot based on the adjusted screenshot control.
  • the terminal device can obtain the content captured by the adjusted screenshot control, and can take screenshots of the content selected by the screenshot control; or the terminal device can directly take screenshots of the content within the adjusted screenshot control range.
  • the user needs to take a screenshot of the information displayed on the screen, and the user operates the terminal device to trigger the terminal device to display a rectangular frame, as shown by the dotted line in FIG. 5. At this time, the user can further operate on the rectangular frame to intercept a part of the area that needs to be acquired.
  • the user operates the frame 11 of the rectangular frame
  • the terminal device responds to the user's operation by controlling the frame 11 of the rectangular frame to move to the edge of the screen, and controlling the upper and lower long sides of the rectangular frame to extend to the left of the screen.
  • Edge as shown in Figure 3.
  • the user can also operate the frame 12 of the rectangular frame in the same manner as described above, and the terminal responds to the user's operation to control the frame 12 of the rectangular frame to move to the right edge of the screen, as shown in FIG. 6.
  • the information selected in the rectangular box is the information that needs to be captured. In this way, when the rectangular frame is close to the edge of the screen, which makes it difficult for the user to perform operations or has a large number of operations, the method in the embodiment of the present disclosure can quickly adjust the rectangular frame to a suitable range.
  • the screenshot control When the screenshot control includes multiple unconnected sub-components, it can also control the movement of some sub-components, thereby realizing the expansion and reduction of the information range.
  • the above screenshot method can be applied to terminal devices, such as: mobile phones, tablet computers (Tablet Personal Computer), laptop computers (Laptop Computer), personal digital assistants (personal digital assistant, PDA), mobile Internet devices (Mobile Internet Device, MID) or Wearable Device (Wearable Device), etc.
  • terminal devices such as: mobile phones, tablet computers (Tablet Personal Computer), laptop computers (Laptop Computer), personal digital assistants (personal digital assistant, PDA), mobile Internet devices (Mobile Internet Device, MID) or Wearable Device (Wearable Device), etc.
  • the terminal device when the screenshot control is displayed, a user's first operation is received; in response to the first operation, the position of the child control corresponding to the first operation in the screenshot control is adjusted; Take a screenshot based on the adjusted screenshot control.
  • the terminal device can take screenshots according to the adjusted screenshot control, which can reduce user operations and improve operating efficiency.
  • the main difference between this embodiment and the above-mentioned embodiment is that the position of the sub-control in the screenshot control is adjusted according to the type of information.
  • FIG. 7 is a flowchart of a screenshot method provided by an embodiment of the present disclosure. As shown in FIG. 7, it includes the following steps:
  • Step 701 Receive the first operation of the user when the screenshot control is displayed.
  • the first operation is a selection operation of target information in the screenshot control.
  • the target information can be any information selected in the screenshot control.
  • Step 702 In response to the first operation, adjust the position of the child control in the screenshot control according to the type of the target information, wherein the type of the information in the adjusted screenshot control and the type of the target information the same.
  • the terminal device in response to the first operation, can identify the type of target information, for example, pictures, texts, videos, etc.
  • the terminal device adjusts the position of the sub-controls in the screenshot control according to the type of the target information, where the number of the sub-controls may be one or more.
  • the sub-controls can be any one or more borders in the rectangular frame 1.
  • the dotted lines in the rectangular box 1 and the solid lines in the rectangular box 2 in FIG. 8 are only used to illustrate the screenshot control, and do not constitute a specific limitation on the screenshot control.
  • the position of the sub-controls you can also adjust the size of the screenshot control.
  • the type of information selected by the adjusted screenshot control is the same as the type of target information.
  • the information selected by the screenshot control includes text and pictures. If the user selects the text, the terminal device adjusts the position of the sub-controls in the screenshot control so that the information selected by the adjusted screenshot control is text information.
  • Step 703 Perform a screenshot based on the adjusted screenshot control.
  • step 701 and step 703 reference may be made to the description in the foregoing embodiment, which will not be repeated here.
  • the user operates on the terminal device, and the terminal device displays a rectangular frame 1 as shown in FIG. 8.
  • the information type is pictures.
  • the embodiment of the present disclosure can also identify the information type of the information selected by the screenshot control after displaying the screenshot control, and display the sub-snapshot control, and each sub-snapshot control selects one information type.
  • the terminal device may also output prompt information to prompt the user to select any one or more of the above information types. After the user selects the target type corresponding to the target information, the terminal device responds to the user's operation by displaying only the sub-screenshot controls of the selected target type, and hides other sub-screenshot controls.
  • the screenshot control includes N borders, the child control is at least one of the N borders, and N is an integer greater than 2;
  • the adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
  • the screenshot control is composed of multiple frames, and the user can operate any frame, that is, the first operation.
  • the screenshot control can be a rectangular box, a hexagonal box, and so on.
  • the terminal device In response to the user's operation, the terminal device adjusts the position of the frame corresponding to the first operation, and adjusts the size of the screenshot control accordingly.
  • the user can adjust the size of the screenshot control by operating the frame of the screenshot control, which can improve the user's operation efficiency and reduce the user's operation.
  • the terminal device adjusts the position of the sub-control in the screenshot control according to the type of information, which can reduce user operations and improve operation efficiency.
  • FIG. 9 is a structural diagram of a terminal device provided by an embodiment of the present disclosure. As shown in FIG. 9, the terminal device 900 includes:
  • the receiving module 901 is used to receive the first operation of the user when the screenshot control is displayed;
  • the adjustment module 902 is configured to adjust the position of the sub-control corresponding to the first operation in the screenshot control in response to the first operation;
  • the screenshot module 903 is configured to perform a screenshot based on the adjusted screenshot control.
  • the receiving module 901 is specifically configured to:
  • the adjustment module 902 is specifically configured to:
  • the first sub-control is moved to the position of the screen frame corresponding to the first sub-control in the terminal device, and the size of the screenshot control is updated.
  • an enlarged preview image of the screenshot control is displayed in a preset area of the terminal device, and the first operation is an enlarged preview image of the screenshot control
  • the adjustment module 902 is specifically configured to:
  • the first operation is a selection operation of target information in the screenshot control
  • the adjustment module 902 is specifically configured to:
  • the screenshot control includes N borders, the child control is at least one of the N borders, and N is an integer greater than 2;
  • the adjustment module 902 is specifically configured to:
  • the terminal device 900 can implement each process implemented by the terminal device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
  • the terminal device can take screenshots according to the adjusted screenshot control, which can reduce user operations and improve operation efficiency.
  • the terminal device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, and a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, a power supply 1011 and other components.
  • a radio frequency unit 1001 a radio frequency unit 1001
  • a network module 1002 an audio output unit 1003, an input unit 1004, a sensor 1005, and a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, a power supply 1011 and other components.
  • the structure of the terminal device shown in FIG. 10 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or a combination of certain components, or different components Layout.
  • terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices,
  • the processor 1010 is configured to: control the user input unit 1007 to receive the first operation of the user when the screenshot control is displayed; in response to the first operation, adjust the screenshot control corresponding to the first operation The position of the child control; taking a screenshot based on the adjusted screenshot control.
  • the terminal device can take screenshots according to the adjusted screenshot control, which can reduce user operations and improve operating efficiency.
  • the processor 1010 controls the user input unit 1007 to perform the first operation of the receiving user, including:
  • the processor 1010 executing the adjusting the position of the sub-control corresponding to the first operation in the screenshot control includes:
  • the first sub-control is moved to the position of the screen frame corresponding to the first sub-control in the terminal device, and the size of the screenshot control is updated.
  • an enlarged preview image of the screenshot control is displayed in a preset area of the terminal device, and the first operation is an enlarged preview image of the screenshot control
  • the processor 1010 executing the adjusting the position of the sub-control corresponding to the first operation in the screenshot control includes:
  • the first operation is an operation of selecting target information in the screenshot control;
  • the processor 1010 performing the adjustment of the position of the sub-control corresponding to the first operation in the screenshot control includes:
  • the screenshot control includes N borders, the sub-control is at least one of the N borders, and N is an integer greater than 2; the processor 1010 performs the adjustment of all the frames in the screenshot control.
  • the position of the child control corresponding to the first operation includes:
  • the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 1010; Uplink data is sent to the base station.
  • the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the terminal device 1000 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1004 is used to receive audio or video signals.
  • the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 1006.
  • the image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002.
  • the microphone 10042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 for output in the case of a telephone call mode.
  • the terminal device 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 10061 and the display panel 10061 when the terminal device 1000 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 1006 is used to display information input by the user or information provided to the user.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 1007 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal device.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072.
  • the touch panel 10071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operating).
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it
  • the processor 1010 receives and executes the command sent by the processor 1010.
  • the touch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 1007 may also include other input devices 10072.
  • other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 10071 can be overlaid on the display panel 10061.
  • the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of the touch event, and then the processor 1010 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 10061.
  • the touch panel 10071 and the display panel 10061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 1008 is an interface for connecting an external device and the terminal device 1000.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 1000 or can be used to connect to the terminal device 1000 and external devices. Transfer data between devices.
  • the memory 1009 can be used to store software programs and various data.
  • the memory 1009 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1010 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 1009, and calls the data stored in the memory 1009 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
  • the terminal device 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components.
  • a power supply 1011 (such as a battery) for supplying power to various components.
  • the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 1000 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal device, including a processor 1010, a memory 1009, a computer program stored in the memory 1009 and capable of running on the processor 1010, and the computer program is executed by the processor 1010
  • a terminal device including a processor 1010, a memory 1009, a computer program stored in the memory 1009 and capable of running on the processor 1010, and the computer program is executed by the processor 1010
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned screenshot method embodiment is realized, and the same technical effect To avoid repetition, I won’t repeat it here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

Disclosed are a screenshot method and a terminal device. The method comprises: when a screenshot control is displayed, receiving a first operation of a user (101); in response to the first operation, adjusting the position of a child control, corresponding to the first operation, in the screenshot control (102); and taking a screenshot on the basis of the adjusted screenshot control (103).

Description

截图方法及终端设备Screenshot method and terminal equipment
相关申请的交叉引用Cross references to related applications
本申请主张在2019年07月26日在中国提交的中国专利申请号No.201910682600.3的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201910682600.3 filed in China on July 26, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种截图方法及终端设备。The present disclosure relates to the field of communication technology, and in particular to a screenshot method and terminal equipment.
背景技术Background technique
随着终端设备的发展,终端设备已经成为人们工作和生活不可缺少的工具。在使用终端设备的过程中,人们通常会对终端设备上的信息进行截图,从而将截图分享给好友或者通过截图获得好看的画面。With the development of terminal equipment, terminal equipment has become an indispensable tool for people's work and life. In the process of using the terminal device, people usually take screenshots of the information on the terminal device, so as to share the screenshots with friends or obtain beautiful pictures through the screenshots.
相关技术中,若用户需要对屏幕中的部分区域进行截图,用户需要先对屏幕中显示的控件进行拖动,从而调整控件所选择区域的范围。在对选择区域进行调整后,用户需要再次进行操作以触发终端进行截图操作。In the related art, if the user needs to take a screenshot of a part of the area on the screen, the user needs to drag the control displayed on the screen first to adjust the range of the area selected by the control. After adjusting the selected area, the user needs to perform another operation to trigger the terminal to perform a screenshot operation.
可见,相关技术中的截图方式操作繁琐。It can be seen that the screenshot method in the related technology is complicated to operate.
发明内容Summary of the invention
本公开实施例提供一种截图方法及终端设备,以解决相关技术中的截图方式操作繁琐的问题。The embodiments of the present disclosure provide a screenshot method and terminal device to solve the problem of cumbersome operation of the screenshot method in the related art.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种截图方法,包括:In the first aspect, embodiments of the present disclosure provide a screenshot method, including:
在显示截图控件的情况下,接收用户的第一操作;In the case of displaying the screenshot control, receive the user's first operation;
响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置;In response to the first operation, adjusting the position of the sub-control corresponding to the first operation in the screenshot control;
基于调整后的所述截图控件,进行截图。Take a screenshot based on the adjusted screenshot control.
第二方面,本公开实施例还提供一种终端设备,包括:In the second aspect, the embodiments of the present disclosure also provide a terminal device, including:
接收模块,用于在显示截图控件的情况下,接收用户的第一操作;The receiving module is used to receive the user's first operation when the screenshot control is displayed;
调整模块,用于响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置;An adjustment module, configured to adjust the position of the sub-control corresponding to the first operation in the screenshot control in response to the first operation;
截图模块,用于基于调整后的所述截图控件,进行截图。The screenshot module is used to perform screenshots based on the adjusted screenshot control.
第三方面,本公开实施例还提供一种终端设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的截图方法中的步骤。In a third aspect, the embodiments of the present disclosure also provide a terminal device, including: a memory, a processor, and a computer program stored in the memory and capable of running on the processor. The processor executes the computer program as described above. The steps in the screenshot method described.
第四方面,本公开实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的截图方法中的步骤。In a fourth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the screenshot method described above are implemented.
本公开实施例中,在显示截图控件的情况下,接收用户的第一操作;响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置;基于调整后的所述截图控件,进行截图。这样,终端设备能够根据调整后的截图控件进行截图,能够减少用户的操作,提高操作效率。In the embodiment of the present disclosure, when the screenshot control is displayed, the user's first operation is received; in response to the first operation, the position of the child control corresponding to the first operation in the screenshot control is adjusted; based on the adjustment Take a screenshot after the screenshot control. In this way, the terminal device can take screenshots according to the adjusted screenshot control, which can reduce user operations and improve operating efficiency.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1是本公开实施例提供的截图方法的流程图之一;FIG. 1 is one of the flowcharts of the screenshot method provided by an embodiment of the present disclosure;
图2至图6是本公开实施例提供的终端设备的信息界面示意图;2 to 6 are schematic diagrams of information interfaces of terminal devices provided by embodiments of the present disclosure;
图7是本公开实施例提供的截图方法的流程图之二;FIG. 7 is the second flowchart of the screenshot method provided by an embodiment of the present disclosure;
图8是本公开实施例提供的终端设备的另一种信息界面示意图;FIG. 8 is a schematic diagram of another information interface of a terminal device provided by an embodiment of the present disclosure;
图9是本公开实施例提供的终端设备的结构图之一;FIG. 9 is one of the structural diagrams of a terminal device provided by an embodiment of the present disclosure;
图10是本公开实施例提供的终端设备的结构图之二。Fig. 10 is a second structural diagram of a terminal device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是 全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
参见图1,图1是本公开实施例提供的截图方法的流程图,如图1所示,包括以下步骤:Referring to Fig. 1, Fig. 1 is a flowchart of a screenshot method provided by an embodiment of the present disclosure. As shown in Fig. 1, it includes the following steps:
步骤101、在显示截图控件的情况下,接收用户的第一操作。Step 101: In the case of displaying the screenshot control, receive the first operation of the user.
其中,终端设备显示截图控件可以是基于用户的操作显示,也可以是终端设备在显示特定的界面时显示。例如,用户对浏览界面中的信息进行操作,触发终端设备显示截图控件,以使用户选择浏览界面中的部分信息;又如,终端设备在展开显示图片的情况下,在图片上显示截图控件,以便于用户快速对截图控件进行编辑。本实施例对显示截图控件的具体场景不作限定。Wherein, the screenshot control displayed by the terminal device may be displayed based on a user's operation, or may be displayed when the terminal device displays a specific interface. For example, the user operates on the information in the browsing interface, triggering the terminal device to display the screenshot control, so that the user can select part of the information in the browsing interface; another example, the terminal device displays the screenshot control on the picture when the picture is expanded and displayed. So that users can quickly edit the screenshot control. This embodiment does not limit the specific scene of displaying the screenshot control.
截图控件可以用于选择信息的范围,例如,截图控件若为封闭图形,则封闭图形内的信息可以是需要选择的信息;若截图控件为多个不相连接的子控件,则位于子控件之间的信息可以为选择的信息。截图控件例如,选择框或用于选择信息起始和终点位置的子控件,等。The screenshot control can be used to select the range of information. For example, if the screenshot control is a closed graphic, the information in the closed graphic can be the information that needs to be selected; if the screenshot control has multiple unconnected child controls, it is located among the child controls. The time information can be selected information. Screenshot controls such as selection boxes or child controls for selecting the start and end positions of information, etc.
用户可以对截图控件进行操作,例如,在截图控件上进行点击或者拖动操作;或者在截图控件所选择的范围内进行操作,例如,通过双指滑动操作等。The user can operate the screenshot control, for example, click or drag on the screenshot control; or operate within the range selected by the screenshot control, for example, by two-finger sliding operation.
可选的,所述接收用户的第一操作,包括:Optionally, the first operation of the receiving user includes:
接收用户对所述截图控件中的第一子控件上的预设标识的第一操作;Receiving a user's first operation on the preset identifier on the first sub-control in the screenshot control;
所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
将所述第一子控件移动至所述终端设备中与所述第一子控件对应的屏幕边框位置,并更新所述截图控件的大小。The first sub-control is moved to the position of the screen frame corresponding to the first sub-control in the terminal device, and the size of the screenshot control is updated.
在该实施方式中,截图控件的第一子控件上显示有预设标识,用户可以对预设标识进行操作。其中,预设标识可以是用于提示用户所操作位置的标识,通过对该标识进行操作,能够防止用户进行误操作,第一子控件可以是截图控件中的任一子控件。终端设备响应用户的操作,可以获取用户操作的位置对应的第一子控件,并将第一子控件移动至屏幕边框位置,并更新截图控件的大小。In this embodiment, a preset logo is displayed on the first sub-control of the screenshot control, and the user can operate the preset logo. Wherein, the preset identifier may be an identifier used to prompt the user to operate the position, and by operating the identifier, the user can be prevented from performing misoperations, and the first sub-control may be any sub-control in the screenshot control. In response to the user's operation, the terminal device can obtain the first sub-control corresponding to the position operated by the user, move the first sub-control to the position of the screen border, and update the size of the screenshot control.
例如,如图2所示,截图控件上显示多个预设点,用户对截图控件中的 子控件11上的预设点111进行双击操作,终端设备响应用户的操作,控制子控件11移动至屏幕的左侧边缘,并更新显示截图控件的大小,如图3所示。For example, as shown in Figure 2, multiple preset points are displayed on the screenshot control, and the user double-clicks the preset point 111 on the sub-control 11 in the screenshot control. The terminal device responds to the user's operation and controls the sub-control 11 to move to The left edge of the screen is updated to display the size of the screenshot control, as shown in Figure 3.
这样,用户通过对截图控件上的预设点进行操作,即可以将第一子控件移动至屏幕边框位置,从而调整截图控件所选择的范围,能够提高用户的操作效率,提高用户操作的便捷性。In this way, the user can move the first sub-control to the position of the screen border by operating the preset point on the screenshot control, thereby adjusting the selected range of the screenshot control, which can improve the user's operation efficiency and the convenience of user operation .
步骤102、响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置。Step 102: In response to the first operation, adjust the position of the sub-control corresponding to the first operation in the screenshot control.
其中,与第一操作对应的子控件可以是第一操作所在的子控件,或者是与第一操作的距离小于预设距离的子控件等。Wherein, the child control corresponding to the first operation may be the child control where the first operation is located, or the child control whose distance from the first operation is less than a preset distance, etc.
在此步骤中,终端设备可以根据第一操作的位置调整子控件的位置,例如,控制子控件随着第一操作的位置移动;终端设备还可以响应第一操作,将子控件直接移动至目标位置,该目标位置可以是屏幕边缘或者是与子控件相距预设距离的位置等。In this step, the terminal device can adjust the position of the sub-control according to the position of the first operation, for example, control the sub-control to move with the position of the first operation; the terminal device can also respond to the first operation by directly moving the sub-control to the target Position, the target position can be the edge of the screen or the position with a preset distance from the sub-control, etc.
在调整子控件的位置的同时或者之后,还可以根据截图控件的特征对截图控件的大小进行调整。例如,当截图控件为封闭图形时,在对截图控件的部分子控件调整位置后,可以调整截图控件的大小。While or after adjusting the position of the sub-control, the size of the screenshot control can also be adjusted according to the characteristics of the screenshot control. For example, when the screenshot control is a closed graphic, you can adjust the size of the screenshot control after adjusting the position of part of the sub-controls of the screenshot control.
可选的,在调整所述截图控件的位置的过程中,在所述终端设备的预设区域显示所述截图控件的放大预览图,所述第一操作为对所述截图控件的放大预览图中目标子控件的第二点击操作;Optionally, in the process of adjusting the position of the screenshot control, an enlarged preview image of the screenshot control is displayed in a preset area of the terminal device, and the first operation is an enlarged preview image of the screenshot control The second click operation of the middle target child control;
所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
控制所述目标子控件平行移动预设距离,并更新所述截图控件的大小。Control the target child control to move in parallel by a preset distance, and update the size of the screenshot control.
在该实施方式中,在对截图控件进行调整的过程中,终端设备可以在预设区域显示截图控件的放大预览图。In this embodiment, in the process of adjusting the screenshot control, the terminal device may display an enlarged preview image of the screenshot control in a preset area.
其中,放大预览图具体可以是第一操作对应位置的预览图,这样,用户可以在放大预览图中进一步对子控件进行操作,即第二点击操作,终端设备响应第二点击操作,控制目标子控件平行移动预设距离,并调整截图控件的大小。Among them, the enlarged preview image may specifically be a preview image of the corresponding position of the first operation. In this way, the user can further operate the child controls in the enlarged preview image, that is, the second click operation. The terminal device responds to the second click operation to control the target child The control moves parallel to the preset distance and adjusts the size of the screenshot control.
上述放大预览图还可以是与屏幕边框距离小于预设距离的子控件的预览图,这样,便于用户通过预览图观察子控件与屏幕边框的位置关系。The above-mentioned enlarged preview image may also be a preview image of a child control whose distance from the screen frame is less than a preset distance, so that the user can observe the positional relationship between the child control and the screen frame through the preview image.
例如,如图4所示,用户对截图控件中的子控件11进行操作,终端设备在显示屏的上方区域显示截图控件的局部区域的放大预览图,该区域可以是用户进行操作的位置对应的区域。这样,便于用户在放大区域对子控件11进行操作,以及便于用户查看子控件11所在的位置,从而进行调整。For example, as shown in Figure 4, the user operates the sub-control 11 in the screenshot control, and the terminal device displays an enlarged preview of the partial area of the screenshot control in the upper area of the display screen. This area may correspond to the position where the user performs the operation. area. In this way, it is convenient for the user to operate the sub-control 11 in the magnified area, and it is convenient for the user to view the position of the sub-control 11 to make adjustments.
用户在对子控件进行操作时,终端设备响应用户的操作,控制子控件按照预设的距离移动,用户也可以对每次移动的距离进行设置,便于用户进行调节。例如,当需要对子控件调整的距离较小时,可以设置步距较小;当需要调整的距离较大,可以设置步距较大。这样,终端设备根据设置的步距,每次根据用户的操作移动相应的距离,便于精确调整,且便于用户操作。When the user operates the sub-control, the terminal device responds to the user's operation and controls the sub-control to move according to a preset distance. The user can also set the distance of each movement for the user to adjust. For example, when the distance to be adjusted for the sub-control is small, the step distance can be set to be smaller; when the distance to be adjusted is larger, the step distance can be set to be larger. In this way, the terminal device moves the corresponding distance according to the user's operation each time according to the set step distance, which is convenient for precise adjustment and convenient for user operations.
该实施方式中,用户可以通过放大预览图,更加精确地调整子控件移动的距离,提高所选择内容的精确度。In this embodiment, the user can more accurately adjust the moving distance of the sub-controls by zooming in the preview image, and improve the accuracy of the selected content.
步骤103、基于调整后的所述截图控件,进行截图。Step 103: Perform a screenshot based on the adjusted screenshot control.
在此步骤中,终端设备可以获取调整后的截图控件所截取的内容,并可以对截图控件所选择的内容进行截图;或者终端设备直接对调整后的截图控件范围内的内容进行截图。In this step, the terminal device can obtain the content captured by the adjusted screenshot control, and can take screenshots of the content selected by the screenshot control; or the terminal device can directly take screenshots of the content within the adjusted screenshot control range.
为了便于理解本公开实施例,以下结合具体实施方式进行举例说明。In order to facilitate the understanding of the embodiments of the present disclosure, examples are described below in conjunction with specific embodiments.
例如,用户需要对屏幕上显示的信息进行截图,用户对终端设备进行操作,触发终端设备显示矩形框,如图5中的虚线所示。此时,用户可以进一步对矩形框进行操作,以截取需要获取的部分区域。For example, the user needs to take a screenshot of the information displayed on the screen, and the user operates the terminal device to trigger the terminal device to display a rectangular frame, as shown by the dotted line in FIG. 5. At this time, the user can further operate on the rectangular frame to intercept a part of the area that needs to be acquired.
如图2所示,用户对矩形框的边框11进行操作,终端设备响应用户的操作,控制矩形框的边框11移动至屏幕边缘,并控制矩形框的上下两条长边向左侧延伸至屏幕边缘,如图3所示。用户可以同样按照上述操作方式,对矩形框的边框12进行操作,终端响应用户的操作,控制矩形框的边框12移动至屏幕的右侧边缘,如图6所示。此时,矩形框所选中的信息则为需要截图的信息。这样,当矩形框与屏幕边缘距离较近而导致用户难以进行操作或操作次数较多时,采用本公开实施例中的方式,可以快速将矩形框调整至合适的范围。As shown in Figure 2, the user operates the frame 11 of the rectangular frame, and the terminal device responds to the user's operation by controlling the frame 11 of the rectangular frame to move to the edge of the screen, and controlling the upper and lower long sides of the rectangular frame to extend to the left of the screen. Edge, as shown in Figure 3. The user can also operate the frame 12 of the rectangular frame in the same manner as described above, and the terminal responds to the user's operation to control the frame 12 of the rectangular frame to move to the right edge of the screen, as shown in FIG. 6. At this time, the information selected in the rectangular box is the information that needs to be captured. In this way, when the rectangular frame is close to the edge of the screen, which makes it difficult for the user to perform operations or has a large number of operations, the method in the embodiment of the present disclosure can quickly adjust the rectangular frame to a suitable range.
需要注意的是,上述图中,虚线框和实线框仅仅是用于对截图控件的示意,截图控件的具体样式不限于此。It should be noted that, in the above figure, the dashed box and the solid box are only used to illustrate the screenshot control, and the specific style of the screenshot control is not limited to this.
当截图控件包括多个不相连接的子部件时,也可以控制部分子部件移动,从而实现信息范围的扩大和缩小。When the screenshot control includes multiple unconnected sub-components, it can also control the movement of some sub-components, thereby realizing the expansion and reduction of the information range.
本公开实施例中,上述截图方法可以应用于终端设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiments of the present disclosure, the above screenshot method can be applied to terminal devices, such as: mobile phones, tablet computers (Tablet Personal Computer), laptop computers (Laptop Computer), personal digital assistants (personal digital assistant, PDA), mobile Internet devices (Mobile Internet Device, MID) or Wearable Device (Wearable Device), etc.
本公开实施例的截图方法,在显示截图控件的情况下,接收用户的第一操作;响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置;基于调整后的所述截图控件,进行截图。这样,终端设备能够根据调整后的截图控件进行截图,能够减少用户的操作,提高操作效率。In the screenshot method of the embodiment of the present disclosure, when the screenshot control is displayed, a user's first operation is received; in response to the first operation, the position of the child control corresponding to the first operation in the screenshot control is adjusted; Take a screenshot based on the adjusted screenshot control. In this way, the terminal device can take screenshots according to the adjusted screenshot control, which can reduce user operations and improve operating efficiency.
参见图7,本实施例与上述实施例的主要区别在于,根据信息的类型调整截图控件中的子控件的位置。Referring to FIG. 7, the main difference between this embodiment and the above-mentioned embodiment is that the position of the sub-control in the screenshot control is adjusted according to the type of information.
图7是本公开实施例提供的截图方法的流程图,如图7所示,包括以下步骤:FIG. 7 is a flowchart of a screenshot method provided by an embodiment of the present disclosure. As shown in FIG. 7, it includes the following steps:
步骤701、在显示截图控件的情况下,接收用户的第一操作。Step 701: Receive the first operation of the user when the screenshot control is displayed.
其中,所述第一操作为对所述截图控件内的目标信息的选择操作。Wherein, the first operation is a selection operation of target information in the screenshot control.
目标信息可以是截图控件内选择的信息中的任意信息。The target information can be any information selected in the screenshot control.
步骤702、响应于所述第一操作,根据所述目标信息的类型,调整所述截图控件中的子控件的位置,其中,调整后的截图控件内的信息的类型与所述目标信息的类型相同。Step 702: In response to the first operation, adjust the position of the child control in the screenshot control according to the type of the target information, wherein the type of the information in the adjusted screenshot control and the type of the target information the same.
在此步骤中,终端设备响应第一操作,可以识别目标信息的类型,例如,图片、文字、视频等。In this step, in response to the first operation, the terminal device can identify the type of target information, for example, pictures, texts, videos, etc.
终端设备根据目标信息的类型,调整截图控件中的子控件的位置,其中,该子控件的数目可以是一个或者多个。例如,当截图控件为图8中所示的矩形框1时,子控件可以是矩形框1中的任意一个或者多个边框。需要注意的是,图8中矩形框1中的虚线和矩形框2中的实线仅仅是用于示意截图控件,并不构成对截图控件的具体限定。在对子控件的位置进行调整的同时还可以调整截图控件的大小,调整后的截图控件所选择信息的类型与目标信息的类型相同。例如,截图控件所选择的信息包括文字和图片,若用户对文字进行 选择操作,终端设备对截图控件中的子控件的位置进行调整,使得调整后的截图控件所选择的信息为文字信息。The terminal device adjusts the position of the sub-controls in the screenshot control according to the type of the target information, where the number of the sub-controls may be one or more. For example, when the screenshot control is the rectangular frame 1 shown in FIG. 8, the sub-controls can be any one or more borders in the rectangular frame 1. It should be noted that the dotted lines in the rectangular box 1 and the solid lines in the rectangular box 2 in FIG. 8 are only used to illustrate the screenshot control, and do not constitute a specific limitation on the screenshot control. While adjusting the position of the sub-controls, you can also adjust the size of the screenshot control. The type of information selected by the adjusted screenshot control is the same as the type of target information. For example, the information selected by the screenshot control includes text and pictures. If the user selects the text, the terminal device adjusts the position of the sub-controls in the screenshot control so that the information selected by the adjusted screenshot control is text information.
步骤703、基于调整后的所述截图控件,进行截图。Step 703: Perform a screenshot based on the adjusted screenshot control.
其中,步骤701和步骤703的实现方式可以参考上述实施例中的描述,此处不再赘述。For the implementation of step 701 and step 703, reference may be made to the description in the foregoing embodiment, which will not be repeated here.
为了便于理解本实施例,以下结合具体实施例进行举例说明。In order to facilitate the understanding of this embodiment, an example is given below in conjunction with specific embodiments.
用户在终端设备进行操作,终端设备显示如图8所示的矩形框1。用户对矩形框1所选中的图片进行点击操作,终端设备设备识别图片的类型,并调整矩形框中的边框的位置,得到调整后的矩形框,即矩形框2,其中,矩形框2所选中的信息类型为图片。The user operates on the terminal device, and the terminal device displays a rectangular frame 1 as shown in FIG. 8. The user clicks on the picture selected in rectangular frame 1, and the terminal equipment recognizes the type of the picture and adjusts the position of the frame in the rectangular frame to obtain the adjusted rectangular frame, namely rectangular frame 2, where rectangular frame 2 is selected. The information type is pictures.
另外,本公开实施例还可以在显示截图控件后,识别截图控件所选择信息的信息类型,并显示子截图控件,每个子截图控件选中一种信息类型。终端设备还可以输出提示信息,以提示用户选择上述信息类型中的任一种或多种信息类型。在用户选择目标信息对应的目标类型后,终端设备响应用户的操作,仅显示选中目标类型的子截图控件,并将其他子截图控件隐藏。In addition, the embodiment of the present disclosure can also identify the information type of the information selected by the screenshot control after displaying the screenshot control, and display the sub-snapshot control, and each sub-snapshot control selects one information type. The terminal device may also output prompt information to prompt the user to select any one or more of the above information types. After the user selects the target type corresponding to the target information, the terminal device responds to the user's operation by displaying only the sub-screenshot controls of the selected target type, and hides other sub-screenshot controls.
可选的,所述截图控件包括N个边框,所述子控件为所述N个边框中的至少一边框,N为大于2的整数;Optionally, the screenshot control includes N borders, the child control is at least one of the N borders, and N is an integer greater than 2;
所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
调整所述截图控件中,与所述第一操作对应的边框的位置,并更新所述截图控件的大小。Adjust the position of the frame corresponding to the first operation in the screenshot control, and update the size of the screenshot control.
在该实施方式中,截图控件由多个边框组成,用户可以对任一边框进行操作,即第一操作。其中,截图控件可以是矩形框、六边形框等。In this embodiment, the screenshot control is composed of multiple frames, and the user can operate any frame, that is, the first operation. Among them, the screenshot control can be a rectangular box, a hexagonal box, and so on.
终端设备响应用户的操作,调整与第一操作对应的边框的位置,并相应地调整截图控件的大小。In response to the user's operation, the terminal device adjusts the position of the frame corresponding to the first operation, and adjusts the size of the screenshot control accordingly.
这样,用户通过对截图控件的边框进行操作即可以调整截图控件的大小,能够提高用户操作效率,减少用户的操作。In this way, the user can adjust the size of the screenshot control by operating the frame of the screenshot control, which can improve the user's operation efficiency and reduce the user's operation.
该实施方式也可以应用于图1对应的实施例以及上述任一实施方式中,以及达到相同的有益效果。This implementation manner can also be applied to the embodiment corresponding to FIG. 1 and any of the foregoing implementation manners, and achieve the same beneficial effects.
本公开实施例的截图方法,终端设备根据信息的类型调整截图控件中的 子控件的位置,能够减少用户的操作,提高操作效率。In the screenshot method of the embodiment of the present disclosure, the terminal device adjusts the position of the sub-control in the screenshot control according to the type of information, which can reduce user operations and improve operation efficiency.
参见图9,图9是本公开实施例提供的终端设备的结构图,如图9所示,终端设备900包括:Referring to FIG. 9, FIG. 9 is a structural diagram of a terminal device provided by an embodiment of the present disclosure. As shown in FIG. 9, the terminal device 900 includes:
接收模块901,用于在显示截图控件的情况下,接收用户的第一操作;The receiving module 901 is used to receive the first operation of the user when the screenshot control is displayed;
调整模块902,用于响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置;The adjustment module 902 is configured to adjust the position of the sub-control corresponding to the first operation in the screenshot control in response to the first operation;
截图模块903,用于基于调整后的所述截图控件,进行截图。The screenshot module 903 is configured to perform a screenshot based on the adjusted screenshot control.
可选的,所述接收模块901具体用于:Optionally, the receiving module 901 is specifically configured to:
接收用户对所述截图控件中的第一子控件上的预设标识的第一操作;Receiving a user's first operation on the preset identifier on the first sub-control in the screenshot control;
所述调整模块902具体用于:The adjustment module 902 is specifically configured to:
将所述第一子控件移动至所述终端设备中与所述第一子控件对应的屏幕边框位置,并更新所述截图控件的大小。The first sub-control is moved to the position of the screen frame corresponding to the first sub-control in the terminal device, and the size of the screenshot control is updated.
可选的,在调整所述截图控件的位置的过程中,在所述终端设备的预设区域显示所述截图控件的放大预览图,所述第一操作为对所述截图控件的放大预览图中目标子控件的第二点击操作;Optionally, in the process of adjusting the position of the screenshot control, an enlarged preview image of the screenshot control is displayed in a preset area of the terminal device, and the first operation is an enlarged preview image of the screenshot control The second click operation of the middle target child control;
所述调整模块902具体用于:The adjustment module 902 is specifically configured to:
控制所述目标子控件平行移动预设距离,并更新所述截图控件的大小。Control the target child control to move in parallel by a preset distance, and update the size of the screenshot control.
可选的,所述第一操作为对所述截图控件内的目标信息的选择操作;Optionally, the first operation is a selection operation of target information in the screenshot control;
所述调整模块902具体用于:The adjustment module 902 is specifically configured to:
根据所述目标信息的类型,调整所述截图控件中的子控件的位置,其中,调整后的截图控件内的信息的类型与所述目标信息的类型相同。Adjust the position of the sub-controls in the screenshot control according to the type of the target information, wherein the type of information in the adjusted screenshot control is the same as the type of the target information.
可选的,所述截图控件包括N个边框,所述子控件为所述N个边框中的至少一边框,N为大于2的整数;Optionally, the screenshot control includes N borders, the child control is at least one of the N borders, and N is an integer greater than 2;
所述调整模块902具体用于:The adjustment module 902 is specifically configured to:
调整所述截图控件中,与所述第一操作对应的边框的位置,并更新所述截图控件的大小。Adjust the position of the frame corresponding to the first operation in the screenshot control, and update the size of the screenshot control.
终端设备900能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device 900 can implement each process implemented by the terminal device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
本公开实施例的终端设备900,终端设备能够根据调整后的截图控件进 行截图,能够减少用户的操作,提高操作效率。In the terminal device 900 of the embodiment of the present disclosure, the terminal device can take screenshots according to the adjusted screenshot control, which can reduce user operations and improve operation efficiency.
图10为实现本公开各个实施例的一种终端设备的硬件结构示意图,该终端设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。10 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure. The terminal device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, and a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, a power supply 1011 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 10 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or a combination of certain components, or different components Layout. In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
其中,处理器1010用于:控制用户输入单元1007在显示截图控件的情况下,接收用户的第一操作;响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置;基于调整后的所述截图控件,进行截图。The processor 1010 is configured to: control the user input unit 1007 to receive the first operation of the user when the screenshot control is displayed; in response to the first operation, adjust the screenshot control corresponding to the first operation The position of the child control; taking a screenshot based on the adjusted screenshot control.
这样,终端设备能够根据调整后的截图控件进行截图,能够减少用户的操作,提高操作效率。In this way, the terminal device can take screenshots according to the adjusted screenshot control, which can reduce user operations and improve operating efficiency.
可选的,处理器1010控制用户输入单元1007执行所述接收用户的第一操作,包括:Optionally, the processor 1010 controls the user input unit 1007 to perform the first operation of the receiving user, including:
接收用户对所述截图控件中的第一子控件上的预设标识的第一操作;Receiving a user's first operation on the preset identifier on the first sub-control in the screenshot control;
处理器1010执行所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The processor 1010 executing the adjusting the position of the sub-control corresponding to the first operation in the screenshot control includes:
将所述第一子控件移动至所述终端设备中与所述第一子控件对应的屏幕边框位置,并更新所述截图控件的大小。The first sub-control is moved to the position of the screen frame corresponding to the first sub-control in the terminal device, and the size of the screenshot control is updated.
可选的,在调整所述截图控件的位置的过程中,在所述终端设备的预设区域显示所述截图控件的放大预览图,所述第一操作为对所述截图控件的放大预览图中目标子控件的第二点击操作;Optionally, in the process of adjusting the position of the screenshot control, an enlarged preview image of the screenshot control is displayed in a preset area of the terminal device, and the first operation is an enlarged preview image of the screenshot control The second click operation of the middle target child control;
处理器1010执行所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The processor 1010 executing the adjusting the position of the sub-control corresponding to the first operation in the screenshot control includes:
控制所述目标子控件平行移动预设距离,并更新所述截图控件的大小。Control the target child control to move in parallel by a preset distance, and update the size of the screenshot control.
可选的,所述第一操作为对所述截图控件内的目标信息的选择操作;处理器1010执行所述调整所述截图控件中与所述第一操作对应的子控件的位 置,包括:Optionally, the first operation is an operation of selecting target information in the screenshot control; the processor 1010 performing the adjustment of the position of the sub-control corresponding to the first operation in the screenshot control includes:
根据所述目标信息的类型,调整所述截图控件中的子控件的位置,其中,调整后的截图控件内的信息的类型与所述目标信息的类型相同。Adjust the position of the sub-controls in the screenshot control according to the type of the target information, wherein the type of information in the adjusted screenshot control is the same as the type of the target information.
可选的,所述截图控件包括N个边框,所述子控件为所述N个边框中的至少一边框,N为大于2的整数;处理器1010执行所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:Optionally, the screenshot control includes N borders, the sub-control is at least one of the N borders, and N is an integer greater than 2; the processor 1010 performs the adjustment of all the frames in the screenshot control. The position of the child control corresponding to the first operation includes:
调整所述截图控件中,与所述第一操作对应的边框的位置,并更新所述截图控件的大小。Adjust the position of the frame corresponding to the first operation in the screenshot control, and update the size of the screenshot control.
应理解的是,本公开实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 1010; Uplink data is sent to the base station. Generally, the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与终端设备1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1003包括扬声器、蜂鸣器以及受话器等。The audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the terminal device 1000 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。The input unit 1004 is used to receive audio or video signals. The input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 1006. The image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 for output in the case of a telephone call mode.
终端设备1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在终端设备1000移动到耳边时,关闭显示面板10061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light. The proximity sensor can close the display panel 10061 and the display panel 10061 when the terminal device 1000 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元1006用于显示由用户输入的信息或提供给用户的信息。显示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10061。The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元1007可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1007 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operating). The touch panel 10071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it The processor 1010 receives and executes the command sent by the processor 1010. In addition, the touch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类 型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然在图10中,触控面板10071与显示面板10061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板10071与显示面板10061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 10071 can be overlaid on the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of the touch event, and then the processor 1010 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 10061. Although in FIG. 10, the touch panel 10071 and the display panel 10061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元1008为外部装置与终端设备1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备1000内的一个或多个元件或者可以用于在终端设备1000和外部装置之间传输数据。The interface unit 1008 is an interface for connecting an external device and the terminal device 1000. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 1000 or can be used to connect to the terminal device 1000 and external devices. Transfer data between devices.
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器1010是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器1010可包括一个或多个处理单元;可选的,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。The processor 1010 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 1009, and calls the data stored in the memory 1009 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
终端设备1000还可以包括给各个部件供电的电源1011(比如电池),可选的,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components. Optionally, the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备1000包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 1000 includes some functional modules not shown, which will not be repeated here.
可选的,本公开实施例还提供一种终端设备,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述截图方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a terminal device, including a processor 1010, a memory 1009, a computer program stored in the memory 1009 and capable of running on the processor 1010, and the computer program is executed by the processor 1010 Each process in the above embodiment of the screenshot method is realized at a time, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned screenshot method embodiment is realized, and the same technical effect To avoid repetition, I won’t repeat it here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope of protection of the claims, all of which fall within the protection of the present disclosure.

Claims (12)

  1. 一种截图方法,应用于终端设备,包括:A screenshot method applied to terminal equipment, including:
    在显示截图控件的情况下,接收用户的第一操作;In the case of displaying the screenshot control, receive the user's first operation;
    响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置;In response to the first operation, adjusting the position of the sub-control corresponding to the first operation in the screenshot control;
    基于调整后的所述截图控件,进行截图。Take a screenshot based on the adjusted screenshot control.
  2. 根据权利要求1所述的截图方法,其中,所述接收用户的第一操作,包括:The screenshot method according to claim 1, wherein said receiving the first operation of the user comprises:
    接收用户对所述截图控件中的第一子控件上的预设标识的第一操作;Receiving a user's first operation on the preset identifier on the first sub-control in the screenshot control;
    所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
    将所述第一子控件移动至所述终端设备中与所述第一子控件对应的屏幕边框位置,并更新所述截图控件的大小。The first sub-control is moved to the position of the screen frame corresponding to the first sub-control in the terminal device, and the size of the screenshot control is updated.
  3. 根据权利要求1所述的截图方法,其中,在调整所述截图控件的位置的过程中,在所述终端设备的预设区域显示所述截图控件的放大预览图,所述第一操作为对所述截图控件的放大预览图中目标子控件的第二点击操作;The screenshot method according to claim 1, wherein, in the process of adjusting the position of the screenshot control, an enlarged preview of the screenshot control is displayed in a preset area of the terminal device, and the first operation is The second click operation of the target sub-control in the enlarged preview of the screenshot control;
    所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
    控制所述目标子控件平行移动预设距离,并更新所述截图控件的大小。Control the target child control to move in parallel by a preset distance, and update the size of the screenshot control.
  4. 根据权利要求1所述的截图方法,其中,所述第一操作为对所述截图控件内的目标信息的选择操作;The screenshot method according to claim 1, wherein the first operation is a selection operation of target information in the screenshot control;
    所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
    根据所述目标信息的类型,调整所述截图控件中的子控件的位置,其中,调整后的所述截图控件内的信息的类型与所述目标信息的类型相同。Adjust the position of the child control in the screenshot control according to the type of the target information, wherein the type of information in the screenshot control after adjustment is the same as the type of the target information.
  5. 根据权利要求1至4任一项所述的截图方法,其中,所述截图控件包括N个边框,所述子控件为所述N个边框中的至少一边框,N为大于2的整数;The screenshot method according to any one of claims 1 to 4, wherein the screenshot control includes N borders, the child control is at least one of the N borders, and N is an integer greater than 2;
    所述调整所述截图控件中与所述第一操作对应的子控件的位置,包括:The adjusting the position of the child control corresponding to the first operation in the screenshot control includes:
    调整所述截图控件中,与所述第一操作对应的边框的位置,并更新所述截图控件的大小。Adjust the position of the frame corresponding to the first operation in the screenshot control, and update the size of the screenshot control.
  6. 一种终端设备,包括:A terminal device, including:
    接收模块,用于在显示截图控件的情况下,接收用户的第一操作;The receiving module is used to receive the user's first operation when the screenshot control is displayed;
    调整模块,用于响应于所述第一操作,调整所述截图控件中与所述第一操作对应的子控件的位置;An adjustment module, configured to adjust the position of the sub-control corresponding to the first operation in the screenshot control in response to the first operation;
    截图模块,用于基于调整后的所述截图控件,进行截图。The screenshot module is used to perform screenshots based on the adjusted screenshot control.
  7. 根据权利要求6所述的终端设备,其中,所述接收模块具体用于:The terminal device according to claim 6, wherein the receiving module is specifically configured to:
    接收用户对所述截图控件中的第一子控件上的预设标识的第一操作;Receiving a user's first operation on the preset identifier on the first sub-control in the screenshot control;
    所述调整模块具体用于:The adjustment module is specifically used for:
    将所述第一子控件移动至所述终端设备中与所述第一子控件对应的屏幕边框位置,并更新所述截图控件的大小。The first sub-control is moved to the position of the screen frame corresponding to the first sub-control in the terminal device, and the size of the screenshot control is updated.
  8. 根据权利要求6所述的终端设备,其中,在调整所述截图控件的位置的过程中,在所述终端设备的预设区域显示所述截图控件的放大预览图,所述第一操作为对所述截图控件的放大预览图中目标子控件的第二点击操作;The terminal device according to claim 6, wherein, in the process of adjusting the position of the screenshot control, an enlarged preview image of the screenshot control is displayed in a preset area of the terminal device, and the first operation is The second click operation of the target sub-control in the enlarged preview of the screenshot control;
    所述调整模块具体用于:The adjustment module is specifically used for:
    控制所述目标子控件平行移动预设距离,并更新所述截图控件的大小。Control the target child control to move in parallel by a preset distance, and update the size of the screenshot control.
  9. 根据权利要求6所述的终端设备,其中,所述第一操作为对所述截图控件内的目标信息的选择操作;The terminal device according to claim 6, wherein the first operation is a selection operation of target information in the screenshot control;
    所述调整模块具体用于:The adjustment module is specifically used for:
    根据所述目标信息的类型,调整所述截图控件中的子控件的位置,其中,调整后的截图控件内的信息的类型与所述目标信息的类型相同。Adjust the position of the sub-controls in the screenshot control according to the type of the target information, wherein the type of information in the adjusted screenshot control is the same as the type of the target information.
  10. 根据权利要求6至9任一项所述的终端设备,其中,所述截图控件包括N个边框,所述子控件为所述N个边框中的至少一边框,N为大于2的整数;The terminal device according to any one of claims 6 to 9, wherein the screenshot control includes N frames, the child control is at least one frame of the N frames, and N is an integer greater than 2;
    所述调整模块具体用于:The adjustment module is specifically used for:
    调整所述截图控件中,与所述第一操作对应的边框的位置,并更新所述截图控件的大小。Adjust the position of the frame corresponding to the first operation in the screenshot control, and update the size of the screenshot control.
  11. 一种终端设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述的截图方法中的步骤。A terminal device, comprising: a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the computer program according to any one of claims 1 to 5 when the processor executes the computer program Steps in the screenshot method.
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述的截图方法中的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the screenshot method according to any one of claims 1 to 5 are realized.
PCT/CN2020/099345 2019-07-26 2020-06-30 Screenshot method and terminal device WO2021017730A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910682600.3 2019-07-26
CN201910682600.3A CN110413363B (en) 2019-07-26 2019-07-26 Screenshot method and terminal equipment

Publications (1)

Publication Number Publication Date
WO2021017730A1 true WO2021017730A1 (en) 2021-02-04

Family

ID=68363585

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099345 WO2021017730A1 (en) 2019-07-26 2020-06-30 Screenshot method and terminal device

Country Status (2)

Country Link
CN (1) CN110413363B (en)
WO (1) WO2021017730A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413363B (en) * 2019-07-26 2023-02-21 维沃移动通信有限公司 Screenshot method and terminal equipment
CN111143015B (en) * 2019-12-31 2022-03-08 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN112286430B (en) * 2020-10-29 2022-07-05 维沃移动通信有限公司 Image processing method, apparatus, device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718181A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Screenshot method for mobile terminal and mobile terminal
US20170003860A1 (en) * 2015-06-30 2017-01-05 Canon Kabushiki Kaisha Display control apparatus, display control method, and non-transitory computer-readable storage medium
CN108469940A (en) * 2018-03-16 2018-08-31 维沃移动通信有限公司 A kind of screenshot method and terminal
CN110413363A (en) * 2019-07-26 2019-11-05 维沃移动通信有限公司 A kind of screenshot method and terminal device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090762B (en) * 2014-07-10 2017-04-19 福州瑞芯微电子股份有限公司 Screenshot processing device and method
CN106293426A (en) * 2015-05-13 2017-01-04 深圳市腾讯计算机系统有限公司 Screenshotss method and apparatus based on browser of mobile terminal
CN106325745A (en) * 2016-08-23 2017-01-11 上海卓易科技股份有限公司 Screen capturing method and device
CN106331800B (en) * 2016-08-25 2019-12-03 深圳Tcl数字技术有限公司 The amplification display method and system of control
CN106406738A (en) * 2016-09-27 2017-02-15 维沃移动通信有限公司 A keyboard key content information input method and a mobile terminal
CN106775382A (en) * 2016-11-28 2017-05-31 努比亚技术有限公司 A kind of screenshot method and terminal
CN107515715A (en) * 2017-07-31 2017-12-26 北京小米移动软件有限公司 Screenshot method, device and storage medium
CN109085982B (en) * 2018-06-08 2020-12-08 Oppo广东移动通信有限公司 Content identification method and device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170003860A1 (en) * 2015-06-30 2017-01-05 Canon Kabushiki Kaisha Display control apparatus, display control method, and non-transitory computer-readable storage medium
CN105718181A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Screenshot method for mobile terminal and mobile terminal
CN108469940A (en) * 2018-03-16 2018-08-31 维沃移动通信有限公司 A kind of screenshot method and terminal
CN110413363A (en) * 2019-07-26 2019-11-05 维沃移动通信有限公司 A kind of screenshot method and terminal device

Also Published As

Publication number Publication date
CN110413363A (en) 2019-11-05
CN110413363B (en) 2023-02-21

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2021098672A1 (en) Display method and electronic device
WO2021104321A1 (en) Image display method and electronic device
WO2021098677A1 (en) Display method and electronic device
WO2019174628A1 (en) Photographing method and mobile terminal
WO2020156169A1 (en) Display control method and terminal device
WO2020238497A1 (en) Icon moving method and terminal device
JP2021516374A (en) Image processing method and flexible screen terminal
WO2021082716A1 (en) Information processing method and electronic device
WO2020238449A1 (en) Notification message processing method and terminal
WO2020233323A1 (en) Display control method, terminal device, and computer-readable storage medium
WO2020151513A1 (en) Information processing method and terminal device
WO2021017730A1 (en) Screenshot method and terminal device
WO2021036623A1 (en) Display method and electronic device
WO2021004426A1 (en) Content selection method, and terminal
WO2021068885A1 (en) Control method and electronic device
WO2021077908A1 (en) Parameter adjusting method and electronic device
WO2020238536A1 (en) Information processing method and terminal device
WO2021109961A1 (en) Method for generating shortcut icon, electronic apparatus, and medium
WO2021036553A1 (en) Icon display method and electronic device
WO2020220990A1 (en) Receiver control method and terminal
WO2019184947A1 (en) Image viewing method and mobile terminal
WO2021115172A1 (en) Display method and electronic device
WO2021012908A1 (en) Message sending method and mobile terminal
WO2020151521A1 (en) Method for controlling foldable terminal, and foldable terminal

Legal Events

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

Ref document number: 20847893

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20847893

Country of ref document: EP

Kind code of ref document: A1