Information processing method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202410199443.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-22
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2044-02-22
AI Technical Summary
但是,当存在噪声信息时,触控屏容易将噪声信息识别成主动笔的位置信息,造成误报点问题,则在主动笔未接触触摸屏时,已经在触控屏上显示触控痕迹,影响用户的使用体验
[0021] The method described above has the following advantages: it can avoid identifying noise information as information from the touch device, avoid the problem of false alarms, ensure the responsiveness of the touch device, and further reduce touch latency, thereby improving the user experience.
Smart Images

Figure CN120523339B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of terminal technology, and in particular to an information processing method, device, electronic equipment, and storage medium. Background Technology
[0002] With the continuous development of terminal technology, the application scenarios of active styluses are becoming increasingly widespread. Active styluses, also known simply as active pens, can interact with various terminal devices with touchscreens. When interacting with a terminal device, the active pen reports its position on the screen, and the terminal device displays the corresponding touch mark based on this information. However, when noise is present, the touchscreen can easily misinterpret the noise as the active pen's position information, causing false reporting. This results in touch marks being displayed on the touchscreen even before the active pen has actually touched it, negatively impacting the user experience. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides an information processing method, an electronic device, and a storage medium.
[0004] According to a first aspect of the present disclosure, an information processing method is provided, the method comprising: The system receives first information sent by a touch device in a first manner, wherein the first information represents the posture information of the touch device. The second information and the third information are received through a second method. The second information represents the amount of change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. Based on the first information and the second information, determine the validity of the third information; When the third information is determined to be valid, touch traces are displayed based on the third information.
[0005] In an exemplary embodiment, determining the validity of the third information based on the first information and the second information includes: Based on the two adjacent pieces of the first information received, a fourth piece of information is determined, wherein the fourth piece of information represents the amount of change in the posture information of the touch device; The validity of the third information is determined based on the fourth information and the second information.
[0006] In an exemplary embodiment, determining the validity of the third information based on the fourth information and the second information includes: The validity of the third information is determined based on the correlation between the fourth information and the second information.
[0007] In an exemplary embodiment, determining the validity of the third information based on the correlation between the fourth information and the second information includes: If the correlation between the fourth information and the second information is greater than or equal to the threshold, the third information is determined to be valid. If the correlation between the fourth information and the second information is less than the threshold, the third information is determined to be invalid.
[0008] In an exemplary embodiment, receiving the second information and the third information via a second method includes: The first signal sent by the touch device is received in the second manner, the first signal including the second information and the third information.
[0009] In one exemplary embodiment, the method further includes: A second signal is sent to the touch device, the second signal being used to trigger the touch device to synchronize its clock with the electronic device, and the first signal is sent to the electronic device.
[0010] In an exemplary embodiment, before receiving the first information sent by the touch device in the first manner, the method further includes: Receive pairing information sent by the touch device through the first method; Pair with the touch device according to the pairing information.
[0011] In one exemplary embodiment, the first method includes a near-field wireless communication method, and the second method includes a touch control method.
[0012] According to a second aspect of the present disclosure, an information processing method is provided, the method comprising: First information is sent to the electronic device in a first manner, wherein the first information represents the posture information of the touch device; The second information and the third information are sent to the electronic device in a second manner. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device.
[0013] In an exemplary embodiment, sending the second information and the third information to the electronic device via a second method includes: The first signal is sent to the electronic device in the second manner, the first signal including the second information and the third information.
[0014] In one exemplary embodiment, sending the first signal to the electronic device via the second method further includes: In response to receiving the second signal sent by the electronic device, the device synchronizes its clock with the electronic device and sends a downlink signal to the electronic device in the second manner.
[0015] In an exemplary embodiment, before sending the first information to the electronic device via the first method, the method further includes: Pairing information is sent to the electronic device via the first method, and the pairing information is used to pair with the electronic device.
[0016] In one exemplary embodiment, the first method includes a near-field wireless communication method, and the second method includes a touch control method.
[0017] According to a third aspect of the present disclosure, an information processing apparatus is provided, the apparatus comprising: The first receiving module is configured to receive first information sent by the touch device in a first manner, wherein the first information represents the posture information of the touch device; The second receiving module is configured to receive second information and third information in a second manner, wherein the second information represents the amount of change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. The determination module is configured to determine the validity of the third information based on the first information and the second information; The display module is configured to display touch traces based on the third information when the third information is determined to be valid.
[0018] According to a fourth aspect of the present disclosure, an information processing apparatus is provided, the apparatus comprising: The first sending module is configured to send first information to an electronic device via a first method, wherein the first information represents the posture information of the touch device. The second sending module is configured to send second information and third information to the electronic device in a second manner. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device.
[0019] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method described in the first or second aspect of the embodiments of this disclosure.
[0020] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method described in the first or second aspect of the present disclosure.
[0021] The method described above has the following advantages: it can avoid identifying noise information as information from the touch device, avoid the problem of false alarms, ensure the responsiveness of the touch device, and further reduce touch latency, thereby improving the user experience.
[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0024] Figure 1 This is a flowchart illustrating an information processing method according to an exemplary embodiment; Figure 2 This is a flowchart illustrating an information processing method according to an exemplary embodiment; Figure 3 This is a schematic diagram of information transmission according to an exemplary embodiment; Figure 4 This is an information transmission timing diagram illustrated according to an exemplary embodiment; Figure 5 This is a flowchart illustrating an information processing method according to an exemplary embodiment; Figure 6 This is a flowchart illustrating an information processing method according to an exemplary embodiment; Figure 7 This is a block diagram illustrating an information processing apparatus according to an exemplary embodiment; Figure 8 This is a block diagram illustrating an information processing apparatus according to an exemplary embodiment; Figure 9 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0025] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0026] In some embodiments, such as the USI (Universal Stylus Initiative) protocol, when an active stylus approaches the touchscreen of a terminal device, it sends pairing information to the screen via the transmitting electrode TX. This information includes the frequency band used for active stylus information transmission, the hardware interface structure of the active stylus, and the active stylus identifier, among other information used for matching with the screen. After pairing with the screen, the active stylus receives the uplink signal sent by the screen via the receiving electrode RX and reports a location to the screen via the transmitting electrode TX, i.e., sends a downlink signal, including the location information of the active stylus. In the above process, a pairing frame is usually added before interaction. For active pens that support other communication methods, when pairing with the screen via other communication methods, such as Bluetooth, the pairing process in the active stylus protocol can be omitted, and the reporting of locations can begin immediately when the active stylus approaches the screen. However, because the pairing process is omitted, when noise is present, the screen may easily misidentify the noise as location information sent by the active stylus, causing false reporting.
[0027] In an exemplary embodiment of this disclosure, to overcome the problem of false alarms in related technologies, an information processing method is provided, comprising: receiving first information sent by a touch device in a first manner, wherein the first information represents the posture information of the touch device; receiving second information and third information in a second manner, wherein the second information represents the amount of change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device; determining the validity of the third information based on the first information and the second information; and displaying touch traces based on the third information when the third information is determined to be valid. This method can avoid identifying noise information as information from the touch device, avoid the problem of false alarms, ensure the responsiveness of the touch device, and further reduce touch latency, thereby improving the user experience.
[0028] In an exemplary embodiment of this disclosure, an information processing method is provided. Figure 1 This is a flowchart illustrating an information processing method according to an exemplary embodiment, such as... Figure 1 As shown, it includes the following steps: Step S101: Receive first information sent by the touch device through a first method, wherein the first information represents the posture information of the touch device; Step S102: Receive second information and third information through a second method. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. Step S103: Determine the validity of the third information based on the first and second information; Step S104: When the third information is determined to be valid, the touch trace is displayed based on the third information.
[0029] The information processing method in this disclosure is applied to electronic devices, including smartphones, foldable phones, tablets, laptops, smart screens, smart vehicle systems, and other electronic devices with touch screens.
[0030] In step S101, the touch device refers to an electronic device capable of touch operation on the touchscreen of an electronic device, including an active stylus, such as an active capacitive stylus or an active electromagnetic stylus. The first information is obtained by an attitude sensor in the touch device. For example, if the attitude information includes the acceleration of the touch device, the acceleration is obtained through a gravity sensor, accelerometer, or gyroscope in the touch device. The first method refers to a wireless communication method, including near-field wireless communication methods, such as Bluetooth, ZigBee, WiFi, and Near Field Communication (NFC). The electronic device receives the first information through a wireless receiver.
[0031] In some implementations, before receiving the first information sent by the touch device in the first manner, pairing information sent by the touch device is received in the first manner, and pairing is performed with the touch device according to the pairing information.
[0032] Before receiving the first information, the electronic device receives pairing information sent by the touch device through a first method. The pairing information includes the frequency band used by the touch device for information transmission, the hardware interface structure of the touch device, the touch device identifier, etc. The electronic device pairs with the touch device according to the pairing information for subsequent interaction.
[0033] In step S102, the second method is a touch control method, which employs capacitive touch technology. It uses upper and lower electrodes as capacitors, and the electronic device receives information generated by capacitance changes caused by electrode variations through a touch sensor on the touchscreen. When the electronic device receives this information, it identifies it as the second information sent by the touch device, representing the amount of change in the touch device's posture information. However, since the electronic device and the touch device do not perform a pairing process through touch control, the information received by the electronic device may be electrode changes caused by noise. Therefore, the second information may actually be noise information. The third information represents the position information of the touch point on the electronic device's screen. If the second information is actually the amount of change in the touch device's posture information, then the third information is the position information of the touch point on the electronic device's screen. For example, if the touch device is an active stylus, the third information is the stylus tip coordinate information. If the second information is actually noise information, then the third information is empty and does not contain the position information of the touch point on the electronic device's screen.
[0034] Since the pairing process is completed through the first method, the pairing process is omitted in the second method of interaction. The touch device's reporting information, i.e. the third information, is received directly. This eliminates the pairing time during touch and further reduces the latency of the electronic device.
[0035] In step S103, since the first information is received wirelessly and a pairing process with the touch device was completed before receiving the first information, it can be determined that the first information is the posture information sent by the touch device. However, the second information is received via touch, and it cannot be determined whether the second and third information are caused by noise. If the third information is used for reporting points at this time, false reporting is likely to occur. Since both the first and second information are related to the posture information of the touch device, they are compared. If the posture information represented by the two is consistent, the third information is determined to be valid and can be used for reporting points; if the posture information represented by the two is inconsistent, the third information is determined to be invalid and cannot be used for reporting points.
[0036] In step S104, when the third information is determined to be valid, the position information of the touch device on the touch screen of the electronic device can be obtained through the third information. Based on the position information, touch traces can be displayed at the corresponding positions. For example, when the touch device is an active pen, the coordinates of the pen tip can be obtained based on the third information, and touch traces can be displayed at the pen tip coordinates.
[0037] In the exemplary embodiments of this disclosure, first information is received via a first method, and second and third information are received via a second method. The first information represents the posture information of the touch device, the second information represents the change in posture information of the touch device, and the third information represents the position information of the touch point on the screen of the electronic device. The validity of the third information is determined based on the first and second information. If the third information is determined to be valid, a touch trace is displayed based on the third information. By comparing the first and second information, it is possible to determine whether the second information is sent by the touch device, thereby avoiding the identification of noise information as touch device information, preventing false alarms, and ensuring the responsiveness of the touch device. Furthermore, using wireless communication to perform the pairing process can eliminate the pairing time before touch interaction, further reducing touch latency. Especially when the touch device switches between multiple electronic devices, the electronic devices can respond quickly, improving the user experience.
[0038] In an exemplary embodiment of this disclosure, an information processing method is provided. Figure 2 This is a flowchart illustrating an information processing method according to an exemplary embodiment, such as... Figure 2 As shown, it includes the following steps: Step S201: Receive first information sent by the touch device through a first method, wherein the first information represents the posture information of the touch device; Step S202: Send a second signal to the touch device. The second signal is used to trigger the touch device to synchronize its clock with the electronic device, and send a first signal to the electronic device. Step S203: Receive a first signal through a second method. The first signal includes second information and third information. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. Step S204: Based on the two adjacent first information received, determine the fourth information, which represents the change in the posture information of the touch device; Step S205: Determine the validity of the third information based on the fourth and second information; Step S206: When the third information is determined to be valid, the touch trace is displayed based on the third information.
[0039] The specific implementation of step S206 is described in step S104, and will not be repeated here.
[0040] In step S201, when the touch device is within the wireless communication range of the electronic device, it periodically sends first information to the electronic device. Therefore, the electronic device periodically receives the first information through the first communication method. The sending period of the first information is a preset value, which is set according to actual needs.
[0041] In step S202, the touchscreen of the electronic device sends a second signal to the touch device via a transmitting end. The second signal is sent at fixed intervals within each frame. The touch device can only receive the second signal when it is close to the touchscreen and within its signal range. After receiving the second signal via the receiving electrode RX, the touch device parses it. Upon correct parsing, the touch device synchronizes its clock with the electronic device, receiving the second signal at the same time the electronic device sends it, and sending the first signal at the same time the electronic device receives the first signal. After clock synchronization, the touch device sends the first signal to the electronic device according to a preset cycle. The second signal is an uplink signal sent from the electronic device to the touch device, and the first signal is a downlink signal sent from the touch device to the electronic device.
[0042] In step S203, the electronic device receives the first signal via a second method, parses the first signal, and obtains second and third information. The touch device transmits the first signal via the transmitting electrode TX, and the touch screen receives the first signal via the receiving touch sensor. Since the first signal may also be caused by noise, it is necessary to determine the validity of the third information before deciding whether to report a point to the electronic device. In one example, the touch screen's controller controls the touch sensor to receive the first signal.
[0043] In one example, Figure 3 This is a schematic diagram of information transmission according to an exemplary embodiment, such as... Figure 3 As shown, taking an active pen as an example, the movement of the active pen is in the direction of the touch screen. The vertical distance d between the pen tip and the touch screen represents the signal reception range of the second method. That is, when the vertical distance between the pen tip and the touch screen is less than or equal to d, the active pen can receive the uplink signal sent by the touch screen through the receiving electrode RX, i.e., the second signal. The active pen also starts to send downlink signals, i.e., the first signal, to the touch screen through the transmitting electrode TX. The downlink signal includes second information and third information. The second information is sent through the transmitting electrode TX1, and the third information is sent through the transmitting electrode TX2. At the same time, the active pen sends the first information to the touch screen through wireless communication.
[0044] In one example, Figure 4 This is an information transmission timing diagram illustrated according to an exemplary embodiment, such as... Figure 4 As shown, taking an active stylus as an example, when the active stylus is within the wireless communication range of the electronic device, it sends first information to the electronic device according to a preset period, and the electronic device receives the first information sent by the active stylus according to the preset period. When the vertical distance between the stylus tip and the touch screen is greater than... Figure 3When the distance d shown is reached, the touchscreen is in touch scanning mode. At a preset time in each frame, it sends an uplink signal (the second signal) to the touch device. During a preset time period in each frame, it detects whether a downlink signal (the first signal) from the stylus appears. Other time periods are used to detect finger touch information. During this time, the receiving electrode RX of the stylus continuously detects whether an uplink signal appears. When the vertical distance between the stylus tip and the touchscreen is equal to... Figure 3 At the distance d shown, the receiving electrode RX of the active pen can receive the uplink signal. The active pen performs clock synchronization with the touch screen. After synchronization is completed, the active pen sends downlink signals to the touch screen through the transmitting electrode TX according to a preset period. The touch screen switches from touch scanning mode to active pen scanning mode, and the touch sensor receives the downlink signal.
[0045] In step S204, since the second information represents the change in the posture information of the touch device, it is necessary to calculate the change in posture information upon receiving the first information. Based on the reception time of the first information, the difference between two adjacent pieces of first information is calculated; this difference is the change in the posture information of the touch device, and this difference is used as the fourth information.
[0046] In some implementations, after the wireless receiver receives the first information, it is sent to the electronic device processor by the electronic device controller, and the processor calculates the fourth information based on the adjacent first information.
[0047] In step S205, the fourth information and the second information represent the same value. By comparing the fourth information and the second information, the validity of the third information can be determined.
[0048] In some implementations, the validity of the third information is determined based on the correlation between the fourth and second information: If the correlation between the fourth piece of information and the second piece of information is greater than or equal to the threshold, the third piece of information is determined to be valid. If the correlation between the fourth piece of information and the second piece of information is less than the threshold, the third piece of information is determined to be invalid.
[0049] The correlation between the fourth and second information can be calculated using any correlation calculation method, such as calculating the correlation coefficient, or calculating the covariance and covariance matrix; this embodiment is not limited to any particular method. The correlation threshold is a preset value, determined according to the correlation calculation method. If the correlation between the fourth and second information is greater than or equal to the threshold, it indicates that the fourth and second information represent the same information. In this case, the first signal received by the touchscreen is sent by the touch device, and the third information is determined to be valid. Reporting is then performed based on the third information, allowing touch traces to be displayed on the touchscreen. If the correlation between the fourth and second information is less than the threshold, it indicates that the fourth and second information are not the same information. In this case, the first signal received by the touchscreen may be caused by noise, and the third information is determined to be invalid; no reporting is performed.
[0050] In this embodiment, the correlation between the fourth information and the second information is used to determine the validity of the third information. This can prevent noise information from being identified as information from the touch device, avoid false alarms, ensure the responsiveness of the touch device, and improve the user experience.
[0051] In an exemplary embodiment of this disclosure, an information processing method is provided. Figure 5 This is a flowchart illustrating an information processing method according to an exemplary embodiment, such as... Figure 5 As shown, it includes the following steps: Step S501: Send first information to the electronic device in a first manner, wherein the first information represents the posture information of the touch device; In step S502, second information and third information are sent to the electronic device in a second manner. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device.
[0052] The information processing method in this embodiment is applied to a touch device, including an active stylus, such as an active capacitive stylus or an active electromagnetic stylus.
[0053] In step S501, the first information is obtained by the attitude sensor in the touch device. For example, if the attitude information includes the acceleration of the touch device, the acceleration is obtained through the gravity sensor, accelerometer, or gyroscope in the touch device. The first method refers to the wireless communication method, including near-field wireless communication methods, such as Bluetooth network, ZigBee network, WiFi network, Near Field Communication (NFC), etc.
[0054] In some implementations, before sending the first information to the electronic device via the first method, pairing information is sent to the electronic device via the first method. The pairing information is used to pair with the electronic device.
[0055] Before sending the first information, pairing information is sent to the electronic device via a first method. The pairing information includes the frequency band used for information transmission of the touch device, the hardware interface structure of the touch device, the touch device identifier, etc., so that the electronic device can pair with the touch device according to the pairing information after receiving the pairing information to complete subsequent interactions.
[0056] In step S502, the second method is a touch method, which uses capacitive touch technology. The touch device sends information to the electronic device by changing the size of the electrodes on the touch screen, causing a change in capacitance. The second information represents the amount of change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. For example, when the touch device is an active pen, the third information is the pen tip coordinate information.
[0057] Since the pairing process is completed wirelessly, the pairing process is omitted in touch interaction. Instead, the device directly reports the information to the electronic device, i.e., sends a third-party message. This eliminates the pairing time during touch and further reduces latency.
[0058] In some embodiments, in response to receiving a second signal sent by an electronic device, clock synchronization is performed with the electronic device, and a first signal is sent to the electronic device in a second manner, the first signal including second information and third information.
[0059] The touch device receives a second signal sent by the electronic device via the receiving electrode RX. Upon receiving the second signal, it analyzes it. Correct analysis indicates that the touch device is within the touch signal range of the electronic device. At this point, the touch device synchronizes its clock with the electronic device, ensuring that its signal transmission and reception times are aligned. The touch device receives the second signal when the electronic device sends it, and sends the first signal when the electronic device receives it. After clock synchronization, the touch device sends the first signal via the transmitting electrode TX according to a preset cycle. The first signal includes second and third information.
[0060] In this implementation, the touch device pairs with the electronic device via wireless communication, saving pairing time in touch interaction and further reducing touch latency. Especially when the touch device switches between multiple electronic devices, the electronic devices can respond quickly, improving the user experience.
[0061] In an exemplary embodiment of this disclosure, an information processing method is provided. Figure 6 This is a flowchart illustrating an information processing method according to an exemplary embodiment, such as... Figure 6 As shown, it includes the following steps: In step S601, the touch device sends pairing information to the electronic device via a first method; Step S602: The electronic device pairs with the touch device according to the pairing information; In step S603, the touch device sends first information to the electronic device through a first method, the first information representing the posture information of the touch device; In step S604, the electronic device sends a second signal to the touch device via a second method; In step S605, the electronic device receives a first signal through a second method. The first signal includes second information and third information. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. Step S606: The touch device synchronizes its clock with the electronic device; In step S607, the touch device sends a first signal to the electronic device in a second manner. The first signal includes second information and third information. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device.
[0062] In step S608, the electronic device determines the fourth information based on the two adjacent first information received. The fourth information represents the change in the posture information of the touch device. Step S609: The electronic device determines the validity of the third information based on the fourth information and the second information; In step S610, when the electronic device determines that the third information is valid, it displays the touch trace based on the third information.
[0063] The first signal received by the electronic device in step S605 may be the first signal sent by the touch device in step S607, or it may be the first signal generated by noise.
[0064] In an exemplary embodiment of this disclosure, an information processing apparatus is provided. Figure 7 This is a block diagram illustrating an information processing apparatus according to an exemplary embodiment, such as... Figure 7 As shown, the information processing device includes: The first receiving module 701 is configured to receive first information sent by the touch device in a first manner, wherein the first information represents the posture information of the touch device; The second receiving module 702 is configured to receive second information and third information in a second manner. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. The determination module 703 is configured to determine the validity of the third information based on the first information and the second information; Display module 704 is configured to display touch traces based on the third information when the third information is determined to be valid.
[0065] In one exemplary embodiment, the determining module 703 is further configured to: Based on the two adjacent first information received, the fourth information is determined, and the fourth information represents the amount of change in the posture information of the touch device. The validity of the third information is determined based on the fourth and second information.
[0066] In one exemplary embodiment, the determining module 703 is further configured to: The validity of the third information is determined based on the relevance of the fourth and second information.
[0067] In one exemplary embodiment, the determining module 703 is further configured to: If the correlation between the fourth piece of information and the second piece of information is greater than or equal to the threshold, the third piece of information is determined to be valid. If the correlation between the fourth piece of information and the second piece of information is less than the threshold, the third piece of information is determined to be invalid.
[0068] In one exemplary embodiment, the second receiving module 702 is further configured to: The first signal sent by the touch device is received in a second manner, the first signal including second information and third information.
[0069] In one exemplary embodiment, the information processing apparatus further includes a sending module 705, configured to: A second signal is sent to the touch device to trigger clock synchronization between the touch device and the electronic device, and a first signal is sent to the electronic device.
[0070] In one exemplary embodiment, the first receiving module 701 is further configured to: Receive pairing information sent by the touch device via the first method; Pair with touch devices based on pairing information.
[0071] In one exemplary embodiment, the first method includes a near-field wireless communication method, and the second method includes a touch control method.
[0072] In an exemplary embodiment of this disclosure, an information processing apparatus is provided. Figure 8 This is a block diagram illustrating an information processing apparatus according to an exemplary embodiment, such as... Figure 8 As shown, the information processing device includes: The first sending module 801 is configured to send first information to an electronic device in a first manner, wherein the first information represents the posture information of the touch device. The second sending module 802 is configured to send second information and third information to the electronic device in a second manner. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device.
[0073] In one exemplary embodiment, the first sending module 801 is further configured to: A first signal is sent to an electronic device via a second method, the first signal including second information and third information.
[0074] In one exemplary embodiment, the first sending module 801 is further configured to: In response to receiving a second signal from an electronic device, the device synchronizes its clock with the electronic device and sends a downlink signal to the electronic device in a second manner.
[0075] In one exemplary embodiment, the first sending module 801 is further configured to: The pairing information is sent to the electronic device via the first method. The pairing information is used to pair with the electronic device.
[0076] In one exemplary embodiment, the first method includes a near-field wireless communication method, and the second method includes a touch control method.
[0077] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0078] Figure 9 This is a block diagram illustrating an electronic device 900 according to an exemplary embodiment.
[0079] Reference Figure 9 The electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0080] Processing component 902 typically controls the overall operation of electronic device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0081] Memory 904 is configured to store various types of data to support the operation of electronic device 900. Examples of this data include instructions for any application or method operating on electronic device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0082] Power supply component 906 provides power to various components of electronic device 900. Power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 900.
[0083] Multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0084] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when electronic device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0085] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0086] Sensor assembly 914 includes one or more sensors for providing state assessments of various aspects of electronic device 900. For example, sensor assembly 914 can detect the on / off state of electronic device 900, the relative positioning of components such as the display and keypad of electronic device 900, changes in position of electronic device 900 or a component of electronic device 900, the presence or absence of user contact with electronic device 900, orientation or acceleration / deceleration of electronic device 900, and temperature changes of electronic device 900. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0087] Communication component 916 is configured to facilitate wired or wireless communication between electronic device 900 and other devices. Electronic device 900 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0088] In an exemplary embodiment, the electronic device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0089] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by a processor 920 of an electronic device 900 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0090] A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform an information processing method.
[0091] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0092] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. An information processing method, characterized in that, The method includes: The system receives first information sent by a touch device in a first manner, wherein the first information represents the posture information of the touch device. The second information and the third information are received through a second method. The second information represents the change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. The first method includes a near-field wireless communication method, and the second method includes a touch method. Based on the first information and the second information, determine the validity of the third information; Upon confirming the validity of the third information, touch traces are displayed based on the third information; The step of determining the validity of the third information based on the first information and the second information includes: Based on the two adjacent pieces of the first information received, a fourth piece of information is determined, wherein the fourth piece of information represents the amount of change in the posture information of the touch device; The validity of the third information is determined based on the fourth information and the second information.
2. The information processing method according to claim 1, characterized in that, Determining the validity of the third information based on the fourth information and the second information includes: The validity of the third information is determined based on the correlation between the fourth information and the second information.
3. The information processing method according to claim 2, characterized in that, Determining the validity of the third information based on the correlation between the fourth information and the second information includes: If the correlation between the fourth information and the second information is greater than or equal to the threshold, the third information is determined to be valid. If the correlation between the fourth information and the second information is less than the threshold, the third information is determined to be invalid.
4. The information processing method according to claim 1, characterized in that, The method of receiving the second and third information via the second means includes: The first signal sent by the touch device is received in the second manner, the first signal including the second information and the third information.
5. The information processing method according to claim 4, characterized in that, The method further includes: A second signal is sent to the touch device, the second signal being used to trigger the touch device to synchronize its clock with the electronic device, and the first signal is sent to the electronic device.
6. The information processing method according to claim 1, characterized in that, Before receiving the first information sent by the touch device via the first method, the method further includes: Receive pairing information sent by the touch device through the first method; Pair with the touch device according to the pairing information.
7. An information processing method, characterized in that, The method includes: First information is sent to the electronic device in a first manner, wherein the first information represents the posture information of the touch device; The electronic device sends second and third information to the electronic device in a second manner, so that the electronic device determines fourth information based on two adjacent first information received; and determines the validity of the third information based on the fourth information and the second information. The second information represents the amount of change in the posture information of the touch device, the third information represents the position information of the touch point of the touch device on the screen of the electronic device, and the fourth information represents the amount of change in the posture information of the touch device; the first method includes a near-field wireless communication method, and the second method includes a touch method.
8. The information processing method according to claim 7, characterized in that, The method of sending the second and third information to the electronic device includes: The first signal is sent to the electronic device in the second manner, the first signal including the second information and the third information.
9. The information processing method according to claim 8, characterized in that, The step of sending the first signal to the electronic device via the second method further includes: In response to receiving the second signal sent by the electronic device, the device synchronizes its clock with the electronic device and sends a downlink signal to the electronic device in the second manner.
10. The information processing method according to claim 7, characterized in that, Before sending the first information to the electronic device via the first method, the method further includes: Pairing information is sent to the electronic device via the first method, and the pairing information is used to pair with the electronic device.
11. An information processing device, characterized in that, The device includes: The first receiving module is configured to receive first information sent by the touch device in a first manner, wherein the first information represents the posture information of the touch device; The second receiving module is configured to receive second information and third information via a second method. The second information represents the amount of change in the posture information of the touch device, and the third information represents the position information of the touch point of the touch device on the screen of the electronic device. The first method includes a near-field wireless communication method, and the second method includes a touch method. The determination module is configured to determine the validity of the third information based on the first information and the second information; The display module is configured to display touch traces based on the third information when the third information is determined to be valid; The determining module is further configured to determine fourth information based on two adjacent pieces of the first information received, wherein the fourth information represents the amount of change in the posture information of the touch device; The validity of the third information is determined based on the fourth information and the second information.
12. An information processing device, characterized in that, The device includes: The first sending module is configured to send first information to an electronic device via a first method, wherein the first information represents the posture information of the touch device. The second sending module is configured to send second information and third information to the electronic device in a second manner, so that the electronic device determines fourth information based on two adjacent first information received; and determines the validity of the third information based on the fourth information and the second information. The second information represents the amount of change in the posture information of the touch device, the third information represents the position information of the touch point of the touch device on the screen of the electronic device, and the fourth information represents the amount of change in the posture information of the touch device; the first method includes a near-field wireless communication method, and the second method includes a touch method.
13. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method as claimed in any one of claims 1-6 or 7-10.
14. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method as claimed in any one of claims 1-6 or 7-10.
Citation Information
Patent Citations
Handwriting drawing method and device, electronic equipment and readable storage medium
CN114461129A
Screen touch position determination method and device and storage medium
CN115729376A