CN111813473A - Screen capture method, device and electronic device - Google Patents
Screen capture method, device and electronic device Download PDFInfo
- Publication number
- CN111813473A CN111813473A CN202010582019.7A CN202010582019A CN111813473A CN 111813473 A CN111813473 A CN 111813473A CN 202010582019 A CN202010582019 A CN 202010582019A CN 111813473 A CN111813473 A CN 111813473A
- Authority
- CN
- China
- Prior art keywords
- screen capture
- capture mode
- screen
- movement direction
- display interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种截屏方法、装置及电子设备,属于图像处理技术领域。所述方法包括:获取预置传感器检测到的外控设备的第一运动方向;根据所述第一运动方向,确定截屏模式;根据所述截屏模式对显示界面进行截屏,生成截屏图像。本申请可以减少用户截屏操作的步骤,节省截屏花费的时间,提高了用户体验。
The present application discloses a screen capture method, device and electronic device, which belong to the technical field of image processing. The method includes: acquiring a first movement direction of an external control device detected by a preset sensor; determining a screen capture mode according to the first movement direction; and taking a screen capture of a display interface according to the screen capture mode to generate a screen capture image. The present application can reduce the steps of the user's screen capture operation, save the time spent for screen capture, and improve the user experience.
Description
技术领域technical field
本申请属于图像处理技术领域,具体涉及一种截屏方法、装置及电子设备。The present application belongs to the technical field of image processing, and in particular relates to a screen capture method, device and electronic device.
背景技术Background technique
随着科学技术的不断发展,电子设备(如手机、平板电脑等)逐渐成为人们生活工作中不可或缺的工具。With the continuous development of science and technology, electronic devices (such as mobile phones, tablet computers, etc.) have gradually become indispensable tools in people's life and work.
而在人们使用电子设备的过程中,在想要将浏览的内容快速截屏或截屏分享给他人时,往往需要好几部操作,例如,用户需要先找到截屏按钮,然后点击打开截屏功能,在进行截屏,然后将截取的图像分享至相应的应用程序。操作过程比较复杂,且截屏耗费时间较长。In the process of using electronic devices, when people want to quickly take a screenshot or share a screenshot of the browsing content with others, several operations are often required. For example, the user needs to find the screenshot button first, and then click to turn on the screenshot function to take a screenshot. , and then share the captured image to the appropriate app. The operation process is complicated, and the screen capture takes a long time.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种截屏方法、装置及电子设备,能够解决现有技术中截屏方式操作过程比较复杂,截屏耗费时间较长的问题。The purpose of the embodiments of the present application is to provide a screen capture method, device and electronic device, which can solve the problems in the prior art that the operation process of the screen capture method is relatively complicated and the screen capture takes a long time.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种截屏方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for taking screenshots, and the method includes:
获取预置传感器检测到的外控设备的第一运动方向;Obtain the first movement direction of the external control device detected by the preset sensor;
根据所述第一运动方向,确定截屏模式;determining a screen capture mode according to the first movement direction;
根据所述截屏模式对显示界面进行截屏,生成截屏图像。Screenshot the display interface according to the screen shot mode to generate a screen shot image.
第二方面,本申请实施例提供了一种截屏装置,该装置包括:In a second aspect, an embodiment of the present application provides a screen capture device, the device comprising:
第一方向获取模块,用于获取预置传感器检测到的外控设备的第一运动方向;a first direction acquisition module, configured to acquire the first movement direction of the external control device detected by the preset sensor;
截屏模式确定模块,用于根据所述第一运动方向,确定截屏模式;a screen capture mode determination module, configured to determine a screen capture mode according to the first movement direction;
截屏图像生成模块,用于根据所述截屏模式对显示界面进行截屏,生成截屏图像。A screenshot image generation module, configured to take a screenshot of the display interface according to the screenshot mode to generate a screenshot image.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的截屏方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the screen capture method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的截屏方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the screenshot method according to the first aspect is implemented. step.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所截屏截屏方法。In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, and the communication interface and a screen capture method.
在本申请实施例中,通过获取预置传感器检测到的外控设备的第一运动方向,根据第一运动方向确定截屏模式,根据截屏模式对显示界面进行截屏,生成截屏图像。本申请实施例通过结合外控设备实现对显示界面的截屏,减少了用户执行截屏操作的步骤,节省了截屏花费的时间,提高了用户体验。In the embodiment of the present application, the first movement direction of the external control device detected by the preset sensor is obtained, the screen capture mode is determined according to the first movement direction, and the screen capture image is generated according to the screen capture mode of the display interface. The embodiment of the present application realizes the screen capture of the display interface by combining the external control device, which reduces the steps for the user to perform the screen capture operation, saves the time spent for screen capture, and improves the user experience.
附图说明Description of drawings
图1为本申请实施例提供的一种截屏方法的步骤流程图;FIG. 1 is a flow chart of steps of a screen capture method provided by an embodiment of the present application;
图2为本申请实施例提供的一种套索截屏界面的示意图;2 is a schematic diagram of a lasso screenshot interface provided by an embodiment of the present application;
图3为本申请实施例提供的一种截屏保存分享界面的示意图;3 is a schematic diagram of a screenshot saving and sharing interface provided by an embodiment of the present application;
图4为本申请实施例提供的一种分享弹窗的示意图;4 is a schematic diagram of a sharing pop-up window according to an embodiment of the present application;
图5为本申请实施例提供的一种长截屏界面的示意图;5 is a schematic diagram of a long screen capture interface provided by an embodiment of the present application;
图6为本申请实施例提供的一种长截屏后保存分享界面的示意图;FIG. 6 is a schematic diagram of a saving and sharing interface after a long screenshot provided by an embodiment of the present application;
图7为本申请实施例提供的一种全屏截屏后的界面的示意图;7 is a schematic diagram of an interface after a full-screen screenshot provided by an embodiment of the present application;
图8为本申请实施例提供的一种笔尖顺时针旋转的示意图;8 is a schematic diagram of a clockwise rotation of a pen tip according to an embodiment of the present application;
图9为本申请实施例提供的一种笔尖逆时针旋转的示意图;9 is a schematic diagram of a counterclockwise rotation of a pen tip according to an embodiment of the present application;
图10为本申请实施例提供的一种截屏装置的结构示意图;10 is a schematic structural diagram of a screen capture device provided by an embodiment of the present application;
图11为本申请实施例提供的一种电子设备的结构示意图;FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the application;
图12为本申请实施例提供的另一种电子设备的结构示意图。FIG. 12 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的截屏方案进行详细地说明。The screenshot solution provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
参照图1,示出了本申请实施例提供的一种截屏方法的步骤流程图,如图1所示,该截屏方法具体可以包括如下步骤:Referring to FIG. 1 , a flowchart of steps of a method for taking screenshots provided by an embodiment of the present application is shown. As shown in FIG. 1 , the method for taking screenshots may specifically include the following steps:
步骤101:获取预置传感器检测到的外控设备的第一运动方向。Step 101: Acquire the first movement direction of the external control device detected by the preset sensor.
本申请实施例可以应用于采用外控设备实现电子设备显示屏幕的快速截屏的场景中。The embodiments of the present application may be applied to a scenario in which an external control device is used to implement a quick screenshot of a display screen of an electronic device.
外控设备是指用于实现对显示屏幕快速截屏进行控制的设备,在本实施例中,外控设备可以为触控笔等设备,具体地,可以根据业务需求而定,本实施例对此不加以限制。The external control device refers to a device used to realize the control of quick screen capture of the display screen. In this embodiment, the external control device may be a device such as a stylus pen. Specifically, it may be determined according to business requirements. In this embodiment, this Unrestricted.
预置传感器是指设置于电子设备的传感器,预置传感器可以对外控设备的运动方向及运动姿态的传感器。The preset sensor refers to the sensor set on the electronic device, and the preset sensor can be the sensor of the movement direction and movement posture of the external control device.
第一运动方向是指预置传感器检测的外控设备的运动方向,在本实施例中,第一运动方向可以为根据外控设备的翻转操作所确定的运动方向,例如,外控设备以触控笔为例,第一运动方向可以为外控设备的笔尖朝向电子设备的显示界面执行的顺时针运动方向,或笔尖朝向电子设备显示界面执行的逆时针运动方向等。The first movement direction refers to the movement direction of the external control device detected by the preset sensor. In this embodiment, the first movement direction may be the movement direction determined according to the flipping operation of the external control device. Taking the pen control as an example, the first movement direction may be a clockwise movement direction of the pen tip of the external control device towards the display interface of the electronic device, or a counterclockwise movement direction of the pen tip towards the display interface of the electronic device.
在电子设备显示预置界面的过程中,在用户需要对显示的界面进行截屏时,可以由用户对外控设备执行触发操作,进而,可以由电子设备内设置的预置传感器检测外控设备对应的第一运动方向。In the process of displaying the preset interface on the electronic device, when the user needs to take a screenshot of the displayed interface, the user can perform a trigger operation on the external control device, and then the preset sensor set in the electronic device can detect the corresponding external control device. The first direction of movement.
当然,在本实施例中,可以由用户对外控设备执行触发操作,以控制进入截屏模式,例如,在电子设备的屏幕显示运行某个应用程序的过程中,可以由用户对触控设备进行控制,以接收针对触控设备的第一预设操作,例如,触控设备以触控笔为例,在触控笔的笔尖内部设置有陀螺仪传感器,当触控笔笔尖部转动一圈(如图8所示的笔尖顺时针旋转和图9所示的笔尖逆时针旋转),陀螺仪传感器可以检测其角速度变化,在检测到其角速度变化后,可以触发中断信号,发出中断信号,并将该中断信号传递给触控笔,如,当陀螺仪检测到X轴值大于预设值,即X轴的角速度大于预设值,例如240°度/秒,则表示此时X轴产生了抖动。具体来说,在检测设定时间内,例如0.5秒内X轴上变化的角度,对该角速度进行积分,积分过程为:每0.05秒获取一个X轴数据(每次获取的X轴数据都有变化),获取10次(0.05秒XlO=0.5秒),At=0.05,如此即可获得0.5秒内X轴的选择角度,当该角度的变化超过预设值,例如240度,即在很短的时间内X轴旋转超过了240度,则认为触控笔笔尖部转动了一圈,此时触发中断模式。在触发中断模式后,表示电子设备进入了截屏模式,此时可以进行截屏操作。Of course, in this embodiment, the user may perform a trigger operation on the external control device to control entering the screen capture mode. For example, in the process of running a certain application on the screen of the electronic device, the user may control the touch device , in order to receive the first preset operation for the touch device. For example, the touch device takes a stylus as an example, and a gyroscope sensor is arranged inside the tip of the stylus. When the tip of the stylus rotates once (eg The pen tip shown in Figure 8 rotates clockwise and the pen tip shown in Figure 9 rotates counterclockwise), the gyro sensor can detect the change of its angular velocity, and after detecting the change of its angular velocity, it can trigger an interrupt signal, send out an interrupt signal, and send the The interrupt signal is transmitted to the stylus. For example, when the gyroscope detects that the X-axis value is greater than the preset value, that is, the angular velocity of the X-axis is greater than the preset value, such as 240°/sec, it means that the X-axis is shaking at this time. Specifically, within the detection set time, for example, the angle that changes on the X-axis within 0.5 seconds, the angular velocity is integrated. change), obtain 10 times (0.05 seconds × 10 = 0.5 seconds), At = 0.05, so you can obtain the selected angle of the X axis within 0.5 seconds, when the change of the angle exceeds the preset value, such as 240 degrees, that is, in a very short time If the X axis rotates more than 240 degrees within the time limit, it is considered that the tip of the stylus has rotated a circle, and the interrupt mode is triggered at this time. After the interrupt mode is triggered, it means that the electronic device has entered the screen capture mode, and a screen capture operation can be performed at this time.
可以理解地,上述示例仅是为了更好地理解本申请实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present application, and are not used as the only limitations on the present embodiments.
在获取到预置传感器检测到的挖空设备的第一运动方向之后,执行步骤102。After acquiring the first movement direction of the hollowing device detected by the preset sensor,
步骤102:根据所述第一运动方向,确定截屏模式。Step 102: Determine a screen capture mode according to the first movement direction.
截屏模式是指对显示屏幕进行截屏的模式,在本实施例中,截屏模式可以包括套索截屏模式、长截屏模式和全截屏模式。The screen capture mode refers to a mode of taking a screen shot of the display screen. In this embodiment, the screen capture mode may include a lasso screen capture mode, a long screen capture mode, and a full screen capture mode.
套索截屏模式可以如图2所示,套索截屏模式即为形成一个类圆形的截屏框,用户可以通过拖动截屏框的大小,以控制截屏区域的大小,以实现截屏。The lasso screen capture mode can be shown in Figure 2. The lasso screen capture mode is to form a circular screen capture frame. The user can control the size of the screen capture area by dragging the size of the screen capture frame to achieve screen capture.
长截屏模式可以如图5所示,长截屏模式即为形成一个方形的截屏框,用户通过拖动方形截屏框的一边,以控制截屏区域的大小,以实现截屏。The long screen capture mode can be shown in FIG. 5 . The long screen capture mode is to form a square screen capture frame, and the user can control the size of the screen capture area by dragging one side of the square screen capture frame to realize the screen capture.
全截屏模式可以如图7所示,全截屏模式即全屏截屏的模式,在触发全截屏模式后,可以形成与电子设备的显示屏幕大小一致的截屏框,以实现截屏。The full screen capture mode can be as shown in FIG. 7 . The full screen capture mode is a full screen screen capture mode. After the full screen capture mode is triggered, a screen capture frame with the same size as the display screen of the electronic device can be formed to realize the screen capture.
在获取到外控设备的第一运动方向之后,可以根据第一运动方向确定截屏模式,具体地,可以结合下述具体实现方式进行详细描述。After the first movement direction of the external control device is acquired, the screen capture mode may be determined according to the first movement direction, and specifically, a detailed description may be given in conjunction with the following specific implementation manners.
在本申请的一种具体实现方式中,上述步骤102可以包括:In a specific implementation manner of the present application, the
子步骤A1:在所述第一运动方向为所述外控设备的第一端朝向所述显示界面的顺时针运动方向的情况下,确定所述截屏模式为第一截屏模式。Sub-step A1: When the first movement direction is the clockwise movement direction of the first end of the external control device toward the display interface, determine that the screen capture mode is the first screen capture mode.
子步骤A2:在所述第一运动方向为所述第一端朝向所述显示界面的逆时针运动方向的情况下,确定所述截屏模式为第二截屏模式。Sub-step A2: In the case that the first movement direction is a counterclockwise movement direction of the first end toward the display interface, determine that the screen capture mode is a second screen capture mode.
子步骤A3:在所述第一运动方向为所述第一端朝向所述显示界面的运动方向,且所述外控设备的运动速度大于速度阈值的情况下,确定所述截屏模式为第三截屏模式。Sub-step A3: When the first movement direction is the movement direction of the first end toward the display interface, and the movement speed of the external control device is greater than a speed threshold, determine that the screenshot mode is the third mode. Screenshot mode.
在本实施例中,当外控设备接收到中断信号之后,从陀螺仪传感器中获取倾斜角度值和角速度值,然后根据其值判断外控设备的第一端是朝下还是朝上,翻转方向以及角速度值是否超过预设的阈值来触发不同的截屏功能(即截屏模式),在对外控设备执行的翻转操作为顺时针翻转的操作,且外控设备的第一端朝向第一方向翻转的操作的情况下,可以确定截屏模式为第一截屏模式。In this embodiment, after the external control device receives the interrupt signal, it obtains the tilt angle value and the angular velocity value from the gyro sensor, and then judges whether the first end of the external control device is facing down or up according to the values, and flips the direction. And whether the angular velocity value exceeds the preset threshold to trigger different screenshot functions (ie screenshot mode), the flip operation performed on the external control device is a clockwise flip operation, and the first end of the external control device flips in the first direction. In the case of operation, it can be determined that the screen capture mode is the first screen capture mode.
在对外控设备执行的翻转操作为逆时针翻转的操作,且外控设备的第一端朝向第一方向翻转的操作的情况下,则可以确定截屏模式为第二截屏模式。If the flip operation performed on the external control device is a counterclockwise flip operation, and the first end of the external control device flips in the first direction, it can be determined that the screen capture mode is the second screen capture mode.
在对外控设备执行的翻转操作为第一端朝向第一方向翻转的操作(可以为顺时针翻转的操作,也可以为逆时针翻转的操作),且翻转操作对应的角速度大于第一速度阈值时,可以确定截屏模式为第三截屏模式。When the flip operation performed on the external control device is an operation of flipping the first end toward the first direction (it can be a clockwise flip operation or a counterclockwise flip operation), and the angular velocity corresponding to the flip operation is greater than the first velocity threshold , it can be determined that the screen capture mode is the third screen capture mode.
当然,在本实施例中,也可以根据外控设备的第一端在电子设备屏幕上的执行的旋转操作(如第一端在屏幕上执行的顺时针或逆时针旋转的操作)确定截屏模式,具体地,可以进行如下详细描述。Of course, in this embodiment, the screen capture mode can also be determined according to the rotation operation performed by the first end of the external control device on the screen of the electronic device (for example, the clockwise or counterclockwise rotation operation performed by the first end on the screen). , specifically, can be described in detail as follows.
当外控设备接收到中断信号之后,从陀螺仪传感器中获取倾斜角度值和角速度值,然后根据其值判断第一端是朝下还是朝上,转动方向以及角速度值是否超过预设的阈值,如果第一端朝下(即朝向第一方向)且顺时针转动了一圈时(如图8所示),则确定截屏模式为第一截屏模式;如果第一端朝下且逆时针转动了一圈时(如图9所示),则确定截屏模式为第二截屏模式。如果第一端朝下且转动角速度超过预设的速度阈值(即第二速度阈值)时,确定截屏模式为第三截屏模式。When the external control device receives the interrupt signal, it obtains the tilt angle value and the angular velocity value from the gyro sensor, and then judges whether the first end is facing down or up, whether the rotation direction and the angular velocity value exceed the preset threshold according to their values. If the first end faces down (that is, toward the first direction) and turns clockwise for one turn (as shown in Figure 8 ), the screen capture mode is determined to be the first screen capture mode; if the first end faces down and is turned counterclockwise When one lap (as shown in FIG. 9 ), the screen capture mode is determined to be the second screen capture mode. If the first end faces downward and the rotational angular velocity exceeds a preset velocity threshold (ie, the second velocity threshold), the screen capture mode is determined to be the third screen capture mode.
可以理解地,在本实施例中,第一截屏模式、第二截屏模式和第三截屏模式可以为套索截屏模式、长截屏模式和全截屏模式中的不同的截屏模式,例如,在第一截屏模式为套索截屏模式,第二截屏模式为长截屏模式时,第三截屏模式即为全截屏模式;在第一截屏模式为长截屏模式,第二截屏模式为套索截屏模式时,则第三截屏模式为全截屏模式等。It can be understood that, in this embodiment, the first screen capture mode, the second screen capture mode and the third screen capture mode may be different screen capture modes among the lasso screen capture mode, the long screen capture mode and the full screen capture mode. When the screen capture mode is the lasso screen capture mode, and the second screen capture mode is the long screen capture mode, the third screen capture mode is the full screen capture mode; when the first screen capture mode is the long screen capture mode, and the second screen capture mode is the lasso screen capture mode, then The third screen capture mode is a full screen capture mode and the like.
在根据第一运动方向确定截屏模式之后,执行步骤103。After the screen capture mode is determined according to the first movement direction,
步骤103:根据所述截屏模式对显示界面进行截屏,生成截屏图像。Step 103: Screenshot the display interface according to the screen shot mode, and generate a screen shot image.
截屏图像是指通过对电子设备的屏幕显示界面进行截屏,得到的图像。A screenshot image refers to an image obtained by taking a screenshot of a screen display interface of an electronic device.
在确定截屏模式之后,可以根据截屏模式对当前显示界面进行截屏,以得到截屏图像,具体地,在确定截屏模式之后,可以在电子设备的当前显示界面内形成相应的截屏框,在截屏模式为套索截屏模式和长截屏模式时,用户可以对截屏框进行控制,以获取用户需要截屏的区域,从而实现当前显示界面的截屏。在截屏模式为全截屏模式时,可以形成与当前显示界面大小一致的截屏框,通过用户点击截屏控制按钮实现对当前显示界面的全截屏。After the screenshot mode is determined, a screenshot of the current display interface can be taken according to the screenshot mode to obtain a screenshot image. Specifically, after the screenshot mode is determined, a corresponding screenshot frame can be formed in the current display interface of the electronic device, and the screenshot mode is: In the lasso screen capture mode and the long screen capture mode, the user can control the screen capture frame to obtain the area where the user needs to capture the screen, so as to realize the screen capture of the current display interface. When the screen capture mode is the full screen capture mode, a screen capture frame with the same size as the current display interface can be formed, and the user clicks the screen capture control button to realize the full screen capture of the current display interface.
具体地截屏过程可以结合下述实现方式进行详细描述。The specific screenshot process can be described in detail in conjunction with the following implementation manners.
在本申请的一种具体实现方式中,上述步骤103可以包括:In a specific implementation manner of the present application, the
子步骤B1:根据所述截屏模式,在所述显示界面显示所述截屏模式对应的截屏框。Sub-step B1: According to the screen capture mode, display a screen capture frame corresponding to the screen capture mode on the display interface.
在本实施例中,截屏框是指用于用于对显示界面进行截屏的框。In this embodiment, the screenshot frame refers to a frame used to take screenshots of the display interface.
在确定截屏模式之后,可以根据截屏模式生成相应的截屏框,并在显示界面上显示截屏模式上显示对应的截屏框,例如,在截屏模式为套索截屏模式和长截屏模式时,用户可以对截屏框进行控制,以获取用户需要截屏的区域,从而实现当前显示界面的截屏。在截屏模式为全截屏模式时,可以形成与当前显示界面大小等。After the screen capture mode is determined, a corresponding screen capture frame can be generated according to the screen capture mode, and the corresponding screen capture frame can be displayed in the screen capture mode on the display interface. For example, when the screen capture mode is the lasso screen capture mode and the long screen capture mode, the user can The screenshot frame is controlled to obtain the area that the user needs to take screenshots, so as to realize the screenshot of the current display interface. When the screen capture mode is the full screen capture mode, the size of the current display interface and the like can be formed.
在根据截屏模式在显示界面显示截屏模式对应的截屏框之后,执行子步骤B2。After the screen capture frame corresponding to the screen capture mode is displayed on the display interface according to the screen capture mode, sub-step B2 is performed.
子步骤B2:接收用户对所述截屏框的第一输入。Sub-step B2: Receive a first input from the user on the screenshot box.
第一输入是指用户对截屏框执行的对截屏框的位置和/或大小进行调整的输入。可以理解地,第一输入可以为用户拖动截屏框的某条边进行移动所形成的输入,也可以为用户拖动截屏框的中心对截屏框的位置进行调整所形成的输入等。The first input refers to an input performed by the user on the screenshot box to adjust the position and/or size of the screenshot box. Understandably, the first input may be an input formed by the user dragging a certain edge of the screen capture frame to move, or an input formed by the user dragging the center of the screen capture frame to adjust the position of the screen capture frame.
在显示截屏框之后,可以由用户对截屏框的位置和/或大小进行调整,以形成用户对截屏框的第一输入。After the screenshot box is displayed, the position and/or size of the screenshot box may be adjusted by the user to form the user's first input to the screenshot box.
在接收到用户对截屏框的第一输入之后,执行子步骤B3。Sub-step B3 is performed after the user's first input to the screenshot box is received.
子步骤B3:响应于所述第一输入,根据所述第一输入的输入参数对所述显示界面截屏,生成所述截屏图像。Sub-step B3: In response to the first input, take a screenshot of the display interface according to the input parameters of the first input, and generate the screenshot image.
输入参数是指第一输入所对应的对截屏框的位置和/大小进行调整的参数,在本实施例中,输入参数指示了显示界面的截屏位置和截屏区域的大小。The input parameter refers to a parameter corresponding to the first input for adjusting the position and/or size of the screenshot frame. In this embodiment, the input parameter indicates the screenshot position of the display interface and the size of the screenshot area.
在接收到用户对截屏框的第一输入之后,可以根据第一输入的输入参数对显示界面进行截屏,从而可以生成截屏图像。After receiving the user's first input to the screenshot box, a screenshot of the display interface can be taken according to the input parameters of the first input, so that a screenshot image can be generated.
在生成截屏图像之后,还可以根据用户对外控设备执行的操作确定是否分享截屏图像,具体地,可以结合下述具体实现方式进行详细描述。After the screen shot image is generated, whether to share the screen shot image can also be determined according to an operation performed by the user on the external control device.
在本申请的另一种具体实现方式中,在上述步骤103之后,还可以包括:In another specific implementation manner of the present application, after the
步骤C1:获取所述预置传感器检测到的所述外控设备的第二运动方向。Step C1: Acquire the second movement direction of the external control device detected by the preset sensor.
在本申请实施例中,第二运动方向是指预置传感器检测的外控设备的运动方向,在本实施例中,第二运动方向可以为根据外控设备的翻转操作所确定的运动方向,例如,外控设备以触控笔为例,第二运动方向可以为外控设备的笔尾朝向电子设备的显示界面执行的顺时针运动方向,或笔尾朝向电子设备显示界面执行的逆时针运动方向等。In the embodiment of the present application, the second movement direction refers to the movement direction of the external control device detected by the preset sensor. In this embodiment, the second movement direction may be the movement direction determined according to the flip operation of the external control device, For example, taking a stylus as an example of an external control device, the second movement direction may be a clockwise movement of the pen tail of the external control device towards the display interface of the electronic device, or a counterclockwise movement of the pen tail towards the display interface of the electronic device. direction etc.
在生成截屏图像之后,在用户需要分享截屏图像时,可以由用户对外控设备执行触发操作,进而,可以由电子设备内设置的预置传感器检测外控设备对应的第二运动方向。After the screen shot image is generated, when the user needs to share the screen shot image, the user may perform a trigger operation on the external control device, and further, a preset sensor set in the electronic device may detect the second movement direction corresponding to the external control device.
在获取到由预置传感器检测的外控设备的第二运动方向之后,执行步骤C2After acquiring the second movement direction of the external control device detected by the preset sensor, step C2 is executed
步骤C2:根据所述第二运动方向,分享所述截屏图像。Step C2: Share the screenshot image according to the second movement direction.
在获取到外控设备的第二运动方向之后,可以根据第二运动方向分享截屏图像,具体地,可以结合下述具体实现方式进行详细描述。After the second movement direction of the external control device is acquired, the screen shot image can be shared according to the second movement direction, and specifically, it can be described in detail in conjunction with the following specific implementation manners.
在本申请的一种具体实现方式中,上述步骤C2可以包括:In a specific implementation manner of the present application, the above step C2 may include:
子步骤D1:根据所述第二运动方向,显示所述截屏图像对应的分享弹窗。Sub-step D1: Display a sharing popup window corresponding to the screenshot image according to the second movement direction.
在本申请实施例中,在获取到外控设备的第二运动方向之后,可以在电子设备的屏幕上显示截屏图像对应的分享弹窗,如图3和图5所示,在当前显示界面显示有多个空间,在获取当前遍历的控件的文本内容,如果文本内容为“保存”,那么就可以判断当前遍历的控件为“保存”控件,然后再模拟一个点击操作点击该“保存”控件就可以保存该截屏,然后同时会生成“分享”弹窗(如图6所示),然后再次遍历当前界面各个控件,如果遍历的当前控件的文本内容是“分享”,就可判断该控件是“分享”控件,然后再模拟一个点击操作点击该“分享”控件就会调起系统分享弹窗。In this embodiment of the present application, after the second movement direction of the external control device is acquired, a sharing pop-up window corresponding to the screenshot image may be displayed on the screen of the electronic device, as shown in FIG. 3 and FIG. 5 , displayed on the current display interface. There are multiple spaces. When getting the text content of the currently traversed control, if the text content is "save", then you can judge that the currently traversed control is the "save" control, and then simulate a click operation to click the "save" control. You can save the screenshot, and then generate the "Share" pop-up window at the same time (as shown in Figure 6), and then traverse each control of the current interface again. If the text content of the current control traversed is "Share", you can judge that the control is "Share" Share" control, and then simulate a click operation. Clicking the "Share" control will call up the system sharing pop-up window.
在显示截屏图像对应的分享弹窗之后,执行子步骤D2。After the sharing popup window corresponding to the screenshot image is displayed, sub-step D2 is performed.
子步骤D2:接收用户在所述分享弹窗内执行的对所述截屏图像的分享操作的情况下,分享所述截屏图像。Sub-step D2: in the case of receiving the sharing operation of the screenshot image performed by the user in the sharing pop-up window, share the screenshot image.
在接收到在分享弹窗内针对截屏图像的分享操作(如点击分享控件等)之后,可以分享截屏图像。After receiving the sharing operation for the screenshot image in the sharing pop-up window (such as clicking the sharing control, etc.), the screenshot image can be shared.
当然,在本实施例的另一种具体实现方式中,在分享操作可以为外控设备的第一端离开屏幕的操作时,可以统计第一端离开屏幕的时长,在第一端离开屏幕的时长达到设定时长时,则显示截屏图像对应的分享弹窗,并由用户在分享弹窗内执行分享操作,以分享截屏图像。Of course, in another specific implementation of this embodiment, when the sharing operation may be an operation in which the first end of the external control device leaves the screen, the length of time that the first end leaves the screen can be counted, and the time when the first end leaves the screen When the duration reaches the set duration, a sharing pop-up window corresponding to the screenshot image is displayed, and the user performs a sharing operation in the sharing pop-up window to share the screenshot image.
本申请实施例提供的截屏方法,通过获取预置传感器检测到的外控设备的第一运动方向,根据第一运动方向确定截屏模式,根据截屏模式对显示界面进行截屏,生成截屏图像。本申请实施例通过结合外控设备实现对显示界面的截屏,减少了用户执行截屏操作的步骤,节省了截屏花费的时间,提高了用户体验。The screenshot method provided by the embodiment of the present application obtains the first movement direction of the external control device detected by the preset sensor, determines a screenshot mode according to the first movement direction, and takes a screenshot of the display interface according to the screenshot mode to generate a screenshot image. The embodiment of the present application realizes the screen capture of the display interface by combining the external control device, which reduces the steps for the user to perform the screen capture operation, saves the time spent for screen capture, and improves the user experience.
需要说明的是,本申请实施例提供的截屏方法,执行主体可以为截屏装置,或者该截屏装置中的用于执行截屏方法的控制模块。本申请实施例中以截屏装置执行截屏方法为例,说明本申请实施例提供的截屏装置。It should be noted that, in the screen capture method provided by the embodiments of the present application, the execution body may be a screen capture device, or a control module in the screen capture device for executing the screen capture method. In the embodiment of the present application, the screen capture device provided by the embodiment of the present application is described by taking the screen capture device executing the screen capture method as an example.
参照图10,示出了本申请实施例提供的一种截屏装置的结构示意图,如图10所示,该截屏装置具体可以包括如下模块:Referring to FIG. 10 , a schematic structural diagram of a screen capture device provided by an embodiment of the present application is shown. As shown in FIG. 10 , the screen capture device may specifically include the following modules:
第一方向获取模块210,用于获取预置传感器检测到的外控设备的第一运动方向;The first direction obtaining module 210 is used to obtain the first movement direction of the external control device detected by the preset sensor;
截屏模式确定模块220,用于根据所述第一运动方向,确定截屏模式;a screen capture mode determination module 220, configured to determine a screen capture mode according to the first movement direction;
截屏图像生成模块230,用于根据所述截屏模式对显示界面进行截屏,生成截屏图像。The screenshot image generating module 230 is configured to take a screenshot of the display interface according to the screenshot mode to generate a screenshot image.
可选地,所述截屏模式确定模块220包括:Optionally, the screen capture mode determination module 220 includes:
第一截屏模式确定单元,用于在所述第一运动方向为所述外控设备的第一端朝向所述显示界面的顺时针运动方向的情况下,确定所述截屏模式为第一截屏模式;a first screen capture mode determination unit, configured to determine that the screen capture mode is the first screen capture mode when the first movement direction is the clockwise movement direction of the first end of the external control device toward the display interface ;
第二截屏模式确定单元,用于在所述第一运动方向为所述第一端朝向所述显示界面的逆时针运动方向的情况下,确定所述截屏模式为第二截屏模式;a second screen capture mode determination unit, configured to determine that the screen capture mode is the second screen capture mode when the first movement direction is a counterclockwise movement direction of the first end toward the display interface;
第三截屏模式确定单元,用于在所述第一运动方向为所述第一端朝向所述显示界面的运动方向,且所述外控设备的运动速度大于速度阈值的情况下,确定所述截屏模式为第三截屏模式。A third screen capture mode determination unit, configured to determine the The screen capture mode is the third screen capture mode.
可选地,所述截屏图像生成模块230包括:Optionally, the screenshot image generation module 230 includes:
截屏框显示单元,用于根据所述截屏模式,在所述显示界面显示所述截屏模式对应的截屏框;a screen capture frame display unit, configured to display a screen capture frame corresponding to the screen capture mode on the display interface according to the screen capture mode;
第一输入接收单元,用于接收用户对所述截屏框的第一输入;a first input receiving unit, configured to receive a user's first input to the screenshot frame;
截屏图像生成单元,用于响应于所述第一输入,根据所述第一输入的输入参数对所述显示界面截屏,生成所述截屏图像。A screenshot image generating unit, configured to, in response to the first input, take a screenshot of the display interface according to the input parameters of the first input, and generate the screenshot image.
可选地,还包括:Optionally, also include:
第二方向获取模块,用于获取所述预置传感器检测到的所述外控设备的第二运动方向;A second direction acquisition module, configured to acquire the second movement direction of the external control device detected by the preset sensor;
截屏图像分享模块,用于根据所述第二运动方向,分享所述截屏图像。A screenshot image sharing module, configured to share the screenshot image according to the second movement direction.
可选地,所述截屏图像分享模块包括:Optionally, the screenshot image sharing module includes:
分享弹窗显示单元,用于根据所述第二运动方向,显示所述截屏图像对应的分享弹窗;a sharing pop-up window display unit, configured to display a sharing pop-up window corresponding to the screenshot image according to the second movement direction;
截屏图像分享单元,用于接收用户在所述分享弹窗内执行的对所述截屏图像的分享操作的情况下,分享所述截屏图像。A screenshot image sharing unit, configured to share the screenshot image in the case of receiving a sharing operation of the screenshot image performed by the user in the sharing pop-up window.
本申请实施例提供的截屏装置,通过获取预置传感器检测到的外控设备的第一运动方向,根据第一运动方向确定截屏模式,根据截屏模式对显示界面进行截屏,生成截屏图像。本申请实施例通过结合外控设备实现对显示界面的截屏,减少了用户执行截屏操作的步骤,节省了截屏花费的时间,提高了用户体验。The screen capture device provided by the embodiment of the present application acquires the first movement direction of the external control device detected by the preset sensor, determines a screen capture mode according to the first movement direction, takes a screen capture of the display interface according to the screen capture mode, and generates a screen capture image. The embodiment of the present application realizes the screen capture of the display interface by combining the external control device, which reduces the steps for the user to perform the screen capture operation, saves the time spent for screen capture, and improves the user experience.
本申请实施例中的截屏装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The screen capture device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.
本申请实施例中的截屏装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The screen capture device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的截屏装置能够实现图1方法实施例实现的各个过程,为避免重复,这里不再赘述。The screen capture device provided in this embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.
可选地,如图11所示,本申请实施例还提供一种电子设备300,包括处理器301,存储器302,存储在存储器302上并可在所述处理器301上运行的程序或指令,该程序或指令被处理器301执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 11 , an embodiment of the present application further provides an
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图12为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、以及处理器410等部件。The
本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,射频单元401,用于获取预置传感器检测到的外控设备的第一运动方向;根据所述第一运动方向,确定截屏模式;根据所述截屏模式对显示界面进行截屏,生成截屏图像。The
本申请通过获取预置传感器检测到的外控设备的第一运动方向,根据第一运动方向确定截屏模式,根据截屏模式对显示界面进行截屏,生成截屏图像。本申请实施例通过结合外控设备实现对显示界面的截屏,减少了用户执行截屏操作的步骤,节省了截屏花费的时间,提高了用户体验。The present application obtains the first movement direction of the external control device detected by the preset sensor, determines a screenshot mode according to the first movement direction, and takes a screenshot of the display interface according to the screenshot mode to generate a screenshot image. The embodiment of the present application realizes the screen capture of the display interface by combining the external control device, which reduces the steps for the user to perform the screen capture operation, saves the time spent for screen capture, and improves the user experience.
可选地,用户输入单元407,在所述第一运动方向为所述外控设备的第一端朝向所述显示界面的顺时针运动方向的情况下,确定所述截屏模式为第一截屏模式;或Optionally, the
在所述第一运动方向为所述第一端朝向所述显示界面的逆时针运动方向的情况下,确定所述截屏模式为第二截屏模式;或In the case that the first movement direction is the counterclockwise movement direction of the first end toward the display interface, determine that the screen capture mode is the second screen capture mode; or
在所述第一运动方向为所述第一端朝向所述显示界面的运动方向,且所述外控设备的运动速度大于速度阈值的情况下,确定所述截屏模式为第三截屏模式。When the first movement direction is the movement direction of the first end toward the display interface, and the movement speed of the external control device is greater than a speed threshold, the screen capture mode is determined to be a third screen capture mode.
可选地,所述根据所述截屏模式对显示界面进行截屏,生成截屏图像,包括:Optionally, performing a screenshot of the display interface according to the screenshot mode to generate a screenshot image, including:
根据所述截屏模式,在所述显示界面显示所述截屏模式对应的截屏框;According to the screenshot mode, displaying a screenshot frame corresponding to the screenshot mode on the display interface;
接收用户对所述截屏框的第一输入;receiving a first input from the user to the screenshot box;
响应于所述第一输入,根据所述第一输入的输入参数对所述显示界面截屏,生成所述截屏图像。In response to the first input, the screen capture image is generated by taking a screenshot of the display interface according to the input parameters of the first input.
可选地,在所述根据所述截屏模式对显示界面进行截屏,生成截屏图像之后,还包括:Optionally, after the screen capture of the display interface according to the screen capture mode and the generation of the screen capture image, the method further includes:
获取所述预置传感器检测到的所述外控设备的第二运动方向;acquiring the second movement direction of the external control device detected by the preset sensor;
根据所述第二运动方向,分享所述截屏图像。The screenshot image is shared according to the second movement direction.
可选地,所述根据所述第二运动方向,分享所述截屏图像,包括:Optionally, the sharing of the screenshot image according to the second movement direction includes:
根据所述第二运动方向,显示所述截屏图像对应的分享弹窗;Displaying a sharing pop-up window corresponding to the screenshot image according to the second movement direction;
接收用户在所述分享弹窗内执行的对所述截屏图像的分享操作的情况下,分享所述截屏图像。In the case of receiving the sharing operation of the screenshot image performed by the user in the sharing pop-up window, the screenshot image is shared.
本申请还可以结合外控设备不同的操作方式实现快速截屏,减少了截屏分享操作步骤,也方便了用户操作。The present application can also realize quick screen capture in combination with different operation modes of the external control device, which reduces the operation steps of screen capture and sharing, and also facilitates the user's operation.
应理解的是,本申请实施例中,输入单元404可以包括图形处理器(GraphicsProcessing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元406可包括显示面板4061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板4061。用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器409可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。It should be understood that, in this embodiment of the present application, the
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above embodiment of the screenshot method can be implemented, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing screen capture method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010582019.7A CN111813473A (en) | 2020-06-23 | 2020-06-23 | Screen capture method, device and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010582019.7A CN111813473A (en) | 2020-06-23 | 2020-06-23 | Screen capture method, device and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111813473A true CN111813473A (en) | 2020-10-23 |
Family
ID=72845584
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010582019.7A Pending CN111813473A (en) | 2020-06-23 | 2020-06-23 | Screen capture method, device and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111813473A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI792581B (en) * | 2021-07-20 | 2023-02-11 | 明俐科技有限公司 | Displaying equipment and displaying method capable of quick displaying and system-failure backup mechanism |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103210365A (en) * | 2010-11-19 | 2013-07-17 | Tivo有限公司 | Flick to send or display content |
| CN104702795A (en) * | 2015-03-27 | 2015-06-10 | 努比亚技术有限公司 | Mobile terminal and shortcut operation method thereof |
| CN105204745A (en) * | 2015-09-30 | 2015-12-30 | 百度在线网络技术(北京)有限公司 | Screen capture method and device for mobile terminal |
| CN105786163A (en) * | 2014-12-19 | 2016-07-20 | 联想(北京)有限公司 | Display processing method and display processing device |
| CN105933544A (en) * | 2016-06-29 | 2016-09-07 | 努比亚技术有限公司 | Screen capture method and mobile terminal |
| CN109271081A (en) * | 2018-07-28 | 2019-01-25 | 华为技术有限公司 | Scrolling screen method and electronic device |
| US20190147026A1 (en) * | 2017-05-16 | 2019-05-16 | Apple Inc. | Device, Method, and Graphical User Interface for Editing Screenshot Images |
| WO2019140611A1 (en) * | 2018-01-18 | 2019-07-25 | 华为技术有限公司 | Navigation button-based mistaken touch prevention method for terminal during handwriting |
| CN110196675A (en) * | 2019-04-17 | 2019-09-03 | 华为技术有限公司 | Method for adding annotations and electronic equipment |
-
2020
- 2020-06-23 CN CN202010582019.7A patent/CN111813473A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103210365A (en) * | 2010-11-19 | 2013-07-17 | Tivo有限公司 | Flick to send or display content |
| CN105786163A (en) * | 2014-12-19 | 2016-07-20 | 联想(北京)有限公司 | Display processing method and display processing device |
| CN104702795A (en) * | 2015-03-27 | 2015-06-10 | 努比亚技术有限公司 | Mobile terminal and shortcut operation method thereof |
| CN105204745A (en) * | 2015-09-30 | 2015-12-30 | 百度在线网络技术(北京)有限公司 | Screen capture method and device for mobile terminal |
| CN105933544A (en) * | 2016-06-29 | 2016-09-07 | 努比亚技术有限公司 | Screen capture method and mobile terminal |
| US20190147026A1 (en) * | 2017-05-16 | 2019-05-16 | Apple Inc. | Device, Method, and Graphical User Interface for Editing Screenshot Images |
| WO2019140611A1 (en) * | 2018-01-18 | 2019-07-25 | 华为技术有限公司 | Navigation button-based mistaken touch prevention method for terminal during handwriting |
| CN109271081A (en) * | 2018-07-28 | 2019-01-25 | 华为技术有限公司 | Scrolling screen method and electronic device |
| CN110196675A (en) * | 2019-04-17 | 2019-09-03 | 华为技术有限公司 | Method for adding annotations and electronic equipment |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI792581B (en) * | 2021-07-20 | 2023-02-11 | 明俐科技有限公司 | Displaying equipment and displaying method capable of quick displaying and system-failure backup mechanism |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9857943B2 (en) | Method for managing task on terminal device, and terminal device | |
| CN107124508B (en) | Position adjusting method and device of suspension control, terminal and readable storage medium | |
| US9329661B2 (en) | Information processing method and electronic device | |
| TWI511026B (en) | Mobile device and method for adjusting its window size | |
| CN107728886B (en) | One-handed operation method and device | |
| CN110502162B (en) | Folder creation method and terminal device | |
| CN106445340B (en) | Method and device for displaying stereoscopic image by double-screen terminal | |
| CN105549878A (en) | Electronic book page turning control method and device | |
| CN108139779A (en) | Change the mode of operation of convertible computing device using accelerometer input | |
| CN110737374A (en) | Operation method and electronic equipment | |
| US20140320537A1 (en) | Method, device and storage medium for controlling electronic map | |
| CN109901761B (en) | A content display method and mobile terminal | |
| CN108920069B (en) | Touch operation method and device, mobile terminal and storage medium | |
| WO2020181955A1 (en) | Interface control method and terminal device | |
| CN107734156A (en) | A kind of image pickup method and mobile terminal | |
| CN109857306A (en) | Screen capture method and terminal device | |
| CN106201239A (en) | The control method of a kind of application program, device and mobile terminal | |
| CN108052258B (en) | Terminal task processing method, task processing device and mobile terminal | |
| WO2023025060A1 (en) | Interface display adaptation processing method and apparatus, and electronic device | |
| WO2017092019A1 (en) | Method and portable electronic device for changing graphics processing resolution based on scenario | |
| CN112099714A (en) | Screenshot method, device, electronic device and readable storage medium | |
| WO2021093772A1 (en) | Notification message processing method and electronic device | |
| CN111813473A (en) | Screen capture method, device and electronic device | |
| CN103472921A (en) | A method and device for controlling the output of user input information in a mobile terminal | |
| CN111263084B (en) | Video-based gesture jitter detection method, device, terminal and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20201023 |