Control method and device
By receiving the frequency band information of the wireless signal, determine the interference state and switch the register, and dynamically adjust the screen control parameter, solve the problem of the electronic device display screen due to the interference due to receiving wireless signals, to ensure the normal work of the equipment and improve the user experience.
Patent Information
- Application Number
- CN202010897336.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-31
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2040-08-31
AI Technical Summary
The display screen of electronic devices may be disturbed when receiving external wireless signals, affecting normal operation and user experience.
By receiving the frequency band information of the wireless signal, determine the interference status information of the electronic device, and switch the register to use the matching screen to control the parameters, and dynamically adjust the screen control parameters to cope with different interference states.
The screen control parameters are dynamically adjusted under different interference states to ensure that the electronic equipment is always in normal working state and improves the user experience.
Smart Images

Figure CN114115768B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer communication technology, and in particular to a control method and device. Background Art
[0002] Electronic devices are equipped with display screens, which are used for information display, touch control, etc. When an electronic device receives a signal input from the outside, the signal may interfere with the display screen, affecting the normal operation of the display screen and reducing the user experience. Therefore, how to control the display screen and ensure the normal operation of the display screen is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a control method and device.
[0004] According to a first aspect of an embodiment of the present disclosure, a control method is provided, which is applied to an electronic device, and the method includes:
[0005] Receive wireless signals;
[0006] Determining current interference status information of the electronic device according to frequency band information of the received wireless signal;
[0007] Determine a matching first register according to the interference state information, wherein different registers store different screen control parameters;
[0008] When a change in the interference state information is detected, the first register is switched to a second register matching the changed interference state information, so that the electronic device uses the screen control parameters in the second register.
[0009] Optionally, the electronic device is provided with a plurality of registers, and the interference state information corresponding to the screen control parameters stored in different registers is different; and determining the matching first register according to the interference state information includes:
[0010] The first register in which the screen control parameter stored internally corresponds to the interference state information is determined from the multiple registers.
[0011] Optionally, the second register is used when the electronic device does not receive a wireless signal; and when a change in the interference state information is detected, switching from the first register to a second register matching the changed interference state information includes:
[0012] When it is detected that the electronic device stops receiving wireless signals, the first register is switched to the second register.
[0013] Optionally, the screen control parameter includes at least one of the following: a screen point reporting threshold and a filtering parameter.
[0014] Optionally, the screen control parameter includes the screen reporting threshold; and the method further includes:
[0015] Determine a first screen reporting threshold used when receiving an interference-free wireless signal having the frequency band information;
[0016] Determine a set of interference data generated by the interfering wireless signal having the frequency band information, the interference data indicating the interference magnitude generated by the interfering wireless signal having the frequency band information on the capacitance on the display screen of the electronic device;
[0017] According to the first screen point reporting threshold and the set of interference data, a screen point reporting threshold corresponding to the frequency band information is determined.
[0018] Optionally, determining the screen point reporting threshold corresponding to the frequency band information according to the first screen point reporting threshold and the set of interference data includes at least one of the following:
[0019] Adding the first screen reporting threshold and the maximum interference data to obtain a first addition result, and determining the first addition result as the screen reporting threshold used by the electronic device when receiving a wireless signal having the frequency band information;
[0020] Add the maximum interference data and the minimum interference data to obtain a second addition result, add the first screen reporting threshold and half of the second addition result to obtain a third addition result, and determine the third addition result as the screen reporting threshold used by the electronic device when it stops receiving wireless signals.
[0021] Optionally, the wireless signal includes a radio frequency signal.
[0022] According to a second aspect of an embodiment of the present disclosure, a control device is provided, which is applied to an electronic device, and the device includes:
[0023] A signal receiving module, configured to receive a wireless signal;
[0024] An interference status information determination module, configured to determine the current interference status information of the electronic device according to the frequency band information of the received wireless signal;
[0025] a register determination module, configured to determine a matching first register according to the interference state information, wherein different registers store different screen control parameters;
[0026] The register switching module is configured to switch from the first register to a second register matching the changed interference state information when a change in the interference state information is detected, so that the electronic device uses the screen control parameters in the second register.
[0027] Optionally, the electronic device is provided with a plurality of registers, and the interference state information corresponding to the screen control parameters stored in different registers is different;
[0028] The register determination module is configured to determine the first register corresponding to the internally stored screen control parameter and the interference state information from the multiple registers.
[0029] Optionally, the second register is used when the electronic device does not receive a wireless signal;
[0030] The register switching module is configured to switch from the first register to the second register when it is detected that the electronic device stops receiving wireless signals.
[0031] Optionally, the screen control parameter includes at least one of the following: a screen point reporting threshold and a filtering parameter.
[0032] Optionally, the screen control parameter includes the screen reporting threshold; and the device further includes:
[0033] A screen reporting point value acquisition module is configured to determine a first screen reporting point threshold used when receiving an interference-free wireless signal having the frequency band information;
[0034] an interference data acquisition module, configured to determine a set of interference data generated by the interfering wireless signal having the frequency band information, the interference data indicating the interference magnitude generated by the interfering wireless signal having the frequency band information on the capacitance on the display screen of the electronic device;
[0035] The screen reporting point threshold determination module is configured to determine the screen reporting point threshold corresponding to the frequency band information according to the first screen reporting point threshold and the set of interference data.
[0036] Optionally, the screen reporting point threshold determination module includes at least one of the following:
[0037] A first threshold determination submodule is configured to add the first screen reporting threshold and the maximum interference data to obtain a first addition result, and determine the first addition result as the screen reporting threshold used by the electronic device when receiving a wireless signal with the frequency band information;
[0038] The second threshold determination submodule is configured to add the maximum interference data and the minimum interference data to obtain a second addition result, add the first screen reporting threshold and half of the second addition result to obtain a third addition result, and determine the third addition result as the screen reporting threshold used by the electronic device when it stops receiving wireless signals.
[0039] Optionally, the wireless signal includes a radio frequency signal.
[0040] According to a third aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the first aspects is implemented.
[0041] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0042] processor;
[0043] a memory for storing processor-executable instructions;
[0044] Wherein, the processor is configured to:
[0045] Receive wireless signals;
[0046] Determining current interference status information of the electronic device according to frequency band information of the received wireless signal;
[0047] Determine a matching first register according to the interference state information, wherein different registers store different screen control parameters;
[0048] When a change in the interference state information is detected, the first register is switched to a second register matching the changed interference state information, so that the electronic device uses the screen control parameters in the second register.
[0049] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0050] In the disclosed embodiment, the electronic device has a function of switching registers, and can determine the current interference status information of the electronic device based on the frequency band information of the received wireless signal, and use the screen control parameters in the register that match the current interference status information to control the screen, thereby realizing dynamic adjustment of the screen control parameters and ensuring that the electronic device is always in normal working condition.
[0051] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1is a flow chart of a control method according to an exemplary embodiment;
[0053] Figure 2 is a flow chart of another control method according to an exemplary embodiment;
[0054] Figure 3 is a block diagram of a control device according to an exemplary embodiment;
[0055] Figure 4 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0057] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0058] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0059] The electronic device is equipped with a display screen and a wireless signal receiving device, and the display screen includes a control module. The display screen can be a touch screen, or the display screen can be a non-touch screen. The wireless signal receiving device is used to receive wireless signals. The display screen can be integrated with a screen chip.
[0060] Figure 1 is a flow chart of a control method according to an exemplary embodiment. Figure 1 The method shown is applied to an electronic device, and the method includes:
[0061] In step 101, a wireless signal is received.
[0062] Wireless signals are signals transmitted using wireless technology, such as radio frequency signals.
[0063] The electronic device is equipped with a wireless signal receiving device, and the electronic device uses the wireless signal receiving device to receive wireless signals. For example, the electronic device is equipped with a radio frequency signal receiving device, and the electronic device uses the radio frequency signal receiving device to receive radio frequency signals.
[0064] In step 102, current interference status information of the electronic device is determined according to the frequency band information of the received wireless signal.
[0065] Usually, wireless signals received by electronic devices will cause interference, such as electromagnetic interference. Wireless signals with information in different frequency bands will generate different interferences, which will affect the normal operation of electronic devices.
[0066] There are many types of interference status information. For example, the interference status information can indicate that the electronic device is interfered with, or the interference status information can indicate the degree of interference to the electronic device, such as the interference size, interference level, etc., or the interference status information can indicate what frequency band information the electronic device is interfered with, etc.
[0067] The correspondence between the frequency band information and the interference status information may be pre-established. In an application, the interference status information corresponding to the frequency band information of the currently received wireless signal may be determined by searching the pre-established correspondence.
[0068] For example, the wireless signal in the GSM900 frequency band generates interference of a first interference value, and the wireless signal in the GSM1800 frequency band generates interference of a second interference value. A correspondence is established between the GSM900 frequency band and the interference status information used to indicate the first interference value, and a correspondence is established between the GSM1800 frequency band and the interference status information used to indicate the second interference value.
[0069] The interference status information may be determined according to the frequency band information. For example, interference status information indicating that the electronic device is interfered by the wireless signal may be determined according to any frequency band information.
[0070] In one embodiment, the interference status information can be determined not only based on the frequency band information of the wireless signal, but also based on factors such as the charging and discharging status of the electronic device and the environment in which the electronic device is located.
[0071] In step 103, a matching first register is determined according to the interference state information, and different screen control parameters are stored in different registers.
[0072] The screen control parameters are used to control the screen. There are many types of screen control parameters. For example, the screen control parameters may include at least one of the following: filtering parameters, touch reporting threshold. When the display screen is a touch screen, the screen control parameters may include a touch reporting threshold. The touch reporting threshold may be a capacitance threshold. When a touch operation occurs on the display screen, if the capacitance value of the display screen is greater than the capacitance threshold, it is determined that the touch operation is valid, and the electronic device is controlled according to the touch operation.
[0073] Wireless signals with different frequency band information generate different interferences, and electronic devices need to use different screen control parameters under different interference states to ensure that the electronic devices are always in normal working state. When the electronic devices are working normally, there is a corresponding relationship between the interference state information corresponding to different frequency band information and the screen control parameters.
[0074] For example, wireless signals generate electromagnetic interference, which affects the display's recognition of valid touch operations. Invalid touch operations when there is no electromagnetic interference may be mistakenly recognized as valid touch operations. For example, the display recognizes a touch operation when it is not touched, resulting in ghost points. Wireless signals with different frequency band information generate different electromagnetic interferences. Based on the relationship between the frequency band information of the wireless signal and the magnitude of the electromagnetic interference generated by the wireless signal, a correspondence between the interference status information corresponding to different frequency band information and the screen point reporting threshold can be established. In the application, after determining the current interference status information of the electronic device, the screen point reporting threshold with a corresponding relationship is used to perform touch control on the display, so that the display can accurately recognize valid touch operations.
[0075] The electronic device is provided with a plurality of registers, and different screen control parameters are stored in different registers. A correspondence between interference status information and registers can be established in advance, so that the electronic device can determine the register (i.e., the first register) corresponding to the current interference status information according to the pre-established correspondence between the interference status information and the registers, so as to obtain the screen control parameters corresponding to the current interference status information from the corresponding register.
[0076] In one embodiment, the electronic device is provided with a plurality of registers, and the interference status information corresponding to the screen control parameters stored in different registers is different. For example, one register stores the screen control parameters corresponding to the interference status information indicating the GSM900 frequency band, and another register stores the screen control parameters corresponding to the interference status information indicating the GSM1800 frequency band.
[0077] After determining the current interference state information of the electronic device according to the frequency band information of the received wireless signal, the electronic device determines the first register in which the internally stored screen control parameters correspond to the current interference state information from the above-mentioned multiple registers.
[0078] In this embodiment, the electronic device is provided with multiple registers for partitioning and storing screen control parameters corresponding to different frequency band information, and obtaining the screen control parameters corresponding to a frequency band information from a memory, which has the characteristics of simple acquisition method and fast acquisition speed, and improves the execution efficiency of the method.
[0079] In step 104, when a change in the interference state information is detected, the first register is switched to a second register matching the changed interference state information, so that the electronic device uses the screen control parameters in the second register.
[0080] In one embodiment, the second register is used when the electronic device stops receiving wireless signals. When the electronic device detects that the reception of wireless signals has stopped, it can determine that the interference status information has changed from the presence of wireless signal interference to the absence of wireless signal interference, and then determine the second register and use the screen control parameters in the second register to perform screen control.
[0081] For example, when the electronic device is making a call or using a mobile network to surf the Internet, the radio frequency signal receiving device receives the radio frequency signal, and the radio frequency signal generates interference. When the electronic device determines that the call is terminated or stops using the mobile network to surf the Internet, it is determined that the electronic device stops receiving the radio frequency signal, thereby detecting that the interference state information has changed. For another example, when the electronic device determines that no wireless signal has been received within a preset time, it is determined that the electronic device stops receiving the wireless signal, and the interference state information has changed.
[0082] In one embodiment, the second register is used when the electronic device receives a wireless signal. After the electronic device receives the wireless signal again, it determines the interference status information of the wireless signal received again (hereinafter referred to as the new interference status information), determines the second register that matches the new interference status information, and uses the screen control parameters in the second register to perform screen control.
[0083] In the disclosed embodiment, the electronic device has a function of switching registers, and can determine the current interference status information of the electronic device based on the frequency band information of the received wireless signal, and use the screen control parameters in the register that match the current interference status information to control the screen, thereby realizing dynamic adjustment of the screen control parameters and ensuring that the electronic device is always in normal working condition.
[0084] Figure 2 is another control method flow chart according to an exemplary embodiment. Figure 1 Based on the method shown in FIG. 1 , when the screen control parameters include a screen reporting threshold, see Figure 2 , the electronic device can also perform the following operations:
[0085] In step 201, for a frequency band information, a first screen point reporting threshold used when a non-interference wireless signal having the frequency band information is received is determined.
[0086] In step 202, a set of interference data generated by the interfering wireless signal having the frequency band information is determined, where the interference data indicates the interference magnitude generated by the interfering wireless signal having the frequency band information on the capacitance on the display screen of the electronic device.
[0087] The first screen reporting threshold and a set of interference data can be obtained through experimental testing.
[0088] In step 203, a screen reporting threshold corresponding to the frequency band information is determined according to the first screen reporting threshold and a set of interference data.
[0089] The first screen point reporting threshold, the interference data and the screen point reporting threshold may all be capacitance values.
[0090] In one embodiment, the first screen reporting threshold and the maximum interference data may be added to obtain a first addition result, and the first addition result may be determined as the screen reporting threshold used by the electronic device when receiving a wireless signal having the frequency band information.
[0091] In one embodiment, the maximum interference data and the minimum interference data are added to obtain a second addition result, the first screen reporting threshold and half of the second addition result are added to obtain a third addition result, and the third addition result is determined as the screen reporting threshold used by the electronic device when it stops receiving wireless signals.
[0092] The embodiments of the present disclosure are merely examples of methods for determining the screen reporting point threshold, and other applicable determination methods may also be used.
[0093] By using the screen reporting point threshold determined by the above method, the display screen can be accurately touch-controlled.
[0094] In one embodiment, the electronic device includes a wireless signal receiving device, a display screen, a plurality of registers and a screen control chip, wherein the screen control chip is arranged on the display screen and integrates a screen driver and a screen control program. The control process performed by the electronic device is as follows:
[0095] In the first step, the wireless signal receiving device receives the wireless signal input from the outside, determines the frequency band information of the wireless signal, and determines the current interference status information of the electronic device based on the frequency band information of the wireless signal. The interference status information indicates that the electronic device is interfered by the wireless signal with the frequency band information, and sends the interference status information to the screen driver.
[0096] The interference state information may be different from the frequency band information, or the interference state information may be the frequency band information itself. For example, a character string is preset, and a character position in the character string corresponds to a frequency band information. After the wireless signal receiving device determines the frequency band information of the wireless signal, the character at the character position corresponding to the frequency band information in the character string is set to the preset character, and the obtained character string is determined as the interference state information, so that after the screen driver recognizes the preset character at the character position in the character string, the frequency band information corresponding to the character position is determined as the frequency band information of the currently received wireless signal.
[0097] Exemplarily, a character string 0x00000000 is preset, and one character bit corresponds to a frequency band information. For example, the seventh bit corresponds to the GSM900 frequency band. When the wireless signal receiving device receives a wireless signal in the GSM900 frequency band, the character string is modified to 0x00000010, and the character string 0x00000010 is determined as interference status information, and the character string 0x00000010 is sent to the screen driver.
[0098] When the electronic device uses the Android system, the wireless signal receiving device can send the interference status information to the screen driver through the Android layer (which can be understood as the upper layer). Specifically, the Android layer can send the received original interference status information to the screen driver, or the Android layer can deform the received original interference status information, and the deformed interference status information has the same content as the original interference status information, and send the deformed interference status information to the screen driver. For example, the original interference status information is a string, and the deformed interference status information is a single character.
[0099] In the second step, the screen driver determines a first register corresponding to the frequency band information indicated by the interference status information, and writes data into the first register.
[0100] The interference status information indicates that the electronic device is interfered by the wireless signal having the frequency band information. The screen driver determines the frequency band information of the currently received wireless signal according to the interference status information, determines the first register corresponding to the frequency band information, and writes data into the first register.
[0101] For example, after receiving the character string 0x00000010 sent by the wireless signal receiving device, the screen driver determines that the frequency band information of the currently received wireless signal is GSM900 by recognizing that the seventh bit in the character string 0x00000010 is 1, determines the register set corresponding to the GSM900 frequency band, and writes the character string 0x00000010 into the corresponding register.
[0102] When a register only stores screen control parameters corresponding to one frequency band information, the screen control program only needs to know which register to obtain the screen control parameters from. At this time, the screen driver program can write data that does not indicate the frequency band information into the first register. After writing the data into the first register, the screen control program is triggered to read the screen control parameters from the first register.
[0103] When a register stores screen control parameters corresponding to multiple frequency band information, the screen driver needs to write data indicating the frequency band information, such as interference status information, into the first memory, so that the screen driver can determine the frequency band information of the currently received wireless signal based on these data, and determine the screen control parameters corresponding to the frequency band information of the currently received wireless signal based on the preset correspondence between multiple sets of frequency band information and screen control parameters.
[0104] In the third step, after determining that data is written into the first register, the screen control program reads the screen control parameters corresponding to the frequency band information from the first register, and uses the read screen control parameters to perform screen control.
[0105] After the screen driver writes data to the first register, the screen control program may receive a notification message indicating that data has been written into the first register, or the notification message indicating that data indicating the frequency band information of the currently received wireless signal has been written into the first register, triggering the screen control program to read the screen control parameters corresponding to the frequency band information of the currently received wireless signal from the first register.
[0106] For the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the described order of actions, because according to the present disclosure, certain steps can be performed in other orders or simultaneously.
[0107] Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0108] Corresponding to the aforementioned application function implementation method embodiment, the present disclosure also provides an application function implementation device and a corresponding electronic device embodiment.
[0109] Figure 3 is a block diagram of a control device according to an exemplary embodiment. Figure 3 The control device shown is applied to electronic equipment, and the device comprises: a signal receiving module 31, an interference state information determining module 32, a register determining module 33 and a register switching module 34; wherein,
[0110] The signal receiving module 31 is configured to receive wireless signals;
[0111] The interference state information determination module 32 is configured to determine the current interference state information of the electronic device according to the frequency band information of the received wireless signal;
[0112] The register determination module 33 is configured to determine a matching first register according to the interference state information, and different screen control parameters are stored in different registers;
[0113] The register switching module 34 is configured to switch from the first register to a second register matching the changed interference state information when a change in the interference state information is detected, so that the electronic device uses the screen control parameters in the second register.
[0114] In an optional embodiment, Figure 3 On the basis of the control device shown, the electronic device is provided with a plurality of registers, and the interference state information corresponding to the screen control parameters stored in different registers is different;
[0115] The register determination module 33 may be configured to determine the first register corresponding to the internally stored screen control parameter and the interference state information from the multiple registers.
[0116] In an optional embodiment, Figure 3 Based on the control device shown, the second register is used when the electronic device does not receive a wireless signal;
[0117] The register switching module 34 may be configured to switch from the first register to the second register when it is detected that the electronic device stops receiving wireless signals.
[0118] In an optional embodiment, Figure 3 On the basis of the control device shown, the screen control parameter includes at least one of the following: a screen point reporting threshold and a filtering parameter.
[0119] In an optional embodiment, the screen control parameter includes the screen reporting threshold; the device may further include: a screen reporting value acquisition module, an interference data acquisition module and a screen reporting threshold determination module; wherein,
[0120] The screen reporting point value acquisition module is configured to acquire a first screen reporting point value corresponding to the interference-free wireless signal having the frequency band information;
[0121] The interference data acquisition module is configured to acquire a set of interference data corresponding to the wireless signal with interference having the frequency band information, wherein the interference data indicates a deviation of a second screen reporting point value relative to the first screen reporting point value, and the second screen reporting point value is a screen reporting point value corresponding to the wireless signal with interference having the frequency band information;
[0122] The screen reporting point threshold determination module is configured to determine the screen reporting point threshold corresponding to the frequency band information according to the first screen reporting point value and the set of interference data.
[0123] In an optional embodiment, the screen reporting point threshold determination module may include at least one of the following: a first threshold determination submodule and a second threshold determination submodule; wherein:
[0124] The first threshold determination submodule is configured to add the first screen reporting value and the maximum interference data to obtain a first addition result, and determine the first addition result as the screen reporting threshold used by the electronic device when receiving a wireless signal with the frequency band information;
[0125] The second threshold determination submodule is configured to add the maximum interference data and the minimum interference data to obtain a second addition result, add the first screen reporting value and half of the second addition result to obtain a third addition result, and determine the third addition result as the screen reporting threshold used by the electronic device when it stops receiving wireless signals.
[0126] In an optional embodiment, Figure 3 According to the control device shown, the wireless signal comprises a radio frequency signal.
[0127] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art may understand and implement it without creative work.
[0128] Accordingly, in one aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to:
[0129] Receive a wireless signal; determine the current interference status information of the electronic device based on the frequency band information of the received wireless signal; determine a matching first register based on the interference status information, wherein different registers store different screen control parameters; when a change in the interference status information is detected, switch from the first register to a second register that matches the changed interference status information, so that the electronic device uses the screen control parameters in the second register.
[0130] Figure 4 1 is a schematic diagram of the structure of an electronic device 1600 according to an exemplary embodiment. For example, the device 1600 may be a user device, which may specifically be a mobile phone, a computer, a digital broadcast electronic device, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, a smart glasses, a smart bracelet, a smart running shoe, etc.
[0131] Reference Figure 4 , the device 1600 may include one or more of the following components: a processing component 1602 , a memory 1604 , a power component 1606 , a multimedia component 1608 , an audio component 1610 , an input / output (I / O) interface 1612 , a sensor component 1614 , and a communication component 1616 .
[0132] The processing component 1602 generally controls the overall operation of the device 1600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1602 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 1602 may include one or more modules to facilitate the interaction between the processing component 1602 and other components. For example, the processing component 1602 may include a multimedia module to facilitate the interaction between the multimedia component 1608 and the processing component 1602.
[0133] The memory 1604 is configured to store various types of data to support operations on the device 1600. Examples of such data include instructions for any application or method operating on the device 1600, contact data, phone book data, messages, pictures, videos, etc. The memory 1604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0134] The power supply component 1606 provides power to the various components of the device 1600. The power supply component 1606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 1600.
[0135] The multimedia component 1608 includes a screen that provides an output interface between the above-mentioned device 1600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The above-mentioned touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the above-mentioned touch or slide operation. In some embodiments, the multimedia component 1608 includes a front camera and / or a rear camera. When the device 1600 is in an operating mode, such as an adjustment mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0136] The audio component 1610 is configured to output and / or input audio signals. For example, the audio component 1610 includes a microphone (MIC), and when the device 1600 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1604 or sent via the communication component 1616. In some embodiments, the audio component 1610 also includes a speaker for outputting audio signals.
[0137] I / O interface 1612 provides an interface between processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0138] The sensor assembly 1614 includes one or more sensors for providing various aspects of the status assessment of the device 1600. For example, the sensor assembly 1614 can detect the open / closed state of the device 1600, the relative positioning of components, such as the display and keypad of the device 1600, the sensor assembly 1614 can also detect the position change of the device 1600 or a component of the device 1600, the presence or absence of user contact with the device 1600, the orientation or acceleration / deceleration of the device 1600, and the temperature change of the device 1600. The sensor assembly 1614 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1614 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1614 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0139] The communication component 1616 is configured to facilitate wired or wireless communication between the device 1600 and other devices. The device 1600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the above-mentioned communication component 1616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0140] In an exemplary embodiment, the device 1600 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0141] In an exemplary embodiment, a non-temporary computer-readable storage medium is also provided, such as a memory 1604 including instructions. When the instructions in the storage medium are executed by the processor 1620 of the device 1600, the device 1600 is enabled to execute a control method, which includes: receiving a wireless signal; determining the current interference status information of the electronic device based on the frequency band information of the received wireless signal; determining a matching first register based on the interference status information, and the screen control parameters stored in different registers are different; when a change in the interference status information is detected, switching from the first register to a second register matching the changed interference status information, so that the electronic device uses the screen control parameters in the second register.
[0142] The non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0143] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0144] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A control method, characterized in that: Applied to an electronic device, the electronic device is provided with a plurality of registers, and the interference state information corresponding to the screen control parameters stored in different registers is different, and the method comprises: Receive wireless signals; Determine the current interference state information of the electronic device according to the frequency band information of the received wireless signal and based on the pre-established correspondence between the frequency band information and the interference state information; Determine, from the plurality of registers, a first register in which the internally stored screen control parameter corresponds to the interference state information; When a change in the interference state information is detected, the first register is switched to a second register matching the changed interference state information, so that the electronic device uses the screen control parameters in the second register.
2. The method according to claim 1, characterized in that The second register is used when the electronic device does not receive a wireless signal; when a change in the interference state information is detected, switching from the first register to a second register matching the changed interference state information includes: When it is detected that the electronic device stops receiving wireless signals, the first register is switched to the second register.
3. The method according to claim 1, characterized in that The screen control parameter includes at least one of the following: a screen point reporting threshold and a filtering parameter.
4. The method according to claim 3, characterized in that The screen control parameter includes the screen reporting threshold; the method further includes: Determine a first screen reporting threshold used when receiving an interference-free wireless signal having the frequency band information; Determine a set of interference data generated by the interfering wireless signal having the frequency band information, the interference data indicating the interference magnitude generated by the interfering wireless signal having the frequency band information on the capacitance on the display screen of the electronic device; According to the first screen point reporting threshold and the set of interference data, a screen point reporting threshold corresponding to the frequency band information is determined.
5. The method according to claim 4, characterized in that The determining, according to the first screen reporting threshold and the set of interference data, the screen reporting threshold corresponding to the frequency band information comprises at least one of the following: Adding the first screen reporting threshold and the maximum interference data to obtain a first addition result, and determining the first addition result as the screen reporting threshold used by the electronic device when receiving a wireless signal having the frequency band information; Add the maximum interference data and the minimum interference data to obtain a second addition result, add the first screen reporting threshold and half of the second addition result to obtain a third addition result, and determine the third addition result as the screen reporting threshold used by the electronic device when it stops receiving wireless signals.
6. The method according to claim 1, characterized in that The wireless signal includes a radio frequency signal.
7. A control device, characterized in that: Applied to an electronic device, the electronic device is provided with a plurality of registers, and the interference state information corresponding to the screen control parameters stored in different registers is different, and the device comprises: A signal receiving module, configured to receive a wireless signal; an interference status information determination module, configured to determine the current interference status information of the electronic device according to the frequency band information of the received wireless signal and based on a pre-established correspondence between the frequency band information and the interference status information; A register determination module is configured to determine, from the plurality of registers, a first register in which the internally stored screen control parameter corresponds to the interference state information; The register switching module is configured to switch from the first register to a second register matching the changed interference state information when a change in the interference state information is detected, so that the electronic device uses the screen control parameters in the second register.
8. The device according to claim 7, characterized in that The electronic device is provided with a plurality of registers, and the interference state information corresponding to the screen control parameters stored in different registers is different; The register determination module is configured to determine the first register corresponding to the internally stored screen control parameter and the interference state information from the multiple registers.
9. The device according to claim 7, characterized in that The second register is used when the electronic device does not receive a wireless signal; The register switching module is configured to switch from the first register to the second register when it is detected that the electronic device stops receiving wireless signals.
10. The device according to claim 7, characterized in that The screen control parameter includes at least one of the following: a screen point reporting threshold and a filtering parameter.
11. The device according to claim 10, characterized in that The screen control parameter includes the screen reporting threshold; the device also includes: A screen reporting point value acquisition module is configured to determine a first screen reporting point threshold used when receiving an interference-free wireless signal having the frequency band information; an interference data acquisition module, configured to determine a set of interference data generated by the interfering wireless signal having the frequency band information, the interference data indicating the interference magnitude generated by the interfering wireless signal having the frequency band information on the capacitance on the display screen of the electronic device; The screen reporting point threshold determination module is configured to determine the screen reporting point threshold corresponding to the frequency band information according to the first screen reporting point threshold and the set of interference data.
12. The device according to claim 11, characterized in that The screen reporting point threshold determination module includes at least one of the following: A first threshold determination submodule is configured to add the first screen reporting threshold and the maximum interference data to obtain a first addition result, and determine the first addition result as the screen reporting threshold used by the electronic device when receiving a wireless signal with the frequency band information; The second threshold determination submodule is configured to add the maximum interference data and the minimum interference data to obtain a second addition result, add the first screen reporting threshold and half of the second addition result to obtain a third addition result, and determine the third addition result as the screen reporting threshold used by the electronic device when it stops receiving wireless signals.
13. The device according to claim 7, characterized in that The wireless signal includes a radio frequency signal.
14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
15. An electronic device, characterized in that: The electronic device is provided with a plurality of registers, and the interference state information corresponding to the screen control parameters stored in different registers is different, including: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: Receive wireless signals; Determine the current interference state information of the electronic device according to the frequency band information of the received wireless signal and based on the pre-established correspondence between the frequency band information and the interference state information; Determine, from the plurality of registers, a first register in which the internally stored screen control parameter corresponds to the interference state information; When a change in the interference state information is detected, the first register is switched to a second register matching the changed interference state information, so that the electronic device uses the screen control parameters in the second register.
Citation Information
Patent Citations
Interference suppression method and apparatus for touch screen and terminal device
CN105659197A
Touch screen control method and apparatus, and storage medium
CN107526471A