Search

CN-116048286-B - Signal decoding method, device, electronic equipment and storage medium

CN116048286BCN 116048286 BCN116048286 BCN 116048286BCN-116048286-B

Abstract

The disclosure relates to a signal decoding method, a device, an electronic device and a storage medium, wherein a code printing signal which is sent by an active pen and is positioned at a first frequency point is periodically analyzed through a touch device, and a second frequency point is determined and sent to the active pen under the condition of frequency hopping. And periodically analyzing coding signals at the first frequency point and the second frequency point, and detecting whether the active pen finishes frequency hopping. And under the condition that the touch equipment detects that the active pen finishes frequency hopping, periodically analyzing the coding signal which is sent by the active pen and is positioned at the second frequency point from the next period. According to the method and the device, the code printing signals of the first frequency point and the second frequency point are analyzed simultaneously in the period from the frequency hopping of the touch equipment to the completion of the frequency hopping of the active pen, so that the problem that scribing and wire breakage are caused by frequency asynchronization in the frequency hopping process is solved.

Inventors

  • LIANG QIQUAN

Assignees

  • 北京集创北方科技股份有限公司

Dates

Publication Date
20260505
Application Date
20230209

Claims (11)

  1. 1. A signal decoding method, applied to a touch device, the method comprising: Periodically analyzing a coding signal which is sent by the active pen and is positioned at a first frequency point; Responding to the frequency hopping of the touch equipment, determining a second frequency point and sending the second frequency point to the active pen; periodically analyzing coding signals positioned at the first frequency point and the second frequency point, and detecting whether the active pen finishes frequency hopping; in response to detecting that the active pen completes frequency hopping, periodically analyzing a code printing signal which is sent by the active pen and is positioned at a second frequency point from the next period; The periodically resolving the coding signals located at the first frequency point and the second frequency point includes: Receiving a first signal of a first frequency point and a second signal of a second frequency point for multiple times in each period; Determining a coding signal sent by the active pen in the first signal and the second signal which are received each time; analyzing the code signal based on a frequency point corresponding to the code signal; the determining the coding signal sent by the active pen in the first signal and the second signal received each time includes: and determining a signal with larger amplitude as a coding signal sent by the active pen from the first signal and the second signal which are received each time.
  2. 2. The method of claim 1, wherein the detecting whether the active pen has completed frequency hopping further comprises: and responding to the code signal as a second signal, and determining that the active pen completes frequency hopping.
  3. 3. The method of claim 1, wherein the periodically resolving the coded signal at the first frequency point and the second frequency point comprises: In each period, receiving signals for multiple times and analyzing signals at the first frequency point and signals at the second frequency point at intervals; and for the signal without the analysis result, determining the analysis result of the signal as the analysis result of the previous signal.
  4. 4. The method of claim 3, wherein the detecting whether the active pen has completed frequency hopping further comprises: Detecting signal types of signals without analysis results, wherein the signal types comprise signals at a first frequency point and signals at a second frequency point; and responding to the signal which does not obtain the analysis result as the signal positioned at the first frequency point, and determining that the active pen completes frequency hopping.
  5. 5. The method according to any one of claims 1-4, further comprising: detecting noise of a plurality of frequency points in real time, and determining the frequency point with the minimum noise as a candidate frequency point; And determining that the candidate frequency point is a second frequency point and performing frequency hopping in response to the candidate frequency point not being the first frequency point.
  6. 6. A signal decoding apparatus for use with a touch device, the apparatus comprising: The first decoding module is used for periodically analyzing the coding signal which is sent by the active pen and is positioned at the first frequency point; the frequency hopping initiation module is used for responding to the frequency hopping initiated by the touch equipment, determining a second frequency point and sending the second frequency point to the active pen; the second decoding module is used for periodically analyzing the code printing signals positioned at the first frequency point and the second frequency point and detecting whether the active pen finishes frequency hopping; the third decoding module is used for responding to the fact that the active pen completes frequency hopping, and periodically analyzing the coding signal which is sent by the active pen and is positioned at the second frequency point from the next period; Wherein the second decoding module is further configured to: Receiving a first signal of a first frequency point and a second signal of a second frequency point for multiple times in each period; Determining a coding signal sent by the active pen in the first signal and the second signal which are received each time; analyzing the code signal based on a frequency point corresponding to the code signal; the second decoding module is further used for determining that a signal with larger amplitude is a coding signal sent by the active pen from the first signal and the second signal received each time.
  7. 7. A display device comprising a plurality of display units and at least one signal decoding apparatus according to claim 6.
  8. 8. The display device of claim 7, wherein the display unit comprises a display panel comprising at least one of a liquid crystal display panel, a micro light emitting diode display panel, a mini light emitting diode display panel, a quantum dot light emitting diode display panel, an organic light emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel, and a small pitch display panel.
  9. 9. An electronic device comprising the display device according to claim 7 or 8.
  10. 10. An electronic device, comprising: A processor; A memory for storing processor-executable instructions; wherein the processor is configured to implement the method of any one of claims 1 to 5 when executing the instructions stored by the memory.
  11. 11. A non-transitory computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1 to 5.

Description

Signal decoding method, device, electronic equipment and storage medium Technical Field The disclosure relates to the field of computer technology, and in particular, to a signal decoding method, a signal decoding device, electronic equipment and a storage medium. Background In the process of interaction between the active pen and the touch equipment, the active pen sends a code printing signal with a certain frequency according to a stipulated format, and the touch equipment samples the code printing signal according to the stipulation after screen pen synchronization. The touch device performs signal analysis on the coded signal to obtain coded information. In the process of analyzing signals by the touch equipment, the code printing frequency of the pen is required to be ensured to be consistent with the analysis frequency of the touch equipment. Under the condition that the touch equipment starts frequency hopping, the situation that the touch equipment cannot detect code printing signals in a period of time and scribing and line breakage occur due to communication delay and response time required by an active pen can occur. Disclosure of Invention In view of this, the disclosure proposes a signal decoding method, apparatus, electronic device, and storage medium, which aim to avoid the situation that when a touch device initiates frequency hopping, a scribing line is broken due to the asynchronism with the frequency of an active pen. According to a first aspect of the present disclosure, there is provided a signal decoding method, the method comprising: Periodically analyzing a coding signal which is sent by the active pen and is positioned at a first frequency point; Responding to the frequency hopping of the touch equipment, determining a second frequency point and sending the second frequency point to the active pen; periodically analyzing coding signals positioned at the first frequency point and the second frequency point, and detecting whether the active pen finishes frequency hopping; And in response to detecting that the active pen completes frequency hopping, periodically analyzing the code printing signal which is sent by the active pen and is positioned at the second frequency point from the next period. In one possible implementation manner, the periodically resolving the coding signal located at the first frequency point and the second frequency point includes: Receiving a first signal of a first frequency point and a second signal of a second frequency point for multiple times in each period; Determining a coding signal sent by the active pen in the first signal and the second signal which are received each time; and analyzing the code signal based on the frequency point corresponding to the code signal. In a possible implementation manner, the determining the code printing signal sent by the active pen in the first signal and the second signal received each time includes: and determining a signal with larger amplitude as a coding signal sent by the active pen from the first signal and the second signal which are received each time. In one possible implementation manner, the detecting whether the active pen completes frequency hopping further includes: and responding to the code signal as a second signal, and determining that the active pen completes frequency hopping. In one possible implementation manner, the periodically resolving the coding signal located at the first frequency point and the second frequency point includes: In each period, receiving signals for multiple times and analyzing signals at the first frequency point and signals at the second frequency point at intervals; and for the signal without the analysis result, determining the analysis result of the signal as the analysis result of the previous signal. In one possible implementation manner, the detecting whether the active pen completes frequency hopping further includes: Detecting signal types of signals without analysis results, wherein the signal types comprise signals at a first frequency point and signals at a second frequency point; and responding to the signal which does not obtain the analysis result as the signal positioned at the first frequency point, and determining that the active pen completes frequency hopping. In one possible implementation, the method further includes: detecting noise of a plurality of frequency points in real time, and determining the frequency point with the minimum noise as a candidate frequency point; and determining that the candidate frequency point is a second frequency point and performing frequency hopping in response to the candidate frequency point not being the first frequency point. According to a second aspect of the present disclosure, there is provided a signal decoding apparatus, the apparatus comprising: The first decoding module is used for periodically analyzing the coding signal which is sent by the active pen and is positioned at the first frequency point; the fre