Input method and device, electronic equipment and storage medium

By detecting and updating handwriting device information, matching the touch parameters and firmware versions of the screen and device, the delay and interruption problems of handwriting devices when switching between multiple devices are solved, and a smooth multi-device writing experience is achieved.

CN118897643APending Publication Date: 2024-11-05BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310499545.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2024-11-05

Smart Images

  • Figure CN118897643A_ABST
    Figure CN118897643A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an input method and device, electronic equipment and a storage medium. The input method provided by the embodiment of the invention comprises the following steps: detecting a handwriting input demand, and obtaining handwriting equipment information; determining that a screen does not support the handwriting device according to the handwriting device information, and performing updating operation to support the handwriting device; under the condition that the screen supports the handwriting device, the input mode of the handwriting device is in an available state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of touch technology, and in particular to an input method and device, an electronic device, and a storage medium. Background Art

[0002] With the development of touch technology, more and more electronic devices use touch for human-computer interaction. In addition to finger touch operation, the screen of the electronic device can also be touched by handwriting devices.

[0003] In daily life or work, the application of screen collaboration scenarios of multiple electronic devices is becoming more and more widespread. For example, the same handwriting device is used to draw on the screen of one electronic device and to write notes on the screen of another electronic device. For another example, two handwriting devices are used to write or draw on the screen of the same electronic device.

[0004] However, some current handwriting devices can only write on the screen of one electronic device paired with it. Some other handwriting devices have delays or interruptions in writing or drawing after switching screens, resulting in unsmooth writing and poor user experience. Summary of the invention

[0005] The present disclosure provides an input method and device, an electronic device and a storage medium.

[0006] A first aspect of an embodiment of the present disclosure provides an input method, the method comprising:

[0007] Detect handwriting input needs and obtain handwriting device information;

[0008] Determining, according to the handwriting device information, that the screen does not support the handwriting device, and performing an update operation to implement support for the handwriting device;

[0009] In the case that the screen supports the handwriting device, the handwriting device input mode is in an available state.

[0010] Based on the above solution, the updating operation to realize the support of the handwriting device includes:

[0011] Acquire screen firmware supporting the handwriting device according to the handwriting device information;

[0012] Install the screen firmware.

[0013] Based on the above solution, the updating operation to realize the support of the handwriting device includes:

[0014] Acquire handwriting device firmware supporting the screen according to the handwriting device information;

[0015] The handwriting device firmware is sent to the handwriting device.

[0016] Based on the above solution, the method further includes:

[0017] A result message of the handwriting device performing an update operation on the handwriting device firmware is received.

[0018] Based on the above solution, the handwriting device information includes at least one of the following:

[0019] a first touch parameter of the handwriting device;

[0020] Firmware information of the handwriting device.

[0021] Based on the above solution, determining that the screen does not support the handwriting device according to the handwriting device information includes:

[0022] Determining, according to the handwriting device information, whether a second touch parameter of the screen matches a first touch parameter of the handwriting device;

[0023] The second touch parameter does not match the first touch parameter of the handwriting device, and it is determined that the screen does not support the handwriting device.

[0024] Based on the above solution, determining that the screen does not support the handwriting device according to the handwriting device information includes:

[0025] Determining, according to the handwriting device information, whether the firmware version of the screen matches the firmware version of the handwriting device;

[0026] The firmware version of the screen does not match the firmware version of the handwriting device, and it is determined that the screen does not support the handwriting device.

[0027] A second aspect of the present disclosure provides an input method, the method comprising:

[0028] Establish connections with electronic devices;

[0029] When the electronic device is supported, input operations are performed on the electronic device.

[0030] Based on the above solution, performing input operation on the electronic device while supporting the electronic device includes:

[0031] Sending handwriting device information to the electronic device;

[0032] Receive handwriting device firmware; the handwriting device firmware is the handwriting device firmware that supports the electronic device screen and is acquired by the electronic device according to the handwriting device information;

[0033] Installing the handwriting device firmware to enable the handwriting device to support the electronic device;

[0034] Perform input operations on the electronic device.

[0035] Based on the above solution, performing input operation on the electronic device while supporting the electronic device further includes:

[0036] A result message of installing the handwriting device firmware is sent to the electronic device.

[0037] Based on the above solution, in the case where the electronic device is supported, performing input operation on the electronic device includes:

[0038] Sending handwriting device information to the electronic device; wherein the handwriting device information is used by the electronic device to install screen firmware that supports the handwriting device when determining that the electronic device does not support the handwriting device;

[0039] Perform input operations on the electronic device.

[0040] Based on the above solution, the handwriting device information includes at least one of the following:

[0041] a first touch parameter of the handwriting device;

[0042] Firmware information of the handwriting device.

[0043] A third aspect of the present disclosure provides an input device, the device comprising:

[0044] The first acquisition module is used to detect the handwriting input requirement and acquire the handwriting device information;

[0045] A first updating module, configured to determine, according to the handwriting device information, that the screen does not support the handwriting device, and perform an updating operation to implement support for the handwriting device;

[0046] The first input module is used to enable the handwriting device input mode to be in an available state when the screen supports the handwriting device.

[0047] Based on the above solution, the first updating module is specifically used to obtain the screen firmware supporting the handwriting device according to the handwriting device information; and install the screen firmware.

[0048] Based on the above solution, the first updating module is specifically configured to obtain the handwriting device firmware supporting the screen according to the handwriting device information; and send the handwriting device firmware to the handwriting device.

[0049] Based on the above solution, the device also includes:

[0050] The first receiving module is configured to receive a result message of the handwriting device executing an update operation on the handwriting device firmware.

[0051] Based on the above solution, the handwriting device information includes at least one of the following:

[0052] a first touch parameter of the handwriting device;

[0053] Firmware information of the handwriting device.

[0054] Based on the above solution, the device also includes:

[0055] A first determination module, used to determine whether a second touch parameter of the screen matches a first touch parameter of the handwriting device according to the handwriting device information;

[0056] The second determining module is configured to determine that the screen does not support the handwriting device if the second touch parameter does not match the first touch parameter of the handwriting device.

[0057] Based on the above solution, the device further includes:

[0058] A third determination module, used to determine whether the firmware version of the screen matches the firmware version of the handwriting device according to the handwriting device information;

[0059] A fourth determining module is used to determine that the screen does not support the handwriting device if the firmware version of the screen does not match the firmware version of the handwriting device.

[0060] A fourth aspect of the present disclosure provides an input device, the device comprising:

[0061] A connection establishment module is used to establish a connection with an electronic device;

[0062] The second input module is used to perform input operations on the electronic device when supporting the electronic device.

[0063] Based on the above solution, the device also includes:

[0064] A first sending module, used to send handwriting device information to the electronic device;

[0065] A second receiving module is used to receive handwriting device firmware; the handwriting device firmware is the handwriting device firmware supporting the electronic device screen acquired by the electronic device according to the handwriting device information;

[0066] An installation module, used for installing the handwriting device firmware to enable the handwriting device to support the electronic device;

[0067] The third input module is used to perform input operations on the electronic device.

[0068] Based on the above solution, the device also includes:

[0069] The second sending module is used to send a result message of installing the handwriting device firmware to the electronic device.

[0070] Based on the above solution, the device also includes:

[0071] A third sending module is used to send the handwriting device information to the electronic device; wherein the handwriting device information is used by the electronic device to install a screen firmware that supports the handwriting device when the electronic device determines that the handwriting device is not supported;

[0072] The fourth input module is used to perform input operations on the electronic device.

[0073] Based on the above solution, the handwriting device information includes at least one of the following:

[0074] a first touch parameter of the handwriting device;

[0075] Firmware information of the handwriting device.

[0076] A fifth aspect of the present disclosure provides an electronic device, including:

[0077] a memory for storing processor-executable instructions;

[0078] A processor connected to the memory;

[0079] Wherein, the processor is configured to execute any of the input methods described above.

[0080] A sixth aspect of an embodiment of the present disclosure provides a non-temporary computer-readable storage medium. When instructions in the storage medium are executed by a processor of a computer, the computer is enabled to execute an input method as provided in any one of the above items.

[0081] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0082] The input method provided by the embodiment of the present disclosure obtains handwriting device information by detecting a handwriting input demand; when it is determined according to the handwriting device information that the screen does not support the handwriting device, an update operation is performed to support the handwriting device; when the screen supports the handwriting device, the handwriting device input mode is in an available state. In this way, by updating the operation, the touch parameters of either the handwriting device or the screen are adjusted. On the one hand, the screen supports the handwriting device, so that one handwriting device can write on multiple electronic devices, or multiple handwriting devices can write on the screen of one electronic device. On the other hand, by updating the operation, the touch parameters of either the handwriting device or the screen are adjusted so that the handwriting device can write more smoothly on the screen, thereby improving the user experience. In addition, the handwriting device input mode is in an available state, which is convenient for the user to enter the handwriting input mode at any time. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0084] Figure 1 is a flowchart of an input method according to an exemplary embodiment;

[0085] Figure 2 is a flowchart of an input method according to an exemplary embodiment;

[0086] Figure 3 is a flowchart of an input method according to an exemplary embodiment;

[0087] Figure 4 is a flowchart of an input method according to an exemplary embodiment;

[0088] Figure 5 is a flowchart of an input method according to an exemplary embodiment;

[0089] Figure 6 is a schematic diagram of the structure of a handwriting input device according to an exemplary embodiment;

[0090] Figure 7 is a schematic diagram of the structure of a handwriting input device according to an exemplary embodiment;

[0091] Figure 8 It is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0092] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.

[0093] like Figure 1 As shown, an embodiment of the present disclosure provides an input method, the method comprising:

[0094] S1100: detecting a handwriting input requirement and obtaining handwriting device information;

[0095] S1200: determining, according to the handwriting device information, that the screen does not support the handwriting device, and performing an update operation to implement support for the handwriting device;

[0096] S1300: When the screen supports the handwriting device, the handwriting device input mode is in an available state.

[0097] The input method provided in the embodiment of the present disclosure can be applied to any electronic device having the screen. The electronic device here includes at least a mobile terminal and a fixed terminal, wherein the mobile terminal includes a mobile phone, a laptop computer, or a tablet computer, etc. The fixed terminal includes a personal computer device, etc.

[0098] In response to the touch operation of the handwriting device on the screen of the electronic device, the electronic device can display the touch track of the handwriting device on the screen.

[0099] The above-mentioned available state means that when the screen supports handwriting device, the handwriting device input mode is in an available state, and the working mode of the handwriting device can be switched to the input mode at any time according to the needs of the user. For example, when the handwriting device input mode is in an available state, the user can be prompted in the notification bar at the top of the screen whether to enter the input mode, and when it is detected that the user selects yes, the input mode is entered.

[0100] Of course, you can also directly enter the input mode of the handwriting device if the screen supports handwriting devices. You can also keep the original input mode unchanged and switch to the input mode of the handwriting device when the user enters the input mode in the notification bar. That is, the user can switch to the input mode at any time according to specific usage needs.

[0101] The number of handwriting devices and electronic devices in the embodiments of the present disclosure can be one or more. For example, the handwriting device can be switched between two electronic devices, for example, the handwriting device can be switched between two tablet computers or between a tablet computer and a mobile phone. It is also possible to write on one electronic device with multiple handwriting devices, and the device models of the multiple handwriting devices can be the same or different.

[0102] For example, a user has two electronic devices of different models, and the touch parameters of the screens of the two electronic devices are different. The user uses a handwriting device to draw on electronic device A and write on electronic device B. Then the handwriting device can be connected to electronic device A and electronic device B respectively, and by using the input method in the embodiment of the present disclosure, the handwriting device can perform touch operations on electronic device A and electronic device B at the same time.

[0103] The handwriting device may also be referred to as a stylus or a touch pen, and the handwriting device includes but is not limited to an inductive pen and a capacitive pen. Capacitive pens may include passive capacitive pens and active capacitive pens. A plurality of electrodes may be provided at the pen tip of the handwriting device in the embodiment of the present disclosure, and excitation signals of different frequencies may be emitted through different electrodes.

[0104] In S1100, a handwriting input requirement is detected. For example, after a handwriting device establishes a short-distance connection with an electronic device, a prompt box is output above or below the screen to prompt the user whether to enter the handwriting device input mode. When it is determined to enter the handwriting device input mode, the handwriting device information is obtained.

[0105] In S1200, it is determined whether the touch parameters of the screen match the handwriting device information according to the handwriting device information, thereby determining whether the screen supports the handwriting device. For example, the handwriting device information may include the frequency of the excitation signal currently emitted by the handwriting device. When the frequency of the excitation signal does not match the scanning frequency of the screen, it is determined that the screen does not support the handwriting device. When the frequency of the excitation signal matches the scanning frequency of the screen, it is determined that the screen supports the handwriting device.

[0106] In one embodiment, if it is determined based on the device information of the handwriting device that the screen supports the handwriting device, no update operation is required, that is, the handwriting device input mode is directly entered.

[0107] When the screen does not support the handwriting device, the handwriting device cannot write on the screen, or the writing on the screen is not smooth, affecting the user's writing experience. Therefore, it is necessary to adjust the touch parameters of the screen through an update operation, or send the touch parameters supported by the screen to the handwriting device, so that the screen can support the handwriting device, so that the handwriting device can write on the screen.

[0108] Since the touch protocols between different handwriting devices and the screens of electronic devices are different, multiple different touch protocols can be stored in the electronic devices and handwriting devices in the embodiments of the present disclosure, and different touch protocols correspond to different touch parameters. In order to enable the handwriting device to adapt to different electronic devices, it is necessary to update the touch protocol of at least one of the handwriting device and the screen to achieve the purpose of adjusting the touch parameters of at least one of the handwriting device and the screen, so that the handwriting device can write on the electronic device.

[0109] In S1300, when the screen supports handwriting devices and the handwriting device input mode is in an available state, the input mode can be automatically entered, or the handwriting device input mode can be entered according to the user's selection. When the screen supports handwriting devices, the input mode of the electronic device can be set to a pen mode or a mixed mode, so as to facilitate the user to write. The above-mentioned mixed mode is a mixed mode of handwriting and pen writing.

[0110] The input method provided by the embodiment of the present disclosure obtains handwriting device information by detecting a handwriting input demand; when it is determined that the screen does not support the handwriting device according to the handwriting device information, an update operation is performed to support the handwriting device; when the screen supports the handwriting device, the handwriting device input mode is in an available state. In this way, by updating the operation, the touch parameters of the handwriting device or the screen are adjusted. On the one hand, the screen supports the handwriting device, so that one handwriting device can write on multiple electronic devices, or multiple handwriting devices can write on the screen of one electronic device. On the other hand, by updating the operation, the touch parameters of the handwriting device or the screen are adjusted so that the handwriting device can write more smoothly on the screen. In addition, the handwriting device input mode is in an available state, which is convenient for users to enter the handwriting input mode at any time.

[0111] In one embodiment, when the screen does not support the handwriting device, prompt information may be output on the screen of the electronic device, where the prompt information is used to select to update the handwriting device firmware or the screen firmware.

[0112] When it is detected that the handwriting device firmware is selected to be adjusted, steps S1203 and S1204 are executed to enable the screen to support the handwriting device.

[0113] When it is detected that the screen firmware is selected to be updated, steps S1201 and S1202 are performed to enable the handwriting device to write on the electronic device.

[0114] In some embodiments, Figure 2 As shown, the update operation is performed in S1200 to support the handwriting device, including:

[0115] S1201: Acquire screen firmware supporting the handwriting device according to the handwriting device information;

[0116] S1202: Install the screen firmware.

[0117] The above screen firmware includes at least specific codes related to the screen and the handwriting device, wherein the specific codes include at least the driver of the screen. The driver may include: pin settings of the controller in the screen, timer settings, connection code of the Bluetooth device, data information of the excitation signal sent by the handwriting device when the handwriting device writes on the touch screen, and a processing program for the acquisition frequency of the screen, etc. Different device models of handwriting devices have different corresponding hardware codes. By installing the screen firmware corresponding to the device model of the handwriting device in the electronic device, the handwriting device and the touch screen can be better matched, thereby improving the performance of the touch screen and making the handwriting device write more smoothly on the screen.

[0118] It can be understood that when it is determined according to the handwriting device information that the screen does not support the handwriting device, step S1201 is entered to obtain the screen firmware supporting the handwriting device according to the device model in the handwriting device information. Then in step S1202, the screen firmware is installed in the electronic device where the screen is located.

[0119] The disclosed embodiments can determine whether the screen supports the handwriting device based on the handwriting device information sent by the handwriting device. When the screen does not support the handwriting device, it may be because the screen firmware does not match the handwriting device. In this case, the screen firmware is obtained through the device model of the handwriting device, and the screen firmware is installed in the electronic device so that the screen can support writing by the handwriting device.

[0120] When the screen firmware is acquired, the data information of the screen firmware is written into the storage area of ​​the screen firmware, and it is determined whether there is a write abnormality in the data information of the firmware, and if there is a write abnormality, it is rewritten. By writing the data information of the screen firmware into the storage area, the adjustment of the screen firmware is completed.

[0121] The above-mentioned screen firmware can be understood as a code program corresponding to the device model of the handwriting device. The code program has a high adaptability to the handwriting device. For example, it can perform targeted processing on the excitation signal emitted by the handwriting device, enabling the handwriting device to write more smoothly on the screen.

[0122] In some embodiments, Figure 3 As shown, the update operation is performed in S1200 to support the handwriting device, including:

[0123] S1203: Acquire handwriting device firmware that supports the screen according to the handwriting device information;

[0124] S1204: Send the handwriting device firmware to the handwriting device.

[0125] It is understandable that the electronic device side can obtain the handwriting device firmware supporting the screen according to the handwriting device information. Specifically, the handwriting device firmware of the screen can be obtained according to the device model and the first firmware identifier of the handwriting device, thereby sending the firmware information of the handwriting device firmware to the handwriting device.

[0126] The handwriting device firmware is sent to the handwriting device. By upgrading the firmware version of the handwriting device, the performance of the handwriting device can be improved, so that the handwriting device can write more smoothly on the screen of the electronic device.

[0127] The handwriting device information obtains the handwriting device firmware that supports the screen. Specifically, multiple versions of the corresponding firmware can be obtained according to the device model. The version of the handwriting device firmware is at least higher than the current firmware version of the handwriting device.

[0128] In one embodiment, the handwriting device firmware is the highest version firmware corresponding to the device model; or the version firmware of the device model corresponding to the screen. The highest version firmware can generally fix problems existing in lower version, making the handwriting device work more stably. The highest version firmware may add new functions, which can bring more convenience to users.

[0129] By using the highest version of firmware on the handwriting device or the version of firmware of the device model of the handwriting device corresponding to the screen, the handwriting device and the screen can be better coordinated and the handwriting device can write more smoothly on the screen.

[0130] In some embodiments, the method further comprises:

[0131] A result message of the handwriting device performing an update operation on the handwriting device firmware is received.

[0132] It is understandable that after the handwriting device successfully performs the update operation according to the touch parameters, a result message will be sent to the electronic device where the screen is located. The result message here includes: a success message and a failure message. For example, a success message may be "SUCCESS" or "00-success". For example, a failure message may be "FAIL" or "01-failure".

[0133] When the electronic device on the screen receives the success message, that is, the handwriting device input mode is available, the notification bar above the screen can prompt the user that the handwriting device has been successfully updated, so that the user knows that the current handwriting device input mode is available.

[0134] In some embodiments, the handwriting device information includes at least one of the following:

[0135] a first touch parameter of the handwriting device;

[0136] Firmware information of the handwriting device.

[0137] The first touch parameter of the handwriting device may be the touch parameter currently used by the handwriting device, including at least the frequency of the excitation signal currently emitted by the handwriting device, the pressure data, and / or the working sequence of the handwriting device. Here, the frequency of the excitation signal currently emitted by the handwriting device is the frequency of the excitation signal emitted when the pen tip of the handwriting device contacts the screen.

[0138] The firmware information of the handwriting device at least includes the current firmware identifier of the handwriting device, or the firmware version number currently in use, etc.

[0139] Here, when a handwriting input requirement is detected, the first touch parameter in the handwriting device information and / or the firmware information of the handwriting device can be obtained, and whether the screen supports the handwriting device can be determined according to the first touch parameter and / or the firmware information of the handwriting device.

[0140] Specifically, it can be determined that the parameter value in the first touch parameter matches the parameter value of the touch parameter currently used by the screen to determine whether the screen supports the handwriting device. When the screen does not support the handwriting device, the firmware information of the handwriting device supported by the screen can be sent to the handwriting device so that the handwriting device performs a firmware update.

[0141] Exemplarily, whether the screen supports the handwriting device may be determined based on whether the frequency of the excitation signal currently emitted by the handwriting device matches the scanning frequency in the screen.

[0142] Exemplarily, whether the screen supports the handwriting device can also be determined based on whether the working timing of the handwriting device in the first touch parameter matches the working timing of the screen. For example, when the working timing of the handwriting device is inconsistent with the working timing of the screen, it means that the screen does not support the handwriting device.

[0143] In some embodiments, determining, according to the handwriting device information, that the screen does not support the handwriting device includes:

[0144] Determining, according to the handwriting device information, whether a second touch parameter of the screen matches a first touch parameter of the handwriting device;

[0145] The second touch parameter does not match the first touch parameter of the handwriting device, and it is determined that the screen does not support the handwriting device.

[0146] The above-mentioned second touch parameter may be a touch parameter corresponding to the writing mode currently used by the screen. Exemplarily, the second touch parameter includes at least the scanning frequency of the screen and / or the working timing of the screen. The scanning frequency here is also called the sampling speed, sampling rate or refresh rate of the screen. The scanning frequency of the screen is the current scanning frequency of the screen, which refers to the number of samples taken by the electronic device per unit time, in Hertz. Generally, the higher the scanning frequency of the screen, the smoother the writing of the handwriting device on the screen.

[0147] In one embodiment, when the handwriting device information includes: the frequency of the excitation signal currently emitted by the handwriting device, the touch parameters of the screen include: the scanning frequency of the screen.

[0148] When the frequency of the excitation signal and the scanning frequency do not match, it means that the screen does not support the handwriting device, and the scanning frequency of the screen is sent to the handwriting device, and the handwriting device adjusts the frequency of its own emission of the excitation signal, so that the screen supports the handwriting device. Alternatively, the handwriting device firmware that supports the screen is obtained according to the handwriting device information, and the handwriting device firmware is sent to the handwriting device, so that after the handwriting device installs the handwriting device firmware, the screen can support the handwriting device, and the handwriting device input is in an available state.

[0149] When the frequency of the excitation signal matches the scanning frequency, it means that the screen supports the handwriting device. When the input mode is automatically entered, if it is determined that the current working mode of the electronic device is not the pen writing mode, the working mode of the electronic device can be set to the pen writing mode, that is, the input working mode of the handwriting device is entered, thereby facilitating the user to write.

[0150] In one embodiment, when the handwriting device information includes the current first firmware identifier of the handwriting device, the first firmware identifier is used to indicate the firmware currently used by the handwriting device, and the handwriting device firmware is a program written into an EPROM (erasable programmable read-only memory) or an EEPROM (electrically erasable programmable read-only memory). The first firmware identifier is unique and cannot be repeated with firmware identifiers of other firmware. The electronic device can store a list of supported firmware identifiers, and when receiving the first firmware identifier in the handwriting device information sent by the handwriting device, it is determined whether the first firmware identifier exists in the firmware identifier list.

[0151] When the first firmware identifier does not exist in the firmware identifier list, it is determined that the screen does not support the handwriting device. The touch parameters supported by the screen can be sent to the handwriting device, wherein the touch parameters at least include data information of the firmware version supported by the electronic device. The data information of the firmware version is used for the handwriting device to install the firmware corresponding to the firmware version so that the handwriting device can use the screen to write.

[0152] In the embodiment of the present disclosure, when the frequency of the excitation signal and the scanning frequency are inconsistent, or the absolute value of the difference between the frequency of the excitation signal and the scanning frequency of the screen is greater than or equal to a first threshold, it is determined that the frequency of the excitation signal and the scanning frequency do not match, that is, it is determined that the second touch parameter does not match the first touch parameter of the handwriting device, and it is determined that the screen does not support the handwriting device.

[0153] When the frequency of the excitation signal is consistent with the scanning frequency, or the absolute value of the difference between the frequency of the excitation signal and the scanning frequency of the screen is less than the first threshold, it is determined that the frequency of the excitation signal matches the scanning frequency, and the screen supports a handwriting device.

[0154] The value of the first threshold here is determined based on multiple tests or experiments, and the first threshold is set to be small so that the frequency of the excitation signal and the scanning frequency are closer, so that the writing delay of the handwriting device is reduced, and the handwriting of the pen operation and the handwriting displayed on the screen are closer.

[0155] In one embodiment, when the frequency of the excitation signal does not match the scanning frequency, determining that the screen does not support a handwriting device includes: when the absolute value of the difference between the frequency of the excitation signal and the scanning frequency of the screen is greater than or equal to a first threshold, determining that the screen does not support a handwriting device.

[0156] When the absolute value of the difference between the frequency of the excitation signal and the scanning frequency of the screen is less than the first threshold, it is determined that the screen supports the handwriting device, and then the working mode of the electronic device is set to the pen writing mode, that is, entering the handwriting device input working mode, thereby facilitating the user to write.

[0157] In one embodiment, when the frequency of the excitation signal is not equal to the scanning frequency, it is determined that the screen does not support a handwriting device.

[0158] When the frequency of the excitation signal is equal to the scanning frequency of the screen, it is determined that the screen supports the handwriting device, and then the working mode of the electronic device is set to the pen writing mode, that is, the handwriting device input working mode is entered, so as to facilitate the user to write.

[0159] When the scanning frequency of the screen in the embodiment of the present disclosure matches the frequency of the excitation signal, the writing delay of the handwriting device can be reduced, thereby reducing the occurrence of intermittent writing.

[0160] In some embodiments, determining, according to the handwriting device information, that the screen does not support the handwriting device includes:

[0161] S1205: Determine, according to the handwriting device information, whether the firmware version of the screen matches the firmware version of the handwriting device;

[0162] S1206: The firmware version of the screen does not match the firmware version of the handwriting device, and it is determined that the screen does not support the handwriting device.

[0163] It can be understood that when a handwriting input requirement is detected, the handwriting device information is obtained, and then, based on the handwriting device information, it is determined whether the firmware version of the screen matches the firmware version of the handwriting device.

[0164] Specifically, in one embodiment, when the handwriting device information includes the device model of the handwriting device, it is determined whether the screen of the electronic device supports the handwriting device of the device model for writing, and the device models of the supported handwriting devices can be pre-stored in the electronic device. By determining whether the device models supported by the screen of the electronic device include the device model of the current handwriting device, if it is not included, it means that the screen does not support the handwriting device, and even the update operation cannot achieve the purpose of writing on the screen with the stylus. At this time, a prompt message can be output on the screen to remind the user to change to another supported stylus.

[0165] The above step S1205 may include: when determining that the screen of the electronic device supports the model of the handwriting device, determining, according to the device model and the first firmware identifier, whether the first version firmware currently used by the handwriting device is the second version firmware among multiple versions of firmware corresponding to the device model; wherein the first firmware identifier is the first version firmware currently used by the handwriting device;

[0166] If the firmware version of the screen does not match the firmware version of the handwriting device, it is determined that the screen does not support the handwriting device. Specifically, the above step S1206 may include: when the first version firmware used by the handwriting device is not the second version firmware, it is determined that the screen does not support the handwriting device.

[0167] It can be understood that the performance of the handwriting device can be improved by upgrading the firmware version of the handwriting device, so that the handwriting device can write more smoothly on the screen of the electronic device.

[0168] The mapping relationship between the device model and multiple versions of firmware can be stored in the electronic device, and the corresponding multiple versions of firmware can be obtained according to the device model. Thus, the multiple versions of firmware are traversed to determine whether the first firmware identifier is the second version of firmware among the multiple versions of firmware corresponding to the device model, the second version of firmware is higher than the first version of firmware, and the second version of firmware can enable the screen to support handwriting devices.

[0169] The first version firmware is the firmware currently used by the handwriting device. When the first version firmware is not the second version firmware, it is determined that the screen does not support the handwriting device. When the first version firmware is the second version firmware, the working mode of the electronic device is set to the pen writing mode, so as to facilitate the user to write.

[0170] In some embodiments, the second version of the firmware has a higher version number than the first version of the firmware. Exemplarily, the second version of the firmware is the highest version of the firmware corresponding to the device model; or the version of the firmware of the device model corresponding to the screen.

[0171] The above highest version of firmware can generally fix problems existing in lower version, making the handwriting device work more stably. The highest version of firmware may add new functions, which can bring more convenience to users.

[0172] When the second version firmware is the highest version firmware corresponding to the device model, and the first version firmware used by the handwriting device is not the second version firmware, it is determined that the screen does not support the handwriting device. Whether the first version firmware is the second version firmware can be determined by whether the version number of the first version firmware is consistent with the version number of the second version firmware. Whether the first version firmware is the second version firmware can also be determined by whether the firmware identifier corresponding to the first version firmware is consistent with the firmware identifier corresponding to the second version firmware.

[0173] By using the highest version of firmware on the handwriting device or the version of firmware of the device model of the handwriting device corresponding to the screen, the handwriting device and the screen can be better coordinated and the handwriting device can write more smoothly on the screen.

[0174] In some embodiments, the acquiring of the handwriting device firmware supporting the screen according to the handwriting device information includes: acquiring firmware information of the second version firmware;

[0175] The sending the handwriting device firmware to the handwriting device includes: sending the firmware information to the handwriting device, wherein the firmware information is used for upgrading the firmware of the handwriting device.

[0176] It can be understood that the screen sends the firmware information to the handwriting device by acquiring the firmware information of the second version of the firmware. During the process of sending the firmware information, the handwriting device can be brought close to the screen or adsorbed to a preset position of the electronic device to make the data connection between the handwriting device and the electronic device more stable, so that the firmware information can be stably sent to the handwriting device.

[0177] The above firmware information is used for upgrading the firmware of the handwriting device, that is, the handwriting device can use the firmware information to install the corresponding second version firmware. After the second version firmware is installed, the screen can support writing of the handwriting device.

[0178] In some embodiments, the detecting of a handwriting input requirement includes at least one of the following:

[0179] Detecting that the handwriting device is connected to the electronic device where the screen is located;

[0180] It is detected that the handwriting device is adsorbed on the electronic device where the screen is located.

[0181] It can be understood that when the handwriting device is detected to be connected to the electronic device where the screen is located, that is, when the handwriting device is detected to be connected to the electronic device where the screen is located in a short distance, it is determined that there is a need for handwriting input. When the handwriting device is detected to be adsorbed on the electronic device where the screen is located, it is determined that there is a need for handwriting input.

[0182] The above short-distance connection includes, but is not limited to: Bluetooth, WIFI (Wireless Fidelity) connection, ZigBee network or Near Field Communication (NFC) network, etc.

[0183] In one embodiment, when a handwriting device establishes a short-distance connection with an electronic device, the handwriting device is adsorbed at a preset position of the electronic device, so that the electronic device and the handwriting device establish a short-distance connection. After the short-distance connection is established, the handwriting device information sent by the handwriting device is received, wherein the handwriting device information includes a physical address (Media Access Control Address, MAC) of the handwriting device, so that the electronic device can uniquely determine that the handwriting device is a handwriting device that has established a short-distance connection with the electronic device based on the MAC address. By adsorbing the handwriting device at a preset position of the electronic device, the stability of the information exchanged between the handwriting device and the electronic device can be improved, and by carrying the MAC address in the handwriting device information, it can be convenient for the electronic device to quickly determine that the handwriting device is a handwriting device that has established a short-distance connection with the electronic device.

[0184] Taking Bluetooth as an example of short-range connection, when the Bluetooth function is turned on, the electronic device listens to the broadcast messages of the surrounding handwriting devices. After the electronic device listens to the broadcast messages of the handwriting device, it can send a connection request to the handwriting device or receive a connection request sent by the handwriting device to establish a Bluetooth connection between the electronic device and the handwriting device.

[0185] In some embodiments, the method further comprises:

[0186] When the screen supports handwriting devices and the handwriting device input mode is in an available state, the working mode of the electronic device is automatically set to the pen writing mode, thereby entering the handwriting device input working mode;

[0187] Wherein, when the electronic device operates in the pen writing mode, it can receive writings of the handwriting device.

[0188] When the screen supports handwriting devices, the working mode of the electronic device can be automatically set to pen writing mode, thereby reducing the user's manual settings and making it easier for the user to write.

[0189] The working modes of the electronic device may include: a handwriting mode, a pen writing mode and a mixed mode, wherein the mixed mode is a mixed mode of the handwriting mode and the pen writing mode.

[0190] In one embodiment, the handwriting device information includes: device information of the handwriting device; the device information at least includes: a physical address (Media Access Control Address, MAC);

[0191] When it is detected that the handwriting device enters the input working mode, the device information of the handwriting device is added to the active list, wherein the active list is used to store the device information of the handwriting device currently connected to the electronic device.

[0192] By saving the device information of active handwriting devices in the active list, when the device information of inactive handwriting devices is detected, it is determined whether the screen supports handwriting devices based on the handwriting device information. This reduces the number of programs to be executed for handwriting device connection and improves the efficiency of handwriting device connection.

[0193] In one embodiment, adding the device information of the handwriting device to the active list includes: determining whether the device information exists in the active list; and when the device information does not exist, adding the device information of the handwriting device to the active list. By setting the active list, it is convenient for the electronic device to determine whether the handwriting device currently in use is from the active list. When the handwriting device is from the inactive list, it is determined whether the screen supports the handwriting device based on the handwriting device information, thereby reducing the number of matching times between the handwriting device and the electronic device and improving the matching efficiency of the handwriting device.

[0194] In one embodiment, the receiving of handwriting device information sent by the handwriting device includes: obtaining the number of the device information in the active list; and when the number is less than a second threshold, receiving the handwriting device information sent by the handwriting device. The number of handwriting devices connected to the electronic device is controlled by setting the second threshold.

[0195] like Figure 4 As shown, an embodiment of the present disclosure provides an input method, the method comprising:

[0196] S2100: Establish connection with electronic equipment;

[0197] S2200: When the electronic device is supported, perform input operation on the electronic device.

[0198] The input method provided in the embodiment of the present disclosure can be applied to a handwriting device. The above-mentioned handwriting device can also be called a stylus or a touch pen, and the handwriting device includes but is not limited to an inductive pen and a capacitive pen. Capacitive pens can include: passive capacitive pens and active capacitive pens. A plurality of electrodes can be set at the pen tip position of the handwriting device in the embodiment of the present disclosure, and excitation signals of different frequencies are emitted through different electrodes.

[0199] The above-mentioned electronic devices at least include mobile terminals and fixed terminals, wherein the mobile terminals include mobile phones, laptop computers, or tablet computers, etc. The fixed terminals include personal computer devices, etc.

[0200] The handwriting device can perform touch operations on the screen of the electronic device, and the electronic device can display the touch track of the handwriting device on the screen in response to the touch operation of the handwriting device.

[0201] The number of handwriting devices and electronic devices in the embodiments of the present disclosure can be one or more. For example, the handwriting device can be switched between two electronic devices, for example, the handwriting device can be switched between two tablet computers or between a tablet computer and a mobile phone. It is also possible to write on one electronic device with multiple handwriting devices, and the device models of the multiple handwriting devices can be the same or different.

[0202] In step S2100, establishing a connection with the electronic device may include: establishing a short-distance connection with the electronic device. The short-distance connection includes but is not limited to: Bluetooth, WIFI (Wireless Fidelity) connection, ZigBee network or Near Field Communication (NFC) network.

[0203] Taking Bluetooth as an example of short-range connection, when the Bluetooth function is turned on, the electronic device listens to the broadcast messages of the surrounding handwriting devices. After the electronic device listens to the broadcast messages of the handwriting device, it can send a connection request to the handwriting device or receive a connection request sent by the handwriting device to establish a Bluetooth connection between the electronic device and the handwriting device.

[0204] It can be understood that after the connection with the electronic device is established, the electronic device determines that there is a handwriting input requirement, and the handwriting device sends the handwriting device information to the electronic device.

[0205] In step S2200, in the case of supporting the electronic device, specifically, the handwriting device firmware sent by the receiving electronic device can be installed; after the handwriting device firmware is installed, the frequency of transmitting the excitation signal in the first touch parameter of the handwriting device is updated or adjusted, so that the screen of the electronic device supports the handwriting device.

[0206] For example, when a user has two handwriting devices of the same or different models and writes or draws on the same electronic device, the user can update the first touch parameters and the firmware of the two handwriting devices respectively, so that the two handwriting devices can write on the same electronic device at the same time.

[0207] When the screen does not support the handwriting device, the handwriting device cannot write on the screen, or the writing on the screen is not smooth, affecting the user's writing experience. Therefore, it is necessary to update the first touch parameter of the handwriting device and the firmware of the handwriting device to enable the screen to support the handwriting device so that the handwriting device can write or draw on the screen.

[0208] Since the touch protocols between different handwriting devices and the screens of electronic devices are different, multiple different touch protocols can be stored in the electronic device and the handwriting device in the embodiments of the present disclosure, and different touch protocols correspond to different writing modes. In order to make the handwriting device adapt to different electronic devices, the touch protocol of the handwriting device can be updated to adjust the first touch parameter of the handwriting device, so that the handwriting device can write on the electronic device.

[0209] After the update operation is successfully executed, the handwriting device input working mode can be entered. That is, when the screen supports handwriting devices, the working mode of the electronic device can be set to pen writing mode or mixed mode, so as to facilitate the user to write. The above mixed mode is a mixed mode of handwriting and pen writing.

[0210] In some embodiments, performing an input operation on the electronic device while supporting the electronic device includes:

[0211] S2300: Sending handwriting device information to the electronic device;

[0212] S2400: Receive handwriting device firmware; the handwriting device firmware is the handwriting device firmware that supports the electronic device screen and is acquired by the electronic device according to the handwriting device information;

[0213] S2500: Installing the handwriting device firmware to enable the handwriting device to support the electronic device;

[0214] S2600: Perform input operation on the electronic device.

[0215] It can be understood that after establishing a connection with the electronic device, the handwriting device information is sent to the electronic device. If the screen of the electronic device does not support the handwriting device, the handwriting device firmware will be sent. The handwriting device receives the handwriting device firmware sent by the electronic device and installs the handwriting device firmware, thereby enabling the handwriting device to support the electronic device. After installing the handwriting device firmware, input operations can be performed on the electronic device. The input operations here include but are not limited to: click operations, drawing operations, or writing operations.

[0216] Specifically, the above-mentioned step S2400 may include: receiving the firmware information returned by the electronic device based on the device model and the first firmware identifier, wherein the firmware information is the firmware information of the second version of firmware among multiple versions of firmware corresponding to the device model determined by the electronic device based on the device model and the first firmware identifier.

[0217] The above firmware information is used for upgrading the firmware of the handwriting device, that is, the handwriting device can use the firmware information to install the corresponding second version firmware. After the second version firmware is installed, the screen can support writing of the handwriting device.

[0218] The firmware information returned in the disclosed embodiment is firmware information of the second version of firmware among multiple versions of firmware corresponding to the device model of the handwriting device, wherein the second version of firmware is the highest version of firmware corresponding to the device model; or, the version of firmware of the device model corresponding to the screen.

[0219] By using the highest version of firmware on the handwriting device or the version of firmware of the device model of the handwriting device corresponding to the screen, the handwriting device and the screen can be better coordinated and the handwriting device can write more smoothly on the screen.

[0220] Specifically, the above step S2500 may include: upgrading the firmware of the handwriting device according to the firmware information of the second version firmware.

[0221] The above firmware information is a firmware installation package, which can be installed in the handwriting device to upgrade the firmware of the handwriting device. The handwriting device after the firmware upgrade can make the screen support the handwriting device, so that the handwriting device can write on the touch screen.

[0222] The input method provided by the embodiment of the present disclosure establishes a connection with an electronic device; when the electronic device is supported, an input operation is performed on the electronic device. In this way, the screen of the electronic device supports a handwriting device, and one handwriting device can write on multiple electronic devices, or multiple handwriting devices can write on the screen of one electronic device.

[0223] In some embodiments, performing input operations on the electronic device while supporting the electronic device further includes:

[0224] A result message of installing the handwriting device firmware is sent to the electronic device.

[0225] It is understandable that when installing the handwriting device firmware, the result of the installation of the handwriting device firmware is determined, and a result message of the installation of the handwriting device firmware is sent to the electronic device. The result message here includes: a success message and a failure message. For example, a success message may be "SUCCESS" or "00-success". For example, a failure message may be "FAIL" or "01-failure".

[0226] When the electronic device on the screen receives the success message, it determines that the screen supports handwriting devices and the handwriting device input mode is available. The notification bar above the screen can prompt the user that the handwriting device is successfully connected and the handwriting device input mode is available.

[0227] For example, according to the firmware information of the handwriting device, the firmware of the handwriting device is upgraded. After the upgrade is successful, a success message is sent to the electronic device, and after the upgrade fails, a failure message is sent to the electronic device. This facilitates the electronic device to determine whether the screen supports the handwriting device. For example, when a success message is received, it is determined that the screen supports the handwriting device, and when a failure message is received, it is determined that the screen does not support the handwriting device.

[0228] In some embodiments, in the case of supporting the electronic device, performing an input operation on the electronic device includes:

[0229] Sending handwriting device information to the electronic device; wherein the handwriting device information is used by the electronic device to install screen firmware that supports the handwriting device when determining that the electronic device does not support the handwriting device;

[0230] Perform input operations on the electronic device.

[0231] It is understandable that after the handwriting device establishes a connection with the electronic device, the handwriting device information is sent to the electronic device. If the electronic device does not support the handwriting device, a screen firmware supporting the handwriting device can be installed in the electronic device, so that the screen of the electronic device supports the handwriting device and implements the input operation of the handwriting device.

[0232] like Figure 5 As shown, the embodiment of the present disclosure provides an input method, that is, an activation method of a handwriting device. Taking a tablet as an example, the activation method of the handwriting device includes:

[0233] S1: Hall sensor for the pen adsorption position at the tablet end; the tablet has a Hall sensor at a preset position, through which the distance between the handwriting device and the preset position can be detected.

[0234] S2: Stable adsorption; when the distance between the handwriting device and the preset position is less than a third threshold, it indicates that the handwriting device is stably adsorbed.

[0235] S3: wireless charging module; when the handwriting device is located at a preset position, the wireless charging module can be activated to work to ensure that the handwriting device has sufficient power during the activation process.

[0236] S4: Read the Bluetooth MAC address in the pen; connect the handwriting device to the tablet through Bluetooth via the MAC address to ensure the accuracy of the connection between the handwriting device and the tablet.

[0237] S5: The MAC address is transmitted to the Bluetooth module; the MAC address of the handwriting device is transmitted to the Bluetooth module of the electronic device, so that the electronic device quickly establishes a Bluetooth connection with the handwriting device through the MAC address of the handwriting device.

[0238] S6: The handwriting device is successfully connected to Bluetooth.

[0239] S7: Read the Bluetooth information of the handwriting device to determine whether it is an officially certified product. The electronic device can determine whether the handwriting device is a product officially released by Xiaomi based on the Bluetooth information.

[0240] S8: Determine whether the screen code of the logical handwriting device matches and whether it needs to be updated; determine whether the screen code of the electronic device or the firmware version of the handwriting device needs to be updated through the device information of the handwriting device.

[0241] S9: updating the firmware of the handwriting device via Bluetooth; through the Bluetooth connection, the electronic device obtains the latest version of the firmware information of the handwriting device, and sends the firmware of the handwriting device to the handwriting device, so that the handwriting device can update the firmware, thereby enabling the handwriting device to write on the screen.

[0242] S10: calling the corresponding display touch screen hardware code; different types of handwriting devices have different corresponding screen hardware codes, and the hardware code corresponding to the handwriting device is obtained through the device information of the handwriting device to support the handwriting device to write on the screen.

[0243] S11: updating the display code and touch code of the screen module; updating the display code and touch code of the screen module in the electronic device through the device information of the handwriting device.

[0244] S12: The screen (touch) activates the handwriting device mode; after the code of the touch module is updated and the firmware of the handwriting device is upgraded, the handwriting device mode is activated.

[0245] like Figure 6 As shown, an embodiment of the present disclosure provides an input device 300, the device comprising:

[0246] A first acquisition module 310 is used to detect a handwriting input requirement and acquire handwriting device information;

[0247] A first updating module 320, configured to determine, based on the handwriting device information, that the screen does not support the handwriting device, and perform an updating operation to implement support for the handwriting device;

[0248] The first input module 330 is used to enable the handwriting device input mode to be in an available state when the screen supports the handwriting device.

[0249] In some embodiments, the first updating module is specifically configured to obtain screen firmware supporting the handwriting device according to the handwriting device information; and install the screen firmware.

[0250] In some embodiments, the first updating module is specifically configured to obtain handwriting device firmware that supports the screen according to the handwriting device information; and send the handwriting device firmware to the handwriting device.

[0251] In some embodiments, the apparatus further comprises:

[0252] The first receiving module is configured to receive a result message of the handwriting device executing an update operation on the handwriting device firmware.

[0253] In some embodiments, the handwriting device information includes at least one of the following:

[0254] a first touch parameter of the handwriting device;

[0255] Firmware information of the handwriting device.

[0256] In some embodiments, the apparatus further comprises:

[0257] A first determination module, used to determine whether a second touch parameter of the screen matches a first touch parameter of the handwriting device according to the handwriting device information;

[0258] The second determining module is configured to determine that the screen does not support the handwriting device if the second touch parameter does not match the first touch parameter of the handwriting device.

[0259] In some embodiments, the device further comprises:

[0260] A third determination module, used to determine whether the firmware version of the screen matches the firmware version of the handwriting device according to the handwriting device information;

[0261] A fourth determining module is used to determine that the screen does not support the handwriting device if the firmware version of the screen does not match the firmware version of the handwriting device.

[0262] like Figure 7 As shown, an embodiment of the present disclosure provides an input device 400, the device comprising:

[0263] A connection establishment module 410 is used to establish a connection with an electronic device;

[0264] The second input module 420 is used to perform input operations on the electronic device when the electronic device is supported.

[0265] In some embodiments, the apparatus further comprises:

[0266] A first sending module, used to send handwriting device information to the electronic device;

[0267] A second receiving module is used to receive handwriting device firmware; the handwriting device firmware is the handwriting device firmware supporting the electronic device screen acquired by the electronic device according to the handwriting device information;

[0268] An installation module, used for installing the handwriting device firmware to enable the handwriting device to support the electronic device;

[0269] The third input module is used to perform input operations on the electronic device.

[0270] In some embodiments, the apparatus further comprises:

[0271] The second sending module is used to send a result message of installing the handwriting device firmware to the electronic device.

[0272] In some embodiments, the apparatus further comprises:

[0273] A third sending module is used to send the handwriting device information to the electronic device; wherein the handwriting device information is used by the electronic device to install a screen firmware that supports the handwriting device when the electronic device determines that the handwriting device is not supported;

[0274] The fourth input module is used to perform input operations on the electronic device.

[0275] In some embodiments, the handwriting device information includes at least one of the following:

[0276] a first touch parameter of the handwriting device;

[0277] Firmware information of the handwriting device.

[0278] An embodiment of the present disclosure provides an electronic device, including:

[0279] a memory for storing processor-executable instructions;

[0280] A processor connected to the memory;

[0281] Among them, the processor is configured to execute the input method provided by any of the aforementioned technical solutions.

[0282] The processor may include various types of storage media, which are non-transitory computer storage media that can continue to remember information stored thereon after the electronic device loses power.

[0283] The processor can be connected to the memory through a bus or the like, and is used to read the executable program stored in the memory, for example, to execute the following Figures 1 to 5 At least one of any of the methods shown.

[0284] Figure 8 8 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be included in an electronic device such as a mobile phone, a mobile computer, or a server. In short, the data processing electronic device 800 may be included in any electronic device.

[0285] Reference Figure 8 The electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0286] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0287] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0288] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0289] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating state, such as a shooting state or a video state, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0290] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating state, such as a call state, a recording state, and a voice recognition state, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0291] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0292] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0293] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0294] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0295] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0296] The present disclosure provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the UE, the UE or the base station can execute the input method provided in any of the above embodiments, and can execute Figures 1 to 5 At least one of any of the methods shown.

[0297] An input method, the method comprising:

[0298] Detect handwriting input needs and obtain handwriting device information;

[0299] Determining, according to the handwriting device information, that the screen does not support the handwriting device, and performing an update operation to implement support for the handwriting device;

[0300] In the case that the screen supports the handwriting device, the handwriting device input mode is in an available state.

[0301] It can be understood that the updating operation to realize the support of the handwriting device includes:

[0302] Acquire screen firmware supporting the handwriting device according to the handwriting device information;

[0303] Install the screen firmware.

[0304] It can be understood that the updating operation to realize the support of the handwriting device includes:

[0305] Acquire handwriting device firmware supporting the screen according to the handwriting device information;

[0306] The handwriting device firmware is sent to the handwriting device.

[0307] It is understandable that the method further comprises:

[0308] A result message of the handwriting device performing an update operation on the handwriting device firmware is received.

[0309] It can be understood that the handwriting device information includes at least one of the following:

[0310] a first touch parameter of the handwriting device;

[0311] Firmware information of the handwriting device.

[0312] It can be understood that determining that the screen does not support the handwriting device according to the handwriting device information includes:

[0313] Determining, according to the handwriting device information, whether a second touch parameter of the screen matches a first touch parameter of the handwriting device;

[0314] The second touch parameter does not match the first touch parameter of the handwriting device, and it is determined that the screen does not support the handwriting device.

[0315] It can be understood that determining that the screen does not support the handwriting device according to the handwriting device information includes:

[0316] Determining, according to the handwriting device information, whether the firmware version of the screen matches the firmware version of the handwriting device;

[0317] The firmware version of the screen does not match the firmware version of the handwriting device, and it is determined that the screen does not support the handwriting device.

[0318] Alternatively, another input method, the method comprising:

[0319] Establish connections with electronic devices;

[0320] When the electronic device is supported, input operations are performed on the electronic device.

[0321] It can be understood that, in the case of supporting the electronic device, performing input operation on the electronic device includes:

[0322] Sending handwriting device information to the electronic device;

[0323] Receive handwriting device firmware; the handwriting device firmware is the handwriting device firmware that supports the electronic device screen and is acquired by the electronic device according to the handwriting device information;

[0324] Installing the handwriting device firmware to enable the handwriting device to support the electronic device;

[0325] Perform input operations on the electronic device.

[0326] It can be understood that the performing input operation on the electronic device while supporting the electronic device also includes:

[0327] A result message of installing the handwriting device firmware is sent to the electronic device.

[0328] It can be understood that, in the case of supporting the electronic device, performing input operations on the electronic device includes:

[0329] Sending handwriting device information to the electronic device; wherein the handwriting device information is used by the electronic device to install screen firmware that supports the handwriting device when determining that the electronic device does not support the handwriting device;

[0330] Perform input operations on the electronic device.

[0331] It can be understood that the handwriting device information includes at least one of the following:

[0332] a first touch parameter of the handwriting device;

[0333] Firmware information of the handwriting device.

[0334] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0335] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An input method, characterized in that: The method comprises: Detect handwriting input needs and obtain handwriting device information; Determining, according to the handwriting device information, that the screen does not support the handwriting device, and performing an update operation to implement support for the handwriting device; In the case that the screen supports the handwriting device, the handwriting device input mode is in an available state.

2. The method according to claim 1, characterized in that The updating operation to realize the support of the handwriting device includes: Acquire screen firmware supporting the handwriting device according to the handwriting device information; Install the screen firmware.

3. The method according to claim 1, characterized in that The updating operation to realize the support of the handwriting device includes: Acquire handwriting device firmware supporting the screen according to the handwriting device information; The handwriting device firmware is sent to the handwriting device.

4. The method according to claim 3, characterized in that The method further comprises: A result message of the handwriting device performing an update operation on the handwriting device firmware is received.

5. The method according to claim 1, characterized in that The handwriting device information includes at least one of the following: a first touch parameter of the handwriting device; Firmware information of the handwriting device.

6. The method according to claim 5, characterized in that The determining, according to the handwriting device information, that the screen does not support the handwriting device comprises: Determining, according to the handwriting device information, whether a second touch parameter of the screen matches a first touch parameter of the handwriting device; The second touch parameter does not match the first touch parameter of the handwriting device, and it is determined that the screen does not support the handwriting device.

7. The method according to claim 5, characterized in that The determining, according to the handwriting device information, that the screen does not support the handwriting device comprises: Determining, according to the handwriting device information, whether the firmware version of the screen matches the firmware version of the handwriting device; The firmware version of the screen does not match the firmware version of the handwriting device, and it is determined that the screen does not support the handwriting device.

8. An input method, characterized in that: The method comprises: Establish connections with electronic devices; When the electronic device is supported, input operations are performed on the electronic device.

9. The method according to claim 8, characterized in that The step of performing an input operation on the electronic device while supporting the electronic device includes: Sending handwriting device information to the electronic device; Receive handwriting device firmware; the handwriting device firmware is the handwriting device firmware that supports the electronic device screen and is acquired by the electronic device according to the handwriting device information; Installing the handwriting device firmware to enable the handwriting device to support the electronic device; Perform input operations on the electronic device.

10. The method according to claim 9, characterized in that The performing input operation on the electronic device while supporting the electronic device also includes: A result message of installing the handwriting device firmware is sent to the electronic device.

11. The method according to claim 8, characterized in that In the case where the electronic device is supported, performing input operations on the electronic device includes: Sending handwriting device information to the electronic device; wherein the handwriting device information is used by the electronic device to install screen firmware that supports the handwriting device when determining that the electronic device does not support the handwriting device; Perform input operations on the electronic device.

12. The method according to claim 11, characterized in that The handwriting device information includes at least one of the following: a first touch parameter of the handwriting device; Firmware information of the handwriting device.

13. An input device, characterized in that: The device comprises: The first acquisition module is used to detect the handwriting input requirement and acquire the handwriting device information; A first updating module, configured to determine, according to the handwriting device information, that the screen does not support the handwriting device, and perform an updating operation to implement support for the handwriting device; The first input module is used to enable the handwriting device input mode to be in an available state when the screen supports the handwriting device.

14. The device according to claim 13, characterized in that The first updating module is specifically configured to obtain screen firmware supporting the handwriting device according to the handwriting device information; and install the screen firmware.

15. The device according to claim 13, characterized in that The first updating module is specifically configured to obtain handwriting device firmware that supports the screen according to the handwriting device information; and send the handwriting device firmware to the handwriting device.

16. The device according to claim 15, characterized in that The device also includes: The first receiving module is configured to receive a result message of the handwriting device executing an update operation on the handwriting device firmware.

17. The device according to claim 13, characterized in that The handwriting device information includes at least one of the following: a first touch parameter of the handwriting device; Firmware information of the handwriting device.

18. The device according to claim 17, characterized in that The device also includes: A first determination module, used to determine whether a second touch parameter of the screen matches a first touch parameter of the handwriting device according to the handwriting device information; The second determining module is configured to determine that the screen does not support the handwriting device if the second touch parameter does not match the first touch parameter of the handwriting device.

19. The device according to claim 17, characterized in that The device further comprises: A third determination module, used to determine whether the firmware version of the screen matches the firmware version of the handwriting device according to the handwriting device information; The fourth determining module is used to determine that the screen does not support the handwriting device if the firmware version of the screen does not match the firmware version of the handwriting device.

20. An input device, characterized in that: The device comprises: A connection establishment module is used to establish a connection with an electronic device; The second input module is used to perform input operations on the electronic device when supporting the electronic device.

21. The device according to claim 20, characterized in that The device also includes: A first sending module, used to send handwriting device information to the electronic device; A second receiving module is used to receive handwriting device firmware; the handwriting device firmware is the handwriting device firmware supporting the electronic device screen acquired by the electronic device according to the handwriting device information; An installation module, used for installing the handwriting device firmware to enable the handwriting device to support the electronic device; The third input module is used to perform input operations on the electronic device.

22. The device according to claim 21, characterized in that The device also includes: The second sending module is used to send a result message of installing the handwriting device firmware to the electronic device.

23. The device according to claim 20, characterized in that The device also includes: A third sending module is used to send the handwriting device information to the electronic device; wherein the handwriting device information is used by the electronic device to install a screen firmware that supports the handwriting device when the electronic device determines that the handwriting device is not supported; The fourth input module is used to perform input operations on the electronic device.

24. The device according to claim 23, characterized in that The handwriting device information includes at least one of the following: a first touch parameter of the handwriting device; Firmware information of the handwriting device.

25. An electronic device, characterized in that: include: a memory for storing processor-executable instructions; A processor connected to the memory; The processor is configured to execute the input method as described in any one of claims 1 to 7 or 8 to 12.

26. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a computer, enables the computer to perform the input method as described in any one of claims 1 to 7 or 8 to 12.