CN114115768A - Control method and device - Google Patents

Control method and device Download PDF

Info

Publication number
CN114115768A
CN114115768A CN202010897336.8A CN202010897336A CN114115768A CN 114115768 A CN114115768 A CN 114115768A CN 202010897336 A CN202010897336 A CN 202010897336A CN 114115768 A CN114115768 A CN 114115768A
Authority
CN
China
Prior art keywords
register
screen
state information
interference
interference state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010897336.8A
Other languages
Chinese (zh)
Inventor
慕伟虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010897336.8A priority Critical patent/CN114115768A/en
Publication of CN114115768A publication Critical patent/CN114115768A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30098Register arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/345Interference values

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure provides a control method and a control device. The method is applied to the electronic equipment and comprises the following steps: receiving a wireless signal; determining current interference state information of the electronic equipment according to the frequency band information of the received wireless signals; determining a matched first register according to the interference state information, wherein screen control parameters stored in different registers are different; and when the interference state information is detected to change, switching from the first register to a second register matched with the changed interference state information, so that the electronic equipment uses the screen control parameters in the second register. The electronic equipment has the function of switching the register, can determine the current interference state information of the electronic equipment according to the frequency band information of the received wireless signal, and uses the screen control parameter in the register matched with the current interference state information to control the screen, so that the screen control parameter is dynamically adjusted, and the electronic equipment is ensured to be always in a normal working state.

Description

Control method and device
Technical Field
The present disclosure relates to the field of computer communication technologies, and in particular, to a control method and apparatus.
Background
The electronic equipment is provided with a display screen, and information display, touch control and the like are carried out by using the display screen. When the electronic equipment receives signals input from the outside, the signals may interfere with the display screen, so that the normal work of the display screen is influenced, and the use experience of a user is reduced. Therefore, how to control the display screen to ensure the normal operation of the display screen is a technical problem to be urgently solved by the technical personnel in the field.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a control method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a control method applied to an electronic device, the method including:
receiving a wireless signal;
determining current interference state information of the electronic equipment according to the frequency range information of the received wireless signals;
determining a matched first register according to the interference state information, wherein screen control parameters stored in different registers are different;
when the interference state information is detected to change, switching from the first register to a second register matched with the changed interference state information, so that the electronic equipment uses the screen control parameters in the second register.
Optionally, the electronic device is provided with a plurality of registers, and interference state information corresponding to screen control parameters stored in different registers is different; the determining the matched first register according to the interference state information includes:
and determining the first register corresponding to the internally stored screen control parameter and the interference state information from the plurality of registers.
Optionally, the second register is for use when the electronic device is not receiving wireless signals; when detecting that the interference state information changes, switching from the first register to a second register matched with the changed interference state information includes:
when the electronic equipment is detected to stop receiving wireless signals, switching from the first register to the second register.
Optionally, the screen status information comprises at least one of: a screen report threshold value and a filtering parameter.
Optionally, the screen status information includes the screen hit threshold; the method further comprises the following steps:
determining a first screen reporting point threshold value used when receiving an interference-free wireless signal with the frequency band information;
determining a set of interference data generated by the interfered wireless signal with the frequency band information, wherein the interference data indicates the interference magnitude of the interfered wireless signal with the frequency band information on a capacitor on a display screen of the electronic equipment;
and determining a screenshot point threshold corresponding to the frequency range information according to the first screenshot point threshold and the group of interference data.
Optionally, the determining, according to the first screenshot point threshold and the group of interference data, a screenshot point threshold corresponding to the frequency band information includes at least one of:
adding the first screenshot point threshold value and the maximum interference data to obtain a first addition result, and determining the first addition result as the screenshot point threshold value used by the electronic equipment when the electronic equipment receives the wireless signal with the frequency range information;
adding the maximum interference data and the minimum interference data to obtain a second addition result, adding the first screen reporting point threshold value and half of the second addition result to obtain a third addition result, and determining the third addition result as the screen reporting point threshold value used by the electronic equipment when the electronic equipment stops receiving wireless signals.
Optionally, the wireless signal comprises a radio frequency signal.
According to a second aspect of the embodiments of the present disclosure, there is provided a control apparatus applied to an electronic device, the apparatus including:
a signal receiving module configured to receive a wireless signal;
the interference state information determining module is configured to determine current interference state information of the electronic equipment according to the frequency band information of the received wireless signal;
the register determining module is configured to determine a matched first register according to the interference state information, and screen control parameters stored in different registers are different;
a register switching module configured to switch from the first register to a second register matching the changed interference state information when detecting that the interference state information is changed, so that the electronic device uses a screen control parameter in the second register.
Optionally, the electronic device is provided with a plurality of registers, and interference state information corresponding to screen control parameters stored in different registers is different;
the register determining module is configured to determine the first register, from the plurality of registers, where the internally stored screen control parameter corresponds to the interference state information.
Optionally, the second register is for use when the electronic device is not receiving wireless signals;
the register switching module is configured to switch from the first register to the second register when the electronic device is detected to stop receiving wireless signals.
Optionally, the screen status information comprises at least one of: a screen report threshold value and a filtering parameter.
Optionally, the screen status information includes the screen hit threshold; the device further comprises:
a screen reporting point value acquisition module configured to determine a first screen reporting point threshold value used when receiving a non-interfering wireless signal having the frequency band information;
an interference data acquisition module configured to determine a set of interference data generated by the interfered wireless signal with the frequency band information, wherein the interference data indicates the interference magnitude of the interfered wireless signal with the frequency band information on a capacitor on a display screen of the electronic device;
and the screen report point threshold value determining module is configured to determine a screen report point threshold value corresponding to the frequency band information according to the first screen report point threshold value and the group of interference data.
Optionally, the screen report point threshold determination module includes at least one of:
a first threshold determination sub-module configured to add the first screenshot point threshold and the maximum interference data to obtain a first addition result, and determine the first addition result as the screenshot point threshold used by the electronic device when receiving the wireless signal with the frequency band information;
a second threshold determination sub-module configured to add the maximum interference data and the minimum interference data to obtain a second addition result, add the first screenshot point threshold and a half of the second addition result to obtain a third addition result, and determine the third addition result as the screenshot point threshold used by the electronic device when stopping receiving the wireless signal.
Optionally, the wireless signal comprises a radio frequency signal.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the above first aspects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a wireless signal;
determining current interference state information of the electronic equipment according to the frequency range information of the received wireless signals;
determining a matched first register according to the interference state information, wherein screen control parameters stored in different registers are different;
when the interference state information is detected to change, switching from the first register to a second register matched with the changed interference state information, so that the electronic equipment uses the screen control parameters in the second register.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, the electronic device has a function of switching the register, can determine the current interference state information of the electronic device according to the frequency band information of the received wireless signal, and performs screen control by using the screen control parameter in the register matched with the current interference state information, thereby realizing dynamic adjustment of the screen control parameter and ensuring that the electronic device is always in a normal working state.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow chart illustrating a control method according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating another control method according to an exemplary embodiment;
FIG. 3 is a block diagram illustrating a control device according to an exemplary embodiment;
fig. 4 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The electronic equipment is provided with a display screen and a wireless signal receiving device, and the display screen comprises a control module. The display screen may be a touch screen or the display screen may be a non-touch screen. The wireless signal receiving device is used for receiving wireless signals. The display screen may be integrated with a screen chip.
Fig. 1 is a flowchart illustrating a control method according to an exemplary embodiment, in which the method illustrated in fig. 1 is applied to an electronic device, the method including:
in step 101, a wireless signal is received.
Wireless signals are signals transmitted using wireless technology, such as radio frequency signals and the like.
The electronic equipment is provided with a wireless signal receiving device, and the electronic equipment receives wireless signals by using the wireless signal receiving device. For example, the electronic apparatus is mounted with a radio frequency signal receiving device, and the electronic apparatus receives a radio frequency signal using the radio frequency signal receiving device.
In step 102, current interference state information of the electronic device is determined according to the frequency band information of the received wireless signal.
Generally, wireless signals received by electronic equipment generate interference, such as electromagnetic interference, and the interference generated by wireless signals with different frequency band information is different, which affects the normal operation of the electronic equipment.
The interference status information may be various, for example, the interference status information may indicate that the electronic device is interfered, or the interference status information may indicate a degree of interference experienced by the electronic device, such as an interference level, and the like, or the interference status information may indicate what frequency band information the electronic device is interfered with, and the like.
The corresponding relationship between the frequency band information and the interference state information may be established in advance. In application, the interference state information corresponding to the frequency band information of the currently received wireless signal can be determined by searching the pre-established corresponding relation.
For example, the wireless signal of the GSM900 frequency band generates interference of a first interference value, the wireless signal of the GSM1800 frequency band generates interference of a second interference value, a corresponding relationship between the GSM900 frequency band and interference state information for indicating the first interference value is established, and a corresponding relationship between the GSM1800 frequency band and interference state information for indicating the second interference value is established.
Interference status information may be determined from the frequency band information. For example, interference state information indicating that the electronic device is interfered by the wireless signal is determined according to any frequency band information.
In one embodiment, the interference state information may be determined not only according to the frequency band information of the wireless signal, but also according to the charging and discharging state of the electronic device, the environment where the electronic device is located, and other factors.
In step 103, a first register is determined to be matched according to the interference state information, and the screen control parameters stored in different registers are different.
The screen control parameters are used to control the screen. There are various screen control parameters, for example, the screen control parameters may include at least one of: filtering parameters and touch reporting threshold values. When the display screen is a touch screen, the screen control parameter may include a touch hit threshold. The touch report threshold may be a capacitance threshold, and 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.
The interference generated by the wireless signals of different frequency band information is different, and the electronic equipment can be ensured to be always in a normal working state only by using different screen control parameters under different interference states. Under the condition that the electronic equipment normally works, the corresponding relation between the interference state information corresponding to different frequency band information and the screen control parameter exists.
For example, the wireless signal generates electromagnetic interference, the electromagnetic interference affects the identification of the display screen for valid touch operations, and an invalid touch operation without electromagnetic interference may be mistakenly identified as a valid touch operation, for example, the display screen identifies a touch operation when not being touched, resulting in ghost points. The electromagnetic interference generated by the wireless signals with different frequency band information is different, and the corresponding relation between the interference state information corresponding to the different frequency band information and the screen reporting point threshold value can be established according to the relation between the frequency band information of the wireless signals and the electromagnetic interference generated by the wireless signals. In the application, after the current interference state information of the electronic equipment is determined, the touch control is carried out on the display screen by using the screen report threshold value with the corresponding relation, so that the effective touch operation can be accurately identified by the display screen.
The electronic equipment is provided with a plurality of registers, screen control parameters stored in different registers are different, and the corresponding relation between the interference state information and the registers can be pre-established, so that the electronic equipment can determine the register (namely, the first register) corresponding to the current interference state information according to the pre-established corresponding relation between the interference state information and the registers, and can acquire the screen control parameters corresponding to the current interference state information from the corresponding registers.
In one embodiment, 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. For example, one register stores a screen control parameter corresponding to interference state information indicating a GSM900 band, and the other register stores a screen control parameter corresponding to interference state information indicating a GSM1800 band.
After the electronic equipment determines the current interference state information of the electronic equipment according to the frequency band information of the received wireless signals, a first register corresponding to the internally stored screen control parameters and the current interference state information is determined from the plurality of registers.
In this embodiment, the electronic device is provided with a plurality of registers, and is configured to perform partition storage on the screen control parameters corresponding to different frequency band information, and acquire the screen control parameter corresponding to one frequency band information from one memory.
In step 104, when the interference state information change is detected, switching from the first register to a second register matched with the changed interference state information, so that the electronic device uses the screen control parameter in the second register.
In one embodiment, the second register is used when the electronic device stops receiving the wireless signal, and the electronic device may determine that the interference state information changes from the presence of the wireless signal interference to the absence of the wireless signal interference when the electronic device detects that the wireless signal stops receiving the wireless signal, and then determine the second register and perform screen control using the screen control parameter in the second register.
For example, when the electronic device makes a call or uses a mobile network to surf the internet, the radio frequency signal receiving device receives a radio frequency signal, the radio frequency signal generates interference, and when the electronic device determines that the call is terminated or stops using the mobile network to surf the internet, the electronic device is determined to stop receiving the radio frequency signal, so that the change of interference state information is detected. For another example, when the electronic device determines that the wireless signal is not received all the time within the preset time period, it is determined that the electronic device stops receiving the wireless signal, and it is detected that the interference state information changes.
In one embodiment, the second register is used when the electronic device receives the wireless signal, after the electronic device receives the wireless signal again, the interference state information (hereinafter referred to as new interference state information) of the wireless signal received again is determined, the second register matched with the new interference state information is determined, and the screen control parameter in the second register is used for screen control.
In the embodiment of the disclosure, the electronic device has a function of switching the register, can determine the current interference state information of the electronic device according to the frequency band information of the received wireless signal, and performs screen control by using the screen control parameter in the register matched with the current interference state information, thereby realizing dynamic adjustment of the screen control parameter and ensuring that the electronic device is always in a normal working state.
Fig. 2 is a flowchart illustrating another control method according to an exemplary embodiment, where, on the basis of the method illustrated in fig. 1, when the screen state information includes a screenshot threshold, referring to fig. 2, the electronic device may further perform the following operations:
in step 201, for a frequency band information, a first screenshot threshold used when a non-interfering wireless signal with the frequency band information is received is determined.
In step 202, a set of interference data generated by the interfered wireless signal with the frequency band information is determined, wherein the interference data indicates the interference of the interfered wireless signal with the frequency band information on the capacitance on the display screen of the electronic device.
The first screen hit threshold and a set of interference data may be obtained through experimental testing.
In step 203, a screenshot point threshold corresponding to the frequency band information is determined according to the first screenshot point threshold and a set of interference data.
The first screen touch point threshold, the interference data, and the screen touch point threshold may all be capacitance values.
In one embodiment, a first screenshot point 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 screenshot point threshold used by the electronic device when receiving the wireless signal with the frequency band information.
In one embodiment, the maximum interference data and the minimum interference data are added to obtain a second addition result, the first screenshot point 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 screenshot point threshold used by the electronic device when the electronic device stops receiving the wireless signal.
The embodiment of the present disclosure is only an example of a determination method of the screen report point threshold, and may also be other applicable determination methods.
By using the screen report threshold determined by the method, the touch control of the display screen can be accurately carried out.
In one embodiment, the electronic device comprises 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 the screen control chip integrates a screen driver and a screen control program. The control process performed by the electronic device is as follows:
the method comprises the steps that a wireless signal receiving device receives a wireless signal input from the outside, frequency band information of the wireless signal is determined, current interference state information of the electronic equipment is determined according to the frequency band information of the wireless signal, the interference state information indicates that the electronic equipment is interfered by the wireless signal with the frequency band information, and the interference state information is sent to a screen driving program.
The interference status information may be different from the frequency band information, or the interference status information may be the frequency band information itself. For example, a character string is preset, one character bit in the character string corresponds to frequency band information, after the frequency band information of the wireless signal is determined, the wireless signal receiving device sets a character on the character bit corresponding to the frequency band information in the character string as a preset character, the obtained character string is determined as interference state information, and after the screen driver identifies the preset character on the character bit in the character string, the frequency band information corresponding to the character bit is determined as the frequency band information of the currently received wireless signal.
Illustratively, a character string 0x00000000 is preset, one character bit corresponds to frequency band information, for example, a seventh bit corresponds to a GSM900 frequency band, when the wireless signal receiving apparatus receives a wireless signal of the GSM900 frequency band, the character string is modified to 0x00000010, the character string 0x00000010 is determined as interference state information, and the character string 0x00000010 is sent to the screen driver.
When the electronic device uses the Android system, the wireless signal receiving device may send the interference state information to the screen driver through an Android layer (which may be understood as an upper layer). Specifically, the Android layer may send the received original interference state information to the screen driver, or the Android layer may deform the received original interference state information, where the deformed interference state information has the same content as that indicated by the original interference state information, and send the deformed interference state information to the screen driver. For example, the original interference state information is a character string, and the deformed interference state information is a single character.
And secondly, determining a first register corresponding to the frequency band information indicated by the interference state information by the screen driving program, and writing data into the first register.
The interference state information indicates that the electronic equipment is interfered by the wireless signal with the frequency range information, the screen driving program determines the frequency range information of the currently received wireless signal according to the interference state information, determines a first register corresponding to the frequency range information, and writes data into the first register.
For example, after receiving the character string 0x00000010 sent by the wireless signal receiving apparatus, the screen driver identifies that the seventh bit in the character string 0x00000010 is 1, determines that the frequency band information of the currently received wireless signal is GSM900, determines a register set corresponding to the frequency band of GSM900, and writes the character string 0x00000010 into the corresponding register.
When only the screen control parameter corresponding to the frequency band information is stored in one register, the screen control program only needs to know which register the screen control parameter is obtained from, at this time, the screen driving program can write data which does not indicate the frequency band information into the first register, and after the data is written into the first register, the screen control program is triggered to read the screen control parameter from the first register.
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 state information, into the first memory, so that the screen driver determines the frequency band information of the currently received wireless signal according to the data, and determines the screen control parameters corresponding to the frequency band information of the currently received wireless signal according to the corresponding relationship between preset multiple sets of frequency band information and the screen control parameters.
And thirdly, after the screen control program determines that the data is written in the first register, reading the screen control parameter corresponding to the frequency band information from the first register, and performing screen control by using the read screen control parameter.
After the screen driver writes data into the first register, the screen control program may receive notification information indicating that data is written into the first register, or the notification information indicating that data indicating frequency band information of the currently received wireless signal is written into the first register, and trigger the screen control program to read, from the first register, a screen control parameter corresponding to the frequency band information of the currently received wireless signal.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and corresponding electronic equipment.
Fig. 3 is a block diagram illustrating a control apparatus according to an exemplary embodiment, the control apparatus illustrated in fig. 3 being applied to an electronic device, the apparatus including: a signal receiving module 31, an interference state information determining module 32, a register determining module 33 and a register switching module 34; wherein,
the signal receiving module 31 configured to receive a wireless signal;
the interference state information determining module 32 is configured to determine current interference state information of the electronic device according to the frequency band information of the received wireless signal;
the register determining module 33 is configured to determine a matched first register according to the interference state information, and screen control parameters stored in different registers are different;
the register switching module 34 is configured to switch from the first register to a second register matching the changed interference state information when detecting that the interference state information is changed, so that the electronic device uses the screen control parameter in the second register.
In an alternative embodiment, on the basis of the control device shown in fig. 3, 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 determining module 33 may be configured to determine the first register from the plurality of registers, where the internally stored screen control parameter corresponds to the interference state information.
In an alternative embodiment, on the basis of the control device shown in fig. 3, the second register is used when the electronic device does not receive a wireless signal;
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.
In an alternative embodiment, on the basis of the control device shown in fig. 3, the screen status information includes at least one of: a screen report threshold value and a filtering parameter.
In an alternative embodiment, the screen status information includes the screen break threshold; the apparatus may further include: the device comprises a screen report value acquisition module, an interference data acquisition module and a screen report threshold value determination module; wherein,
the screen reporting point value acquisition module is configured to acquire a first screen reporting point value corresponding to the interference-free wireless signal with the frequency band information;
the interference data acquisition module is configured to acquire a set of interference data corresponding to the interfered wireless signal with the frequency band information, wherein the interference data indicates a deviation of a second screenshot point value relative to the first screenshot point value, and the second screenshot point value is a screenshot point value corresponding to the interfered wireless signal with the frequency band information;
the screenshot point threshold determination module is configured to determine a screenshot point threshold corresponding to the frequency band information according to the first screenshot point value and the group of interference data.
In an optional embodiment, the screenshot point threshold determination module may include at least one of: a first threshold value determining submodule and a second threshold value determining submodule; wherein,
the first threshold determining submodule is configured to add the first screenshot point value and the maximum interference data to obtain a first addition result, and determine the first addition result as a screenshot point threshold used by the electronic device when receiving the wireless signal with the frequency range information;
the second threshold determination submodule is configured to add maximum interference data and minimum interference data to obtain a second addition result, add the first screenshot point value and half of the second addition result to obtain a third addition result, and determine the third addition result as a screenshot point threshold used by the electronic device when the electronic device stops receiving wireless signals.
In an alternative embodiment, the wireless signal comprises a radio frequency signal based on the control device shown in fig. 3.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, in one aspect, an embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
receiving a wireless signal; determining current interference state information of the electronic equipment according to the frequency range information of the received wireless signals; determining a matched first register according to the interference state information, wherein screen control parameters stored in different registers are different; when the interference state information is detected to change, switching from the first register to a second register matched with the changed interference state information, so that the electronic equipment uses the screen control parameters in the second register.
Fig. 4 is a schematic diagram illustrating a structure of an electronic device 1600 according to an example embodiment. For example, apparatus 1600 may be a user device, which may be embodied as a mobile phone, a computer, a digital broadcast electronic device, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, smart band, smart running shoe, and the like.
Referring to fig. 4, apparatus 1600 may include one or more of the following components: processing component 1602, memory 1604, power component 1606, multimedia component 1608, audio component 1610, input/output (I/O) interface 1612, sensor component 1614, and communications component 1616.
The processing component 1602 generally controls overall operation of the device 1600, such as operations associated with display, telephone 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 methods described above. Further, the processing component 1602 can include one or more modules that facilitate interaction between the processing component 1602 and other components. For example, the processing component 1602 can include a multimedia module to facilitate interaction between the multimedia component 1608 and the processing component 1602.
The memory 1604 is configured to store various types of data to support operation at the device 1600. Examples of such data include instructions for any application or method operating on device 1600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1604 may be implemented by any type of volatile or non-volatile memory device or 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 or optical disk.
A power supply component 1606 provides power to the various components of the device 1600. The power components 1606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1600.
The multimedia component 1608 includes a screen that provides an output interface between the apparatus 1600 and a user as described above. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1608 comprises a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the back-facing camera may receive external multimedia data when device 1600 is in an operational mode, such as an adjustment mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1610 is configured to output and/or input an audio signal. For example, audio component 1610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1600 is in an operational mode, such as a call mode, recording mode, and voice recognition mode. The received audio signal may further be stored in the memory 1604 or transmitted via the communications component 1616. In some embodiments, audio component 1610 further includes a speaker for outputting audio signals.
The I/O interface 1612 provides an interface between the processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1614 includes one or more sensors for providing status assessment of various aspects to device 1600. For example, sensor assembly 1614 can detect an open/closed state of device 1600, the relative positioning of components, such as a display and keypad of device 1600, a change in position of device 1600 or a component of device 1600, the presence or absence of user contact with device 1600, orientation or acceleration/deceleration of device 1600, and a change in temperature of device 1600. The sensor assembly 1614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1616 is configured to facilitate communications between the apparatus 1600 and other devices in a wired or wireless manner. The device 1600 may 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 broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the aforementioned communication component 1616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as the memory 1604 comprising instructions that when executed by the processor 1620 of the apparatus 1600, enable the apparatus 1600 to perform a control method comprising: receiving a wireless signal; determining current interference state information of the electronic equipment according to the frequency range information of the received wireless signals; determining a matched first register according to the interference state information, wherein screen control parameters stored in different registers are different; when the interference state information is detected to change, switching from the first register to a second register matched with the changed interference state information, so that the electronic equipment uses the screen control parameters in the second register.
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.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (16)

1. A control method is applied to an electronic device, and the method comprises the following steps:
receiving a wireless signal;
determining current interference state information of the electronic equipment according to the frequency range information of the received wireless signals;
determining a matched first register according to the interference state information, wherein screen control parameters stored in different registers are different;
when the interference state information is detected to change, switching from the first register to a second register matched with the changed interference state information, so that the electronic equipment uses the screen control parameters in the second register.
2. The method according to claim 1, wherein the electronic device is provided with a plurality of registers, and interference state information corresponding to screen control parameters stored in different registers is different; the determining the matched first register according to the interference state information includes:
and determining the first register corresponding to the internally stored screen control parameter and the interference state information from the plurality of registers.
3. The method of claim 1, wherein the second register is for use when the electronic device is not receiving wireless signals; when detecting that the interference state information changes, switching from the first register to a second register matched with the changed interference state information includes:
when the electronic equipment is detected to stop receiving wireless signals, switching from the first register to the second register.
4. The method of claim 1, wherein the screen status information comprises at least one of: a screen report threshold value and a filtering parameter.
5. The method of claim 4, wherein the screen status information comprises the screen hit threshold; the method further comprises the following steps:
determining a first screen reporting point threshold value used when receiving an interference-free wireless signal with the frequency band information;
determining a set of interference data generated by the interfered wireless signal with the frequency band information, wherein the interference data indicates the interference magnitude of the interfered wireless signal with the frequency band information on a capacitor on a display screen of the electronic equipment;
and determining a screenshot point threshold corresponding to the frequency range information according to the first screenshot point threshold and the group of interference data.
6. The method of claim 5, wherein the determining the screenshot threshold corresponding to the bin information according to the first screenshot threshold and the set of interference data comprises at least one of:
adding the first screenshot point threshold value and the maximum interference data to obtain a first addition result, and determining the first addition result as the screenshot point threshold value used by the electronic equipment when the electronic equipment receives the wireless signal with the frequency range information;
adding the maximum interference data and the minimum interference data to obtain a second addition result, adding the first screen reporting point threshold value and half of the second addition result to obtain a third addition result, and determining the third addition result as the screen reporting point threshold value used by the electronic equipment when the electronic equipment stops receiving wireless signals.
7. The method of claim 1, wherein the wireless signal comprises a radio frequency signal.
8. A control device, applied to an electronic apparatus, the device comprising:
a signal receiving module configured to receive a wireless signal;
the interference state information determining module is configured to determine current interference state information of the electronic equipment according to the frequency band information of the received wireless signal;
the register determining module is configured to determine a matched first register according to the interference state information, and screen control parameters stored in different registers are different;
a register switching module configured to switch from the first register to a second register matching the changed interference state information when detecting that the interference state information is changed, so that the electronic device uses a screen control parameter in the second register.
9. The apparatus according to claim 8, wherein 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 determining module is configured to determine the first register, from the plurality of registers, where the internally stored screen control parameter corresponds to the interference state information.
10. The apparatus of claim 8, wherein the second register is for use when the electronic device is not receiving wireless signals;
the register switching module is configured to switch from the first register to the second register when the electronic device is detected to stop receiving wireless signals.
11. The apparatus of claim 8, wherein the screen status information comprises at least one of: a screen report threshold value and a filtering parameter.
12. The apparatus of claim 11, wherein the screen status information comprises the screen hit threshold; the device further comprises:
a screen reporting point value acquisition module configured to determine a first screen reporting point threshold value used when receiving a non-interfering wireless signal having the frequency band information;
an interference data acquisition module configured to determine a set of interference data generated by the interfered wireless signal with the frequency band information, wherein the interference data indicates the interference magnitude of the interfered wireless signal with the frequency band information on a capacitor on a display screen of the electronic device;
and the screen report point threshold value determining module is configured to determine a screen report point threshold value corresponding to the frequency band information according to the first screen report point threshold value and the group of interference data.
13. The apparatus of claim 12, wherein the onscreen hit threshold determination module comprises at least one of:
a first threshold determination sub-module configured to add the first screenshot point threshold and the maximum interference data to obtain a first addition result, and determine the first addition result as the screenshot point threshold used by the electronic device when receiving the wireless signal with the frequency band information;
a second threshold determination sub-module configured to add the maximum interference data and the minimum interference data to obtain a second addition result, add the first screenshot point threshold and a half of the second addition result to obtain a third addition result, and determine the third addition result as the screenshot point threshold used by the electronic device when stopping receiving the wireless signal.
14. The apparatus of claim 8, wherein the wireless signal comprises a radio frequency signal.
15. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the method of any one of claims 1-7.
16. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a wireless signal;
determining current interference state information of the electronic equipment according to the frequency range information of the received wireless signals;
determining a matched first register according to the interference state information, wherein screen control parameters stored in different registers are different;
when the interference state information is detected to change, switching from the first register to a second register matched with the changed interference state information, so that the electronic equipment uses the screen control parameters in the second register.
CN202010897336.8A 2020-08-31 2020-08-31 Control method and device Pending CN114115768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010897336.8A CN114115768A (en) 2020-08-31 2020-08-31 Control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010897336.8A CN114115768A (en) 2020-08-31 2020-08-31 Control method and device

Publications (1)

Publication Number Publication Date
CN114115768A true CN114115768A (en) 2022-03-01

Family

ID=80360693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010897336.8A Pending CN114115768A (en) 2020-08-31 2020-08-31 Control method and device

Country Status (1)

Country Link
CN (1) CN114115768A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103419A (en) * 2022-05-13 2022-09-23 联想(北京)有限公司 Control method and device and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040227735A1 (en) * 2003-05-15 2004-11-18 Pratt Susan M. Analog to digital converter controller
US20150093994A1 (en) * 2013-09-27 2015-04-02 Intel Corporation Dynamic Switching Frequency Control of an On-Chip or Integrated Voltage Regulator
CN105659197A (en) * 2014-01-26 2016-06-08 华为终端有限公司 Interference suppression method and apparatus for touch screen and terminal device
US20170063145A1 (en) * 2015-08-31 2017-03-02 Qualcomm Incorporated Methods and apparatus for controlling touchscreen interference
CN107526471A (en) * 2017-08-28 2017-12-29 北京小米移动软件有限公司 Touch-screen control method, device and storage medium
CN108762556A (en) * 2018-05-22 2018-11-06 广州视源电子科技股份有限公司 Touch screen control method, parameter determination method, corresponding device and equipment
CN108900669A (en) * 2018-06-26 2018-11-27 维沃移动通信有限公司 touch screen scanning method and mobile terminal
CN109412704A (en) * 2018-10-31 2019-03-01 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product
CN109597507A (en) * 2017-09-30 2019-04-09 比亚迪股份有限公司 Touch screen, radio frequency interference control method and device
CN109618063A (en) * 2019-01-31 2019-04-12 Oppo广东移动通信有限公司 Reduce method, apparatus, electronic equipment and the storage medium of Communication Jamming
CN110489013A (en) * 2019-08-13 2019-11-22 集创北方(深圳)科技有限公司 Touch control detecting method, touch control detection device and display panel

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040227735A1 (en) * 2003-05-15 2004-11-18 Pratt Susan M. Analog to digital converter controller
US20150093994A1 (en) * 2013-09-27 2015-04-02 Intel Corporation Dynamic Switching Frequency Control of an On-Chip or Integrated Voltage Regulator
CN105659197A (en) * 2014-01-26 2016-06-08 华为终端有限公司 Interference suppression method and apparatus for touch screen and terminal device
US20170063145A1 (en) * 2015-08-31 2017-03-02 Qualcomm Incorporated Methods and apparatus for controlling touchscreen interference
CN107526471A (en) * 2017-08-28 2017-12-29 北京小米移动软件有限公司 Touch-screen control method, device and storage medium
CN109597507A (en) * 2017-09-30 2019-04-09 比亚迪股份有限公司 Touch screen, radio frequency interference control method and device
CN108762556A (en) * 2018-05-22 2018-11-06 广州视源电子科技股份有限公司 Touch screen control method, parameter determination method, corresponding device and equipment
CN108900669A (en) * 2018-06-26 2018-11-27 维沃移动通信有限公司 touch screen scanning method and mobile terminal
CN109412704A (en) * 2018-10-31 2019-03-01 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product
CN109618063A (en) * 2019-01-31 2019-04-12 Oppo广东移动通信有限公司 Reduce method, apparatus, electronic equipment and the storage medium of Communication Jamming
CN110489013A (en) * 2019-08-13 2019-11-22 集创北方(深圳)科技有限公司 Touch control detecting method, touch control detection device and display panel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邓奥峰;: "浅析投射式多点触控电容触摸屏", 电子制作, no. 19, 1 October 2018 (2018-10-01) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103419A (en) * 2022-05-13 2022-09-23 联想(北京)有限公司 Control method and device and electronic equipment
CN115103419B (en) * 2022-05-13 2024-05-28 联想(北京)有限公司 Control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US9860844B2 (en) Method and apparatus of temperature control
CN106339168B (en) Screen control method and device
EP3232340A1 (en) Method for operating a display device and display device for displaying pages of an application program
CN105183364A (en) Application switching method, application switching device and application switching equipment
CN107943347B (en) Touch screen control method and device
US20190235745A1 (en) Method and device for displaying descriptive information
US10234924B2 (en) Method and apparatus for displaying time on mobile device
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
EP3249505B1 (en) Method and electronic device for controlling a state of a touch screen
CN110262692B (en) Touch screen scanning method, device and medium
CN107132949B (en) Anti-interference method, device, terminal and storage medium
CN106354504B (en) Message display method and device
CN110413148B (en) False touch prevention detection method, device, equipment and storage medium
CN111880681A (en) Touch screen sampling rate adjusting method and device and computer storage medium
CN105677215A (en) Application control method and apparatus
CN106445122B (en) Equipment state control method and device
CN105786561B (en) Method and device for calling process
CN114115768A (en) Control method and device
CN108829532B (en) Fingerprint detection method, device and readable storage medium
CN107682101B (en) Noise detection method and device and electronic equipment
CN109813295B (en) Orientation determination method and device and electronic equipment
CN107273173B (en) Fingerprint sensor control method and device and storage medium
CN107168631B (en) Application program closing method and device and terminal electronic equipment
CN105100135A (en) Network sharing setting method and device
CN109976563B (en) Misoperation determining method and device and touch operation response method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination