CN110795016A - Display method and electronic equipment - Google Patents

Display method and electronic equipment Download PDF

Info

Publication number
CN110795016A
CN110795016A CN201910926033.1A CN201910926033A CN110795016A CN 110795016 A CN110795016 A CN 110795016A CN 201910926033 A CN201910926033 A CN 201910926033A CN 110795016 A CN110795016 A CN 110795016A
Authority
CN
China
Prior art keywords
pen
contact
information
contact points
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910926033.1A
Other languages
Chinese (zh)
Inventor
胡国良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910926033.1A priority Critical patent/CN110795016A/en
Publication of CN110795016A publication Critical patent/CN110795016A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

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 a display method and electronic equipment. The method comprises the following steps: the electronic equipment acquires contact information received by the electronic pen, wherein the contact information comprises contact point number, contact position information and contact area information; receiving information input by an electronic pen on electronic equipment, and displaying the information in a target mode; wherein the target mode is a display mode corresponding to the contact information. The embodiment of the invention can solve the problem of poor convenience of the electronic pen in use.

Description

Display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a display method and electronic equipment.
Background
With the application range of electronic devices becoming wider and wider, users increasingly demand convenience in using electronic devices. At present, various electronic pens have been developed as handwriting input tools, and users can directly use the electronic pens to perform handwriting input on electronic devices, thereby improving the convenience of human-computer interaction.
The electronic pen can be used for being matched with drawing software to replace a traditional pencil, a pen, a writing brush and the like to input texts and draw pictures, and brings convenient experience for users.
Currently, electronic pens may support switching between multiple pen types. Before switching, a user is required to set the type of the pen to be switched by himself, so that seamless switching between the electronic pen and drawing software cannot be achieved; in addition, when the corresponding pen type is selected, the selection interface can shield or occupy a drawing area or a text input area of drawing software, so that drawing contents or the text input area are shielded; and thus is not convenient enough in use. Therefore, the convenience of the existing electronic pen in use is poor.
Disclosure of Invention
The embodiment of the invention provides a display method and electronic equipment, and aims to solve the problem that an electronic pen is poor in convenience during use.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a display method, where the method includes:
the electronic equipment acquires contact information received by the electronic pen, wherein the contact information comprises contact point number, contact position information and contact area information;
receiving information input by an electronic pen on electronic equipment, and displaying the information in a target mode;
wherein the target mode is a display mode corresponding to the contact information.
In a second aspect, an embodiment of the present invention provides a display method, where the display method includes:
the electronic pen acquires contact information, wherein the contact information comprises contact point number, contact position information and contact area information;
the electronic pen inputs information on the electronic equipment, and the input information is displayed on the electronic equipment in a target mode;
wherein the target mode is a display mode corresponding to the contact information.
In a third aspect, an embodiment of the present invention provides a display device, including:
the acquisition module is used for acquiring contact information received by the electronic pen, wherein the contact information comprises the number of contact points, contact position information and contact area information;
the receiving module is used for receiving information input by the electronic pen on the electronic equipment;
a display module for displaying information in a targeted manner; wherein the target mode is a display mode corresponding to the contact information.
In a fourth aspect, an embodiment of the present invention provides a display device, including:
the acquisition module is used for acquiring contact information, and the contact information comprises the number of contact points, contact position information and contact area information;
the input module is used for inputting information on the electronic equipment by the electronic pen, and the input information is displayed on the electronic equipment in a target mode;
wherein the target mode is a display mode corresponding to the contact information.
In a fifth 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 display method according to the first aspect or the display method according to the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program, when executed by a processor, implements the display method according to the first aspect or the display method according to the second aspect.
In the embodiment of the invention, the information input by the electronic pen on the electronic equipment is displayed in a display mode corresponding to the contact information of the electronic pen, wherein the contact information comprises the number of contact points, the contact position information and the contact area information; and then can not select the switching pen on the interface of selection pen, just can not shelter from or occupy the input area yet, improved the convenience of using the electronic pen on the one hand, on the other hand has improved user experience.
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 flowchart of a display method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a writing brush holding posture according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a pen holding posture in accordance with an embodiment of the present invention;
FIG. 4 is a diagram illustrating a pen-holding posture of the sketch pen according to the embodiment of the invention;
FIG. 5 is a flow chart of another display method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a display device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another display device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the 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.
Fig. 1 is a flowchart of a display method according to an embodiment of the present invention. As shown in fig. 1, the display method includes:
s102: the electronic equipment acquires contact information received by the electronic pen, wherein the contact information comprises contact point number, contact position information and contact area information;
s102: receiving information input by an electronic pen on electronic equipment, and displaying the information in a target mode; wherein the target mode is a display mode corresponding to the contact information.
In the embodiment of the invention, the information input by the electronic pen on the electronic equipment is displayed in a display mode corresponding to the contact information of the electronic pen, wherein the contact information comprises the number of contact points, the contact position information and the contact area information; and then can not select the switching pen on the interface of selection pen, just can not shelter from or occupy drawing region or text input area yet, improved the convenience of using the electronic pen on the one hand, on the other hand has improved user experience.
In this embodiment of the present invention, the acquiring, by the electronic device in S101, the electronically received contact information includes:
the first mode is as follows: contact information received by a sensor of the electronic pen is acquired.
In embodiments of the present invention, contact information may be captured by a sensor built into the electronic brush. The sensor for capturing the contact information includes, but is not limited to, a touch-enabled display screen, a distance sensor, and the like.
In an embodiment of the present invention, before receiving information input by an electronic pen on an electronic device and displaying the information in a target manner, it is further required to determine a target pen-holding posture and a target manner corresponding to the target pen-holding posture based on contact information, which specifically includes:
determining a target pen holding posture according to the number of the contact points, the contact position information and the contact area information;
and determining a target mode corresponding to the target pen-holding posture from the display modes corresponding to each preset pen-holding posture in the plurality of preset pen-holding postures.
It should be noted that the number of the contact points is the number of the contact points between the user and the electronic pen; the contact position information is relative position information among a plurality of contact points; the contact area information is the area of the user and the electronic pen at a certain contact point.
Before determining the target mode, the display method further includes:
respectively determining each matching degree between the target pen holding posture and a plurality of preset pen holding postures;
and generating prompt information to remind a user to adjust the target pen holding posture under the condition that the matching degree does not meet the preset matching degree.
According to the embodiment of the invention, the pen holding posture which is closest to the target pen holding posture in the plurality of preset pen holding postures is determined by calculating the matching degree between the target pen holding posture and the plurality of preset pen holding postures, so that the user can be reminded to adjust the pen holding posture under the condition that the pen holding posture of the user is inaccurate, on one hand, the recognition probability is increased, and on the other hand, the user can change the bad pen holding posture.
In the embodiment of the invention, the different pen holding postures have larger difference, and the pen holding posture can be uniquely determined by the number, area and position information of contact points generated after the positions such as fingertips, finger side edges, tiger mouths and the like are contacted with the electronic pen.
Wherein, the target mode of S102:
under the condition that the number of the contact points is five, three contact points in the five contact points are positioned on a first plane, and the other two contact points are positioned on a second plane, the writing brush mode is adopted; wherein the first plane and the second plane are not the same plane. (as shown in fig. 2).
Under the condition that the number of the contact points is four, two of the four contact points are positioned on the third plane, and the other two contact points are positioned on the fourth plane, the writing brush mode is adopted; wherein the third plane and the fourth plane are not the same plane.
In the case where the number of the contact points is four, three of the four contact points are located on the same plane, and the other contact point is located away from the three contact points, the pen mode is performed (as shown in fig. 3).
In the case where the number of the contact points is five and only three of the five contact points are located on the same plane, the stylus mode is adopted (as shown in fig. 4).
According to the embodiment of the invention, the target pen holding posture is determined based on the number of the contact points, the contact position information and the contact area, and the switching pen can be further selected on the interface of the selection pen according to the target pen holding posture, so that the drawing area or the text input area can not be shielded or occupied, the convenience of using the electronic pen is improved on one hand, and the user experience is improved on the other hand.
In the embodiment of the present invention, the target mode includes: the shape and color of the display content.
In one example, when the target mode is a writing brush mode, the shape of the displayed content is the shape of writing brush writing, and the color is pure black by default;
when the target mode is a pen mode, the shape of the displayed content is the default shape written by the pen, and the default color is pure black;
when the target mode is the sketch pen mode, the shape of the displayed content is the default shape written by a real pencil, and the default color is pure black.
The plurality of preset pen holding postures comprise the following steps: standard pen-holding gestures in a standard pen-holding gesture library and/or user-defined pen-holding gestures.
The multiple preset pen holding gestures described in the embodiment of the present invention include, but are not limited to, a standard pen holding gesture in a standard pen holding gesture library and/or a user-defined pen holding gesture, and can increase the matching probability between a target pen holding gesture and multiple preset pen holding gestures, thereby improving user experience.
In an embodiment of the present invention, in a process of determining a target pen type corresponding to a target pen-holding posture from a plurality of preset pen-holding postures, if none of the target pen-holding postures matches with the plurality of preset pen-holding postures, the display method further includes:
and under the condition that the target pen holding posture is not matched with a plurality of preset pen holding postures, the target mode is a default display mode. The default mode is a writing brush mode, a pen mode or a sketch pen mode.
According to the embodiment of the invention, when the target pen holding posture is not matched with the plurality of preset pen holding postures, drawing or text input is carried out according to the default pen type, so that poor user experience caused by the fact that the target pen holding posture of the user cannot be identified is avoided.
Fig. 5 is a flowchart of another display method according to an embodiment of the present invention. As shown in fig. 5, the display method includes:
s501: the electronic pen acquires contact information, wherein the contact information comprises contact point number, contact position information and contact area information;
s502: the electronic pen inputs information on the electronic equipment, and the input information is displayed on the electronic equipment in a target mode; wherein the target mode is a display mode corresponding to the contact information.
In the embodiment of the invention, the information input by the electronic pen on the electronic equipment is displayed in a display mode corresponding to the contact information acquired by the electronic pen, wherein the contact information comprises the number of contact points, contact position information and contact area information; and then can not select the switching pen on the interface of selection pen, just can not shelter from or occupy the input area yet, improved the convenience of using the electronic pen on the one hand, on the other hand has improved user experience.
In an embodiment of the present invention, the acquiring, by the electronic pen, the contact information in S501 includes:
the electronic pen acquires contact information detected from the glove of the pressure sensor.
In the embodiment of the invention, the glove of the pressure sensor is provided with the sensor capable of capturing the pen holding gesture, and the glove of the pressure sensor is also provided with Augmented Reality (AR) glasses of a camera (capable of identifying the target pen holding gesture based on an image recognition technology).
The embodiment of the invention can enrich the use scenes, for example, the use of the pressure sensor gloves and AR glasses is matched, on one hand, the contact information can be obtained, and on the other hand, the interestingness is increased.
In an embodiment of the present invention, before the electronic pen inputs information on the electronic device and the input information is displayed on the electronic device in a target manner, it is further required to determine a target pen-holding posture and a target manner corresponding to the target pen-holding posture based on the contact information, which specifically includes:
determining a target pen holding posture according to the number of the contact points, the contact position information and the contact area information;
and determining a target mode corresponding to the target pen-holding posture from the display modes corresponding to each preset pen-holding posture in the plurality of preset pen-holding postures.
Before determining the target mode, the display method further includes:
respectively determining each matching degree between the target pen holding posture and a plurality of preset pen holding postures;
and generating prompt information to remind a user to adjust the target pen holding posture under the condition that the matching degree does not meet the preset matching degree.
According to the embodiment of the invention, the pen holding posture which is closest to the target pen holding posture in the plurality of preset pen holding postures is determined by calculating the matching degree between the target pen holding posture and the plurality of preset pen holding postures, so that the user can be reminded to adjust the pen holding posture under the condition that the pen holding posture of the user is inaccurate, on one hand, the recognition probability is increased, and on the other hand, the user can change the bad pen holding posture.
In the embodiment of the invention, the different pen holding postures have larger difference, and the pen holding posture can be uniquely determined by the number, area and position information of contact points generated after the positions such as fingertips, finger side edges, tiger mouths and the like are contacted with the electronic pen.
Wherein, the target mode of S102:
under the condition that the number of the contact points is five, three contact points in the five contact points are positioned on a first plane, and the other two contact points are positioned on a second plane, the writing brush mode is adopted; wherein the first plane and the second plane are not the same plane. (as shown in fig. 2).
Under the condition that the number of the contact points is four, two of the four contact points are positioned on the third plane, and the other two contact points are positioned on the fourth plane, the writing brush mode is adopted; wherein the third plane and the fourth plane are not the same plane.
In the case where the number of the contact points is four, three of the four contact points are located on the same plane, and the other contact point is located away from the three contact points, the pen mode is performed (as shown in fig. 3).
In the case where the number of the contact points is five and only three of the five contact points are located on the same plane, the stylus mode is adopted (as shown in fig. 4).
According to the embodiment of the invention, the target pen holding posture is determined based on the number of the contact points, the contact position information and the contact area, and the switching pen can be further selected on the interface of the selection pen according to the target pen holding posture, so that the drawing area or the text input area can not be shielded or occupied, the convenience of using the electronic pen is improved on one hand, and the user experience is improved on the other hand.
In the embodiment of the present invention, the target mode includes: the shape and color of the display content.
In one example, when the target mode is a writing brush mode, the shape of the displayed content is the shape of writing brush writing, and the color is pure black by default;
when the target mode is a pen mode, the shape of the displayed content is the default shape written by the pen, and the default color is pure black;
when the target mode is the sketch pen mode, the shape of the displayed content is the default shape written by a real pencil, and the default color is pure black.
The plurality of preset pen holding postures comprise the following steps: standard pen-holding gestures in a standard pen-holding gesture library and/or user-defined pen-holding gestures.
The multiple preset pen holding gestures described in the embodiment of the present invention include, but are not limited to, a standard pen holding gesture in a standard pen holding gesture library and/or a user-defined pen holding gesture, and can increase the matching probability between a target pen holding gesture and multiple preset pen holding gestures, thereby improving user experience.
In an embodiment of the present invention, in a process of determining a target pen type corresponding to a target pen-holding posture from a plurality of preset pen-holding postures, if none of the target pen-holding postures matches with the plurality of preset pen-holding postures, the display method further includes:
and under the condition that the target pen holding posture is not matched with a plurality of preset pen holding postures, the target mode is a default display mode. The default mode is a writing brush mode, a pen mode or a sketch pen mode.
According to the embodiment of the invention, when the target pen holding posture is not matched with the plurality of preset pen holding postures, drawing or text input is carried out according to the default pen type, so that poor user experience caused by the fact that the target pen holding posture of the user cannot be identified is avoided.
After the target mode is determined, the target mode is sent to the drawing software so that the input information is displayed in the target mode in the drawing software.
Fig. 6 is a schematic diagram of a display device according to an embodiment of the present invention. As shown in fig. 6, the display device 60 includes:
the acquiring module 601 is configured to acquire contact information received by an electronic pen, where the contact information includes the number of contact points, contact position information, and contact area information;
a receiving module 602, configured to receive information input by an electronic pen on the electronic pen;
a display module 603 configured to display the information in a target manner; and the target mode is a display mode corresponding to the contact information.
In the embodiment of the invention, the information input by the electronic pen on the electronic equipment is displayed in a display mode corresponding to the contact information of the electronic pen, wherein the contact information comprises the number of contact points, the contact position information and the contact area information; and then can not select the switching pen on the interface of selection pen, just can not shelter from or occupy drawing region or text input area yet, improved the convenience of using the electronic pen on the one hand, on the other hand has improved user experience.
Optionally, the display device further includes:
the determining module is used for determining the target pen holding posture according to the number of the contact points, the contact position information and the contact area information;
the determining module is further configured to determine a target mode corresponding to the target pen-holding posture from the display modes corresponding to each preset pen-holding posture in the plurality of preset pen-holding postures.
Optionally, the display device further includes:
the determining module is further used for respectively determining each matching degree between the target pen holding posture and a plurality of preset pen holding postures;
and the generating module is used for generating prompt information to remind a user to adjust the target pen holding posture under the condition that the matching degree does not meet the preset matching degree.
Optionally, the target mode:
under the condition that the number of the contact points is five, three contact points in the five contact points are positioned on a first plane, and the other two contact points are positioned on a second plane, the writing brush mode is adopted; wherein the first plane and the second plane are not the same plane;
under the condition that the number of the contact points is four, two of the four contact points are positioned on the third plane, and the other two contact points are positioned on the fourth plane, the writing brush mode is adopted; wherein the third plane and the fourth plane are not the same plane;
under the condition that the number of the contact points is four, three of the four contact points are positioned on the same plane, and the position of the other contact point is far away from the positions of the three contact points, the pen mode is adopted;
in the case where the number of the contact points is five and only three of the five contact points are located on the same plane, the stylus pen mode is used.
The display device provided by the embodiment of the present invention can implement each process in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
Fig. 7 is a schematic diagram of another display device according to an embodiment of the invention. As shown in fig. 7, the display device 70 includes:
an obtaining module 701, configured to obtain contact information, where the contact information includes the number of contact points, contact position information, and contact area information;
an input module 702, configured to input information on an electronic device by an electronic pen, where the input information is displayed on the electronic device in a target manner;
wherein the target mode is a display mode corresponding to the contact information.
In the embodiment of the invention, the information input by the electronic pen on the electronic equipment is displayed in a display mode corresponding to the contact information acquired by the electronic pen, wherein the contact information comprises the number of contact points, contact position information and contact area information; and then can not select the switching pen on the interface of selection pen, just can not shelter from or occupy drawing region or text input area yet, improved the convenience of using the electronic pen on the one hand, on the other hand has improved user experience.
The display device provided by the embodiment of the present invention can implement each process of the method embodiment of fig. 5, and is not described herein again to avoid repetition.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 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.
The radio frequency unit 101 is configured to acquire contact information received by the electronic pen, where the contact information includes the number of contact points, contact position information, and contact area information; and
receiving information input by an electronic pen on the electronic equipment;
a processor 110 for displaying information in a targeted manner; wherein the target mode is a display mode corresponding to the contact information.
In the embodiment of the invention, the information input by the electronic pen on the electronic equipment is displayed in a display mode corresponding to the contact information of the electronic pen, wherein the contact information comprises the number of contact points, the contact position information and the contact area information; and then can not select the switching pen on the interface of selection pen, just can not shelter from or occupy drawing region or text input area yet, improved the convenience of using the electronic pen on the one hand, on the other hand has improved user experience.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can 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 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, 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 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 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 105 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 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 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 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 8, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. 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 data 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 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data 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 data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; preferably, the processor 110 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 110.
The electronic device 100 may further include a power source 111 (such as a battery) for supplying power to each component, and preferably, the power source 111 may be logically connected to the processor 110 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 100 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the foregoing display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present 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 (11)

1. A display method applied to electronic equipment is characterized by comprising the following steps:
the electronic equipment acquires contact information received by an electronic pen, wherein the contact information comprises contact point number, contact position information and contact area information;
receiving information input by the electronic pen on the electronic equipment, and displaying the information in a target mode;
and the target mode is a display mode corresponding to the contact information.
2. The method of claim 1, wherein prior to receiving information input by the electronic pen on the electronic device, the method further comprises, prior to displaying the information in a targeted manner:
determining a target pen holding posture according to the number of the contact points, the contact position information and the contact area information;
and determining the target mode corresponding to the target pen-holding posture from the display modes corresponding to each preset pen-holding posture in a plurality of preset pen-holding postures.
3. The method of claim 2, wherein prior to determining the target manner corresponding to the target pen-holding gesture from the display manners corresponding to each of a plurality of preset pen-holding gestures, the method further comprises:
respectively determining the matching degrees between the target pen holding posture and the preset pen holding postures;
and generating prompt information to remind a user to adjust the target pen holding posture under the condition that the matching degree does not meet the preset matching degree.
4. The method of claim 1, wherein the target mode:
under the condition that the number of the contact points is five, three contact points in the five contact points are positioned on a first plane, and the other two contact points are positioned on a second plane, the writing brush mode is adopted; wherein the first plane and the second plane are not the same plane;
under the condition that the number of the contact points is four, two of the four contact points are positioned on the third plane, and the other two contact points are positioned on the fourth plane, the writing brush mode is adopted; wherein the third plane and the fourth plane are not the same plane;
under the condition that the number of the contact points is four, three of the four contact points are positioned on the same plane, and the position of the other contact point is far away from the positions of the three contact points, the pen mode is adopted;
and under the condition that the contact points are five and only three of the five contact points are positioned on the same plane, the method is in a sketch pen mode.
5. A display method is applied to an electronic pen, and is characterized by comprising the following steps:
the electronic pen acquires contact information, wherein the contact information comprises contact point number, contact position information and contact area information;
the electronic pen inputs information on an electronic device, and the input information is displayed on the electronic device in a target mode;
and the target mode is a display mode corresponding to the contact information.
6. A display device, comprising:
the electronic pen comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring contact information received by the electronic pen, and the contact information comprises the number of contact points, contact position information and contact area information;
the receiving module is used for receiving information input by the electronic pen on the display device;
a display module for displaying the information in a targeted manner; and the target mode is a display mode corresponding to the contact information.
7. The display device according to claim 6, further comprising:
the determining module is used for determining the target pen holding posture according to the number of the contact points, the contact position information and the contact area information;
the determining module is further configured to determine the target mode corresponding to the target pen-holding posture from display modes corresponding to each preset pen-holding posture in a plurality of preset pen-holding postures.
8. The display device according to claim 7, further comprising:
the determining module is further configured to determine respective matching degrees between the target pen-holding posture and the plurality of preset pen-holding postures respectively;
and the generating module is used for generating prompt information under the condition that the matching degree does not meet the preset matching degree so as to remind a user to adjust the target pen holding posture.
9. The display device according to claim 6, wherein the target mode:
under the condition that the number of the contact points is five, three contact points in the five contact points are positioned on a first plane, and the other two contact points are positioned on a second plane, the writing brush mode is adopted; wherein the first plane and the second plane are not the same plane;
under the condition that the number of the contact points is four, two of the four contact points are positioned on the third plane, and the other two contact points are positioned on the fourth plane, the writing brush mode is adopted; wherein the third plane and the fourth plane are not the same plane;
under the condition that the number of the contact points is four, three of the four contact points are positioned on the same plane, and the position of the other contact point is far away from the positions of the three contact points, the pen mode is adopted;
and under the condition that the contact points are five and only three of the five contact points are positioned on the same plane, the method is in a sketch pen mode.
10. A display device, comprising:
the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring contact information, and the contact information comprises the number of contact points, contact position information and contact area information;
the input module is used for inputting information on the electronic equipment, and the input information is displayed on the electronic equipment in a target mode;
and the target mode is a display mode corresponding to the contact information.
11. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the display method according to any one of claims 1 to 4 or the steps of the display method according to claim 5.
CN201910926033.1A 2019-09-27 2019-09-27 Display method and electronic equipment Pending CN110795016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926033.1A CN110795016A (en) 2019-09-27 2019-09-27 Display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926033.1A CN110795016A (en) 2019-09-27 2019-09-27 Display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110795016A true CN110795016A (en) 2020-02-14

Family

ID=69438646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926033.1A Pending CN110795016A (en) 2019-09-27 2019-09-27 Display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110795016A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459306A (en) * 2020-03-12 2020-07-28 维沃移动通信有限公司 Information display method, information sending method, electronic pen and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156568A (en) * 2011-01-06 2011-08-17 王岩泽 Handwriting pen and handwriting pad for realizing handwriting entry of brush pattern
CN103870039A (en) * 2012-12-10 2014-06-18 联想(北京)有限公司 Input method and electronic device
CN108446036A (en) * 2018-03-27 2018-08-24 京东方科技集团股份有限公司 Intelligent writing equipment and intelligent writing system
CN108919983A (en) * 2018-06-15 2018-11-30 广州视源电子科技股份有限公司 Writing based on smart pen operation starts method and system
CN108958511A (en) * 2018-06-15 2018-12-07 广州视源电子科技股份有限公司 Interactive display device writes control method, mobile terminal and storage medium
CN110235096A (en) * 2017-01-25 2019-09-13 微软技术许可有限责任公司 User interface is redrawn based on a proximity

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156568A (en) * 2011-01-06 2011-08-17 王岩泽 Handwriting pen and handwriting pad for realizing handwriting entry of brush pattern
CN103870039A (en) * 2012-12-10 2014-06-18 联想(北京)有限公司 Input method and electronic device
CN110235096A (en) * 2017-01-25 2019-09-13 微软技术许可有限责任公司 User interface is redrawn based on a proximity
CN108446036A (en) * 2018-03-27 2018-08-24 京东方科技集团股份有限公司 Intelligent writing equipment and intelligent writing system
CN108919983A (en) * 2018-06-15 2018-11-30 广州视源电子科技股份有限公司 Writing based on smart pen operation starts method and system
CN108958511A (en) * 2018-06-15 2018-12-07 广州视源电子科技股份有限公司 Interactive display device writes control method, mobile terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459306A (en) * 2020-03-12 2020-07-28 维沃移动通信有限公司 Information display method, information sending method, electronic pen and electronic equipment
CN111459306B (en) * 2020-03-12 2023-09-26 维沃移动通信有限公司 Information display method, information transmission method, electronic pen and electronic equipment

Similar Documents

Publication Publication Date Title
CN108958615B (en) Display control method, terminal and computer readable storage medium
CN107943390B (en) Character copying method and mobile terminal
CN109857306B (en) Screen capturing method and terminal equipment
CN109240577B (en) Screen capturing method and terminal
CN108132752B (en) Text editing method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN110618969B (en) Icon display method and electronic equipment
CN107783747B (en) Interface display processing method and mobile terminal
CN109634438B (en) Input method control method and terminal equipment
CN108600544B (en) Single-hand control method and terminal
CN108055399B (en) Text copying method and mobile terminal
CN111522613B (en) Screen capturing method and electronic equipment
CN111464428A (en) Audio processing method, server, electronic device, and computer-readable storage medium
CN111142679A (en) Display processing method and electronic equipment
JP7408627B2 (en) Character input method and terminal
CN110908750B (en) Screen capturing method and electronic equipment
CN111078002A (en) Suspended gesture recognition method and terminal equipment
CN108984099B (en) Man-machine interaction method and terminal
CN111061446A (en) Display method and electronic equipment
CN110780751A (en) Information processing method and electronic equipment
CN111130995B (en) Image control method, electronic device, and storage medium
CN110007821B (en) Operation method and terminal equipment
CN109902679B (en) Icon display method and terminal equipment
CN109714462B (en) Method for marking telephone number and mobile terminal thereof
CN109445656B (en) Screen control 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214

RJ01 Rejection of invention patent application after publication