Information processing method, information processing device, electronic device and storage medium

By obtaining the pen-down position and palm contact position of the touch object, the display parameters of the electronic device display screen are adjusted, which solves the problem of poor display effects in the existing technology and improves device intelligence and interactive experience.

CN113360072BActive Publication Date: 2024-09-20LENOVO (BEIJING) LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110607038.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-28
Publication Date
2024-09-20
Estimated Expiration
2041-05-28

AI Technical Summary

Technical Problem

When existing electronic devices adjust the display parameters of the displayed content, they can only change them from the setting parameters of the displayed content, resulting in poor display effects and inability to flexibly adjust to match the operation of the touch object.

Method used

By obtaining the pen position of the touch object on the display screen and the contact position of the palm, the display parameters on the display screen, including the position, arrangement and stroke effect of the displayed content, are adjusted to match the touch operation.

Benefits of technology

It is possible to improve the intelligence of electronic devices and the interactive experience between touch objects and devices without adding additional hardware devices, ensuring that the display effect better matches the touch operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113360072B
    Figure CN113360072B
Patent Text Reader

Abstract

The embodiment of the present application provides an information processing method, the method comprising: obtaining a first pen-falling position of a touch object on a display screen of an electronic device; obtaining a first position on a contact surface between a palm part and the display screen; and adjusting display parameters of at least part of the display content on the display screen based on the first pen-falling position and the first position. The embodiment of the present application also discloses an information processing device, an electronic device, and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to, but is not limited to, the field of computer technology, and in particular to an information processing method, an information processing device, an electronic device, and a storage medium. Background Art

[0002] With the development of electronic technology, more and more content can be displayed on the display screen of electronic devices. However, currently, when adjusting the display parameters of the displayed content, the electronic devices can only change the setting parameters of the displayed content, resulting in poor display effects of the electronic devices. Summary of the invention

[0003] Embodiments of the present application are intended to provide an information processing method, an information processing device, an electronic device, and a storage medium.

[0004] The technical solution of this application is implemented as follows:

[0005] In a first aspect, an information processing method provided by an embodiment of the present application includes:

[0006] Acquire a first pen drop position of a touch object on a display screen of an electronic device;

[0007] Acquire a first position on a contact surface between a palm and the display screen;

[0008] Based on the first pen-fall position and the first position, display parameters of at least a portion of the displayed content on the display screen are adjusted.

[0009] In a second aspect, an embodiment of the present application provides an information processing device, the information processing device comprising:

[0010] An acquisition module, used to acquire a first pen drop position of a touch object on a display screen of an electronic device;

[0011] The acquisition module is further used to acquire a first position on a contact surface between a palm and the display screen;

[0012] A processing module is used to adjust display parameters of at least part of the displayed content on the display screen based on the first pen-falling position and the first position.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor, a memory, and a communication bus;

[0014] The communication bus is used to realize the communication connection between the processor and the memory;

[0015] The processor is used to execute the information processing program stored in the memory to implement the steps of the above-mentioned information processing method.

[0016] In a fourth aspect, an embodiment of the present application provides a storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the above-mentioned information processing method.

[0017] The embodiments of the present application provide an information processing method, an information processing device, an electronic device and a storage medium, which obtain a first pen-falling position of a touch object on a display screen of the electronic device; obtain a first position on a contact surface between a palm part and the display screen; and adjust display parameters of at least part of the display content on the display screen based on the first pen-falling position and the first position; in this way, the electronic device adjusts the display parameters of at least part of the display content on the display screen based on the first pen-falling position of the touch object on the display screen and the first position on the contact surface between the palm part and the display screen, thereby solving the problem that when adjusting the display parameters of the display content, the electronic device can only make changes from the setting parameters of the display content, resulting in a poor display effect of the electronic device, and realizes flexible adjustment of the display parameters of at least part of the display content on the display screen, and at least ensures that the display effect presented by the adjusted display content better matches the touch operation of the touch object on the display screen, thereby improving the intelligence of the electronic device and the interactive experience between the electronic device and the touch object without adding hardware devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 An optional flowchart of an information processing method provided in an embodiment of the present application;

[0019] Figure 2 An optional flowchart of an information processing method provided in an embodiment of the present application;

[0020] Figure 3 An optional flowchart of an information processing method provided in an embodiment of the present application;

[0021] Figure 4 An optional flowchart of an information processing method provided in an embodiment of the present application;

[0022] Figure 5A An optional schematic diagram of the positional relationship between the display position of text and the display position of a display tool of a touch object provided in an embodiment of the present application;

[0023] Figure 5B An optional schematic diagram of the positional relationship between the display position of text and the display position of a display tool of a touch object provided in an embodiment of the present application;

[0024] Fig. 6AA schematic diagram of the contents displayed when a touch object performs a drawing operation provided in an embodiment of the present application;

[0025] Figure 6B A schematic diagram of the display content when the touch object provided in the embodiment of the present application is not performing a drawing operation;

[0026] Fig. 7A A schematic diagram of the display content before rotation provided in an embodiment of the present application;

[0027] Figure 7B A schematic diagram of the display content after rotation provided in an embodiment of the present application;

[0028] Figure 8 An optional flowchart of an information processing method provided in an embodiment of the present application;

[0029] Fig. 9 An optional flowchart of an information processing method provided in an embodiment of the present application;

[0030] Fig.10 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;

[0031] Fig.11 A schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of this application.

[0033] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0034] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0035] The embodiment of the present application provides an information processing method, which is applied to an electronic device, referring to Figure 1 As shown, the method comprises the following steps:

[0036] Step 101: Acquire a first pen-falling position of a touch object on a display screen of an electronic device.

[0037] The touch object is at least used to input touch operations related to displayed content in an electronic device with a display screen having a touch function. The touch object includes but is not limited to a stylus, a capacitive pen, and a user's finger.

[0038] The first pen-falling position is the click position when the touch object clicks the display screen.

[0039] In an embodiment of the present application, the electronic device may be installed with a drawing application (Application, App) and a text app, etc. The user may use the touch object to perform activities such as selecting tools, drawing, writing text content, annotating text, etc. in the graphical interface of the electronic device. The content presented in the graphical interface includes display content and display tools of the touch object.

[0040] In actual applications, electronic devices may include but are not limited to mobile terminal devices with touch-screen displays, such as smart phones, tablet computers, laptops, smart TVs, drawing boards, personal digital assistants (PDAs), cameras, wearable devices, and fixed terminal devices with touch-screen displays, such as desktop computers and drawing desktops.

[0041] Step 102: Obtain a first position on the contact surface between the palm and the display screen.

[0042] The contact surface is the front projection area of ​​the user's palm on the display screen when the touch object inputs a touch operation related to the displayed content on the display screen of the electronic device, that is, the contact area of ​​the user's palm on the display screen.

[0043] The first position is a position corresponding to any point on the contact surface between the palm and the display screen. For example, the first position may be a position corresponding to the center point of the contact surface, or a position corresponding to any point on the edge contour area on the contact surface, or a position corresponding to any point in the edge contour area on the contact surface except the center point. This application does not make any specific limitation on this.

[0044] In an embodiment of the present application, when the electronic device obtains the first pen-drop position of the touch object on the display screen, it obtains the first position corresponding to any point on the contact surface between the palm and the display screen, so that the electronic device can adjust the display parameters of at least part of the display content on the display screen according to the first pen-drop position and the first position.

[0045] Step 103: Based on the first pen-falling position and the first position, adjust display parameters of at least a portion of the displayed content on the display screen.

[0046] The display content includes display tools, display text content and display painting content.

[0047] The display parameters include the position of the displayed content, the arrangement and layout of the displayed content, and the text effect of the displayed content.

[0048] In an embodiment of the present application, adjusting the display parameters of the displayed content can change the display effect. For example, adjusting the display parameters of the displayed content can change the display effect of the displayed content to switch between horizontal and vertical screen display; for another example, adjusting the display parameters of the displayed content can change the change of the pen stroke presentation effect.

[0049] In an embodiment of the present application, after the electronic device obtains the first pen-falling position of the touch object on the display screen and the first position on the contact surface between the palm and the display screen, the display parameters of at least part of the display content on the display screen are adjusted based on the determined first pen-falling position and the first position.

[0050] The embodiment of the present application provides an information processing method, which obtains a first pen-falling position of a touch object on a display screen of an electronic device; obtains a first position on a contact surface between a palm part and the display screen; and adjusts display parameters of at least part of the display content on the display screen based on the first pen-falling position and the first position; in this way, the electronic device adjusts the display parameters of at least part of the display content on the display screen based on the first pen-falling position of the touch object on the display screen and the first position on the contact surface between the palm part and the display screen, thereby solving the problem that when adjusting the display parameters of the display content, the current electronic device can only make changes from the setting parameters of the display content, resulting in a poor display effect of the electronic device, and realizes flexible adjustment of the display parameters of at least part of the display content on the display screen, and at least ensures that the display effect presented by the adjusted display content better matches the touch operation of the touch object on the display screen, thereby improving the intelligence level of the electronic device and the interactive experience between the electronic device and the touch object without the need to increase hardware devices.

[0051] The embodiment of the present application provides an information processing method, which is applied to an electronic device, referring to Figure 2 As shown, the method comprises the following steps:

[0052] Step 201: Acquire a second pen drop position of a touch object on the display screen and a second position on the contact surface between the palm and the display screen.

[0053] The second pen drop position is the click position when the touch object clicks the display screen, and the second position is the position corresponding to any point on the contact surface between the palm and the display screen.

[0054] Step 202: Acquire the first pen drop position of the touch object on the display screen of the electronic device.

[0055] Step 203: Acquire a first position on the contact surface between the palm and the display screen.

[0056] The first pen-dropping position is the click position of the touch object when the touch object clicks the rotated display screen by rotating the electronic device when the position of the touch object does not change. Here, the second pen-dropping position is different from the first pen-dropping position.

[0057] The first position is the position of the point corresponding to the second position on the rotated display screen when the position of the palm does not change by rotating the electronic device. Here, the second position is different from the first position.

[0058] In an achievable application scenario, if the second position is the position corresponding to the center point on the contact surface, first, the electronic device obtains the second pen-falling position of the touch object on the display screen, and the second position corresponding to the center point on the contact surface between the palm and the display screen; secondly, the electronic device rotates the electronic device without changing the position of the touch object and the position of the palm, and obtains the first pen-falling position of the touch object on the rotated display screen, and the first position of the center point on the contact surface on the rotated display screen. Finally, the electronic device adjusts the display parameters of at least part of the displayed content on the display screen according to the first pen-falling position, the first position, the second pen-falling position, and the second position.

[0059] Step 204: Obtain a first position relationship between the first pen-falling position and the first position, a second position relationship between the second pen-falling position and the second position, and a third position relationship between the first pen-falling position and the second pen-falling position.

[0060] In an embodiment of the present application, the first position relationship may be a line relationship between the first pen-falling position and the first position, or a distance relationship between the first pen-falling position and the first position. Here, the present application does not make any specific limitation.

[0061] In an embodiment of the present application, the second position relationship may be a line relationship between the second pen-falling position and the second position, or a distance relationship between the second pen-falling position and the second position. The present application does not impose any specific limitation here.

[0062] In an embodiment of the present application, the third position relationship may be a line relationship between the first pen-dropping position and the second pen-dropping position, or a distance relationship between the first pen-dropping position and the second pen-dropping position. The present application does not impose any specific limitation here.

[0063] Step 205: Based on the first position relationship, the second position relationship, and the third position relationship, adjust display parameters of at least a portion of the display content on the display screen.

[0064] In an embodiment of the present application, after the electronic device obtains a first position relationship between the first pen-drop position and the first position, a second position relationship between the second pen-drop position and the second position, and a third position relationship between the first pen-drop position and the second pen-drop position, the display parameters of at least part of the display content on the display screen are adjusted based on the determined first position relationship, second position relationship, and third position relationship. In this way, without adding hardware devices, the display parameters of at least part of the display content on the display screen can be adjusted based on the first pen-drop position, the second pen-drop position, the first position, and the second position, thereby improving the intelligence level of the electronic device and improving the interactive experience between the electronic device and the touch object.

[0065] In the embodiment of the present application, step 205 adjusts the display parameters of at least part of the displayed content on the display screen based on the first position relationship, the second position relationship and the third position relationship, referring to Figure 3 As shown, this can be achieved through the following steps:

[0066] Step 2051: If the first position relationship represents a first straight line connecting the first pen-falling position and the first position, the second position relationship represents a second straight line connecting the second pen-falling position and the second position, and the third position relationship represents a third straight line connecting the first pen-falling position and the second pen-falling position, obtain the angle value corresponding to the angle between the first straight line and the second straight line in the figure enclosed by the first straight line, the second straight line and the third straight line.

[0067] In the embodiment of the present application, the first position relationship is a line relationship between the first pen-falling position and the first position, that is, the first position relationship represents a first straight line connecting the first pen-falling position and the first position.

[0068] In the embodiment of the present application, the second position relationship is a line relationship between the second pen-falling position and the second position, that is, the second position relationship represents a second straight line connecting the second pen-falling position and the second position.

[0069] In the embodiment of the present application, the third position relationship is the line relationship between the first pen-dropping position and the second pen-dropping position, that is, the third position relationship represents a third straight line connecting the first pen-dropping position and the second pen-dropping position.

[0070] In an embodiment of the present application, first, the electronic device determines a first straight line connecting a first pen-falling position and a first position, a second straight line connecting a second pen-falling position and a second position, and a third straight line connecting the first pen-falling position and the second pen-falling position; secondly, the electronic device determines an angle between the first straight line and the second straight line in a figure enclosed by the first straight line, the second straight line and the third straight line, and obtains an angle value corresponding to the angle.

[0071] Step 2052: Obtain the direction from the first pen-dropping position to the second pen-dropping position on the third straight line.

[0072] Step 2053: Based on the angle value and the direction, adjust display parameters of at least part of the display content on the display screen.

[0073] The display content includes display tools, display text content and display painting content.

[0074] The display parameters include the location of the displayed content and the arrangement and layout of the displayed content.

[0075] In the embodiment of the present application, adjusting the display parameters of the displayed content can change the display effect. For example, adjusting the display parameters of the displayed content can change the display effect of the displayed content to switch between horizontal and vertical screen display.

[0076] In an embodiment of the present application, the electronic device obtains the direction from the first pen-falling position to the second pen-falling position on the third straight line, and adjusts the display parameters of at least part of the display content on the display screen according to the obtained angle value and direction.

[0077] In an embodiment of the present application, when the electronic device makes a real-time adjustment to the display parameters of at least part of the display content on the display screen based on the angle value and the direction, at least the following two methods can be adopted: Method 1: the electronic device adjusts the display parameters of the display tools and the displayed text content on the display screen, such as the display position and / or the arrangement layout of the displayed content, according to the angle value and the direction; Method 2: the electronic device adjusts the display parameters of the display tools on the display screen, such as the display position, according to the angle value and the direction, without changing the position of the displayed painting content and / or the displayed text content; In this way, when the touch object is operating the display screen of the electronic device, the user's rotation direction and the rotation angle value of the electronic device are obtained through software implementation, so as to flexibly adjust the display parameters of the displayed content on the display screen according to the rotation direction and the rotation angle value, so as to determine the correct interface direction of the displayed content; Thus, without the need to increase hardware devices, the intelligence level of the electronic device is improved, and the interactive experience between the electronic device and the touch object is improved.

[0078] In the embodiment of the present application, step 2053 adjusts the display parameters of at least part of the displayed content on the display screen based on the angle value and the direction, referring to Figure 4 As shown, this can be achieved through the following steps:

[0079] Step A1: Acquire first attribute information of a touch object and second attribute information of a display content.

[0080] In an embodiment of the present application, the touch object may be a stylus, and the first attribute information of the touch object may be understood as the type of pen corresponding to the stylus on the electronic device. By way of example, the type of pen corresponding to the stylus on the electronic device includes but is not limited to a fountain pen type, a ballpoint pen type, a fountain pen type, a brush type, a watercolor pen type, a sketch pen type, a marker pen type, and a marker pen type.

[0081] In the embodiment of the present application, the second attribute information of the displayed content is attribute information associated with the displayed content.

[0082] In actual applications, the electronic device is installed with painting apps and / or text apps. When the stylus pen operates an app in the electronic device that is associated with the display content, the display screen displays display tools corresponding to the stylus pen, and touch operations such as painting operations and text operations input through the stylus pen, and displayed painting content and displayed text content obtained after the touch operations such as painting operations and text operations are input through the stylus; for example, when the stylus pen operates an app associated with painting content, the display screen displays display tools corresponding to the stylus pen, such as a color palette, pen type, and displayed painting content obtained after the painting operations are input through the stylus pen; for another example, when the stylus pen operates an app associated with text content, the display screen displays display tools corresponding to the stylus pen, such as the pen type, pen thickness setting, and eraser tool, and displayed text content obtained after the text operations are input through the stylus pen.

[0083] Step A2: Determine the display content to be adjusted on the display screen based on the first attribute information and the second attribute information.

[0084] In a feasible application scenario, if the first attribute information of the touch object is that the type of the pen of the touch object is a fountain pen type, a ballpoint pen type, a fountain pen type or a brush type, and the second attribute information of the displayed content is attribute information associated with the displayed text content, such as when writing text in a document, the electronic device determines that the display content to be adjusted on the display screen is the display tool corresponding to the displayed text content and the touch object.

[0085] In some implementations, when the type of the touch object is a fountain pen, and the attribute information of the displayed content is attribute information associated with the displayed text content. Figure 5A As shown, when writing text through the touch object, if the display position of the text is at the upper position of the display screen, the display tool of the touch object can be displayed at the lower position of the displayed text content; refer to Figure 5B As shown, when writing text through the touch object, if the display position of the text is in the middle or lower position of the display screen, the display tool of the touch object can be displayed in the upper position of the display screen.

[0086] In some embodiments, when the touch object is writing text, the display tool of the touch object is not displayed on the display screen; when the time when the touch object and the display screen are not in contact exceeds a preset time, such as 4 seconds, the display tool of the touch object is displayed on the line connecting the pen-falling position of the touch object and the center position of the contact surface, and at a first distance, such as 5 cm, from the pen-falling position of the touch object.

[0087] In another feasible application scenario, if the first attribute information of the touch object is that the type of the pen of the touch object is a watercolor pen type or a sketch pen type, and the second attribute information of the display content is attribute information associated with displaying painting content, the electronic device determines that the display content that does not need to be adjusted on the display screen is the displaying painting content, and determines that the display content to be adjusted is the display tool corresponding to the touch object.

[0088] In some embodiments, reference Fig. 6A As shown, during the drawing process of the touch object, that is, when the touch object is in contact with the display screen, the display tool of the touch object is not displayed on the display screen; Figure 6B As shown, when the time period of no contact between the touch object and the display screen exceeds a preset time period such as 4 seconds, the display tool of the touch object is displayed at a second distance such as 2 cm from the position where the touch object is dropped.

[0089] In another feasible application scenario, if the first attribute information of the touch object is that the type of the pen of the touch object is a marker pen type or a marker pen type, and the second attribute information of the display content is attribute information associated with the display text content, such as annotating the text content in a PDF document or a word document, the electronic device determines that the display content that does not need to be adjusted on the display screen is the display text content and the annotated text content, and determines that the display content to be adjusted is the display tool corresponding to the touch object.

[0090] Step A3: Using the rotation reference point on the displayed content as the rotation center point and the rotation reference position on the displayed content as the rotation start position, rotate along the direction by an angle value.

[0091] In the embodiment of the present application, the rotation reference point may be a point at the center position of the displayed content, or the rotation reference point may be a point at the center position of the display screen.

[0092] In the embodiment of the present application, after the electronic device determines the display content to be adjusted on the display screen based on the first attribute information and the second attribute information, it determines the rotation center point, takes the rotation reference position on the display content as the rotation start position, and rotates the angle value along the direction to obtain the adjusted display content. In this way, the electronic device determines the display content to be adjusted on the display screen based on the attribute information of the touch object and the attribute information of the display content, so as to rotate the display content to be adjusted according to the direction and the angle value.

[0093] In practical applications, refer to Fig. 7AAs shown, the electronic device inputs text operation through the touch object to display text content on the display screen. At this time, the electronic device obtains the second pen-falling position of the touch object and the second center position of the contact surface between the palm and the display screen. Afterwards, when the position of the touch object and the position of the palm do not change, the user rotates the electronic device. When the touch object inputs text operation on the display screen again, the electronic device obtains the first pen-falling position of the touch object and the first center position of the contact surface between the palm and the display screen. Again, the electronic device determines that the user has rotated a certain angle value in a certain direction based on the first pen-falling position, the second pen-falling position, the first center position, and the second center position. Finally, referring to Figure 7B As shown, the electronic device determines the center position of the display screen as the rotation center point, and rotates the displayed text content and display tools in a certain direction by a certain angle value.

[0094] As can be seen from the above, in the embodiment of the present application, first, the electronic device determines the rotation direction and rotation angle of the electronic device by determining the first pen drop position, the second pen drop position, the first position and the second position; secondly, the electronic device determines the display content to be adjusted on the display screen according to the attribute information of the touch object and the attribute information of the display content; finally, the electronic device adjusts the display content to be adjusted on the display screen according to the direction and angle value. In this way, without adding hardware devices, the electronic device can determine the rotation angle and rotation direction of the electronic device through the touch position of the touch object and the center position of the contact surface, so that the display content to be adjusted is adjusted according to the rotation angle and rotation direction, thereby improving the intelligence of the electronic device and the interactive experience between the electronic device and the touch object.

[0095] The embodiment of the present application provides an information processing method, which is applied to an electronic device, referring to Figure 8 As shown, the method comprises the following steps:

[0096] Step 301: Acquire a first pen-falling position of a touch object on a display screen of an electronic device.

[0097] Step 302: Obtain a first position on the contact surface between the palm and the display screen.

[0098] Step 303: Obtain a reference position on the contact surface whose distance from the first pen-falling position satisfies a first distance and whose distance from the first position satisfies a second distance.

[0099] The first position is the position of the center point of the contact surface.

[0100] In the embodiment of the present application, the reference position is a position on the contact surface where the distance from the first pen-falling position satisfies the first distance, and the distance from the first position satisfies the second distance. Exemplarily, the reference position may be the position where a point formed by a straight line passing through the first position in the vertical direction in the two-dimensional space intersects with the edge contour of the contact surface, and the distance between the point and the first pen-falling position in the vertical direction in the two-dimensional space is the shortest.

[0101] In an embodiment of the present application, after the electronic device obtains the first pen-falling position of the touch object on the display screen of the electronic device and obtains the first position on the contact surface between the palm and the display screen, the distance between the contact surface and the first pen-falling position satisfies the first distance, and the distance between the contact surface and the position where the center point of the contact surface is located satisfies the second distance. Reference position.

[0102] Step 304: Acquire a fourth position relationship between the first pen-falling position and the first position, and a fifth position relationship between the first pen-falling position and the reference position.

[0103] In an embodiment of the present application, the fourth position relationship may be a line relationship between the first pen placement position and the first position, or a distance relationship between the first pen placement position and the first position. Here, the present application does not make any specific limitation.

[0104] In an embodiment of the present application, the fifth position relationship may be a line relationship between the first pen-falling position and the reference position, or a distance relationship between the first pen-falling position and the reference position. The present application does not impose any specific limitation thereto.

[0105] Step 305: Based on the fourth position relationship and the fifth position relationship, adjust the display parameters of the display content input by the touch object on the display screen.

[0106] The display parameters of the displayed content include the strokes of the displayed content.

[0107] In the embodiment of the present application, the type of the pen of the touch object can be a writing brush type. After the electronic device obtains the fourth position relationship between the first pen-drop position and the first position, and the fifth position relationship between the first pen-drop position and the reference position, the pen stroke of the display content input by the touch object on the display screen is adjusted based on the determined fourth position relationship and fifth position relationship. In this way, without adding hardware equipment, the pen stroke of the display content input by the touch object on the display screen can be adjusted based on the first pen-drop position, the first position and the reference position, so that the user can write the text with the stylus to achieve a real presentation effect, which not only improves the intelligence of the electronic device, but also improves the interactive experience between the electronic device and the touch object.

[0108] In the embodiment of the present application, step 305 adjusts the display parameters of the display content input by the touch object on the display screen based on the fourth position relationship and the fifth position relationship, referring to Fig. 9 As shown, this can be achieved through the following steps:

[0109] Step 3051: Obtain the length of the long side of the contact surface.

[0110] The length of the long side of the contact surface may be understood as the distance between two points where a straight line formed by passing through the first position intersects with the edge contour of the contact surface in the vertical direction in the two-dimensional space.

[0111] Step 3052: If the fourth position relationship represents the third distance between the first pen-falling position and the first position, and the fifth position relationship represents the fourth distance between the first pen-falling position and the reference position in the vertical direction in the two-dimensional space, the third distance, the fourth distance and the length of the long side of the contact surface are input into the angle model to obtain the target inclination angle between the touch object and the display screen output by the angle model.

[0112] In the embodiment of the present application, the expression corresponding to the angle model is:

[0113]

[0114] Wherein, θ is the target inclination angle, l is the length of the long side of the contact surface, d is the third distance, and y is the fourth distance.

[0115] In an embodiment of the present application, the target inclination angle is the angle value formed between the touch object and the display screen. Here, the electronic device can present the effect of a pen stroke on the display content input by the touch object, such as handwriting, based on the target inclination angle between the touch object and the display screen.

[0116] In an embodiment of the present application, after the electronic device obtains the length of the long side of the contact surface, it determines the third distance between the first pen-falling position and the first position, and the fourth distance between the first pen-falling position and the reference position in the vertical direction in two-dimensional space, and inputs the third distance, the fourth distance and the length of the long side of the contact surface into the angle model to obtain the target inclination angle between the touch object and the display screen output by the angle model, so that the electronic device can present the effect of a pen stroke for the display content input by the touch object, such as handwriting, according to the target inclination angle between the touch object and the display screen.

[0117] Step 3053: adjust the stroke of the touch object inputting the display content on the display screen based on the target inclination angle.

[0118] In an embodiment of the present application, the third distance, the fourth distance and the length of the long side of the contact surface of the electronic device are input into the angle model. After obtaining the target inclination angle between the touch object and the display screen output by the angle model, the pen stroke of the display content input by the touch object on the display screen is adjusted based on the determined target inclination angle.

[0119] In some embodiments, when the touch object does not write text on the display screen, that is, when the touch object lifts the pen, the electronic device adjusts the pen stroke of the touch object inputting the displayed content on the display screen based on the target inclination angle. In this way, the user can quickly see the real effect of the text written based on his own writing method.

[0120] In actual application scenarios, when the touch object is a stylus, when the user's left or right hand writes text on the display screen with the stylus, first, the electronic device obtains the first pen-falling position of the stylus and the position of the center point of the contact surface between the palm and the display screen, and determines the third distance d between the first pen-falling position and the position of the center point based on the first pen-falling position and the position of the center point. Secondly, the electronic device determines the position of the point on the contact surface that is closest to the first pen-falling position in the vertical direction in two-dimensional space as the reference position, and obtains the fourth distance y between the reference position and the first pen-falling position in the vertical direction in two-dimensional space. It should be noted that in the process of the user writing text on the display screen with the stylus, the third distance d, the fourth distance y and the inclination angle between the stylus and the display screen are in a dynamic change state. Thirdly, the electronic device obtains the length l of the long side of the contact surface. Then, the third distance d, the fourth distance y and the length l of the long side of the contact surface of the electronic device are input into the angle model to obtain the target inclination angle between the stylus and the display screen when the user writes each word. The electronic device presents the effect of the pen stroke for the handwriting of the word corresponding to each target inclination angle.

[0121] By angle model It can be seen that, when the fourth distance y and the length l of the long side of the contact surface are determined, the larger the third distance d is, that is, the larger the palm contact surface is, the smaller the target inclination angle between the stylus pen and the display screen is; when the third distance d and the length l of the long side of the contact surface are determined, the smaller the fourth distance y is, the larger the target inclination angle between the stylus pen and the display screen is. In this way, without adding hardware equipment, the handwriting input by the touch object can be presented with the effect of the pen tip according to the target inclination angle, thereby improving the intelligence of the electronic device and the interactive experience between the electronic device and the touch object.

[0122] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0123] The embodiment of the present application provides an information processing device, which can be applied to Figures 1 to 4 In an information processing method provided in the embodiments corresponding to 8 to 9, referring to Fig.10 As shown, the information processing device 10 includes:

[0124] An acquisition module 1001 is used to acquire a first pen drop position of a touch object on a display screen of an electronic device;

[0125] The acquisition module 1001 is further used to acquire a first position on the contact surface between the palm and the display screen;

[0126] The processing module 1002 is used to adjust display parameters of at least part of the displayed content on the display screen based on the first pen-falling position and the first position.

[0127] In other embodiments of the present application, the acquisition module 1001 is further used to obtain a second pen-falling position of the touch object on the display screen, and a second position on the contact surface between the palm and the display screen; to obtain a first position relationship between the first pen-falling position and the first position, a second position relationship between the second pen-falling position and the second position, and a third position relationship between the first pen-falling position and the second pen-falling position; the processing module 1002 is further used to adjust display parameters of at least part of the display content on the display screen based on the first position relationship, the second position relationship and the third position relationship.

[0128] In other embodiments of the present application, the acquisition module 1001 is also used to obtain the angle value corresponding to the angle between the first straight line and the second straight line in a figure enclosed by the first straight line, the second straight line and the third straight line if the first position relationship represents a first straight line connecting the first pen-falling position and the first position, the second position relationship represents a second straight line connecting the second pen-falling position and the second position, and the third position relationship represents a third straight line connecting the first pen-falling position and the second pen-falling position; obtain the direction from the first pen-falling position to the second pen-falling position on the third straight line; the processing module 1002 is also used to adjust the display parameters of at least part of the display content on the display screen based on the angle value and the direction.

[0129] In other embodiments of the present application, the acquisition module 1001 is also used to obtain the first attribute information of the touch object and the second attribute information of the display content; the processing module 1002 is also used to determine the display content to be adjusted on the display screen based on the first attribute information and the second attribute information; using the rotation reference point on the display content as the rotation center point, and the rotation reference position on the display content as the rotation starting position, and rotating the angle value along the direction.

[0130] In other embodiments of the present application, the acquisition module 1001 is further used to acquire a reference position on the contact surface whose distance from the first pen-falling position satisfies a first distance and whose distance from the first position satisfies a second distance, wherein the first position is the position where the center point of the contact surface is located; to acquire a fourth position relationship between the first pen-falling position and the first position, and a fifth position relationship between the first pen-falling position and the reference position; the processing module 1002 is further used to adjust display parameters of display content input by the touch object on the display screen based on the fourth position relationship and the fifth position relationship, wherein the display parameters of the display content include the pen stroke of the display content.

[0131] In other embodiments of the present application, the acquisition module 1001 is also used to acquire the length of the long side of the contact surface; the processing module 1002 is also used to input the third distance, the fourth distance and the length of the long side of the contact surface into the angle model if the fourth position relationship represents a third distance between the first pen-falling position and the first position, and the fifth position relationship represents a fourth distance in the vertical direction between the first pen-falling position and the reference position in the two-dimensional space, to obtain the target inclination angle between the touch object and the display screen output by the angle model; and adjust the pen stroke of the display content input by the touch object on the display screen based on the target inclination angle.

[0132] In other embodiments of the present application, the expressions corresponding to the angle models include:

[0133]

[0134] Wherein, θ is the target inclination angle, l is the length of the long side of the contact surface, d is the third distance, and y is the fourth distance.

[0135] The embodiment of the present application provides an electronic device, which can be applied to Figures 1 to 4 In an information processing method provided in the embodiments corresponding to 8 to 9, referring to Fig.11 As shown, the electronic device 11 includes: a processor 1101, a memory 1102 and a communication bus 1103, wherein:

[0136] The communication bus 1103 is used to implement the communication connection between the processor 1101 and the memory 1102 .

[0137] The processor 1101 is used to execute the information processing program stored in the memory 1102 to implement the following steps:

[0138] Acquire a first pen drop position of a touch object on a display screen of an electronic device;

[0139] Obtaining a first position on the contact surface between the palm and the display screen;

[0140] Based on the first pen-fall position and the first position, display parameters of at least a portion of the displayed content on the display screen are adjusted.

[0141] In other embodiments of the present application, the processor 1101 is used to execute the information processing program stored in the memory 1102 to implement the following steps:

[0142] Obtain a second pen-drop position of the touch object on the display screen, and a second position on the contact surface between the palm and the display screen; obtain a first position relationship between the first pen-drop position and the first position, a second position relationship between the second pen-drop position and the second position, and a third position relationship between the first pen-drop position and the second pen-drop position; based on the first position relationship, the second position relationship and the third position relationship, adjust display parameters of at least part of the display content on the display screen.

[0143] In other embodiments of the present application, the processor 1101 is used to execute the information processing program stored in the memory 1102 to implement the following steps:

[0144] If the first position relationship represents a first straight line connecting the first pen-drop position and the first position, the second position relationship represents a second straight line connecting the second pen-drop position and the second position, and the third position relationship represents a third straight line connecting the first pen-drop position and the second pen-drop position, obtain the angle value corresponding to the angle between the first straight line and the second straight line in a figure surrounded by the first straight line, the second straight line and the third straight line; obtain the direction from the first pen-drop position to the second pen-drop position on the third straight line; and adjust the display parameters of at least part of the display content on the display screen based on the angle value and the direction.

[0145] In other embodiments of the present application, the processor 1101 is used to execute the information processing program stored in the memory 1102 to implement the following steps:

[0146] Obtain first attribute information of the touch object and second attribute information of the display content; determine the display content to be adjusted on the display screen based on the first attribute information and the second attribute information; use the rotation reference point on the display content as the rotation center point, use the rotation reference position on the display content as the rotation starting position, and rotate along the direction by an angle value.

[0147] In other embodiments of the present application, the processor 1101 is used to execute the information processing program stored in the memory 1102 to implement the following steps:

[0148] Obtain a reference position on the contact surface whose distance from the first pen-dropping position satisfies a first distance and whose distance from the first position satisfies a second distance, wherein the first position is the position where the center point of the contact surface is located; obtain a fourth position relationship between the first pen-dropping position and the first position, and a fifth position relationship between the first pen-dropping position and the reference position; based on the fourth position relationship and the fifth position relationship, adjust display parameters of display content input by the touch object on the display screen, wherein the display parameters of the display content include the pen stroke of the display content.

[0149] In other embodiments of the present application, the processor 1101 is used to execute the information processing program stored in the memory 1102 to implement the following steps:

[0150] Obtain the length of the long side of the contact surface; if the fourth position relationship represents the third distance between the first pen-falling position and the first position, and the fifth position relationship represents the fourth distance between the first pen-falling position and the reference position in the vertical direction in the two-dimensional space, input the third distance, the fourth distance and the length of the long side of the contact surface into the angle model to obtain the target inclination angle between the touch object and the display screen output by the angle model; adjust the pen stroke of the display content input by the touch object on the display screen based on the target inclination angle.

[0151] In other embodiments of the present application, the expressions corresponding to the angle models include:

[0152]

[0153] Wherein, θ is the target inclination angle, l is the length of the long side of the contact surface, d is the third distance, and y is the fourth distance.

[0154] The method provided in the embodiment of the present application can be directly embodied as a combination of software modules executed by the processor 1101. The software module can be located in a storage medium, and the storage medium is located in the memory 1102. The processor 1101 reads the executable instructions included in the software module in the memory 1102, and completes the method provided in the embodiment of the present application in combination with the necessary hardware.

[0155] As an example, processor 1101 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0156] It should be noted that the specific implementation process of the steps executed by the processor in this embodiment can refer to Figures 1 to 4The implementation process of the information processing method provided in the embodiments corresponding to 8 to 9 will not be repeated here.

[0157] An embodiment of the present application provides a storage medium storing one or more programs, which can be executed by one or more processors to implement Figures 1 to 4 The implementation process of the information processing method provided in the embodiments corresponding to 8 to 9 will not be repeated here.

[0158] The embodiment of the present application provides a storage medium, which obtains a first pen-falling position of a touch object on a display screen of an electronic device; obtains a first position on a contact surface between a palm part and the display screen; and adjusts display parameters of at least part of the display content on the display screen based on the first pen-falling position and the first position; in this way, the electronic device adjusts display parameters of at least part of the display content on the display screen based on the first pen-falling position of the touch object on the display screen and the first position on the contact surface between the palm part and the display screen, thereby solving the problem that when adjusting the display parameters of the display content, the current electronic device can only make changes from the setting parameters of the display content, resulting in a poor display effect of the electronic device, and realizes flexible adjustment of the display parameters of the display content, and ensures that the display effect presented by the adjusted display content better matches the pen-falling position of the touch object on the display screen, thereby improving the intelligence level of the electronic device and the interactive experience between the electronic device and the touch object without the need to increase hardware devices.

[0159] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0160] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0161] It should be understood that the "one embodiment" or "an embodiment" or "an embodiment of the present application" or "the aforementioned embodiment" or "some embodiments" or "some implementation methods" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" or "an embodiment of the present application" or "the aforementioned embodiment" or "some embodiments" or "some implementation methods" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0162] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0163] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0164] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0165] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0166] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0167] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0168] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0169] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0170] It is worth noting that the drawings in the embodiments of the present application are only for illustrating the schematic positions of various components on the terminal device and do not represent the actual positions in the terminal device. The actual positions of various components or areas may be changed or offset accordingly according to actual conditions (for example, the structure of the terminal device), and the proportions of different parts of the terminal device in the drawings do not represent the actual proportions.

[0171] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An information processing method, the method comprising: Acquire a first pen drop position of a touch object on a display screen of an electronic device; Acquire a first position on a contact surface between a palm and the display screen; Based on the first pen-down position and the first position, display parameters of display content input by the pen-down on the display screen are adjusted.

2. The method according to claim 1, before obtaining the first pen drop position of the touch object on the display screen of the electronic device, the method further comprises: Acquire a second pen drop position of the touch object on the display screen, and a second position on the contact surface between the palm and the display screen; Correspondingly, adjusting display parameters of the display content input by the pen on the display screen based on the first pen-down position and the first position includes: Acquire a first position relationship between the first pen-falling position and the first position, a second position relationship between the second pen-falling position and the second position, and a third position relationship between the first pen-falling position and the second pen-falling position; Based on the first positional relationship, the second positional relationship and the third positional relationship, the display content input on the display screen is rotated along a rotation reference position of the display content with the center position of the display screen as a rotation center point.

3. The method according to claim 2, wherein adjusting display parameters of at least part of the displayed content on the display screen based on the first position relationship, the second position relationship, and the third position relationship comprises: If the first position relationship represents a first straight line connecting the first pen-falling position and the first position, the second position relationship represents a second straight line connecting the second pen-falling position and the second position, and the third position relationship represents a third straight line connecting the first pen-falling position and the second pen-falling position, obtain an angle value corresponding to the angle between the first straight line and the second straight line in a figure enclosed by the first straight line, the second straight line, and the third straight line; Acquire a direction from the first pen-dropping position to the second pen-dropping position on the third straight line; Based on the angle value and the direction, display parameters of at least a portion of the displayed content on the display screen are adjusted.

4. The method according to claim 3, wherein adjusting display parameters of at least part of the displayed content on the display screen based on the angle value and the direction comprises: Acquiring first attribute information of the touch object and second attribute information of the display content; Determining the display content to be adjusted on the display screen based on the first attribute information and the second attribute information; The angle value is rotated along the direction using a rotation reference point on the display content as a rotation center point and a rotation reference position on the display content as a rotation start position.

5. The method according to claim 1, wherein adjusting display parameters of the display content input by the pen on the display screen based on the first pen-down position and the first position comprises: Acquire a reference position on the contact surface whose distance from the first pen-falling position satisfies a first distance and whose distance from the first position satisfies a second distance, wherein the first position is the position where the center point of the contact surface is located; Acquire a fourth position relationship between the first pen-falling position and the first position, and a fifth position relationship between the first pen-falling position and the reference position; Based on the fourth position relationship and the fifth position relationship, the display parameters of the display content input by the touch object on the display screen are presented as display parameters corresponding to the target inclination angle between the touch object and the display screen, wherein the display parameters of the display content include the pen stroke of the display content.

6. The method according to claim 5, wherein adjusting the display parameters of the display content input by the touch object on the display screen based on the fourth position relationship and the fifth position relationship comprises: Obtaining the length of the long side of the contact surface; If the fourth position relationship represents a third distance between the first pen-falling position and the first position, and the fifth position relationship represents a fourth distance between the first pen-falling position and the reference position in the vertical direction in the two-dimensional space, the third distance, the fourth distance and the length of the long side of the contact surface are input into an angle model to obtain a target inclination angle between the touch object and the display screen output by the angle model; The stroke of the display content input by the touch object on the display screen is adjusted based on the target inclination angle.

7. According to the method of claim 6, the expression corresponding to the angle model comprises: Among them, θ is the target inclination angle, l is the length of the long side of the contact surface, d is the third distance, and y is the fourth distance.

8. An information processing device, characterized in that: The information processing device comprises: An acquisition module, used to acquire a first pen drop position of a touch object on a display screen of an electronic device; The acquisition module is further used to acquire a first position on a contact surface between a palm and the display screen; A processing module is used to adjust display parameters of display content input by the pen on the display screen based on the first pen-down position and the first position.

9. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable instructions; A processor, configured to execute the executable instructions stored in the memory to implement the information processing method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the information processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Touch track display method and electronic device

    CN105786373A

  • Touch display system, touch display method, stylus and medium

    CN112631445A

  • Method of providing touch effect and electronic device therefor

    US20140104207A1