CN112269481A - Method and device for controlling friction force adjustment and electronic equipment - Google Patents

Method and device for controlling friction force adjustment and electronic equipment Download PDF

Info

Publication number
CN112269481A
CN112269481A CN202011163278.2A CN202011163278A CN112269481A CN 112269481 A CN112269481 A CN 112269481A CN 202011163278 A CN202011163278 A CN 202011163278A CN 112269481 A CN112269481 A CN 112269481A
Authority
CN
China
Prior art keywords
writing
target
stroke
writing pen
deviation angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011163278.2A
Other languages
Chinese (zh)
Inventor
张育端
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202011163278.2A priority Critical patent/CN112269481A/en
Publication of CN112269481A publication Critical patent/CN112269481A/en
Pending legal-status Critical Current

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/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/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard

Abstract

The application discloses a method and a device for controlling friction force adjustment and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: after entering a copying writing mode, acquiring a currently copied target character and a sliding track of a writing pen on a screen; acquiring a deviation angle between the sliding track and a target stroke in the target character; and controlling the adjustment of the friction force between the writing pen and the screen according to the deviation angle. According to the method and the device, the user can actively guide in the calligraphy practicing process, and then the writing practicing efficiency and the writing interest of the user can be improved.

Description

Method and device for controlling friction force adjustment and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for controlling friction adjustment and electronic equipment.
Background
With the continuous science and technology, electronic devices (such as mobile phones, tablet computers and the like) have gradually become an indispensable tool in the life and work of people.
In daily life, more and more users use electronic equipment to write exercises, and current electronic writing mode is only as the mode of text input, and in the aspect of user's writing exercise, mostly just carry out autonomic writing exercise based on having had calligraphy stroke reference, but because the material difference of touch screen and paper, can't let the user experience that can experience the reality and write, lead to user's writing enthusiasm to constantly reduce, write inefficiency.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for controlling friction adjustment, and an electronic device, which can solve the problem that the existing electronic device cannot provide an effective feedback to a user when the user writes.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for controlling friction adjustment, where the method includes:
after entering a copying writing mode, acquiring a currently copied target character and a sliding track of a writing pen on a screen;
acquiring a deviation angle between the sliding track and a target stroke in the target character;
and controlling the adjustment of the friction force between the writing pen and the screen according to the deviation angle.
In a second aspect, an embodiment of the present application provides an apparatus for controlling friction adjustment, including:
the target character acquisition module is used for acquiring the current copied target characters and the sliding track of the writing pen on the screen after entering the copying writing mode;
the deviation angle acquisition module is used for acquiring a deviation angle between the sliding track and a target stroke in the target character;
and the friction force adjusting module is used for controlling the adjustment of the friction force between the writing pen and the screen according to the deviation angle.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method for controlling friction adjustment according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method for controlling friction adjustment according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method for controlling friction adjustment according to the first aspect.
In the embodiment of the application, after entering the copying writing mode, the target character which is copied currently and the sliding track of the writing pen on the screen are obtained, the deviation angle between the sliding direction of the writing pen at the future specified time and the target stroke in the target character is determined according to the sliding track, and the friction force between the writing pen and the screen is controlled to be adjusted according to the deviation angle. According to the handwriting exercise method and device, the friction treatment between the writing pen and the touch screen is controlled, active guidance is conducted on the user in the handwriting exercise process, an effective writing feedback can be timely provided for the user, and therefore the writing exercise efficiency of the user and the writing interest of the user can be improved.
Drawings
FIG. 1 is a flow chart illustrating steps of a method for controlling friction adjustment according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a writing pen provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of an embodiment of the present application illustrating a writing mode;
fig. 4 is a schematic diagram of a sliding track provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of an embodiment of the present application for adjusting friction;
FIG. 6 is a schematic structural diagram of an apparatus for controlling friction adjustment according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The writing practice method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of a method for controlling friction adjustment provided in an embodiment of the present application is shown, and as shown in fig. 1, the method for controlling friction adjustment may specifically include the following steps:
step 101: after entering a copying writing mode, acquiring the currently copied target characters and the sliding track of the writing pen on the screen.
The embodiment of the application can be applied to a scene of adjusting the friction force between the writing pen and the screen according to the writing track of the user.
The following describes in detail the writing pen provided by the embodiment of the present application with reference to fig. 2.
Referring to fig. 2, a schematic diagram of a writing pen provided by an embodiment of the present application is shown, and as shown in fig. 2, the writing pen may include: the pen nib friction processing module comprises a mode control module, a receiving processing module, a pressure module and a pen nib friction processing module.
The mode control module can be used for controlling the current writing mode of the writing pen, and the writing mode can comprise a copying writing mode and a free writing mode.
The receiving processing module may be configured to receive information sent by the touch-input electronic device and perform corresponding logic processing.
The pressure module can be used to generate different degrees of pressure vibration friction for the position where the finger holds the stylus.
The pen point friction processing module can be used for changing the friction force which is generated in different directions and different sizes with the touch input screen through the adjustment of the pen point thickness part.
When the user need copy and write, can write the adjustment of mode through the mode control module realization of control on the pen to get into and copy and write the mode, as shown in fig. 3, write the application through the relevant on the electronic product of clicking electronic equipment, and the button on rotatory touch-control pen top, with its freeze on the state gear of writing, open and copy and write the exercise mode.
After entering the writing mode, the target characters currently copied by the user and the sliding track of the writing pen on the screen can be obtained, as shown in fig. 4, the target characters currently copied by the user are "big", and the track written by the user on the big characters is the sliding track of the writing pen on the screen.
Of course, in this embodiment, after the target text is displayed, each stroke may be highlighted according to the writing sequence of each stroke of the target text to prompt the user of the correct writing sequence, and specifically, the detailed description may be combined with the following specific implementation manner.
In a specific implementation manner of the present application, after obtaining the currently copied target text, the method may further include:
step A1: and determining the writing sequence of each character stroke in the target character according to the character structure of the target character.
In this embodiment, after the target text is obtained, the writing order of each character stroke in the target text may be determined according to the text structure of the target text.
After the writing order of the strokes of the characters in the target character is determined, step A2 is performed.
Step A2: and highlighting each character stroke in sequence based on the writing sequence.
After the writing sequence of each character stroke in the target character is obtained, highlighting of each character stroke can be performed according to the writing sequence so as to prompt a user of a correct writing sequence of the target character, specifically, the copy character can be displayed on a screen of touch input, and the user is guided to use the writing pen to perform calligraphy copying exercise through gradual highlighting of the strokes.
After the target character to be copied and the sliding track of the writing pen on the screen are obtained, step 102 is executed.
Step 102: and acquiring a deviation angle between the sliding track and a target stroke in the target character.
The target stroke refers to the stroke of the target character currently being written by the user, and as shown in fig. 4, the target stroke of the "target character" currently being written by the user is "one".
After the sliding track is obtained, the deviation angle between the sliding track and the target stroke in the target character can be obtained, as shown in fig. 4, the target stroke is a stroke of 180 ° horizontally, and the deviation angle between the sliding track and the target stroke is the included angle shown in fig. 4.
After the sliding track of the writing pen on the screen is obtained, the deviation angle between the sliding track and the target stroke of the target character can be calculated by combining the sliding track and the target stroke. In particular, the detailed description may be combined with the following specific implementations.
In another specific implementation manner of the present application, the step 102 may include:
substep B1: and acquiring the sliding direction of the writing pen at the appointed time according to the sliding track.
In the present embodiment, the specified time refers to a time in the future set in advance.
After the sliding track of the writing pen on the screen is obtained, the sliding direction of the writing pen at the specified time can be obtained according to the sliding track, specifically, the writing trend of the writing pen can be determined according to the sliding track, and in combination with the writing trend, the sliding direction of the writing pen at the specified time can be obtained, and then, sub-step B2 is performed.
Substep B2: and acquiring the stroke direction corresponding to the target stroke according to the target stroke.
Stroke direction refers to the direction in which the target stroke was written.
After obtaining the target stroke of the target character that the user is copying currently, the stroke direction of the target stroke may be determined according to the target stroke, and then sub-step B3 is performed.
Substep B3: and calculating to obtain a deviation angle between the sliding direction and the stroke direction.
After the sliding direction and the stroke direction are acquired, a deviation angle between the sliding direction and the stroke direction can be calculated.
After obtaining the deviation angle between the sliding track and the target stroke in the target text, step 103 is executed.
Step 103: and controlling the adjustment of the friction force between the writing pen and the screen according to the deviation angle.
After acquiring the deviation angle between the sliding track and the target stroke in the target character, the adjustment of the friction force between the writing pen and the screen can be controlled according to the deviation angle, specifically, the current adjustment indication information corresponding to the writing pen can be generated according to the deviation angle, and the current adjustment indication information is sent to the writing pen, so that the current of the pen point and the screen can be adjusted by a pen point friction processing module in the writing pen, the sliding friction force of the touch pen to the screen in different directions can be realized, the resistance in different directions can be controlled, and a user is guided to control the touch pen to slide in the same direction as the strokes of the copy font. The screen can also generate different currents at corresponding positions so as to adjust sliding friction force of the touch pen on the screen in different directions, thereby controlling resistance in different directions and guiding a user to control the touch pen to slide in the same direction of strokes of the copy font.
According to the handwriting exercise method and device, the user is actively guided in the handwriting exercise process by controlling the friction treatment between the writing pen and the touch screen, an effective writing feedback can be timely provided for the user, and then the writing exercise efficiency of the user and the writing interest of the user can be improved.
In this embodiment, the strength required by the written characters can be combined, when the writing strength of the user is insufficient or too large, the user is timely reminded, and specifically, detailed description can be performed by combining the following specific implementation modes.
In another specific implementation manner of the present application, the method may further include:
step C1: and acquiring the touch position of the writing pen on the screen corresponding to the target characters and the touch pressure of the writing pen.
In this embodiment, the touch position refers to a position where a pen point of the writing pen contacts with a target character on a screen when a user performs copying writing.
The touch pressure refers to the pressure generated between the pen point of the writing pen and the screen when the user performs copy writing.
When a user performs copying writing, the touch position of the writing pen on the screen corresponding to the target character and the touch pressure of the writing pen can be acquired.
After the touch position and the touch pressure are obtained, step C2 is executed.
Step C2: and determining target touch pressure according to the touch position.
The target touch pressure refers to touch pressure corresponding to a touch position, that is, a stroke position of a target character written by a user can be determined according to the touch position, and the touch pressure required to be applied at the position, that is, hand force required by the user to write the stroke position, can be acquired by combining the stroke position.
After the target touch pressure is determined according to the touch position, step C3 is performed.
Step C3: and generating writing force indication information under the condition that the pressure difference value between the touch pressure and the target touch pressure is out of a pressure threshold range.
After the touch pressure and the target touch pressure are obtained, a pressure difference value between the touch pressure and the target touch pressure can be calculated, and whether the pressure difference value is within a pressure threshold range or not can be judged.
In the case that the pressure difference value is within the pressure threshold range, it indicates that the force used by the user is appropriate, and no prompt is required.
And under the condition that this pressure difference value lies in outside the pressure threshold value scope, can generate writing dynamics indicating information to the suggestion user carries out the adjustment of writing dynamics, for example, according to the stroke dynamics information of resolving the copy typeface in advance, the screen will be according to the current stroke progress of touch-control pen, transmit dynamics information for the writing pen in real time, the writing pen obtains the dynamics size that the user used at present according to pressure sensor, the processing produces corresponding vibration, make the user experience different pressure touch, thereby guide the user to use the dynamics of variation in size in different stroke positions.
In this embodiment, when the user writes freely, the writing pen records the corresponding strength through the pressure sensing module, and provides different strength suggestions for the user according to the previously stored stroke strength data to write a more beautiful font style.
According to the method for controlling friction force adjustment, after the copying writing mode is entered, the current copied target characters and the sliding track of the writing pen on the screen are obtained, the deviation angle between the sliding direction of the writing pen at the future designated moment and the target strokes in the target characters is determined according to the sliding track, and the friction force adjustment between the writing pen and the screen is controlled according to the deviation angle. According to the handwriting exercise method and device, the friction treatment between the writing pen and the touch screen is controlled, active guidance is conducted on the user in the handwriting exercise process, an effective writing feedback can be timely provided for the user, and therefore the writing exercise efficiency of the user and the writing interest of the user can be improved.
It should be noted that, in the method for controlling friction adjustment provided in the embodiment of the present application, the execution main body may be a device for controlling friction adjustment, or a control module in the device for controlling friction adjustment, which is used for executing the method for controlling friction adjustment. In the embodiment of the present application, a method for executing a friction adjustment control by a friction adjustment control device is taken as an example, and the friction adjustment control device provided in the embodiment of the present application is described.
Referring to fig. 6, a schematic structural diagram of an apparatus for controlling friction adjustment provided in an embodiment of the present application is shown, and as shown in fig. 6, the apparatus 600 for controlling friction adjustment may specifically include the following modules:
the target character acquisition module 610 is configured to acquire a currently copied target character and a sliding track of a writing pen on a screen after entering a copying writing mode;
a deviation angle obtaining module 620, configured to obtain a deviation angle between the sliding track and a target stroke in the target text;
a friction adjusting module 630, configured to control friction adjustment between the writing pen and the screen according to the deviation angle.
Optionally, the method further comprises:
the writing sequence determining module is used for determining the writing sequence of each character stroke in the target character according to the character structure of the target character;
and the stroke highlighting module is used for highlighting each character stroke in sequence based on the writing sequence.
Optionally, the deviation angle obtaining module 620 includes:
the sliding direction obtaining unit is used for obtaining the sliding direction of the writing pen at the specified time according to the sliding track;
the stroke direction obtaining unit is used for obtaining the stroke direction corresponding to the target stroke according to the target stroke;
and the deviation angle calculation unit is used for calculating and obtaining a deviation angle between the sliding direction and the stroke direction.
Optionally, the friction force adjusting module 630 includes:
the current indication information generating unit is used for generating current adjustment indication information corresponding to the writing pen according to the deviation angle;
and the current indication information sending unit is used for sending the current adjustment indication information to the writing pen so as to adjust the current adjustment between the writing end of the writing pen and the screen by the writing pen according to the current control indication information.
Optionally, the apparatus further comprises:
the touch pressure acquisition module is used for acquiring a touch position of the writing pen on the screen, which corresponds to the target character, and the touch pressure of the writing pen;
the target pressure determining module is used for determining target touch pressure according to the touch position;
and the force indicating information generating module is used for generating writing force indicating information under the condition that the pressure difference value between the touch pressure and the target touch pressure is out of a pressure threshold range.
The device of control frictional force adjustment that this application embodiment provided obtains the target characters of copying at present through after getting into the copying mode of writing, and the slip orbit of writing pen at the screen, confirms the deviation angle between the slip direction of writing pen at future appointed moment and the target stroke in the target characters according to the slip orbit, according to the deviation angle, controls the frictional force adjustment between writing pen and the screen. According to the handwriting exercise method and device, the friction treatment between the writing pen and the touch screen is controlled, active guidance is conducted on the user in the handwriting exercise process, an effective writing feedback can be timely provided for the user, and therefore the writing exercise efficiency of the user and the writing interest of the user can be improved.
The device for controlling the adjustment of the friction force in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The device for controlling the adjustment of the friction force 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, and embodiments of the present application are not limited specifically.
The device for controlling friction adjustment provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the above method for controlling friction adjustment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 810 is configured to, after entering a copying writing mode, obtain a currently copied target character and a sliding track of a writing pen on a screen; acquiring a deviation angle between the sliding track and a target stroke in the target character; and controlling the adjustment of the friction force between the writing pen and the screen according to the deviation angle.
According to the handwriting exercise method and device, the friction treatment between the writing pen and the touch screen is controlled, active guidance is conducted on the user in the handwriting exercise process, an effective writing feedback can be timely provided for the user, and therefore the writing exercise efficiency of the user and the writing interest of the user can be improved.
Optionally, the processor 810 is further configured to determine, according to the text structure of the target text, a writing order of each text stroke in the target text; and highlighting each character stroke in sequence based on the writing sequence.
Optionally, the processor 810 is further configured to obtain a sliding direction of the writing pen at a specified time according to the sliding track; acquiring a stroke direction corresponding to the target stroke according to the target stroke; and calculating to obtain a deviation angle between the sliding direction and the stroke direction.
Optionally, the processor 810 is further configured to generate current adjustment indication information corresponding to the writing pen according to the deviation angle; and sending the current adjustment indication information to the writing pen so that the writing pen controls the current adjustment between the writing end of the writing pen and the screen according to the current adjustment indication information.
Optionally, the processor 810 is further configured to obtain a touch position of the stylus pen on the screen corresponding to the target text, and a touch pressure of the stylus pen; determining target touch pressure according to the touch position; and generating writing force indication information under the condition that the pressure difference value between the touch pressure and the target touch pressure is out of a pressure threshold range.
According to the embodiment of the application, the indication of the writing strength of the user can be realized according to the strokes of the copied characters and the writing strength of the user, and the writing interest of the user can be further improved.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above method for controlling friction adjustment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the method for controlling friction adjustment, and the same technical effect can be achieved, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method of controlling a friction adjustment, comprising:
after entering a copying writing mode, acquiring a currently copied target character and a sliding track of a writing pen on a screen;
acquiring a deviation angle between the sliding track and a target stroke in the target character;
and controlling the adjustment of the friction force between the writing pen and the screen according to the deviation angle.
2. The method of claim 1, further comprising, after the obtaining of the currently copied target text:
determining the writing sequence of each character stroke in the target character according to the character structure of the target character;
and highlighting each character stroke in sequence based on the writing sequence.
3. The method of claim 1, wherein obtaining a deviation angle between the sliding trajectory and a target stroke in the target text comprises:
acquiring the sliding direction of the writing pen at the appointed time according to the sliding track;
acquiring a stroke direction corresponding to the target stroke according to the target stroke;
and calculating to obtain a deviation angle between the sliding direction and the stroke direction.
4. The method of claim 1, wherein said controlling the adjustment of friction between the stylus and the screen according to the deviation angle comprises:
generating current adjustment indicating information corresponding to the writing pen according to the deviation angle;
and sending the current adjustment indication information to the writing pen so that the writing pen controls the current adjustment between the writing end of the writing pen and the screen according to the current adjustment indication information.
5. The method of claim 1, further comprising:
acquiring a touch position of the writing pen on the screen corresponding to the target character and touch pressure of the writing pen;
determining target touch pressure according to the touch position;
and generating writing force indication information under the condition that the pressure difference value between the touch pressure and the target touch pressure is out of a pressure threshold range.
6. An apparatus for controlling friction adjustment, comprising:
the target character acquisition module is used for acquiring the current copied target characters and the sliding track of the writing pen on the screen after entering the copying writing mode;
the deviation angle acquisition module is used for acquiring a deviation angle between the sliding track and a target stroke in the target character;
and the friction force adjusting module is used for controlling the adjustment of the friction force between the writing pen and the screen according to the deviation angle.
7. The apparatus of claim 6, further comprising:
the writing sequence determining module is used for determining the writing sequence of each character stroke in the target character according to the character structure of the target character;
and the stroke highlighting module is used for highlighting each character stroke in sequence based on the writing sequence.
8. The apparatus of claim 6, wherein the deviation angle obtaining module comprises:
the sliding direction obtaining unit is used for obtaining the sliding direction of the writing pen at the specified time according to the sliding track;
the stroke direction obtaining unit is used for obtaining the stroke direction corresponding to the target stroke according to the target stroke;
and the deviation angle calculation unit is used for calculating and obtaining a deviation angle between the sliding direction and the stroke direction.
9. The apparatus of claim 6, wherein the friction adjustment module comprises:
the current indication information generating unit is used for generating current adjustment indication information corresponding to the writing pen according to the deviation angle;
and the current indication information sending unit is used for sending the current adjustment indication information to the writing pen so that the writing pen controls the current adjustment between the writing end of the writing pen and the screen according to the current adjustment indication information.
10. The apparatus of claim 6, further comprising:
the touch pressure acquisition module is used for acquiring a touch position of the writing pen on the screen, which corresponds to the target character, and the touch pressure of the writing pen;
the target pressure determining module is used for determining target touch pressure according to the touch position;
and the force indicating information generating module is used for generating writing force indicating information under the condition that the pressure difference value between the touch pressure and the target touch pressure is out of a pressure threshold range.
11. 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 method of controlling friction adjustment according to any one of claims 1-5.
CN202011163278.2A 2020-10-27 2020-10-27 Method and device for controlling friction force adjustment and electronic equipment Pending CN112269481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011163278.2A CN112269481A (en) 2020-10-27 2020-10-27 Method and device for controlling friction force adjustment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011163278.2A CN112269481A (en) 2020-10-27 2020-10-27 Method and device for controlling friction force adjustment and electronic equipment

Publications (1)

Publication Number Publication Date
CN112269481A true CN112269481A (en) 2021-01-26

Family

ID=74342896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011163278.2A Pending CN112269481A (en) 2020-10-27 2020-10-27 Method and device for controlling friction force adjustment and electronic equipment

Country Status (1)

Country Link
CN (1) CN112269481A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805785A (en) * 2021-11-19 2021-12-17 北京赢课信息科技有限公司 Data set processing method and system based on stroke strength adjustment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110000899A (en) * 2009-06-29 2011-01-06 광주과학기술원 Haptic book and haptic rendering method for training penmanship system and the recording media storing the program performing the said method
CN105818575A (en) * 2016-04-22 2016-08-03 广东小天才科技有限公司 Smart pen and stroke error correction method thereof
CN109118875A (en) * 2017-06-22 2019-01-01 厦门智汇权科技有限公司 Writing implement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110000899A (en) * 2009-06-29 2011-01-06 광주과학기술원 Haptic book and haptic rendering method for training penmanship system and the recording media storing the program performing the said method
CN105818575A (en) * 2016-04-22 2016-08-03 广东小天才科技有限公司 Smart pen and stroke error correction method thereof
CN109118875A (en) * 2017-06-22 2019-01-01 厦门智汇权科技有限公司 Writing implement

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805785A (en) * 2021-11-19 2021-12-17 北京赢课信息科技有限公司 Data set processing method and system based on stroke strength adjustment

Similar Documents

Publication Publication Date Title
US20220075933A1 (en) Device, method, and graphical user interface for editing screenshot images
US20200371676A1 (en) Device, Method, and Graphical User Interface for Providing and Interacting with a Virtual Drawing Aid
KR101755029B1 (en) Device, method, and graphical user interface for forgoing generation of tactile output for a multi-contact gesture
CN112204509A (en) Device, method and graphical user interface for an electronic device interacting with a stylus
KR20170140080A (en) Handwriting keyboard for screens
US11822780B2 (en) Devices, methods, and systems for performing content manipulation operations
CN110568965A (en) device and method for processing touch input on multiple areas of a touch-sensitive surface
US10416868B2 (en) Method and system for character insertion in a character string
US11216181B2 (en) Device, method, and graphical user interface for simulating and interacting with handwritten text
Cui et al. BackSwipe: Back-of-device word-gesture interaction on smartphones
US20160253042A1 (en) Display process apparatus, display process method, and non-transitory computer-readable recording medium
CN113703631A (en) Writing control method and device, electronic equipment and storage medium
CN112269481A (en) Method and device for controlling friction force adjustment and electronic equipment
CN103995585A (en) Gesture control device and method for display big wall
CN109416599B (en) Apparatus and method for processing touch input
CN113821138A (en) Prompting method and device and electronic equipment
CN113805753A (en) Character editing method and device and electronic equipment
CN102298465A (en) Method and device for implementing clicking and positioning operations of touch screen
Kang et al. An alternative method for smartphone input using AR markers
CN112219182A (en) Apparatus, method and graphical user interface for moving drawing objects
Kang et al. Improvement of smartphone interface using an AR marker
CN113407077A (en) Information extraction method and electronic equipment
CN113641275A (en) Interface control method and electronic equipment
CN114637454A (en) Input method, input device and input device
CN112306257A (en) Character deleting method and device and electronic equipment

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