Handwriting input display method and related equipment

By synthesizing the latest and delayed touch data in the first electronic device and displaying the third layer, the problem of handwriting input delay and insufficient chirality is solved, and the synchronization of cross-device display is improved.

CN114740986BActive Publication Date: 2024-10-11HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110018589.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-07
Publication Date
2024-10-11
Estimated Expiration
2041-01-07

AI Technical Summary

Technical Problem

During the handwriting input process, changes in graphics displayed on the touch screen device interface are usually delayed from changes in handwriting movements, resulting in delays in displaying handwriting input across devices and insufficient chirality.

Method used

By generating touch data in the first electronic device, selecting the latest touch sub-data, synthesizing the third layer with the delayed touch data, and displaying the third layer through the screen of the first electronic device, reducing cross-device display Handwriting input delay, improvement and chirality.

Benefits of technology

It effectively reduces the delay in displaying handwriting input across devices, improves the chirality of handwriting input, and makes the user experience more synchronized and smooth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114740986B_ABST
    Figure CN114740986B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a handwriting input display method and related equipment, which relate to the field of touch technology. The method includes: generating touch data in response to a user's handwriting input operation; sending the touch data to a second electronic device; receiving a first layer sent by the second electronic device; selecting the latest first touch sub-data from the touch data; generating a second layer according to the first touch sub-data; synthesizing the first layer and the second layer into a third layer; and displaying the third layer through the screen of the first electronic device. This embodiment reduces the delay in displaying handwriting input across devices and improves the hand tracking performance of displaying handwriting input across devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of touch control technology, and more particularly to a handwriting input display method and related equipment. Background Art

[0002] With the popularity of touch screen devices (e.g., mobile phones, tablet computers, and other electronic devices with touch screens), handwriting input and other operations have become the main mode of human-computer interaction. Figure 1 As shown, the user performs handwriting input on the mobile phone through a stylus. However, during the handwriting input process, the change of the graphics displayed on the touch screen device interface is usually delayed behind the change of the handwriting action. Summary of the invention

[0003] The embodiments of the present application disclose a handwriting input display method and related devices, which can reduce the delay of handwriting input display across devices and improve the hand tracking performance of handwriting input display across devices.

[0004] The first aspect of the present application discloses a handwriting input display method, which is applied to a first electronic device. The handwriting input display method includes: generating touch data in response to a user's handwriting input operation; sending the touch data to a second electronic device; receiving a first layer sent by the second electronic device; selecting the latest first touch sub-data from the touch data; generating a second layer according to the first touch sub-data; synthesizing the first layer and the second layer into a third layer; and displaying the third layer through the screen of the first electronic device.

[0005] By combining the second layer including the latest touch data and the first layer including the delayed touch data into a third layer and displaying the third layer, the delay of handwriting input displayed across devices is reduced and the hand tracking performance of handwriting input displayed across devices is improved.

[0006] In some optional embodiments, in response to a user's handwriting input operation, generating touch data includes: in response to the user's handwriting input operation, generating multiple touch sub-events in sequence, each touch sub-event including coordinate point data and handwriting status; and adding the multiple touch sub-events to the touch data queue in sequence.

[0007] By adopting this technical solution, it is possible to store touch sub-events through a touch data queue, thereby improving the reading efficiency of touch sub-events.

[0008] In some optional implementations, in response to a handwriting input operation of a user, generating touch data includes: in response to the handwriting input operation of the user, sequentially generating a plurality of coordinate point data; and sequentially adding the plurality of coordinate point data to a touch data queue.

[0009] By adopting this technical solution, the storage of coordinate point data can be realized and the reading efficiency of coordinate point data can be improved.

[0010] In some optional implementations, sending the touch data to the second electronic device includes: acquiring touch sub-events from a touch data queue in sequence at a preset reporting frequency; and sending the acquired touch sub-events to the second electronic device.

[0011] By adopting this technical solution, the touch sub-events can be sent to the second electronic device in an orderly and uniform manner.

[0012] In some optional implementations, sending the touch data to the second electronic device includes: acquiring coordinate point data from the touch data in sequence at a preset reporting frequency; and sending the acquired coordinate point data to the second electronic device.

[0013] By adopting this technical solution, the coordinate point data can be sent to the second electronic device in an orderly and uniform manner.

[0014] In some optional implementations, receiving the first layer sent by the second electronic device includes: receiving the encoded first layer sent by the second electronic device; and decoding the encoded first layer to obtain the first layer.

[0015] By adopting this technical solution, the transmission efficiency and security of the layer can be improved.

[0016] In some optional implementations, selecting the latest first touch sub-data from the touch data includes: selecting the latest coordinate point data within a first time interval from the touch data according to a preset first time interval.

[0017] By adopting this technical solution, the selection of the first touch sub-data can be realized, ensuring that the second layer includes the latest coordinate point data.

[0018] In some optional implementations, selecting the latest first touch sub-data from the touch data includes: obtaining a delay time interval for handwriting input display; determining a second time interval based on the delay time interval; and selecting the latest coordinate point data within the second time interval from the touch data.

[0019] By adopting this technical solution, it is possible to select the first touch sub-data according to the delay event interval, so that a complete third layer with hand tracking properties can be synthesized according to the coordinate point data in the first touch sub-data and the coordinate point data in the first layer.

[0020] In some optional embodiments, selecting the latest first touch sub-data from the touch data includes: obtaining a preset first time interval or a second time interval determined according to a delay time interval displayed according to handwriting input; determining the number of first coordinate points according to the first time interval or the second time interval; and selecting the latest coordinate point data from the touch data according to the number of first coordinate points.

[0021] By adopting this technical solution, it is possible to select the latest coordinate point data according to the number of the first coordinate points.

[0022] In some optional embodiments, generating a second layer based on the first touch sub-data includes: obtaining a delay time interval for displaying handwriting input, the first touch sub-data including coordinate point data within the latest delay time interval in the touch data; generating the second layer based on the coordinate point data in the first touch sub-data.

[0023] By adopting this technical solution, a second layer can be generated according to the delay time interval to avoid the lack of the latest coordinate point data in the layer within the delay time interval, reduce the delay in handwriting input displayed across devices, and improve the tracking performance of handwriting input displayed across devices.

[0024] In some optional embodiments, generating the second layer according to the first touch sub-data includes: predicting multiple coordinate point data based on the first touch sub-data to obtain predicted coordinate point data; generating the second layer according to the coordinate point data in the first touch sub-data and the predicted coordinate point data.

[0025] By adopting this technical solution, the prediction of coordinate point data can further offset the delayed display caused by other situations, so as to reduce the delay in displaying handwriting input handwriting across devices and improve the hand tracking of handwriting input across devices. For example, it takes time to generate the second layer, that is, the handwriting display in the second layer has a delay. The delay in displaying handwriting input handwriting can be reduced by predicting the coordinate point data within the delay time interval.

[0026] In some optional implementations, generating the second layer according to the first touch sub-data includes: acquiring preset first handwriting configuration information; and generating the second layer according to the first touch sub-data and the first handwriting configuration information.

[0027] By adopting this technical solution, a second layer of different styles can be generated according to the user's personalized configuration.

[0028] In some optional implementations, the handwriting input display method further includes: sending the first handwriting configuration information to a second handwriting drawing module of the second electronic device through a first handwriting drawing module of the first electronic device.

[0029] By adopting this technical solution, the handwriting input style of the first electronic device can be synchronized to the second electronic device, so that the handwriting style displayed by the second electronic device is consistent with the handwriting style of the first electronic device.

[0030] In some optional implementations, the first handwriting drawing module and the second handwriting drawing module are the same type of handwriting drawing modules.

[0031] By adopting this technical solution, data synchronization between two modules can be achieved.

[0032] In some optional implementations, generating the second layer according to the first touch sub-data includes: determining the second handwriting configuration information according to the first layer; and generating the second layer according to the first touch sub-data and the second handwriting configuration information.

[0033] By adopting this technical solution, when the user has not configured the handwriting style on the first electronic device, the second layer can be generated according to the handwriting style of the second electronic device.

[0034] In some optional implementations, determining the second handwriting configuration information according to the first layer includes: acquiring a handwriting input position; and determining the second handwriting configuration information according to the handwriting input position and the first layer.

[0035] By adopting this technical solution, the second handwriting configuration information can be determined.

[0036] In some optional embodiments, determining the second handwriting configuration information based on the handwriting input position and the first layer includes: extracting a pixel image within a preset range of the handwriting input position from the first layer based on the handwriting input position; filtering the pixel image, and determining the filtered pixel image as the second handwriting configuration information.

[0037] By adopting this technical solution, it is possible to determine the second handwriting configuration information according to the handwriting input position.

[0038] The first aspect of the present application discloses a handwriting input display method, which is applied to a second electronic device. The handwriting input display method includes: receiving touch data sent by a first electronic device; determining the received touch data as second touch sub-data; generating a first layer according to the second touch data; and sending the first layer to the first electronic device.

[0039] By adopting this technical solution, a first layer can be generated according to touch data sent by a first electronic device and sent to the first electronic device, thereby improving the efficiency of synthesizing the first layer and the second layer into a third layer.

[0040] In some optional implementations, generating the first layer according to the second touch data includes: receiving first handwriting configuration information sent by the first electronic device; and generating the first layer according to the first handwriting configuration information and the second touch data.

[0041] By adopting this technical solution, the handwriting style in the second electronic device can be kept consistent with the handwriting style in the first electronic device.

[0042] In some optional implementations, sending the first layer to the first electronic device includes: encoding the first layer; and sending the encoded first layer to the first electronic device.

[0043] By adopting this technical solution, the transmission efficiency and security of the first layer can be improved.

[0044] The third aspect of the present application discloses an electronic device, including a processor and a memory; the memory is used to store instructions; the processor is used to call the instructions in the memory so that the electronic device executes a handwriting input display method.

[0045] In a fourth aspect, the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and a handwriting input display method is implemented when the at least one instruction is executed by a processor.

[0046] The technical effects brought about by the second to fourth aspects can be found in the relevant descriptions of the methods involved in the above method part, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 The present invention is a schematic diagram of an application scenario of a handwriting input display method.

[0048] Figure 2 It is a schematic diagram of an application scenario of a handwriting input display method provided in an embodiment of the present application.

[0049] Figure 3 The present invention is a schematic diagram of module interaction across devices of a handwriting input display method.

[0050] Figure 4 This is a flow chart of a handwriting input display method applied to a first electronic device provided in an embodiment of the present application.

[0051] Figure 5 This is a schematic diagram of a third layer synthesis provided in an embodiment of the present application.

[0052] Figure 6 This is a handwriting input display schematic diagram provided in an embodiment of the present application.

[0053] Figure 7 It is a flow chart of a handwriting input display method applied to a second electronic device provided in an embodiment of the present application.

[0054] Figure 8 This is a cross-device interaction flow chart of a handwriting input display method provided in an embodiment of the present application.

[0055] Fig. 9 It is a schematic diagram of module interaction across devices of a handwriting input display method provided in an embodiment of the present application.

[0056] Fig.10 It is a schematic diagram of an example of module interaction between devices in a handwriting input display method provided in an embodiment of the present application.

[0057] Fig.11 It is a data interaction flow chart of a handwriting input display method provided in an embodiment of the present application.

[0058] Fig.12 This is a schematic diagram of module interaction across devices of another handwriting input display method provided in an embodiment of the present application.

[0059] Fig.13 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0060] Fig.14 It is a software structure block diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0061] It should be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0062] To facilitate understanding, some illustrations of concepts related to the embodiments of the present application are given by way of example for reference.

[0063] In order to ensure the user's experience of handwriting input through the touch screen of an electronic device, the electronic device needs to have good hand tracking. An important indicator for measuring hand tracking is the distance between the position of the stylus tip when handwriting input is performed and the handwriting displayed on the touch screen of the electronic device. The smaller the distance between the handwriting input pen tip and the displayed handwriting, the stronger the hand tracking of the electronic device. If the handwriting input pen tip is completely synchronized with the displayed handwriting, the electronic device has the best hand tracking.

[0064] In order to better understand the handwriting input display method and related devices provided in the embodiments of the present application, the application scenario is first described below.

[0065] Figure 2 It is a schematic diagram of an application scenario of a handwriting input display method provided in an embodiment of the present application.

[0066] like Figure 2As shown, the first electronic device is in communication connection with the second electronic device, wherein the screen of the first electronic device is a touch screen device (e.g., a touch screen, etc.). The user can perform handwriting input operation on the first electronic device and see the handwriting corresponding to the handwriting input operation displayed by the first electronic device.

[0067] The first electronic device serves as an input / output device. In this embodiment, the user performs handwriting input using a stylus (for example, various types of styluses), and the screen of the first electronic device receives the user's handwriting input operation and displays the handwriting corresponding to the handwriting input operation; in response to the user's handwriting input operation, the first electronic device sends touch data to the second electronic device; the second electronic device generates a layer based on the touch data, and sends the layer to the first electronic device; the first electronic device receives the layer returned by the second electronic device, and displays the handwriting corresponding to the user's handwriting input operation according to the layer.

[0068] In the above operation example, the second electronic device can be used as a computing device to calculate, render and generate a layer based on the touch data sent by the first electronic device, and send the generated layer to the first electronic device to display the corresponding handwriting in response to the user's handwriting input. The first electronic device can be a tablet, and the second electronic device can be a mobile phone.

[0069] In this application scenario, the user needs to perform handwriting input on the second electronic device by performing a handwriting input operation on the first electronic device, and the first electronic device displays the handwriting corresponding to the handwriting input operation to the user to help the user perform accurate handwriting input operations.

[0070] In this application scenario, since the touch data needs to be transmitted from the first electronic device to the second electronic device, and then the layer needs to be transmitted from the second electronic device to the first electronic device, the delay of handwriting input displayed across devices is further increased and the tracking performance of handwriting input displayed across devices is reduced.

[0071] Figure 3 The present invention is a schematic diagram of the interaction between cross-device modules of a handwriting input display method.

[0072] like Figure 3As shown, the first electronic device and the second electronic device are connected to each other through Wi-Fi. The user can perform a touch operation on the first electronic device based on the touch driving module of the first electronic device, such as a handwriting input operation. The touch driving module is connected to the touch screen to receive the user's touch operation. In response to the touch operation, the touch driving module generates a touch event and reports the touch event to the cross-device interaction management module of the first electronic device, wherein the touch driving module can generate a touch event according to the touch data corresponding to the touch operation, and the touch event can be expressed as the start of handwriting, the coordinates of the continuous track, and the end of handwriting. The cross-device interaction management module of the first electronic device sends the touch event to the cross-device interaction management module of the second electronic device through Wi-Fi. The cross-device interaction management module of the second electronic device reports the touch event to the handwriting drawing module. The handwriting drawing module generates an application layer according to the touch event; performs low-latency encoding on the application layer to obtain the encoded application layer; and sends the encoded application layer to the cross-device interaction management module of the second electronic device. The cross-device interaction management module of the second electronic device sends the encoded application layer to the cross-device interaction management module of the first electronic device through Wi-Fi. The first electronic device performs low-latency decoding on the encoded application layer to obtain a decoded application layer, and displays the decoded application layer on the screen of the first electronic device.

[0073] The handwriting drawing module can provide a service to convert touch events into application layers, and provide the application layers to the application that is compatible with the handwriting drawing module. The handwriting drawing module (for example, Huawei's Penkit) can support the configuration and modification of handwriting configuration information such as color, shape, and line width. Specifically, the handwriting drawing module can receive touch events and draw corresponding layers according to the touch events and the handwriting configuration information of the compatible application. The handwriting drawing module can determine the handwriting style such as color and width of the handwriting displayed in the application layer according to the handwriting configuration information, and determine the coordinate points (for example, starting point, end point, etc.) of the handwriting in the layer according to the touch event.

[0074] Figure 4 This is a flow chart of a handwriting input display method provided in an embodiment of the present application. The handwriting input display method is applied to a first electronic device, and the first electronic device is connected to a second electronic device for communication. Specifically, the handwriting input display method includes:

[0075] S401, generating touch data in response to a handwriting input operation of a user.

[0076] The user can perform a handwriting input operation on the screen of the first electronic device, and the screen of the first electronic device is a touch screen that supports handwriting input. For example, the user can draw an image on the screen of a mobile phone using a stylus or a finger. The stylus may include a capacitive stylus, an active capacitive stylus, or a passive capacitive stylus.

[0077] A capacitive pen is a pen made of conductive material with conductive properties, used to touch a capacitive screen and complete human-computer interaction. It is an auxiliary device that uses conductive materials to imitate the human body (usually the human finger) to complete human-computer interaction. The material of the tip of an active capacitive stylus pen uses polyacetal (POM) with high strength, high impact resistance, and smoothness; based on the characteristics of POM, the tip of an active capacitive pen has a better smoothness. A passive capacitive pen is an auxiliary device that imitates the touch effect of a finger. The tip of the pen can be made of conductive foam, metal, brush, and other conductive materials that can affect the change in capacitance, so the tip of a passive capacitive pen is thicker.

[0078] In one embodiment of the present application, the first electronic device generates a plurality of touch sub-events in sequence in response to the handwriting input operation of the user, each touch sub-event includes coordinate point data and handwriting status; and the plurality of touch sub-events are added to the touch data queue in sequence. Among them, the touch sub-events and the touch data queue are described below by way of example. Based on the touch data queue, a plurality of touch sub-events are combined in sequence to obtain a touch event, and the handwriting status includes a handwriting start state, a handwriting middle state, and a handwriting end state. The touch event can be expressed as handwriting start, continuous trajectory coordinates, and handwriting end. Specifically, in response to the handwriting input operation of the user, the first electronic device can generate a touch event through a touch driving module, and report the touch event to the cross-device interaction management module of the first electronic device through the first event reporting module of the first electronic device, and report the touch event to the first handwriting drawing module of the first electronic device.

[0079] The following is explained for the touch sub-event and the touch data queue: Optionally, each touch sub-event may include coordinate point data, wherein the coordinate point data may include starting coordinate point data, middle coordinate point data or ending coordinate point data. The starting coordinate point data is the coordinate point data of the starting state of the handwriting, the middle coordinate point data is the coordinate point data of the middle state of the handwriting, and the ending coordinate point data is the coordinate point data of the ending state of the handwriting.

[0080] Optionally, the first electronic device generates a plurality of coordinate point data in sequence in response to a handwriting input operation of the user; and adds the plurality of coordinate point data to a touch data queue in sequence.

[0081] The touch data may include queue-based touch data, set-based touch data, and the like.

[0082] It is understandable that generating touch data is a continuous process. During the handwriting input operation by the user, the first electronic device continuously adds the coordinate point data generated in sequence to the touch data queue in sequence. For example, the screen sampling rate of the electronic device can be 240Hz, that is, one coordinate point data is collected approximately every 4 milliseconds (ms) (for ease of explanation, the embodiment of the present application is described with 4ms as the time interval for collecting coordinate point data, ignoring the time consumption of some processing processes). The screen refresh rate of the electronic device is 60fps (Frames Per Second). For ease of explanation, 16ms is used as the time interval for generating adjacent layers. The time to collect the starting coordinate point data (i.e., the first coordinate point data) is recorded as the 4th ms. If the current time is the 2032nd ms, then it can be calculated that the currently collected coordinate point data is the 508th coordinate point data. It is understandable that the time to collect the 500th coordinate point data is the 2000th ms.

[0083] S402: Send the touch data to the second electronic device.

[0084] The touch data includes a plurality of coordinate point data, and the plurality of coordinate point data can be sent to the second electronic device. Specifically, the plurality of coordinate point data can be sent to the second electronic device based on a touch event, and the touch event can include a plurality of touch sub-events.

[0085] In one embodiment of the present application, the first electronic device may sequentially obtain touch sub-events from the touch data queue at a preset reporting frequency, and send the obtained touch sub-events to the second electronic device. The preset reporting frequency may be 240 Hz.

[0086] Optionally, the first electronic device may sequentially acquire coordinate point data from the touch data at a preset reporting frequency; and send the acquired coordinate point data to the second electronic device.

[0087] The first electronic device can send the touch data to the cross-device interaction management module of the second electronic device through the cross-device interaction management module of the first electronic device. Specifically, the first event reporting module of the first electronic device can report the touch event carrying the touch data to the cross-device interaction management module of the first electronic device, and the cross-device interaction management module of the first electronic device sends the touch event to the cross-device interaction management module of the second electronic device via Wi-Fi.

[0088] As exemplified above, the first electronic device may send 508 coordinate point data in the touch data to the second electronic device in sequence.

[0089] The second electronic device generates a first layer in response to the received touch data, and sends the first layer to the first electronic device.

[0090] S403: Receive the first layer sent by the second electronic device.

[0091] Optionally, the first electronic device may receive the encoded first layer sent by the second electronic device; and decode the encoded first layer to obtain the first layer.

[0092] Understandably, since the touch data transmission takes time, the touch data received by the second electronic device is not complete touch data, and lacks some newly generated touch data. The second electronic device can store the starting coordinate point data, the latest received coordinate point data, and the coordinate point data between the starting coordinate point data and the latest received coordinate point data. Since the touch data processing and layer generation take time, the generated first layer does not include all the coordinate point data stored by the second electronic device, and lacks some newly stored coordinate point data.

[0093] The cross-device interaction management module of the first electronic device can receive the first layer sent by the cross-device interaction management module of the second electronic device via Wi-Fi, wherein the transmission event of the first layer between the cross-device interaction management module of the first electronic device and the cross-device interaction management module of the second electronic device is about 4ms to 8ms.

[0094] Continuing with the above example, if the current time is 2032ms, the coordinate point data received by the second electronic device includes the 1st to 507th coordinate point data, wherein the 507th coordinate point data is the most recently received coordinate point data. The current first layer includes the 1st to 500th coordinate point data. Understandably, the 501st to 507th coordinate point data may be in a state of a layer to be generated, in a state of layer generation, or in a state of a layer that has been generated (the layer has been generated but has not yet reached the first electronic device). For example, the 505th to 507th coordinate point data are in a state of a layer to be generated, and the 501st to 504th coordinate point data are in a state of a layer that has been generated.

[0095] S404: Select the latest first touch sub-data from the touch data.

[0096] In one embodiment of the present application, the first electronic device may select the coordinate point data within the latest first time interval from the touch data according to a preset first time interval. The first time interval may be a user-defined setting or a default setting. For example, the first time interval obtained may be 32ms, and the coordinate point data within the latest 32ms is selected from the touch data, that is, the coordinate point data within 32ms before the current time.

[0097] Optionally, the first electronic device can obtain the delay time interval of the handwriting input display; determine the second time interval based on the delay time interval; and select the latest coordinate point data within the second time interval from the touch data. The delay time interval can be the time interval from when the first electronic device generates a coordinate point data to when the first electronic device receives the layer including the coordinate point data from the second electronic device. For example, the delay time interval of the handwriting input display is 32ms, and the second time interval is determined to be 28ms, 32ms, 36ms or 40ms based on the delay time interval, and the latest coordinate point data within 28ms, 32ms, 36ms or 40ms is selected from the touch data, that is, the coordinate point data within 28ms, 32ms, 36ms or 40ms before the current time.

[0098] Optionally, the first electronic device may obtain a first time interval or a second time interval; determine the number of first coordinate points according to the first time interval or the second time interval; and select the latest coordinate point data from the touch data according to the number of first coordinate points.

[0099] The first handwriting drawing module of the first electronic device may receive the touch event carrying the touch data sent by the first event reporting module, and the first electronic device may select the latest first touch sub-data from the touch data.

[0100] Continuing with the above example, the first electronic device selects the latest first touch sub-data (501st to 508th coordinate point data) from the touch data (1st to 508th coordinate point data).

[0101] S405: Generate a second layer according to the first touch sub-data.

[0102] In one embodiment of the present application, the first touch sub-data includes coordinate point data within the latest delay time interval in the touch data, and the first electronic device can generate the second layer according to the coordinate point data in the first touch sub-data.

[0103] In another embodiment of the present application, the first electronic device may further predict multiple coordinate point data based on the first touch sub-data to obtain predicted coordinate point data; and generate a second layer according to the coordinate point data in the first touch sub-data and the predicted coordinate point data. The first touch sub-data may include 4 coordinate point data, and the predicted coordinate point data may include 2 to 4 coordinate point data. Based on the coordinate point data in the first touch sub-data and the predicted coordinate point data, the generated second layer includes 6 to 8 coordinate point data.

[0104] Specifically, the first electronic device predicts multiple coordinate point data based on the first touch sub-data, and the predicted coordinate point data includes: determining half of the delay time interval as the second time interval, and the first touch sub-data includes the coordinate point data within the latest second time interval in the touch data; obtaining the number of second coordinate points of the first touch sub-data; determining the number of third coordinate points of the coordinate point data to be predicted based on the number of second coordinate points; and predicting multiple coordinate point data based on the first touch sub-data and the number of third coordinate points.

[0105] Methods for predicting coordinate point data may include interpolation methods and fitting methods. For example, a trajectory curve may be generated based on the first touch sub-data by using a Lagrange interpolation method, a Newton interpolation method, or a least squares method; a trajectory direction and an average coordinate distance between adjacent coordinate point data may be determined based on the sequence of the first touch sub-data; and multiple coordinate point data may be predicted based on the trajectory curve, trajectory direction, average coordinate distance, and the latest coordinate point data in the first touch sub-data.

[0106] In one embodiment of the present application, the first handwriting drawing module of the first electronic device can directly generate the second layer according to the first touch sub-data. In another embodiment of the present application, the first electronic device can obtain the preset first handwriting configuration information; and generate the second layer according to the first touch sub-data and the first handwriting configuration information. Specifically, the first handwriting drawing module of the first electronic device generates the second layer according to the first touch sub-data and the first handwriting configuration information.

[0107] Before performing a handwriting input operation through the screen of the first electronic device, the user can select a handwriting style through the screen of the first electronic device. The handwriting style may include the color and shape of the handwriting. The first electronic device can display the handwriting style through the screen of the first electronic device; in response to the user's selection operation of the handwriting style, the handwriting style selected by the user is stored as the first handwriting configuration information. In addition, the first electronic device can pre-set the default first handwriting configuration information. If the user does not select the handwriting style, the first electronic device can directly use the default first handwriting configuration information.

[0108] In one embodiment of the present application, the first electronic device may send the first handwriting configuration information to the second handwriting drawing module of the second electronic device through the first handwriting drawing module. The first handwriting drawing module may generate a first layer according to the first handwriting configuration information, that is, the handwriting configuration information in the first handwriting drawing module and the second handwriting drawing module are the same, and the handwriting style in the generated layer is the same. Optionally, the first handwriting drawing module and the second handwriting drawing module may be the same type of handwriting drawing modules. For example, the first handwriting drawing module and the second handwriting drawing module are both penkit handwriting drawing modules.

[0109] In one embodiment of the present application, if the first handwriting configuration information does not exist in the first electronic device, the first electronic device can determine the second handwriting configuration information based on the first layer sent by the second electronic device; and generate the second layer based on the first touch sub-data and the second handwriting configuration information.

[0110] Specifically, the first electronic device determines the second handwriting configuration information according to the first layer, including: the first electronic device obtains the handwriting input position, and determines the second handwriting configuration information according to the handwriting input position and the first layer. The handwriting input position may be the position represented by the latest coordinate point data in the first touch sub-data.

[0111] Specifically, the first electronic device determines the second handwriting configuration information according to the handwriting input position and the first layer, including: the first electronic device extracts a pixel image within a preset range of the handwriting input position from the first layer according to the handwriting input position; and performs filtering on the pixel image, and determines the filtered pixel image as the second handwriting configuration information. The first electronic device can determine the style of the handwriting in the second layer according to the filtered pixel image.

[0112] Optionally, the first electronic device extracts a pixel image within a preset range of the handwriting input position from the first layer according to the handwriting input position, including: the first electronic device may obtain a preset distance value; extract pixel points whose distance from the handwriting input position is less than or equal to the preset distance value from the first layer; and combine pixel points whose distance from the handwriting input position is less than or equal to the preset distance value to obtain a pixel image. The preset distance value may be 5 pixels, 10 pixels, 20 pixels, 50 pixels, or 100 pixels, etc.

[0113] Continuing with the above example, the second layer is generated according to the first touch sub-data (the 501st to 508th coordinate point data).

[0114] S406, combining the first layer and the second layer into a third layer.

[0115] The first electronic device realizes synthesis of the third layer by superimposing the first layer and the second layer.

[0116] Continuing with the above example, the 500 coordinate point data in the first layer and the 8 coordinate point data in the second layer are superimposed on the third layer, that is, the third layer includes 508 coordinate point data.

[0117] like Figure 5 As shown in FIG. 1 , it is a schematic diagram of a third layer synthesis provided by an embodiment of the present application. Figure 5As shown, the first layer is a layer with handwriting received by the first electronic device from the second electronic device, the second layer is a layer with handwriting newly acquired by the first electronic device, and the third layer is a layer synthesized by the first layer and the second layer.

[0118] S407: Display the third layer on the screen of the first electronic device.

[0119] The synthesis display module of the first electronic device sends a third layer synthesized by the first layer and the second layer to the screen of the first electronic device, and the screen of the first electronic device displays the third layer.

[0120] like Figure 6 As shown in FIG. 1 , it is a schematic diagram of a handwriting input display provided by an embodiment of the present application. Figure 6 As shown in A, the screen delays displaying handwriting during the user's handwriting input process. Figure 6 As shown in B, it is a schematic diagram of handwriting input display provided in an embodiment of the present application, that is, the method of the above embodiment of the present application is adopted to effectively reduce the display delay of the user's handwriting input handwriting.

[0121] like Figure 7 FIG. 1 is a flow chart of a handwriting input display method provided in an embodiment of the present application. The handwriting input display method is applied to a second electronic device, and a first electronic device is communicatively connected with the second electronic device. Specifically, the handwriting input display method includes:

[0122] S701, receiving touch data sent by a first electronic device.

[0123] The second electronic device can continuously and sequentially receive the coordinate point data in the touch data sent by the first electronic device. The cross-device interaction management module of the second electronic device can receive the touch data sent by the first electronic device via Wi-Fi. The transmission time of the touch data between the cross-device interaction management module of the first electronic device and the cross-device interaction management module of the second electronic device is about 2ms to 5ms.

[0124] The cross-device interaction management module of the second electronic device can receive the touch event carrying touch data sent by the cross-device interaction management module of the first electronic device via Wi-Fi; the cross-device interaction management module of the second electronic device can send the touch event carrying touch data to the second event reporting module of the second electronic device, and the second event reporting module sends the touch event carrying touch data to the second handwriting drawing module of the second electronic device.

[0125] S702: Determine the received touch data as second touch sub-data.

[0126] The second electronic device may determine all the received touch data as the second touch sub-data. Understandably, the second touch sub-data may lack the latest part of the coordinate point data in the touch data.

[0127] S703, generating a first layer according to the second touch data.

[0128] The second electronic device can generate a first layer according to the coordinate point data in the second touch data, that is, draw the coordinate point data in the second touch data to the first layer. The second handwriting drawing module of the second electronic device can generate the first layer according to the second touch data. Among them, the first handwriting drawing module of the first electronic device and the second handwriting drawing module of the second electronic device can be the same type of handwriting drawing modules. For example, the first handwriting drawing module and the second handwriting drawing module are both penkit handwriting drawing modules.

[0129] In one embodiment of the present application, the second electronic device may receive the first handwriting configuration information sent by the first electronic device; and generate the first layer according to the first handwriting configuration information and the second touch data.

[0130] S704: Send the first layer to the first electronic device.

[0131] According to the continuously received touch data, the second electronic device can continuously generate multiple layers and sequentially send the generated multiple layers to the first electronic device. For example, the second electronic device can sequentially send the previous layer of the first layer, the first layer, and the next layer of the first layer to the first electronic device.

[0132] In one embodiment of the present application, the second electronic device may encode the first layer and send the encoded first layer to the first electronic device. Specifically, the second electronic device may perform low-latency encoding on the first layer to reduce the delay in displaying the handwriting input traces.

[0133] like Figure 8 FIG. 1 is a flow chart of a handwriting input display method provided in an embodiment of the present application. The handwriting input display method is applied to a first electronic device and a second electronic device. The first electronic device is connected to the second electronic device for communication. Specifically, the handwriting input display method includes:

[0134] S801: The first electronic device generates touch data in response to a handwriting input operation of a user.

[0135] S802: The first electronic device sends touch data to the second electronic device.

[0136] S803: The second electronic device determines the received touch data as second touch sub-data.

[0137] S804: The second electronic device generates a first layer according to the second touch data.

[0138] S805: The second electronic device sends the first layer to the first electronic device.

[0139] S806: The first electronic device selects the latest first touch sub-data from the touch data.

[0140] S807: The first electronic device generates a second layer according to the first touch sub-data.

[0141] S808: The first electronic device combines the first layer and the second layer into a third layer.

[0142] S809: The first electronic device displays the third layer through the screen of the first electronic device.

[0143] like Fig. 9 As shown, it is a module interaction schematic diagram of the writing input display method provided by an embodiment of the present application. The first electronic device and the second electronic device are connected to each other through Wi-Fi. Among them, the first electronic device can be a tablet, and the second electronic device can be a mobile phone. The user can touch the first electronic device based on the touch driving module of the first electronic device, such as handwriting input operation. The touch driving module generates a touch event in response to the touch, and reports the touch event to the cross-device interaction management module and the first handwriting drawing module of the first electronic device. The first handwriting drawing module generates a local handwriting layer according to the touch event, or the first handwriting drawing module generates a local handwriting layer according to the latest multiple touch events. The cross-device interaction management module of the first electronic device sends the touch event to the cross-device interaction management module of the second electronic device through Wi-Fi. The cross-device interaction management module of the second electronic device reports the touch event to the second handwriting drawing module of the second electronic device. The second handwriting drawing module generates an application layer according to the touch event; performs low-latency encoding on the application layer to obtain the encoded application layer; and sends the encoded application layer to the cross-device interaction management module of the second electronic device through the cross-device interaction management module of the second electronic device. The cross-device interaction management module of the second electronic device sends the encoded application layer to the cross-device interaction management module of the first electronic device via Wi-Fi. The first electronic device performs low-latency decoding on the encoded application layer to obtain the decoded application layer. The screen of the first electronic device overlays and displays the layer generated by the local handwriting layer and the application layer. The local handwriting layer is the first layer, and the application layer is the second layer.

[0144] like Fig.10 , which is a specific module interaction diagram of the writing input display method provided by the embodiment of the present application. Fig. 9 On the basis shown, both the first handwriting drawing module and the second handwriting drawing module can be Penkit.

[0145] like Fig.11 As shown, it is a module interaction flow chart of the writing input display method provided by an embodiment of the present application. A first electronic device is connected to a second electronic device for communication. The first electronic device includes a synthesis display module, a first event reporting module, a first handwriting drawing module, and a cross-device interaction management module. The second electronic device includes a second event reporting module, a second handwriting drawing module, and a cross-device interaction management module. Fig.11 As shown, the first event reporting module sends the generated touch event data (i.e., the touch event carrying coordinate point data) to the first handwriting drawing module and the cross-device interaction management module of the first electronic device. The cross-device interaction management module of the first electronic device sends the touch event data to the cross-device interaction management module of the second electronic device via Wi-Fi, wherein the transmission time is approximately 2ms to 5ms. The second event reporting module imports the touch event data from the cross-device interaction management module of the second electronic device, and sends the touch event data to the second handwriting drawing module. The second handwriting drawing module generates a handwriting layer without prediction based on the touch event data. The cross-device interaction management module of the second electronic device obtains the handwriting layer to be displayed from the second handwriting drawing module, the second electronic device performs video encoding on the handwriting layer to be displayed, and the cross-device interaction management module of the second electronic device sends the encoded layer (i.e., the application layer) to the first electronic device. The first handwriting drawing module of the first electronic device predicts 2 to 4 coordinate point data based on the touch event data, draws a trajectory layer (i.e., a local handwriting layer) of 6 to 8 coordinate point data based on the predicted coordinate point data and the touch event data, and sends the local handwriting layer to the synthetic display module.

[0146] like Fig.12 As shown in FIG. 1 , another schematic diagram of module interaction of the writing input display method provided in an embodiment of the present application is shown. Fig.12As shown, the first electronic device and the second electronic device are connected to each other through Wi-Fi. The first electronic device may be a tablet, and the second electronic device may be a mobile phone. The user may touch the first electronic device based on the touch driving module of the first electronic device, such as handwriting input operation. The touch driving module generates a touch event in response to the touch, and reports the touch event to the cross-device interaction management module and the local handwriting drawing module (i.e., the first handwriting drawing module) of the first electronic device. The cross-device interaction management module of the first electronic device sends the touch event to the cross-device interaction management module of the second electronic device via Wi-Fi. The cross-device interaction management module of the second electronic device reports the touch event to the application custom handwriting drawing module (i.e., the second handwriting drawing module) of the second electronic device. The application custom handwriting drawing module generates an application layer according to the touch event; performs low-latency encoding on the application layer to obtain the encoded application layer; and sends the encoded application layer to the cross-device interaction management module of the second electronic device via the cross-device interaction management module of the second electronic device. The cross-device interaction management module of the second electronic device sends the encoded application layer to the cross-device interaction management module of the first electronic device via Wi-Fi. The first electronic device performs low-latency decoding on the encoded application layer. The first electronic device sends the application layer to the handwriting learning module of the first electronic device. The handwriting learning module learns the second handwriting configuration information according to the style of the handwriting in the application layer, and sends the second handwriting configuration information to the local handwriting drawing module. The local handwriting drawing module generates a local handwriting layer according to the touch event and the second handwriting configuration information, or the local handwriting drawing module generates a local handwriting layer according to the latest multiple touch events and the second handwriting configuration information. The screen of the first electronic device overlays and displays the layer generated by the local handwriting layer and the application layer. Among them, the local handwriting layer is the first layer, and the application layer is the second layer.

[0147] Fig.131 is a schematic diagram of the structure of the electronic device 100 provided in an embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0148] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0149] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0150] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0151] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0152] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0153] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0154] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0155] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0156] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0157] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0158] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0159] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0160] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0161] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0162] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0163] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0164] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0165] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0166] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0167] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0168] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), the fifth generation of wireless communication system (5G), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0169] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0170] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0171] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0172] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0173] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0174] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0175] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0176] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0177] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0178] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0179] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0180] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0181] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0182] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0183] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0184] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0185] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0186] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0187] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0188] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.

[0189] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0190] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0191] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0192] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0193] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0194] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0195] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0196] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0197] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0198] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0199] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.

[0200] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0201] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0202] Fig.14 1 is a software structure diagram of the electronic device 100 provided in the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0203] like Fig.14 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0204] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0205] like Fig.14 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0206] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0207] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0208] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0209] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0210] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0211] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0212] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0213] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0214] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0215] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0216] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0217] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0218] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0219] A 2D graphics engine is a drawing engine for 2D drawings.

[0220] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0221] If the module integrated in the electronic device 100 is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium, and the computer-readable instructions can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer-readable instructions include computer-readable instruction codes, and the computer-readable instruction codes can be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), etc. that can carry the computer-readable instruction code.

[0222] This embodiment further provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the handwriting input display method in the above-mentioned embodiment.

[0223] This embodiment further provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the above-mentioned related steps to implement the handwriting input display method in the above-mentioned embodiment.

[0224] In addition, an embodiment of the present application also provides a device, which may specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory so that the chip executes the handwriting input display method in the above-mentioned method embodiments.

[0225] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.

[0226] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0227] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0228] The unit described as a separate component may or may not be physically separated, and the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.

[0229] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0230] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0231] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A handwriting input display method, applied to a first electronic device, It is characterized in that The handwriting input display method comprises: generating touch data in response to a handwriting input operation of a user; sending the touch data to a second electronic device; Receiving the first layer sent by the second electronic device; Selecting the latest first touch sub-data from the touch data; generating a second layer according to the first touch sub-data; Combining the first layer and the second layer into a third layer; The third layer is displayed on the screen of the first electronic device.

2. The handwriting input display method according to claim 1, It is characterized in that The generating touch data in response to the handwriting input operation of the user comprises: In response to the user's handwriting input operation, a plurality of touch sub-events are sequentially generated, each touch sub-event including coordinate point data and handwriting status; The multiple touch sub-events are added to the touch data queue in sequence.

3. The handwriting input display method according to claim 1, It is characterized in that The generating touch data in response to the handwriting input operation of the user comprises: In response to a handwriting input operation of a user, a plurality of coordinate point data are sequentially generated; The plurality of coordinate point data are sequentially added to a touch data queue.

4. The handwriting input display method according to claim 2, It is characterized in that The sending the touch data to the second electronic device comprises: Acquire the touch sub-events from the touch data queue in sequence at a preset reporting frequency; The acquired touch sub-event is sent to the second electronic device.

5. The handwriting input display method according to claim 3, It is characterized in that The sending the touch data to the second electronic device comprises: Obtaining coordinate point data from the touch data in sequence at a preset reporting frequency; The acquired coordinate point data is sent to the second electronic device.

6. The handwriting input display method according to claim 1, It is characterized in that The receiving the first layer sent by the second electronic device comprises: Receiving the first layer of the code sent by the second electronic device; The encoded first layer is decoded to obtain the first layer.

7. The handwriting input display method according to claim 1, It is characterized in that The selecting the latest first touch sub-data from the touch data comprises: According to a preset first time interval, the latest coordinate point data within the first time interval is selected from the touch data.

8. The handwriting input display method according to claim 1, It is characterized in that The selecting the latest first touch sub-data from the touch data comprises: Get the delay time interval of handwriting input display; determining a second time interval according to the delay time interval; The latest coordinate point data within the second time interval is selected from the touch data.

9. The handwriting input display method according to claim 1, It is characterized in that The selecting the latest first touch sub-data from the touch data comprises: Obtaining a preset first time interval or a second time interval determined according to a delayed time interval displayed by handwriting input; Determine the number of first coordinate points according to the first time interval or the second time interval; The latest coordinate point data is selected from the touch data according to the first coordinate point quantity.

10. The handwriting input display method according to claim 1, It is characterized in that Generating the second layer according to the first touch sub-data includes: Acquire a delay time interval for handwriting input display, wherein the first touch sub-data includes the latest coordinate point data within the delay time interval in the touch data; A second layer is generated according to the coordinate point data in the first touch sub-data.

11. The handwriting input display method according to claim 1, It is characterized in that Generating the second layer according to the first touch sub-data includes: Predicting a plurality of coordinate point data based on the first touch sub-data to obtain predicted coordinate point data; A second layer is generated according to the coordinate point data in the first touch sub-data and the predicted coordinate point data.

12. The handwriting input display method according to claim 1, It is characterized in that Generating the second layer according to the first touch sub-data includes: Obtaining preset first handwriting configuration information; A second layer is generated according to the first touch sub-data and the first handwriting configuration information.

13. The handwriting input display method according to claim 12, It is characterized in that The handwriting input display method further includes: The first handwriting configuration information is sent to a second handwriting drawing module of the second electronic device through a first handwriting drawing module of the first electronic device.

14. The handwriting input display method according to claim 13, It is characterized in that The first handwriting drawing module and the second handwriting drawing module are the same type of handwriting drawing modules.

15. The handwriting input display method according to claim 1, It is characterized in that Generating the second layer according to the first touch sub-data includes: Determine second handwriting configuration information according to the first layer; A second layer is generated according to the first touch sub-data and the second handwriting configuration information.

16. The handwriting input display method according to claim 15, It is characterized in that The determining of the second handwriting configuration information according to the first layer comprises: Get the handwriting input position; The second handwriting configuration information is determined according to the handwriting input position and the first layer.

17. The handwriting input display method according to claim 16, It is characterized in that The determining of the second handwriting configuration information according to the handwriting input position and the first layer comprises: Extracting a pixel image within a preset range of the handwriting input position from the first layer according to the handwriting input position; The pixel image is filtered and the filtered pixel image is determined as the second handwriting configuration information.

18. A handwriting input display method, applied to a second electronic device, It is characterized in that The handwriting input display method comprises: Receiving touch data sent by the first electronic device; Determining the received touch data as second touch sub-data; generating a first layer according to the second touch sub-data; The first layer is sent to the first electronic device.

19. The handwriting input display method according to claim 18, It is characterized in that Generating the first layer according to the second touch sub-data includes: Receiving first handwriting configuration information sent by the first electronic device; A first layer is generated according to the first handwriting configuration information and the second touch sub-data.

20. The handwriting input display method according to claim 18, It is characterized in that The sending the first layer to the first electronic device includes: encoding the first layer; The encoded first layer is sent to the first electronic device.

21. A computer device, It is characterized in that It comprises a processor and a memory; the memory is used to store instructions; the processor is used to call the instructions in the memory so that the computer device executes the handwriting input display method as described in any one of claims 1 to 20.

22. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the handwriting input display method according to any one of claims 1 to 20 is implemented.