Screen signal processing method, screen signal processing device and electronic equipment
By using the screen-out screen signal to determine noise and reduce noise on the screen-light screen when the first screen is on and the second screen is off in the capacitive touch screen, the problem of capacitive touch screen being susceptible to external interference is solved, and touch flexibility is improved.
Patent Information
- Application Number
- CN202211285330.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-10-20
AI Technical Summary
Capacitive touch screens are susceptible to external interference such as charging and electromagnetics. The existing time-sharing scanning methods are inaccurate in detecting noise signals, which affects touch flexibility.
When the first screen is on and the second screen is off, the signals of the two screens are acquired synchronously, the noise signal is determined using the signals of the screen-out screen, and the noise reduction process is performed on the bright screen.
It improves the detection accuracy and real-time of noise signals, effectively filters out noise interference, and improves touch flexibility.
Smart Images

Figure CN115629673B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and specifically relates to a screen signal processing method, a screen signal processing device and an electronic device. Background Art
[0002] Capacitive touch screens are very susceptible to various external interferences such as charging, electromagnetic interference, unstable grounding, etc., and the above interferences have characteristics such as instantaneous changes and irregularities, which affect the touch flexibility of the touch screen.
[0003] Currently, a time-sharing scanning method is commonly used to detect touch screen noise. This method treats the noise signal at time point T+i as the noise signal at time point T. As can be seen, the noise signal detected by time-sharing scanning is not the real-time noise signal of the touch screen. Therefore, the noise signal detection accuracy is low, and it is impossible to effectively filter out the noise signal from the screen signal. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a screen signal processing method, a screen signal processing device and an electronic device, which can effectively filter out noise signals in the screen signal, thereby reducing the interference of the noise signal on the screen signal.
[0005] In a first aspect, an embodiment of the present application provides a screen signal processing method, which is used for an electronic device including a first screen and a second screen. The screen signal processing method includes: when the first screen is in a bright screen state and the second screen is in an off screen state, obtaining a first screen signal of the first screen and a second screen signal of the second screen; determining a target noise signal based on the second screen signal; and performing noise reduction processing on the first screen signal based on the target noise signal.
[0006] In the second aspect, an embodiment of the present application provides a screen signal processing device, which is used for an electronic device including a first screen and a second screen. The screen signal processing device includes: a processing unit, which is used to obtain a first screen signal of the first screen and a second screen signal of the second screen when the first screen is in a bright screen state and the second screen is in an off screen state; the processing unit is also used to determine a target noise signal based on the second screen signal; the processing unit is also used to perform noise reduction processing on the first screen signal based on the target noise signal.
[0007] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the screen signal processing method of the first aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium having a program or instruction stored thereon. When the program or instruction is executed by a processor, the steps of the screen signal processing method of the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the screen signal processing method of the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the screen signal processing method of the first aspect.
[0011] In the screen signal processing method provided in an embodiment of the present application, when the first screen is in a bright screen state and the second screen is in an off screen state, a first screen signal of the first screen and a second screen signal of the second screen are obtained, and then a target noise signal is determined based on the second screen signal, and noise reduction processing is performed on the first screen signal based on the target noise signal.
[0012] Through the above-mentioned screen signal processing method, for an electronic device with a first screen and a second screen, when the first screen is on and the second screen is off, the screen signals of the two display screens are detected. On this basis, the target noise signal is determined by the screen signal of the off screen, that is, the second screen signal, and the target noise signal is used as the noise signal of the on screen. The screen signal of the on screen, that is, the first screen signal, is subjected to noise reduction processing using the determined target noise signal to obtain the first screen signal after noise reduction. It can be understood that the screen signal of the off screen can be regarded as the noise signal of the off screen, and the screen signal of the on screen includes a valid screen signal and a noise signal. In this way, the noise signal of the on screen is determined using the screen signal of the off screen, that is, the noise signal of the off screen, thereby ensuring the accuracy and real-time nature of the determination of the noise signal of the on screen, thereby effectively filtering the noise signal of the on screen, reducing the interference of the noise signal on the on screen, and thus improving the touch flexibility of the on screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 A flowchart of a screen signal processing method provided in an embodiment of the present application;
[0014] Figure 2 One of the principle diagrams of the screen signal processing method provided in an embodiment of the present application;
[0015] Figure 3 The second schematic diagram of the screen signal processing method provided in an embodiment of the present application;
[0016] Figure 4 The third schematic diagram of the screen signal processing method provided in an embodiment of the present application;
[0017] Figure 5 A structural block diagram of a screen signal processing device provided in an embodiment of the present application;
[0018] Figure 6 A structural block diagram of an electronic device provided in an embodiment of the present application;
[0019] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0021] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0022] The embodiments of the first aspect of the present application provide a screen signal processing method. The technical solution of the screen signal processing method provided in the embodiments of the present application can be implemented by a screen signal processing device. The specific implementation can be determined based on actual usage requirements and is not limited by the embodiments of the present application. To more clearly describe the screen signal processing method provided in the embodiments of the present application, the following method embodiments use the screen signal processing device as the implementation entity for exemplary description.
[0023] The screen signal processing method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0024] like Figure 1 As shown, the embodiment of the present application provides a screen signal processing method, which may include the following S102 to S106:
[0025] S102: Acquire a first screen signal of a first screen and a second screen signal of a second screen.
[0026] The screen signal processing method proposed in the embodiment of the present application is applied to an electronic device including a first screen and a second screen. The electronic device can specifically be a foldable screen mobile phone, a dual-screen mobile phone, a foldable screen notebook, a foldable screen tablet, etc., and no specific restrictions are made here.
[0027] The first screen is in a bright state, that is, the first screen is in a normal working state and can receive a user's touch signal. The second screen is in a dark state and cannot receive a user's touch signal.
[0028] Based on this, it can be understood that since the second screen is off, it is not subject to display interference. When there are no abnormalities within the second screen, the second screen can be considered to be affected only by external interference signals such as charging, electromagnetic interference, and unstable grounding. In other words, the screen signal detected by the second screen in the off state is the second screen signal, which can be considered the noise signal of the second screen.
[0029] Furthermore, because the first screen is in the bright screen state, it can receive the user's touch signal while being affected by the external interference signal. That is, the screen signal of the first screen, i.e., the first screen signal, includes both the valid screen signal, i.e., the user's touch signal on the first screen, and the noise signal received by the first screen.
[0030] Specifically, in the screen signal processing method proposed in the embodiment of the present application, for an electronic device having a first screen and a second screen, when the first screen is in a bright screen state and the second screen is in an off screen state, the first screen and the second screen are driven synchronously to synchronously detect the first screen signal of the first screen and the second screen signal of the second screen, thereby synchronously detecting the noise signals of the first screen and the second screen, so that the noise signal of the bright screen, i.e., the first screen, can be subsequently determined through the noise signal of the off screen, i.e., the second screen.
[0031] S104: Determine a target noise signal according to the second screen signal.
[0032] Among them, the above-mentioned second screen signal is a screen signal detected by the second screen in the off state. Since the second screen is in the off state, when there is no abnormality inside the second screen, the above-mentioned second screen signal can be regarded as a noise signal of the second screen.
[0033] Furthermore, it can be understood that the first screen and the second screen are driven synchronously, and the first screen signal and the second screen signal are obtained by synchronously detecting the first screen and the second screen. Therefore, there is a correlation between the noise signal of the first screen and the noise signal of the second screen detected at the same time. In other words, there is a correlation between the noise signal in the first screen signal and the second screen signal. In other words, the second screen in the off state can serve as a noise signal detection device for the first screen in the on state, and the noise signal of the first screen in the on state is determined by the noise signal detected by the second screen.
[0034] Specifically, in the screen signal processing method proposed in the embodiment of the present application, after synchronously detecting the first screen and the second screen to obtain the first screen signal of the first screen and the second screen signal of the second screen, the second screen signal is regarded as the noise signal of the second screen, and according to the correlation between the noise signals of the first screen and the second screen at the same time, the above-mentioned second screen signal is analyzed and processed to obtain the noise signal of the first screen, that is, the above-mentioned target noise signal, so that the above-mentioned first screen signal can be subsequently denoised by the target noise signal.
[0035] S106: Perform noise reduction processing on the first screen signal according to the target noise signal.
[0036] Since the first screen is in a bright screen state, the first screen signal includes both a valid screen signal, ie, a touch signal of the first screen by the user, and a noise signal received by the first screen.
[0037] Furthermore, the target noise signal is obtained by processing the detected noise signal of the second screen, i.e., the second screen signal, based on the correlation between the noise signals of the first and second screens at the same moment. Therefore, the target noise signal can be considered the noise signal of the first screen. The target noise signal can be used to perform noise reduction on the first screen signal to obtain a noise-reduced first screen signal. This reduces the impact of the noise signal on the operating first screen, thereby improving the flexibility of the first screen's touch operation.
[0038] Specifically, in the screen signal processing method proposed in the embodiment of the present application, after determining the noise signal of the first screen, i.e., the above-mentioned target noise signal, based on the noise signal of the second screen, i.e., the above-mentioned second screen signal, the target noise signal is regarded as the noise signal of the first screen, and the first screen signal and the target noise signal are differenced to filter out the noise signal in the first screen signal, thereby obtaining the first screen signal after noise reduction.
[0039] Through the above-mentioned screen signal processing method provided by the embodiment of the present application, for an electronic device with a first screen and a second screen, when the first screen is on and the second screen is off, the screen signals of the two display screens, namely the first screen signal and the second screen signal, are detected. It can be understood that the screen signal of the off screen can be regarded as the noise signal of the off screen, and the screen signal of the on screen includes a valid screen signal and a noise signal. On this basis, the target noise signal is determined by the screen signal of the second screen that is off, namely the second screen signal, and the target noise signal is used as the noise signal of the first screen that is on. The screen signal of the first screen, namely the first screen signal, is subjected to noise reduction processing by the determined target noise signal to obtain the first screen signal after noise reduction. In this way, the second screen in the off state is used as a noise signal detection device for the first screen in the bright state, and the noise signal of the first screen in the bright state is determined by the screen signal of the second screen that is off, that is, the noise signal of the second screen that is off, thereby ensuring the accuracy and real-time nature of the determination of the noise signal of the first screen that is bright, so that the noise signal of the first screen that is bright can be effectively filtered out, reducing the interference of the noise signal on the first screen, thereby improving the touch flexibility of the first screen.
[0040] In the embodiment of the present application, the above S102 may specifically include the following S102a:
[0041] S102a: Acquire a first screen signal of the first screen and acquire a second screen signal of the second screen according to the target frequency and the target phase.
[0042] The target frequency is the signal frequency of the screen scanning signal of the first screen, and the target phase is the signal phase of the screen scanning signal of the first screen.
[0043] Specifically, in actual application, both the first screen and the second screen perform signal detection according to the target frequency and target phase, thereby detecting and obtaining the first screen signal of the first screen and the second screen signal of the second screen.
[0044] In actual application, during the detection of the screen signals of the first screen and the second screen, the first screen lights up and the second screen goes out. At this time, the first screen can select the target working frequency, that is, the above-mentioned target frequency, and send the target frequency to the second screen. At the same time, the first screen sends a synchronous scanning signal, that is, a target synchronization signal, to the second screen, so that the first screen and the second screen are synchronously driven according to the target synchronization signal. In this way, the second screen and the first screen can work synchronously with the same working frequency and working phase, thereby synchronously detecting the first screen signal of the first screen and the second screen signal of the second screen.
[0045] It can be understood that the first screen and the second screen perform signal detection at the same frequency and phase, ensuring the synchronization of the detected first screen signal and the second screen signal. On this basis, the second screen signal is subsequently analyzed and processed according to the correlation between the noise signals of the first screen and the second screen at the same moment, so that the noise signal of the first screen obtained, that is, the target noise signal, is closer to the actual noise signal in the first screen signal. In this way, when the first screen signal is subjected to noise reduction processing by the determined target noise signal, the noise signal in the first evaluation signal can be effectively filtered out, thereby reducing the influence of the noise signal on the first screen signal and improving the flexibility of touch control on the first screen.
[0046] In the above-mentioned embodiment provided by the present application, in the process of detecting the screen signals of the first screen and the second screen, the first screen signal of the first screen and the second screen signal of the second screen are synchronously acquired according to the signal frequency and signal phase of the screen scanning signal of the first screen, that is, according to the above-mentioned target frequency and target phase. In this way, the first screen and the second screen synchronously perform signal detection according to the same frequency and phase, thereby ensuring the synchronization of the detected first screen signal and the second screen signal, so that the determined target noise signal is closer to the actual noise signal in the above-mentioned first screen signal. In other words, the accuracy and real-time nature of the determination of the noise signal of the first screen of the bright screen are guaranteed, so that the noise signal of the first screen of the bright screen can be effectively filtered out, reducing the interference of the noise signal on the first screen, thereby improving the touch flexibility of the first screen.
[0047] In the embodiment of the present application, the second screen includes a target scanning channel. On this basis, the step of acquiring the second screen signal of the second screen may specifically include the following S108, and the above S104 may specifically include the following S104a to S104c:
[0048] S108: Acquire a second channel signal of the target scanning channel within M scanning cycles, and determine the second channel signal as a second screen signal.
[0049] It can be understood that the second screen includes multiple horizontal scanning channels and multiple vertical scanning channels. In the embodiment of the present application, the above-mentioned target scanning channel is any one of the multiple vertical scanning channels of the second screen.
[0050] Furthermore, M is a positive integer. In actual application, M is associated with the number of vertical scanning channels in the first screen.
[0051] Specifically, during the detection of the second screen signal of the second screen, after receiving the target operating frequency transmitted by the first screen, the second screen selects a longitudinal scanning channel from a plurality of longitudinal scanning channels based on the target operating frequency as the target scanning channel, and uses this target scanning channel as the scanning channel for noise detection on the second screen itself. On this basis, the target scanning channel is continuously scanned at the target frequency and target phase, obtaining the channel signal of the target scanning channel within M scanning cycles, namely, the second channel signal.
[0052] It is understood that the second channel signal includes a periodic scanning signal obtained by scanning the target scanning channel within each scanning cycle, that is, the second channel signal includes M periodic scanning signals, one periodic scanning signal corresponding to one scanning cycle. On this basis, the M periodic scanning signals, i.e., the second channel signal, are determined as the second screen signal of the second screen, so that the noise signal of the first screen signal, i.e., the target noise signal, can be subsequently determined based on the second screen signal.
[0053] For example, Figure 2 As shown, in the electronic device, the first screen 202 and the second screen 204 are connected by a synchronization signal line 206 to ensure that the scanning cycles of the first screen 202 and the second screen 204 are synchronized. Among them, the first screen 202 includes 7 first scanning channels 208, which are respectively recorded as TX0, TX1, TX2, TX3, TX4, TX5, and TX6; the second screen 204 includes 5 second scanning channels 210, which are respectively recorded as TX7, TX8, TX9, TX10, and TX11. The first screen 202 includes 9 horizontal scanning channels, namely RX0 to RX8, and the second screen 204 includes 6 horizontal scanning channels, namely RX0' to RX5'. On this basis, in the process of noise detection on the second screen 204, the second screen 204 selects the scanning channel TX9 as the target scanning channel 212 according to the target operating frequency of the first screen 202. Furthermore, the second screen 204 determines the target scanning signal according to the above-mentioned target frequency and target phase, and continuously scans the above-mentioned target scanning channel 212 through the target scanning signal. As shown Figure 3 As shown in (b) of FIG. 2 , the second screen 204 continuously scans the scanning channel 212 to obtain a second channel signal 304 of the target scanning channel 212 in seven scanning cycles, namely, cycle 0, cycle 1, cycle 2, cycle 3, cycle 4, cycle 5, and cycle 6. The second channel signal 304 includes seven cycle scanning signals 306, where one cycle scanning signal 306 corresponds to one scanning cycle.
[0054] S104a: Perform first processing on the second channel signal in each scanning period to obtain M first target signals.
[0055] There is a one-to-one correspondence between the M scanning periods and the M first target signals.
[0056] Specifically, in the screen signal processing method proposed in the embodiment of the present application, in the process of determining the noise signal of the first screen, that is, the above-mentioned target noise signal, based on the second screen signal, for the second channel signal of the target scanning channel obtained by the above-mentioned scanning within M scanning cycles, the first processing is performed on the second channel signal in each scanning cycle, that is, the M period scanning signals in the second channel signal, so as to obtain M first target signals.
[0057] The M first target signals correspond to the M periodic scanning signals one-to-one, and one first target signal can reflect the noise signal of the second screen in one scanning period.
[0058] Furthermore, in actual applications, the first processing may be specifically a mean processing, wherein the M periodic scanning signals in the second channel signal are respectively subjected to mean processing to obtain M mean signals, wherein one mean signal represents the average noise signal of the second screen within one scanning period.
[0059] S104b: Perform second processing on the M first target signals according to the target mapping relationship to obtain M second target signals.
[0060] Among them, the M first target signals and the M second target signals correspond one to one.
[0061] Furthermore, the above-mentioned target mapping relationship is the correlation between the noise signal of the first screen and the noise signal of the second screen detected at the same time at the above-mentioned target operating frequency. Through the target mapping relationship and the first target signal of the second screen in each scanning cycle, the noise signal of the first screen in each scanning cycle, that is, the above-mentioned second target signal, can be determined.
[0062] It is understandable that due to the differences in screen size, sensor size, impedance value, etc. between the first screen and the second screen, under the same interference situation, the strength of the noise signal received by the first screen and the second screen is different. However, for each display screen, the impedance of the screen itself is determined, and the impedance of the peripheral circuit of the screen is also determined. The impact of the same external interference condition on the screen is related to the impedance value of the screen itself and the peripheral circuit. Therefore, in actual application, those skilled in the art can determine the target mapping relationship between the noise signals of the first screen and the second screen through multiple experiments.
[0063] Specifically, in the actual application process, during the production testing stage of the display screen, technical personnel in this field can determine the noise correspondence between the first screen and the second screen at each operating frequency point by artificially introducing interference, and calibrate the above-determined noise correspondence through multiple experiments to obtain the target mapping relationship between the noise signals of the first screen and the second screen at each operating frequency point, and store the target mapping relationship in the storage device of the electronic device so that the target mapping relationship can be directly called by the subsequent electronic device.
[0064] On this basis, in the screen signal processing method proposed in the embodiment of the present application, a target mapping relationship between the noise signal of the first screen and the noise signal of the second screen at the above-mentioned target operating frequency is obtained. On this basis, after performing a first processing on each of the M periodic scanning signals in the second channel signal to obtain corresponding M first target signals, for each first target signal, a second processing is performed on the first target signal according to the above-mentioned target mapping relationship to obtain a corresponding second target signal, thereby obtaining M second target signals.
[0065] S104c: Determine the M second target signals as target noise signals.
[0066] The second target signal represents a noise signal of the first screen in each scanning period.
[0067] On this basis, after obtaining the noise signal of the first screen in M scanning periods, that is, after obtaining the M second target signals, the M second target signals are determined as the target noise signals.
[0068] For example, for a second screen including six horizontal scanning channels, the signal values of the second screen signal detected by the second screen in periods 0 to 6 are shown in the following Table 1, wherein each scanning period includes six signal values.
[0069] On this basis, the six signal values within each scanning cycle are averaged according to the principle of rounding to the nearest integer, obtaining the average signal of these six signal values. In this way, the seven average signals corresponding to the seven scanning cycles are obtained: "4, 83, 25, 109, -35, 150, -50". Furthermore, based on the above target mapping relationship, the ratio of the second target signal to the average signal is determined to be 1:1, resulting in seven second target signals: "4, 83, 25, 109, -35, 150, -50". These seven second target signals are determined as the above target noise signals.
[0070] Table 1: Second screen signal values
[0071] Cycle 0 Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 Cycle 6 -3 82 20 100 -35 132 -47 2 78 22 107 -33- 138 -45 3 76 31 100 -28 141 -44 6 81 20 110 -42 159 -57 2 90 28 119 -39 168 -54 11 88 31 119 -35 163 -52
[0072] In the above embodiment provided by the present application, the second screen includes a target scanning channel, and the second channel signal of the target scanning channel within M scanning cycles is obtained, and the second channel signal is determined as the second screen signal. On this basis, the second channel signal within each scanning cycle is subjected to a first processing to obtain M first target signals, and the M first target signals are subjected to a second processing according to the target mapping relationship to determine M second target signals, and then the M second target signals are determined as target noise signals. Wherein, M is a positive integer, and there is a one-to-one correspondence between the M scanning cycles, the M first target signals and the M second target signals. In this way, according to the target mapping relationship between the noise signal of the first screen and the noise signal of the second screen at the above target frequency, the noise signal of the first screen, that is, the above target noise signal, is determined, so that the determined target noise signal is closer to the actual noise signal in the above first screen signal, thereby ensuring the accuracy and authenticity of the determination of the noise signal of the first screen, improving the noise reduction efficiency of the first screen, and reducing the interference of the noise signal on the first screen.
[0073] In the embodiment of the present application, the first screen includes M first scanning channels. On this basis, the step of obtaining the first screen signal of the first screen may specifically include the following S110, and the above S106 may specifically include the following S106a and S106b:
[0074] S110: Acquire M first channel signals of M first scanning channels within M scanning periods, and determine the M first channel signals as first screen signals.
[0075] It can be understood that the first screen includes multiple horizontal scanning channels and multiple vertical scanning channels. In the embodiment of the present application, the above-mentioned first scanning channel is the vertical scanning channel of the first screen.
[0076] Specifically, in the process of detecting the first screen signal of the first screen, the first screen scans its own M first scanning channels in sequence according to the above-mentioned target frequency and target phase, and the scanning time of each first scanning channel is one scanning cycle, thereby obtaining M first channel signals of the M first scanning channels of the first screen within M scanning cycles, and determining the M first channel signals as the above-mentioned first screen signal.
[0077] There is a one-to-one correspondence between the M scanning cycles, the M first scanning channels, and the M first channel signals. That is, within a scanning cycle, the first screen scans only one first scanning channel, thereby obtaining a first channel signal corresponding to the first scanning channel. In other words, the first screen signal only contains a first channel signal for one first scanning channel within each scanning cycle.
[0078] For example, Figure 2 As shown, in the electronic device, the first screen 202 and the second screen 204 are connected by a synchronization signal line 206 to ensure that the scanning cycles of the first screen 202 and the second screen 204 are synchronized. The first screen 202 includes 7 first scanning channels 208, which are respectively recorded as TX0, TX1, TX2, TX3, TX4, TX5, and TX6; the second screen 204 includes 5 second scanning channels 210, which are respectively recorded as TX7, TX8, TX9, TX10, and TX11. On this basis, in the process of signal detection on the first screen 202, the first screen 202 determines the target scanning signal according to the above-mentioned target frequency and target phase, and scans the 7 first scanning channels 208 in turn through the target scanning signal, wherein the scanning time of each first scanning channel 208 is one scanning cycle. In this way, as Figure 3 As shown in (a) of FIG. 1 , the first screen 202 sequentially scans the seven first scanning channels 208 to obtain seven first channel signals 302 of the seven first scanning channels 208 within seven scanning cycles. One first channel signal 302 corresponds to one scanning cycle, and one first channel signal 302 corresponds to one first scanning channel 208.
[0079] S106a: Perform difference processing on each first channel signal in the first screen signal according to each second target signal in the target noise signal to obtain M third target signals.
[0080] There is a one-to-one correspondence between the M first channel signals, the M second target signals, and the M third target signals.
[0081] Furthermore, the target noise signal is the noise signal of the first screen within M scanning cycles, and the target noise signal includes M second target signals. The M second target signals correspond one-to-one to the M first scanning channels, and each second target signal represents the noise signal of the first screen within each scanning cycle. That is, one second target signal represents the noise signal of one first scanning channel.
[0082] Furthermore, the first screen signal includes M first channel signals, each first channel signal is a screen signal obtained by scanning the first screen in each scanning cycle, and a first channel signal is a channel signal of a first scanning channel.
[0083] On this basis, in the screen signal processing method proposed in the embodiment of the present application, after obtaining the first screen signal of the first screen and the above-mentioned target noise signal, for each first channel signal in the first screen signal, the first channel signal is subtracted from the second target signal corresponding to the first channel signal in the target noise signal to remove the noise signal in the first channel signal, thereby obtaining the corresponding third target signal.
[0084] S106b: Determine the M third target signals as target screen signals.
[0085] The third target signal is a signal obtained by performing noise reduction processing on the corresponding first channel signal in the first screen signal.
[0086] On this basis, the M third target signals obtained by the noise reduction process are determined as the first screen signal after noise reduction, that is, the target screen signal, wherein the noise intensity in the target noise signal is less than the signal intensity in the first screen signal.
[0087] For example, for a first screen including 9 horizontal scanning channels and 7 vertical scanning channels, i.e., first scanning channels, the signal values of the first screen signal detected by the first screen in period 0 to period 6 are shown in Table 2 below, and the three-dimensional graph of the first screen signal is shown in Table 2 below. Figure 4 As shown in (a) in FIG. 1 , the first screen signal includes 7 first channel signals, one first channel signal corresponds to one scanning cycle, and each first channel signal includes 9 signal values.
[0088] On this basis, for each of the 9 signal values in the first channel signal, the corresponding second target signal in the above-mentioned target noise signal "4, 83, 25, 109, -35, 150, -50" is subtracted, and one first channel signal corresponds to one second target signal. That is, for the 9 signal values in the first channel signal in period 0, the second target signal value "4" is subtracted, for the 9 signal values in the first channel signal in period 1, the second target signal value "83" is subtracted, for the 9 signal values in the first channel signal in period 2, the second target signal value "25" is subtracted, for the 9 signal values in the first channel signal in period 3, the second target signal value "109" is subtracted, for the 9 signal values in the first channel signal in period 4, the second target signal value "-35" is subtracted, for the 9 signal values in the first channel signal in period 5, the second target signal value "150" is subtracted, and for the 9 signal values in the first channel signal in period 6, the second target signal value "-50" is subtracted, thus obtaining the target screen signal.
[0089] The signal values of the target screen signal in period 0 to period 6 are shown in Table 3 below, and the three-dimensional graph of the target screen signal is shown in Table 3 below. Figure 4 As shown in (b) in . Figure 4 It can be seen that compared with the first screen signal, the target screen signal has smaller signal amplitude fluctuations and more regular changes. In other words, compared with the first screen signal, the noise intensity in the target screen signal is smaller, and the target screen signal is less interfered with by the noise signal.
[0090] Table 2: First screen signal values
[0091] Cycle 0 Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 Cycle 6 -3 79 24 109 -33 146 -45 3 82 28 108 -33 157 -56 11 100 67 139 -24 153 -58 10 134 330 440 18 182 -64 7 169 292 649 157 199 -62 1 130 181 399 35 210 -65 -2 115 56 179 -37 195 -68 8 123 34 152 -49 214 -62 8 118 44 154 -51 221 -68
[0092] Table 3: Target screen signal values
[0093] T0 T1 T2 T3 T4 T5 T6 -7 -4 -1 0 2 -4 5 -1 -1 3 -1 2 7 -6 7 17 42 30 11 3 -8 6 51 305 331 53 32 -14 3 86 267 540 192 49 -12 -3 47 156 290 70 60 -15 -6 32 31 70 -2 45 -18 4 40 9 43 -14 64 -12 4 35 19 45 -16 71 -18
[0094] In the above-mentioned embodiment provided by the present application, the first screen includes M first scanning channels, and M first channel signals of the M first scanning channels within M scanning cycles are obtained, and the M first channel signals are determined as the first screen signals. On this basis, according to each second target signal in the target noise signal, each first channel signal in the first screen signal is subjected to difference processing to obtain M third target signals, and the M third target signals are determined as the target screen signal. Among them, there is a one-to-one correspondence between M scanning cycles, M first scanning channels, M first channel signals, M second target signals, and M third target signals. In this way, for each first channel signal in the first screen signal, the first channel signal is subjected to noise reduction processing through the second target signal corresponding to the first channel signal in the target noise signal, which can effectively filter out the noise signal in the first screen signal, improve the noise reduction efficiency of the first screen, reduce the interference of the noise signal on the first screen, and thus improve the touch flexibility of the first screen.
[0095] In the embodiment of the present application, the above S110 may specifically include the following S110a and S110b, and the above S108 may specifically include the following S108a:
[0096] S110a: Determine a target scanning signal according to a target frequency and a target phase.
[0097] The target frequency and target phase are determined based on the target operating frequency and target synchronization signal of the first screen.
[0098] Specifically, in an embodiment of the present application, a corresponding target scanning signal is determined based on the target frequency and target phase. On this basis, in the subsequent process of acquiring the second channel signal of the target scanning channel within M scanning cycles, the target scanning channel in the second screen is continuously scanned using the target scanning signal to obtain the second channel signal of the target scanning channel within M scanning cycles. Furthermore, in the subsequent process of acquiring M first channel signals of M first scanning channels within M scanning cycles, the M first scanning channels in the first screen are sequentially scanned using the target scanning signal to obtain M first channel signals of the M first scanning channels within M scanning cycles.
[0099] S110b: Scan the M first scanning channels in sequence according to the target scanning signal in a preset order to obtain a first channel signal of each first scanning channel.
[0100] The scanning duration of each first scanning channel is the scanning period.
[0101] Specifically, in the process of obtaining M first channel signals of M first scanning channels within M scanning cycles, the first screen scans its own M first scanning channels in sequence according to a preset order through the above-mentioned target scanning signal, and the scanning time of each first scanning channel is one scanning cycle, thereby obtaining M first channel signals of the M first scanning channels of the first screen within M scanning cycles, and determining the M first channel signals as the above-mentioned first screen signals.
[0102] Among them, there is a one-to-one correspondence between the M scanning cycles, the M first scanning channels, and the M first channel signals. That is, in one scanning cycle, the first screen only scans one first scanning channel, thereby obtaining the first channel signal corresponding to the first scanning channel. In other words, the first screen signal only has one first channel signal of the first scanning channel in each scanning cycle.
[0103] S108a: According to the scanning cycle, cyclically scan the target scanning channel M times using the target scanning signal to obtain a second channel signal of the target scanning channel in each scanning cycle.
[0104] Specifically, in the process of obtaining the second channel signal of the target scanning channel within M scanning cycles, the second screen continuously scans the above-mentioned target scanning channel through the above-mentioned target scanning signal according to the above-mentioned scanning cycle, so as to cyclically scan the target scanning channel M times, thereby obtaining the second channel signal of the target scanning channel within M scanning cycles.
[0105] It can be understood that the second channel signal includes a periodic scanning signal obtained by scanning the target scanning channel in each scanning cycle, that is, the second channel signal includes M periodic scanning signals, and one periodic scanning signal corresponds to one scanning cycle.
[0106] In the above-mentioned embodiment provided by the present application, a target scanning signal is determined according to a target frequency and a target phase, and then, in accordance with a preset order, M first scanning channels are sequentially scanned by the target scanning signal, and the scanning duration of each first scanning channel is a scanning period, so as to obtain the first channel signal of each first scanning channel. At the same time, according to the scanning period, the target scanning channel is cyclically scanned M times by the target scanning signal to obtain the second channel signal of the target scanning channel in each scanning period. In this way, both the first screen and the second screen perform signal scanning operations through the above-mentioned target scanning signal, thereby ensuring the synchronization of the detected first screen signal and the second screen signal, thereby ensuring the accuracy and real-time nature of the determination of the noise signal of the first screen, i.e., the above-mentioned target noise signal, thereby improving the efficiency of the subsequent noise reduction processing of the first screen, reducing the interference of the noise signal on the first screen, and thus improving the touch flexibility of the first screen.
[0107] In the embodiment of the present application, before the above S102, the above screen signal processing method may further include the following S100 and S101:
[0108] S100: Performing touch screen detection on the second screen.
[0109] Specifically, in the screen signal processing method provided in the embodiment of the present application, before obtaining the first screen signal of the first screen and the second screen signal of the second screen, a touch screen detection is performed on the second screen in the off state to determine the working status of the second screen based on the touch screen detection result.
[0110] S101: When the touch screen detection result meets the preset conditions, the second screen is controlled to perform screen scanning; when the touch screen detection result does not meet the preset conditions, the second screen is controlled to stop the screen scanning.
[0111] The above-mentioned preset condition is used to indicate that the second screen is in a normal working state.
[0112] Specifically, in the screen signal processing method provided in the embodiment of the present application, before obtaining the first screen signal of the first screen and the second screen signal of the second screen, a touch screen detection is performed on the second screen in the off state. On this basis, when the touch screen detection result of the second screen meets the above-mentioned preset conditions, it indicates that there is no abnormality inside the second screen. At this time, the second screen continues to perform screen scanning to scan and detect its own noise signal, that is, the above-mentioned second screen signal. Further, when the touch screen detection result of the second screen does not meet the above-mentioned preset conditions, it indicates that there is an abnormality inside the second screen. At this time, the second screen stops the screen scanning work, that is, the second screen does not scan and detect its own noise signal.
[0113] In the above embodiment provided by the present application, before obtaining the first screen signal of the first screen and the second screen signal of the second screen, a touch screen detection is performed on the second screen. If the touch screen detection result indicates that the second screen is in a normal working state, the second screen is controlled to perform screen scanning. If the touch screen detection result indicates that the second screen is in an abnormal working state, the second screen is controlled to stop performing screen scanning. In this way, when the second screen is in a normal working state, that is, when there are no abnormal problems inside the second screen, the second screen scans and detects its own noise signal, that is, the above-mentioned second screen signal, thereby avoiding the interference of internal problems of the second screen on the second screen signal, thereby ensuring the accuracy of the second screen signal detection, ensuring the accuracy of the subsequent noise reduction processing of the first screen signal, reducing the interference of the noise signal on the first screen, and thus improving the touch flexibility of the first screen.
[0114] The screen signal processing method provided in the embodiment of the first aspect of the present application can be executed by a screen signal processing device. In the embodiment of the present application, the screen signal processing device provided in the embodiment of the second aspect of the present application is described by taking the screen signal processing device executing the above screen signal processing method as an example.
[0115] like Figure 5 As shown, an embodiment of the present application provides a screen signal processing device 500, which is used for an electronic device including a first screen and a second screen. The screen signal processing device 500 may include the following processing unit 502.
[0116] The processing unit 502 is configured to obtain a first screen signal of the first screen and a second screen signal of the second screen when the first screen is in a screen-on state and the second screen is in a screen-off state;
[0117] The processing unit 502 is further configured to determine a target noise signal based on the second screen signal;
[0118] The processing unit 502 is further configured to perform noise reduction processing on the first screen signal according to the target noise signal.
[0119] Through the screen signal processing device provided by the embodiment of the present application, for an electronic device with a first screen and a second screen, when the first screen is on and the second screen is off, the screen signals of the two display screens, namely the first screen signal and the second screen signal, are detected. It can be understood that the screen signal of the off screen can be regarded as the noise signal of the off screen, and the screen signal of the on screen includes a valid screen signal and a noise signal. On this basis, the target noise signal is determined by the screen signal of the second screen that is off, namely the second screen signal, and the target noise signal is used as the noise signal of the first screen that is on. The screen signal of the first screen, namely the first screen signal, is subjected to noise reduction processing by the determined target noise signal to obtain the first screen signal after noise reduction. In this way, the second screen in the off state is used as a noise signal detection device for the first screen in the bright state, and the noise signal of the first screen in the bright state is determined by the screen signal of the second screen that is off, that is, the noise signal of the second screen that is off, thereby ensuring the accuracy and real-time nature of the determination of the noise signal of the first screen that is bright, so that the noise signal of the first screen that is bright can be effectively filtered out, reducing the interference of the noise signal on the first screen, thereby improving the touch flexibility of the first screen.
[0120] In an embodiment of the present application, the processing unit 502 is specifically used to: obtain a first screen signal of the first screen and obtain a second screen signal of the second screen according to a target frequency and a target phase; wherein the target frequency is the signal frequency of the screen scanning signal of the first screen, and the target phase is the signal phase of the screen scanning signal of the first screen.
[0121] In the above-mentioned embodiment provided by the present application, in the process of detecting the screen signals of the first screen and the second screen, the first screen signal of the first screen and the second screen signal of the second screen are synchronously acquired according to the signal frequency and signal phase of the screen scanning signal of the first screen, that is, according to the above-mentioned target frequency and target phase. In this way, the first screen and the second screen synchronously perform signal detection according to the same frequency and phase, thereby ensuring the synchronization of the detected first screen signal and the second screen signal, so that the determined target noise signal is closer to the actual noise signal in the above-mentioned first screen signal. In other words, the accuracy and real-time nature of the determination of the noise signal of the first screen of the bright screen are guaranteed, so that the noise signal of the first screen of the bright screen can be effectively filtered out, reducing the interference of the noise signal on the first screen, thereby improving the touch flexibility of the first screen.
[0122] In an embodiment of the present application, the second screen includes a target scanning channel, and the processing unit 502 is specifically used to: obtain the second channel signal of the target scanning channel within M scanning cycles, and determine the second channel signal as a second screen signal; perform a first processing on the second channel signal within each scanning cycle to obtain M first target signals; perform a second processing on the M first target signals according to the target mapping relationship to obtain M second target signals; determine the M second target signals as target noise signals; wherein M is a positive integer, and there is a one-to-one correspondence between the M scanning cycles, the M first target signals, and the M second target signals.
[0123] In the above embodiment provided by the present application, the second screen includes a target scanning channel, and the second channel signal of the target scanning channel within M scanning cycles is obtained, and the second channel signal is determined as the second screen signal. On this basis, the second channel signal within each scanning cycle is subjected to a first processing to obtain M first target signals, and the M first target signals are subjected to a second processing according to the target mapping relationship to obtain M second target signals, and then the M second target signals are determined as target noise signals. Wherein, M is a positive integer, and there is a one-to-one correspondence between the M scanning cycles, the M first target signals and the M second target signals. In this way, according to the target mapping relationship between the noise signal of the first screen and the noise signal of the second screen at the above target frequency, the noise signal of the first screen, that is, the above target noise signal, is determined, so that the determined target noise signal is closer to the actual noise signal in the above first screen signal, thereby ensuring the accuracy and authenticity of the determination of the noise signal of the first screen, improving the noise reduction efficiency of the first screen, and reducing the interference of the noise signal on the first screen.
[0124] In an embodiment of the present application, the first screen includes M first scanning channels, and the processing unit 502 is specifically used to: obtain M first channel signals of the M first scanning channels within M scanning cycles, and determine the M first channel signals as first screen signals; perform difference processing on each first channel signal in the first screen signal according to each second target signal in the target noise signal to obtain M third target signals; determine the M third target signals as target screen signals; wherein, there is a one-to-one correspondence between the M scanning cycles, the M first scanning channels, the M first channel signals, the M second target signals and the M third target signals.
[0125] In the above-mentioned embodiment provided by the present application, the first screen includes M first scanning channels, and M first channel signals of the M first scanning channels within M scanning cycles are obtained, and the M first channel signals are determined as the first screen signals. On this basis, according to each second target signal in the target noise signal, each first channel signal in the first screen signal is subjected to difference processing to obtain M third target signals, and the M third target signals are determined as the target screen signal. Among them, there is a one-to-one correspondence between M scanning cycles, M first scanning channels, M first channel signals, M second target signals, and M third target signals. In this way, for each first channel signal in the first screen signal, the first channel signal is subjected to noise reduction processing through the second target signal corresponding to the first channel signal in the target noise signal, which can effectively filter out the noise signal in the first screen signal, improve the noise reduction efficiency of the first screen, reduce the interference of the noise signal on the first screen, and thus improve the touch flexibility of the first screen.
[0126] In an embodiment of the present application, the processing unit 502 is specifically used to: determine the target scanning signal according to the target frequency and the target phase; scan M first scanning channels in sequence according to a preset order through the target scanning signal to obtain the first channel signal of each first scanning channel, and the scanning time of each first scanning channel is the scanning period; according to the scanning period, cyclically scan the target scanning channel M times through the target scanning signal to obtain the second channel signal of the target scanning channel in each scanning period.
[0127] In the above-mentioned embodiment provided by the present application, a target scanning signal is determined according to a target frequency and a target phase, and then, in accordance with a preset order, M first scanning channels are sequentially scanned by the target scanning signal, and the scanning duration of each first scanning channel is a scanning period, so as to obtain the first channel signal of each first scanning channel. At the same time, according to the scanning period, the target scanning channel is cyclically scanned M times by the target scanning signal to obtain the second channel signal of the target scanning channel in each scanning period. In this way, both the first screen and the second screen perform signal scanning operations through the above-mentioned target scanning signal, thereby ensuring the synchronization of the detected first screen signal and the second screen signal, thereby ensuring the accuracy and real-time nature of the determination of the noise signal of the first screen, i.e., the above-mentioned target noise signal, thereby improving the efficiency of the subsequent noise reduction processing of the first screen, reducing the interference of the noise signal on the first screen, and thus improving the touch flexibility of the first screen.
[0128] In an embodiment of the present application, before obtaining the first screen signal of the first screen and the second screen signal of the second screen, the processing unit 502 is also used to: perform touch screen detection on the second screen; when the touch screen detection result meets the preset conditions, control the second screen to perform screen scanning; when the touch screen detection result does not meet the preset conditions, control the second screen to stop screen scanning; wherein the preset conditions are used to indicate that the second screen is in normal working state.
[0129] In the above embodiment provided by the present application, before obtaining the first screen signal of the first screen and the second screen signal of the second screen, a touch screen detection is performed on the second screen. If the touch screen detection result indicates that the second screen is in a normal working state, the second screen is controlled to perform screen scanning. If the touch screen detection result indicates that the second screen is in an abnormal working state, the second screen is controlled to stop performing screen scanning. In this way, when the second screen is in a normal working state, that is, when there are no abnormal problems inside the second screen, the second screen scans and detects its own noise signal, that is, the above-mentioned second screen signal, thereby avoiding the interference of internal problems of the second screen on the second screen signal, thereby ensuring the accuracy of the second screen signal detection, ensuring the accuracy of the subsequent noise reduction processing of the first screen signal, reducing the interference of the noise signal on the first screen, and thus improving the touch flexibility of the first screen.
[0130] The screen signal processing device 500 in the embodiment of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or a device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[0131] The screen signal processing device 500 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0132] The screen signal processing device 500 provided in the second embodiment of the present application can realize Figure 1 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0133] Alternatively, as Figure 6 As shown, an embodiment of the present application also provides an electronic device 600, including a processor 602 and a memory 604, wherein the memory 604 stores programs or instructions that can be run on the processor 602. When the program or instructions are executed by the processor 602, the various steps of the screen signal processing method embodiment of the above-mentioned first aspect are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.
[0134] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0135] Figure 7 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0136] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709 and a processor 710.
[0137] Those skilled in the art will understand that the electronic device 700 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.
[0138] The electronic device 700 of the embodiment of the present application can be used to implement the various steps of the embodiment of the screen signal processing method of the first aspect mentioned above.
[0139] The processor 710 is configured to obtain a first screen signal of the first screen and a second screen signal of the second screen when the first screen is in a screen-on state and the second screen is in a screen-off state.
[0140] The processor 710 is further configured to determine a target noise signal according to the second screen signal.
[0141] The processor 710 is further configured to perform noise reduction processing on the first screen signal according to the target noise signal.
[0142] In an embodiment of the present application, for an electronic device having a first screen and a second screen, when the first screen is on and the second screen is off, screen signals of the two display screens, namely the first screen signal and the second screen signal, are detected. It is understood that the screen signal of the off screen can be considered as the noise signal of the off screen, while the screen signal of the on screen includes a valid screen signal and a noise signal. Based on this, a target noise signal is determined using the screen signal of the off second screen, namely the second screen signal, and this target noise signal is used as the noise signal of the on first screen. The screen signal of the first screen, namely the first screen signal, is subjected to noise reduction processing using the determined target noise signal to obtain a noise-reduced first screen signal. In this way, the off second screen serves as the noise signal detection device for the on first screen. The noise signal of the on first screen is determined using the screen signal of the off second screen, namely the noise signal of the off second screen. This ensures the accuracy and real-time nature of the noise signal determination of the on first screen, thereby effectively filtering out the noise signal of the on first screen, reducing interference of the noise signal on the first screen and improving the touch control flexibility of the first screen.
[0143] Optionally, the processor 710 is specifically used to: obtain a first screen signal of the first screen and obtain a second screen signal of the second screen according to a target frequency and a target phase; wherein the target frequency is the signal frequency of the screen scanning signal of the first screen, and the target phase is the signal phase of the screen scanning signal of the first screen.
[0144] In the above-mentioned embodiment provided by the present application, in the process of detecting the screen signals of the first screen and the second screen, the first screen signal of the first screen and the second screen signal of the second screen are synchronously acquired according to the signal frequency and signal phase of the screen scanning signal of the first screen, that is, according to the above-mentioned target frequency and target phase. In this way, the first screen and the second screen synchronously perform signal detection according to the same frequency and phase, thereby ensuring the synchronization of the detected first screen signal and the second screen signal, so that the determined target noise signal is closer to the actual noise signal in the above-mentioned first screen signal. In other words, the accuracy and real-time nature of the determination of the noise signal of the first screen of the bright screen are guaranteed, so that the noise signal of the first screen of the bright screen can be effectively filtered out, reducing the interference of the noise signal on the first screen, thereby improving the touch flexibility of the first screen.
[0145] Optionally, the second screen includes a target scanning channel, and the processor 710 is specifically used to: obtain the second channel signal of the target scanning channel within M scanning cycles, and determine the second channel signal as a second screen signal; perform a first processing on the second channel signal within each scanning cycle to obtain M first target signals; perform a second processing on the M first target signals according to the target mapping relationship to determine M second target signals; determine the M second target signals as target noise signals; wherein M is a positive integer, and there is a one-to-one correspondence between the M scanning cycles, the M first target signals, and the M second target signals.
[0146] In the above embodiment provided by the present application, the second screen includes a target scanning channel, and the second channel signal of the target scanning channel within M scanning cycles is obtained, and the second channel signal is determined as the second screen signal. On this basis, the second channel signal within each scanning cycle is subjected to a first processing to obtain M first target signals, and the M first target signals are subjected to a second processing according to the target mapping relationship to determine M second target signals, and then the M second target signals are determined as target noise signals. Wherein, M is a positive integer, and there is a one-to-one correspondence between the M scanning cycles, the M first target signals and the M second target signals. In this way, according to the target mapping relationship between the noise signal of the first screen and the noise signal of the second screen at the above target frequency, the noise signal of the first screen, that is, the above target noise signal, is determined, so that the determined target noise signal is closer to the actual noise signal in the above first screen signal, thereby ensuring the accuracy and authenticity of the determination of the noise signal of the first screen, improving the noise reduction efficiency of the first screen, and reducing the interference of the noise signal on the first screen.
[0147] Optionally, the first screen includes M first scanning channels, and the processor 710 is specifically used to: obtain M first channel signals of the M first scanning channels within M scanning cycles, and determine the M first channel signals as first screen signals; perform difference processing on each first channel signal in the first screen signal according to each second target signal in the target noise signal to obtain M third target signals; determine the M third target signals as target screen signals; wherein, there is a one-to-one correspondence between the M scanning cycles, the M first scanning channels, the M first channel signals, the M second target signals, and the M third target signals.
[0148] In the above-mentioned embodiment provided by the present application, the first screen includes M first scanning channels, and M first channel signals of the M first scanning channels within M scanning cycles are obtained, and the M first channel signals are determined as the first screen signals. On this basis, according to each second target signal in the target noise signal, each first channel signal in the first screen signal is subjected to difference processing to obtain M third target signals, and the M third target signals are determined as the target screen signal. Among them, there is a one-to-one correspondence between M scanning cycles, M first scanning channels, M first channel signals, M second target signals, and M third target signals. In this way, for each first channel signal in the first screen signal, the first channel signal is subjected to noise reduction processing through the second target signal corresponding to the first channel signal in the target noise signal, which can effectively filter out the noise signal in the first screen signal, improve the noise reduction efficiency of the first screen, reduce the interference of the noise signal on the first screen, and thus improve the touch flexibility of the first screen.
[0149] Optionally, the processor 710 is specifically used to: determine the target scanning signal based on the target frequency and the target phase; scan M first scanning channels in sequence according to a preset order through the target scanning signal to obtain the first channel signal of each first scanning channel, and the scanning time of each first scanning channel is the scanning period; according to the scanning period, cyclically scan the target scanning channel M times through the target scanning signal to obtain the second channel signal of the target scanning channel in each scanning period.
[0150] In the above-mentioned embodiment provided by the present application, a target scanning signal is determined according to a target frequency and a target phase, and then, in accordance with a preset order, M first scanning channels are sequentially scanned by the target scanning signal, and the scanning duration of each first scanning channel is a scanning period, so as to obtain the first channel signal of each first scanning channel. At the same time, according to the scanning period, the target scanning channel is cyclically scanned M times by the target scanning signal to obtain the second channel signal of the target scanning channel in each scanning period. In this way, both the first screen and the second screen perform signal scanning operations through the above-mentioned target scanning signal, thereby ensuring the synchronization of the detected first screen signal and the second screen signal, thereby ensuring the accuracy and real-time nature of the determination of the noise signal of the first screen, i.e., the above-mentioned target noise signal, thereby improving the efficiency of the subsequent noise reduction processing of the first screen, reducing the interference of the noise signal on the first screen, and thus improving the touch flexibility of the first screen.
[0151] Optionally, before obtaining the first screen signal of the first screen and the second screen signal of the second screen, the processor 710 is also used to: perform touch screen detection on the second screen; when the touch screen detection result meets the preset conditions, control the second screen to perform screen scanning; when the touch screen detection result does not meet the preset conditions, control the second screen to stop screen scanning; wherein the preset conditions are used to indicate that the second screen is in normal working state.
[0152] In the above embodiment provided by the present application, before obtaining the first screen signal of the first screen and the second screen signal of the second screen, a touch screen detection is performed on the second screen. If the touch screen detection result indicates that the second screen is in a normal working state, the second screen is controlled to perform screen scanning. If the touch screen detection result indicates that the second screen is in an abnormal working state, the second screen is controlled to stop performing screen scanning. In this way, when the second screen is in a normal working state, that is, when there are no abnormal problems inside the second screen, the second screen scans and detects its own noise signal, that is, the above-mentioned second screen signal, thereby avoiding the interference of internal problems of the second screen on the second screen signal, thereby ensuring the accuracy of the second screen signal detection, ensuring the accuracy of the subsequent noise reduction processing of the first screen signal, reducing the interference of the noise signal on the first screen, and thus improving the touch flexibility of the first screen.
[0153] It should be understood that in an embodiment of the present application, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and at least one of other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.
[0154] The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 709 may include volatile memory or non-volatile memory, or the memory 709 may include both volatile and non-volatile memory.
[0155] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0156] Processor 710 may include one or more processing units. Optionally, processor 710 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 710.
[0157] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, the various processes of the screen signal processing method embodiment of the first aspect mentioned above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0158] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0159] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the screen signal processing method embodiment of the first aspect above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0160] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0161] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the screen signal processing method embodiment of the first aspect mentioned above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0162] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0163] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0164] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. A screen signal processing method, characterized in that: For an electronic device including a first screen and a second screen, the screen signal processing method includes: When the first screen is in a screen-on state and the second screen is in a screen-off state, acquiring a first screen signal of the first screen and a second screen signal of the second screen; determining a target noise signal according to the second screen signal; Noise reduction processing is performed on the first screen signal according to the target noise signal.
2. The screen signal processing method according to claim 1, wherein: The acquiring a first screen signal of the first screen and a second screen signal of the second screen includes: acquiring a first screen signal of the first screen and acquiring a second screen signal of the second screen according to a target frequency and a target phase; The target frequency is the signal frequency of the screen scanning signal of the first screen, and the target phase is the signal phase of the screen scanning signal of the first screen.
3. The screen signal processing method according to claim 2, characterized in that: The second screen includes a target scanning channel, and acquiring a second screen signal of the second screen includes: Acquire a second channel signal of the target scanning channel within M scanning cycles, and determine the second channel signal as the second screen signal; The determining of the target noise signal according to the second screen signal includes: Performing a first processing on the second channel signal in each scanning period to obtain M first target signals; Performing a second processing on the M first target signals according to the target mapping relationship to obtain M second target signals; Determining the M second target signals as the target noise signals; Wherein, M is a positive integer, and there is a one-to-one correspondence between the M scanning periods, the M first target signals, and the M second target signals.
4. The screen signal processing method according to claim 3, wherein: The first screen includes M first scanning channels, and acquiring the first screen signal of the first screen includes: Acquire M first channel signals of the M first scanning channels within the M scanning periods, and determine the M first channel signals as the first screen signals; The performing noise reduction processing on the first screen signal according to the target noise signal includes: performing difference processing on each first channel signal in the first screen signal according to each second target signal in the target noise signal to obtain M third target signals; determining the M third target signals as target screen signals; There is a one-to-one correspondence between the M scanning periods, the M first scanning channels, the M first channel signals, the M second target signals, and the M third target signals.
5. The screen signal processing method according to claim 4, characterized in that: The acquiring of M first channel signals of the M first scanning channels in the M scanning periods includes: determining a target scanning signal according to the target frequency and the target phase; Scanning the M first scanning channels in sequence according to a preset order using the target scanning signal to obtain a first channel signal of each first scanning channel, wherein the scanning duration of each first scanning channel is the scanning period; The acquiring the second channel signal of the target scanning channel within M scanning cycles includes: According to the scanning cycle, the target scanning channel is cyclically scanned M times by the target scanning signal to obtain a second channel signal of the target scanning channel in each scanning cycle.
6. The screen signal processing method according to any one of claims 1 to 5, characterized in that: Before acquiring the first screen signal of the first screen and the second screen signal of the second screen, the screen signal processing method further includes: performing touch screen detection on the second screen; If the touch screen detection result meets the preset conditions, control the second screen to perform screen scanning; if the touch screen detection result does not meet the preset conditions, control the second screen to stop the screen scanning; The preset condition is used to indicate that the second screen is in a normal working state.
7. A screen signal processing device, characterized in that: For an electronic device including a first screen and a second screen, the screen signal processing device includes: a processing unit, configured to obtain a first screen signal of the first screen and a second screen signal of the second screen when the first screen is in a screen-on state and the second screen is in a screen-off state; The processing unit is further configured to determine a target noise signal based on the second screen signal; The processing unit is further configured to perform noise reduction processing on the first screen signal according to the target noise signal.
8. The screen signal processing device according to claim 7, characterized in that: The processing unit is specifically configured to: acquiring a first screen signal of the first screen and acquiring a second screen signal of the second screen according to a target frequency and a target phase; The target frequency is the signal frequency of the screen scanning signal of the first screen, and the target phase is the signal phase of the screen scanning signal of the first screen.
9. The screen signal processing device according to claim 8, characterized in that: The second screen includes a target scanning channel, and the processing unit is specifically configured to: Acquire a second channel signal of the target scanning channel within M scanning cycles, and determine the second channel signal as the second screen signal; Performing a first processing on the second channel signal in each scanning period to obtain M first target signals; Performing a second processing on the M first target signals according to the target mapping relationship to obtain M second target signals; Determining the M second target signals as the target noise signals; Wherein, M is a positive integer, and there is a one-to-one correspondence between the M scanning periods, the M first target signals, and the M second target signals.
10. The screen signal processing device according to claim 9, characterized in that: The first screen includes M first scanning channels, and the processing unit is specifically configured to: Acquire M first channel signals of the M first scanning channels within the M scanning periods, and determine the M first channel signals as the first screen signals; performing difference processing on each first channel signal in the first screen signal according to each second target signal in the target noise signal to obtain M third target signals; determining the M third target signals as target screen signals; There is a one-to-one correspondence between the M scanning periods, the M first scanning channels, the M first channel signals, the M second target signals, and the M third target signals.
11. The screen signal processing device according to claim 10, characterized in that: The processing unit is specifically configured to: determining a target scanning signal according to the target frequency and the target phase; Scanning the M first scanning channels in sequence according to a preset order using the target scanning signal to obtain a first channel signal of each first scanning channel, wherein the scanning duration of each first scanning channel is the scanning period; According to the scanning cycle, the target scanning channel is cyclically scanned M times by the target scanning signal to obtain a second channel signal of the target scanning channel in each scanning cycle.
12. The screen signal processing device according to any one of claims 7 to 11, characterized in that: Before acquiring the first screen signal of the first screen and the second screen signal of the second screen, the processing unit is further configured to: performing touch screen detection on the second screen; If the touch screen detection result meets the preset conditions, control the second screen to perform screen scanning; if the touch screen detection result does not meet the preset conditions, control the second screen to stop the screen scanning; The preset condition is used to indicate that the second screen is in a normal working state.
13. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the screen signal processing method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Biological characteristic image acquisition method and electronic equipment
CN112257571A
Method and device for touch detection of multiple channels in touch screen
CN112860121A