CN115562694A - Stylus pen upgrading method, control terminal and medium - Google Patents

Stylus pen upgrading method, control terminal and medium Download PDF

Info

Publication number
CN115562694A
CN115562694A CN202210124702.5A CN202210124702A CN115562694A CN 115562694 A CN115562694 A CN 115562694A CN 202210124702 A CN202210124702 A CN 202210124702A CN 115562694 A CN115562694 A CN 115562694A
Authority
CN
China
Prior art keywords
control terminal
stylus
pen
state
stylus 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.)
Pending
Application number
CN202210124702.5A
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210124702.5A priority Critical patent/CN115562694A/en
Publication of CN115562694A publication Critical patent/CN115562694A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application relates to the technical field of software updating, and discloses a stylus pen upgrading method, a control terminal and a medium. The stylus pen upgrading method comprises the following steps: acquiring a current firmware version of the stylus; receiving a software installation package higher than the current firmware version of the stylus pen, and sending the software installation package to the stylus pen; determining that the interaction state of the handwriting pen and the control terminal meets a preset state, and installing a software installation package on the handwriting pen; and in the process of installing the software installation package by the handwriting pen, acquiring the state information of the upgrading of the handwriting pen, and controlling a display screen of the control terminal to display the state information of the upgrading of the handwriting pen. Based on the scheme, when the handwriting pen can be upgraded, extra time is not needed for downloading the software upgrading package, and the upgrading time can be effectively reduced. And the control terminal can control the handwriting pen to be upgraded in time under the condition that the interaction state of the handwriting pen and the control terminal is determined to meet the preset state, so that a user can experience a new firmware version of the handwriting pen in time.

Description

Stylus pen upgrading method, control terminal and medium
Technical Field
The present application relates to the field of software updating technologies, and in particular, to a stylus pen upgrading method, a control terminal, and a medium.
Background
Currently, various input devices, such as a stylus or a stylus, may be used to provide input to a display of a control terminal, such as a tablet computer. For example, as shown in fig. 1, stylus 100 may be used to provide input to the display of tablet computer 200. In order to continuously improve the performance of the stylus pen 100, the firmware of the stylus pen 100 needs to be updated and upgraded continuously.
At present, the upgrading mode of the stylus pen 100 generally adopts a mode of manual upgrading by a user. For example, as shown in fig. 2, the user may click on the "auxiliary function" control 2011 on the "setup" interface 201 of the tablet computer 200 to enter the "stylus" interface 202, and at the "stylus" interface 202, the user may click on the "firmware update" control 2021 to perform firmware upgrade of the stylus 100. However, the above scheme requires manual upgrade by the user, and the user may not pay attention to whether the stylus pen 100 has a new firmware version to be released, so that frequent upgrade is not performed, and the user cannot experience the new firmware version of the stylus pen 100 in time.
Some upgrading methods of the stylus pen 100 preset automatic upgrading time of the stylus pen 100 to be a morning time period, the control terminal may detect whether a new firmware version exists in the morning time period, and when the new firmware version exists, the control terminal sends a software installation package corresponding to the new firmware version to the stylus pen 100 and controls the stylus pen 100 to upgrade. According to the scheme, the stylus pen 100 can be upgraded only in the early morning time period, but before the time period is reached, the stylus pen 100 cannot be upgraded in time, so that the upgrading of the stylus pen 100 is delayed greatly.
Disclosure of Invention
In order to solve the above problem, embodiments of the present application provide a stylus pen upgrading method, a control terminal, and a medium.
In a first aspect, an embodiment of the present application provides a method for upgrading a stylus pen, which is applied to a control terminal, where the stylus pen performs touch interaction with the control terminal to implement input to the control terminal; the method comprises the following steps:
acquiring a current firmware version of the stylus;
receiving a software installation package higher than the current firmware version of the stylus pen, and sending the software installation package to the stylus pen;
determining that the interaction state of the stylus and the control terminal meets a preset state, and installing the software installation package by the stylus, wherein the preset state comprises a state that the time of the stylus in a charging state is longer than a first preset time;
and in the process of installing the software installation package by the stylus pen, acquiring the state information of the upgrading of the stylus pen, and controlling a display screen of the control terminal to display the state information of the upgrading of the stylus pen.
It can be understood that, in the embodiment of the application, when the control terminal detects that the control terminal is connected with the stylus pen and receives a software installation package higher than the current firmware version of the stylus pen, the control terminal may send a software installation package of a higher version to the stylus pen in advance; when the stylus pen can be upgraded, the software upgrading package does not need to be downloaded in extra time, and the upgrading time can be effectively reduced. In addition, the control terminal can control the handwriting pen to be updated in time under the condition that the interaction state of the handwriting pen and the control terminal meets the preset state, for example, the handwriting pen is detected to be in a charging state for a long time or the control terminal is in a non-working state for a long time, and the like, so that the time interval between the updating time of the handwriting pen and the release time of the new firmware version can be effectively shortened, the handwriting pen is updated in time, and the user can experience the new firmware version of the handwriting pen in time.
It is understood that in some embodiments, when the control terminal detects that the stylus pen is in the charging state and the charging time is greater than the set threshold; the method can conclude that the stylus pen is in a stable charging state, and the user has a high possibility of not using the stylus pen in a short period, so that the upgrading of the stylus pen is not easily interrupted at the moment, and the upgrading success rate is improved.
It can be understood that, in the embodiment of the present application, the control display screen displays the status information of the upgrading of the stylus pen, so that a user can know the status information of the upgrading of the stylus pen in time.
In a possible implementation of the first aspect, the preset state further includes a state that a time when the control terminal is in a non-operating state is longer than a second preset time;
the mode of determining that the interaction state of the stylus pen and the control terminal meets the preset state comprises the following steps: and when the time that the control terminal is in the non-working state is determined to be greater than the second preset time, determining that the interaction state of the stylus pen and the control terminal meets a preset state.
It is understood that, in other embodiments, when the time that the control terminal detects that the tablet computer is in the non-working state is greater than the set threshold, it may be inferred that the control terminal is already in the determined non-working state, and at this time, it may be inferred that the stylus pen is also in the non-working state, and there is a high possibility that the user will not use the stylus pen in a short period of time. Therefore, the upgrading of the handwriting pen is not easily interrupted, and the upgrading success rate is improved.
In a possible implementation of the first aspect, the determining that the control terminal is in the non-operating state includes:
and when the display screen of the control terminal is determined to be in the screen-off state, determining that the control terminal is in the non-working state.
In a possible implementation of the first aspect, the status information includes upgrade progress information, upgrade interruption information, and upgrade success information.
In a possible implementation of the first aspect, the method further includes: when the control terminal acquires that the upgrading state information of the handwriting pen is upgrading interruption information, the control terminal detects the reason of the upgrading interruption of the handwriting pen;
and when the control terminal detects that the reason for the interruption of the upgrade of the handwriting pen is that the software installation package is damaged, the software installation package is retransmitted to the handwriting pen, and the handwriting pen is controlled to install the software installation package.
It can be understood that in the embodiment of the application, the reason for the update interruption of the stylus pen is detected and detected in time, which is helpful for solving the problem of the update interruption of the stylus pen in time and ensures the success rate of the update of the stylus pen.
In a possible implementation of the first aspect, the method further includes: and when the control terminal detects that the reason for the interruption of the upgrading of the handwriting pen is that the handwriting pen and the control terminal are in a touch interaction state, controlling the handwriting pen to install the software installation package when the handwriting pen and the control terminal are determined to be in a stable non-touch interaction state again.
In a second aspect, an embodiment of the present application provides a control terminal, including: the stylus pen upgrading method comprises the steps of receiving a stylus pen upgrade request from a control terminal, and storing instructions to be executed by one or more processors of the control terminal.
In a third aspect, an embodiment of the present application provides a readable medium, where the readable medium stores instructions, and the instructions, when executed on a control terminal, cause a machine to execute the above stylus pen upgrading method.
In a fourth aspect, an embodiment of the present application provides a computer program product, which includes instructions for implementing the stylus pen upgrading method.
In a fifth aspect, the present application provides a chip system, where the chip system is applied to a control terminal; the chip system comprises: a processor and a memory; and when the processor executes the computer instructions stored in the memory, the control terminal executes the handwriting pen upgrading method.
Drawings
FIG. 1 illustrates an interactive schematic of a stylus and a tablet, according to some embodiments of the present application.
FIG. 2 illustrates a schematic diagram of a prior art stylus upgrade approach, according to some embodiments of the present application.
FIG. 3 illustrates a scenario diagram of a stylus upgrade, according to some embodiments of the present application.
Fig. 4 illustrates a display interface schematic diagram of a tablet computer with a stylus upgraded according to some embodiments of the present application.
FIG. 5 illustrates a hardware configuration diagram of a stylus according to some embodiments of the present application.
Fig. 6 illustrates a schematic structural diagram of a tablet computer, according to some embodiments of the present application.
FIG. 7 illustrates a flowchart of a stylus upgrade method, according to some embodiments of the present application.
FIG. 8 illustrates a charge state diagram of a stylus according to some embodiments of the present application.
Fig. 9 illustrates a display interface schematic of a tablet computer with a stylus upgraded, according to some embodiments of the present application.
Detailed Description
The illustrative embodiments of the present application include, but are not limited to, a stylus pen upgrade method, a control terminal, and a medium.
In order to solve the above problem, an embodiment of the present application provides a method for upgrading a stylus pen, which specifically includes: when the control terminal, for example, a tablet computer receives a software installation package with a version higher than the current firmware version of the stylus pen, the software installation package is sent to the stylus pen under the condition that the control terminal is detected to be connected with the stylus pen. And when the control terminal detects that the handwriting pen is in a charging state or the control terminal is in a non-working state, controlling the handwriting pen to install the received software installation package so as to upgrade the firmware of the handwriting pen.
Based on the scheme, when the control terminal detects that the control terminal is connected with the stylus pen and receives a software installation package of a current firmware version higher than that of the stylus pen, the control terminal can send the software installation package of a higher version to the stylus pen in advance; when the stylus pen can be upgraded, the software upgrading package does not need to be downloaded in extra time, and the upgrading time can be effectively reduced. In addition, the control terminal can control the handwriting pen to be updated in time under the condition that the interaction state of the handwriting pen and the control terminal is determined to meet the preset state, for example, the handwriting pen is detected to be in a charging state for a long time or the control terminal is in a non-working state for a long time, and the like, so that the user may not use the handwriting pen temporarily, the time interval between the updating time of the handwriting pen and the release time of the new firmware version can be effectively shortened, and the user can experience the new firmware version of the handwriting pen in time.
It is understood that, in some embodiments, the control terminal may also control the stylus pen to install the received software installation package after detecting that the time that the stylus pen maintains the charging state or the time that the control terminal maintains the non-operating state reaches a preset time, so as to perform firmware upgrade of the stylus pen.
It is understood that in some embodiments, when the control terminal detects that the stylus pen is in the charging state and the charging time is greater than the set threshold; the stylus pen can be inferred to be already in a stable charging state, and the probability that the stylus pen is not used by a user in a short period is high; in other embodiments, when the control terminal detects that the time that the tablet computer is in the non-working state is greater than the set threshold, it may be inferred that the control terminal is already in the determined non-working state, at this time, it may be inferred that the stylus pen is in the non-working state, and the user has a high possibility that the stylus pen will not be used in a short period of time. Therefore, performing an upgrade of the stylus at this time is not easily interrupted.
For example, in some embodiments, as shown in fig. 3, the stylus pen 100 is charged by being attached to the charging chip position 203 of the tablet pc 200, and when the time of the tablet pc 200 at which the stylus pen 100 is detected to be attached to the charging chip position 203 reaches a set time, for example, 10s, the stylus pen 100 is controlled to install the received software installation package, so as to perform firmware upgrade of the stylus pen 100.
In some embodiments, when the stylus pen 100 is in the process of system upgrade, the display interface of the tablet pc 200 displays the upgrade prompt window 204, and the upgrade prompt window 204 may display the upgrade prompt phrase, the upgrade progress, and the like. For example, as shown in fig. 4, an upgrade prompt window of the display interface of the tablet pc 200 may display a prompt phrase "in upgrade" and the upgrade progress is 5%.
It will be appreciated that the purpose of the stylus firmware version upgrade includes, but is not limited to, for example, adding stylus functionality, adding stylus compatibility with newly developed displays, adding security features, and the like.
Before describing the stylus pen upgrading method provided in the embodiment of the present application in detail, first, a hardware structure of the stylus pen and a hardware structure of the control terminal in the embodiment of the present application are described.
Fig. 5 is a schematic hardware structure diagram of a stylus 100 according to an embodiment of the present disclosure. Referring to FIG. 5, stylus 100 may have a processor 110. Processor 110 may be used to control the operation of stylus 100.
It is understood that in the embodiment of the present application, the processor may be configured to detect charging status information such as whether the stylus pen 100 is in a charging status and a time of the charging status.
In some embodiments, the processor may also be configured to send the charging status information of the stylus 100 to a control terminal connected to the stylus 100.
One or more sensors may be included in stylus 100. For example, the sensor may include a pressure sensor 120. Pressure sensor 120 may be disposed at the writing end of stylus 100. Of course, the pressure sensor 120 may be disposed in the shaft 20 of the pen 100, such that when one end of the pen tip of the pen 100 is forced, the other end of the pen tip moves to apply force to the pressure sensor 120. In one embodiment, processor 110 may adjust the line thickness of stylus 100 during writing according to the pressure detected by pressure sensor 120.
The sensors may also include inertial sensors 130. The inertial sensors 130 may include three-axis accelerometers and three-axis gyroscopes, and/or other components for measuring motion of the stylus 100, e.g., a three-axis magnetometer may be included in the sensors in a nine-axis inertial sensor configuration. The sensors may also include additional sensors such as temperature sensors, ambient light sensors, light-based proximity sensors, contact sensors, magnetic sensors, pressure sensors, and/or other sensors.
A status indicator 140 of a light emitting diode and a button 150 may be included in stylus 100. Status indicators 140 are used to indicate to the user the status of stylus 100. Buttons 150 may include mechanical and non-mechanical buttons, and buttons 150 may be used to collect button press information from a user.
Sensing circuitry 170 may be included in stylus 100. Sensing circuitry 170 may sense capacitive coupling between electrodes 160 and drive lines of a capacitive touch sensor panel interacting with stylus 100. The sensing circuit 170 can include an amplifier to receive capacitance readings from the capacitive touch sensor panel, a clock to generate a demodulation signal, a phase shifter to generate a phase shifted demodulation signal, a mixer to demodulate the capacitance readings using an in-phase demodulation frequency component, and a mixer to demodulate the capacitance readings using a quadrature demodulation frequency component, among others. The results of the mixer demodulation can be used to determine an amplitude proportional to the capacitance so that stylus 100 can sense contact with the capacitive touch sensor panel.
To support wireless communication of the stylus pen 100 with the control terminal 200, the stylus pen 100 may include a wireless module. Fig. 5 illustrates an example in which the bluetooth module 180 is a wireless module. The wireless module can also be a WI-FI hot spot module, a WI-FI point-to-point module and the like. Bluetooth module 180 may include a radio frequency transceiver, such as a transceiver. Bluetooth module 180 may also include one or more antennas. The transceiver may transmit and/or receive wireless signals, which may be bluetooth signals, wireless local area network signals, long range signals such as cellular telephone signals, near field communication signals, or other wireless signals, based on the type of wireless module, using the antenna.
It can be understood that, in the embodiment of the present application, the stylus pen 100 may establish a connection with the control terminal through the wireless communication module, receive the software installation package and other instructions sent by the control terminal through the wireless communication module, and may also send the charging state information and other information and instructions to the control terminal through the wireless communication module.
Stylus 100 may also include a charging module 190, where charging module 190 may support charging of stylus 100 to provide power to stylus 100.
It is understood that, in the embodiment of the present application, the charging module 190 may include a charging chip, and the stylus pen 100 is connected to a control terminal, for example, a charging chip of the tablet computer 200, through the charging chip, so as to charge the stylus pen 100.
In some embodiments, the charging module 190 may include a USB-C charging interface, and the stylus pen 100 inserts the charging interface into a corresponding interface of a control terminal, such as the tablet computer 200, to realize charging of the stylus pen 100. Or the stylus pen 100 can be charged by inserting the USB-C charging interface into a corresponding charging box or charger, etc.
It should be understood that the control terminal in the embodiment of the present application may be referred to as a User Equipment (UE), a terminal (terminal), and the like, for example, the control terminal 200 may be a tablet 200 (PAD), a Personal Digital Assistant (PDA), a handheld device with a wireless communication function, a computing device, a vehicle-mounted device, or a wearable device, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in an industrial control (industrial control), a wireless terminal in a self driving (driving), a wireless terminal in a remote medical (remote medical), a wireless terminal in a smart grid (smart grid), a wireless terminal in a transportation safety (transportation safety), a wireless terminal in a smart city (city), a wireless terminal in a smart terminal (smart home), and the like. The form of the control terminal is not particularly limited in the embodiment of the present application.
The hardware structure of the control terminal provided in the embodiment of the present application is described below by taking a tablet computer as an example.
As shown in fig. 6, the tablet pc 200 may include a processor 210, a power supply module 240, a memory 280, a mobile communication module 230, a wireless communication module 220, a sensor module 290, an audio module 250, a camera 270, an interface module 260, keys 201, a display 202, and the like.
It is understood that the illustrated structure of the embodiment of the present invention does not specifically limit the tablet pc 200. In other embodiments of the present application, the tablet computer 200 may include more or fewer components than shown, or some components may be combined, some components may be separated, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 210 may include one or more Processing units, for example, a Processing module or a Processing circuit that may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processor (DSP), a Micro-programmed Control Unit (MCU), an Artificial Intelligence (AI) processor, or a Programmable logic device (FPGA), etc. The different processing units may be separate devices or may be integrated into one or more processors. A memory unit may be provided in the processor 210 for storing instructions and data. In some embodiments, the storage unit in processor 210 is cache memory 280.
It is understood that, in the embodiment of the present application, the processor may be configured to, after receiving a software installation package of a version higher than the existing firmware version of the stylus pen 200, send the software installation package to the stylus pen 200 in a case that it is detected that the tablet computer 200 is connected to the stylus pen 200. When the stylus pen 200 is detected to be in the charging state and the charging time is greater than the set threshold value; or; when the time that the tablet computer 200 is in the non-working state is detected to be greater than the set threshold value, the stylus pen 200 is controlled to be upgraded.
The power module 240 may include a power supply, power management components, and the like. The power source may be a battery. The power management component is used for managing the charging of the power supply and the power supply of the power supply to other modules. In some embodiments, the power management component includes a charge management module and a power management module. The charging management module is used for receiving charging input from the charger; the power management module is used to connect a power source, the charging management module and the processor 220. The power management module receives power and/or charge management module input and provides power to the processor 220, the display 202, the camera 270, the wireless communication module 220, and the like.
The mobile communication module 230 may include, but is not limited to, an antenna, a power amplifier, a filter, an LNA (Low noise amplifier), and the like.
The wireless communication module 220 may include an antenna, and implement transceiving of electromagnetic waves via the antenna. The wireless communication module 220 may provide a solution for wireless communication applied to the tablet pc 200, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The tablet computer 200 may communicate with a network and other devices via wireless communication techniques.
In some embodiments, the mobile communication module 230 and the wireless communication module 220 of the tablet computer 200 may also be located in the same module.
The display screen 202 is used for displaying human-computer interaction interfaces, images, videos and the like. The display screen 202 includes a display panel.
The sensor module 290 may include a proximity light sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
The audio module 250 is used to convert digital audio information into an analog audio signal output or convert an analog audio input into a digital audio signal. The audio module 250 may also be used to encode and decode audio signals. In some embodiments, the audio module 250 may be disposed in the processor 220, or some functional modules of the audio module 250 may be disposed in the processor 220. In some embodiments, audio module 250 may include speakers, earphones, a microphone, and a headphone interface.
The camera 270 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The light receiving element converts an optical Signal into an electrical Signal, and then transmits the electrical Signal to an ISP (Image Signal Processing) to convert the electrical Signal into a digital Image Signal. The tablet computer 200 may implement a shooting function through the ISP, the camera 270, the video codec, the GPU (graphics Processing Unit), the display screen 202, the application processor, and the like.
The interface module 260 includes an external memory interface, a Universal Serial Bus (USB) interface, a Subscriber Identity Module (SIM) card interface, and the like. The external memory interface may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the tablet computer 200. The external memory card communicates with the processor 220 through an external memory interface to implement a data storage function. The usb interface is used for the tablet pc 200 to communicate with other control terminals. The SIM card interface is used to communicate with a SIM card installed to the tablet computer 20020, such as reading a phone number stored in the SIM card or writing a phone number to the SIM card.
In some embodiments, the tablet computer 200 further includes keys 201, a motor, an indicator, and the like. The keys 201 may include a volume key, an on/off key, and the like. The motor is used to generate a vibration effect on the tablet pc 200, for example, when the tablet pc 200 of the user is called, to prompt the user to answer the incoming call of the tablet pc 200. The indicators may include laser indicators, radio frequency indicators, LED indicators, and the like.
The method for upgrading the stylus pen provided in the embodiment of the present application is described in detail below by taking the control terminal as the tablet pc 200 as an example, and as shown in fig. 7, fig. 7 shows a flowchart of the method for upgrading the stylus pen 100 in the embodiment of the present application. The method for upgrading the stylus pen 100 comprises the following steps:
701: tablet computer 200 receives a higher version of the software installation package than the current firmware version of stylus 100.
It can be understood that, in this embodiment of the application, the tablet pc 200 may obtain the current firmware version of the stylus pen 100, and the tablet pc 200 may receive the newly released firmware version through the network, compare the received newly released firmware version with the current firmware version of the stylus pen 100, and determine whether a firmware version higher than the current firmware version of the stylus pen 100 is received, if yes, further determine whether the tablet pc 200 is connected to the stylus pen 100, and if so, send the software installation package to the stylus pen 100 in advance.
It is understood that the network may be a wired network, a wireless network, a local area network, a wide area network, a cloud network, etc.
702: the tablet computer 200 detects that the tablet computer 200 is connected to the stylus pen 100.
It is understood that in the embodiment of the present application, the tablet pc 200 may establish a connection with the stylus pen 100 through bluetooth or any other communication method.
703: the tablet computer 200 sends the software installation package to the stylus 100.
It is understood that in the embodiment of the present application, when the tablet pc 200 detects that the tablet pc 200 is connected to the stylus pen 100, the tablet pc 200 may send the software installation package to the stylus pen 100 through bluetooth or Wi-Fi or any other communication method.
704: the mobile phone pen 100 sends a reception completion instruction to the tablet computer 200
It can be understood that, in the embodiment of the present application, after the stylus pen 100 completes receiving the software installation package, a corresponding receiving completion message is sent to the tablet pc 200. And stylus 100 may mark that a complete software installation package has been received.
In some embodiments, when the receiving of the software installation package is interrupted during the receiving process of the stylus pen 100, or the received software installation package is incomplete due to a problem of a program or the like, the stylus pen 100 may send a re-issuing request to the tablet pc 200, and the tablet pc 200 may send the software installation package to the stylus pen 100 again.
705: detecting that the time that the stylus 100 is in the charging state is greater than a set threshold; or; the time for detecting that the tablet computer 200 is in the non-working state is greater than the set threshold.
It is appreciated that in some embodiments, when the tablet computer 200 detects that the stylus 100 is in the charging state and the charging time is greater than the first preset time, it may be inferred that the stylus 100 is already in the stable charging state, and the user may not use the stylus 100 for a short period of time. Therefore, at this time, the upgrade of the stylus pen 100 is not easily interrupted, and the stylus pen 100 can be upgraded in time by using the charging time, so that the time interval between the upgrade time of the stylus pen 100 and the release time of the new firmware version can be effectively shortened, and a user can experience the new firmware version of the stylus pen 100 in time.
In other embodiments, when the tablet computer 200 detects that the tablet computer 200 is in the non-working state for more than a second preset time, it may be inferred that the tablet computer 200 is already in the determined non-working state, and at this time, it may be inferred that the stylus 100 is in the non-working state and the user is not likely to use the stylus 100 for a short period of time. Therefore, the upgrade of the stylus pen 100 is not easily interrupted, the stylus pen 100 can be upgraded in time by using the charging time, the time interval between the upgrade time of the stylus pen 100 and the release time of the new firmware version can be effectively shortened, and the user can experience the new firmware version of the stylus pen 100 in time.
It is understood that, since the charging of stylus 100 may be performed in various manners, there may be various manners for determining that stylus 100 is detected in the charging state in the embodiment of the present application. The following examples are given.
In some embodiments, as shown in fig. 3, the stylus pen 100 may include a charging chip, and the stylus pen 100 is connected to the charging chip 203 of the tablet computer 200 through its own charging chip, so as to charge the stylus pen 100. At this time, the processor of the tablet pc 200 may directly detect that the stylus pen 100 is in the charging state and the charging time.
In some embodiments, the stylus pen 100 may include a USB-C charging interface, and the stylus pen 100 inserts the charging interface into a corresponding interface of the tablet computer 200 to charge the stylus pen 100. At this time, the processor of the tablet pc 200 may directly detect that the stylus pen 100 is in the charging state and the charging time.
In some embodiments, stylus 100 may be charged by inserting a USB-C charging interface into a corresponding charging cradle or charger, or the like. At this time, the processor of the tablet computer 200 cannot directly detect the charging state of the stylus pen 100, and the processor of the stylus pen 100 can detect the charging state and the charging time of the processor and send the charging state and the charging time to the tablet computer 200 in real time.
In some embodiments, for example, as shown in fig. 8, the stylus pen 100 may be placed in the charging box 300 for charging, or the connection rod may be used for charging, in which case the processor of the tablet pc 200 cannot directly detect the charging state of the stylus pen 100, and the processor of the stylus pen 100 may detect the charging state and the charging time thereof and send the charging state and the charging time to the tablet pc 200 in real time.
In the embodiment of the present application, there are various ways for the tablet pc 200 to determine that the tablet pc 200 is in the non-working state, which are described in the following examples:
in some embodiments, when the processor of the tablet pc 200 detects that the screen of the tablet pc 200 is in the off-screen state, it may be determined that the tablet pc 200 is in the non-operating state.
In some embodiments, when the processor of the tablet pc 200 determines that the operating system or the software application of the tablet pc 200 is in the non-operating state, it may be inferred that the tablet pc 200 is in the non-operating state.
706: the tablet computer 200 sends an upgrade instruction to the stylus pen 100.
It can be understood that, in the embodiment of the present application, when the tablet pc 200 detects that the stylus pen 100 is in the charging state and the charging time is greater than the first preset time; or; when it is detected that the time that the tablet computer 200 is in the non-working state is longer than the second preset time, an upgrade instruction may be sent to the stylus pen 100, so that the stylus pen 100 performs installation and upgrade of the software installation package after receiving the upgrade instruction.
707: stylus 100 installs a software installation package for upgrade.
It will be appreciated that the stylus 100, upon receiving an upgrade instruction, may automatically install a software upgrade package for a firmware upgrade. And when the software installation package is installed, the upgrading is successful. When stylus 100 is used again, a new firmware version may be run.
In some embodiments, the upgrade status information may be sent to the tablet computer 200 in real-time while the stylus 100 is in the process of a system upgrade. It is understood that the upgrade status information may include upgrade progress, upgrade interruption information, upgrade success information, and the like.
708: stylus 100 sends upgrade status information to tablet computer 200.
It is appreciated that as previously described, the upgrade status information may be sent to the tablet computer 200 in real-time while the stylus 100 is in the process of a system upgrade.
For example, when the stylus pen 100 is in a normal upgrade process, the stylus pen 100 may send upgrade status information such as an upgrade progress to the tablet pc 200.
When the stylus pen 100 is upgraded successfully, the stylus pen 100 may send corresponding upgrade status information such as that the upgrade is completed to the tablet pc 200.
When the stylus pen 100 is interrupted during the upgrade, the stylus pen 100 may send corresponding upgrade status information, such as the upgrade interruption and the upgrade progress during the upgrade, to the tablet pc 200.
709: the tablet pc 200 displays the upgrade status information of the stylus pen 100.
In some embodiments, the display interface of the tablet pc 200 displays an upgrade prompt window 204, and upgrade status information, such as upgrade progress, upgrade interruption information, upgrade success information, and the like, may be displayed in the upgrade prompt window 204. It can be understood that, in the embodiment of the application, the display screen is controlled to display the state information of the upgrading of the stylus pen, so that a user can know the state information of the upgrading of the stylus pen in time.
For example, as shown in fig. 4, when the upgrade status information received by the tablet pc 200 is in normal upgrade and the upgrade progress is 5%, a prompt phrase "upgrade in progress" may be displayed in the upgrade prompt window 204 of the display interface of the tablet pc 200, and the upgrade progress is 5%.
In some embodiments, when the upgrade status information received by the tablet pc 200 indicates that the upgrade is interrupted, as shown in fig. 9, an upgrade prompt window 204 of the display interface of the tablet pc 200 may display an upgrade interruption prompt phrase, and the upgrade progress is currently, for example, 40%.
In some embodiments, when the tablet pc 200 receives the upgrade status information of the stylus pen 100 as an upgrade interrupt, the interrupt cause detection is performed. If the reason for detecting the upgrade interruption is interruption caused by the fact that the stylus pen 100 suddenly leaves the charger or suddenly stays in the working state, the time for detecting that the stylus pen 100 stays in the charging state next time is longer than a first preset time; or; when the time that the tablet computer 200 is in the non-working state is detected to be longer than the second preset time, an upgrade instruction is sent to the stylus pen 100.
In some embodiments, if the tablet pc 200 detects that the reason for the interruption of the upgrade of the stylus pen 100 is due to a damaged software installation package, the software installation package and the upgrade instruction are re-sent to the stylus pen.
In some embodiments, if the tablet pc 200 cannot detect the reason for the interruption of the upgrade of the stylus pen 100, the upgrade instruction is re-sent to the stylus pen.
It is understood that in some embodiments, the stylus pen 100 may perform the continued installation of the interrupted software installation package to achieve the upgrade after receiving the upgrade instruction retransmitted by the tablet computer 200. In other embodiments, the stylus 100 may directly reinstall the software installation package after receiving the upgrade instruction to implement the re-upgrade.
In some embodiments, the stylus pen 100 may detect the charging state and the charging time of the stylus pen 100, and at this time, when the stylus pen 100 detects that the stylus pen 100 is in the charging state and the charging time is greater than the first preset time, the installation and upgrade of the software installation package may be automatically performed without receiving an upgrade instruction of the tablet computer 200.
Based on the scheme, when the control terminal detects that the control terminal is connected with the handwriting pen, the control terminal can send a software installation package of a higher version to the handwriting pen in advance; when the stylus pen can be upgraded, the software upgrading package does not need to be downloaded again, and the upgrading time can be effectively shortened. In addition, the control terminal can control the handwriting pen to upgrade under the condition that the user may not use the handwriting pen temporarily, such as when detecting that the handwriting pen is in a charging state or the control terminal is in a non-working state, so that the handwriting pen can be installed and upgraded in time when being in the non-working state, the time interval between the upgrading time of the handwriting pen and the release time of the new firmware version can be effectively shortened, the handwriting pen is upgraded in time, and the user can experience the new firmware version of the handwriting pen in time.
The embodiments disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as computer programs or program code executing on programmable systems comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this application, a processing system includes any system having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. The program code can also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in this application are not limited in scope to any particular programming language. In any case, the language may be a compiled or interpreted language.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or via other computer readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy diskettes, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random Access Memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable storage device for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the internet in an electrical, optical, acoustical or other form of propagated signal. Thus, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
An embodiment of the present application provides a computer program product, which includes instructions for implementing the above stylus pen upgrading method.
The embodiment of the application also provides a chip system, which is applied to a control terminal comprising a memory, a display screen and a sensor; the chip system includes: a processor; when the processor executes the computer instructions stored in the memory, the control terminal executes the stylus pen upgrading method.
In the drawings, some features of the structures or methods may be shown in a particular arrangement and/or order. However, it is to be understood that such specific arrangement and/or ordering may not be required. Rather, in some embodiments, the features may be arranged in a manner and/or order different from that shown in the figures. In addition, the inclusion of a structural or methodical feature in a particular figure is not meant to imply that such feature is required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in each device embodiment of the present application, each unit/module is a logical unit/module, and physically, one logical unit/module may be one physical unit/module, or a part of one physical unit/module, and may also be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logical unit/module itself is not the most important, and the combination of the functions implemented by the logical unit/module is the key to solving the technical problem provided by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units/modules which are not so closely related to solve the technical problems presented in the present application, which does not indicate that no other units/modules exist in the above-mentioned device embodiments.
It is noted that, in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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, the use of the verb "comprise a" to define an element does not exclude the presence of another, same element in a process, method, article, or apparatus that comprises the element.
While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the application.

Claims (10)

1. A handwriting pen upgrading method is applied to a control terminal, and the handwriting pen is in touch interaction with the control terminal to realize input to the control terminal; it is characterized by comprising:
acquiring a current firmware version of the stylus;
receiving a software installation package higher than the current firmware version of the handwriting pen, and sending the software installation package to the handwriting pen;
determining that the interaction state of the stylus and the control terminal meets a preset state, and installing the software installation package by the stylus, wherein the preset state comprises a state that the time of the stylus in a charging state is longer than a first preset time;
and in the process of installing the software installation package by the stylus pen, acquiring the state information of the upgrade of the stylus pen, and controlling a display screen of the control terminal to display the state information of the upgrade of the stylus pen.
2. The stylus pen upgrading method according to claim 1, wherein the preset state further includes a state where the control terminal is in a non-working state for a time greater than a second preset time;
the determining that the interaction state of the stylus pen and the control terminal meets a preset state comprises: and when the time that the control terminal is in the non-working state is determined to be longer than the second preset time, determining that the interaction state of the stylus pen and the control terminal meets a preset state.
3. The stylus pen upgrading method according to claim 2, wherein the determining that the control terminal is in the non-working state comprises:
and when the display screen of the control terminal is determined to be in the screen-off state, determining that the control terminal is in the non-working state.
4. The stylus pen upgrading method according to any one of claims 1-3, wherein the status information includes upgrade progress information, upgrade interruption information, and upgrade success information.
5. The stylus upgrading method according to claim 4, further comprising: when the control terminal acquires that the upgrading state information of the handwriting pen is upgrading interruption information, the control terminal detects the reason for the upgrading interruption of the handwriting pen;
and when the control terminal detects that the reason for the interruption of the upgrade of the handwriting pen is that the software installation package is damaged, the software installation package is retransmitted to the handwriting pen, and the handwriting pen is controlled to install the software installation package.
6. The stylus upgrade method according to claim 5, further comprising:
when the control terminal detects that the reason for the update interruption of the stylus pen is that the stylus pen and the control terminal are in a touch interaction state, if the fact that the interaction state of the stylus pen and the control terminal meets a preset state is determined again, the stylus pen installs the software installation package.
7. A control terminal, comprising: a memory for storing instructions for execution by one or more processors of a control terminal, and a processor, one of the one or more processors of the control terminal, for performing the stylus upgrade method of any one of claims 1 to 6.
8. A readable medium having stored thereon instructions which, when executed on a control terminal, cause a machine to perform the stylus upgrade method of any one of claims 1 to 6.
9. A computer program product comprising instructions for implementing a stylus upgrade method according to any one of claims 1 to 6.
10. A chip system is characterized in that the chip system is applied to a control terminal; the chip system includes: a processor and a memory; the control terminal, when executing computer instructions stored in the memory, performs the stylus upgrade method of any one of claims 1 to 6.
CN202210124702.5A 2022-02-10 2022-02-10 Stylus pen upgrading method, control terminal and medium Pending CN115562694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210124702.5A CN115562694A (en) 2022-02-10 2022-02-10 Stylus pen upgrading method, control terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210124702.5A CN115562694A (en) 2022-02-10 2022-02-10 Stylus pen upgrading method, control terminal and medium

Publications (1)

Publication Number Publication Date
CN115562694A true CN115562694A (en) 2023-01-03

Family

ID=84737913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210124702.5A Pending CN115562694A (en) 2022-02-10 2022-02-10 Stylus pen upgrading method, control terminal and medium

Country Status (1)

Country Link
CN (1) CN115562694A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135602A (en) * 2023-04-25 2023-11-28 荣耀终端有限公司 Data interaction method for handwriting pen multi-connection scene, handwriting pen and Bluetooth system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014160340A (en) * 2013-02-19 2014-09-04 Fujitsu Mobile Communications Ltd Information processing device, information processing method, and information processing program
CN109240722A (en) * 2018-08-30 2019-01-18 百度在线网络技术(北京)有限公司 Application upgrade method, apparatus, system and storage medium
WO2019090466A1 (en) * 2017-11-07 2019-05-16 深圳市汇顶科技股份有限公司 Firmware upgrade method for stylus, terminal and stylus
CN110421594A (en) * 2019-08-06 2019-11-08 中新智擎科技有限公司 Robotary detection method, system, robot and computer storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014160340A (en) * 2013-02-19 2014-09-04 Fujitsu Mobile Communications Ltd Information processing device, information processing method, and information processing program
WO2019090466A1 (en) * 2017-11-07 2019-05-16 深圳市汇顶科技股份有限公司 Firmware upgrade method for stylus, terminal and stylus
CN109240722A (en) * 2018-08-30 2019-01-18 百度在线网络技术(北京)有限公司 Application upgrade method, apparatus, system and storage medium
CN110421594A (en) * 2019-08-06 2019-11-08 中新智擎科技有限公司 Robotary detection method, system, robot and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135602A (en) * 2023-04-25 2023-11-28 荣耀终端有限公司 Data interaction method for handwriting pen multi-connection scene, handwriting pen and Bluetooth system

Similar Documents

Publication Publication Date Title
US11392226B2 (en) Active stylus calibration method, active stylus, and electronic device
US11989365B2 (en) Electronic device including electronic pen and method of controlling communication connection between electronic device and electronic pen
CN111602344B (en) Bluetooth communication method and dual-mode Bluetooth terminal
CN108235754B (en) Method and device for prompting user to update application version
CN108595226B (en) Dynamic loading method and device and computer readable storage medium
KR102469570B1 (en) Electronic apparatus and operating method thereof
CN112055424B (en) Electronic device and method for switching electronic device
EP3668761B1 (en) Method for providing smart key service and electronic device thereof
KR20170087754A (en) Electronic device and method for short range wireless communication in the electronic device
CN111083802A (en) Electronic device using bluetooth communication and method of operating the same
KR102217042B1 (en) Supporting method for register setup and electronic device supporting the same
EP3772681A1 (en) Electronic device and method for sharing data thereof
KR20170098110A (en) Supporting method for operation of an embedded subscriber identifier module and electronic device supporting the same
CN111159604A (en) Picture resource loading method and device
US20200201518A1 (en) Method for starting application and electronic device for implementing same
CN115562694A (en) Stylus pen upgrading method, control terminal and medium
CN106095423B (en) Method, terminal and server for providing browsing service
KR20180110517A (en) An elelctronic device and a coverrage compensation method for a shortrange communication in the elelctronic device
US9867010B2 (en) Method, electronic device, and computer readable recording medium for providing location based services
CN106445594B (en) System application installation method and device and terminal equipment
CN111726848B (en) Equipment binding method, target starting device, fixed terminal and storage medium
CN110333888B (en) Function updating method, device, equipment and storage medium
CN114785766A (en) Control method of intelligent equipment, terminal and server
CN113843814A (en) Control system, method, device and storage medium for mechanical arm equipment
KR20180033845A (en) Electronic device and method of operating the same

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