Signal adjustment method, terminal, writing device and storage medium

By adjusting the real-time signal threshold and the writing amplitude of the writing signal, the abnormal problems caused by signal interference between the writing device and the smart terminal are solved, and the user experience and anti-interference are improved.

CN119718101APending Publication Date: 2025-03-28ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311288837.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Because the writing device and the smart terminal use similar frequencies for communication, signal interference is easily generated, resulting in incomplete signals received by the smart terminal, resulting in abnormalities such as breaking writing lines on the display screen or jumping points, reducing the user experience.

Method used

By obtaining the signal detection value, the interference intensity of the terminal is characterized, the real-time point threshold is adjusted, and the writing intensity adjustment command is sent to the writing device, and the real-time writing amplitude of the writing signal of the writing device is adjusted to match the adjusted real-time point threshold.

Benefits of technology

It reduces the proportion of abnormalities such as breakage or point adjustment of writing lines, improves user experience, and improves the anti-interference between the terminal and the writing device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718101A_ABST
    Figure CN119718101A_ABST
Patent Text Reader

Abstract

The invention provides a signal adjustment method, a terminal, a writing device and a storage medium, and relates to the technical field of communication. The method comprises the following steps: acquiring a signal detection value, wherein the signal detection value represents the interference intensity of a terminal; adjusting a real-time reporting point threshold value according to the signal detection value; and sending a writing intensity adjustment instruction to the writing device, wherein the writing intensity adjustment instruction is used for adjusting the real-time writing amplitude of the writing signal of the writing device according to the adjusted real-time report point threshold value. The adjusted real-time writing amplitude can be matched with the adjusted real-time point reporting threshold value, the occurrence proportion of writing line breakage or point adjustment and other abnormalities is reduced, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a signal adjustment method, a terminal, a writing device and a storage medium. Background Art

[0002] With the gradual popularization of smart terminals, more and more smart terminals are equipped with writing devices (such as capacitive pens, etc.), so that users can use the writing devices to perform refined operations on the display screen of the smart terminal, for example, using the capacitive pen to write or draw on the display screen.

[0003] However, since writing devices and smart terminals mostly use similar frequencies for communication, signal interference is prone to occur. The interference signal will cause the signal received by the smart terminal to be incomplete, causing the writing lines displayed on the display screen of the smart terminal to be broken or jumpy, etc., thereby reducing the user experience. Summary of the invention

[0004] The present disclosure provides a signal adjustment method, a terminal, a writing device and a storage medium.

[0005] An embodiment of the present disclosure provides a signal adjustment method, which is applied to a terminal. The method includes: obtaining a signal detection value, the signal detection value characterizing the interference intensity to which the terminal is subjected; adjusting a real-time reporting threshold according to the signal detection value; and sending a writing intensity adjustment instruction to a writing device, the writing intensity adjustment instruction being used to adjust the real-time writing amplitude of a writing signal of the writing device according to the adjusted real-time reporting threshold.

[0006] An embodiment of the present disclosure provides a signal adjustment method, which is applied to a writing device. The method includes: in response to a writing intensity adjustment instruction sent by a terminal, obtaining an adjusted real-time point reporting threshold; and adjusting the real-time writing amplitude of the writing signal according to the adjusted real-time point reporting threshold.

[0007] An embodiment of the present disclosure provides a terminal, comprising: one or more processors; a memory on which one or more programs are stored. When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the signal adjustment methods applied to the terminal in the embodiments of the present disclosure.

[0008] An embodiment of the present disclosure provides a writing device, comprising: one or more processors; a memory on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the signal adjustment methods applied to the writing device in the embodiments of the present disclosure.

[0009] An embodiment of the present disclosure provides a readable storage medium, which stores a computer program. When the computer program is executed by a processor, any one of the signal adjustment methods in the embodiments of the present disclosure is implemented.

[0010] According to the signal adjustment method, terminal, writing device and storage medium of the embodiments of the present invention, by obtaining a signal detection value, the signal detection value represents the intensity of interference, so as to facilitate understanding of the interference situation between the writing device and the terminal; the real-time reporting threshold is adjusted according to the signal detection value, so that the adjusted real-time reporting threshold can reduce the occurrence ratio of abnormalities caused by interference; then, a writing intensity adjustment instruction is sent to the writing device, and the writing intensity adjustment instruction includes the adjusted real-time reporting threshold, so that the writing device can timely adjust the real-time writing amplitude of its writing signal according to the adjusted real-time reporting threshold, so that the adjusted real-time writing amplitude can match the adjusted real-time reporting threshold, thereby reducing the occurrence ratio of abnormalities such as writing line breaks or point adjustments, and improving the user experience.

[0011] With regard to the above embodiments and other aspects of the present disclosure and their implementations, more description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A flow chart of a signal adjustment method provided by an embodiment of the present disclosure is shown.

[0013] Figure 2 A flow chart of a signal adjustment method provided by an embodiment of the present disclosure is shown.

[0014] Figure 3 A block diagram showing the components of a terminal provided by an embodiment of the present disclosure is shown.

[0015] Figure 4 A block diagram showing the composition of a writing device provided by an embodiment of the present disclosure is shown.

[0016] Figure 5 A block diagram of a signal adjustment system provided by an embodiment of the present disclosure is shown.

[0017] Figure 6 A structural diagram showing an exemplary hardware architecture of a computing device capable of implementing the signal adjustment method and apparatus according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present disclosure more clear, the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present disclosure can be combined with each other arbitrarily without conflict.

[0019] In the process of using writing devices (for example, capacitive pens, etc.) to interact with terminals, the Huawei Pen Protocol (HPP), the Microsoft Pen Protocol (MPP), the Universal Stylus Initiative, etc. are used for communication between devices. Writing devices and smart terminals mostly communicate at similar frequencies, which can easily cause signal interference. The interference signal will cause the signal received by the smart terminal to be incomplete, resulting in abnormalities such as breaks or jumps in the writing lines displayed on the display screen of the smart terminal.

[0020] In some related technologies, when it is determined that interference exists between the writing device and the terminal, the terminal will send a frequency hopping instruction to the writing device through the original working frequency band (i.e., the frequency band where interference exists) so that the writing device can update the communication frequency it uses, thereby reducing the interference; however, if the interference intensity increases, the writing device will not be able to receive the frequency hopping instruction in time, so that abnormalities such as broken writing lines or jumping points will still exist.

[0021] In other related technologies, the influence of interference on communication signals can also be reduced by significantly increasing the output signal power of the writing device. However, since general writing devices are small in size and have limited battery capacity, significantly increasing the output signal power of the writing device will increase the power consumption of the writing device and shorten the use time of the writing device.

[0022] The present disclosure provides a signal adjustment method, a terminal, a writing device and a storage medium to solve the above problems.

[0023] Figure 1 FIG. 1 is a flow chart of a signal adjustment method provided by an embodiment of the present disclosure. The signal adjustment method can be applied to a terminal written by a writing device, for example, a mobile phone or a tablet computer including a display screen. Figure 1 As shown, the signal adjustment method in the embodiment of the present disclosure includes but is not limited to the following steps.

[0024] Step S101, obtaining a signal detection value.

[0025] The signal detection value represents the interference intensity to which the terminal is subjected.

[0026] For example, the terminal detects the acquired touch signal to obtain a signal detection value, where the touch signal is a signal generated by a display unit in the writing device touch terminal. For example, the signal detection value is a capacitance sensing change corresponding to the touch signal obtained by the display screen of the capacitive pen touch terminal.

[0027] For another example, the terminal detects the writing signal sent by the writing device and obtains a signal detection value. The signal detection value can reflect the interference situation between the terminal and the writing device during the communication process.

[0028] Step S102, adjusting the real-time reporting threshold according to the signal detection value.

[0029] Among them, the real-time point reporting threshold can be randomly adjusted based on the change of the signal detection value, so that the adjusted real-time point reporting threshold is greater than the signal detection value, thereby reducing the influence of interference on the writing effect.

[0030] The signal detection value may also be matched based on a plurality of preset reporting point thresholds of different sizes, and the preset reporting point threshold obtained by matching may be used as the adjusted real-time reporting point threshold, so that the adjustment of the reporting point threshold may be more accurate.

[0031] Step S103: sending a writing intensity adjustment instruction to the writing device.

[0032] The writing intensity adjustment instruction is used to adjust the real-time writing amplitude of the writing signal of the writing device according to the adjusted real-time reporting threshold.

[0033] In this embodiment, by obtaining a signal detection value, which represents the intensity of interference, it is convenient to understand the interference situation between the writing device and the terminal; the real-time reporting threshold is adjusted according to the signal detection value, so that the adjusted real-time reporting threshold can reduce the occurrence rate of abnormalities caused by interference; then, a writing intensity adjustment instruction is sent to the writing device, and the writing intensity adjustment instruction includes the adjusted real-time reporting threshold, so that the writing device can timely adjust the real-time writing amplitude of its writing signal according to the adjusted real-time reporting threshold, so that the adjusted real-time writing amplitude can match the adjusted real-time reporting threshold, thereby reducing the occurrence rate of abnormalities such as writing line breaks or point adjustments, and improving the user experience.

[0034] In some exemplary embodiments, the signal detection value represents a change value of interference within a preset time period.

[0035] When the interference represented by the signal detection value within the preset time period becomes larger, it can be adjusted by increasing the real-time reporting threshold; when the interference represented by the signal detection value within the preset time period becomes smaller, it can be adjusted by reducing the real-time reporting threshold; so that the adjusted real-time reporting threshold is greater than the signal fluctuation value caused by the interference, thereby reducing the proportion of abnormalities caused by interference.

[0036] For example, the preset duration is the duration between two adjacent data frames; the signal detection value is the difference between the received signal strengths of two adjacent data frames, and the received signal strength is the strength of the writing signal sent by the received writing device.

[0037] Using the difference in the received signal strength of two adjacent data frames as the signal detection value can reflect the change in interference between the two adjacent data frames, so that the impact of the interference can be adjusted in units of data frames to achieve the smallest granularity adjustment, so that the adjusted real-time reporting threshold can more accurately cover the interference and reduce the anomalies caused by the interference.

[0038] In some exemplary embodiments, adjusting the real-time reporting threshold according to the signal detection value in step S102 can be implemented in the following manner: determining the target interference range corresponding to the signal detection value according to the signal detection value; determining the target reporting threshold based on the mapping relationship between the target interference range and the reporting threshold; and adjusting the real-time reporting threshold to the target reporting threshold.

[0039] Among them, the mapping relationship between the target interference range and the reporting threshold is: one target interference range corresponds to one reporting threshold. When the target interference range is determined, its corresponding target reporting threshold is determined. For example, the signal detection value is matched with a plurality of preset interference ranges of different interference levels to obtain the target interference range corresponding to the signal detection value; and the target reporting threshold corresponding to the target interference range is determined.

[0040] Through multiple preset interference ranges with different interference levels, the real-time reporting threshold of the terminal can be dynamically adjusted in a step-by-step manner to ensure that the terminal can normally receive the writing signal sent by the writing device, thereby displaying the lines and other information corresponding to the writing signal, reducing the occurrence rate of abnormalities such as writing line breaks or point adjustments, and improving the anti-interference between the terminal and the writing device; at the same time, it ensures that the power consumption of the writing device will not increase significantly, reducing the energy consumption of the writing device and improving the user experience.

[0041] In some exemplary embodiments, the target interference range includes at least two preset interference ranges with successively increasing interference degrees, each preset interference range is determined by at least one preset interference threshold; the preset reporting threshold corresponding to each preset interference range is greater than or equal to the maximum preset interference threshold within the preset interference range.

[0042] For example, multiple preset interference ranges include a first preset interference range and a second preset interference range, wherein the first preset interference range is a range determined based on a first preset interference threshold, and the second preset interference range is a range determined based on the first preset interference threshold and the second preset interference threshold; the second preset interference threshold is greater than the first preset interference threshold.

[0043] When the signal detection value is less than the first preset interference threshold, it is determined that the signal detection value is within the first preset interference range, the first preset interference range corresponds to the first preset reporting point threshold, and the first preset reporting point threshold is greater than or equal to the first preset interference threshold.

[0044] When the signal detection value is greater than or equal to the first preset interference threshold, and the signal detection value is less than the second preset interference threshold, it is determined that the signal detection value is within the second preset interference range, and the second preset interference range corresponds to the second preset reporting threshold. In addition, the second preset reporting threshold is greater than or equal to the second preset interference threshold.

[0045] By adopting the above-mentioned two preset interference ranges, it can be ensured that the preset reporting threshold corresponding to each preset interference range is greater than or equal to the maximum preset interference threshold within the preset interference range, so that the interference received by the terminal will not affect the reporting of the capacitive touch screen therein. For example, it can reduce the occurrence rate of abnormalities such as broken writing lines or point adjustments on the capacitive touch screen, thereby improving the user experience.

[0046] In some exemplary embodiments, before executing the step S101 of acquiring the signal detection value, the method further includes: determining a real-time reporting threshold based on an initial reporting threshold corresponding to the initial interference range.

[0047] The initial interference range may be a first preset interference range; or may be a range determined based on an initial preset intervention threshold. In this case, the initial preset intervention threshold is smaller than the first preset interference threshold.

[0048] By determining the initial reporting threshold corresponding to the initial interference range, the real reporting threshold of the terminal can be clarified, so that when the real reporting threshold at other times is obtained subsequently, it can be compared with the initial reporting threshold. In other words, the initial reporting threshold is used as the initial comparison base to clarify whether there is interference at other subsequent times.

[0049] In some embodiments, the reporting threshold when there is no interference may also be used as the initial reporting threshold, so as to accurately determine the interference situation at other times.

[0050] Figure 2 A flow chart of a signal adjustment method provided by an embodiment of the present disclosure is shown. The signal adjustment method can be applied to a writing device for writing on a terminal, such as an electromagnetic pen or a capacitive pen. Among them, the electromagnetic pen supports suspension sensing, which can well confirm the position of the brush; and the refill of the electromagnetic pen is small and will not block the screen, and can clearly distinguish between fingers and pens, thereby preventing accidental touches. The capacitive pen includes an active capacitive pen, which inputs a writing signal by simulating a finger to use an electric current to absorb electrons from the capacitive screen.

[0051] like Figure 2 As shown, the signal adjustment method in the embodiment of the present disclosure includes but is not limited to the following steps.

[0052] Step S201, in response to the writing intensity adjustment instruction sent by the terminal, obtaining the adjusted real-time reporting threshold.

[0053] The writing intensity adjustment instruction includes an adjusted real-time reporting threshold value. The adjusted real-time reporting threshold value can be obtained by performing data analysis on the received writing intensity adjustment instruction.

[0054] Step S202, adjusting the real-time writing amplitude of the writing signal according to the adjusted real-time reporting threshold.

[0055] In some embodiments, adjusting the real-time writing amplitude of the writing signal according to the adjusted real-time reporting threshold in step S202 can be implemented in the following way: according to the mapping relationship between the writing amplitude and the preset reporting threshold of the terminal, the target writing amplitude is determined based on the adjusted real-time reporting threshold.

[0056] Among them, after determining the adjusted real-time reporting threshold according to the matching relationship between the writing amplitude and the preset reporting threshold of the terminal, the corresponding target writing amplitude is determined based on the adjusted real-time reporting threshold.

[0057] The matching relationship between the writing amplitude and the preset reporting threshold of the terminal includes: a matching relationship determined based on multiple writing level amplitudes and their corresponding interference levels. The real-time writing amplitude is any one of the multiple writing level amplitudes, and the multiple preset reporting thresholds in the terminal correspond to a writing level amplitude respectively. The interference level can be a level determined based on multiple preset interference ranges.

[0058] For example, the plurality of writing level amplitudes include a first writing level amplitude and a second writing level amplitude. Furthermore, the first writing level amplitude corresponds to a first preset reporting point threshold in the terminal, and the first preset reporting point threshold corresponds to a first preset interference range (for example, the first preset interference range is a range less than the first preset interference threshold); correspondingly, the second writing level amplitude corresponds to a second preset reporting point threshold in the terminal, and the second preset reporting point threshold corresponds to a second preset interference range (for example, the second preset interference range is a range greater than or equal to the first preset interference threshold and less than the second preset interference threshold), and the second writing level amplitude is greater than the first writing level amplitude.

[0059] When the terminal uses the first preset reporting threshold, the writing device uses the first writing level amplitude corresponding to the first preset reporting threshold; if the signal detection value obtained by detection is greater than the first preset interference threshold and the signal detection value is less than the second preset interference threshold, the first preset reporting threshold used by the terminal needs to be adjusted to the second preset reporting threshold. Correspondingly, the second writing level amplitude is used as the target writing amplitude, and then the first writing level amplitude corresponding to the first preset reporting threshold is adjusted to the second writing level amplitude.

[0060] Furthermore, if the terminal uses the second preset reporting threshold and the writing device uses the second writing level amplitude, the signal detection value obtained by real-time detection decreases. For example, when the signal detection value decreases to less than the first preset interference threshold, at this time, the second preset reporting threshold currently used by the terminal needs to be reduced to the first preset reporting threshold. Correspondingly, the first writing level amplitude is used as the target writing amplitude, and then the second writing level amplitude corresponding to the second preset reporting threshold is adjusted to the first writing level amplitude.

[0061] By matching the adjusted real-time reporting threshold with the matching relationship between the real-time writing amplitude and the preset reporting threshold of the terminal, the real-time attribute amplitude can be dynamically adjusted to the target writing amplitude, so that the target writing amplitude can match the real-time reporting threshold of the terminal, thereby eliminating the influence of interference on writing and improving the user experience.

[0062] In this embodiment, by performing data analysis on the received writing intensity adjustment instruction, the adjusted real-time reporting threshold can be obtained, so as to understand the degree of adjustment of the real-time reporting threshold by the terminal based on the signal detection value obtained, so that the writing device can adjust the real-time writing amplitude of the writing signal based on the adjusted real-time reporting threshold, so that the real-time writing amplitude can match the adjusted real-time reporting threshold, thereby reducing the occurrence rate of abnormalities such as writing line breaks or point adjustments caused by interference, and improving the user experience.

[0063] In some exemplary embodiments, before executing step S201 of obtaining the adjusted real-time reporting threshold in response to the writing intensity adjustment instruction sent by the terminal, the method further includes: sending a writing signal to the terminal.

[0064] The writing signal carries at least one of the following information: identification information of the writing device, writing pressure information of the writing device on the terminal, writing angle information of the writing device relative to the terminal, and real-time writing amplitude.

[0065] By sending a writing signal to the terminal, the terminal is informed of the identification information of the writing device with which it communicates and interacts (e.g., the device number and device name of the writing device), so that the terminal can communicate with the writing device effectively and quickly. Furthermore, by sending the writing pressure information of the writing device acting on the terminal (e.g., the real-time pressure and pressure information of the writing device acting on the display screen of the terminal) and the writing angle information of the writing device relative to the terminal (e.g., the horizontal angle information between the pen tip of the writing device and the display screen of the terminal, etc.) to the terminal, the terminal can more precisely understand the writing status of the writing device and improve the accuracy of obtaining the writing signal.

[0066] The device according to the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings. Figure 3 FIG. 1 shows a block diagram of a terminal provided by an embodiment of the present disclosure. Figure 3 As shown, the terminal 300 includes: one or more processors 301; a memory 302, on which one or more programs are stored. When the one or more programs are executed by the one or more processors 301, the one or more processors 301 implement any one of the signal adjustment methods applied to the terminal in the embodiments of the present disclosure.

[0067] For example, processor 301 is configured to execute the following method: obtain a signal detection value, the signal detection value represents the interference intensity to the terminal; adjust the real-time reporting threshold according to the signal detection value; send a writing intensity adjustment instruction to the writing device, the writing intensity adjustment instruction is used to adjust the real-time writing amplitude of the writing signal of the writing device according to the adjusted real-time reporting threshold.

[0068] According to the terminal of the embodiment of the present disclosure, a signal detection value is obtained through the processor 301, and the signal detection value represents the intensity of interference, so as to facilitate understanding of the interference situation between the writing device and the terminal; the real-time reporting threshold is adjusted according to the signal detection value, so that the adjusted real-time reporting threshold can reduce the occurrence ratio of abnormalities caused by interference; then, a writing intensity adjustment instruction is sent to the writing device, and the writing intensity adjustment instruction includes the adjusted real-time reporting threshold, so that the writing device can timely adjust the real-time writing amplitude of its writing signal according to the adjusted real-time reporting threshold, so that the adjusted real-time writing amplitude can match the adjusted real-time reporting threshold, thereby reducing the occurrence ratio of abnormalities such as writing line breaks or point adjustments, and improving the user experience.

[0069] Figure 4 1 is a block diagram showing the composition of the writing device provided by the embodiment of the present disclosure. Figure 4 As shown, the writing device 400 includes: one or more processors 401; and a memory 402 on which one or more programs are stored. When the one or more programs are executed by the one or more processors 401, the one or more processors 401 implement any one of the signal adjustment methods applied to the writing device in the embodiments of the present disclosure.

[0070] For example, the processor 401 is configured to execute the following method: in response to a writing intensity adjustment instruction sent by the terminal, obtain an adjusted real-time reporting threshold; and adjust the real-time writing amplitude of the writing signal according to the adjusted real-time reporting threshold.

[0071] According to the writing device of the embodiment of the present disclosure, the processor 401 performs data analysis on the received writing intensity adjustment instruction to obtain the adjusted real-time reporting threshold, so as to understand the degree of adjustment of the real-time reporting threshold by the terminal based on the signal detection value obtained, so that the writing device can adjust the real-time writing amplitude of the writing signal based on the adjusted real-time reporting threshold, so that the real-time writing amplitude can match the adjusted real-time reporting threshold, thereby reducing the occurrence rate of abnormalities such as writing line breaks or point adjustments caused by interference, and improving the user experience.

[0072] Figure 5 FIG. 2 shows a block diagram of a signal adjustment system provided by an embodiment of the present disclosure. Figure 5 As shown, the signal adjustment system includes but is not limited to the following devices: a terminal 510 and a capacitive stylus 520 .

[0073] The terminal 510 includes: a terminal writing receiving module 511 , a terminal wireless communication module 512 and a terminal processor 513 ; the capacitive pen 520 includes: a capacitive pen writing transmitting module 521 , a capacitive pen wireless communication module 522 and a capacitive pen processor 523 .

[0074] The writing signal sent by the capacitive pen writing transmitting module 521 is received by the terminal writing receiving module 511; after the terminal writing receiving module 511 processes the received writing signal (for example, message parsing, etc.), the terminal writing receiving module 511 will send the processed information to the terminal processor 513 so that the terminal processor 513 can further process the processed information (for example, convert the writing information into information that can be recognized by the terminal display screen, etc.).

[0075] Furthermore, the terminal processor 513 needs to communicate and interact with the capacitive pen wireless communication module 522 through the terminal wireless communication module 512, so that the capacitive pen 520 can synchronously obtain the real-time reporting threshold value adjusted by the terminal processor 513, and the real-time reporting threshold value is the threshold value obtained by the terminal processor 513 adjusting its own real-time reporting threshold value based on the acquired signal detection value. Then, the capacitive pen wireless communication module 522 forwards the acquired adjusted real-time reporting threshold value to the capacitive pen processor 523, so that the capacitive pen processor 523 can adjust the real-time writing amplitude of the writing signal sent by the terminal writing receiving module 511 based on the adjusted real-time reporting threshold value.

[0076] Among them, the writing signal carries at least one of the following information: identification information of the writing device (i.e., the capacitive pen 520), writing pressure information of the capacitive pen 520 acting on the terminal 510, writing angle information of the capacitive pen 520 relative to the terminal 510, and real-time writing amplitude.

[0077] It should be noted that the signal detection value represents the interference intensity with the writing device, wherein the interference may include display screen interference, charger common mode interference, or interference frequency generated by external devices (such as fluorescent lamps or other electrical equipment, etc.), or the interference intensity caused by the communication frequency used by the terminal 510 and the communication frequency used by the capacitive pen 520 being similar.

[0078] In some embodiments, the capacitive pen wireless communication module 522 and / or the terminal wireless communication module 512 can use any of the following short-range wireless communication technologies to communicate with other models: Bluetooth communication technology, wireless fidelity (WIREless Fidelity, WIFI) communication technology, near field communication (Near Field Communication, NFC) technology, radio frequency identification (Radio Frequency IDentification, RFID) technology, and ZigBee communication technology.

[0079] Preferably, the capacitive pen wireless communication module 522 and the terminal wireless communication module 512 communicate with each other using Bluetooth communication technology, which can reduce communication costs and improve the versatility of the technology.

[0080] In some embodiments, the terminal 510 may further include a capacitive touch screen (not shown in the figure), and the following method may be used to detect the interference between the terminal 510 and the capacitive pen 520, thereby obtaining a signal detection value:

[0081] When the capacitive pen 520 contacts the capacitive touch screen in the terminal 510, the terminal processor 513 in the terminal 510 can detect the capacitive sensing value of the capacitive touch screen to obtain the signal detection value. For example, based on the touch chip in the capacitive touch screen, the rows and columns of the capacitive touch screen are scanned and sampled to obtain the capacitive sensing value (for example, set as rawdata); then, the change amount of rawdata (for example, set as diff) is used as the signal detection value. When diff is greater than the preset reporting point threshold, the position coordinates of the reporting point are transmitted to the terminal processor 513, so that the terminal processor 513 generates a reporting point at the corresponding position of the capacitive touch screen (for example, the position corresponding to the position coordinates of the reporting point).

[0082] It should be noted that, when the signal detection value obtained by detection is larger, it indicates that the interference between the capacitive pen 520 and the terminal 510 is larger, and the accuracy of the reported point position displayed on the capacitive touch screen is also larger.

[0083] For example, the capacitive pen writing transmitting module 521 uses the difference in the received signal strength of two adjacent data frames sent by the capacitive pen writing transmitting module 521 as a signal detection value. When the signal detection value is greater than a preset interference threshold, it can be determined that there is interference between the capacitive pen 520 and the terminal 510. At this time, the capacitive pen writing transmitting module 521 will send the signal detection value obtained by the detection to the terminal processor 513, so that the terminal processor 513 adjusts the real-time reporting threshold based on the signal detection value.

[0084] In some embodiments, two preset interference ranges with increasing signal detection values ​​and interference levels are matched to obtain a target interference range corresponding to the signal detection value; a target reporting threshold corresponding to the target interference range is determined; and the real-time reporting threshold is adjusted to the target reporting threshold.

[0085] For example, the two preset interference ranges are ranges determined based on two preset interference thresholds in a step-by-step manner (for example, a first preset interference threshold and a second preset interference threshold, and the second preset interference threshold is greater than the first preset interference threshold).

[0086] Among them, when the signal detection value is less than the first preset interference threshold, it is determined that the signal detection value is within the first preset interference range, the first preset interference range corresponds to the first preset reporting threshold, and the first preset reporting threshold is greater than or equal to the first preset interference threshold. When the signal detection value is greater than or equal to the first preset interference threshold, and the signal detection value is less than the second preset interference threshold, it is determined that the signal detection value is within the second preset interference range, the second preset interference range corresponds to the second preset reporting threshold. And the second preset reporting threshold is greater than or equal to the second preset interference threshold.

[0087] By adopting the above-mentioned two preset interference ranges, it can be ensured that the preset reporting threshold corresponding to each preset interference range is greater than or equal to the maximum preset interference threshold within the preset interference range, so that the interference received by the terminal 510 will not affect the reporting of the capacitive touch screen therein. For example, the occurrence rate of abnormalities such as broken writing lines or point adjustments on the capacitive touch screen can be reduced, thereby improving the user experience.

[0088] Correspondingly, when the preset reporting threshold of the terminal 510 changes, the real-time writing amplitude of the writing signal of the capacitive pen 520 needs to be updated synchronously; after the capacitive pen processor 523 receives the adjusted real-time reporting threshold obtained by the capacitive pen wireless communication module 522, the capacitive pen processor 523 will determine the adjusted real-time reporting threshold based on the matching relationship between the real-time writing amplitude and the preset reporting threshold of the terminal 510, and determine the corresponding target writing amplitude based on the adjusted real-time reporting threshold.

[0089] The matching relationship between the real-time writing amplitude and the preset reporting threshold of the terminal 510 includes: a matching relationship determined based on multiple writing level amplitudes and their corresponding interference levels. The real-time writing amplitude is any one of the multiple writing level amplitudes, and the multiple preset reporting thresholds in the terminal 510 correspond to one writing level amplitude respectively.

[0090] For example, the plurality of writing level amplitudes include a first writing level amplitude and a second writing level amplitude. Furthermore, the first writing level amplitude corresponds to a first preset reporting point threshold in the terminal 510, and the first preset reporting point threshold corresponds to a first preset interference range; correspondingly, the second writing level amplitude corresponds to a second preset reporting point threshold in the terminal 510, and the second preset reporting point threshold corresponds to a second preset interference range, and the second writing level amplitude is greater than the first writing level amplitude.

[0091] When the terminal 510 uses the first preset point reporting threshold, the capacitive pen 520 uses the first writing level amplitude corresponding to the first preset point reporting threshold; if the signal detection value obtained by detection is greater than the first preset interference threshold within the first preset range, and the signal detection value is less than the second preset interference threshold, it is necessary to adjust the first preset point reporting threshold used by the terminal 510 to the second preset point reporting threshold.

[0092] For example, a preset signal "1" is sent to the capacitive pen wireless communication module 522 through the terminal wireless communication module 512 to indicate that the capacitive pen 520 needs to increase the real-time writing amplitude of its writing signal. When the capacitive pen wireless communication module 522 receives the preset signal "1", the capacitive pen wireless communication module 522 will feed back the preset signal "1" to the capacitive pen processor 523, so that the capacitive pen processor 523 increases the real-time writing amplitude of the writing signal output by the capacitive pen writing transmitting module 521 to the second writing level amplitude.

[0093] Further, if the terminal 510 uses the second preset reporting threshold and the capacitive pen uses the second writing level amplitude, the signal detection value obtained by real-time detection decreases, for example, when the signal detection value decreases to be less than the first preset interference threshold, at this time, the second preset reporting threshold currently used by the terminal 510 needs to be reduced to the first preset reporting threshold. Correspondingly, when the terminal 510 sends its adjusted first preset reporting threshold to the capacitive pen wireless communication module 522 through the terminal wireless communication module 512 (for example, the terminal wireless communication module 512 sends a preset signal "0" to the capacitive pen wireless communication module 522 to indicate that the real-time writing amplitude of the writing signal of the capacitive pen 520 needs to be reduced), the capacitive pen wireless communication module 522 feeds back the preset signal "0" to the capacitive pen processor 523, so that the capacitive pen processor 523 reduces the real-time writing amplitude of the writing signal output by the capacitive pen writing transmitting module 521 from the second writing level amplitude to the first writing level amplitude.

[0094] In some other optional embodiments, multiple preset interference ranges may be set, each preset interference range corresponding to a different preset interference threshold. For example, Table 1 shows the correspondence between multiple different levels of preset reporting thresholds of the terminal and the writing level amplitude used by the capacitive pen.

[0095] Table 1 Correspondence between multiple preset reporting thresholds of different levels of the terminal and the writing level amplitude of the capacitive pen

[0096]

[0097]

[0098] Among them, each preset interference threshold may be a threshold determined based on the acquired signal detection value of historical detection.

[0099] Through the above-mentioned multiple different levels of preset reporting thresholds, it is possible to implement a step-by-step dynamic adjustment of the preset reporting threshold of the terminal and the writing level amplitude of the capacitive pen, thereby ensuring that the capacitive touch screen of the terminal 510 can normally display the lines and other information corresponding to the writing signal sent by the capacitive pen 520, reducing the occurrence rate of abnormalities such as writing line breaks or point adjustments, and improving the anti-interference between the terminal 510 and the capacitive pen 520; at the same time, it is ensured that the power consumption of the capacitive pen 520 will not increase significantly, reducing the energy consumption of the capacitive pen 520, and improving the user experience.

[0100] It should be clear that the present disclosure is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.

[0101] Figure 6 A structural diagram showing an exemplary hardware architecture of a computing device capable of implementing the signal adjustment method and apparatus according to an embodiment of the present disclosure.

[0102] like Figure 6 As shown, the computing device 600 includes an input device 601, an input interface 602, a central processing unit 603, a memory 604, an output interface 605, and an output device 606. The input interface 602, the central processing unit 603, the memory 604, and the output interface 605 are connected to each other via a bus 607, and the input device 601 and the output device 606 are connected to the bus 607 via the input interface 602 and the output interface 605, respectively, and then connected to other components of the computing device 600.

[0103] Specifically, the input device 601 receives input information from the outside and transmits the input information to the central processing unit 603 through the input interface 602; the central processing unit 603 processes the input information based on the computer executable instructions stored in the memory 604 to generate output information, temporarily or permanently stores the output information in the memory 604, and then transmits the output information to the output device 606 through the output interface 605; the output device 606 outputs the output information to the outside of the computing device 600 for user use.

[0104] In one embodiment, Figure 6 The computing device shown may be implemented as an electronic device, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the signal adjustment method described in the above embodiment.

[0105] In one embodiment, Figure 6 The computing device shown may be implemented as a signal adjustment system, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the signal adjustment method described in the above embodiment.

[0106] The above is only an exemplary embodiment of the present disclosure and is not intended to limit the scope of protection of the present disclosure. In general, various embodiments of the present disclosure can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present disclosure is not limited thereto.

[0107] Embodiments of the present disclosure may be implemented by a processor executing computer program instructions, such as in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.

[0108] The block diagram of any logic flow in the drawings of the present disclosure may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. The computer program may be stored on a memory. The memory may have any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory devices and systems (digital versatile discs DVD or CD discs), etc. Computer-readable media may include non-transient storage media. The processor may be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.

[0109] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present disclosure has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present disclosure. Therefore, the proper scope of the present disclosure will be determined according to the claims.

Claims

1. A signal adjustment method, characterized in that: Applied to a terminal, the method comprises: Acquire a signal detection value, where the signal detection value represents the interference intensity to which the terminal is subjected; Adjust the real-time reporting threshold according to the signal detection value; A writing intensity adjustment instruction is sent to the writing device, wherein the writing intensity adjustment instruction is used to adjust the real-time writing amplitude of the writing signal of the writing device according to the adjusted real-time reporting threshold.

2. The method according to claim 1, characterized in that The signal detection value represents a change value of interference within a preset time period.

3. The method according to claim 2, characterized in that The signal detection value is the difference between the received signal strengths of two adjacent data frames, and the received signal strength is the strength of the received writing signal sent by the writing device.

4. The method according to claim 1, characterized in that: The step of adjusting the real-time reporting threshold according to the signal detection value comprises: Determine a target interference range corresponding to the signal detection value according to the signal detection value; Determine the target reporting threshold based on the mapping relationship between the target interference range and the reporting threshold; The real-time reporting point threshold is adjusted to the target reporting point threshold.

5. The method according to claim 4, characterized in that The target interference range includes: at least two preset interference ranges with increasing interference degrees, each of the preset interference ranges is determined by at least one preset interference threshold, and the preset reporting threshold corresponding to each preset interference range is greater than or equal to the maximum preset interference threshold within the preset interference range.

6. A signal adjustment method, characterized in that: Applied to a writing device, the method comprises: In response to the writing intensity adjustment instruction sent by the terminal, obtaining the adjusted real-time reporting threshold; The real-time writing amplitude of the writing signal is adjusted according to the adjusted real-time reporting threshold.

7. The method according to claim 6, characterized in that The step of adjusting the real-time writing amplitude of the writing signal according to the adjusted real-time reporting threshold value comprises: According to the mapping relationship between the writing amplitude and the preset reporting threshold of the terminal, the target writing amplitude is determined based on the adjusted real-time reporting threshold.

8. A terminal, characterized in that: include: one or more processors; A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the signal adjustment method as claimed in any one of claims 1 to 5.

9. A writing device, characterized in that include: one or more processors; A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the signal adjustment method as described in any one of claims 6 to 7.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the signal adjustment method according to any one of claims 1 to 5 is implemented, or the signal adjustment method according to any one of claims 6 to 7 is implemented.