CN111324220B - Display method, electronic device, and storage medium - Google Patents

Display method, electronic device, and storage medium Download PDF

Info

Publication number
CN111324220B
CN111324220B CN202010076862.8A CN202010076862A CN111324220B CN 111324220 B CN111324220 B CN 111324220B CN 202010076862 A CN202010076862 A CN 202010076862A CN 111324220 B CN111324220 B CN 111324220B
Authority
CN
China
Prior art keywords
interactive interface
input pen
electronic equipment
trigger signal
pen
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.)
Active
Application number
CN202010076862.8A
Other languages
Chinese (zh)
Other versions
CN111324220A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010076862.8A priority Critical patent/CN111324220B/en
Publication of CN111324220A publication Critical patent/CN111324220A/en
Application granted granted Critical
Publication of CN111324220B publication Critical patent/CN111324220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Abstract

The embodiment of the application discloses a display method, electronic equipment and a computer storage medium, wherein the method comprises the following steps: obtaining an initial trigger signal, wherein the initial trigger signal represents the initial contact disconnection of an input pen relative to the electronic equipment; controlling an interactive interface of an input pen to be displayed on a display screen of the electronic equipment according to a display track based on the initial trigger signal; the display track is matched with the motion track of the input pen on the electronic equipment.

Description

Display method, electronic device, and storage medium
Technical Field
The present application relates to display technologies, and in particular, to a display method, an electronic device, and a storage medium.
Background
In the related art, in order to realize quick input, some electronic devices in the market, such as mobile phones, tablet computers, and the like, are equipped with an input pen. At present, electronic equipment equipped with an input pen on the market mainly focuses on improving the writing experience after the input pen is completely pulled out. In practical application, there is a certain process for inserting and extracting the input pen, and how to use this process to further improve the user experience of the input pen becomes a technical problem to be solved urgently.
Disclosure of Invention
In order to solve the existing technical problems, embodiments of the present application provide a display method, an electronic device, and a computer storage medium.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a display method, which comprises the following steps:
obtaining an initial trigger signal, wherein the initial trigger signal represents the initial contact disconnection of an input pen relative to the electronic equipment;
controlling an interactive interface of an input pen to be displayed on a display screen of the electronic equipment according to a display track based on the initial trigger signal;
the display track is matched with the motion track of the input pen on the electronic equipment.
In the above scheme, the method further comprises:
obtaining a reset trigger signal; the reset trigger signal represents an initial contact of the input pen relative to the electronic equipment;
controlling a display screen of the electronic equipment to hide the interactive interface of the input pen according to a recovery track based on the reset trigger signal;
the recycling track is matched with the motion track of the input pen on the electronic equipment.
In the above scheme, the process of displaying the interactive interface of the input pen according to the display track is related to the motion parameters of the motion track of the input pen on the electronic device;
And/or the presence of a gas in the atmosphere,
the step of controlling the interactive interface of the input pen to be hidden according to a recovery track on the display screen of the electronic device based on the reset trigger signal comprises the following steps:
acquiring a recovery trigger signal;
controlling the interactive interface of the input pen to be folded on a display screen of the electronic equipment according to the recovery track based on the recovery trigger signal;
controlling to hide the interactive interface of the input pen based on the reset trigger signal;
the process of hiding the interactive interface of the input pen according to the recycling track is related to the motion parameters of the motion track of the input pen on the electronic equipment.
In the above solution, the interactive interface includes at least one control of an application program, and the at least one application program is related to the input of the stylus.
In the above scheme, the controlling, based on the initial trigger signal, an interactive interface of an input pen on a display screen of the electronic device according to a display track includes:
obtaining state information of the electronic equipment based on the initial trigger signal;
determining interactive contents of the interactive interface of the input pen based on the state information of the electronic equipment;
And the interactive contents of the interactive interface of the input pen are different according to different state information.
In the above solution, the determining the interactive content of the interactive interface of the stylus based on the state information of the electronic device includes:
if the state information of the electronic equipment indicates that the current application program is irrelevant to the input of the input pen, determining a control of the at least one application program as the interactive content of the interactive interface, wherein the at least one application program is relevant to the input of the input pen;
and if the state information of the electronic equipment represents that the current application program is related to the input of the input pen, determining the handwriting effect piece of at least one input pen as the interactive content of the interactive interface.
In the foregoing solution, the controlling, based on the initial trigger signal, an interactive interface of a stylus displayed on a display screen of the electronic device according to a display trajectory includes:
obtaining state information of the electronic equipment based on the initial trigger signal;
determining whether to display the interactive interface of the stylus based on state information of the electronic device;
if the state information of the electronic equipment represents that the electronic equipment is in a screen locking state, controlling the display screen not to display the interactive interface of the input pen;
And if the state information of the electronic equipment represents that the electronic equipment is in an unlocked state, controlling a display screen of the electronic equipment to display the interactive interface of the input pen according to a display track.
In the foregoing solution, if the state information of the electronic device indicates that the electronic device is in the screen locking state, the method further includes:
enabling a first application program in the screen locking state based on the initial trigger signal to realize the input of the input pen; the first application is associated with input by the stylus.
An embodiment of the present application provides an electronic device, which includes: a display screen and a processor;
the processor is used for obtaining an initial trigger signal, and the initial trigger signal represents that the input pen is disconnected relative to the initial contact of the electronic equipment;
controlling an interactive interface of an input pen to be displayed on the display screen according to a display track based on the initial trigger signal;
the display track is matched with the motion track of the input pen on the electronic equipment.
An embodiment of the application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor at least implements the steps of the method:
Obtaining an initial trigger signal, wherein the initial trigger signal represents the initial contact disconnection of an input pen relative to the electronic equipment;
controlling an interactive interface of an input pen to be displayed on a display screen of the electronic equipment according to a display track based on the initial trigger signal;
the display track is matched with the motion track of the input pen on the electronic equipment.
The embodiment of the application provides a display method, electronic equipment and a computer storage medium, wherein the method comprises the following steps: obtaining an initial trigger signal, wherein the initial trigger signal represents the initial contact disconnection of an input pen relative to the electronic equipment; controlling an interactive interface of an input pen to be displayed on a display screen of the electronic equipment according to a display track based on the initial trigger signal; the display track is matched with the motion track of the input pen on the electronic equipment.
In the embodiment of the application, the interactive interface of the input pen is displayed according to the display track matched with the motion track of the input pen, and the display is dynamic. By utilizing the interactive interface for dynamically displaying the input pen in the pen drawing process, the user can obtain the information of the application program related to the input pen as early as possible, and the interaction efficiency of the input pen is improved, namely the interactive interface for displaying the interactive interface of the input pen based on the display track can be obtained when the input pen is not completely drawn so as to gradually input the information of the application program related to the input pen, so that the user can determine the application program required to be selected as early as possible to input by using the input pen. Meanwhile, the unfolding process of the interactive interface of the input pen has a guiding effect on the condition that the user pulls out the input pen, and the user can obtain the pulling-out direction and the pulling-out process of the input pen through the process of displaying the interactive interface of the input pen based on the display track, namely, the user is guided to correctly pull out the input pen. The user experience is improved.
In addition, the hiding of the interactive interface is realized by utilizing the process of inserting the pen, the automatic hiding of the interactive interface can be realized without manual hiding of a user, and a brand-new use experience aiming at the input pen is provided. The input pen can be completely inserted into the bottom of the accommodating space to hide the interactive interface, and the user can be ensured to automatically hide the interactive interface under the condition that the pen is not used any more. And providing different interactive contents of the interactive interface for the user according to the state information of the electronic equipment when the initial trigger signal is obtained. And determining whether to display the interactive interface according to the screen locking state or the screen unlocking state of the electronic equipment when the initial trigger signal is obtained, such as the unlocking state, so that safe display can be realized. Under the condition of a screen locking state, the display of the interactive interface of the started application program related to the input of the input pen can be directly displayed without displaying the interactive interface, so that the writing operation can be directly carried out after the input pen is pulled out.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic implementation flow diagram of a first embodiment of a display method provided in the present application;
FIG. 2 is a first schematic view of an electronic device with a stylus according to the present disclosure;
FIG. 3 is a second schematic diagram of the present application illustrating a stylus inserted into an electronic device;
FIG. 4 is a schematic diagram illustrating an interactive interface provided by the present application according to a display trajectory;
fig. 5 is a schematic diagram illustrating an implementation flow of an embodiment of a display method provided in the present application;
fig. 6 is a schematic view of an implementation flow of an embodiment of a display method provided in the present application;
fig. 7 is a schematic view of a contact arrangement of the accommodating space provided in the present application;
FIG. 8 is a schematic diagram illustrating the retraction of an interactive interface according to a retrieval trajectory, according to the present application;
FIG. 9 is a schematic diagram illustrating an interactive interface provided by the present application being retracted and hidden according to a recycling trajectory;
FIG. 10 is a schematic illustration showing an icon of an application program related to input of a stylus in an interactive interface provided by the present application;
FIG. 11 is a collapsed schematic diagram of an icon of an application associated with input from a stylus in an interactive interface provided herein;
fig. 12 is a schematic flow chart illustrating an implementation of an embodiment of a display method provided in the present application;
FIG. 13 is a schematic illustration of a display of a handwriting effect piece provided herein;
FIG. 14 is a schematic illustration of a display of an application icon associated with input from a stylus as provided herein;
fig. 15 is a schematic flow chart illustrating an implementation of an embodiment of a display method provided in the present application;
fig. 16 is a first schematic structural diagram illustrating a composition of an embodiment of an electronic device provided in the present application;
fig. 17 is a schematic structural diagram of a second electronic device according to an embodiment of the present disclosure;
fig. 18 is a third schematic diagram illustrating the input pen provided by the present application being inserted into an electronic device.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
In the following embodiments of the display method and the electronic device provided by the present application, the electronic device may be: tablet computers, smart phones, e-readers, notebook computers, and the like. The preferred electronic equipment of this application is cell-phone or panel computer.
The application provides an embodiment of a display method, which is applied to electronic equipment. As shown in fig. 1, the method includes:
s101: obtaining an initial trigger signal, wherein the initial trigger signal represents the initial contact disconnection of the input pen relative to the electronic equipment;
in this step, the electronic device obtains an initial trigger signal. The input pen may be a passive pen or an active pen. If the stylus is a passive stylus, the initial trigger signal is obtained by the electronic device itself. If the input pen is the active pen, the electronic equipment obtains an initial trigger signal, and the active pen sends the initial trigger signal to the electronic equipment to obtain the initial trigger signal.
S102: controlling an interactive interface of an input pen to be displayed on a display screen of the electronic equipment according to a display track based on the initial trigger signal; wherein the display track is matched with the motion track of the input pen on the electronic equipment.
In S101 to S102, the interactive interface of the input pen is displayed when an initial contact disconnection (initial trigger) signal representing that the input pen is in relation to the electronic device is obtained, and the interactive interface is displayed according to a display trajectory matched with a motion trajectory of the input pen on the electronic device in a process of displaying the interactive interface. It is understood that the display track may be preset and consistent with the motion track of the input pen on the electronic device; the display track can also be controlled based on the actual motion track of the input pen on the electronic equipment, and at the moment, the motion track of the input pen on the electronic equipment can be regarded as the motion track of the input pen in the process of pulling the input pen out of the electronic equipment, and is a dynamic process. The display track determined in any one of the above manners and the display track matched with the motion track of the input pen are also a dynamic display process, that is, in the process of pulling the pen out of the electronic device in the embodiment of the present application, the dynamic display of the interactive interface of the input pen is realized, and the dynamic display process is consistent with or synchronous with the motion track of the pen in the process of pulling the pen out of the electronic device. By utilizing the interactive interface for dynamically displaying the input pen in the pen drawing process, the user can obtain the information of the application program related to the input pen as early as possible, and the interaction efficiency of the input pen is improved, namely the interactive interface for displaying the interactive interface of the input pen based on the display track can be obtained when the input pen is not completely drawn so as to gradually input the information of the application program related to the input pen, so that the user can determine the application program required to be selected as early as possible to input by using the input pen. Meanwhile, the unfolding process of the interactive interface of the input pen has a guiding effect on the condition that the user pulls out the input pen, and the user can obtain the pulling-out direction and the pulling-out process of the input pen through the process of displaying the interactive interface of the input pen based on the display track, namely, the user is guided to correctly pull out the input pen. The user experience is improved.
It should be understood by those skilled in the art that a state in which an input pen (hereinafter, simply referred to as a pen for convenience of description) is inserted into the electronic device may be as shown in any one of fig. 2, 3 and 18. In fig. 2, an accommodating space is formed on the electronic device. Under the default condition, the pen can be inserted into the accommodating space so as to integrally carry the electronic equipment and the input pen. When the user uses the pen, the pen can be pulled out of the containing space, and the input of the input pen is realized on the (touch control) display screen of the electronic equipment. In fig. 3, a fastener for fastening a pen is provided on a side edge, specifically, a left side edge of the electronic device. Under the default condition, the pen can be inserted into the fastener so as to integrally carry the electronic equipment and the input pen. The pen can be pulled out of the fastener under the condition that the user uses the pen. In fig. 18, an accommodation space (corresponding to a groove for accommodating an input pen formed in the short side direction of the mobile phone) is provided at the short side of the electronic device, and the accommodation space is close to a half cylinder or 1/4 cylinder compared with the accommodation space in fig. 2 which is a cylinder. The stylus may be received into this half cylinder or cylinder of 1/4 to enable carrying the electronic device and stylus together. When the user uses the pen, the pen can be pulled out from the containing space to realize the input of the input pen.
It will be appreciated by those skilled in the art that the active pen may actively transmit signals to the electronic device, and the passive pen may not transmit signals to the electronic device. In the embodiment of the application, a pressure or touch detection circuit is arranged in the active pen, and whether the user performs plugging and unplugging operations on the pen is identified through pressure or touch generated from the user to the active pen. Considering that in practical application, the pulling action is to pull out the input pen originally in the electronic device, the detection position of the pressure or outlet detection circuit is arranged at the tail end of the active pen (namely, the position which can be contacted by the hand of the input pen is pulled out or checked), so as to detect the pressure or touch control acted on the active pen by the user in real time, and if the pressure or the outlet is detected to be changed from nothing, the user is considered to pull out the active pen. When the active pen detects that the user pulls out the pen from the containing space or the buckle piece, the active pen generates an initial trigger signal and sends the initial trigger signal to the electronic equipment, and the electronic equipment receives the initial trigger signal sent by the active pen. For the passive pen, a conductor such as a metal sheet is arranged at a pen point part of the passive pen, and a contact point (bottom contact point) is arranged at a contact part of the bottom of the accommodating space and the pen point, and the bottom contact point can generate an electric signal under the condition of contacting with the metal sheet at the pen point. The bottom contact may be specifically a switch circuit, and when the passive pen is accommodated in the accommodating space, the conductor of the pen point portion of the input pen conducts the switch circuit to enable the electronic device to obtain a conduction signal, where the conduction signal is used to indicate that the input pen is inserted into the accommodating space. If the user needs to pull out the input pen to make a pulling action (i.e. the input pen is not completely separated from the accommodating space), the conductor of the pen point part of the inner input pen is separated from the switch circuit, so that the switch circuit is disconnected, and the electronic device obtains disconnection information, wherein the disconnection information is used for representing that the input pen is pulled out of the accommodating space. The electronic equipment detects a contact signal, and if the contact signal can be detected, the contact between the bottom contact and the metal sheet is described; and in the case that the metal signal cannot be detected, the bottom contact is disconnected from the metal sheet, and in the case that the metal sheet is detected to be disconnected from the bottom contact, the electronic equipment generates an initial trigger signal.
Furthermore, in addition to providing the contacts (bottom contacts) at the bottom of the accommodating space, if the electronic device is taken as a mobile phone, for example, the accommodating space for accommodating a pen is provided in the long side direction of the mobile phone (as shown in fig. 2), at least one adjacent contact, preferably at least two adjacent contacts, may be provided at the side wall of the accommodating space along the long side direction, and each two adjacent contacts may have a certain distance. If one contact is provided at the side wall, this one contact may be at a distance from the bottom contact. In the process of pulling out the pen, taking the input pen as a passive pen as an example, along with the pulling out of the input pen, the input pen can generate a trigger signal under the condition that the input pen is in contact with any one contact point arranged at the side wall in the process of pulling out, so that the display of an interactive interface is realized. The interactive interface is displayed after being pulled out (namely started) from the position represented by the initial contact signal, and the user can be prompted which application programs related to the input pen are available in the pulling-out process through a series of trigger signals, so that the user can be prepared for selecting the application programs earlier.
At the moment when the user pulls the stylus out of the receiving space, the electronic device changes from being able to detect that the on signal is indicative of the contact of the bottom contact with the metal sheet to the off signal is indicative of the contact of the bottom contact with the metal sheet (or if the off signal is obtained), an initial trigger signal is generated and the electronic device is ready to present the interactive interface. In the process of pulling out the pen, taking a passive pen as an example, along with the movement of the pen, the metal sheet at the pen point contacts with different contacts at the side wall of the accommodating space, so that a trigger signal is generated, and the trigger signal can trigger the electronic equipment to control the expansion degree of the interactive interface. As shown in fig. 2, 3 adjacent contacts are arranged on the side wall of the accommodating space, the electronic device performs real-time detection of a contact signal, the pen is pulled out downwards (vertically along the long side direction of the mobile phone), the pen point first contacts the contact 1, the electronic device generates a trigger signal 1, and a part of the interactive interface is shown as a show 1/3, as shown in fig. 4. The pen is continuously pulled out, the metal sheet at the pen point contacts the contact point 2, the electronic equipment generates a trigger signal 2, and the 1/3 of the interactive interface is continuously displayed on the basis of the original 1/3 interface. The pen is continuously pulled out downwards, the metal sheet at the pen point contacts the contact point 3, the electronic equipment generates a trigger signal 3, and the rest 1/3 of the interactive interface is continuously displayed on the basis of the original 2/3 interface. Based on the contact between the metal sheet at the pen point and each contact, the whole interactive interface is gradually displayed until the whole interactive interface is displayed. The method and the device have the advantages that the interactive interface is displayed in the pulling-out process, and the application programs related to the input pen can be displayed on the interactive interface.
If the pen is an active pen, the active pen detects the pressure acted on the active pen by a user through a pressure detection circuit, if the pressure is detected to change from nothing, the user is considered to pull out the active pen, an initial trigger signal is generated and sent to the electronic equipment, and the electronic equipment receives the initial trigger signal and prepares to display an interactive interface. Aiming at the 3 contacts arranged on the side wall of the accommodating space, the active pen can detect the contacts through the arranged detection circuit, each contact is detected to generate a trigger signal and send the trigger signal to the electronic equipment, and the electronic equipment dynamically displays an interactive interface aiming at the trigger signal. For example, the active pen generates the 1 st trigger signal when the active pen is pulled 1/3, and sends the trigger signal to the electronic device, and the electronic device makes 1/3 presentation of the interactive interface based on the trigger signal. The method comprises the steps of generating 2 nd and 3 rd trigger signals when an active pen is pulled out from 2/3 and is completely pulled out, sending the trigger signals to electronic equipment, displaying 1/3 interfaces on the basis of original 1/3 interfaces by the electronic equipment to achieve displaying of 2/3 interactive interfaces on the basis of the trigger signals, and displaying 1/3 interfaces on the basis of original 2/3 interfaces to achieve displaying of the whole interactive interfaces.
The application provides another embodiment of a display method, which is applied to electronic equipment. As shown in fig. 5, the method further comprises:
s501: acquiring a reset trigger signal; the reset trigger signal represents initial contact of the input pen relative to the electronic equipment;
s502: controlling a display screen of the electronic equipment to hide the interactive interface of the input pen according to a recovery track based on the reset trigger signal; wherein the recycling track is matched with the motion track of the input pen on the electronic equipment.
In S501 to S502, the interactive interface of the input pen is hidden under the condition that an initial contact connection/contact (reset trigger) signal representing that the input pen is relative to the electronic device is obtained, and the interactive interface is hidden according to a recovery trajectory matched with a motion trajectory of the input pen on the electronic device. It is understood that the movement trace of the input pen on the electronic device at this time can be regarded as the movement trace of the pen during the insertion of the input pen into the electronic device, which is a dynamic process. The recovery track matched with the motion track of the pen is also a dynamic recovery process, namely in the process that the input pen is inserted into the electronic equipment, the dynamic hiding of the interactive interface of the input pen is realized, and the dynamic hiding process is consistent with or synchronous with the motion track of the pen in the process that the pen is inserted into the electronic equipment. That is, the retrieving process of the retrieving trajectory coincides with the inserting process of the input pen. It should be noted that the insertion process is a dynamic process in the opposite direction to the extraction process. The hiding of the interactive interface is realized by utilizing the process of inserting the pen, the automatic hiding of the interactive interface can be realized without manual hiding of a user, and a brand-new use experience aiming at the input pen is provided. That is, when the input pen is inserted into the bottom of the accommodating space, a conducting signal representing the switch circuit inserted into the bottom of the accommodating space by the input pen is generated. The interactive interface of the input pen is completely hidden only when the input pen is completely inserted into the accommodating space. Therefore, the problem of misoperation caused by hiding the interactive interface before the input pen is not inserted into the accommodating space is solved.
It can be understood that, for the electronic device in which a conductor such as a metal sheet is arranged at the pen point part of the passive pen and a bottom contact is arranged at the bottom of the accommodating space, the passive pen is completely inserted into the accommodating space, that is, the pen is inserted into the passive pen under the condition that the pen point metal sheet is completely contacted with the bottom contact, the electronic device detects the complete insertion, generates a reset trigger signal (that is, the switch circuit is turned on), and dynamically hides the interactive interface according to the recovery track. The scheme for dynamically hiding under the condition that the pen is completely inserted into the electronic equipment is equivalent to the dynamic hiding of the interactive interface under the condition that a user does not need to use the pen, so that the error hiding of the interactive interface can be avoided, and the condition that the user still needs to use the pen and the electronic equipment hides the interactive interface of the pen is avoided. The recovery trajectory may be preset, for example, hiding along the insertion direction of the pen, and then hiding half of the interactive interface and then hiding the other half of the interactive interface. It is also hidden such as 1/3, 1/3, and finally all the interfaces.
The reset trigger signal is described as an example in which the signal generated when the pen is completely inserted into the accommodating space is the reset trigger signal. In addition, a signal generated when any one contact arranged on the side wall of the accommodating space is contacted with the pen point metal sheet can be used as a reset trigger signal, and the signal can be gradually hidden along a preset recovery track, such as along the insertion direction of a pen, under the condition that the terminal generates the reset trigger signal.
In an optional embodiment, the process of displaying the interactive interface of the input pen according to the display track is related to the motion parameters of the motion track of the input pen when the input pen is pulled out from the electronic device; the process of hiding the interactive interface of the input pen according to the recycling track is related to the motion parameters of the motion track of the input pen when the input pen is inserted into the electronic equipment. The motion parameter may be a pull-out direction and/or a pull-out speed for a process of pulling out the passive pen on the electronic device. The motion parameter may be an insertion direction and/or an insertion speed for a process of inserting the passive pen into the accommodating space of the electronic device. In consideration of the setting position of the accommodating space in the electronic device, in the case where the electronic device is a smartphone (the stylus pen is generally inserted to a long side position of the smartphone), the insertion direction is a direction in which the stylus pen is inserted from the outside of the electronic device into the accommodating space along the long side of the smartphone. In the case where the electronic device is a tablet computer (the input pen is usually inserted to a position of a short side of the smartphone), the insertion direction is a direction in which the input pen is inserted into the accommodating space from the outside of the electronic device along the short side of the smartphone. The electronic equipment can estimate the insertion speed or the extraction speed through the distance between two adjacent contacts on the side wall of the accommodating space and the time information when the pen point of the passive pen is in contact with each contact. During display, the interactive interface can be gradually displayed along the pulling-out direction. When hiding, the interactive interface can gradually hide along the insertion direction. The display speed of the interactive interface can be consistent with the pull-out speed, and the hiding speed of the interactive interface can be consistent with the insertion speed. That is, the interactive interface is displayed (hidden) quickly when the pen is pulled out (inserted), and the interactive interface is displayed (hidden) slowly when the pen is pulled out (inserted). In the process of displaying the interactive interface, if the half of the user is pulled out and the pulling-out is stopped, the interactive interface is also stopped to continue displaying. If the user pulls out half and inserts the pen into the bottom of the accommodating space, the displayed part is hidden along the inserting direction under the condition that the interactive interface displays part of the interface along the pulling-out direction. The scheme that the display process and the pen drawing process of the interactive interface and the hiding process and the pen inserting process of the interactive interface are synchronous enables the display or hiding process of the interactive interface not to be monotonous any more, interestingness is increased, and user experience is improved.
It is understood that the display track may be preset, for example, the interactive interface is gradually displayed according to the pull-out direction. The pen tip can also be arranged to contact with one contact point each time in the pulling direction, so as to display a part of the interactive interface. If the electronic device detects that the metal sheet at the pen point and the bottom contact are started from contact to disconnection, the display of the interactive interface is prepared, and the 1/3 interactive interface is displayed under the condition that the metal sheet at the pen point and each of the 3 contacts arranged at the side wall of the accommodating space are pulled out along with the pulling of the pen. And the interactive interface can be set to display according to the pulling-out direction and the display speed is set to be consistent with the pulling-out speed of the user. For example, during the pen drawing process, the drawing speed of the pen moving from one contact point at the side wall to the other contact point is estimated, and the interactive interface 1/3 displayed in the two contact points is displayed according to the drawing speed. The recycling track may also be preset, for example, the interactive interface is gradually hidden according to the insertion direction. It may also be provided that the pen tip is brought into contact with a contact point at one side wall each time in the insertion direction, as described above, revealing a part of the interactive interface. For example, during the insertion process, if the metal sheet of the pen point contacts with a contact point at the side wall closest to the opening of the accommodating space, half of the interactive interface is hidden; the other half of the interactive interface is hidden from the beginning of the contact between the metal sheet of the pen point and a contact point which is next to the opening of the accommodating space and is arranged on the side wall. The interactive interface can be set to be displayed according to the insertion direction, and the hiding speed is set to be consistent with the insertion speed of the user. The speed of extraction of the pen from one contact point at the side wall to the other is evaluated, as during pen insertion, and the interactive interface of 1/2 hidden in the two contact points is hidden according to the speed of extraction. In addition, the display track and the recovery track obtain the pulling-out speed and the inserting speed according to the contact between the contact point and the metal sheet at the pen point of the electronic equipment, the display speed and the pulling-out speed of the interactive interface are controlled to be consistent or synchronous, and the hiding speed and the inserting direction of the interactive interface are controlled to be consistent or synchronous.
In an alternative embodiment, the controlling of the interactive interface of the electronic device to hide the input pen according to the recycling track on the display screen of the electronic device based on the reset trigger signal may be implemented by using the scheme shown in fig. 6. As shown in the figure 6 of the drawings,
s601: acquiring a recovery trigger signal;
s602: controlling the interactive interface of the input pen to be retracted on a display screen of the electronic equipment according to the recovery track based on the recovery trigger signal;
s603: controlling to hide the interactive interface of the input pen based on the reset trigger signal; the process of hiding the interactive interface of the input pen according to the recycling track is related to the motion parameters of the motion track of the input pen on the electronic equipment.
In S601 to S603, the electronic device is based on two trigger signals: and the recovery trigger signal and the reset trigger signal realize the hiding process of the interactive interface. And the interactive interface is retracted under the condition of obtaining the recovery trigger signal, and the interactive interface is hidden under the condition of obtaining the reset trigger signal. The hidden dynamic process can be refined based on two trigger signals: first retracted and then concealed. From the user aspect, the user can see a more detailed dynamic hiding process, and the visual experience of the user is improved.
In a specific implementation, as shown in fig. 7, a contact point, such as a contact point a, may be disposed at the opening of the accommodating space, and when the passive pen is just inserted into the accommodating space, the contact point disposed at the opening of the accommodating space contacts with the metal sheet of the pen point to generate a contact signal, and the electronic device uses the contact signal as a recovery trigger signal or generates a recovery trigger signal based on the contact signal. The electronic device responds to the recovery trigger signal, and recovers the interactive interface according to a preset recovery track, and if the electronic device detects that the passive pen is inserted into 1/3 of the accommodating space through a contact point (such as a contact point B), recovers 1/3 (as shown in fig. 8) the interactive interface along the insertion direction. When the electronic device detects that the passive pen is inserted into the accommodating space 2/3 through a contact point (e.g., the contact point C), the interactive interface along the insertion direction is recovered 2/3, and so on. When the passive pen is completely inserted into the accommodating space, that is, the pen is inserted into the passive pen, under the condition that the pen point metal sheet and the bottom contact never contact or do not completely contact to completely contact, the electronic device detects that the pen is completely inserted, generates a reset trigger signal, and hides the recovered interactive interface, as shown in fig. 9. And finally, completing the dynamic hiding of the interactive interface. Or when the electronic device detects that the electronic device is completely inserted, the electronic device can completely recycle the interactive interface along the insertion direction and hide the whole interactive interface based on the reset trigger signal. The mode that the reset trigger signal is generated only when the input pen is completely inserted into the bottom of the accommodating space and the interactive interface is hidden can ensure that a user can automatically hide the interactive interface under the condition that the user can not use the pen any more.
It can be understood that, if the passive pen is built in the electronic device in the form of a buckle or a semi-cylinder, a contact needs to be set at the buckle, corresponding contacts are set at multiple positions of the passive pen, the electronic device detects whether the contact set at the buckle is in contact with any one of the contacts set on the passive pen, and if the contact is detected, a trigger signal is generated, and the dynamic display and the dynamic retraction of the interactive interface are performed until the interactive interface is hidden based on the trigger signal. Alternatively, a contact point is provided at a position (for example, at a in fig. 18) on one side of the half cylinder to facilitate recognition of insertion or extraction of the stylus, or a contact point is provided at a position on one side of the sidewall and at other positions of the sidewall to facilitate dynamic display or retraction of the interactive interface. Please refer to the related description for the specific implementation, which is not repeated herein.
In an alternative embodiment, the interactive interface includes controls for at least one application program associated with the input of the stylus. I.e. the interactive interface comprises at least one icon of an application program related to the input of the stylus. Assume that the controls, such as icons, of the application program related to the input of the stylus in the interactive interface are 3: icon 1, icon 2, and icon 3. The display process is as shown in fig. 10 and the retraction process is as shown in fig. 11. The 3 icons are displayed one by one along the pull-out direction and retracted one by one along the insertion direction. As shown in fig. 10, the electronic device displays the icons in the interactive interface: icon 1 is shown first, icon 2 is shown again along the pull-out direction, and icon 3 is shown finally along the pull-out direction. In the retracting process, the icon 3 is retracted along the inserting direction, then the icon 2 is retracted, and finally the icon 1 is retracted.
In practical applications, the application program related to the input of the stylus may be a notepad application, a notes application, a drawing application, and the like. Icon 1 may be an icon for a notepad application or a memo application, and icon 2 may be an icon for a drawing application. Icon 3 may be an icon of a function such as a screen capture function, and/or an application icon of a management notepad and/or a memo, which is required to implement recording. Wherein at least the existing notepad or memo can be called through the operation of the application icon for managing the notepad and/or memo so as to record on the basis of the existing notepad or memo. At least the current screen content displayed by the electronic equipment can be intercepted and recorded in the notepad or the notepad through the operation of the icon of the screen-intercepting function. A notepad or a memo can be newly established for recording through the operation of the icon of the notepad application or the icon of the memo application; a drawing document can be created by an operation on an icon of a drawing application to draw a drawing. In addition, after the user clicks the icon 1 or the icon 2, the application program corresponding to the icon 1 or the icon 2 is called, and the interactive interface of the application program is displayed after the application program is started. For example, the user clicks icon 1 to invoke the note application corresponding to icon 1, and fig. 13 shows an interaction interface of the note application program. The user can write directly on the interactive interface (the interactive interface is a writing interface) of the memo application program through the input pen. Of course, when the icon 2 is clicked to enter the interactive interface of the drawing application program (the interactive interface is a drawing interface), the user can directly draw on the drawing interface through the input pen. In the writing interface, the user can select a writing line (thickness) of the input pen, a writing color, select a type of the input pen (such as a brush pen, a pen and/or a pencil), and/or a writing effect (semi-transparent, shadow), and the like. In the drawing interface, the user can select drawing shapes in addition to drawing lines, drawing colors and drawing effects.
In an alternative embodiment, the scheme for controlling the interactive interface of the electronic device to display the stylus according to the display track on the display screen based on the initial trigger signal may be implemented by the steps shown in fig. 12. As shown in fig. 12, the method further includes:
s1201: obtaining state information of the electronic equipment based on the initial trigger signal;
s1202: determining interactive contents of the interactive interface of the input pen based on the state information of the electronic equipment; and the interactive contents of the interactive interface of the input pen are different according to different state information.
In the embodiment of the application, for the interactive interface of the input pen, which needs to be displayed in the pen drawing process, the displayed content (interactive content) is not constant, but is different according to the different state information of the electronic device when the pen is drawn. The electronic equipment detects a pen pulling signal (the original contact between the pen point metal sheet and the bottom contact is disconnected), acquires the state information of the electronic equipment and determines the interactive content according to the acquired state information. The scheme for determining the interactive content of the interactive interface according to the state information provides different interactive contents for the user, can meet the actual use requirements of the user, and improves the use experience.
In a specific implementation, the determining of the interactive content of the interactive interface of the input pen based on the state information of the electronic device may be implemented by determining whether a current application of the state information of the electronic device is related to the input of the input pen. In particular, the method comprises the following steps of,
and if the state information of the electronic equipment indicates that the current application program is irrelevant to the input of the input pen, determining the control of the at least one application program as the interactive content of the interactive interface. Under the condition that the state information of the electronic device indicates that the application program currently used by the electronic device is not related to the input pen, it indicates that the pen-up operation of the user at this time is expected to call the interactive interface shown in fig. 14, where the interactive interface at least includes a notepad icon, a memo icon, and a drawing application. In addition, an application icon for managing notepads and/or notes, and an icon or the like having a function such as a screen capture function, which is necessary for realizing the recording, may be included. Through the interactive interface shown in fig. 14, the electronic device can create a new notepad or memo based on the user's clicking operation on the notepad icon or memo icon, and create a new drawing document based on the user's clicking operation on the drawing icon. Or making a call to the existing notepad or memo based on a user's clicking operation on an application icon managing the notepad and/or memo to continue recording on the existing notepad or memo. It will be appreciated that the interactive interface shown in fig. 14 includes, in addition to the icons (e.g., icons 1-3) related to the input of the stylus, other icons of the electronic device related to the input of the stylus, such as short message application icons, social application (e.g., WeChat or QQ) icons, and browser application icons, application marketplace, etc. In the interactive interface, icons of applications related to the input pen may be arranged in the pull-out direction, that is, along the long side direction of the electronic device. In addition, the other icons of the electronic device may be arranged in an original manner, such as in a horizontal direction, or may be arranged along a long side direction of the electronic device, which is not particularly limited.
And if the state information of the electronic equipment represents that the current application program is related to the input of the input pen, determining a handwriting effect piece of at least one input pen as the interactive content of the interactive interface. Under the condition that the state information of the electronic equipment represents that the application program currently used by the electronic equipment is related to the input pen, the situation shows that the electronic equipment already enters a notepad or notepad application, at the moment, the display screen displays a writing interface shown in fig. 13, at the moment, the user generates a pen-pulling operation, and expects that the electronic equipment can directly display an interactive interface of a control of the handwriting effect of the input pen based on an initial trigger signal generated by the pen-pulling operation, so that the user can directly select the handwriting effect conveniently.
In an alternative embodiment, the interactive interface for controlling the electronic device to display the input pen according to the display track on the display screen based on the initial trigger signal may be implemented by using the scheme shown in fig. 15. As shown in the schematic view of figure 15,
s1501: obtaining state information of the electronic equipment based on the initial trigger signal;
s1502: determining whether to display the interactive interface of the stylus based on state information of the electronic device;
Further, whether the electronic device is in a screen locking state or a non-screen locking state is judged, for example, the electronic device is in an unlocking state, and if the electronic device is in the screen locking state, the step S1503 is executed; if the screen is not in the screen locking state, executing S1504;
s1503: if the state information of the electronic equipment represents that the electronic equipment is in a screen locking state, controlling the display screen not to display the interactive interface of the input pen;
s1504: and if the state information of the electronic equipment represents that the electronic equipment is in an unlocked state, controlling a display screen of the electronic equipment to display the interactive interface of the input pen according to a display track.
In S1501 to S1504, the electronic device determines whether the electronic device is screen-locked or screen-unlocked state information when the user pulls the pen based on the obtained initial trigger signal, and determines whether to display the interactive interface according to the display trajectory or not to display the interactive interface of the input pen based on the determination result. And if the electronic equipment is judged to be in the screen locking state when the user pulls out the pen, the electronic equipment does not display the interactive interface in consideration of the use safety of the electronic equipment and avoiding the situation that a terminal user of non-electronic equipment does not reasonably operate the local machine. And if the electronic equipment is judged to be in the unlocked state when the user pulls out the pen, and the user of the electronic equipment is considered to have the requirement of using the pen, dynamically displaying the interactive interface according to the display track.
In an optional embodiment, if the state information of the electronic device indicates that the electronic device is in the screen locking state, the method further includes: enabling a first application program in the screen locking state based on the initial trigger signal to realize the input of the input pen; the first application is associated with input by the stylus. The first application may be any one of the applications of a notepad application, a notes application, and/or a drawing application. In this optional embodiment, if the pen-out operation of the user occurs when the electronic device is in the screen-locked state, it may be considered that there is a need for writing with the pen for the user in the screen-locked state, and the electronic device enables a first application program (e.g., a notepad application program) to support the writing input operation of the input pen. Meanwhile, the content of the interactive interface displayed with the input pen in the process of drawing the pen is a control of the handwriting effect option of the input pen. The method and the device can enable a user to obtain information of handwriting effects (pen, pencil, writing brush and the like) related to the input pen as early as possible, and improve interaction efficiency of the input pen, namely, the interactive interface of the input pen can be obtained to gradually input the pen-related handwriting effects when the input pen is not completely pulled out in the process of displaying the interactive interface of the input pen based on the display track, so that the user can determine the input effect of the track formed by inputting the input pen, which needs to be selected and is written in the first application program at this time, as early as possible. Meanwhile, the unfolding process of the interactive interface of the input pen has a guiding effect on the condition that the user pulls out the input pen, and the user can be guided to correctly pull out the input pen by the process of displaying the interactive interface of the input pen based on the display track so that the user can obtain the pulling-out direction and the pulling-out process of the input pen. The user experience is improved.
It can be understood that there are two cases in the foregoing that the first application program is enabled in the screen-locked state to implement the input scheme of the input pen based on the initial trigger signal (i.e., the action of the user to implement pen-up): in the first case, an interactive interface formed by icons of at least one application program related to the input pen is not displayed, but the electronic device directly calls the first application program (notepad or notepad application) and displays the notepad or notepad application interface in the screen locking state, so that the input pen can be directly used for writing after being pulled out, namely, in the first case, the notepad or notepad application interface includes options of handwriting effects. The second case is: the method comprises the steps that an interactive interface formed by icons of at least one application program related to an input pen is not displayed in a screen locking state, but the electronic equipment directly calls a first application program (notepad or notepad application) in the screen locking state and displays the notepad or notepad application interface and simultaneously directly displays the handwriting effect of the input pen, namely the interactive interface which displays the handwriting effect of the input pen according to a display track is used for the interactive interface which performs the handwriting effect of the input pen in the pen pulling process, namely under the second condition, the notepad or notepad application interface does not include options of the handwriting effect. But the handwriting effect of the input pen is displayed according to the display track through the action of pulling the pen or the interactive interface for performing the handwriting effect of the input pen in the process of pulling the pen.
An embodiment of the present application provides an electronic device, as shown in fig. 16, including a display screen 65 and a processor 61; wherein the content of the first and second substances,
the processor 61 is configured to obtain an initial trigger signal, where the initial trigger signal represents an initial contact disconnection of the input pen with respect to the electronic device;
controlling an interactive interface of the input pen to be displayed on the display screen 65 according to the display track based on the initial trigger signal;
the display track is matched with the motion track of the input pen on the electronic equipment.
In an optional embodiment, the processor 61 is further configured to:
obtaining a reset trigger signal; the reset trigger signal represents an initial contact of the input pen relative to the electronic equipment;
controlling the display screen 65 to hide the interactive interface of the input pen according to a recovery track based on the reset trigger signal;
the recycling track is matched with the motion track of the input pen on the electronic equipment.
In an optional embodiment, the processor 61 is further configured to:
the process of displaying the interactive interface of the input pen according to the display track is related to the motion parameters of the motion track of the input pen on the electronic equipment;
and/or the presence of a gas in the gas,
The step of controlling the interactive interface on the display screen 65 to hide the input pen according to the recycling track based on the reset trigger signal includes:
acquiring a recovery trigger signal;
controlling the interactive interface of the input pen to be retracted on the display screen 65 according to the recovery track based on the recovery trigger signal;
controlling to hide the interactive interface of the input pen based on the reset trigger signal;
the process of hiding the interactive interface of the input pen according to the recycling track is related to the motion parameters of the motion track of the input pen on the electronic equipment.
In an alternative embodiment, the interactive interface includes controls for at least one application program that is associated with the input of the stylus.
In an optional embodiment, the processor 61 is further configured to:
obtaining state information of the electronic equipment based on the initial trigger signal;
determining interactive contents of the interactive interface of the input pen based on the state information of the electronic equipment;
and the interactive contents of the interactive interface of the input pen are different according to different state information.
In an optional embodiment, the processor 61 is further configured to:
If the state information of the electronic equipment indicates that the current application program is irrelevant to the input of the input pen, determining a control of the at least one application program as the interactive content of the interactive interface, wherein the at least one application program is relevant to the input of the input pen;
and if the state information of the electronic equipment represents that the current application program is related to the input of the input pen, determining the handwriting effect piece of at least one input pen as the interactive content of the interactive interface.
In an optional embodiment, the processor 61 is further configured to:
obtaining state information of the electronic equipment based on the initial trigger signal;
determining whether to display the interactive interface of the stylus based on state information of the electronic device;
if the state information of the electronic equipment represents that the electronic equipment is in a screen locking state, controlling the display screen not to display the interactive interface of the input pen;
and if the state information of the electronic equipment represents that the electronic equipment is in an unlocked state, controlling a display screen of the electronic equipment to display the interactive interface of the input pen according to a display track.
In an optional embodiment, the processor 61 is further configured to:
if the state information of the electronic equipment represents that the electronic equipment is in the screen locking state, the method further comprises the following steps:
enabling a first application program in the screen locking state based on the initial trigger signal to realize the input of the input pen; the first application is associated with input by the stylus.
It should be noted that, in the electronic device according to the embodiment of the present application, because the principle of solving the problem of the electronic device is similar to that of the display method, the implementation process and the implementation principle of the electronic device can be described by referring to the implementation process and the implementation principle of the display method, and repeated details are not repeated.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to, when executed by a processor, perform at least the steps of the method shown in any one of fig. 1 to 15. The computer readable storage medium may be specifically a memory. The memory may be memory 62 as shown in fig. 17.
As shown in fig. 17, a schematic diagram of a hardware configuration of the electronic device provided in the embodiment of the present application may also be shown, where the electronic device includes: a communication component 63 for data transmission, at least one processor 61 and a memory 62 for storing computer programs capable of running on the processor 61. The various components in the terminal are coupled together by a bus system 64. It will be appreciated that the bus system 64 is used to enable communications among the components. The bus system 64 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 64 in FIG. 17.
Wherein the processor 61 executes the computer program to perform at least the steps of the method of any one of fig. 1 to 15.
It will be appreciated that the memory 62 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a magnetic random access Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Double Data Rate Synchronous Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Random Access Memory (DRAM), Synchronous Random Access Memory (DRAM), Direct Random Access Memory (DRmb Access Memory). The memory 62 described in embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be applied to the processor 61, or implemented by the processor 61. The processor 61 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 61. The processor 61 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 61 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 62, and the processor 61 reads the information in the memory 62 and performs the steps of the aforementioned method in conjunction with its hardware.
In an exemplary embodiment, the electronic Device may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, microprocessors (microprocessors), or other electronic components for performing the aforementioned display method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit may be implemented in the form of hardware, or in the form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of displaying, the method comprising:
obtaining an initial trigger signal, wherein the initial trigger signal represents the initial contact disconnection of an input pen relative to the electronic equipment;
controlling an interactive interface of an input pen to be displayed on a display screen of the electronic equipment according to a display track based on the initial trigger signal, wherein the display track is an expansion process of the interactive interface; the expansion process is a process from gradually displaying the interactive interface to completely displaying the interactive interface;
The display track is consistent with the motion track of the input pen when the input pen is pulled out or inserted into the electronic equipment.
2. The method of claim 1, further comprising:
obtaining a reset trigger signal; the reset trigger signal represents initial contact of the input pen relative to the electronic equipment;
controlling a display screen of the electronic equipment to hide the interactive interface of the input pen according to a recovery track based on the reset trigger signal;
the recycling track is matched with the motion track of the input pen on the electronic equipment.
3. The method of claim 2, wherein the process of displaying the interactive interface of the input pen according to the display track is related to the motion parameters of the motion track of the input pen on the electronic equipment;
and/or the presence of a gas in the gas,
the step of controlling the interactive interface of the input pen to be hidden according to a recovery track on the display screen of the electronic equipment based on the reset trigger signal comprises the following steps:
acquiring a recovery trigger signal;
controlling the interactive interface of the input pen to be retracted on a display screen of the electronic equipment according to the recovery track based on the recovery trigger signal;
controlling to hide the interactive interface of the input pen based on the reset trigger signal;
The process of hiding the interactive interface of the input pen according to the recycling track is related to the motion parameters of the motion track of the input pen on the electronic equipment.
4. A method according to claim 2 or 3, the interactive interface comprising controls of at least one application, the at least one application being related to input of the stylus.
5. The method of claim 4, wherein controlling an interactive interface of a stylus to be displayed according to a display track on a display screen of the electronic device based on the initial trigger signal comprises:
obtaining state information of the electronic equipment based on the initial trigger signal;
determining interactive contents of the interactive interface of the input pen based on the state information of the electronic equipment;
and the interactive contents of the interactive interface of the input pen are different according to different state information.
6. The method of claim 5, the determining interactive content of the interactive interface of the stylus based on the state information of the electronic device comprising:
if the state information of the electronic equipment indicates that the current application program is irrelevant to the input of the input pen, determining a control of the at least one application program as the interactive content of the interactive interface, wherein the at least one application program is relevant to the input of the input pen;
And if the state information of the electronic equipment represents that the current application program is related to the input of the input pen, determining a handwriting effect piece of at least one input pen as the interactive content of the interactive interface.
7. The method of claim 6, the controlling, based on the initial trigger signal, an interactive interface of a stylus displayed on a display screen of the electronic device according to a display trajectory comprising:
obtaining state information of the electronic equipment based on the initial trigger signal;
determining whether to display the interactive interface of the stylus based on state information of the electronic device;
if the state information of the electronic equipment represents that the electronic equipment is in a screen locking state, controlling the display screen not to display the interactive interface of the input pen;
and if the state information of the electronic equipment represents that the electronic equipment is in an unlocked state, controlling a display screen of the electronic equipment to display the interactive interface of the input pen according to a display track.
8. The method of claim 7, if the state information of the electronic device indicates that the electronic device is in a lock screen state, the method further comprising:
Enabling a first application program in the screen locking state based on the initial trigger signal to realize the input of the input pen; the first application is associated with input by the stylus.
9. An electronic device, the electronic device comprising: a display screen and a processor; wherein the content of the first and second substances,
the processor is used for obtaining an initial trigger signal, and the initial trigger signal represents that the input pen is disconnected relative to the initial contact of the electronic equipment;
controlling an interactive interface of an input pen to be displayed on the display screen according to a display track based on the initial trigger signal, wherein the display track is the expansion process of the interactive interface; the expansion process is a process from gradually displaying the interactive interface to completely displaying the interactive interface;
the display track is consistent with the motion track of the input pen when the input pen is pulled out or inserted into the electronic equipment.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out at least the steps of the method of:
obtaining an initial trigger signal, wherein the initial trigger signal represents the initial contact disconnection of an input pen relative to the electronic equipment;
controlling an interactive interface of an input pen to be displayed on a display screen of the electronic equipment according to a display track based on the initial trigger signal, wherein the display track is an expansion process of the interactive interface; the expansion process is a process from gradually displaying the interactive interface to completely displaying the interactive interface;
The display track is consistent with the motion track of the input pen when the input pen is pulled out or inserted into the electronic equipment.
CN202010076862.8A 2020-01-23 2020-01-23 Display method, electronic device, and storage medium Active CN111324220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010076862.8A CN111324220B (en) 2020-01-23 2020-01-23 Display method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010076862.8A CN111324220B (en) 2020-01-23 2020-01-23 Display method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN111324220A CN111324220A (en) 2020-06-23
CN111324220B true CN111324220B (en) 2022-06-28

Family

ID=71167071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010076862.8A Active CN111324220B (en) 2020-01-23 2020-01-23 Display method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN111324220B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162788A (en) * 2020-09-17 2021-01-01 维沃移动通信有限公司 Application starting method and device and electronic equipment
CN112764561A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Electronic equipment control method and device and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158713A (en) * 2001-11-21 2003-05-30 Omron Corp Apparatus and method for printing image, printing medium unit as well as program
CN101943939A (en) * 2009-07-09 2011-01-12 上海易狄欧电子科技有限公司 Terminal and method for controlling stylus pen of terminal
CN201845325U (en) * 2010-11-01 2011-05-25 康佳集团股份有限公司 Keyboard locking device of stylus pen and touch screen equipment
CN202026343U (en) * 2011-04-07 2011-11-02 上海华勤通讯技术有限公司 Mobile terminal capable of adapting to input mode automatically
EP2981878B1 (en) * 2013-04-04 2020-01-08 LG Electronics Inc. Portable device and controlling method therefor
US9891811B2 (en) * 2015-06-07 2018-02-13 Apple Inc. Devices and methods for navigating between user interfaces
TWI692705B (en) * 2016-09-09 2020-05-01 宏達國際電子股份有限公司 Portable electronic device, operating method for the same, and non-transitory computer readable recording
CN108053492B (en) * 2017-12-19 2020-09-22 广州视源电子科技股份有限公司 Method, device and equipment for presenting expansion process of three-dimensional graph and storage medium

Also Published As

Publication number Publication date
CN111324220A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN106484266B (en) Text processing method and device
US20170003868A1 (en) Method and terminal for activating application based on handwriting input
US20130111380A1 (en) Digital whiteboard implementation
US20220214784A1 (en) Systems and methods for a touchscreen user interface for a collaborative editing tool
CN111324220B (en) Display method, electronic device, and storage medium
CN106250037A (en) The control method of a kind of mobile terminal and mobile terminal
CN103809871A (en) Processing method and mobile terminal for icon of application program
US11436403B2 (en) Online document commenting method and apparatus
CN108710457B (en) Interaction method and terminal equipment
JP2019514097A (en) Method for inserting characters in a string and corresponding digital device
US20190324621A1 (en) System and Methods for Utilizing Multi-Finger Touch Capability to Efficiently Perform Content Editing on a Computing Device
CN103150113A (en) Method and device for selecting display content of touch screen
CN104298434B (en) A kind of information processing method and electronic equipment
CN105723314B (en) Two-step content selection
CN106201295B (en) Message copying method and device and intelligent terminal
CN107220377B (en) Search method, electronic device, and computer storage medium
KR102337157B1 (en) Electronic blackboard apparatus and the controlling method thereof
CN105549894A (en) Touch information processing method and apparatus, touch information acquisition method and apparatus and touch information processing system
CN108108143A (en) Method, mobile terminal and the device with store function of recording playback
CN114879860B (en) Method, device and storage medium for preventing false touch of foldable screen
CN111026309A (en) Intelligent terminal gesture copying method, terminal and medium
CN106210346B (en) A kind of video calling information processing method and mobile terminal
CN108984024A (en) touch operation method, device, storage medium and electronic equipment
CN112162689B (en) Input method and device and electronic equipment
CN105204769A (en) Method for realizing handwriting input rapid instruction and mobile terminal

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
GR01 Patent grant
GR01 Patent grant