Information processing method and electronic device

By sensing the device information of the active input pen and automatically establishing a data channel using different communication methods, the problem of complex Bluetooth connection between the active input pen and electronic devices is solved, achieving fast and seamless connection and improving the user experience.

CN114489356BActive Publication Date: 2025-12-19LENOVO (BEIJING) LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111670620.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2025-12-19
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

The current active input pen is complicated to operate when connected to electronic devices via Bluetooth, resulting in a poor user experience.

Method used

By sensing that the active input pen is located within the display area of ​​the screen, the device information is obtained, and a data channel is established based on different communication methods to achieve automatic and fast Bluetooth connection, avoiding the need for users to press buttons to confirm multiple items.

Benefits of technology

Quickly establish a Bluetooth connection between the active input pen and electronic device without the user's awareness, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114489356B_ABST
    Figure CN114489356B_ABST
Patent Text Reader

Abstract

The application discloses an information processing method and an electronic device, and the method comprises the following steps: when it is perceived that an active input pen is located in a display area of a display screen, obtaining device information of the active input pen; sending a connection request based on the device information of the active input pen; obtaining feedback information for the connection request; and establishing a data channel with the active input pen based on the feedback information; wherein, before the data channel with the active input pen is established based on the feedback information, interaction is performed through a first communication mode, and the data channel with the active input pen is established based on the feedback information through a second communication mode; the first communication mode is used to determine that the active input pen exists and is in an input state, and the first communication mode is different from the second communication mode. Through implementation of the application, the Bluetooth connection between the active input pen and the electronic device can be automatically and quickly established during input of the active input pen close to the display screen or on the display screen, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic communication, and in particular to an information processing method and an electronic device. BACKGROUND

[0002] With the development of touch technology and mobile terminal technology, more and more users interact with electronic devices through active stylus. In order to make the function of active stylus more comprehensive, currently, some active stylus will have Bluetooth function. When connecting the active stylus and the electronic device through Bluetooth, it is usually necessary to confirm multiple matters through the button expansion event of the active stylus, so as to connect the active stylus and the mobile terminal through Bluetooth. The user operation is complex, and the user experience is low. SUMMARY

[0003] Therefore, the embodiments of the present application provide an information processing method and an electronic device to solve the problem that the user operation is complex when connecting the active stylus and the electronic device through Bluetooth in the prior art, and the user experience is low.

[0004] In order to solve the above problem, in a first aspect, the embodiments of the present application provide an information processing method, comprising: sensing that an active stylus is located in a display area of a display screen, obtaining device information of the active stylus; sending a connection request based on the device information of the active stylus; obtaining feedback information for the connection request; establishing a data channel with the active stylus based on the feedback information; wherein the interaction is performed through a first communication mode before the data channel with the active stylus is established based on the feedback information, and the interaction is performed through a second communication mode after the data channel with the active stylus is established based on the feedback information; the first communication mode is used to determine that the active stylus exists and is in an input state, and the first communication mode is different from the second communication mode.

[0005] Optionally, the information processing method further comprises: obtaining notification information representing that the active stylus exists and is in the input state by demodulating the electrical signal obtained through the first communication mode; obtaining an input position of the active stylus through a sensing unit of the display screen based on the notification information; and displaying a trajectory of the active stylus based on the input position.

[0006] Optionally, the sending of the connection request based on the device information of the active stylus comprises: sending the connection request based on the device information of the active stylus based on a time interval between the notification information.

[0007] Optionally, the information processing method further comprises: determining a target frequency of the first communication mode based on the device information; and performing scanning based on the target frequency to obtain an electrical signal emitted by the active stylus based on the target frequency.

[0008] Optionally, the sending the connection request based on the device information of the active stylus comprises: determining whether the active stylus supports the second communication mode based on the device information of the active stylus; if the active stylus supports the second communication mode, sending the connection request; or / and, determining whether the active stylus is a new device based on the device information of the active stylus; if the active stylus is a new device, sending the connection request.

[0009] Optionally, the sending the connection request based on the position of the active stylus in the display area of the display screen comprises: emitting the first electric signal of the target frequency based on the position of the active stylus in the display area of the display screen to send the connection request; and obtaining the second electric signal of the target frequency based on the position of the active stylus in the display area of the display screen to obtain the feedback information.

[0010] Optionally, the obtaining the device information of the active stylus when the active stylus is sensed to be located in the display area of the display screen comprises: broadcasting the electric signal of the standard frequency; obtaining the electric signal of the active stylus; and demodulating the electric signal to obtain the device information of the active stylus.

[0011] In a second aspect, an embodiment of the present application provides an electronic device, comprising: a display screen; a processor, the processor being configured to: sense that an active stylus is located in a display area of the display screen, and obtain device information of the active stylus; send a connection request based on the device information of the active stylus; obtain feedback information for the connection request; and establish a data channel with the active stylus based on the feedback information; wherein the interaction is performed through a first communication mode before the data channel with the active stylus is established based on the feedback information, and the interaction is performed through a second communication mode after the data channel with the active stylus is established based on the feedback information; the first communication mode is used to determine that the active stylus exists and is in an input state, and the first communication mode is different from the second communication mode.

[0012] Optionally, the processor is further configured to: obtain notification information indicating that the active stylus exists and is in the input state by demodulating the electric signal obtained through the first communication mode; obtain an input position of the active stylus through a sensing unit of the display screen based on the notification information; and display a trajectory of the active stylus based on the input position.

[0013] Optionally, the sending the connection request based on the device information of the active stylus comprises: sending the connection request based on the device information of the active stylus based on a time interval between the notification information.

[0014] The information processing method and the electronic device provided by the embodiments of the present application can obtain the device information of the active stylus by sensing that the active stylus is located in the display area of the display screen, send a connection request based on the device information of the active stylus, obtain feedback information for the connection request, and establish a data channel with the active stylus based on the feedback information. Before the data channel with the active stylus is established based on the feedback information, the interaction is performed through a first communication mode, and the data channel with the active stylus is established based on the feedback information through a second communication mode. The first communication mode is used to determine that the active stylus exists and is in an input state, and the first communication mode is different from the second communication mode. Therefore, the Bluetooth connection between the active stylus and the electronic device can be automatically and quickly established during the process in which the active stylus is close to the display screen or in the display area of the display screen, and the user no longer needs to press the button of the active stylus to expand the event, and needs to confirm multiple matters continuously. The Bluetooth connection between the active stylus and the electronic device can be quickly established without the user's awareness, and the user experience can be improved.

[0015] The above description is only a summary of the technical solutions of the present application. In order to enable one skilled in the art to better understand the technical means of the present application, the content of the specification can be implemented, and in order to enable the above and other purposes, characteristics and advantages of the present application to be more obvious and easy to understand, the following specific embodiments of the present application are described. BRIEF DESCRIPTION OF DRAWINGS

[0016] Figure 1 The flowchart of an information processing method in the embodiments of the present application is shown.

[0017] Figure 2 The hardware structure diagram of an electronic device in the embodiments of the present application is shown. DETAILED DESCRIPTION

[0018] In order to make the purposes, 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 described in detail below with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0019] The embodiments of the present application provide an information processing method, which is applied to an electronic device, and specifically can be applied to an electronic device as shown in Figure 1 The information processing method comprises the following steps:

[0020] S101. Sensing that the active stylus is located in the display area of the display screen, obtaining the device information of the active stylus.

[0021] In the embodiment of the present application, when the active stylus is at a distance of 0-3 cm from the display screen of the electronic device, the active stylus can sense the electric signal radiated by the display screen, so that the electronic device can receive the electric signal radiated by the display screen, analyze the electric signal according to a protocol supported by the active stylus, such as MPP or USI protocol, to obtain the first device information of the electronic device, then encode the device information of the active stylus and feed back to the electronic device through the electric signal of the active stylus, the electronic device can sense the electric signal fed back by the active stylus, and then the electronic device can obtain the device information of the active stylus by analyzing the electric signal based on the protocol supported by the active stylus. Then, the first communication connection with the active stylus is established according to the device information of the active stylus. In the process of establishing the first communication connection between the active stylus and the electronic device, the first communication mode is used for interaction, so the first communication mode is used to determine that the active stylus exists and is in an input state.

[0022] Therefore, in the process of establishing the first communication connection between the active stylus and the electronic device, the electronic device can receive the electric signal of the active stylus only when the active stylus is at a distance of 0-3 cm from the display screen, so it can be considered that the electronic device senses that the active stylus is located in the display area of the display screen when it receives the electric signal of the active stylus, and obtains the device information of the active stylus. The device information of the active stylus includes a device identifier, such as a device ID.

[0023] S102. Send a connection request based on the device information of the active stylus.

[0024] In the embodiment of the present application, after obtaining the device information of the active stylus, in order to establish a second communication connection with the active stylus, such as a Bluetooth connection, the first communication mode can be used to interact with the active stylus and send a connection request of the second communication mode to the active stylus.

[0025] S103. Obtain feedback information for the connection request.

[0026] In the embodiment of the present application, when the active stylus obtains the connection request through the first communication mode, it responds to the connection request and sends feedback information to the electronic device through the first communication mode, and the electronic device obtains the feedback information of the active stylus through the first communication mode.

[0027] S104. Establish a data channel with the active stylus based on the feedback information; wherein the data channel with the active stylus is established based on the feedback information before the interaction through the first communication mode, and the data channel with the active stylus is established based on the feedback information through the second communication mode; the first communication mode is used to determine that the active stylus exists and is in an input state, and the first communication mode is different from the second communication mode.

[0028] In the embodiments of the present application, the electronic device can establish a data channel with the active stylus based on the feedback information. The data channel with the active stylus is established to realize more functions of the active stylus in addition to the input operation, such as the function of an air mouse and the function of gesture control operation. For example, a gravity sensor and a gyroscope can be arranged in the active stylus. The active stylus can recognize that the user draws a circle in the air by holding the active stylus, and if the circle corresponds to the meaning of deleting a line, the active stylus can send the instruction of deleting a line to the electronic device through the data channel to realize the operation of deleting a line on the electronic device.

[0029] The information processing method provided in the embodiments of the present application can obtain the device information of the active stylus by sensing that the active stylus is located in the display area of the display screen, send a connection request based on the device information of the active stylus, obtain feedback information for the connection request, and establish a data channel with the active stylus based on the feedback information. Before the data channel with the active stylus is established based on the feedback information, the first communication mode is used for interaction, and the second communication mode is used for interaction after the data channel with the active stylus is established based on the feedback information. The first communication mode is used to determine that the active stylus exists and is in an input state, and the first communication mode is different from the second communication mode. Therefore, the Bluetooth connection between the active stylus and the electronic device can be automatically and quickly established during the input process of the active stylus close to the display screen or in the display area of the display screen, and the user no longer needs to press the button of the active stylus to expand the event, and continuously confirm multiple items. The Bluetooth connection between the active stylus and the electronic device is quickly established without the user's awareness, and the user experience can be improved.

[0030] In an optional embodiment, in step S101, it is sensed that the active stylus is located in the display area of the display screen, and the device information of the active stylus is obtained, including: broadcasting an electrical signal based on a standard frequency; obtaining the electrical signal of the active stylus, demodulating the electrical signal, and obtaining the device information of the active stylus.

[0031] Specifically, the electronic device transmits an electrical signal at a target frequency, but if the electronic device and the active stylus have not established a first communication connection, the electronic device cannot determine the target frequency of the first communication mode. Therefore, the electronic device can broadcast an electrical signal at a standard frequency before the handshake of the first communication mode is successful. The standard frequency is different from the target frequency, and the range of the standard frequency includes the range of the target frequency. If the active stylus receives the electrical signal broadcasted by the electronic device and analyzes it, and then encodes the device information and transmits the electrical signal to the electronic device, the electronic device can obtain the electrical signal of the active stylus, and by analyzing the electrical signal, the device information of the active stylus can be obtained.

[0032] In the embodiment of the present application, the broadcasting is based on the standard frequency electrical signal, so that when the active stylus is located in the display area of the display screen, the electrical signal of the active stylus can be obtained, and the device information of the active stylus can be quickly obtained.

[0033] In an optional embodiment, if it is required to quickly establish the data channel with the active stylus, when the connection request is sent based on the device information of the active stylus in step S102, the connection request can be directly sent to the active stylus based on the standard frequency through the first communication mode in the process of establishing the first communication connection.

[0034] In an optional embodiment, the information processing method further comprises: determining a target frequency of the first communication mode based on the device information; and scanning based on the target frequency to obtain the electrical signal emitted by the active stylus based on the target frequency.

[0035] Specifically, since the active stylus emits the electrical signal based on the target frequency, when the electronic device scans based on the standard frequency, the electrical signal emitted by the active stylus based on the target frequency cannot be obtained in real time, and the electrical signal of other active stylus or user's finger can be received, thereby causing interference to the electrical signal of the active stylus. For example, when a user uses an active stylus to input information on a display screen, if another user uses another active stylus to input information on the display screen at the same time, if the electronic device scans based on the standard frequency, the electrical signals of the two active styluses can be received at the same time. Therefore, in order to resist interference, after the handshake of the first communication mode, the target frequency of the first communication mode can be determined based on the device information, and then scanning can be performed based on the target frequency to reduce the interfering electrical signal. Specifically, the target frequency corresponding to the device information can be queried from a preset frequency table. Then, scanning based on the target frequency can ensure that the electrical signal emitted by the active stylus can be obtained in real time.

[0036] In the embodiment, scanning based on the target frequency can make the frequency scanned by the electronic device consistent with the frequency at which the active stylus transmits the electrical signal, so that the electrical signal transmitted by the active stylus can be received in real time, and at the same time, the interfering electrical signal can be reduced, and accurate matching with the active stylus can be achieved.

[0037] In an optional embodiment, if the electrical signal interference of the active stylus is reduced, when the connection request is sent based on the device information of the active stylus in step S102, the target frequency of the first communication mode can be determined based on the device information after the first communication connection is established, and then the connection request can be sent to the active stylus based on the target frequency through the first communication mode.

[0038] In an optional embodiment, the information processing method further comprises: obtaining the notification information representing the existence of the active stylus and the input state of the active stylus by demodulating the electrical signal obtained by the first communication mode; obtaining the input position of the active stylus by the sensing unit of the display screen based on the notification information; and displaying the trajectory of the active stylus based on the input position.

[0039] Specifically, when the active stylus is close to or writes on the display screen of the electronic device, the electronic device and the active stylus can interact based on the first communication mode. The active stylus can encode the notification information representing the existence of the active stylus and the input state of the active stylus, and send the notification information to the electronic device through the electrical signal. After the electronic device receives the electrical signal, the electronic device can obtain the notification information representing the existence of the active stylus and the input state of the active stylus by analyzing the electrical signal. The notification information can be ×× (device information) in. When the active stylus exists and is in the input state, the electronic device needs to obtain the input position of the active stylus in real time. Since the active stylus itself does not have a sensing unit that can be used to sense the input position on the display screen, after the electronic device obtains the notification information representing the existence of the active stylus and the input state of the active stylus, the electronic device needs to call the sensing unit of the display screen to obtain the input position of the active stylus, and then display the trajectory of the active stylus based on the input position.

[0040] In the embodiments of the present application, after obtaining the notification information representing the existence of the active stylus and the input state of the active stylus, the input position of the active stylus is obtained based on the notification information through the sensing unit of the display screen, and the trajectory of the active stylus is displayed based on the input position. Therefore, the trajectory of the active stylus can be displayed on the display screen in real time, and the purpose of inputting information on the display screen of the electronic device by the active stylus is achieved.

[0041] In an optional embodiment, the step S102 of sending the connection request based on the device information of the active stylus comprises: sending the connection request based on the device information of the active stylus based on the time interval between the notification information.

[0042] Specifically, in an implementation, the active stylus sends the notification information to the electronic device at a certain time interval during continuous input, and the electronic device also obtains the notification information at the time interval. Therefore, the connection request can be sent based on the device information of the active stylus based on the time interval between the notification information during continuous input of the active stylus.

[0043] In another implementation, the active stylus can identify its displacement and send a notification message to the electronic device. For example, when the active stylus is placed on the display screen and there is no relative displacement, the active stylus does not send a notification message to the electronic device. Thus, the active stylus does not send a notification message to the electronic device during the pause time between the current input and the next input, i.e., during the time interval. During the time interval when the user is waiting for input, the electronic device also does not receive a notification message. Therefore, the electronic device can send a connection request based on the device information of the active stylus during the time interval when it is waiting for a notification message.

[0044] In the embodiments of the present application, the electronic device sends a connection request based on the device information of the active stylus based on the time interval between notification messages. This can automatically and quickly establish a Bluetooth connection between the active stylus and the electronic device during the input of the active stylus on the display screen. Thus, the user does not need to pay attention to whether the data channel is connected during the use of the active stylus. This realizes the connection of the data channel between the active stylus and the electronic device without the user's awareness, and improves the user experience.

[0045] In an optional embodiment, the step S102 of sending a connection request based on the device information of the active stylus includes: determining whether the active stylus supports the second communication mode based on the device information of the active stylus; if the active stylus supports the second communication mode, sending a connection request; or / and, determining whether the active stylus is a new device based on the device information of the active stylus; if the active stylus is a new device, sending a connection request.

[0046] Specifically, after obtaining the device information of the active stylus, the support of the second communication mode corresponding to the device information can be queried from the preset information table. If the second communication mode corresponding to the device information is supported, the active stylus supports the second communication mode, and a connection request can be sent to the active stylus through the first communication mode. If the second communication mode corresponding to the device information is not supported, the active stylus does not support the second communication mode. If the active stylus does not support the second communication mode, it is not necessary to send a connection request to the active stylus. For example, if the active stylus supports Bluetooth function, a connection request is sent to the active stylus to establish a Bluetooth connection with the active stylus. If the active stylus does not support Bluetooth function, even if a connection request is sent, a Bluetooth connection cannot be established.

[0047] When the device information of the active stylus is acquired, it can be determined whether the device information of the active stylus exists in a device information table maintained by the electronic device, and the device information maintained in the device information table corresponds to devices that have established a second communication connection with the electronic device. If it is determined that the device information of the active stylus does not exist in the device information table, the active stylus is a new device, and in order to establish a data channel with the active stylus, a connection request can be sent to the active stylus through the first communication mode. If it is determined that the device information of the active stylus exists in the device information table, the active stylus has established a second communication connection with the electronic device, and therefore, before the device information is acquired, the electronic device can have established a second communication connection with the active stylus, and therefore, if the active stylus is an old device, the connection request is not sent.

[0048] In the embodiments of the present application, the judgment of whether the active stylus supports the second communication mode and / or the judgment of the new device based on the device information of the active stylus can save the sending of the connection request in unnecessary cases, and can save the resources of the electronic device.

[0049] In an optional embodiment, the first electric signal of the target frequency is emitted based on the position of the active stylus in the display area of the display screen to send the connection request, and the second electric signal of the target frequency is obtained based on the position of the active stylus in the display area of the display screen to obtain the feedback information.

[0050] Specifically, if the display area of the display screen is particularly large, if the active stylus is in the edge area of the display area, the first electric signal emitted by the display screen can not be received by the active stylus, or the second electric signal emitted by the active stylus can not be received by the electronic device, and therefore, in order to effectively send the connection request and obtain the feedback information, the position of the active stylus in the display area of the display screen can be sensed by the sensing unit. Then the first electric signal of the target frequency is emitted to the position of the active stylus to send the connection request, and the second electric signal of the target frequency is received at the position of the active stylus to obtain the feedback information.

[0051] In the embodiments of the present application, the first electric signal of the target frequency is emitted based on the position of the active stylus in the display area of the display screen, and the second electric signal of the target frequency is obtained, which can reduce the situation of invalid connection request and unable to receive feedback information due to the display area of the display screen being too large, and improve the effectiveness and accuracy of establishing the second communication mode.

[0052] The embodiments of the present application also provide an electronic device, as shown in the figure, comprising a display screen 30 and a processor 31. Figure 2

[0053] ​The display screen interacts with the active stylus through a first communication mode (i.e., the protocol of the active stylus such as UIS or MPP2.0) at any position where the active stylus contacts or closely contacts the display area of the display screen. During the process of determining the trajectory input of the active stylus to the display screen or the time interval of pausing the trajectory input of the active stylus to the display screen, the Bluetooth request is still sent through the first communication mode, and the Bluetooth configuration information fed back by the active stylus to the Bluetooth request is obtained through the first communication mode, so as to quickly establish the communication channel of the second communication mode, such as the Bluetooth channel, without the user's participation in the complex pairing setting process, thereby improving the use efficiency of the active stylus and the user's use experience. The electronic device with the display screen can obtain the data generated by the gravity sensor of the active stylus for determining the gesture input (e.g., the air gesture) of the active stylus through the second communication mode, or the electronic device with the display screen can obtain the sensing data of the active stylus in the air mouse mode generated by the gravity sensor of the active stylus through the second communication mode.

[0054] The display screen 30 can be an LCD display, an LED display (OLED, MiniOLED), or a 3D display, etc.

[0055] The processor 31 can be a central processing unit (CPU). The processor 31 can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. chips, or combinations of the above-mentioned various chips.

[0056] In some embodiments, the electronic device further includes a memory 32, wherein the processor 31 and the memory 32 can be connected through a bus or other means, Figure 2 The bus connection is taken as an example for illustration.

[0057] The memory 32, as a non-transitory computer readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the information processing method in the embodiments of the present application. The processor 31 executes various functions and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 32, that is, implements the information processing method in the above method embodiments.

[0058] The memory 32 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created by the processor 31 and the like. In addition, the memory 32 can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory 32 can optionally include a memory remotely arranged with respect to the processor 31, and these remote memories can be connected to the processor 31 through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0059] The one or more modules described above are stored in the memory 32, and when executed by the processor 31, perform the information processing method in the embodiments as shown. Figure 1

[0060] The above electronic device specific details can be understood by referring to the corresponding related descriptions and effects of the embodiments shown in Figure 1

[0061] In an optional embodiment, the processor 31 is further configured to obtain notification information representing the presence of the active stylus and the active stylus being in an input state by demodulating the electrical signal obtained by the first communication mode; obtain the input position of the active stylus based on the notification information through the sensing unit of the display screen; and display the trajectory of the active stylus based on the input position.

[0062] In an optional embodiment, sending the connection request based on the device information of the active stylus includes: sending the connection request based on the device information of the active stylus based on the time interval between the notification information.

[0063] ​​Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium, and when the program is executed, the processes of the above-mentioned embodiment methods can be included. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc. The storage medium can also include a combination of the above-mentioned types of memories.

[0064] Those skilled in the art will appreciate that embodiments of the present application can be provided as methods, systems, or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) embodying computer-readable program code.

[0065] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as a combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable information processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable information processing device produce a device that implements the flow Figure 1 The functions specified in one or more flows and / or blocks Figure 1 The functions specified in one or more flows and / or blocks

[0066] These computer program instructions can also be stored in a computer-readable memory that can instruct a computer or other programmable information processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including instruction devices that implement the flow Figure 1 The functions specified in one or more flows and / or blocks Figure 1 The functions specified in one or more flows and / or blocks

[0067] These computer program instructions can also be loaded into a computer or other programmable information handling devices to cause a series of operational steps to be performed on the computer or other programmable devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable devices provide steps for implementing the operations specified in the flowchart block or blocks. Figure 1 The computer program instructions can also be loaded into a computer or other programmable information handling devices to cause a series of operational steps to be performed on the computer or other programmable devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable devices provide steps for implementing the operations specified in the flowchart block or blocks. Figure 1 The computer program instructions can also be loaded into a computer or other programmable information handling devices to cause a series of operational steps to be performed on the computer or other programmable devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable devices provide steps for implementing the operations specified in the flowchart block or blocks.

[0068] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims and their equivalents, the application can be practiced otherwise than as specifically described.

Claims

1. An information processing method, comprising: broadcasting an electrical signal based on a standard frequency; obtaining an electrical signal transmitted by an active stylus, demodulating the electrical signal, and obtaining device information of the active stylus, wherein the device information comprises a device identifier; establishing a first communication connection with the active stylus based on the device identifier through a first communication mode; acquiring notification information representing that the active stylus exists and is in an input state through the first communication mode, the notification information being obtained based on one of an input position or a movement state of the active stylus; sending a connection request based on the device information of the active stylus based on time intervals between the notification information through the first communication mode; obtaining feedback information for the connection request through the first communication mode; establishing a data channel with the active stylus based on a second communication mode based on the feedback information; the data channel is used to respond to a target function of the active stylus other than a writing input operation; wherein the interaction is performed through the first communication mode before the data channel with the active stylus is established based on the feedback information, and the interaction is performed through the second communication mode after the data channel with the active stylus is established based on the feedback information; the first communication mode is different from the second communication mode. 2.The information processing method of claim 1, further comprising: obtaining the input position of the active stylus based on the notification information through a sensing unit of a display screen; and displaying a trajectory of the active stylus based on the input position. 3.The information processing method of claim 1, further comprising: determining a target frequency of the first communication mode based on the device information; and scanning based on the target frequency to obtain an electrical signal transmitted by the active stylus based on the target frequency. 4.The information processing method of claim 1, wherein the sending of the connection request based on the device information of the active stylus comprises: determining whether the active stylus supports the second communication mode based on the device information of the active stylus; and sending the connection request if the active stylus supports the second communication mode; or / and, determining whether the active stylus is a new device based on the device information of the active stylus; and sending the connection request if the active stylus is a new device. 5.The information processing method of claim 1, wherein: a first electrical signal of a target frequency is transmitted through the first communication mode based on a position of the active stylus in a display area of a display screen to send the connection request; and a second electrical signal of a target frequency is obtained through the first communication mode based on the position of the active stylus in the display area of the display screen to obtain the feedback information. 6.An electronic device, comprising: a display screen; a processor configured to broadcast an electrical signal based on a standard frequency; obtain an electrical signal of an active stylus, demodulate the electrical signal, and obtain device information of the active stylus, wherein the device information comprises a device identifier; and ​ The processor is further configured to establish a first communication connection with the active stylus based on the device identification through a first communication mode; acquire notification information representing that the active stylus exists and is in an input state through the first communication mode, the notification information being obtained based on one of an input position or a movement state of the active stylus; send a connection request based on device information of the active stylus based on a time interval between the notification information through the first communication mode; acquire feedback information for the connection request through the first communication mode; and establish a data channel based on a second communication mode with the active stylus based on the feedback information, the data channel being used to respond to a target function of the active stylus other than a writing input operation. The first communication mode and the second communication mode are different.

7. The electronic device of claim 6, The processor is further configured to acquire the input position of the active stylus based on the notification information through a sensing unit of the display screen; and display a trajectory of the active stylus based on the input position.

Citation Information

Patent Citations

  • Automatic device pairing

    CN107624247A

  • Air mouse mode implementation method and related equipment

    CN110347269A

  • Short-distance wireless communication connection method and system, active pen, and touch screen

    CN111083943A