CN111562850A - Information adjusting method and device, electronic equipment and storage medium - Google Patents
Information adjusting method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111562850A CN111562850A CN202010284989.9A CN202010284989A CN111562850A CN 111562850 A CN111562850 A CN 111562850A CN 202010284989 A CN202010284989 A CN 202010284989A CN 111562850 A CN111562850 A CN 111562850A
- Authority
- CN
- China
- Prior art keywords
- parameter
- stylus
- adjusting
- writing
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing 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/03545—Pens or stylus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F3/0383—Signal control means within the pointing device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses an information adjusting method, an information adjusting device, electronic equipment and a storage medium, wherein the method comprises the following steps: detecting the electric quantity of the touch pen under the condition that the electronic equipment is connected with the touch pen; and under the condition that the electric quantity is smaller than the first threshold value, adjusting the electrostatic attraction between the stylus and the screen of the electronic equipment, or controlling the stylus to adjust the writing parameter from the first parameter to the second parameter. According to the embodiment of the invention, the residual electric quantity of the touch pen can be simply and clearly prompted to a user by adjusting the electrostatic attraction between the touch pen and the screen and/or adjusting the writing parameters of the control touch pen, so that the use experience of the user is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of information processing, in particular to an information adjusting method, an information adjusting device, electronic equipment and a storage medium.
Background
With the development of electronic equipment and mobile internet, a touch pen used in cooperation with the electronic equipment has come to be used, and the touch pen can provide a more convenient and efficient input mode than finger input.
Users often use a stylus to control electronic equipment or use the stylus to write and draw, and people often do not know the electric quantity condition of the stylus in the process of using the stylus, and when the stylus needs to be used, the situation that the electric quantity of the stylus is insufficient may be met, so that great inconvenience is brought to the users. In addition, if the power information of the stylus is displayed in the screen status bar of the electronic device, the power information is easily confused with the power information of the electronic device itself.
Therefore, how to simply and clearly prompt the remaining power of the stylus to the user becomes a problem to be solved.
Disclosure of Invention
The embodiment of the invention provides an information adjusting method, an information adjusting device, electronic equipment and a storage medium, and aims to solve the problem that the remaining electric quantity of a touch pen cannot be simply and clearly prompted to a user in the related art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information adjusting method, which may specifically include:
detecting the electric quantity of the touch pen under the condition that the electronic equipment is connected with the touch pen;
and under the condition that the electric quantity is smaller than the first threshold value, adjusting the electrostatic attraction between the stylus and the screen of the electronic equipment, or controlling the stylus to adjust the writing parameter from the first parameter to the second parameter.
In a second aspect, an embodiment of the present invention provides an information adjusting apparatus, which may specifically include:
the detection module is used for detecting the electric quantity of the touch pen under the condition that the electronic equipment is connected with the touch pen;
the first execution module is used for adjusting the electrostatic attraction between the stylus and the screen of the electronic device or controlling the stylus to adjust the writing parameter from the first parameter to the second parameter when the electric quantity of the stylus is smaller than a first threshold value.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when executed by the processor, the computer program implements the information adjusting method according to the first aspect.
In a fourth aspect, there is provided a computer-readable storage medium having a computer program stored thereon, which, if the computer program is executed in a computer, causes the computer to execute the information adjusting method according to the first aspect.
In the embodiment of the invention, under the condition that the electric quantity of the stylus is detected to be smaller than the first threshold, the electric quantity of the stylus can be prompted to a user in the aspects of touch perception and/or visual perception by adjusting the electrostatic attraction between the stylus and the screen and/or controlling the stylus to adjust the writing parameters, so that the problem that the residual electric quantity of the stylus cannot be prompted to the user simply and clearly is solved, and the use experience of the user is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flow chart of an information adjusting method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another information adjusting method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an information adjustment interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another information adjustment interface according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an information adjusting apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
In view of the problems in the related art, embodiments of the present invention provide an information adjusting method, an information adjusting device, an electronic device, and a storage medium, so as to solve the problem in the related art that the remaining power of a stylus cannot be easily and clearly prompted to a user.
The following describes an information adjusting method provided in an embodiment of the present invention.
Fig. 1 is a flowchart illustrating an information adjusting method according to an embodiment of the present invention.
As shown in fig. 1, the information adjusting method may include S110 to S120, where the method is applied to a server, and specifically as follows:
s110, detecting the electric quantity of the touch pen under the condition that the electronic equipment is connected with the touch pen.
And S120, under the condition that the electric quantity is smaller than the first threshold value, adjusting the electrostatic attraction between the touch pen and the screen of the electronic device, or controlling the touch pen to adjust the writing parameter from the first parameter to the second parameter.
According to the information adjusting method, the residual electric quantity of the touch pen can be simply and clearly prompted to a user by adjusting the electrostatic attraction between the touch pen and the screen and/or controlling the touch pen to adjust the writing parameters, and the use experience of the user is improved.
The contents of S110-S120 are described below, respectively:
first, referring to S110, when the electronic device is connected to the stylus, the electronic device periodically detects a remaining power of the stylus, and when the remaining power of the stylus is less than or equal to a first threshold, S120 is performed. Otherwise, the electrostatic attraction between the stylus and the touch screen is not adjusted or the stylus is controlled to adjust the writing parameters.
As shown in fig. 2, as another implementation manner of the present application, in order to detect the remaining power of the stylus pen immediately, before S110, the following steps may be further included:
and S130, establishing connection between the electronic equipment and the touch pen in a preset connection mode.
The preset connection mode is that the touch pen is inserted into a touch pen fixing position of the electronic equipment, Bluetooth or a wireless network.
For example, when the stylus is inserted into the electronic device, the electronic device may detect the remaining power of the stylus, or when the stylus is connected to the electronic device through WiFi, bluetooth, or the like, the electronic device may detect the remaining power of the stylus periodically.
Next, referring to S120, optionally, in a case that the electric quantity of the stylus is smaller than the first threshold, the magnitude of the electrostatic attraction between the stylus and the screen of the electronic device may be adjusted, the writing parameter of the stylus may also be adjusted, and the magnitude of the electrostatic attraction and the writing parameter may also be adjusted at the same time.
Specifically, when the electronic device detects that the stylus is sliding on the touch screen of the electronic device while the remaining capacity of the stylus is equal to or less than the first threshold, the electronic device increases the frictional force between the stylus and the touch screen by increasing the electrostatic attractive force between the stylus and the touch screen. Otherwise, the electrostatic attraction between the stylus and the touch sensitive screen is not adjusted, i.e. the friction between the stylus and the touch sensitive screen does not change with the sliding.
Specifically, when the remaining power of the stylus is less than or equal to the first threshold, when the electronic device detects that the stylus slides on the touch screen, writing parameters such as thickness and color of a line displayed on the screen of the electronic device are changed. Otherwise, the writing parameters such as the thickness and the color of the lines displayed on the screen of the current electronic equipment cannot be changed.
In an embodiment, the step of adjusting the electrostatic attraction between the stylus and the screen of the electronic device may specifically include:
adjusting an electric signal in a touch area of a screen of the electronic equipment from a first electric signal to a second electric signal; under the condition that the electric signals are current values or voltage values, the output parameters of the first electric signals are smaller than those of the second electric signals; or, in the case that the electrical signal is an electromagnetic wave, the output parameter of the first electrical signal is weaker than the output parameter of the second electrical signal; wherein the output parameters of the electrical signal include: amplitude or frequency.
Illustratively, when a stylus is slid on a touch screen, an electrostatic attractive force is generated, and the electronic device changes the electrostatic attractive force between the stylus and the touch screen by changing the magnitude of a current or a voltage, or the waveform of an electromagnetic wave, thereby changing the magnitude of a frictional force between the stylus and the touch screen.
Specifically, in the case where the electric signal is a current value, the electrostatic attraction between the stylus and the screen of the electronic apparatus is increased by increasing the magnitude of the current output to the screen by the electronic apparatus. Wherein the current may be increased by increasing the amplitude and/or frequency of the current.
Specifically, in the case where the electrical signal is a voltage value, the electrostatic attraction between the stylus and the screen of the electronic device is increased by increasing the voltage within the touch area of the screen of the electronic device. Wherein the voltage may be increased by increasing the amplitude and/or frequency of the voltage.
Specifically, in the case where the electrical signal is an electromagnetic wave, the electrostatic attraction between the stylus and the screen of the electronic device is increased by strengthening the parameter of the electromagnetic wave output to the screen by the electronic device. It is understood that the waveform period after the electromagnetic wave is strengthened becomes short and the amplitude becomes large.
In one embodiment of the invention, when the electronic device detects that the stylus pen slides on the touch screen, the electronic device increases the friction between the stylus pen and the touch screen by increasing the electrostatic attraction between the stylus pen and the touch screen, and then the user is prompted by the electronic device to feel a little resistance when the electronic device uses the stylus pen to operate on the touch screen, and when the electric quantity is lower than the second threshold value, the electrostatic attraction between the electronic device and the touch screen is increased appropriately, and then the user feels obvious resistance.
In another embodiment, the step of controlling the stylus to adjust the writing parameter from the first parameter to the second parameter may specifically include:
under the condition that the writing parameter is the line thickness, the writing parameter is adjusted from a first parameter to a second parameter, wherein the line thickness of the first parameter is larger than that of the second parameter;
or, under the condition that the writing parameter is brightness, the writing parameter is adjusted from a first parameter to a second parameter, wherein the brightness value of the first parameter is greater than that of the second parameter;
or, in the case that the writing parameter is the color saturation, the writing parameter is adjusted from the first parameter to the second parameter, wherein the color saturation of the first parameter is greater than the color saturation of the second parameter.
It can be understood that the line pattern displayed on the screen of the electronic device is adjusted from the first preset pattern to the second preset pattern by controlling the stylus to adjust the writing parameter from the first parameter to the second parameter.
Optionally, the line style displayed on the screen of the electronic device is adjusted from the first preset style to the second preset style, which may be adjusting the thickness of the line, adjusting the color saturation of the line, adjusting the color brightness of the line, or a combination of any of the above adjusting methods.
Illustratively, when the electronic device detects that the electric quantity of the stylus is smaller than a first threshold value, after the writing parameter is adjusted to a second parameter, the line drawn by the stylus on the screen becomes thin or light; further, if the power of the stylus is less, the drawn line is thinner and the color is lighter, so as to prompt the user that the remaining power of the stylus is insufficient.
For example, when the electronic device detects that a writable application is opened and a stylus is slid on a screen, the electronic device obtains a line thickness and a color value of a font currently set in the electronic device, and then lightens the thickness of a line and/or the color of the line displayed on the screen (as shown in fig. 3). And when the electric quantity is lower than a second threshold value, the thickness and the color of the line are continuously lightened (as shown in figure 4). Thereby prompting the user of the power state.
As another implementation manner of the present application, in order to meet the use requirement of the user, after S120, the following steps may be further included:
s140, receiving a first instruction sent by a touch pen; and responding to the first instruction, and adjusting the electric signal in the touch area of the screen of the electronic equipment from the second electric signal to the first electric signal.
It is to be understood that the first instruction may be: a stylus connected to an electronic device receives input from a user and, in response to the input, sends a first instruction to the electronic device.
Specifically, the receiving of the input from the user by the stylus connected to the electronic device includes: the stylus receives a press input, a slide input, a click input, etc. of a user at a pen shaft thereof, and if the tail end of the stylus includes a button, the input may also be a press input to the button. For example, in a situation where the user already knows that the stylus is low in power, the user may want to continue using the stylus for a while, and then the user may control the output current of the electronic device to be constant by pressing the tail button of the stylus, that is, without increasing the electrostatic attraction between the electronic device and the stylus. That is, the stylus receives a pressing input from a user at the stylus end, and the stylus transmits a first instruction to the electronic device in response to the pressing input.
It will be appreciated that a user may control the electronic device to which it is connected by pressing the stylus tail button, thereby feeling whether or not to increase the resistance between the stylus and the touch sensitive screen. When a button at the tail of the touch pen is pressed, the touch pen can send a 'static attraction force not increasing' signal to the electronic equipment, and after the electronic equipment receives the signal, the static attraction force between the touch pen and the touch screen can be kept unchanged all the time, so that the resistance between the touch pen and the touch screen is normal.
Illustratively, if the stylus power is less than or equal to 10% when the electronic device has increased the resistance between the stylus and the touch sensitive screen, the electronic device normalizes the resistance between the stylus and the touch sensitive screen when the button is pressed.
As another implementation manner of the present application, in order to meet the use requirement of the user, after S140, the following steps may be further included:
s150, receiving a third instruction sent by the touch pen; and responding to a third instruction, and adjusting the electric signal in the touch area of the screen of the electronic equipment and the stylus from the first electric signal to a second electric signal.
For example, when the user presses the button again to eject the button, the stylus may send an "increase electrostatic attraction" signal to the electronic device, and after receiving the signal, the electronic device may increase the electrostatic attraction between the stylus and the touch screen to increase the resistance when it is detected that the power of the stylus is less than or equal to the first threshold.
As another implementation manner of the present application, in order to meet the use requirement of the user, after S120, the following steps may be further included:
s160, receiving a second instruction sent by the touch pen; and responding to the second instruction, controlling the touch control pen to adjust the writing parameter from the second parameter to the first parameter.
It is to be understood that the second instruction may be a press input by the user at the stylus end. For example, in a case where the user knows that the power of the stylus is insufficient, the user may want to continue normal writing or drawing with the stylus, and at this time, the user may press the stylus tail button to control the line pattern displayed on the screen of the electronic device to be unchanged, i.e., the writing parameters output by the stylus to be unchanged.
It is to be understood that the second instruction may be: an instruction to not change the writing parameters is sent to the electronic device.
Specifically, the receiving of the input from the user by the stylus connected to the electronic device includes: the stylus receives a press input, a slide input, a click input, etc. of a user at a pen shaft thereof, and if the tail end of the stylus includes a button, the input may also be a press input to the button.
It can be understood that if the power of the stylus is less than or equal to the first threshold, and the line displayed on the screen of the electronic device becomes thin and the color becomes light, the electronic device will restore the thickness and color of the line to the original set value after pressing the button. If the electric quantity of the touch pen is larger than the first threshold value, the electronic equipment does not change the thickness and the color of the line after the button is pressed.
Illustratively, when the user presses the tail button of the stylus pen, the stylus pen sends a signal of not making the line thin and light in color to the electronic device, and the electronic device does not change the thickness and color of the line drawn on the screen by the user after receiving the signal.
As another implementation manner of the present application, in order to meet the use requirement of the user, after S160, the following steps may be further included:
s170, receiving a fourth instruction sent by the touch pen; and responding to a fourth instruction, controlling the touch pen to adjust the writing parameter from the first parameter to the second parameter.
For example, when the user presses the button again to pop up the button, the stylus may send a signal such as "thin the line and lighten the color" to the electronic device, and after receiving the signal, the electronic device may thin and/or lighten the line of the word written on the screen by the user when detecting that the power of the stylus is less than or equal to the first threshold.
In summary, according to the embodiment of the present invention, when it is detected that the electric quantity of the stylus is smaller than the first threshold, the writing parameter is adjusted by adjusting the electrostatic attraction between the stylus and the screen and/or controlling the stylus, so that the electric quantity of the stylus is prompted to the user in the aspect of tactile perception and/or visual perception, the problem that the remaining electric quantity of the stylus cannot be prompted to the user simply and clearly is solved, and the user experience is improved.
Based on the information adjusting method provided by the above embodiment, correspondingly, the application further provides a specific implementation manner of the information adjusting device. An information adjusting apparatus provided in an embodiment of the present invention is described below with reference to fig. 5.
Fig. 5 is a schematic structural diagram of an information adjusting apparatus according to an embodiment of the present invention.
As shown in fig. 5, the apparatus 500 may specifically include:
the detecting module 510 is configured to detect an electric quantity of the stylus when the electronic device is connected to the stylus.
The first executing module 520 is configured to adjust the magnitude of the electrostatic attraction between the stylus and the screen of the electronic device or control the stylus to adjust the writing parameter from the first parameter to the second parameter when the power of the stylus is less than the first threshold.
In a possible embodiment, the first executing module 520 may be specifically configured to adjust an electrical signal in a touch area of a screen of the electronic device from a first electrical signal to a second electrical signal; under the condition that the electric signals are current values or voltage values, the output parameters of the first electric signals are smaller than those of the second electric signals; or, in the case that the electrical signal is an electromagnetic wave, the output parameter of the first electrical signal is weaker than the output parameter of the second electrical signal; wherein the output parameters of the electrical signal include: amplitude or frequency.
In a possible embodiment, the first executing module 520 may be specifically configured to, in a case that the writing parameter is a line thickness, adjust the writing parameter from a first parameter to a second parameter, where the line thickness of the first parameter is greater than the line thickness of the second parameter; or, under the condition that the writing parameter is brightness, the writing parameter is adjusted from a first parameter to a second parameter, wherein the brightness value of the first parameter is greater than that of the second parameter; or, in the case that the writing parameter is the color saturation, the writing parameter is adjusted from the first parameter to the second parameter, wherein the color saturation of the first parameter is greater than the color saturation of the second parameter.
The first executing module 520 further includes a first receiving module and an adjusting module.
The first receiving module is used for receiving a first instruction sent by the touch pen.
The adjusting module is used for responding to the first instruction and adjusting the electric signal in the touch area of the screen of the electronic equipment from the second electric signal to the first electric signal.
The first executing module 520 further includes a second receiving module and a control module.
The second receiving module is used for receiving a second instruction sent by the touch pen.
And the control module is used for responding to the second instruction and controlling the touch pen to adjust the writing parameter from the second parameter to the first parameter.
In summary, according to the embodiment of the present invention, when it is detected that the electric quantity of the stylus is smaller than the first threshold, the writing parameter is adjusted by adjusting the electrostatic attraction between the stylus and the screen and/or controlling the stylus, so that the electric quantity of the stylus is prompted to the user in the aspect of tactile perception and/or visual perception, the problem that the remaining electric quantity of the stylus cannot be prompted to the user simply and clearly is solved, and the user experience is improved.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
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, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink resources from a base station and then processes the received downlink resources to the processor 610; in addition, the uplink resource is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert an audio resource received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes an image resource of a still image or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into an audio resource. The processed audio resources may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless resource port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., resource information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 600 or may be used to transmit resources between the electronic apparatus 600 and the external device.
The memory 609 may be used to store software programs as well as various resources. The memory 609 may mainly include a storage program area and a storage resource area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage resource area may store resources (such as audio resources, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions and processing resources of the electronic device by running or executing software programs and/or modules stored in the memory 609 and calling resources stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 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 the processor 610.
The electronic device 600 may further include a power supply 611 (such as a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed in a computer, the computer is caused to execute the steps of the information adjusting method according to the embodiments of the present invention.
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.
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 invention 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 an electronic device (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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. An information adjusting method applied to an electronic device, the method comprising:
detecting the electric quantity of a touch pen under the condition that the electronic equipment is connected with the touch pen;
and under the condition that the electric quantity of the stylus is smaller than a first threshold value, adjusting the size of the electrostatic attraction between the stylus and the screen of the electronic equipment, or controlling the stylus to adjust the writing parameter from a first parameter to a second parameter.
2. The method of claim 1, wherein the adjusting the electrostatic attraction between the stylus and the screen of the electronic device comprises:
adjusting an electric signal in a touch area of a screen of the electronic equipment from a first electric signal to a second electric signal, wherein the touch area is a contact area between a stylus and the screen;
under the condition that the electric signal is a current value or a voltage value, the output parameter of the first electric signal is smaller than that of the second electric signal;
or, in the case that the electrical signal is an electromagnetic wave, the output parameter of the first electrical signal is weaker than the output parameter of the second electrical signal;
wherein the output parameters of the electrical signal include: amplitude or frequency.
3. The method of claim 1, wherein controlling the stylus to adjust a writing parameter from a first parameter to a second parameter comprises:
under the condition that the writing parameter is the line thickness, adjusting the writing parameter from a first parameter to a second parameter, wherein the line thickness of the first parameter is larger than that of the second parameter;
or, under the condition that the writing parameter is brightness, adjusting the writing parameter from a first parameter to a second parameter, wherein the brightness value of the first parameter is greater than that of the second parameter;
or, in the case that the writing parameter is color saturation, adjusting the writing parameter from a first parameter to a second parameter, wherein the color saturation of the first parameter is greater than that of the second parameter.
4. The method of claim 2, wherein after the adjusting the electrical signal within the touch area of the screen of the electronic device from a first electrical signal to a second electrical signal, the method further comprises:
receiving a first instruction sent by the touch pen;
and responding to the first instruction, and adjusting the electric signal in the touch area of the screen of the electronic equipment from the second electric signal to the first electric signal.
5. The method of claim 1, wherein after the controlling the stylus to adjust a writing parameter from a first parameter to a second parameter, the method further comprises:
receiving a second instruction sent by the touch pen;
and responding to the second instruction, controlling the touch control pen to adjust the writing parameter from the second parameter to the first parameter.
6. An electronic device, comprising:
the detection module is used for detecting the electric quantity of the touch pen under the condition that the electronic equipment is connected with the touch pen;
the first execution module is used for adjusting the size of the electrostatic attraction between the stylus and the screen of the electronic device or controlling the stylus to adjust the writing parameter from a first parameter to a second parameter when the electric quantity of the stylus is smaller than a first threshold value.
7. The electronic device of claim 6, wherein the execution module is specifically configured to:
adjusting the electric signal in the touch area of the screen of the electronic equipment from a first electric signal to a second electric signal;
under the condition that the electric signal is a current value or a voltage value, the output parameter of the first electric signal is smaller than that of the second electric signal;
or, in the case that the electrical signal is an electromagnetic wave, the output parameter of the first electrical signal is weaker than the output parameter of the second electrical signal;
wherein the output parameters of the electrical signal include: amplitude or frequency.
8. The electronic device of claim 6, wherein the execution module is specifically configured to:
under the condition that the writing parameter is the line thickness, adjusting the writing parameter from a first parameter to a second parameter, wherein the line thickness of the first parameter is larger than that of the second parameter;
or, under the condition that the writing parameter is brightness, adjusting the writing parameter from a first parameter to a second parameter, wherein the brightness value of the first parameter is greater than that of the second parameter;
or, in the case that the writing parameter is color saturation, adjusting the writing parameter from a first parameter to a second parameter, wherein the color saturation of the first parameter is greater than that of the second parameter.
9. The electronic device of claim 7, further comprising:
the first receiving module is used for receiving a first instruction sent by the touch pen;
and the adjusting module is used for responding to the first instruction and adjusting the electric signal in the touch area of the screen of the electronic equipment from the second electric signal to the first electric signal.
10. The electronic device of claim 6, further comprising:
the second receiving module is used for receiving a second instruction sent by the touch pen;
and the control module is used for responding to the second instruction and controlling the touch pen to adjust the writing parameter from the second parameter to the first parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010284989.9A CN111562850A (en) | 2020-04-13 | 2020-04-13 | Information adjusting method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010284989.9A CN111562850A (en) | 2020-04-13 | 2020-04-13 | Information adjusting method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111562850A true CN111562850A (en) | 2020-08-21 |
Family
ID=72068909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010284989.9A Pending CN111562850A (en) | 2020-04-13 | 2020-04-13 | Information adjusting method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111562850A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112637826A (en) * | 2020-12-14 | 2021-04-09 | 深圳市皓丽智能科技有限公司 | Method for connecting touch pen and touch equipment and related equipment |
CN113568557A (en) * | 2021-09-26 | 2021-10-29 | 广州朗国电子科技股份有限公司 | Method for rapidly switching writing thickness and color of painting brush and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102662477A (en) * | 2012-05-10 | 2012-09-12 | 孙晓颖 | Touch representation device based on electrostatic force |
CN103576914A (en) * | 2012-07-18 | 2014-02-12 | 宏达国际电子股份有限公司 | Systems and related methods involving stylus tactile feel |
US20150338928A1 (en) * | 2014-05-26 | 2015-11-26 | Samsung Electronics Co., Ltd. | Display apparatus and controlling method thereof |
CN105242772A (en) * | 2014-07-02 | 2016-01-13 | 意美森公司 | Systems and methods for surface elements that provide electrostatic haptic effects |
CN107024983A (en) * | 2015-12-18 | 2017-08-08 | 意美森公司 | The system and method for multi-functional tactile output device |
CN110007820A (en) * | 2019-03-15 | 2019-07-12 | 北京科加触控技术有限公司 | A kind of electric quantity display method and device |
-
2020
- 2020-04-13 CN CN202010284989.9A patent/CN111562850A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102662477A (en) * | 2012-05-10 | 2012-09-12 | 孙晓颖 | Touch representation device based on electrostatic force |
CN103576914A (en) * | 2012-07-18 | 2014-02-12 | 宏达国际电子股份有限公司 | Systems and related methods involving stylus tactile feel |
US20150338928A1 (en) * | 2014-05-26 | 2015-11-26 | Samsung Electronics Co., Ltd. | Display apparatus and controlling method thereof |
CN105242772A (en) * | 2014-07-02 | 2016-01-13 | 意美森公司 | Systems and methods for surface elements that provide electrostatic haptic effects |
CN107024983A (en) * | 2015-12-18 | 2017-08-08 | 意美森公司 | The system and method for multi-functional tactile output device |
CN110007820A (en) * | 2019-03-15 | 2019-07-12 | 北京科加触控技术有限公司 | A kind of electric quantity display method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112637826A (en) * | 2020-12-14 | 2021-04-09 | 深圳市皓丽智能科技有限公司 | Method for connecting touch pen and touch equipment and related equipment |
CN113568557A (en) * | 2021-09-26 | 2021-10-29 | 广州朗国电子科技股份有限公司 | Method for rapidly switching writing thickness and color of painting brush and electronic equipment |
CN113568557B (en) * | 2021-09-26 | 2022-02-11 | 广州朗国电子科技股份有限公司 | Method for rapidly switching writing thickness and color of painting brush and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255378B (en) | Display control method and mobile terminal | |
CN108182019B (en) | Suspension control display processing method and mobile terminal | |
CN110413168B (en) | Icon management method and terminal | |
CN108319390B (en) | Control method of flexible screen and mobile terminal | |
CN107908382B (en) | Split screen display method and mobile terminal | |
CN109871174B (en) | Virtual key display method and mobile terminal | |
CN109379484B (en) | Information processing method and terminal | |
CN109032447B (en) | Icon processing method and mobile terminal | |
CN108762705B (en) | Information display method, mobile terminal and computer readable storage medium | |
CN110837327B (en) | Message viewing method and terminal | |
CN110109604B (en) | Application interface display method and mobile terminal | |
CN108196753B (en) | Interface switching method and mobile terminal | |
CN109634438B (en) | Input method control method and terminal equipment | |
CN109407949B (en) | Display control method and terminal | |
CN108446156B (en) | Application program control method and terminal | |
EP3764211A1 (en) | Display method and mobile terminal | |
CN108521501B (en) | Voice input method, mobile terminal and computer readable storage medium | |
CN110825295B (en) | Application program control method and electronic equipment | |
CN109710130B (en) | Display method and terminal | |
CN110764675A (en) | Control method and electronic equipment | |
CN111522477A (en) | Application starting method and electronic equipment | |
CN108540642B (en) | Mobile terminal and operation method thereof | |
CN111562850A (en) | Information adjusting method and device, electronic equipment and storage medium | |
CN109040431B (en) | Mode control method, terminal and storage medium | |
CN109597546B (en) | Icon processing method and terminal 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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200821 |