Parameter adjustment method, parameter adjustment device and touch device
By receiving input or messages under the display parameter adjustment control and updating the touch pen parameters, the problem of complex operation in adjusting the touch pen color in the prior art is solved, and the user operation is simplified and the adjustment is fast.
Patent Information
- Application Number
- CN202111017985.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-31
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2041-11-21
AI Technical Summary
Adjusting the color of touch pen strokes in existing technologies is complicated and inconvenient to use.
By receiving input or messages from the touch device while the parameter adjustment controls are displayed, the control information of the parameter adjustment controls and the handwriting parameters of the touch pen are updated, simplifying user operation.
It enables quick adjustment of touch pen ink color, simplifying the user operation process.
Smart Images

Figure CN113703636B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of touch control, and particularly relates to a parameter adjustment method, a parameter adjustment device and a touch control device. BACKGROUND
[0002] A touch pen is a device for handwriting input on an electronic device. The prior art can adjust the touch pen trace color of the touch pen on the electronic device. However, the operation is relatively complex and inconvenient to use. SUMMARY
[0003] The embodiments of the present application provide a parameter adjustment method, a parameter adjustment device and a touch control device, and can solve the problem of complex operation when adjusting the touch pen trace color in the prior art.
[0004] In a first aspect, the embodiments of the present application provide a parameter adjustment method applied to a parameter adjustment device, and the method comprises the following steps.
[0005] In the case of displaying a parameter adjustment control, a first input is received, the first input comprising an input of the parameter adjustment control by a touch control device or a first message sent by the touch control device to the parameter adjustment device;
[0006] In response to the first input, control information of the parameter adjustment control and trace parameters of a touch pen trace are updated;
[0007] The touch pen trace is a touch pen trace of the touch control device, and the update of the trace parameters is associated with the update of the control information.
[0008] In a second aspect, the embodiments of the present application provide a parameter adjustment method applied to a touch control device, and the method comprises the following steps.
[0009] A second input to an active part of the touch control device is received;
[0010] In response to the second input, motion information of the active part is acquired;
[0011] A first message is sent to a parameter adjustment device, so that the parameter adjustment device updates control information of a parameter adjustment control and trace parameters of a touch pen trace according to the first message;
[0012] The first message comprises the motion information, the parameter adjustment control is a control displayed by the parameter adjustment device, the touch pen trace is a touch pen trace of the touch control device, and the update of the trace parameters is associated with the update of the control information.
[0013] In a third aspect, the embodiments of the present application provide a parameter adjustment device, and the device comprises the following steps.
[0014] The receiving module is configured to receive a first input in a case where a parameter adjustment control is displayed, the first input comprising an input of the parameter adjustment control by the touch device or a first message sent by the touch device to the parameter adjustment device;
[0015] The response module is configured to update control information of the parameter adjustment control and stroke parameters of a touch stroke in response to the first input.
[0016] The touch stroke is a touch stroke of the touch device, and the updating of the stroke parameters is associated with the updating of the control information.
[0017] In a fourth aspect, an embodiment of the present application provides a touch device, which comprises:
[0018] The receiving module is configured to receive a second input to an active part of the touch device.
[0019] The response module is configured to obtain motion information of the active part in response to the second input.
[0020] The sending module is configured to send a first message to a parameter adjustment device, so that the parameter adjustment device updates control information of a parameter adjustment control and stroke parameters of a touch stroke according to the first message.
[0021] The first message comprises the motion information, the parameter adjustment control is a control displayed by the parameter adjustment device, the touch stroke is a touch stroke of the touch device, and the updating of the stroke parameters is associated with the updating of the control information.
[0022] In a fifth aspect, an embodiment of the present application provides an electronic device, which comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the steps of the method according to the first aspect.
[0023] In a sixth aspect, an embodiment of the present application provides an electronic device, which comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the steps of the method according to the second aspect.
[0024] In a seventh aspect, an embodiment of the present application provides a readable storage medium, which stores a program or instruction, and the program or instruction is executed by a processor to implement the steps of the method according to the first aspect or the steps of the method according to the second aspect.
[0025] In an eighth aspect, an embodiment of the present application provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run programs or instructions to implement the method in the first aspect or the method in the second aspect.
[0026] In the embodiment of the present application, the first input is received in the case of the display parameter adjustment control, the first input comprises input of the parameter adjustment control by the touch device or a first message sent by the touch device to the parameter adjustment device; in response to the first input, the control information of the parameter adjustment control and the stroke parameter of the touch stroke are updated; the touch stroke is the touch stroke of the touch device, and the update of the stroke parameter is associated with the update of the control information. In the embodiment of the present application, the stroke parameter of the touch pen can be quickly adjusted by simple operation of the touch pen on the parameter adjustment control or sending of adjustment information (the first message) to the parameter adjustment device, and the user operation is simplified. BRIEF DESCRIPTION OF DRAWINGS
[0027] Figure 1 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application;
[0028] Figure 2 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application;
[0029] Figure 3 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application;
[0030] Figure 4 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application;
[0031] Figure 5 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application;
[0032] Figure 6 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application;
[0033] Figure 7 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application;
[0034] Figure 8 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application;
[0035] Figure 9 FIG. 1 is a flowchart of a parameter adjustment method provided by an embodiment of the present application; DETAILED DESCRIPTION
[0036] With reference to the drawings and embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art are within the scope of the present application.
[0037] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the objects before and after are in a "or" relationship.
[0038] The parameter adjustment method provided by the embodiments of the present application will be described in detail below with reference to the drawings, specific embodiments and application scenarios.
[0039] Figure 1 is a flowchart of the parameter adjustment method of the first embodiment of the present application. The parameter adjustment method of the present application can be executed by a parameter adjustment device, which can be arranged in a smart terminal, such as a smart phone, a tablet computer, a smart watch.
[0040] As shown in Figure 1 The parameter adjustment method of the present embodiment can include the following steps 1100-1200:
[0041] Step 1100, in the case of displaying a parameter adjustment control, receiving a first input, the first input including an input of the parameter adjustment control by a touch device, or a first message sent by the touch device to the parameter adjustment device.
[0042] In this embodiment, before this step, the parameter adjustment device can also receive a second message sent by the touch device; and display the parameter adjustment control according to the second message.
[0043] For example, in some scenarios using a stylus, including drawing, taking electronic notes and other application scenarios, the user can control the touch device to send a second message to the parameter adjustment device by a preset trigger operation to display a parameter adjustment control on the screen of the parameter adjustment device.
[0044] In the case of displaying the parameter adjustment control, the parameter adjustment apparatus monitors whether a first input is received. For example, the first input can be a click input of the parameter adjustment control by a user, which can be a single click input, a double click input, or any number of click inputs, or the first input can also be a long press input or a short press input, which is not limited herein.
[0045] In the case of receiving the first input, step 1200 is performed:
[0046] In step 1200, in response to the first input, the control information of the parameter adjustment control and the stroke parameter of the touch stroke are updated.
[0047] The touch stroke is a touch stroke of the touch device, the update of the stroke parameter is associated with the update of the control information, and the update of the stroke parameter is determined according to the first input.
[0048] Optionally, in the case where the first input includes an input of the touch device to the parameter adjustment control, in this step, the parameter adjustment apparatus updates the control information of the parameter adjustment control and the stroke parameter of the touch stroke according to input information of the first input; wherein the stroke parameter includes at least one of the following: hue, brightness, saturation, and line parameter.
[0049] For example, the input information can include at least one of directly input hue parameter values, brightness parameter values, saturation parameter values, and line parameter values, and the parameter adjustment apparatus updates the control information of the parameter adjustment control and the stroke parameter of the touch stroke according to the input information when the input information is received.
[0050] Optionally, the touch device includes a movable part, and in the case where the touch device sends a first message to the parameter adjustment apparatus, the first message includes movement information of the movable part, and the movement information includes at least one of the following: rotation angle, rotation direction, rotation speed, movement distance, movement direction, and movement speed; in this step, the parameter adjustment apparatus updates the control information of the parameter adjustment control and the stroke parameter of the touch stroke according to the movement information.
[0051] In this embodiment, the parameter adjustment control includes a color sub-control and a color indication mark, and the color sub-control includes a color block of at least one color.
[0052] For example, when the motion information includes a rotation angle, a rotation direction and a rotation speed, the parameter adjustment device controls the color sub-control to rotate at a corresponding speed in a corresponding direction by a corresponding angle according to the rotation angle, the rotation direction and the rotation speed. For another example, when the motion information includes a movement distance, a movement direction and a movement speed, the parameter adjustment device controls the color indication mark to move at a corresponding speed in a corresponding direction by a corresponding distance according to the movement distance, the movement direction and the movement speed.
[0053] The parameter adjustment device updates the display parameter of the color sub-control or the color indication mark, and updates the stroke color of the touch stroke according to the color block indicated by the updated color indication mark, when updating the control information of the parameter adjustment control and the stroke parameter of the touch stroke.
[0054] The stroke color can include parameters such as hue, brightness, saturation, etc. For example, the parameter adjustment device can update the rotation angle of the color sub-control, and update the stroke color of the touch stroke according to the color block indicated by the color indication mark after the color sub-control is rotated. The parameter adjustment device can also update the position indicated by the color indication mark, and update the stroke color of the touch stroke.
[0055] Specifically, when updating the display parameter of the color sub-control or the color indication mark, the parameter adjustment device can update the color block information of the color sub-control according to the pressing pressure of the pressing input, when the first input includes the input of the touch device to the parameter adjustment control and the first input is a pressing input. The parameter adjustment device can update the color block information of the color sub-control according to the sliding distance of the sliding input, when the first input includes the input of the touch device to the parameter adjustment control and the first input is a sliding input.
[0056] In one example, the parameter adjustment control includes Figure 2 The color sub-control and the color indication mark are shown. As shown in Figure 2 The color sub-control includes color blocks of at least one color, and the color indication mark is a triangular mark displayed at a horizontal position of the color sub-control. The color block indicated by the color indication mark is the current color of the touch pen. The mark in the embodiments of the present application is a word, a symbol, an image, etc. used to indicate information, which can be a control or other container as a carrier to display information, including but not limited to a word mark, a symbol mark and an image mark.
[0057] Exemplarily, in a case that the first input is a pressing input, the parameter adjusting apparatus detects a pressing pressure change in response to the pressing input, and controls the color indication mark to move up and down along the color sub-control to dynamically display a brightness or a saturation of a color corresponding to different pressing pressures according to the change of the pressing pressure, and to update the color block information of the color sub-control according to a final input pressure, and meanwhile, to update a pen trail color of the pen trail according to the color block information.
[0058] In actual application, a maximum pressure threshold and a minimum pressure threshold can be preset. When the pressing pressure is greater than the maximum pressure threshold, the brightness or the saturation is 0, and the selected color is black. When the pressing pressure is less than the minimum pressure threshold, the brightness or the saturation is 1, and the initial color is displayed.
[0059] For example, in response to the pressing input, the color adjusting apparatus detects that the pressing pressure becomes larger, and then controls the color indication mark to move down along the color sub-control to reduce the brightness or the saturation. Alternatively, in response to the pressing input, the color adjusting apparatus detects that the pressing pressure becomes smaller, and then controls the color indication mark to move up along the color sub-control to increase the brightness or the saturation.
[0060] Exemplarily, in a case that the first input is a sliding input, the parameter adjusting apparatus detects a sliding distance in response to the sliding input, and controls the color indication mark to dynamically display a brightness or a saturation corresponding to different sliding distances according to the change of the sliding distance. The sliding input can include a horizontal sliding input, a vertical sliding input, or both the horizontal sliding input and the vertical sliding input, which is not limited herein.
[0061] In actual application, a maximum threshold and a minimum threshold of the sliding can be preset. When the sliding distance reaches the maximum threshold, the brightness or the saturation is 1. When the sliding distance reaches the minimum threshold, the brightness or the saturation is 0.
[0062] Exemplarily, in a case that the sliding input includes a horizontal sliding input, the parameter adjusting apparatus detects that the rightward sliding distance increases in response to the horizontal sliding input, and then controls the color indication mark to move horizontally along the color sub-control to increase the brightness or the saturation. Alternatively, the parameter adjusting apparatus detects that the leftward sliding distance increases in response to the horizontal sliding input, and then controls the color indication mark to move horizontally along the color sub-control to reduce the brightness or the saturation.
[0063] Exemplarily, when the sliding input comprises a longitudinal sliding input, the parameter adjusting device detects that the downward sliding distance increases in response to the longitudinal sliding input, and then controls the color indication mark to move downward along the color sub-control to reduce the brightness or the saturation. Alternatively, the parameter adjusting device detects that the upward sliding distance increases in response to the longitudinal sliding input, and then controls the color indication mark to move upward along the color sub-control to increase the brightness or the saturation.
[0064] Exemplarily, when the sliding input comprises a longitudinal sliding input and a transverse sliding input, the parameter adjusting device needs to calculate the transverse sliding distance and the longitudinal sliding distance. In response to the sliding input, the greater the upward longitudinal sliding distance, the higher the color brightness, and when the maximum sliding distance is reached, the brightness is 1. The greater the downward longitudinal sliding distance, the lower the color brightness, and when the minimum sliding distance is reached, the brightness is 0. The greater the leftward transverse sliding distance, the lower the saturation, and when the maximum leftward sliding distance is reached, the color saturation is 0, i.e., white or gray is displayed. Conversely, the greater the rightward transverse sliding distance, the greater the saturation, and when the maximum rightward sliding distance is reached, the color saturation is 1. On the interface display, the currently selected color can be displayed on the color sub-control.
[0065] If the user is not satisfied with the currently selected saturation and brightness, the user can continue to adjust the brightness and the saturation through the pressing input and the sliding input.
[0066] Further, in actual applications, if the user is relatively satisfied with the current saturation and brightness but is not satisfied with the hue, the user can adjust the hue at the same saturation and brightness by rotating the active part of the touch device again. At this time, if the saturation is x, the color sub-control does not display for the peripheral part with a saturation higher than x. If the brightness is y, the color sub-control does not display for the upper layer part with a brightness higher than y, so as to facilitate the user to see the color disc at the current rotation.
[0067] In the embodiments of the present application, when the parameter adjusting device receives the pressing input again or receives the sliding input again, the operation of adjusting the saturation and / or the brightness is entered again, at this time, the color sub-control is restored to complete display.
[0068] Further, in actual applications, the user can preset a certain color of the stylus trace in advance through color selection, color sucking, etc. At this time, the color sub-control is automatically positioned to the color, and then the user can adjust the hue, the brightness and the saturation on the same plane (brightness) based on the hue through the pressing input and / or the sliding input. The specific process can be referred to the above description, which is not described herein again.
[0069] Further, in actual application, the color of the stylus can be pre-adjusted through pressing input, sliding input and rotating input, and only one color is used in actual writing, and the brightness or saturation is dynamically adjusted according to the pressing force during writing, so that the color of the stylus is dynamically adjusted during writing.
[0070] The technical solution of the embodiment of the present application receives a first input in the case of a display parameter adjustment control, the first input including input of the parameter adjustment control by the touch device or a first message sent by the touch device to the parameter adjustment device; in response to the first input, updates control information of the parameter adjustment control and stroke parameters of a touch stroke; wherein the touch stroke is a touch stroke of the touch device, the update of the stroke parameters is associated with the update of the control information, and the update of the stroke parameters is determined according to the first input. The embodiment of the present application can quickly adjust the stroke parameters of the stylus through simple operation of the stylus on the parameter adjustment control or sending of adjustment information (first message) to the parameter adjustment device, and simplifies user operation.
[0071] Figure 3 is a flowchart of a parameter adjustment method of the second embodiment of the present application. The parameter adjustment method of the embodiment of the present application can be executed by a touch device, which can be arranged in a smart terminal, such as a stylus.
[0072] As shown in Figure 3 The parameter adjustment method of the embodiment can include the following steps 2100-2300.
[0073] Step 2100, receiving a second input to an active part of the touch device.
[0074] Optionally, the second input can be a click input to the active part of the touch device, a pressing input to the active part of the touch device, a sliding input to the active part of the touch device, a rotating input to the active part of the touch device, etc. Herein, they are not listed one by one.
[0075] Step 2200, in response to the second input, acquiring motion information of the active part.
[0076] The motion information includes at least one of the following: rotation angle, rotation direction, rotation speed, movement distance, movement direction, movement speed; the stroke parameters include at least one of the following: hue, brightness, saturation, line parameter.
[0077] Step 2300, sending a first message to a parameter adjustment device, so that the parameter adjustment device updates control information of the parameter adjustment control and stroke parameters of a touch stroke according to the first message.
[0078] The first message includes the motion information, the parameter adjustment control is a control displayed by the parameter adjustment device, the touch trace is a touch trace of the touch device, the updating of the trace parameter is associated with the updating of the control information, and the updating of the trace parameter is determined according to the first input.
[0079] Specifically, the parameter adjustment device updates the control information of the parameter adjustment control and the trace parameter of the touch trace according to the first message. For details, refer to the description in the above embodiments, which will not be repeated here.
[0080] Further, before step 2100, the touch device can further receive a third input of a user to the touch device; and in response to the third input, send a second message to the parameter adjustment device, so that the parameter adjustment device displays the parameter adjustment control according to the second message.
[0081] For example, in some scenarios of using a touch pen, such as drawing, taking electronic notes, and the like, the user can control the touch device to send a second message to the parameter adjustment device through a third input to display a parameter adjustment control on the display screen. The third input can be, for example, a click input to an active part of the touch device, or the third input can be a rotation input to the active part of the touch device.
[0082] The technical scheme of the embodiment of the present application receives a second input to an active part of the touch device; in response to the second input, obtains motion information of the active part; and sends a first message to a parameter adjustment device, so that the parameter adjustment device updates control information of the parameter adjustment control and a trace parameter of a touch trace according to the first message. The embodiment of the present application can quickly adjust the trace parameter of the touch pen through simple operation of the touch pen to the parameter adjustment control or sending adjustment information (the first message) to the parameter adjustment device, and simplifies user operation.
[0083] It should be noted that the parameter adjustment method provided by the embodiment one of the present application can be executed by the parameter adjustment device, or a control module in the parameter adjustment device for executing the parameter adjustment method. The parameter adjustment device provided by the embodiment of the present application is described by taking the parameter adjustment device executing the parameter adjustment method as an example.
[0084] Figure 4 The structure of the parameter adjustment device of the embodiment one of the present application is shown in FIG. 3. As shown in FIG. 3, the parameter adjustment device 3000 of the embodiment of the present application can include a receiving module 3100 and a responding module 3200. Figure 4
[0085] The receiving module 3100 is configured to receive a first input in a case where the parameter adjustment control is displayed, the first input comprising input of the parameter adjustment control by the touch device or a first message sent by the touch device to the parameter adjustment device.
[0086] The responding module 3200 is configured to update control information of the parameter adjustment control and stroke parameters of the touch stroke in response to the first input.
[0087] The touch stroke is a touch stroke of the touch device, the updating of the stroke parameters is associated with the updating of the control information, and the updating of the stroke parameters is determined according to the first input.
[0088] In one embodiment, in a case where the first input comprises input of the parameter adjustment control by the touch device, the responding module 3200 is specifically configured to update the control information of the parameter adjustment control and the stroke parameters of the touch stroke according to input information of the first input, wherein the stroke parameters comprise at least one of the following: hue, brightness, saturation, line parameter.
[0089] In this embodiment, in a case where the first input comprises input of the parameter adjustment control by the touch device, the stroke parameters of the touch pen can be adjusted according to the input information of the first input, simplifying the operation of the user.
[0090] In one embodiment, the touch device comprises a movable part, and in a case where the first message sent by the touch device to the parameter adjustment device comprises movement information of the movable part, the movement information comprises at least one of the following: rotation angle, rotation direction, rotation speed, movement distance, movement direction, movement speed; the responding module 3200 is specifically configured to update the control information of the parameter adjustment control and the stroke parameters of the touch stroke according to the movement information.
[0091] In this embodiment, the control information of the parameter adjustment control and the stroke parameters of the touch stroke can be updated according to the rotation angle, the rotation direction, the rotation speed, the movement distance, the movement direction and the movement speed, simplifying the operation of the user.
[0092] In one embodiment, the parameter adjustment control comprises a color sub-control and a color indication mark, the color sub-control comprising a color block of at least one color; the responding module 3200 can be specifically configured to update a display parameter of the color sub-control or the color indication mark, and update a stroke color of the touch stroke according to a color block indicated by the updated color indication mark.
[0093] In the embodiment, the parameter adjustment control includes a color sub-control and a color indication mark. By updating the display parameters of the color sub-control or the color indication mark, the pen trail parameters of the stylus can be quickly adjusted, and the user operation is simplified.
[0094] In one embodiment, the response module 3200 can be specifically configured to: in a case where the first input includes an input of the touch device to the parameter adjustment control and the first input is a pressing input, update the color block information of the color sub-control according to a pressing pressure of the pressing input; and in a case where the first input includes an input of the touch device to the parameter adjustment control and the first input is a sliding input, update the color block information of the color sub-control according to a sliding distance of the sliding input.
[0095] In the embodiment, the first input can be an input of the touch device to the parameter adjustment control, and the first input can be a pressing input or a sliding input. In this way, the color block information of the color sub-control can be updated according to the pressing pressure of the pressing input, or the color block information of the color sub-control can be updated according to the sliding distance of the sliding input, so that the pen trail parameters of the stylus can be quickly adjusted through simple user operation.
[0096] In one embodiment, the receiving module 3100 can be further configured to receive a second message sent by the touch device, and the response module 3200 can be further configured to display the parameter adjustment control according to the second message.
[0097] In the embodiment, the parameter adjustment control can be displayed according to the second message sent by the touch device, so as to receive the first input and update the control information of the parameter adjustment control and the pen trail parameters of the stylus in response to the first input. In this way, the pen trail parameters of the stylus can be quickly adjusted, and the user operation is simplified.
[0098] The parameter adjustment device in the first embodiment of the present application can be a device, or a component, an integrated circuit or a chip in a terminal. The device can be a mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm 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 present application does not make a specific limitation.
[0099] The parameter adjusting device in the embodiment one can be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not limited in the embodiment.
[0100] The parameter adjusting device provided in the embodiment can realize Figures 1 to 2 The method embodiment realizes various processes, which are not repeated here to avoid repetition.
[0101] It should be noted that the parameter adjusting method provided in the embodiment two can be executed by a touch device or a control module in the touch device for executing the parameter adjusting method. The touch device provided in the embodiment two is described by taking the touch device as an example in the embodiment.
[0102] Figure 5 FIG. 4 is a structural schematic diagram of the touch device in the embodiment two. As shown in FIG. 4, the touch device 4000 in the embodiment can include a receiving module 4100, a responding module 4200, and a sending module 4300. Figure 5
[0103] The receiving module 4100 is configured to receive a second input to an active part of the touch device.
[0104] The responding module 4200 is configured to acquire motion information of the active part in response to the second input.
[0105] The sending module 4300 is configured to send a first message to a parameter adjusting device, so that the parameter adjusting device updates control information of a parameter adjusting control and stroke parameters of a touch stroke according to the first message.
[0106] The first message includes the motion information, the parameter adjusting control is a control displayed by the parameter adjusting device, the touch stroke is a touch stroke of the touch device, the update of the stroke parameters is associated with the update of the control information, and the update of the stroke parameters is determined according to the first input.
[0107] In one embodiment, the motion information includes at least one of a rotation angle, a rotation direction, a rotation speed, a movement distance, a movement direction, and a movement speed, and the stroke parameters include at least one of a color tone, a brightness, a saturation, and a line parameter.
[0108] In this embodiment, the first message containing the motion information is sent to the parameter adjusting device, so that the parameter adjusting device updates the control information of the parameter adjusting control and the stroke parameters of the touch stroke according to the first message, which can quickly adjust the stroke parameters of the touch pen and simplify the user operation.
[0109] In one embodiment, the receiving module 4100 is further configured to receive a third input of the user to the touch device; and the responding module 4200 is further configured to, in response to the third input, send a second message to the parameter adjustment device, so that the parameter adjustment device displays the parameter adjustment control according to the second message.
[0110] In this embodiment, when the third input is received, the second message is sent to the parameter adjustment device in response to the third input, so that the parameter adjustment device displays the parameter adjustment control according to the second message, and after the parameter adjustment control is displayed, the first input is sent to the parameter adjustment device, so that the parameter adjustment device updates the control information of the parameter adjustment control and the stroke parameter of the touch stroke in response to the first input, that is, the stroke parameter of the touch pen can be quickly adjusted, and the user operation is simplified.
[0111] The touch device in the second embodiment of the present application can be a device, a component, an integrated circuit or a chip in a terminal. The device can be a mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the second embodiment of the present application is not limited in this regard.
[0112] The touch device in the second embodiment of the present application can be a device with an operating system. The operating system can be an Android operating system, an ios operating system or other possible operating systems, and the second embodiment of the present application is not limited in this regard.
[0113] The touch device provided in the second embodiment of the present application can implement the method Figure 3 The method embodiment implements various processes, and to avoid repetition, the various processes will not be described here.
[0114] Optionally, as shown in Figure 6 The second embodiment of the present application further provides an electronic device 5000, which includes a processor 5100, a memory 5200, a program or instruction stored in the memory 5200 and executable on the processor 5100. When the program or instruction is executed by the processor 5100, the various processes of the above-mentioned parameter adjustment method embodiment one are implemented, and the same technical effects can be achieved. To avoid repetition, the various processes will not be described here.
[0115] It should be noted that the electronic device in the second embodiment of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.
[0116] Figure 7 Fig. 1 shows a hardware structure of an electronic device according to an embodiment of the present application.
[0117] The electronic device 600 includes, but is not limited to, a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc.
[0118] Those skilled in the art can understand that the electronic device 600 can further include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 610 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than those shown, or combine certain components, or different component arrangements, which are not described here.
[0119] The user input unit 607 is configured to receive a first input in a case where a parameter adjustment control is displayed, the first input including input of the parameter adjustment control by a touch device; the processor 610 is configured to receive a first input in a case where a parameter adjustment control is displayed, the first input including a first message sent by the touch device to the parameter adjustment device; the processor 610 is further configured to update control information of the parameter adjustment control and stroke parameters of a touch stroke in response to the first input; the touch stroke is a touch stroke of the touch device, and the update of the stroke parameters is associated with the update of the control information.
[0120] In the embodiments of the present application, a first input is received in a case where a parameter adjustment control is displayed, the first input including input of the parameter adjustment control by a touch device or a first message sent by the touch device to the parameter adjustment device; in response to the first input, control information of the parameter adjustment control and stroke parameters of a touch stroke are updated; the touch stroke is a touch stroke of the touch device, and the update of the stroke parameters is associated with the update of the control information, and the update of the stroke parameters is determined according to the first input. According to the embodiments of the present application, the stroke parameters of the touch pen can be quickly adjusted by simple operation of the touch pen on the parameter adjustment control or sending of adjustment information (the first message) to the parameter adjustment device, and user operation is simplified.
[0121] Optionally, the processor 610 is configured to, in a case where the first input comprises input of the parameter adjustment control by the touch device, update, according to input information of the first input, control information of the parameter adjustment control and stroke parameters of the touch stroke.
[0122] In the embodiments of the present application, in a case where the first input comprises input of the parameter adjustment control by the touch device, the stroke parameters of the touch pen can be adjusted according to the input information of the first input, thereby simplifying the operation of the user.
[0123] Optionally, the touch device comprises a movable part, and in a case where the first message sent by the touch device to the parameter adjustment device comprises movement information of the movable part, the movement information comprises at least one of a rotation angle, a rotation direction, a rotation speed, a movement distance, a movement direction, and a movement speed; and the processor 610 is configured to update, according to the movement information, the control information of the parameter adjustment control and the stroke parameters of the touch stroke.
[0124] In the embodiments of the present application, the control information of the parameter adjustment control and the stroke parameters of the touch stroke can be updated according to the rotation angle, the rotation direction, the rotation speed, the movement distance, the movement direction, and the movement speed, thereby simplifying the operation of the user.
[0125] Optionally, the parameter adjustment control comprises a color sub-control and a color indication mark, the color sub-control comprises color blocks of at least one color; and the processor 610 is configured to update display parameters of the color sub-control or the color indication mark, and update the stroke color of the touch stroke according to a color block indicated by the updated color indication mark.
[0126] In the embodiments of the present application, the parameter adjustment control comprises a color sub-control and a color indication mark, and the stroke parameters of the touch pen can be quickly adjusted by updating the display parameters of the color sub-control or the color indication mark, thereby simplifying the operation of the user.
[0127] Optionally, the processor 610 is configured to, in a case where the first input comprises input of the parameter adjustment control by the touch device and the first input is a pressing input, update color block information of the color sub-control according to a pressing pressure of the pressing input; and in a case where the first input comprises input of the parameter adjustment control by the touch device and the first input is a sliding input, update the color block information of the color sub-control according to a sliding distance of the sliding input.
[0128] In the embodiments of the present application, the first input can be an input of the parameter adjustment control by the touch device, and the first input can be a pressing input or a sliding input, so that the color block information of the color sub-control can be updated according to the pressing pressure of the pressing input, or the color block information of the color sub-control can be updated according to the sliding distance of the sliding input, so as to quickly adjust the pen trail parameters of the stylus through simple user operation.
[0129] Optionally, the processor 610 is further configured to receive a second message sent by the touch device, and display the parameter adjustment control according to the second message.
[0130] In the embodiments of the present application, the parameter adjustment control can be displayed according to the second message sent by the touch device, so as to receive the first input and update the control information of the parameter adjustment control and the pen trail parameters of the stylus in response to the first input, thereby realizing quick adjustment of the pen trail parameters of the stylus and simplifying user operation.
[0131] It should be understood that, in the embodiments of the present application, the input unit 604 can include a graphics processing unit (GPU) 6041 and a microphone 6042. The graphics processing unit 6041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 can include a display panel 6061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 can include a touch detection device and a touch controller. The other input devices 6072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, which will not be described here. The memory 609 can be used to store software programs and various data, including but not limited to application programs and an operating system. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface and the application programs, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 610.
[0132] Optionally, as Figure 8As shown, the electronic device 7000 in the embodiments of the present application further comprises a processor 7100, a memory 7200, and a program or instruction stored in the memory 7200 and executable on the processor 7100. The program or instruction is executed by the processor 7100 to implement the processes of the second parameter adjustment method embodiment and achieve the same technical effects. To avoid repetition, details are not described herein.
[0133] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device described above.
[0134] Figure 9 The hardware structure of the electronic device in the second embodiment of the present application is shown in the figure.
[0135] 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.
[0136] Those skilled in the art can understand that the electronic device 800 can further include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 810 through a power management system, so as to realize functions such as charging, discharging, and power consumption management through the power management system. Figure 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device can include more or fewer components than shown, or combine certain components, or have a different arrangement of components, which is not described herein.
[0137] The user input unit 807 is configured to receive a second input to the active part of the touch device. The processor 810 is configured to, in response to the second input, acquire motion information of the active part, and send a first message to the parameter adjustment device to cause the parameter adjustment device to update control information of a parameter adjustment control and stroke parameters of a touch stroke according to the first message. The first message includes the motion information. The parameter adjustment control is a control displayed by the parameter adjustment device. The touch stroke is a touch stroke of the touch device. The update of the stroke parameters is associated with the update of the control information.
[0138] Specifically, the motion information includes at least one of a rotation angle, a rotation direction, a rotation speed, a movement distance, a movement direction, and a movement speed. The stroke parameters include at least one of a color tone, a brightness, a saturation, and a line parameter.
[0139] In this embodiment, by receiving a second input to the movable part of the touch device; in response to the second input, acquiring motion information of the movable part; and sending a first message to the parameter adjustment device, the parameter adjustment device updates the control information of the parameter adjustment control and the handwriting parameters of the touch pen according to the first message. This embodiment allows for quick adjustment of the stylus's handwriting parameters through simple operation of the parameter adjustment control with the stylus or by sending adjustment information (the first message) to the parameter adjustment device, simplifying user operation.
[0140] Optionally, the user input unit 807 is further configured to receive a third input from the user to the touch device; the processor 810 is configured to send a second message to the parameter adjustment device in response to the third input, so that the parameter adjustment device displays the parameter adjustment control according to the second message.
[0141] In this embodiment, upon receiving a third input, a second message is sent to the parameter adjustment device in response to the third input, causing the parameter adjustment device to display the parameter adjustment control according to the second message. After displaying the parameter adjustment control, a first input is sent to the parameter adjustment device, so that the parameter adjustment device updates the control information of the parameter adjustment control and the handwriting parameters of the touch pen in response to the first input. This allows for quick adjustment of the handwriting parameters of the touch pen, simplifying user operation.
[0142] It should be understood that, in this embodiment, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The GPU 8041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here. The memory 809 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understandable that the aforementioned modem processor may not be integrated into the processor 810.
[0143] The embodiment of the present application further provides a readable storage medium, which stores a program or instructions, and the program or instructions are executed by a processor to realize the processes of the parameter adjustment method and achieve the same technical effects. To avoid repetition, details are not described herein.
[0144] The processor is the processor in the electronic device in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc.
[0145] The embodiment of the present application further provides a chip, which includes a processor and a communication interface. The communication interface is coupled with the processor. The processor is used to run a program or instructions to realize the processes of the parameter adjustment method and achieve the same technical effects. To avoid repetition, details are not described herein.
[0146] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0147] It should be noted that, in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in a reverse order, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0148] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a part that contributes to the prior art, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
[0149] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.
Claims
1. A parameter adjustment method, applied to a parameter adjustment device, characterized in that, The method includes: When displaying parameter adjustment controls, a first input is received, the first input including a first message sent by the touch device to the parameter adjustment device; In response to the first input, update the control information of the parameter adjustment control and the handwriting parameters of the touch pen; The touch handwriting refers to the touch handwriting of the touch device, and the update of the handwriting parameters is related to the update of the control information. The parameter adjustment control includes a color sub-control and a color indicator. The color sub-control includes color blocks of various colors, and each color block includes hue, brightness, and saturation information. The touch device includes a movable part. When the touch device sends a first message to the parameter adjustment device, the first message includes motion information of the movable part. The motion information includes at least one of the following: rotation angle, rotation direction, rotation speed, moving distance, moving direction, and moving speed. The step of updating the control information of the parameter adjustment control and the handwriting parameters of the touch pen in response to the first input includes: Based on the motion information, update the control information of the parameter adjustment control and the handwriting parameters of the touch pen.
2. The method according to claim 1, characterized in that, When the first input also includes input from the touch device to the parameter adjustment control, updating the control information of the parameter adjustment control and the handwriting parameters of the touch stroke in response to the first input includes: Based on the input information from the first input, update the control information of the parameter adjustment control and the handwriting parameters of the touch pen; The handwriting parameters include at least one of the following: hue, brightness, saturation, and line parameters.
3. The method according to claim 1, characterized in that, The updating of the control information of the parameter adjustment control and the handwriting parameters of the touch pen strokes includes: Update the display parameters of the color sub-control or the color indicator; Update the pen stroke color based on the color block indicated by the updated color indicator.
4. The method according to claim 1, characterized in that, Updating the display parameters of the color sub-control or the color indicator includes: If the first input also includes the input of the touch device to the parameter adjustment control, and the first input is a press input, the color block information of the color sub-control is updated according to the pressing pressure of the press input; If the first input also includes the input of the touch device to the parameter adjustment control, and the first input is a sliding input, the color block information of the color sub-control is updated according to the sliding distance of the sliding input.
5. The method according to claim 1, characterized in that, Before receiving the first input, the method further includes: Receive the second message sent by the touch device; According to the second message, the parameter adjustment control is displayed.
6. A parameter adjustment method applied to a touch device, characterized in that, The method includes: Receive a second input to the movable part of the touch device; In response to the second input, the motion information of the active part is acquired; The first message is sent to the parameter adjustment device so that the parameter adjustment device updates the control information of the parameter adjustment control and the handwriting parameters of the touch pen according to the first message. The first message includes the motion information, the parameter adjustment control is a control displayed by the parameter adjustment device, the touch handwriting is the touch handwriting of the touch device, and the update of the handwriting parameters is related to the update of the control information. The parameter adjustment control includes a color sub-control and a color indicator. The color sub-control includes color blocks of various colors, and each color block includes hue, brightness, and saturation information. The motion information includes at least one of the following: rotation angle, rotation direction, rotation speed, moving distance, moving direction, and moving speed; The handwriting parameters include at least one of the following: hue, brightness, saturation, and line parameters.
7. The parameter adjustment method according to claim 6, characterized in that, Before receiving the second input to the movable part of the touch device, the method further includes: Receive a third input from the user to the touch device; In response to the third input, a second message is sent to the parameter adjustment device so that the parameter adjustment device displays the parameter adjustment control according to the second message.
8. A parameter adjustment device, characterized in that, The device includes: A receiving module is configured to receive a first input when a parameter adjustment control is displayed, the first input including a first message sent by the touch device to the parameter adjustment device; A response module is used to update the control information of the parameter adjustment control and the handwriting parameters of the touch pen in response to the first input; The touch handwriting refers to the touch handwriting of the touch device, and the update of the handwriting parameters is related to the update of the control information. The parameter adjustment control includes a color sub-control and a color indicator. The color sub-control includes color blocks of various colors, and each color block includes hue, brightness, and saturation information. The touch device includes a movable part. When the touch device sends a first message to the parameter adjustment device, the first message includes motion information of the movable part. The motion information includes at least one of the following: rotation angle, rotation direction, rotation speed, moving distance, moving direction, and moving speed. The response module, when responding to the first input and updating the control information of the parameter adjustment control and the handwriting parameters of the touch pen, is specifically used for: Based on the motion information, update the control information of the parameter adjustment control and the handwriting parameters of the touch pen.
9. A touch device, characterized in that, The device includes: A receiving module is configured to receive a second input to the movable part of the touch device; The response module is used to obtain the motion information of the active part in response to the second input; The sending module is used to send a first message to the parameter adjustment device so that the parameter adjustment device updates the control information of the parameter adjustment control and the handwriting parameters of the touch pen according to the first message. The first message includes the motion information, the parameter adjustment control is a control displayed by the parameter adjustment device, the touch handwriting is the touch handwriting of the touch device, and the update of the handwriting parameters is related to the update of the control information. The parameter adjustment control includes a color sub-control and a color indicator. The color sub-control includes color blocks of various colors, and each color block includes hue, brightness, and saturation information. The motion information includes at least one of the following: rotation angle, rotation direction, rotation speed, moving distance, moving direction, and moving speed; The handwriting parameters include at least one of the following: hue, brightness, saturation, and line parameters.
Citation Information
Patent Citations
Display control method and device, and input / output control method and device
CN106201027A
Touch pen and electronic equipment
CN213545237U