Information processing method and electronic equipment

By determining the target application on the touch screen at the first moment and obtaining the touch information of the stylus at the second moment, the problems of stylus vibration delay and system burden are solved, and refined vibration control and better user experience are achieved.

CN120491805APending Publication Date: 2025-08-15LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510397593.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In the prior art, when writing on the touch screen, the feedback path of vibration parameters is long, resulting in increased delay and system burden, making it difficult to achieve refined control and affect user experience.

Method used

It is determined at the first moment that the target application meets the preset conditions, control the touch screen to respond to the vibration parameters, and obtain the touch information of the stylus at the second moment. The touch screen sends vibration parameters to the stylus to shorten the feedback path.

Benefits of technology

It reduces the transmission delay of vibration parameters, reduces the system burden, improves user writing experience, and realizes refined vibration control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120491805A_ABST
    Figure CN120491805A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method and electronic equipment, and the information processing method is applied to the electronic equipment, and comprises the steps: determining that a target application meets a preset condition, and controlling a touch screen to respond to a vibration parameter of the target application at a first moment; obtaining touch information of the handwriting pen on the touch screen at the second moment in response; the touch screen sends the vibration parameter of the target application to the handwriting pen, so that the handwriting pen vibrates based on the vibration parameter of the target application, and the second moment is later than the first moment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of touch technology, and in particular to an information processing method and electronic device. Background Art

[0002] When a user writes on a touch screen with a stylus, in order to achieve the vibration effect of the stylus, the touch screen usually feeds back the touch events of the stylus on the touch screen to the application, and then the application responds to the touch events of the stylus and feeds back vibration parameters to the stylus, resulting in a long vibration parameter feedback path and vibration delay. Summary of the Invention

[0003] In view of this, embodiments of the present application provide an information processing method and an electronic device.

[0004] According to a first aspect of the present application, an embodiment of the present application provides an information processing method, applied to an electronic device, comprising:

[0005] Determining that the target application meets the preset conditions, and controlling the touch screen to respond to the vibration parameters of the target application at the first moment;

[0006] In response to acquiring touch information of the stylus on the touch screen at the second moment;

[0007] The touch screen sends the vibration parameters of the target application to the stylus, so that the stylus vibrates based on the vibration parameters of the target application, and the second moment is later than the first moment.

[0008] Optionally, determining that the target application meets a preset condition and controlling the touch screen to respond to a vibration parameter of the target application at the first moment includes:

[0009] It is detected that the target application interface is started or the target application is started, and the vibration parameters of the target application are sent to the touch screen at a third moment, so that the touch screen controls the sending of the vibration parameters to the stylus after the first moment, and the third moment is earlier than the first moment.

[0010] Optionally, determining that the target application meets a preset condition and controlling the touch screen to respond to a vibration parameter of the target application at the first moment includes:

[0011] In response to the target application meeting the preset conditions, a system call service is created at the fourth moment to obtain the vibration parameters of the corresponding target application, and the vibration parameters are sent to the touch screen controller through the inter-process communication interface at the third moment, so that the touch screen responds to the vibration parameters of the target application at the first moment, and the fourth moment is earlier than the third moment, and the third moment is earlier than the first moment.

[0012] Optionally, the target application includes a first application and a second application.

[0013] Determining that the target application meets the preset conditions and controlling the touch screen to respond to the vibration parameters of the target application at the first moment includes:

[0014] detecting that a first application interface is started, controlling the touch screen to respond to a first vibration parameter of the first application at a first moment, so that the touch screen controls sending the first vibration parameter to the stylus after the first moment;

[0015] When it is detected that the second application interface is started, the touch screen is controlled to respond to the second vibration parameter of the second application at a first moment, so that the touch screen controls sending the second vibration parameter to the stylus after the first moment. The first application and the second application are different, and the first vibration parameter and the second vibration parameter are different.

[0016] Optionally, the vibration parameters include touch area information, multiple stylus type information and corresponding vibration intensity information;

[0017] The touch screen sends the target application's vibration parameters to the stylus, including:

[0018] The touch screen determines a target touch area corresponding to the stylus based on the touch information;

[0019] Determine the target stylus type corresponding to the stylus;

[0020] Target vibration intensity information corresponding to the target stylus type and the target touch area is found from the vibration parameters, and the target vibration intensity information is sent to the stylus.

[0021] Optionally, the touch screen sends vibration parameters of the target application to the stylus, including:

[0022] Encoding the vibration parameters of the target application based on the data encoding rules corresponding to the data channel between the touch screen and the stylus to obtain the encoded vibration parameters;

[0023] The encoded vibration parameters are sent to the stylus through the data channel.

[0024] Optionally, the touch screen sends vibration parameters of the target application to the stylus, including:

[0025] If the touch operation is monitored to indicate a first touch state in which the stylus is in contact with the touch screen surface, controlling the touch screen to send vibration parameters of the target application to the stylus;

[0026] If the monitored touch operation indicates that the stylus is in a second touch state at a preset distance from the touch screen surface, the touch screen is controlled not to send the vibration parameter of the target application.

[0027] According to a second aspect of the present application, an embodiment of the present application provides an information processing method, applied to a handwriting pen end, comprising:

[0028] In response to the stylus pen performing a touch operation on a display area of a target application of the electronic device;

[0029] receiving a vibration parameter of a target application sent by a touch screen of an electronic device, where the vibration parameter is a vibration parameter of the target application sent to the touch screen by the electronic device before a touch operation is detected when the electronic device determines that the target application meets a preset condition;

[0030] Based on the vibration parameters, the vibration module is controlled to vibrate.

[0031] Optionally, the information processing method further includes:

[0032] During a touch operation, a data channel is established between the touch screen and the stylus, and the touch position information of the stylus is transmitted to the touch screen through downlink coding of the data channel, so that the touch screen determines the vibration parameters of the target application based on the touch position information;

[0033] Correspondingly, the vibration parameter of the touch position information corresponding to the target application is sent by the touch screen of the electronic device through the uplink coding of the data channel.

[0034] According to a third aspect of the present application, an embodiment of the present application provides an electronic device, including:

[0035] The processor is configured to determine that a target application satisfies a preset condition and control the touch screen to respond to a vibration parameter of the target application at a first moment;

[0036] The touch screen is configured to respond to touch information of the stylus on the touch screen acquired at a second moment;

[0037] The touch screen sends the vibration parameters of the target application to the stylus, so that the stylus vibrates based on the vibration parameters of the target application, and the second moment is later than the first moment.

[0038] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flowchart of an information processing method in an embodiment of the present application;

[0040] Figure 2 This is a flow chart of another information processing method in an embodiment of the present application;

[0041] Figure 3 This is a flow chart of another information processing method in an embodiment of the present application;

[0042] Figure 4 This is a flow chart of another information processing method in an embodiment of the present application;

[0043] Figure 5 This is a schematic diagram of the hardware structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0044] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of this application.

[0045] In the related art, when a user writes on a touchscreen with a stylus, to achieve a vibration effect, the touchscreen typically transmits the stylus's touch event to an application. The application then responds to the stylus's touch event and transmits vibration parameters back to the stylus. This approach presents the following problems: First, the vibration parameter feedback path is long, requiring multiple steps: the touchscreen detects the touch event, transmits the touch event to the application, the application sends the vibration parameters back to the touchscreen based on the touch event, and the touchscreen transmits the vibration parameters to the stylus. This complex feedback path results in a delay in the transmission of the vibration parameters. Second, because the transmission of vibration parameters involves communication and processing between multiple modules, it can increase the system burden, especially with high-frequency touch operations. Furthermore, this approach can also affect the user's writing experience, as the delayed vibration feedback can cause the user to perceive a sense of disharmony between the pen tip and the screen, reducing the naturalness and smoothness of writing. Finally, this method makes it difficult to achieve refined vibration control for different applications or different writing scenarios, because each touch needs to be processed by the application layer, making it difficult to achieve fast and flexible vibration parameter adjustment.

[0046] To this end, the present application provides an information processing method, which is applied to electronic equipment. Figure 1 Shown, including:

[0047] S101 , determining that a target application meets a preset condition, and controlling the touch screen to respond to a vibration parameter of the target application at a first moment.

[0048] In this embodiment, a touch screen refers to a display screen capable of detecting touch operations performed by a stylus. A stylus refers to an electronic device capable of performing touch operations on the touch screen. Vibration parameters refer to parameter information used to control the vibration of the stylus. The implementation environment of the information processing method includes an electronic device and a stylus, wherein the electronic device includes a touch screen.

[0049] In this embodiment, the target application can be an application that includes a handwriting area, i.e., a touch area, in the application interface, such as a note application, a drawing board application, etc. The target application meeting the preset conditions can be launched as the target application or the target application interface, such as the startup initialization of the boot application.

[0050] In this embodiment, the electronic device can determine, through a processor, that a target application satisfies a preset condition and, at a first moment, control the touch screen to respond to the vibration parameters of the target application. In other words, at the first moment, the touch screen can respond to an operator requiring the vibration parameters of the target application, such as an active stylus.

[0051] S102 , in response to acquiring touch information of the stylus on the touch screen at the second moment.

[0052] In this embodiment, the touch screen can obtain touch information by detecting the touch operation of the stylus. The touch information may include the target touch area corresponding to the contact of the stylus on the touch screen surface.

[0053] S103: The touch screen sends vibration parameters of the target application to the stylus, so that the stylus vibrates based on the vibration parameters of the target application, and the second time is later than the first time.

[0054] In this embodiment, the touch screen obtains touch information of the stylus on the touch screen at the second moment, and then can send vibration parameters of the target application to the stylus based on the touch information, so that the stylus vibrates based on the vibration parameters of the target application.

[0055] The information processing method provided in an embodiment of the present application is applied to an electronic device, including: determining that a target application meets preset conditions, controlling a touch screen to respond to vibration parameters of the target application at a first moment; responding to touch information of a stylus on the touch screen at a second moment; the touch screen sending the vibration parameters of the target application to the stylus so that the stylus vibrates based on the vibration parameters of the target application, the second moment being later than the first moment; in this way, by sending the vibration parameters of the target application to the touch screen in advance before the stylus touches, and the touch screen sending the vibration parameters to the stylus when the stylus performs a touch operation, the feedback path of the vibration parameters is significantly shortened, and the links and delays in the transmission of the vibration parameters are reduced, which has the advantages of reducing the delay in the transmission of the vibration parameters, reducing the system burden, improving the user writing experience, and realizing refined vibration control.

[0056] In an optional embodiment, step S101, determining that the target application meets a preset condition, and controlling the touch screen to respond to the vibration parameters of the target application at a first moment, includes:

[0057] It is detected that the target application interface is started or the target application is started, and the vibration parameters of the target application are sent to the touch screen at a third moment, so that the touch screen controls the sending of the vibration parameters to the stylus after the first moment, and the third moment is earlier than the first moment.

[0058] In this embodiment, the target application meeting the preset condition includes the target application interface starting or the target application starting, such as the startup application initialization.

[0059] In this embodiment, the third moment may be set as the moment when the target application is started or the interface is started.

[0060] In some embodiments, as Figure 2 As shown, upon detecting the launch of a target application interface or a target application, step S201 can control the target application to call a system interface at a third moment to transmit the target application's vibration parameters to the touch screen. This allows the touch screen to respond to an operator requiring the target application's vibration parameters at the first moment, such as an active stylus. The touch screen then controls the transmission of the vibration parameters to the stylus after the first moment. The target application can include multiple applications, such as a first application 21, a second application 22, and a third application 23. The touch screen then responds by acquiring touch information, such as the touchdown coordinates, from the stylus at the second moment. The stylus 24 can encode the touch position information, including the touchdown coordinates, to the touch screen via downlink coding, or the touch screen can automatically identify the touchdown coordinates. Then, in step S202, the touch screen searches for the corresponding vibration parameters based on the touchdown coordinates and encodes the vibration parameters to the stylus 24 via uplink coding. In step S203, the stylus drives the vibration module to vibrate.

[0061] In this embodiment, by sending the vibration parameters of the target application to the touch screen at the third moment when it is detected that the target application interface is started or the target application is started, the touch screen controls the sending of the vibration parameters to the stylus after the first moment; in this way, it can be ensured that the vibration parameters can be transmitted to the touch screen as early as possible, and the stylus can receive and respond to the vibration parameters in time, thereby reducing the delay of vibration feedback and improving the user experience.

[0062] In an optional embodiment, step S101, determining that the target application meets a preset condition, and controlling the touch screen to respond to the vibration parameters of the target application at a first moment, includes:

[0063] In response to the target application meeting the preset conditions, a system call service is created at the fourth moment to obtain the vibration parameters of the corresponding target application, and the vibration parameters are sent to the touch screen controller through the inter-process communication interface at the third moment, so that the touch screen responds to the vibration parameters of the target application at the first moment, and the fourth moment is earlier than the third moment, and the third moment is earlier than the first moment.

[0064] When implementing it specifically, Figure 3 As shown, in step S301, when the application interface is started, step S302 can be executed to determine whether the application interface includes a handwriting area. If it does, step S303 is executed to determine that the application is a target application and that the target application meets the preset conditions. At the fourth moment, step S304 is executed to call the vibration development software toolkit (SDK). Then step S305 is executed to create a system call service to obtain the vibration parameters of the target application. Then, at the third moment, step S306 is executed to send the vibration parameters to the touch screen controller 31 through the interprocess communication interface (IPC). After receiving the vibration parameters, the touch screen controller 31 can pass the vibration parameters to the touch screen hardware through the driver, thereby controlling the touch screen to respond to the vibration parameters at the first moment. In other words, at the first moment, the touch screen can respond to the operating body that requires the vibration parameters of the target application, and the operating body is, for example, an active stylus. Step S307, at the second moment, the stylus performs a touch operation, that is, the stylus contacts the touch screen. The touch screen detects the touch operation of the stylus, obtains the touch information, and then executes step S308 to determine whether the stylus hits the handwriting area. If it hits, step S309 is executed to upload the coding vibration parameters and feed them back to the stylus 32.

[0065] In this embodiment, when the target application meets the preset conditions, a system call service is created at the fourth moment to obtain the vibration parameters of the corresponding target application; the vibration parameters are sent to the touch screen controller through the inter-process communication interface at the third moment, so that the touch screen responds to the vibration parameters of the target application at the first moment; the fourth moment is earlier than the third moment, and the third moment is earlier than the first moment; in this way, it can be ensured that when the target application meets the preset conditions, the system call service can be created in time and the vibration parameters can be obtained, and then the vibration parameters are sent to the touch screen controller through the inter-process communication interface, so that the touch screen can respond to the vibration parameters of the target application in time at the first moment.

[0066] In an optional embodiment, the target application includes a first application and a second application.

[0067] Step S101, determining that a target application meets a preset condition, and controlling the touch screen to respond to a vibration parameter of the target application at a first moment, includes:

[0068] When it is detected that a first application interface is started, the touch screen is controlled to respond to a first vibration parameter of the first application at a first moment, so that the touch screen controls sending the first vibration parameter to the stylus after the first moment; when it is detected that a second application interface is started, the touch screen is controlled to respond to a second vibration parameter of the second application at a first moment, so that the touch screen controls sending the second vibration parameter to the stylus after the first moment. The first application and the second application are different, and the first vibration parameter is different from the second vibration parameter.

[0069] In this embodiment, the first application and the second application can be launched simultaneously, and the first application interface and the second application interface can be displayed on the touch screen simultaneously. When it is detected that the first application and the second application are launched, the touch screen can be controlled to respond to the first vibration parameter of the first application at the first moment, and the touch screen can be controlled to respond to the second vibration parameter of the second application at the second moment.

[0070] In this embodiment, after detecting that the first application interface is started, the touch screen responds to the first vibration parameter of the first application at the first moment, and controls the sending of the first vibration parameter to the stylus after the first moment; similarly, after detecting that the second application interface is started, the touch screen responds to the second vibration parameter of the second application at the first moment, and controls the sending of the second vibration parameter to the stylus after the first moment; the first application and the second application are different, and the first vibration parameter and the second vibration parameter are different; this ensures that different applications are used at the same time, and the stylus has appropriate vibration feedback.

[0071] In an optional embodiment, the vibration parameters include touch area information, multiple stylus type information and corresponding vibration intensity information.

[0072] Step S103: the touch screen sends the vibration parameters of the target application to the stylus, including:

[0073] The touch screen determines a target touch area corresponding to the stylus based on the touch information; determines a target stylus type corresponding to the stylus; finds target vibration intensity information corresponding to the target stylus type and target touch area from the vibration parameters, and sends the target vibration intensity information to the stylus.

[0074] In this embodiment, the touch screen can detect the touch operation between the stylus and the touch screen, identify the touch position information of the stylus on the touch screen, and determine the target touch area corresponding to the stylus. Alternatively, the touch screen can detect the touch operation between the stylus and the touch screen, receive the touch position information sent by the stylus through downlink coding, and determine the target touch area corresponding to the stylus.

[0075] In this embodiment, the stylus communicates with the touch screen, for example, by downlink coding, and sending the target handwriting type corresponding to the stylus to the touch screen.

[0076] In this embodiment, since the touch area, stylus type and vibration intensity in the vibration parameters correspond to each other, the target touch area and target stylus type corresponding to the stylus are determined. Then, the target vibration intensity information corresponding to the target stylus type and target touch area can be found from the vibration parameters, and the target vibration intensity information can be sent to the stylus.

[0077] In this embodiment, the target touch area corresponding to the stylus is determined based on the touch information through the touch screen; the target stylus type corresponding to the stylus is determined; the target vibration intensity information corresponding to the target stylus type and the target touch area is found from the vibration parameters, and the target vibration intensity information is sent to the stylus; in this way, the target vibration intensity information corresponding to the stylus can be determined on the electronic device end, and the stylus can directly vibrate based on the target vibration intensity information without matching the stylus type, which can save computing resources of the stylus.

[0078] In an optional embodiment, step S103, the touch screen sends the vibration parameters of the target application to the stylus, including:

[0079] Based on the data encoding rules corresponding to the data channel between the touch screen and the stylus, the vibration parameters of the target application are encoded to obtain the encoded vibration parameters; the encoded vibration parameters are sent to the stylus through the data channel.

[0080] In this embodiment, the data channel between the touch screen and the stylus can be a coding data channel. The coding rules can be optimized according to different application scenarios. For example, compression coding technology can be used to reduce the amount of data, or the bandwidth of the data channel can be increased to increase the transmission speed.

[0081] In this embodiment, based on the data encoding rules corresponding to the data channel between the touch screen and the stylus, the vibration parameters of the target application are encoded to obtain the encoded vibration parameters; the encoded vibration parameters are sent to the stylus through the data channel; this can effectively reduce the delay in the transmission of the vibration parameters, thereby improving the real-time performance of the stylus vibration.

[0082] In an optional embodiment, step S103, the touch screen sends the vibration parameters of the target application to the stylus, including:

[0083] If the monitored touch operation indicates a first touch state in which the stylus is in contact with the touch screen surface, the touch screen is controlled to send vibration parameters of the target application to the stylus; if the monitored touch operation indicates that the stylus is in a second touch state at a preset distance from the touch screen surface, the touch screen is controlled not to send the vibration parameters of the target application.

[0084] In this embodiment, when the stylus is in contact with the touch screen surface, the touch screen will monitor the first touch state and control the sending of vibration parameters of the target application to the stylus; when the stylus is at a preset distance from the touch screen surface, that is, when the stylus is hovering on the touch screen, the touch screen will monitor the second touch state and control not to send vibration parameters. Among them, the first touch state can be detected by the pressure sensor of the stylus or the capacitive sensing of the touch screen. Specifically, when the pressure sensor of the stylus detects a certain pressure value, or the capacitance of the touch screen senses the contact of the stylus, it can be determined as the first touch state. The second touch state can be detected by the distance sensor of the stylus. When the stylus is more than the preset distance away from the touch screen surface, it can be determined as the second touch state.

[0085] In this embodiment, by sending vibration parameters when the stylus pen contacts the touch screen surface and not sending vibration parameters when the stylus pen is at a preset distance from the touch screen surface, unnecessary vibration feedback is effectively reduced and the user experience is improved.

[0086] The present application also provides an information processing method, which is applied to a handwriting pen end, such as Figure 4 As shown, the information processing method includes:

[0087] S401 , responding to a stylus pen performing a touch operation on a display area of a target application of an electronic device.

[0088] In this embodiment, the display area of the target application is the handwriting area of the target application. The stylus can perform touch operations in the display area of the target application of the electronic device.

[0089] S402, receiving vibration parameters of a target application sent by a touch screen of an electronic device, wherein the vibration parameters are vibration parameters of the target application sent to the touch screen by the electronic device before a touch operation is detected when the electronic device determines that the target application meets preset conditions.

[0090] In this embodiment, when the electronic device determines that the target application meets preset conditions and the stylus performs a touch operation on the display area of the target application of the electronic device, the touch screen of the electronic device will send the vibration parameters of the target application to the stylus. The vibration parameters are the vibration parameters of the target application sent by the electronic device to the touch screen before the touch screen detects the touch operation. The stylus can thus receive the vibration parameters of the target application sent by the touch screen of the electronic device. The content of the vibration parameters may include information such as vibration intensity and vibration frequency.

[0091] S403: Control the vibration module to vibrate based on the vibration parameters.

[0092] In a specific implementation, a vibration module may be provided in the stylus pen. When the stylus pen obtains vibration parameters, the vibration module may be driven to vibrate according to the vibration parameters.

[0093] The information processing method provided in the embodiment of the present application is applied to a stylus end, and responds to the stylus performing a touch operation in the display area of a target application of an electronic device; receives vibration parameters of the target application sent by the touch screen of the electronic device, and the vibration parameters are vibration parameters of the target application sent to the touch screen before the touch operation is detected when the electronic device determines that the target application meets preset conditions; based on the vibration parameters, controls the vibration of the vibration module; in this way, by receiving the predetermined vibration parameters sent by the touch screen when the stylus performs a touch operation, the vibration feedback path can be reduced, the stylus can respond to the vibration immediately, the vibration delay can be significantly reduced, and the user's instant feedback experience when using the stylus can be improved.

[0094] In an optional embodiment, the information processing method further includes:

[0095] During the touch operation, a data channel is established between the touch screen and the stylus, and the touch position information of the stylus is transmitted to the touch screen through downlink coding of the data channel, so that the touch screen determines the vibration parameters of the target application based on the touch position information.

[0096] Correspondingly, the vibration parameter of the touch position information corresponding to the target application is sent by the touch screen of the electronic device through the uplink coding of the data channel.

[0097] In this embodiment, downlink coding refers to the process of transmitting data from the stylus to the touch screen, while uplink coding refers to the process of transmitting data from the touch screen to the stylus. Specifically, the data channel can be implemented through a wireless communication protocol to ensure real-time and reliable data transmission. Furthermore, the establishment of the data channel can be automatically triggered when the stylus is close to the touch screen, simplifying user operation.

[0098] In this embodiment, a data channel is established during a touch operation, allowing the stylus to transmit touch location information to the touchscreen. Based on this location information, the touchscreen determines the vibration parameters for the target application and sends these parameters to the stylus via the data channel. Upon receiving these vibration parameters, the stylus controls its vibration module to vibrate. This ensures real-time and reliable data transmission and significantly reduces vibration latency.

[0099] An embodiment of the present application further provides an electronic device, including:

[0100] The processor is configured to determine that a target application satisfies a preset condition and control the touch screen to respond to a vibration parameter of the target application at a first moment;

[0101] The touch screen is used to respond to the touch information of the stylus on the touch screen obtained at the second moment; the touch screen sends the vibration parameters of the target application to the stylus so that the stylus vibrates based on the vibration parameters of the target application, and the second moment is later than the first moment.

[0102] Figure 5 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.

[0103] like Figure 5 As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0104] Multiple components in electronic device 800 are connected to I / O interface 805, including: an input unit 806, such as a keyboard, mouse, etc.; an output unit 807, such as various types of touch screens, speakers, etc.; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows electronic device 800 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0105] The computing unit 801 can be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the information processing method. For example, in some embodiments, the information processing method can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the information processing method described above can be performed. Alternatively, in other embodiments, the computing unit 801 can be configured to perform the information processing method by any other appropriate means (e.g., by means of firmware).

[0106] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0107] The program code for implementing the methods of the present application can be written in any combination of one or more programming languages. Such program code can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the program code is executed by the processor or controller, the functions / operations specified in the flow charts and / or block diagrams are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0108] In the context of the present application, a machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0109] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0110] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0111] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.

[0112] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved. This is not a limitation herein.

[0113] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Throughout the description of this application, "plurality" means two or more, unless otherwise specifically defined.

[0114] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. An information processing method, applied to an electronic device, comprising: Determining that a target application meets a preset condition, and controlling the touch screen to respond to a vibration parameter of the target application at a first moment; In response to acquiring touch information of the stylus on the touch screen at the second moment; The touch screen sends the vibration parameters of the target application to the stylus, so that the stylus vibrates based on the vibration parameters of the target application, and the second time is later than the first time.

2. The information processing method according to claim 1, wherein determining that a target application satisfies a preset condition and controlling the touch screen to respond to a vibration parameter of the target application at a first moment comprises: When it is detected that the target application interface is started or the target application is started, the vibration parameters of the target application are sent to the touch screen at a third moment, so that the touch screen controls the sending of the vibration parameters to the stylus after the first moment, and the third moment is earlier than the first moment.

3. The information processing method according to claim 1, wherein determining that a target application satisfies a preset condition and controlling the touch screen to respond to a vibration parameter of the target application at a first moment comprises: In response to the target application satisfying the preset conditions, a system call service is created at a fourth moment to obtain vibration parameters corresponding to the target application, and at a third moment, the vibration parameters are sent to the touch screen controller through the inter-process communication interface, so that the touch screen responds to the vibration parameters of the target application at the first moment, and the fourth moment is earlier than the third moment, and the third moment is earlier than the first moment.

4. The information processing method according to claim 1, wherein the target application includes a first application and a second application. Determining that a target application meets a preset condition, and controlling the touch screen to respond to a vibration parameter of the target application at a first moment, includes: detecting that a first application interface is started, controlling the touch screen to respond to a first vibration parameter of the first application at a first moment, so that the touch screen controls sending the first vibration parameter to the stylus after the first moment; Upon detecting that a second application interface is started, the touch screen is controlled to respond to a second vibration parameter of the second application at a first moment, so that the touch screen controls sending the second vibration parameter to the stylus after the first moment, the first application and the second application are different, and the first vibration parameter and the second vibration parameter are different.

5. The information processing method according to claim 1, wherein the vibration parameters include touch area information, multiple stylus type information and corresponding vibration intensity information; The touch screen sends the vibration parameter of the target application to the stylus, including: The touch screen determines a target touch area corresponding to the stylus based on the touch information; Determining a target stylus type corresponding to the stylus; Target vibration intensity information corresponding to the target stylus type and the target touch area is found from the vibration parameters, and the target vibration intensity information is sent to the stylus.

6. The information processing method according to claim 1, wherein the touch screen sends the vibration parameter of the target application to the stylus, comprising: encoding the vibration parameters of the target application based on a data encoding rule corresponding to a data channel between the touch screen and the stylus to obtain encoded vibration parameters; The encoded vibration parameters are sent to the stylus through the data channel.

7. The information processing method according to claim 1, wherein the touch screen sends the vibration parameter of the target application to the stylus, comprising: If a touch operation is monitored to indicate a first touch state in which the stylus is in contact with the touch screen surface, controlling the touch screen to send a vibration parameter of the target application to the stylus; If the monitored touch operation indicates that the stylus is in a second touch state at a preset distance from the touch screen surface, the touch screen is controlled not to send the vibration parameter of the target application.

8. An information processing method, applied to a handwriting pen tip, comprising: In response to the stylus pen performing a touch operation on a display area of a target application of the electronic device; receiving a vibration parameter of the target application sent by the touch screen of the electronic device, where the vibration parameter is a vibration parameter of the target application sent to the touch screen before the touch operation is detected when the electronic device determines that the target application meets a preset condition; Based on the vibration parameters, the vibration module is controlled to vibrate.

9. The information processing method according to claim 8, further comprising: During the touch operation, a data channel is established between the touch screen and the stylus, and touch position information of the stylus is transmitted to the touch screen via downlink coding of the data channel, so that the touch screen determines the vibration parameters of the target application based on the touch position information; Correspondingly, the vibration parameter of the target application corresponding to the touch position information is sent by the touch screen of the electronic device through the uplink coding of the data channel.

10. An electronic device comprising: The processor is configured to determine that a target application satisfies a preset condition, and control the touch screen to respond to a vibration parameter of the target application at a first moment; The touch screen is configured to respond to touch information of the stylus on the touch screen acquired at a second moment; The touch screen sends the vibration parameters of the target application to the stylus, so that the stylus vibrates based on the vibration parameters of the target application, and the second time is later than the first time.