[go: up one dir, main page]

CN113360031A - Display method, display device, electronic equipment and storage medium - Google Patents

Display method, display device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113360031A
CN113360031A CN202110318668.0A CN202110318668A CN113360031A CN 113360031 A CN113360031 A CN 113360031A CN 202110318668 A CN202110318668 A CN 202110318668A CN 113360031 A CN113360031 A CN 113360031A
Authority
CN
China
Prior art keywords
display
information
electronic pen
ink
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110318668.0A
Other languages
Chinese (zh)
Other versions
CN113360031B (en
Inventor
刘彦泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110318668.0A priority Critical patent/CN113360031B/en
Publication of CN113360031A publication Critical patent/CN113360031A/en
Application granted granted Critical
Publication of CN113360031B publication Critical patent/CN113360031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a display method, a display device, electronic equipment and a storage medium, and belongs to the technical field of electronic equipment. The method is applied to the electronic pen and comprises the following steps: acquiring motion information and posture information of the electronic pen and relative position information of the electronic pen and a screen of the display device; determining splash-ink image information according to the motion information, the posture information and the relative position information; the splash-ink image information is sent to a display device for the display device to display a splash-ink image characterized by the splash-ink image information. According to the embodiment of the application, the splash-ink painting can be realized when the electronic pen is used, and the use experience of a user is improved.

Description

显示方法、装置、电子设备和存储介质Display method, apparatus, electronic device and storage medium

技术领域technical field

本申请属于电子设备技术领域,具体涉及一种显示方法、装置、电子设备和存储介质。The present application belongs to the technical field of electronic devices, and specifically relates to a display method, an apparatus, an electronic device and a storage medium.

背景技术Background technique

随着显示设备的应用范围越来越广,用户对于使用显示设备的便捷性的需求日益提升。目前,已经开发出各种各样的电子笔作为手写输入工具,用户可以直接采用电子笔在显示设备上进行手写输入,提升了人机交互的便捷性。As the application range of the display device becomes wider and wider, the user's demand for the convenience of using the display device is increasing day by day. At present, various electronic pens have been developed as handwriting input tools, and users can directly use electronic pens to perform handwriting input on a display device, which improves the convenience of human-computer interaction.

电子笔可以用于配合绘画软件来替代传统的铅笔,钢笔,毛笔等进行文本输入和绘画,为用户带来便捷的体验。但是,目前在使用电子笔时并不能实现泼墨绘画这一绘画形式,无法满足泼墨绘画用户的使用需求。Electronic pens can be used with drawing software to replace traditional pencils, pens, brushes, etc. for text input and drawing, bringing users a convenient experience. However, at present, when using an electronic pen, the painting form of splashing ink painting cannot be realized, and it cannot meet the needs of users of splashing ink painting.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种显示方法、装置、电子设备和存储介质,能够在使用电子笔时实现泼墨绘画,提高用户的使用体验。The purpose of the embodiments of the present application is to provide a display method, device, electronic device, and storage medium, which can realize splashing ink painting when using an electronic pen, and improve the user's use experience.

为了解决上述技术问题,本申请是这样实现的: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 display method, the method is applied to an electronic pen, and the electronic pen is communicatively connected to a display device, and the method includes:

获取电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息;Obtain the motion information and posture information of the electronic pen, as well as the relative position information of the electronic pen and the screen of the display device;

根据运动信息、姿态信息和相对位置信息,确定泼墨图像信息;Determine the ink splash image information according to the motion information, attitude information and relative position information;

向显示设备发送泼墨图像信息,以用于显示设备显示泼墨图像信息表征的泼墨图像。The ink splatter image information is sent to the display device for the display device to display the ink splatter image represented by the ink splatter image information.

第二方面,本申请实施例提供了一种显示方法,该方法应用于显示设备,显示设备与电子笔通信连接,该方法包括:In a second aspect, an embodiment of the present application provides a display method, which is applied to a display device, and the display device is communicatively connected to an electronic pen, and the method includes:

接收电子笔发送的泼墨图像信息,其中,泼墨图像信息是电子笔根据电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息确定;Receive the ink splash image information sent by the electronic pen, wherein the ink splash image information is determined by the electronic pen according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device;

显示泼墨图像信息表征的泼墨图像。Displays the splatter image represented by the splatter image information.

第三方面,本申请实施例提供了一种显示装置,该装置应用于电子笔,电子笔与显示设备通信连接,该装置包括:In a third aspect, an embodiment of the present application provides a display device, the device is applied to an electronic pen, the electronic pen is communicatively connected to a display device, and the device includes:

获取模块,用于获取电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息;an acquisition module for acquiring motion information and attitude information of the electronic pen, as well as relative position information between the electronic pen and the screen of the display device;

确定模块,用于根据运动信息、姿态信息和相对位置信息,确定泼墨图像信息;a determination module for determining ink splash image information according to motion information, attitude information and relative position information;

发送模块,用于向显示设备发送泼墨图像信息,以用于显示设备显示泼墨图像信息表征的泼墨图像。The sending module is configured to send the ink splash image information to the display device, so that the display device can display the ink splash image represented by the ink splash image information.

第四方面,本申请实施例提供了一种显示装置,该装置应用于显示设备,显示设备与电子笔通信连接,该装置包括:In a fourth aspect, an embodiment of the present application provides a display device, the device is applied to a display device, the display device is communicatively connected to an electronic pen, and the device includes:

接收模块,用于接收电子笔发送的泼墨图像信息,其中,泼墨图像信息是电子笔根据电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息确定;The receiving module is used for receiving the ink splash image information sent by the electronic pen, wherein the ink splash image information is determined by the electronic pen according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device;

显示模块,用于显示泼墨图像信息表征的泼墨图像。The display module is used for displaying the ink splash image represented by the ink splash image information.

第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤,或者程序或指令被处理器执行时实现如第二方面的方法的步骤。In a fifth aspect, an embodiment of the present application provides 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. When the program or instruction is executed by the processor, the The steps of the method of the first aspect, or programs or instructions when executed by a processor implement the steps of the method of the second aspect.

第六方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤,或者,程序或指令被处理器执行时实现如第二方面的方法的步骤。In a sixth 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 steps of the method of the first aspect are implemented, or, the program or instruction The steps of the method of the second aspect are implemented when executed by a processor.

第七方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法,或者实现如第二方面的方法。In a seventh aspect, an embodiment of the present application 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 used to run a program or an instruction, to implement the method of the first aspect, or to implement the method as described in the second aspect. aspect method.

在本申请实施例中,电子笔可以根据电子笔的运动信息、姿态信息,以及电子笔与显示设备的屏幕的相对位置信息,确定泼墨图像信息,并向显示设备发送泼墨图像信息。从而显示设备可以显示泼墨图像信息表征的泼墨图像。如此可以在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In the embodiment of the present application, the electronic pen can determine the ink splash image information according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device, and send the ink splash image information to the display device. Thus, the display device can display the ink splatter image represented by the ink splatter image information. In this way, ink splash painting can be realized when using the electronic pen, so as to meet the user's demand for ink splash painting and improve the user's use experience.

附图说明Description of drawings

图1是本申请实施例提供的一种显示系统的架构示意图;FIG. 1 is a schematic structural diagram of a display system provided by an embodiment of the present application;

图2是本申请实施例提供的一种显示方法的流程示意图;2 is a schematic flowchart of a display method provided by an embodiment of the present application;

图3是本申请实施例的提供的一种加速度曲线示意图;3 is a schematic diagram of an acceleration curve provided by an embodiment of the present application;

图4是本申请实施例提供的另一种显示方法的流程示意图;4 is a schematic flowchart of another display method provided by an embodiment of the present application;

图5是本申请实施例提供的另一种显示方法的流程示意图;5 is a schematic flowchart of another display method provided by an embodiment of the present application;

图6是本申请实施例提供的一种显示装置的结构示意图;FIG. 6 is a schematic structural diagram of a display device provided by an embodiment of the present application;

图7是本申请实施例提供的另一种显示装置的结构示意图;FIG. 7 is a schematic structural diagram of another display device provided by an embodiment of the present application;

图8是本申请实施例的提供的一种电子设备的硬件结构示意图;8 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application;

图9是本申请实施例的提供的另一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure 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 efforts shall 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.

针对背景技术中出现的问题,本申请实施例提供了一种显示方法、装置、电子设备和存储介质。电子笔可以根据电子笔的运动信息、姿态信息,以及电子笔与显示设备的屏幕的相对位置信息,确定泼墨图像信息,并向显示设备发送泼墨图像信息。从而显示设备可以显示泼墨图像信息表征的泼墨图像。如此可以在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In view of the problems in the background technology, embodiments of the present application provide a display method, an apparatus, an electronic device, and a storage medium. The electronic pen can determine the ink splash image information according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device, and send the ink splash image information to the display device. Thus, the display device can display the ink splatter image represented by the ink splatter image information. In this way, ink splash painting can be realized when using the electronic pen, so as to meet the user's demand for ink splash painting and improve the user's use experience.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的显示方法、装置、电子设备和存储介质进行详细地说明。The display method, apparatus, electronic device, and storage medium provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

图1是本申请实施例提供的一种显示系统的架构示意图,如图1所示,该显示系统可以包括电子笔110和显示设备120,在此不做限制。FIG. 1 is a schematic structural diagram of a display system provided by an embodiment of the present application. As shown in FIG. 1 , the display system may include an electronic pen 110 and a display device 120 , which is not limited herein.

其中,电子笔110是用于在显示设备120的屏幕上进行书写或绘画的设备,其内置了多种传感器,例如重力传感器、加速度传感器等等。其中,加速度传感器可以是陀螺仪。显示设备120是具有屏幕的设备,其可以为移动电子设备,也可以为非移动电子设备。例如,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑或者超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)等等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)或者个人计算机(Personal Computer,PC)等等。Among them, the electronic pen 110 is a device for writing or drawing on the screen of the display device 120, and it has built-in various sensors, such as a gravity sensor, an acceleration sensor, and the like. Wherein, the acceleration sensor may be a gyroscope. The display device 120 is a device with a screen, which may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer or an Ultra-Mobile Personal Computer (UMPC), etc., and a non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS) or a personal computer (Personal Computer, PC), etc.

如图1所示,电子笔110与显示设备120之间通信连接。可选地,通信方式可以是有线通信或者无线通信。示例性地,电子笔110与显示设备120可以通过蓝牙进行通信。As shown in FIG. 1 , the electronic pen 110 and the display device 120 are communicatively connected. Optionally, the communication mode may be wired communication or wireless communication. Illustratively, the electronic pen 110 and the display device 120 may communicate via Bluetooth.

作为一个示例,该显示系统可以应用于泼墨绘画的应用场景。参见图1,电子笔110可以获取本体的运动信息和姿态信息,以及本体与显示设备的屏幕的相对位置信息,并根据运动信息、姿态信息和相对位置信息,确定用于表征泼墨图像的泼墨图像信息,然后向显示设备120发送泼墨图像信息,以使显示设备120显示泼墨图像信息表征的泼墨图像。从而可以满足用户泼墨绘画的使用需求,提高用户的使用体验。As an example, the display system can be applied to the application scene of ink splash painting. Referring to FIG. 1 , the electronic pen 110 can acquire motion information and posture information of the body, and relative position information between the body and the screen of the display device, and determine the ink splash image used to represent the ink splash image according to the motion information, the posture information, and the relative position information information, and then send the ink splatter image information to the display device 120, so that the display device 120 displays the ink splatter image represented by the ink splatter image information. Thus, the user's demand for splashing ink painting can be met, and the user's use experience can be improved.

下面将介绍本发明实施例所提供的显示方法。其中,该显示方法可以应用于图1中所示的显示系统。The display method provided by the embodiments of the present invention will be described below. Wherein, the display method can be applied to the display system shown in FIG. 1 .

图2是本申请实施例提供的一种显示方法的流程示意图,如图2所示,可以包括以下步骤:FIG. 2 is a schematic flowchart of a display method provided by an embodiment of the present application. As shown in FIG. 2 , the following steps may be included:

S210,电子笔获取电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息。S210, the electronic pen acquires motion information and posture information of the electronic pen, and relative position information between the electronic pen and the screen of the display device.

在一个实施例中,电子笔可以先获取本体的运动信息,在运动信息满足预设条件的情况下,即电子笔处于泼墨绘画状态的情况下,获取本体的姿态信息和本体与显示设备的屏幕的相对位置信息,从而降低电子笔的数据获取压力。In one embodiment, the electronic pen can first obtain the motion information of the body, and when the motion information satisfies the preset conditions, that is, when the electronic pen is in the ink-splashing state, obtains the posture information of the body and the screen of the body and the display device. relative position information, thereby reducing the data acquisition pressure of the electronic pen.

其中,运动信息可以包括加速度,例如电子笔在以电子笔为中心的空间直角坐标系中的X轴、Y轴、Z轴上的加速度。姿态信息可以包括夹角角度,例如电子笔在以电子笔为中心的空间直角坐标系中与X轴、Y轴、Z轴的夹角角度。相对位置信息用于表征电子笔与显示设备的相对位置信息关系,可以包括相对距离和相对方向,例如电子笔在以显示设备的屏幕为参考点时,相对于显示设备的屏幕的距离和方向。The motion information may include acceleration, for example, the acceleration of the electronic pen on the X axis, the Y axis, and the Z axis in the space rectangular coordinate system centered on the electronic pen. The attitude information may include an included angle, for example, an included angle between the electronic pen and the X axis, the Y axis, and the Z axis in the space rectangular coordinate system centered on the electronic pen. The relative position information is used to represent the relative position information relationship between the electronic pen and the display device, and may include relative distance and relative direction, such as the distance and direction of the electronic pen relative to the screen of the display device when the screen of the display device is used as a reference point.

示例性地,电子笔可以实时获取电子笔的加速度,在加速度的大小大于或等于预设加速度阈值的情况下,获取姿态信息和相对位置信息。可以理解,预设加速度阈值可以根据实际情况灵活设置,在此不做限制。如此可以通过监测加速度,精确确定电子笔是否处于泼墨绘画状态。Exemplarily, the electronic pen may acquire the acceleration of the electronic pen in real time, and when the magnitude of the acceleration is greater than or equal to a preset acceleration threshold, acquire attitude information and relative position information. It can be understood that the preset acceleration threshold can be flexibly set according to the actual situation, which is not limited here. In this way, by monitoring the acceleration, it can be accurately determined whether the electronic pen is in the state of splashing ink painting.

在一个具体的实施例中,电子笔可以通过陀螺仪采集电子笔的加速度,生成加速度曲线。如图3所示,在加速度曲线超出预设加速度阈值时,通过重力传感器采集电子笔的夹角角度,从显示设备中获取显示设备的前置摄像头、TOF模块或者点阵投影仪采集的电子笔与显示设备的屏幕的相对距离和相对方向。In a specific embodiment, the electronic pen can collect the acceleration of the electronic pen through a gyroscope to generate an acceleration curve. As shown in Figure 3, when the acceleration curve exceeds the preset acceleration threshold, the angle of the electronic pen is collected by the gravity sensor, and the electronic pen collected by the front camera, TOF module or dot matrix projector of the display device is obtained from the display device. The relative distance and relative orientation to the screen of the display device.

以前置摄像头采集相对距离和相对方向为例,显示设备可以通过前置摄像头采集电子笔图像,根据图像中电子笔的大小和位置,确定电子笔与显示设备的屏幕的相对距离和相对方向。Taking the relative distance and relative direction captured by the front camera as an example, the display device can capture the image of the electronic pen through the front camera, and determine the relative distance and relative direction between the electronic pen and the screen of the display device according to the size and position of the electronic pen in the image.

S220,电子笔根据运动信息、姿态信息和相对位置相对位置信息,确定泼墨图像信息。S220, the electronic pen determines the ink splash image information according to the motion information, the posture information and the relative position information.

在一个实施例中,泼墨图像信息可以包括墨滴的显示位置、显示形状和显示大小。In one embodiment, the ink splash image information may include the display position, display shape and display size of the ink droplets.

电子笔可以先根据运动信息和姿态信息,确定墨滴的初始速度,即墨滴离开电子笔的速度。并且根据相对位置信息和初始速度,确定墨滴的飞行时间。根据相对位置信息、初始速度和飞行时间,确定墨滴落在屏幕所在平面的终点位置。然后判断终点位置是否位于屏幕中,即判断墨滴是否落在屏幕中。在终点位置位于屏幕中的情况下,确定终点位置为墨滴的显示位置。接着根据初始速度和飞行时间,确定墨滴落在显示位置的终止速度,即墨滴落在屏幕中的速度。从而根据终止速度,确定墨滴的显示形状和显示大小,精确地确定用于表征泼墨图像的泼墨图像信息。The electronic pen can first determine the initial speed of the ink droplet, that is, the speed at which the ink droplet leaves the electronic pen, according to the motion information and the posture information. And according to the relative position information and the initial velocity, the flight time of the ink droplets is determined. According to the relative position information, initial speed and flight time, determine the end position of the ink droplet on the plane where the screen is located. Then it is determined whether the end position is located in the screen, that is, it is determined whether the ink droplet falls on the screen. In the case where the end position is located on the screen, the end position is determined to be the display position of the ink drop. Then, according to the initial speed and the flight time, the termination speed of the ink droplet falling on the display position is determined, that is, the speed at which the ink droplet falls on the screen. Therefore, according to the termination speed, the display shape and display size of the ink droplets are determined, and the ink splash image information used to characterize the ink splash image is accurately determined.

作为一个示例,电子笔可以先计算终止速度的第一速度分量、第二速度分量和第三速度分量。其中,第一速度分量是终止速度在第一方向的速度分量,第二速度分量是终止速度在第二方向的速度分量,第三速度分量是终止速度在第三方向的速度分量。第一方向和第二方向位于屏幕所在平面,第三方向垂直于屏幕所在平面,第一方向和第二方向和第三方向相互垂直。然后根据第一速度分量和第二速度分量,确定墨滴的显示形状,并根据第三速度分量,确定墨滴的显示大小。如此可以根据不同方向的速度分量,精确地确定墨滴的显示形状和显示大小。As an example, the electronic pen may first calculate the first velocity component, the second velocity component and the third velocity component of the termination velocity. The first velocity component is the velocity component of the final velocity in the first direction, the second velocity component is the velocity component of the final velocity in the second direction, and the third velocity component is the velocity component of the final velocity in the third direction. The first direction and the second direction are located on the plane where the screen is located, the third direction is perpendicular to the plane where the screen is located, and the first direction and the second direction and the third direction are perpendicular to each other. Then, the displayed shape of the ink droplet is determined according to the first velocity component and the second velocity component, and the displayed size of the ink droplet is determined according to the third velocity component. In this way, the display shape and display size of the ink droplets can be accurately determined according to the velocity components in different directions.

示例性地,可以从预设的第一速度分量和第二速度分量与显示形状的对应关系中,查找第一速度分量和第二速度分量对应的显示形状,将该显示形状作为墨滴的显示形状。从预设的第三速度分量和显示大小的对应关系中,查找第三速度分量对应的显示大小,将该显示大小作为墨滴的显示大小。可选地,也可以将第三速度分量输入液体面积计算公式,计算第三速度分量对应的液体面积,将该液体面积作为墨滴的显示大小。Exemplarily, the display shape corresponding to the first speed component and the second speed component can be searched from the preset correspondence between the first speed component and the second speed component and the display shape, and the display shape can be used as the display of the ink droplet. shape. From the preset correspondence between the third velocity component and the display size, find the display size corresponding to the third velocity component, and use the display size as the display size of the ink droplet. Optionally, the third velocity component can also be input into the liquid area calculation formula, the liquid area corresponding to the third velocity component is calculated, and the liquid area is used as the display size of the ink drop.

S230,电子笔向显示设备发送泼墨图像信息。S230, the electronic pen sends ink splash image information to the display device.

S240,显示设备显示泼墨图像信息表征的泼墨图像。S240, the display device displays the ink splash image represented by the ink splash image information.

具体地,显示设备接收电子笔发送的泼墨图像信息,并显示泼墨图像信息表征的泼墨图像。Specifically, the display device receives the ink splash image information sent by the electronic pen, and displays the ink splash image represented by the ink splash image information.

在本申请实施例中,电子笔可以根据电子笔的运动信息、姿态信息,以及电子笔与显示设备的屏幕的相对位置信息,确定泼墨图像信息,并向显示设备发送泼墨图像信息。从而显示设备可以显示泼墨图像信息表征的泼墨图像。如此可以在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In the embodiment of the present application, the electronic pen can determine the ink splash image information according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device, and send the ink splash image information to the display device. Thus, the display device can display the ink splatter image represented by the ink splatter image information. In this way, ink splash painting can be realized when using the electronic pen, so as to meet the user's demand for ink splash painting and improve the user's use experience.

下面结合一个具体的示例,对本申请实施例提供的显示方法进行详细介绍,具体如下:The display method provided by the embodiment of the present application is described in detail below with reference to a specific example, and the details are as follows:

步骤1、电子笔通过内置的陀螺仪实时采集电子笔在以电子笔为中心的空间直角坐标系的加速度,并记录第一时间段内采集的加速度,其中,第一时间段是加速度的大小大于或等于预设加速度阈值的时间段。然后根据第一时间段内的加速度和第一时间段的时长,计算墨滴的初始速度的大小。Step 1. The electronic pen collects the acceleration of the electronic pen in the space rectangular coordinate system centered on the electronic pen in real time through the built-in gyroscope, and records the acceleration collected in the first time period, wherein the first time period is when the magnitude of the acceleration is greater than or a time period equal to the preset acceleration threshold. Then, according to the acceleration in the first period of time and the duration of the first period of time, the size of the initial velocity of the ink droplets is calculated.

步骤2、电子笔在第一时间段内通过内置的重力传感器采集电子笔在以电子笔为中心的空间直角坐标系的夹角角度,并根据夹角角度确定墨滴的初始速度的方向。Step 2: The electronic pen collects the angle of the electronic pen in the space rectangular coordinate system centered on the electronic pen through the built-in gravity sensor in the first time period, and determines the direction of the initial speed of the ink drop according to the angle.

步骤3、电子笔在第一时间段内从显示设备中获取显示设备通过前摄采集电子笔图像,根据图像中电子笔的大小确定电子笔与显示设备的相对距离和相对方向。Step 3: The electronic pen acquires an image of the electronic pen from the display device by the display device in the first period of time, and determines the relative distance and relative direction of the electronic pen and the display device according to the size of the electronic pen in the image.

步骤4、电子笔以显示设备为中心建立空间直角坐标系,坐标原点可以是显示设备的屏幕中心,X轴可以是屏幕的宽度方向,Y轴可以是屏幕的长度方向,Z轴可以是垂直于屏幕所在平面的方向。可以理解,以显示设备为中心的空间直角坐标系的X轴、Y轴、Z轴分别是第一方向,第二方向,第三方向。Step 4. The electronic pen establishes a space rectangular coordinate system with the display device as the center. The coordinate origin can be the center of the screen of the display device, the X axis can be the width direction of the screen, the Y axis can be the length direction of the screen, and the Z axis can be perpendicular to the screen. The orientation of the plane on which the screen is located. It can be understood that the X axis, the Y axis, and the Z axis of the space rectangular coordinate system centered on the display device are the first direction, the second direction, and the third direction, respectively.

步骤5、电子笔对初始速度进行坐标系转换,从以电子笔为中心的空间直角坐标系转换至以显示设备为中心的空间直角坐标系,并根据相对距离和相对方向确定墨滴在以显示设备为中心的空间直角坐标系中的起点坐标。Step 5. The electronic pen performs coordinate system conversion on the initial speed, from the space rectangular coordinate system centered on the electronic pen to the spatial rectangular coordinate system centered on the display device, and determines the ink droplet according to the relative distance and relative direction. The coordinates of the starting point in the space Cartesian coordinate system centered on the device.

步骤6、电子笔根据起点坐标、转换后的初始速度,计算墨滴的飞行时间,根据起点坐标、转换后的初始速度和所述飞行时间计算墨滴在以电子笔为中心的空间直角坐标系中的终点坐标即终点位置,在终点坐标位于屏幕中的情况下,确定终点坐标为墨滴的显示位置。接着根据转换后的初始速度和飞行时间,计算墨滴落在显示位置的终止速度。从而根据终止速度,确定墨滴的显示形状和显示大小,得到包括墨滴的显示位置、显示形状和显示大小的泼墨图像信息。可以理解,墨滴的数量可以由电子笔的加速度确定,其可以有多个,在此不做限制。Step 6, the electronic pen calculates the flight time of the ink droplets according to the starting point coordinates and the converted initial speed, and calculates the ink droplets in the space Cartesian coordinate system centered on the electronic pen according to the starting point coordinates, the converted initial speed and the flight time. The end point coordinate in is the end point position. If the end point coordinate is located on the screen, the end point coordinate is determined as the display position of the ink drop. Then, according to the converted initial speed and flight time, the termination speed of the ink droplet falling on the display position is calculated. Therefore, according to the termination speed, the display shape and display size of the ink droplets are determined, and the ink splash image information including the display position, display shape and display size of the ink droplets is obtained. It can be understood that, the number of ink droplets may be determined by the acceleration of the electronic pen, and there may be more than one, which is not limited herein.

示例性地,在显示设备的屏幕水平放置时,墨滴的起点坐标可以为D0:(x0,y0,z0),终止坐标可以为D1:(x1,y1,0),墨滴的转换后的初始速度可以为

Figure BDA0002992293040000081
墨滴的终止速度可以为
Figure BDA0002992293040000082
其中,
Figure BDA0002992293040000083
Figure BDA0002992293040000084
由于墨滴飞出时只受重力影响,所以
Figure BDA0002992293040000085
Exemplarily, when the screen of the display device is placed horizontally, the coordinates of the starting point of the ink droplet may be D 0 : (x 0 , y 0 , z 0 ), and the coordinates of the end point may be D 1 : (x 1 , y 1 , 0) , the converted initial velocity of the ink droplet can be
Figure BDA0002992293040000081
The termination velocity of the ink droplet can be
Figure BDA0002992293040000082
in,
Figure BDA0002992293040000083
Figure BDA0002992293040000084
Since the ink droplets are only affected by gravity when they fly out,
Figure BDA0002992293040000085

可以根据第一公式计算飞行时间,其中,第一公式可以如下所示:The flight time can be calculated according to a first formula, wherein the first formula can be as follows:

Figure BDA0002992293040000086
Figure BDA0002992293040000086

其中,T表示飞行时间,g表示重力加速度。where T is the time of flight and g is the acceleration of gravity.

然后可以根据第二公式计算x1,根据第三公式计算y1,其中,第二公式和第三公式可以如下所示:Then x 1 can be calculated according to the second formula, and y 1 can be calculated according to the third formula, wherein the second formula and the third formula can be as follows:

x1=x0+Vx0T (2)x 1 = x 0 +V x0 T (2)

y1=y0+Vy0T (3)y 1 =y 0 +V y0 T (3)

可以理解,屏幕中心为整个坐标系原点,可以获取屏幕边界的坐标,进而可以判断D1:(x1,y1,0)是否位于显示设备的屏幕内。在D1:(x1,y1,0)位于显示设备的屏幕内的情况下,可以根据第四公式计算Vz1,其中,第四公式可以如下所示:It can be understood that the center of the screen is the origin of the entire coordinate system, and the coordinates of the screen boundary can be obtained, and then it can be determined whether D 1 : (x 1 , y 1 , 0) is located in the screen of the display device. In the case where D 1 : (x 1 , y 1 , 0) is located within the screen of the display device, V z1 can be calculated according to a fourth formula, where the fourth formula can be as follows:

Vz1=Vz0+gT (4)V z1 =V z0 +gT (4)

接着,可以根据Vx0和Vy0确定墨滴的显示形状,根据Vz1确定墨滴的显示大小,得到包括泼墨图像信息。Next, the display shape of the ink droplet may be determined according to V x0 and V y0 , and the display size of the ink droplet may be determined according to V z1 , to obtain image information including the ink splash.

步骤7、电子笔通过蓝牙向显示设备发送泼墨信息。Step 7. The electronic pen sends ink splashing information to the display device through Bluetooth.

步骤8、显示设备通过蓝牙接收显示设备发送的泼墨信息,并显示泼墨信息表征的泼墨图像。Step 8: The display device receives the ink splash information sent by the display device through Bluetooth, and displays the ink splash image represented by the ink splash information.

在一个实施例中,还可以通过电子笔模拟传统笔书写时特有的场景,例如:普通钢笔、中性笔在轻甩之后,刚开始书写的时候,笔头的墨汁会变多,笔迹会变粗。In one embodiment, an electronic pen can also be used to simulate a unique scene when writing with a traditional pen, for example, after a common fountain pen and a gel pen are lightly shaken, at the beginning of writing, the ink on the tip of the pen will increase, and the handwriting will become thicker .

图4是本申请实施例提供的另一种显示方法的流程示意图,如图4所示,该显示方法应用于电子笔,电子笔与显示设备通信连接,该显示方法包括以下步骤:FIG. 4 is a schematic flowchart of another display method provided by an embodiment of the present application. As shown in FIG. 4 , the display method is applied to an electronic pen, and the electronic pen is communicatively connected to a display device, and the display method includes the following steps:

S410,获取电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息。S410 , acquiring motion information and posture information of the electronic pen, and relative position information of the electronic pen and the screen of the display device.

在一个实施例中,电子笔可以获取运动信息,在运动信息满足预设条件的情况下,获取姿态信息和相对位置信息,从而降低电子笔的数据获取压力。In one embodiment, the electronic pen can acquire motion information, and when the motion information satisfies a preset condition, acquire attitude information and relative position information, thereby reducing the data acquisition pressure of the electronic pen.

示例性地,运动信息可以包括加速度,电子笔可以在加速度的大小大于或等于预设加速度阈值的情况下,获取姿态信息和相对位置信息。如此可以通过监测加速度,精确确定电子笔是否处于泼墨绘画状态。Exemplarily, the motion information may include acceleration, and the electronic pen may acquire attitude information and relative position information when the magnitude of the acceleration is greater than or equal to a preset acceleration threshold. In this way, by monitoring the acceleration, it can be accurately determined whether the electronic pen is in the state of splashing ink painting.

S420,根据运动信息、姿态信息和相对位置相对位置信息,确定泼墨图像信息。S420, according to the motion information, the posture information and the relative position relative position information, determine the ink splash image information.

在一个实施例中,泼墨图像信息可以包括墨滴的显示位置、显示形状和显示大小。In one embodiment, the ink splash image information may include the display position, display shape and display size of the ink droplets.

电子笔可以先根据运动信息和姿态信息,确定墨滴的初始速度。并且根据相对位置信息和初始速度,确定墨滴的飞行时间。根据相对位置信息、初始速度和飞行时间,确定墨滴落在屏幕所在平面的终点位置。然后判断终点位置是否位于屏幕中。在终点位置位于屏幕中的情况下,确定终点位置为墨滴的显示位置。接着根据初始速度和飞行时间,确定墨滴落在显示位置的终止速度。从而根据终止速度,确定墨滴的显示形状和显示大小,精确地确定用于表征泼墨图像的泼墨图像信息。The electronic pen can first determine the initial speed of the ink droplets according to the motion information and the attitude information. And according to the relative position information and the initial velocity, the flight time of the ink droplets is determined. According to the relative position information, initial speed and flight time, determine the end position of the ink droplet on the plane where the screen is located. Then judge whether the end position is in the screen. In the case where the end position is located on the screen, the end position is determined to be the display position of the ink drop. Then, according to the initial speed and the flight time, the final speed of the ink droplet falling on the display position is determined. Therefore, according to the termination speed, the display shape and display size of the ink droplets are determined, and the ink splash image information used to characterize the ink splash image is accurately determined.

作为一个示例,电子笔可以先计算终止速度的第一速度分量、第二速度分量和第三速度分量。其中,第一速度分量是终止速度在第一方向的速度分量,第二速度分量是终止速度在第二方向的速度分量,第三速度分量是终止速度在第三方向的速度分量。第一方向和第二方向位于屏幕所在平面,第三方向垂直于屏幕所在平面,第一方向和第二方向和第三方向相互垂直。然后根据第一速度分量和第二速度分量,确定墨滴的显示形状,并根据第三速度分量,确定墨滴的显示大小。如此可以根据不同方向的速度分量,精确地确定墨滴的显示形状和显示大小。As an example, the electronic pen may first calculate the first velocity component, the second velocity component and the third velocity component of the termination velocity. The first velocity component is the velocity component of the final velocity in the first direction, the second velocity component is the velocity component of the final velocity in the second direction, and the third velocity component is the velocity component of the final velocity in the third direction. The first direction and the second direction are located on the plane where the screen is located, the third direction is perpendicular to the plane where the screen is located, and the first direction and the second direction and the third direction are perpendicular to each other. Then, the displayed shape of the ink droplet is determined according to the first velocity component and the second velocity component, and the displayed size of the ink droplet is determined according to the third velocity component. In this way, the display shape and display size of the ink droplets can be accurately determined according to the velocity components in different directions.

S430,向显示设备发送泼墨图像信息,以用于显示设备显示泼墨图像信息表征的泼墨图像。S430: Send the ink splash image information to the display device, so that the display device displays the ink splash image represented by the ink splash image information.

在本申请实施例中,电子笔可以根据电子笔的运动信息、姿态信息,以及电子笔与显示设备的屏幕的相对位置信息,确定泼墨图像信息,并向显示设备发送泼墨图像信息,以用于显示设备显示泼墨图像信息表征的泼墨图像。如此可以在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In this embodiment of the present application, the electronic pen may determine the ink splash image information according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device, and send the ink splash image information to the display device for use in The display device displays the ink splatter image represented by the ink splatter image information. In this way, ink splash painting can be realized when using the electronic pen, so as to meet the user's demand for ink splash painting and improve the user's use experience.

图4所示实施例中电子笔所执行的方法,与图2所示实施例中电子笔执行的方法步骤相同,为描述简洁,在此不再赘述。The steps of the method executed by the electronic pen in the embodiment shown in FIG. 4 are the same as those of the method executed by the electronic pen in the embodiment shown in FIG. 2 , and are not repeated here for brevity of description.

图5是本申请实施例提供的另一种显示方法的流程示意图,如图5所示,该显示方法应用于显示设备,显示设备与电子笔通信连接,该显示方法包括以下步骤:FIG. 5 is a schematic flowchart of another display method provided by an embodiment of the present application. As shown in FIG. 5 , the display method is applied to a display device, and the display device is communicatively connected to an electronic pen, and the display method includes the following steps:

S510,接收电子笔发送的泼墨图像信息。S510: Receive ink splash image information sent by the electronic pen.

其中,泼墨图像信息是电子笔根据电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息确定。The ink splash image information is determined by the electronic pen according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device.

S520,显示泼墨图像信息表征的泼墨图像。S520, displaying the ink splash image represented by the ink splash image information.

在本申请实施例中,显示设备可以接收电子笔发送的泼墨图像信息,并显示泼墨图像信息表征的泼墨图像。能够在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In this embodiment of the present application, the display device may receive the ink splash image information sent by the electronic pen, and display the ink splash image represented by the ink splash image information. It can realize splash ink painting when using the electronic pen, meet the user's demand for splash ink painting, and improve the user's use experience.

图5所示实施例中显示设备所执行的方法,与图2所示实施例中显示设备执行的方法步骤相同,为描述简洁,在此不再赘述。The steps of the method executed by the display device in the embodiment shown in FIG. 5 are the same as those of the method executed by the display device in the embodiment shown in FIG. 2 , and are not repeated here for brevity of description.

需要说明的是,本申请实施例提供的显示方法的执行主体可以为应用于电子笔的显示装置,或者该显示装置中用于执行显示方法的控制模块;申请实施例提供的显示方法的执行主体可以是应用于显示设备的显示装置,或者该显示装置中用于执行显示方法的控制模块;本申请实施例中以应用于电子笔的显示装置执行显示的方法和应用于显示设备的显示装置执行显示方法为例,说明本申请实施例提供的应用于电子笔的显示装置和应用于显示设备的显示装置。It should be noted that the execution body of the display method provided by the embodiment of the present application may be a display device applied to an electronic pen, or a control module used for executing the display method in the display device; the execution body of the display method provided by the embodiment of the application It can be a display device applied to a display device, or a control module used to execute a display method in the display device; in the embodiments of the present application, a display device applied to an electronic pen and a display device applied to a display device are used to execute a display method. The display method is taken as an example to describe the display device applied to the electronic pen and the display device applied to the display device provided by the embodiments of the present application.

图6是本申请实施例提供的一种显示装置的结构示意图,如图6所示,显示装置600应用于电子笔,电子笔与显示设备通信连接,显示装置600包括:FIG. 6 is a schematic structural diagram of a display device provided by an embodiment of the present application. As shown in FIG. 6 , the display device 600 is applied to an electronic pen, and the electronic pen is communicatively connected to a display device. The display device 600 includes:

获取模块610,用于获取电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息。The acquiring module 610 is configured to acquire motion information and posture information of the electronic pen, and relative position information between the electronic pen and the screen of the display device.

确定模块620,用于根据运动信息、姿态信息和相对位置信息,确定泼墨图像信息。The determining module 620 is configured to determine the ink splash image information according to the motion information, the posture information and the relative position information.

发送模块630,用于向显示设备发送泼墨图像信息,以用于显示设备显示泼墨图像信息表征的泼墨图像。The sending module 630 is configured to send the ink splash image information to the display device, so that the display device can display the ink splash image represented by the ink splash image information.

在本申请实施例中,电子笔可以根据电子笔的运动信息、姿态信息,以及电子笔与显示设备的屏幕的相对位置信息,确定泼墨图像信息,并向显示设备发送泼墨图像信息,以用于显示设备显示泼墨图像信息表征的泼墨图像。如此可以在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In this embodiment of the present application, the electronic pen may determine the ink splash image information according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device, and send the ink splash image information to the display device for use in The display device displays the ink splatter image represented by the ink splatter image information. In this way, ink splash painting can be realized when using the electronic pen, so as to meet the user's demand for ink splash painting and improve the user's use experience.

在一个实施例中,获取模块610包括:In one embodiment, acquisition module 610 includes:

获取单元,用于获取运动信息。The acquisition unit is used to acquire motion information.

获取单元,还用于在运动信息满足预设条件的情况下,获取姿态信息和相对位置信息,从而降低电子笔的数据获取压力。The acquisition unit is further configured to acquire attitude information and relative position information under the condition that the motion information satisfies the preset condition, thereby reducing the data acquisition pressure of the electronic pen.

在一个实施例中,泼墨图像信息包括墨滴的显示位置、显示形状和显示大小。In one embodiment, the ink splash image information includes the display position, display shape and display size of the ink droplets.

确定模块620包括:确定单元,用于根据运动信息和姿态信息,确定墨滴的初始速度。The determination module 620 includes: a determination unit, configured to determine the initial velocity of the ink droplets according to the motion information and the attitude information.

确定单元,还用于根据相对位置信息和初始速度,确定墨滴的飞行时间。The determining unit is further configured to determine the flight time of the ink droplets according to the relative position information and the initial velocity.

确定单元,还用于根据相对位置信息、初始速度和飞行时间,确定墨滴落在屏幕所在平面的终点位置。The determining unit is further configured to determine the end position of the ink droplet on the plane where the screen is located according to the relative position information, the initial speed and the flight time.

确定单元,还用于根据初始速度和飞行时间,确定墨滴落在显示位置的终止速度。The determining unit is further configured to determine the termination speed of the ink droplet falling on the display position according to the initial speed and the flight time.

确定单元,还用于根据终止速度,确定墨滴的显示形状和显示大小,精确地确定用于表征泼墨图像的泼墨图像信息。The determining unit is further configured to determine the display shape and display size of the ink droplets according to the termination speed, and accurately determine the ink splash image information used to represent the ink splash image.

在一个实施例中,确定单元,具体用于:计算终止速度的第一速度分量、第二速度分量和第三速度分量。其中,第一速度分量是终止速度在第一方向的速度分量,第二速度分量是终止速度在第二方向的速度分量,第三速度分量是终止速度在第三方向的速度分量,第一方向和第二方向位于屏幕所在平面,第三方向垂直于屏幕所在平面,第一方向和第二方向和第三方向相互垂直。In one embodiment, the determining unit is specifically configured to: calculate the first velocity component, the second velocity component and the third velocity component of the termination velocity. The first velocity component is the velocity component of the final velocity in the first direction, the second velocity component is the velocity component of the final velocity in the second direction, the third velocity component is the velocity component of the final velocity in the third direction, and the first velocity component is the velocity component of the final velocity in the third direction. and the second direction is located on the plane where the screen is located, the third direction is perpendicular to the plane where the screen is located, and the first direction, the second direction and the third direction are perpendicular to each other.

根据第一速度分量和第二速度分量,确定墨滴的显示形状。Based on the first velocity component and the second velocity component, the displayed shape of the ink droplet is determined.

根据第三速度分量,确定墨滴的显示大小。如此可以根据不同方向的速度分量,精确地确定墨滴的显示形状和显示大小。Based on the third velocity component, the displayed size of the ink droplets is determined. In this way, the display shape and display size of the ink droplets can be accurately determined according to the velocity components in different directions.

图7是本申请实施例提供的另一种显示装置的结构示意图,如图7所示,显示装置700应用于显示设备,显示设备与电子笔通信连接,显示装置700包括:FIG. 7 is a schematic structural diagram of another display device provided by an embodiment of the present application. As shown in FIG. 7 , the display device 700 is applied to a display device, the display device is communicatively connected to an electronic pen, and the display device 700 includes:

接收模块710,用于接收电子笔发送的泼墨图像信息。其中,泼墨图像信息是电子笔根据电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息确定。The receiving module 710 is configured to receive the ink splash image information sent by the electronic pen. The ink splash image information is determined by the electronic pen according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device.

显示模块720,用于显示泼墨图像信息表征的泼墨图像。The display module 720 is configured to display the ink splash image represented by the ink splash image information.

在本申请实施例中,显示设备可以接收电子笔发送的泼墨图像信息,并显示泼墨图像信息表征的泼墨图像。能够在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In this embodiment of the present application, the display device may receive the ink splash image information sent by the electronic pen, and display the ink splash image represented by the ink splash image information. It can realize splash ink painting when using the electronic pen, meet the user's demand for splash ink painting, and improve the user's use experience.

值得注意的是,本申请实施例中的显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。It should be noted that the display device in the embodiment of the present application may be a device having 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.

可以理解,本申请实施例提供的显示装置能够实现图2至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。It can be understood that the display device provided by the embodiment of the present application can implement the various processes implemented by the method embodiments in FIG. 2 to FIG. 5 , and to avoid repetition, details are not repeated here.

如图8所示,本申请实施例还提供一种电子设备800,包括处理器801,存储器802,存储在存储器802上并可在处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。As shown in FIG. 8 , an embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801, the program or instruction being processed When the device 801 is executed, each process of the above-mentioned display method embodiments can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

图9是本申请实施例的提供的另一种电子设备的硬件结构示意图。该电子设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909以及处理器910等部件。FIG. 9 is a schematic diagram of a hardware structure of another electronic device provided by an embodiment of the present application. The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910 and other components .

本领域技术人员可以理解,电子设备900还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 900 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 910 through a power management system, so that the power management system can manage charging, discharging, and power management. consumption management and other functions. The structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

其中,传感器905,用于获取电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息。Among them, the sensor 905 is used to acquire the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device.

处理器910,用于根据运动信息、姿态信息和相对位置信息,确定泼墨图像信息。The processor 910 is configured to determine the ink splash image information according to the motion information, the posture information and the relative position information.

射频单元901,用于向显示设备发送泼墨图像信息,以用于显示设备显示泼墨图像信息表征的泼墨图像。The radio frequency unit 901 is configured to send the ink splash image information to the display device, so that the display device can display the ink splash image represented by the ink splash image information.

在本申请实施例中,可以根据电子笔的运动信息、姿态信息,以及电子笔与显示设备的屏幕的相对位置信息,确定泼墨图像信息,并向显示设备发送泼墨图像信息,以用于显示设备显示泼墨图像信息表征的泼墨图像。如此可以在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In this embodiment of the present application, the ink splash image information can be determined according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device, and the ink splash image information can be sent to the display device for use in the display device Displays the splatter image represented by the splatter image information. In this way, ink splash painting can be realized when using the electronic pen, so as to meet the user's demand for ink splash painting and improve the user's use experience.

在一个实施例中,传感器905,具体用于:获取运动信息,在运动信息满足预设条件的情况下,获取姿态信息和相对位置信息,从而降低电子笔的数据获取压力。In one embodiment, the sensor 905 is specifically used for: acquiring motion information, and when the motion information satisfies a preset condition, acquiring attitude information and relative position information, thereby reducing the data acquisition pressure of the electronic pen.

在一个实施例中,泼墨图像信息包括墨滴的显示位置、显示形状和显示大小。In one embodiment, the ink splash image information includes the display position, display shape and display size of the ink droplets.

处理器910,具体用于:根据运动信息和姿态信息,确定墨滴的初始速度。The processor 910 is specifically configured to: determine the initial velocity of the ink droplets according to the motion information and the posture information.

根据相对位置信息和初始速度,确定墨滴的飞行时间。According to the relative position information and the initial velocity, the flight time of the ink droplets is determined.

根据相对位置信息、初始速度和飞行时间,确定墨滴落在屏幕所在平面的终点位置。According to the relative position information, initial speed and flight time, determine the end position of the ink droplet on the plane where the screen is located.

根据初始速度和飞行时间,确定墨滴落在显示位置的终止速度。According to the initial speed and flight time, determine the final speed of the ink droplet falling on the display position.

根据终止速度,确定墨滴的显示形状和显示大小,精确地确定用于表征泼墨图像的泼墨图像信息。According to the termination speed, the display shape and display size of the ink droplets are determined, and the ink splash image information for characterizing the ink splash image is accurately determined.

在一个实施例中,处理器910,具体用于:计算终止速度的第一速度分量、第二速度分量和第三速度分量。其中,第一速度分量是终止速度在第一方向的速度分量,第二速度分量是终止速度在第二方向的速度分量,第三速度分量是终止速度在第三方向的速度分量,第一方向和第二方向位于屏幕所在平面,第三方向垂直于屏幕所在平面,第一方向和第二方向和第三方向相互垂直。In one embodiment, the processor 910 is specifically configured to: calculate the first velocity component, the second velocity component and the third velocity component of the termination velocity. The first velocity component is the velocity component of the final velocity in the first direction, the second velocity component is the velocity component of the final velocity in the second direction, the third velocity component is the velocity component of the final velocity in the third direction, and the first velocity component is the velocity component of the final velocity in the third direction. and the second direction is located on the plane where the screen is located, the third direction is perpendicular to the plane where the screen is located, and the first direction, the second direction and the third direction are perpendicular to each other.

根据第一速度分量和第二速度分量,确定墨滴的显示形状。Based on the first velocity component and the second velocity component, the displayed shape of the ink droplet is determined.

根据第三速度分量,确定墨滴的显示大小。如此可以根据不同方向的速度分量,精确地确定墨滴的显示形状和显示大小。Based on the third velocity component, the displayed size of the ink droplets is determined. In this way, the display shape and display size of the ink droplets can be accurately determined according to the velocity components in different directions.

本申请实施例还提供一种电子设备,如图9所示。The embodiment of the present application further provides an electronic device, as shown in FIG. 9 .

其中,射频单元901,用于接收电子笔发送的泼墨图像信息。其中,泼墨图像信息是电子笔根据电子笔的运动信息和姿态信息,以及电子笔与显示设备的屏幕的相对位置信息确定。Among them, the radio frequency unit 901 is used for receiving the ink splash image information sent by the electronic pen. The ink splash image information is determined by the electronic pen according to the motion information and posture information of the electronic pen, and the relative position information of the electronic pen and the screen of the display device.

显示单元906,用于显示泼墨图像信息表征的泼墨图像。The display unit 906 is configured to display the ink splash image represented by the ink splash image information.

在本申请实施例中,可以接收电子笔发送的泼墨图像信息,并显示泼墨图像信息表征的泼墨图像。能够在使用电子笔时实现泼墨绘画,满足用户泼墨绘画的使用需求,提高用户的使用体验。In this embodiment of the present application, the ink splash image information sent by the electronic pen can be received, and the ink splash image represented by the ink splash image information can be displayed. It can realize splash ink painting when using the electronic pen, meet the user's demand for splash ink painting, and improve the user's use experience.

应理解的是,本申请实施例中,输入单元904可以包括图形处理器(GraphicsProcessing Unit,GPU)和麦克风,图形处理器对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元906可包括显示面板,可以采用液晶显示器、有机发光二极管等形式来配置显示面板。用户输入单元907包括触控面板以及其他输入设备。触控面板,也称为触摸屏。触控面板可包括触摸检测装置和触摸控制器两个部分。其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器909可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。It should be understood that, in this embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) and a microphone, and the graphics processor pair is obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode The image data of still pictures or videos is processed. The display unit 906 may include a display panel, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel and other input devices. Touch panel, also known as touch screen. The touch panel may include two parts, a touch detection device and a touch controller. Other input devices may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 909 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 910.

本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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-mentioned display method embodiment can be realized, and the same technical effect can be achieved , in order to avoid repetition, it will not be repeated here.

其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. 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 used to run a program or an instruction, implement each process of the above display method embodiment, and can achieve the same technology The effect, in order to avoid repetition, is not 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 method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, 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 (10)

1. A display method is applied to an electronic pen which is in communication connection with a display device, and comprises the following steps:
acquiring motion information and posture information of the electronic pen and relative position information of the electronic pen and a screen of the display device;
determining splash-ink image information according to the motion information, the posture information and the relative position information;
and sending the splash image information to the display device for the display device to display a splash image represented by the splash image information.
2. The method according to claim 1, wherein the acquiring motion information and posture information of the electronic pen and relative position information of the electronic pen and a display device comprises:
acquiring the motion information;
and acquiring the attitude information and the relative position information under the condition that the motion information meets a preset condition.
3. The method of claim 1 or 2, wherein the splattered image information includes a display position, a display shape, and a display size of an ink droplet, and the determining the splattered image information according to the motion information, the posture information, and the relative position information includes:
determining an initial velocity of the ink drop according to the motion information and the attitude information;
determining the flight time of the ink drop according to the relative position information and the initial speed;
determining the final position of the plane where the ink drop falls on the screen according to the relative position information, the initial speed and the flight time;
determining a termination speed of landing of the ink drop at the display position according to the initial speed and the flight time;
and determining the display shape and the display size of the ink drop according to the termination speed.
4. The method of claim 3, wherein said determining a display shape and a display size of said ink drop based on said termination velocity comprises:
calculating a first velocity component, a second velocity component and a third velocity component of the termination velocity, wherein the first velocity component is a velocity component of the termination velocity in a first direction, the second velocity component is a velocity component of the termination velocity in a second direction, the third velocity component is a velocity component of the termination velocity in a third direction, the first direction and the second direction are in a plane of the screen, the third direction is perpendicular to the plane of the screen, and the first direction, the second direction and the third direction are perpendicular to each other;
determining a display shape of the ink droplet according to the first velocity component and the second velocity component;
determining a display size of the ink droplet according to the third velocity component.
5. A display method is applied to a display device which is in communication connection with an electronic pen, and comprises the following steps:
receiving splash-ink image information sent by the electronic pen, wherein the splash-ink image information is determined by the electronic pen according to motion information and posture information of the electronic pen and relative position information of the electronic pen and a screen of a display device;
displaying a splash-ink image characterized by the splash-ink image information.
6. A display apparatus, wherein the apparatus is applied to an electronic pen, the electronic pen is connected with a display device in communication, the apparatus comprises:
the acquisition module is used for acquiring motion information and posture information of the electronic pen and relative position information of the electronic pen and a screen of the display equipment;
the determining module is used for determining splash-ink image information according to the motion information, the posture information and the relative position information;
and the sending module is used for sending the splash-ink image information to the display device so that the display device can display the splash-ink image represented by the splash-ink image information.
7. The apparatus of claim 6, wherein the splattered image information includes a display position, a display shape, and a display size of the ink droplets, and the determining module comprises:
a determining unit, configured to determine an initial velocity of the ink droplet according to the motion information and the attitude information;
the determining unit is further used for determining the flight time of the ink drop according to the relative position information and the initial speed;
the determining unit is further configured to determine an end position of the plane where the ink droplet lands on the screen according to the relative position information, the initial speed, and the flight time;
the determining unit is further used for determining the ending speed of the ink drop falling at the display position according to the initial speed and the flight time;
the determining unit is further configured to determine a display shape and a display size of the ink droplet according to the termination speed.
8. A display device, wherein the device is applied to a display device, the display device is connected with an electronic pen in a communication way, and the device comprises:
the electronic pen comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving splash-ink image information sent by the electronic pen, and the splash-ink image information is determined by the electronic pen according to motion information and posture information of the electronic pen and relative position information of the electronic pen and a screen of the display device;
and the display module is used for displaying the splash-ink image represented by the splash-ink image information.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the display method according to any one of claims 1 to 4 or the program or instructions when executed by the processor implementing the steps of the display method according to claim 5.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the display method according to any one of claims 1-4, or which, when executed by a processor, implement the steps of the display method according to claim 5.
CN202110318668.0A 2021-03-25 2021-03-25 Display method, display device, electronic equipment and storage medium Active CN113360031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110318668.0A CN113360031B (en) 2021-03-25 2021-03-25 Display method, display device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110318668.0A CN113360031B (en) 2021-03-25 2021-03-25 Display method, display device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113360031A true CN113360031A (en) 2021-09-07
CN113360031B CN113360031B (en) 2024-10-29

Family

ID=77525033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110318668.0A Active CN113360031B (en) 2021-03-25 2021-03-25 Display method, display device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113360031B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827972A (en) * 2022-06-28 2022-07-29 荣耀终端有限公司 Method for establishing connection with stylus pen and electronic equipment
CN119002758A (en) * 2024-02-05 2024-11-22 华为技术有限公司 Interaction method, handwriting pen and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130286033A1 (en) * 2012-04-26 2013-10-31 Research In Motion Limited Method and apparatus for drawing tool selection
CN104142737A (en) * 2013-05-07 2014-11-12 崔伟 Digital pen and airbrush simulation method
CN107924286A (en) * 2015-08-13 2018-04-17 三星电子株式会社 The input method of electronic equipment and electronic equipment
CN110647246A (en) * 2018-06-26 2020-01-03 英特尔公司 Predictive detection of user intent in stylus use
CN112183521A (en) * 2020-09-30 2021-01-05 中国银行股份有限公司 Intelligent input method, system, equipment and readable storage medium
CN112402974A (en) * 2020-11-23 2021-02-26 成都完美时空网络技术有限公司 Game scene display method and device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130286033A1 (en) * 2012-04-26 2013-10-31 Research In Motion Limited Method and apparatus for drawing tool selection
CN104142737A (en) * 2013-05-07 2014-11-12 崔伟 Digital pen and airbrush simulation method
CN107924286A (en) * 2015-08-13 2018-04-17 三星电子株式会社 The input method of electronic equipment and electronic equipment
CN110647246A (en) * 2018-06-26 2020-01-03 英特尔公司 Predictive detection of user intent in stylus use
CN112183521A (en) * 2020-09-30 2021-01-05 中国银行股份有限公司 Intelligent input method, system, equipment and readable storage medium
CN112402974A (en) * 2020-11-23 2021-02-26 成都完美时空网络技术有限公司 Game scene display method and device, storage medium and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827972A (en) * 2022-06-28 2022-07-29 荣耀终端有限公司 Method for establishing connection with stylus pen and electronic equipment
CN114827972B (en) * 2022-06-28 2022-11-08 荣耀终端有限公司 Method for establishing connection with stylus pen and electronic equipment
CN119002758A (en) * 2024-02-05 2024-11-22 华为技术有限公司 Interaction method, handwriting pen and electronic equipment

Also Published As

Publication number Publication date
CN113360031B (en) 2024-10-29

Similar Documents

Publication Publication Date Title
US11366528B2 (en) Gesture movement recognition method, apparatus, and device
EP3617995A1 (en) Augmented reality processing method, object recognition method, and related apparatus
CN108985220B (en) Face image processing method and device and storage medium
US20190004622A1 (en) Systems, Methods, and Devices for Providing a Virtual Reality Whiteboard
CN105960626A (en) Grip detection
CN110942479B (en) Virtual object control method, storage medium and electronic device
CN103218065A (en) Automatic variable stroke type handwriting input device
US11853483B2 (en) Image processing method and apparatus for smart pen including pressure switches, and electronic device
CN113360031A (en) Display method, display device, electronic equipment and storage medium
CN111603761A (en) Game paddle, awakening method and device thereof and computer readable storage medium
WO2022016650A1 (en) Smart pen image processing method, apparatus and electronic device
WO2022253041A1 (en) Image display method and electronic device
CN112269481A (en) Method and device for controlling friction force adjustment and electronic equipment
CN106598422B (en) hybrid control method, control system and electronic equipment
CN110175063B (en) Operation assisting method, device, mobile terminal and storage medium
CN117011929A (en) Head posture estimation method, device, equipment and storage medium
CN109117037B (en) An image processing method and terminal device
CN112596660B (en) A writing display processing method and electronic device
CN108803862B (en) Account relation establishing method and device used in virtual reality scene
CN112287708A (en) Near field communication NFC analog card switching method, device and device
US10706255B2 (en) Processing method and electronic device
CN110795016A (en) Display method and electronic equipment
CN112540683B (en) Intelligent ring, handwritten character recognition method and electronic equipment
CN111813473A (en) Screen capture method, device and electronic device
CN112954480B (en) Data transmission progress display method and data transmission progress display device

Legal Events

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