CN112162788A - Application starting method and device and electronic equipment - Google Patents

Application starting method and device and electronic equipment Download PDF

Info

Publication number
CN112162788A
CN112162788A CN202010980174.4A CN202010980174A CN112162788A CN 112162788 A CN112162788 A CN 112162788A CN 202010980174 A CN202010980174 A CN 202010980174A CN 112162788 A CN112162788 A CN 112162788A
Authority
CN
China
Prior art keywords
application
stylus
starting
interface
target application
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
CN202010980174.4A
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 CN202010980174.4A priority Critical patent/CN112162788A/en
Publication of CN112162788A publication Critical patent/CN112162788A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an application starting method and device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the efficiency of starting applications by the electronic equipment is low. The application starting method comprises the following steps: receiving a first input of pulling a stylus out of the electronic device; in the process of pulling the stylus out of the electronic device, if the moving distance of the stylus meets a first preset condition, the target application is started in response to a first input. The application starting method provided by the embodiment of the application can be applied to the process of starting the application by the electronic equipment.

Description

Application starting method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an application starting method and device and electronic equipment.
Background
At present, in a scenario where a user uses an electronic device with a stylus, when the user needs to use an application in the electronic device, the user may first pull the stylus out of the electronic device, and then unlock the electronic device, so that the electronic device may display a desktop, and thus, the user may search for application icons of the application one by one from the application icons displayed on the desktop, and click on the application icon of the application, so that the electronic device may start the application, and thus the user may input in an interface of the application through the stylus to use the application.
However, since the user needs to pull the stylus out of the electronic device first and then perform multiple operations to start an application, the operation of the user is cumbersome and time-consuming in the process of starting the application.
As such, the efficiency of the electronic device to launch the application is low.
Disclosure of Invention
The embodiment of the application starting method and device and the electronic equipment are provided, and the problem that the efficiency of starting the application by the electronic equipment is low can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an application starting method, where the method includes: receiving a first input of pulling a stylus out of the electronic device; in the process of pulling the stylus out of the electronic device, if the moving distance of the stylus meets a first preset condition, the target application is started in response to a first input.
In a second aspect, an embodiment of the present application provides an application starting apparatus, including: the device comprises a receiving module and a starting module. The receiving module is used for receiving a first input of pulling the touch pen out of the electronic equipment. And the starting module is used for responding to the first input received by the receiving module and starting the target application if the moving distance of the touch pen meets a first preset condition in the process of pulling the touch pen out of the electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment, the application starting apparatus may start the target application if the moving distance of the stylus satisfies a first predetermined condition in the process of pulling the stylus out of the application starting apparatus according to the first input to the stylus. Because the application starting device can directly start the target application before the stylus is pulled out of the application starting device according to the moving distance of the stylus, the stylus does not need to be pulled out of the application starting device first, and then multiple operations are carried out, the operation of a user can be simplified, time consumption is saved, and the efficiency of starting the application by the application starting device can be improved.
Drawings
Fig. 1 is a schematic diagram of an application starting method provided in an embodiment of the present application;
fig. 2 is a second schematic diagram of an application starting method according to an embodiment of the present application;
fig. 3 is an example schematic diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an application starting apparatus according to an embodiment of the present application;
fig. 6 is a second schematic structural diagram of an application startup device according to an embodiment of the present application;
fig. 7 is a third schematic structural diagram of an application startup device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The application starting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The application starting method provided by the embodiment of the application can be applied to a scene that a user uses the electronic equipment with the touch pen.
Assuming that a user needs to use a drawing-type application a in an electronic device with a stylus, the user may first pull the stylus of the electronic device out of a stylus slot of the electronic device, and then unlock the electronic device, so that the electronic device may display a desktop, and thus the user may search for an icon of the application a in the desktop and click the icon of the application a, so that the electronic device may start the application a. However, since the user needs to pull the stylus out of the stylus slot first and then perform multiple operations, the electronic device may start the application a, and thus the operation of the user is cumbersome in the process of starting the application. In the embodiment of the application, in the process that the user pulls the stylus out of the electronic device, the electronic device may determine whether the user has a tendency to pull the stylus out of the electronic device according to the pulling distance of the stylus, and directly start the application a under the condition that the user has the tendency to pull the stylus out of the electronic device (i.e., before the user pulls the stylus out of the electronic device), so that the operation of the user is simplified.
Fig. 1 shows a flowchart of an application starting method provided in an embodiment of the present application. As shown in fig. 1, an application starting method provided in an embodiment of the present application may include steps 101 and 102 described below.
Step 101, the application starting apparatus receives a first input that the stylus is pulled out of the application starting apparatus.
Optionally, in this embodiment of the application starting device, the application starting device may be an application starting device with a stylus, and a stylus slot is disposed in the application starting device, so that a user may perform an input on the stylus (for example, an input of pulling the stylus out of the application starting device or an input of inserting the stylus into the application starting device), so that the stylus may be located outside the stylus slot (or located inside the stylus slot).
In one scenario, when the application starting apparatus is in the screen-off state, if a user needs to input through a stylus in an interface of an application, the user may perform a first input on the stylus.
In another scenario, in a case where the application starting apparatus is in a bright screen state (for example, a desktop or an interface of one application is displayed), if a user needs to input through a stylus in an interface of a certain application (i.e., an application other than the one application), the user may perform a first input on the stylus.
In this embodiment of the application, the first input is used to trigger the application starting apparatus to start the application.
In an embodiment of the application, the first input may be an input that a user pulls a stylus out of a stylus slot.
Step 102, in the process of pulling the stylus out of the application starting device, if the moving distance of the stylus meets a first preset condition, the application starting device responds to the first input to start the target application.
It can be understood that the moving distance of the stylus is as follows: and the pulling-out distance of the touch pen in the process that the user pulls the touch pen out of the application starting device.
The "distance of drawing the stylus pen" may be understood as follows: the current position of the stylus is a distance from the initial position (i.e., the position of the stylus prior to the first input by the user).
Optionally, in this embodiment of the application, the first predetermined condition may specifically be: the movement distance of the stylus matches a preset threshold (e.g., a first threshold in the embodiments described below).
Optionally, in this embodiment of the application starting apparatus, the application starting apparatus may detect a position of the stylus to obtain a moving distance of the stylus, so that the application starting apparatus may determine whether the moving distance satisfies a first predetermined condition.
Optionally, in this embodiment of the application, at least one first contact is disposed on an inner wall of the stylus slot along a first direction (i.e., a direction from a bottom end of the stylus slot to an open end of the stylus slot), and a second contact is disposed on an outer wall of the stylus slot; the second contact is in contact with a first one of the at least one first contact (i.e., a first one of the first contacts in the first direction) before the user makes the first input, and the second contact is in contact with a last one of the first contacts (i.e., a last one of the first contacts in the first direction) at a time when the user pulls the stylus pen out of the application launching device.
Optionally, in this embodiment of the application starting apparatus, the application starting apparatus may determine one of the at least one first contact point that is in contact with the second contact point to determine position information of the one contact point, so that the application starting apparatus may determine the moving distance of the stylus pen according to the position information.
Optionally, in this embodiment of the application, the target application may specifically be a default application in the application starting apparatus, or may specifically be an application preset in the application starting apparatus (for example, an application set in a "setting" application in the application starting apparatus by a user).
Optionally, in this embodiment of the application, the target application may specifically be an office application, a drawing application, or an image processing application.
In this embodiment of the application, if the moving distance of the stylus satisfies the first predetermined condition, it may be determined that the user needs to use the target application, and therefore the application starting apparatus may directly start the target application.
According to the application starting method provided by the embodiment of the application starting device, the target application can be started if the moving distance of the stylus meets the first preset condition in the process of pulling the stylus out of the application starting device according to the first input to the stylus. Because the application starting device can directly start the target application before the touch pen is pulled out of the application starting device according to the moving distance of the touch pen, the user does not need to pull the touch pen out of the application starting device first and then perform multiple operations, the operation of the user can be simplified, time consumption is saved, and the efficiency of the application starting device for starting the application can be improved.
Optionally, in this embodiment of the application, the moving distance of the stylus is a first moving distance. Specifically, referring to fig. 1, as shown in fig. 2, the step 102 can be implemented by the step 102a described below.
Step 102a, when the first moving distance of the stylus is greater than or equal to the first threshold and the first moving distance is smaller than the length of the stylus slot of the application starting device, the application starting device starts the target application in a background.
It is understood that, in the case that the first moving distance is greater than or equal to the first threshold and the stylus is at least partially located in the stylus slot (i.e. the stylus is not completely pulled out), the application launching device may launch the target application in the background.
Further optionally, in this embodiment of the application, the application starting apparatus may start the target application in a background when the application starting apparatus is not in an unlocked state.
In this embodiment of the application, if the first moving distance of the stylus is greater than or equal to the first threshold and the first moving distance is less than the length of the stylus slot of the application starting device, it may be considered that the user has a tendency to pull the stylus out of the stylus slot, and the application starting device may start the target application in a background.
In the embodiment of the application, the target application can be directly started in the background under the condition that the user is determined to have the tendency of pulling the stylus out of the stylus groove, so that the display screen of the application starting device can be directly input under the condition that the user completely pulls the stylus out of the stylus groove, the application starting device does not need to wait for the application starting device to start the target application, and therefore the use experience of the user can be improved.
Optionally, in this embodiment of the application, the moving distance of the stylus further includes a second moving distance. Specifically, after the step 102a, the application starting method provided in the embodiment of the present application may further include the following step 201.
In step 201, the application starting device displays the interface of the target application when the second movement distance of the stylus is greater than or equal to the length of the stylus slot.
In this embodiment, if the second moving distance of the stylus is greater than or equal to the length of the stylus slot, the stylus may be considered to be completely pulled out of the stylus slot, and therefore the application starting apparatus may display the interface of the target application.
Further optionally, in this embodiment of the application, the application starting apparatus may control the application starting apparatus to be in a bright screen state, and display an interface of the target application, or may switch an interface currently displayed by the application starting apparatus to an interface of the target application.
In the embodiment of the application, because the application starting device can directly display the interface of the target application under the condition that the user completely pulls the stylus out of the stylus slot, the application starting device does not need to be operated for many times, the operation of the user can be simplified, and the application starting efficiency of the application starting device is improved.
Optionally, in this embodiment of the application, the step 201 may be specifically implemented by the following step 201a or step 201 b.
Step 201a, under the condition that the second movement distance of the stylus is greater than or equal to the length of the stylus slot, the application starting device controls the display screen of the application starting device to be in a bright screen state, and displays the interface of the target application.
In this embodiment of the application, if the first input is received when the application starting apparatus is in the screen-off state, the application starting apparatus may control the display screen of the application starting apparatus to be in the screen-on state and display the interface of the target application when the second moving distance of the stylus is greater than or equal to the length of the stylus slot.
It is understood that the application launching device can control the application launching device to be in a bright-screen and unlocked state, and display the interface of the target application.
For example, the application starting apparatus is taken as a mobile phone for explanation. As shown in fig. 3 (a), in a case where the mobile phone 10 is in the screen-off state (the mobile phone 10 is in the screen-off state in the form of a shadow in the drawing), the user may perform a first input of pulling the stylus pen 11 out of the mobile phone 10; as shown in fig. 3 (B), in the case that the second movement distance of the stylus pen 11 is greater than or equal to the length of the stylus pen slot, the mobile phone 10 controls the display screen to be in a bright screen state, and displays an interface (e.g., the interface 12) of the target application.
In the embodiment of the application, the application starting device can control the display screen of the application starting device to be in the bright screen state under the condition that the user completely pulls the stylus out of the stylus groove, so as to display the interface of the target application, and the application starting device does not need to be operated for many times, so that the operation of the user can be simplified, and the application starting efficiency of the application starting device is improved.
Step 201b, under the condition that the second moving distance of the stylus is greater than or equal to the length of the stylus slot, the application starting device switches the target interface to the interface of the target application.
In this embodiment, the target interface is an interface displayed by the application starting apparatus before the interface of the target application is displayed.
In this embodiment of the application, if the first input is received when the application starting apparatus is in a bright screen state (for example, a target interface is displayed), the application starting apparatus may switch the target interface to an interface of the target application when the second moving distance of the stylus is greater than or equal to the length of the stylus slot.
For example, as shown in fig. 4 (a), in a case where the mobile phone 13 is in a bright screen state (e.g., a target interface (e.g., the interface 14) is displayed), the user may perform a first input of pulling the stylus 15 out of the mobile phone 13; as shown in fig. 4 (B), when the second movement distance of the stylus 15 is greater than or equal to the length of the stylus slot, the mobile phone 13 switches the interface 14 to an interface (for example, the interface 16) of the target application.
In the embodiment of the application, the application starting device can switch the target interface to the interface of the target application under the condition that the user completely pulls the stylus out of the stylus slot, and the application starting device does not need to be operated for many times, so that the operation of the user can be simplified, and the application starting efficiency of the application starting device is improved.
Optionally, in this embodiment of the application, after the step 201, the application starting method provided in this embodiment of the application may further include the following steps 301 and 302.
Step 301, the application starting device receives a control command sent by the stylus.
In this embodiment of the application, under the condition that the stylus is completely pulled out of the stylus slot, the application starting device may establish a wireless connection with the stylus, so that the application starting device may receive a control instruction sent by the stylus.
Further optionally, in this embodiment of the application, the control instruction is: the touch control pen sends the information to the application starting device when the movement parameter of the touch control pen is smaller than or equal to a second threshold value; or the touch control pen sends the information to the application starting device when the movement parameter of the touch control pen is larger than the second threshold value.
Further optionally, in this embodiment of the application, when the stylus is completely pulled out of the stylus slot, the sensor of the stylus may detect a moving state of the stylus to obtain a moving parameter, so that the stylus may determine whether to send the control instruction to the application starting apparatus according to the moving parameter.
Illustratively, the sensor may include at least one of: a gyroscope, a speed sensor and an acceleration sensor; the movement parameter may include at least one of: tilt angle, travel speed, and travel acceleration.
The "inclination angle" may be understood as: angle to the horizontal plane.
In an embodiment of the present application, the control instruction is used to control the application starting apparatus to execute a first operation, where the first operation includes any one of: adjusting the display parameter operation, screen off operation, screen on operation and storage operation of the display screen of the application starting device.
Further optionally, in this embodiment of the application, the display parameter may include at least one of the following: display luminance values and display chrominance.
The "save operation" may be understood as: and saving the operation of the content input by the user in the interface of the target application through the touch pen.
Further optionally, in this embodiment of the application, if the control instruction is: when the movement parameter of the stylus is less than or equal to the second threshold, the stylus transmits the movement parameter to the application launching device, and the first operation includes any one of: and adjusting the display parameter operation, screen off operation and storage operation of the display screen of the application starting device.
In this embodiment, if the movement parameter is less than or equal to the second threshold, the stylus may be considered to be in a static state (that is, the user is not using the stylus), so that the stylus may send a control instruction to the application launching device, so that the application launching device may execute the first operation.
Further optionally, in this embodiment of the application, if the control instruction is: when the movement parameter of the stylus is greater than the second threshold, the stylus transmits the movement parameter to the application starting apparatus, and the first operation is: and (5) performing bright screen operation.
In this embodiment, if the movement parameter is greater than the second threshold, the stylus may be considered to be in a moving state (that is, the user is using the stylus), so that the stylus may send a control instruction to the application starting apparatus, so that the application starting apparatus may execute the first operation.
Step 302, the application starting device responds to the control instruction and executes a first operation.
In this embodiment of the application, the application starting apparatus may execute the first operation (i.e., the operation of adjusting the display parameter of the display screen of the application starting apparatus, the screen-off operation, the screen-on operation, and the saving operation) according to the movement parameter of the stylus, without a user inputting the application starting apparatus, so that the application starting apparatus may execute the operation flexibly.
It can be understood that the application starting device can control the application starting device to perform the operation of adjusting the display parameter (or the screen-off operation) and the saving operation of the display screen of the application starting device under the condition that the user is not using the stylus pen, so as to save the energy consumption of the application starting device; or, the application starting device may control the application starting device to perform the screen-lighting operation under the condition that the user uses the stylus, so that the user may directly input to the application starting device through the stylus, thereby simplifying the operation of the user and improving the use experience of the user.
Optionally, in this embodiment of the application, after the step 102, the application starting method provided in this embodiment of the application may further include the following step 401 and step 402.
Step 401, the application starting apparatus receives a second input of inserting a stylus into the application starting apparatus.
In the embodiment of the application, after the user inputs the content required by the user in the interface of the target application through the stylus, the user can perform a second input on the stylus.
In this embodiment of the application, the second input is used to trigger the application starting apparatus to close the application.
In an embodiment of the application, the second input may be an input that a user inserts a stylus into a stylus slot.
Step 402, in the process of inserting the stylus into the application starting device, if the third moving distance of the stylus meets a second predetermined condition, the application starting device responds to the second input, and closes the target application.
Further optionally, in this embodiment of the application, the second predetermined condition may specifically be: the third movement distance is greater than or equal to a third threshold.
Further optionally, in this embodiment of the application, the application starting apparatus may detect the position of the stylus to obtain the third moving distance, so that the application starting apparatus may determine whether the third moving distance is greater than or equal to a third threshold, and whether the third moving distance satisfies the second predetermined condition.
Further optionally, in this embodiment of the application, when the third moving distance of the stylus satisfies the second predetermined condition, the application starting apparatus may first perform the saving operation, and then close the target application.
In this embodiment of the application, if the third moving distance of the stylus satisfies the second predetermined condition, it may be determined that the user needs to close the target application, and therefore the application starting apparatus may directly close the target application.
In the embodiment of the application, the target application can be directly closed by the application starting device in the process of inserting the stylus into the application starting device and under the condition that the third moving distance of the stylus meets the second preset condition, and the user does not need to perform multiple operations, so that the operation of the user can be simplified, and the use experience of the user is improved.
It should be noted that, in the application starting method provided in the embodiment of the present application, the execution main body may be an application starting apparatus, or a control module in the application starting apparatus for executing the application starting method. In the embodiment of the present application, an application starting apparatus is taken as an example to execute an application starting method, and an apparatus of the application starting method provided in the embodiment of the present application is described.
Fig. 5 shows a schematic diagram of a possible structure of the application starting apparatus according to the embodiment of the present application. As shown in fig. 5, the application starting apparatus 60 may include: a receiving module 61 and an initiating module 62.
The receiving module 61 is configured to receive a first input that the stylus is pulled out of the application starting apparatus. And a starting module 62, configured to, in the process of pulling the stylus out of the application starting apparatus, start the target application in response to the first input received by the receiving module 61 if the moving distance of the stylus satisfies a first predetermined condition.
In a possible implementation manner, the starting module 62 is specifically configured to start the target application in the background when the first moving distance of the stylus is greater than or equal to the first threshold and the first moving distance is smaller than the length of the stylus slot of the application starting apparatus.
In a possible implementation manner, referring to fig. 5, as shown in fig. 6, the application starting apparatus 60 provided in the embodiment of the present application may further include: a display module 63. The display module 63 is configured to display the interface of the target application when the second moving distance of the stylus is greater than or equal to the length of the stylus slot.
In a possible implementation manner, the starting module 62 is specifically configured to control a display screen of the application starting apparatus to be in a bright screen state, and start the target application.
In a possible implementation manner, the receiving module 61 is further configured to receive a second input for inserting a stylus into the application starting apparatus. Referring to fig. 5, as shown in fig. 7, the application starting apparatus 60 according to the embodiment of the present application further includes: the module 64 is shut down. The closing module 64 is configured to, in a process that the user inserts the stylus into the application starting apparatus, respond to the second input received by the receiving module 61 and close the target application if the third moving distance of the stylus meets a second predetermined condition.
According to the application starting device provided by the embodiment of the application starting device, the target application can be directly started before the touch pen is pulled out of the application starting device according to the moving distance of the touch pen, and a user does not need to pull out the touch pen from the application starting device first and then perform multiple operations, so that the operation of the user can be simplified, time consumption is saved, and the application starting efficiency of the application starting device can be improved.
The application starting device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The application starting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The application starting apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 70 is further provided in this embodiment of the present application, and includes a processor 72, a memory 71, and a program or an instruction stored in the memory 71 and executable on the processor 72, where the program or the instruction is executed by the processor 72 to implement each process of the foregoing application starting method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source 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. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 107 is configured to receive a first input that the stylus is pulled out of the electronic device.
The processor 110 is configured to, in a process of pulling the stylus out of the electronic device, respond to the first input and start the target application if a moving distance of the stylus satisfies a first predetermined condition.
According to the electronic equipment provided by the embodiment of the application, because the electronic equipment can directly start the target application before the touch pen is pulled out of the electronic equipment according to the moving distance of the touch pen, the user does not need to pull out the touch pen from the electronic equipment first and then perform multiple operations, the operation of the user can be simplified, the time consumption is saved, and the application starting efficiency of the electronic equipment can be improved.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to start the target application in the background when the first moving distance of the stylus is greater than or equal to the first threshold and the first moving distance is smaller than the length of the stylus slot of the electronic device.
In the embodiment of the application, the target application can be directly started in the background under the condition that the user is determined to have the tendency of pulling the stylus out of the stylus slot, so that the user can directly input the display screen of the electronic device under the condition that the user completely pulls the stylus out of the stylus slot, the electronic device does not need to wait for the electronic device to start the target application, and therefore the use experience of the user can be improved.
Optionally, in this embodiment of the application, the display unit 106 is configured to display the interface of the target application when the second moving distance of the stylus is greater than or equal to the length of the stylus slot.
In the embodiment of the application, because the electronic device can directly display the interface of the target application without performing multiple operations on the electronic device under the condition that the user completely pulls out the stylus from the stylus slot, the operation of the user can be simplified, so that the efficiency of starting the application by the electronic device is improved.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to control a display screen of the electronic device to be in a bright screen state, and display an interface of the target application; or switching the target interface to the interface of the target application, wherein the target interface is an interface displayed by the electronic device before the interface of the target application is displayed.
In the embodiment of the application, because the electronic device can control the display screen of the electronic device to be in the bright screen state under the condition that the stylus is completely pulled out of the stylus slot, the interface of the target application is displayed, and the electronic device does not need to be operated for many times, the operation of a user can be simplified, and the efficiency of starting the application by the electronic device is improved.
In the embodiment of the application, because the electronic device can switch the target interface to the interface of the target application under the condition that the user completely pulls out the stylus from the stylus slot, the electronic device does not need to be operated for many times, the operation of the user can be simplified, and the efficiency of starting the application by the electronic device is improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a second input that a stylus is inserted into the electronic device.
The processor 110 is further configured to close the target application in response to the second input if the third moving distance of the stylus satisfies a second predetermined condition during the process of inserting the stylus into the electronic device.
In the embodiment of the application, because the electronic device can directly close the target application without the user performing multiple operations when the stylus is inserted into the electronic device and the third moving distance of the stylus meets the second predetermined condition, the user operation can be simplified to improve the user experience of the user.
It should be understood that, in the embodiment of the present application, the input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processing unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. 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. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above embodiment of the application starting method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the application start embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. An application starting method applied to an electronic device, the method comprising:
receiving a first input of pulling a stylus out of the electronic device;
and in the process of pulling out the electronic equipment by the stylus, if the moving distance of the stylus meets a first preset condition, responding to the first input and starting a target application.
2. The method of claim 1, wherein starting a target application in response to the first input if the distance traveled by the stylus satisfies a first predetermined condition comprises:
and starting the target application in a background under the condition that the first moving distance of the stylus is greater than or equal to a first threshold value and the first moving distance is smaller than the length of a stylus slot of the electronic equipment.
3. The method of claim 2, wherein after the background launches the target application, the method further comprises:
and displaying the interface of the target application under the condition that the second moving distance of the stylus is greater than or equal to the length of the stylus groove.
4. The method of claim 3, wherein displaying the interface of the target application comprises:
controlling a display screen of the electronic equipment to be in a bright screen state, and displaying an interface of the target application; alternatively, the first and second electrodes may be,
and switching a target interface into the interface of the target application, wherein the target interface is an interface displayed by the electronic equipment before the interface of the target application is displayed.
5. The method of claim 1, wherein after the launching of the target application, the method further comprises:
receiving a second input inserting the stylus into the electronic device;
and in the process of inserting the stylus into the electronic equipment, if the third moving distance of the stylus meets a second preset condition, responding to the second input and closing the target application.
6. An application startup device, characterized in that the application startup device comprises: the device comprises a receiving module and a starting module;
the receiving module is used for receiving a first input of pulling a touch pen out of the application starting device;
the starting module is configured to, in a process of pulling the stylus out of the application starting apparatus, start a target application in response to the first input received by the receiving module if a moving distance of the stylus satisfies a first predetermined condition.
7. The application launching device of claim 6, wherein the launching module is specifically configured to launch the target application in the background if a first moving distance of the stylus is greater than or equal to a first threshold and the first moving distance is less than a length of a stylus slot of the application launching device.
8. The application launching device as described in claim 7, further comprising: a display module;
the display module is configured to display the interface of the target application when the second movement distance of the stylus is greater than or equal to the length of the stylus slot.
9. The application launching device of claim 6, wherein the launching module is specifically configured to control a display screen of the application launching device to be in a bright screen state, and launch the target application.
10. The application launching device of claim 6, wherein the receiving module is further configured to receive a second input to insert the stylus into the application launching device;
the application launching device further comprises: closing the module;
the closing module is configured to, in a process of inserting the stylus into the application starting apparatus, respond to the second input received by the receiving module and close the target application if a third moving distance of the stylus satisfies a second predetermined condition.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the application launching method as claimed in any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the application launching method as claimed in any one of claims 1 to 5.
CN202010980174.4A 2020-09-17 2020-09-17 Application starting method and device and electronic equipment Pending CN112162788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010980174.4A CN112162788A (en) 2020-09-17 2020-09-17 Application starting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010980174.4A CN112162788A (en) 2020-09-17 2020-09-17 Application starting method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112162788A true CN112162788A (en) 2021-01-01

Family

ID=73859147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010980174.4A Pending CN112162788A (en) 2020-09-17 2020-09-17 Application starting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112162788A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764561A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Electronic equipment control method and device and electronic equipment
CN112925426A (en) * 2021-02-08 2021-06-08 维沃移动通信有限公司 Processing method and device of stylus and electronic equipment
WO2022089355A1 (en) * 2020-10-28 2022-05-05 维沃移动通信有限公司 Electronic device control method and electronic device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339264A (en) * 2004-05-27 2005-12-08 Casio Comput Co Ltd Pen input device and control program thereof
EP1978439A1 (en) * 2007-04-05 2008-10-08 Giga-Byte Communications, Inc. Trigger operated portable electronic device
CN102929532A (en) * 2012-09-29 2013-02-13 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
CN103139388A (en) * 2008-05-05 2013-06-05 宏达国际电子股份有限公司 Handheld electronic device and method for starting application program
CN104156143A (en) * 2014-07-31 2014-11-19 天津三星通信技术研究有限公司 Mobile terminal, device and method for quickly calling function menu of handwriting pen
CN106919313A (en) * 2017-04-21 2017-07-04 维沃移动通信有限公司 The startup method and mobile terminal of a kind of application program
CN107667333A (en) * 2015-06-10 2018-02-06 苹果公司 For manipulating the apparatus and method of user interface using stylus
CN107729133A (en) * 2017-10-26 2018-02-23 努比亚技术有限公司 A kind of method, terminal and computer-readable recording medium for running application program
CN110633114A (en) * 2019-09-23 2019-12-31 维沃移动通信有限公司 Application program starting method and terminal equipment
CN111198622A (en) * 2018-10-31 2020-05-26 比亚迪股份有限公司 Control method, device and system of electronic equipment
CN111324220A (en) * 2020-01-23 2020-06-23 联想(北京)有限公司 Display method, electronic device, and storage medium
CN111488076A (en) * 2020-04-03 2020-08-04 合肥讯飞读写科技有限公司 False touch prevention method, device, equipment and storage medium
CN111611027A (en) * 2020-05-28 2020-09-01 Oppo广东移动通信有限公司 Method for starting application program, terminal equipment and readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339264A (en) * 2004-05-27 2005-12-08 Casio Comput Co Ltd Pen input device and control program thereof
EP1978439A1 (en) * 2007-04-05 2008-10-08 Giga-Byte Communications, Inc. Trigger operated portable electronic device
CN103139388A (en) * 2008-05-05 2013-06-05 宏达国际电子股份有限公司 Handheld electronic device and method for starting application program
CN102929532A (en) * 2012-09-29 2013-02-13 东莞宇龙通信科技有限公司 Application program starting method and communication terminal
CN104156143A (en) * 2014-07-31 2014-11-19 天津三星通信技术研究有限公司 Mobile terminal, device and method for quickly calling function menu of handwriting pen
CN107667333A (en) * 2015-06-10 2018-02-06 苹果公司 For manipulating the apparatus and method of user interface using stylus
CN111414077A (en) * 2015-06-10 2020-07-14 苹果公司 Apparatus and method for manipulating a user interface with a stylus
CN106919313A (en) * 2017-04-21 2017-07-04 维沃移动通信有限公司 The startup method and mobile terminal of a kind of application program
CN107729133A (en) * 2017-10-26 2018-02-23 努比亚技术有限公司 A kind of method, terminal and computer-readable recording medium for running application program
CN111198622A (en) * 2018-10-31 2020-05-26 比亚迪股份有限公司 Control method, device and system of electronic equipment
CN110633114A (en) * 2019-09-23 2019-12-31 维沃移动通信有限公司 Application program starting method and terminal equipment
CN111324220A (en) * 2020-01-23 2020-06-23 联想(北京)有限公司 Display method, electronic device, and storage medium
CN111488076A (en) * 2020-04-03 2020-08-04 合肥讯飞读写科技有限公司 False touch prevention method, device, equipment and storage medium
CN111611027A (en) * 2020-05-28 2020-09-01 Oppo广东移动通信有限公司 Method for starting application program, terminal equipment and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022089355A1 (en) * 2020-10-28 2022-05-05 维沃移动通信有限公司 Electronic device control method and electronic device
CN112764561A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Electronic equipment control method and device and electronic equipment
CN112925426A (en) * 2021-02-08 2021-06-08 维沃移动通信有限公司 Processing method and device of stylus and electronic equipment

Similar Documents

Publication Publication Date Title
CN112162788A (en) Application starting method and device and electronic equipment
US11972274B2 (en) Application management method and apparatus, and electronic device
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN111163260B (en) Camera starting method and electronic equipment
CN112947829B (en) Misoperation processing method and device, electronic equipment and readable storage medium
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN112835485A (en) Application interface processing method and device, electronic equipment and readable storage medium
CN111601065A (en) Video call control method and device and electronic equipment
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
US20230230084A1 (en) Interface display method and apparatus, and electronic device
US20230104250A1 (en) Application icon display method and apparatus, and electronic device
CN112083854A (en) Application program running method and device
CN112286612A (en) Information display method and device and electronic equipment
CN112162808A (en) Interface display method and device and electronic equipment
CN112764561A (en) Electronic equipment control method and device and electronic equipment
CN112269513A (en) Interface display method and device and electronic equipment
CN114090110A (en) Application program starting method and device and electronic equipment
CN114222355A (en) Terminal power saving display method and device and electronic equipment
CN113485625A (en) Electronic equipment response method and device and electronic equipment
CN113806000A (en) Display method and device and electronic equipment
CN113885981A (en) Desktop editing method and device and electronic equipment
CN113778596A (en) Remote assistance method and device and electronic equipment
CN113805756A (en) Interface display method and device, electronic equipment and storage medium
CN112596645A (en) Application identifier hiding method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210101

RJ01 Rejection of invention patent application after publication