[go: up one dir, main page]

CN114740996B - Signal acquisition method and electronic equipment - Google Patents

Signal acquisition method and electronic equipment

Info

Publication number
CN114740996B
CN114740996B CN202210363817.XA CN202210363817A CN114740996B CN 114740996 B CN114740996 B CN 114740996B CN 202210363817 A CN202210363817 A CN 202210363817A CN 114740996 B CN114740996 B CN 114740996B
Authority
CN
China
Prior art keywords
frequency
touch screen
screen information
screen
processor
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.)
Active
Application number
CN202210363817.XA
Other languages
Chinese (zh)
Other versions
CN114740996A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210363817.XA priority Critical patent/CN114740996B/en
Publication of CN114740996A publication Critical patent/CN114740996A/en
Priority to PCT/CN2023/086389 priority patent/WO2023193731A1/en
Application granted granted Critical
Publication of CN114740996B publication Critical patent/CN114740996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a signal acquisition method and electronic equipment, and belongs to the technical field of electronics. The method comprises the steps that under the condition that a current change value of a charging circuit is larger than a first threshold value, the central processing unit obtains first touch screen information, the sampling frequency of the first touch screen information is a first frequency, under the condition that the current change value is smaller than or equal to the first threshold value, the central processing unit obtains second touch screen information, the sampling frequency of the second touch screen information is a second frequency, and the first frequency is smaller than the second frequency.

Description

Signal acquisition method and electronic equipment
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a signal acquisition method and electronic equipment.
Background
Along with the increasing demands of users on the interaction function of the whole machine, the idea of combining the hidden pressure-sensitive keys with the screen is generated.
In the related art, when a user performs touch input on a screen, the screen is deformed, a voltage signal can be output by a pressure sensing module attached to the lower part of the screen, and the voltage signal can be transmitted to a central processing unit for operation response after being subjected to internal operation processing by a pressure sensing signal processor.
However, when the electronic device is charged, the current in the charging line will rise instantaneously from 0, which corresponds to a step current with a very large amplitude being loaded inside the charging line. In this process, because the magnetic flux changes, the charging current generates an interference signal to affect the output voltage of the pressure sensing module, thereby causing the screen to be touched by mistake.
Disclosure of Invention
The embodiment of the application aims to provide a signal acquisition method and electronic equipment, which can solve the problem that a screen is touched by mistake at the moment of charging.
In a first aspect, an embodiment of the application provides a signal acquisition method, which is applied to a signal acquisition circuit, wherein the signal acquisition circuit comprises a charging circuit and a central processing unit, the charging circuit is connected with the central processing unit, the method comprises the steps that under the condition that a current change value of the charging circuit is larger than a first threshold value, the central processing unit acquires first touch screen information, the sampling frequency of the first touch screen information is a first frequency, under the condition that the current change value is smaller than or equal to the first threshold value, the central processing unit acquires second touch screen information, and the sampling frequency of the second touch screen information is a second frequency, wherein the first frequency is smaller than the second frequency.
In a second aspect, the embodiment of the application provides a signal acquisition device, which comprises an acquisition module, wherein the acquisition module is used for acquiring first touch screen information when a current change value of a charging circuit is larger than a first threshold value, the sampling frequency of the first touch screen information is a first frequency, and the central processing unit is used for acquiring second touch screen information when the current change value is smaller than or equal to the first threshold value, and the sampling frequency of the second touch screen information is a second frequency, wherein the first frequency is smaller than the second frequency.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the central processing unit can acquire first touch screen information under the condition that the current change value of the charging circuit is larger than a first threshold value, wherein the sampling frequency of the first touch screen information is a first frequency, and acquire second touch screen information under the condition that the current change value is smaller than or equal to the first threshold value, and the sampling frequency of the second touch screen information is a second frequency, wherein the first frequency is smaller than the second frequency. According to the scheme, the sampling frequency of the first touch screen information is the first frequency, the sampling frequency of the second touch screen information is the second frequency, and the first frequency is smaller than the second frequency, namely, when the charging circuit is suddenly changed in current, the sampling frequency of the touch screen information can be reduced, and the touch screen information can be staggered with the time of the sudden change in current, so that the interference of the sudden change in current of the charging circuit on the touch screen information can be avoided, and the occurrence of false touch of the screen is avoided.
Drawings
Fig. 1 is a schematic flow chart of a signal acquisition circuit according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating deformation of a pressure sensing module in a signal acquisition circuit according to an embodiment of the present application;
FIG. 3 is a schematic circuit diagram of a pressure sensing module in a signal acquisition circuit according to an embodiment of the present application;
FIG. 4 is a schematic diagram of current disturbance of a signal acquisition circuit according to an embodiment of the present application;
FIG. 5 is a second schematic diagram of a signal acquisition circuit according to an embodiment of the present application;
Fig. 6 is a schematic flow chart of a signal acquisition method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a signal acquisition device according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic hardware diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The signal acquisition method provided by the embodiment of the application is described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The execution main body of the signal acquisition method provided by the embodiment of the application may be an electronic device or a functional module or a functional entity capable of implementing the signal acquisition method in the electronic device, such as a central processing unit, and the electronic device mentioned in the embodiment of the application includes, but is not limited to, a mobile phone, a tablet computer, a camera, a wearable device, etc., and the signal acquisition method provided in the embodiment of the application is described below by taking the central processing unit as an execution main body.
As shown in fig. 1, an embodiment of the present application provides a signal acquisition circuit, which includes a central processing unit 101, a pressure sensing signal processor 102, a pressure sensing module 103, a screen 104, a response module 105, a charging circuit 106 and a charging interface 107. The central processing unit 101 is respectively connected with the screen 104, the pressure sensing signal processor 102, the response module 105 and the charging circuit 106, the pressure sensing signal processor 102 is connected with the pressure sensing module 103, the pressure sensing module 103 is connected with the screen 104, and the charging circuit 106 is connected with the charging interface 107.
Alternatively, the charging circuit may be a circuit in a flexible printed circuit (Flexible Printed Circuit, FPC) board, or a circuit in a printed wiring board (Printed Circuit Board).
As shown in fig. 2, after the user performs touch input on the screen 104, the screen 104 will deform, and the upper resistor attached to the pressure sensing module 103 below the screen 104 will become shorter due to extrusion, the resistance will decrease, the lower resistor will be elongated, and the resistance will increase. As shown in fig. 3, since the resistances of the upper resistors (the resistance deformation R1 and the resistance deformation R2) and the lower resistors (the resistance deformation R3 and the resistance deformation R4) are different, the pressure sensing module 103 can output the forward voltage V1.
With continued reference to fig. 1, after the pressure-sensing signal processor 102 receives the forward voltage V1 transmitted by the pressure-sensing module 103, the forward voltage V1 may be amplified to obtain a screen pressure-sensing signal, and then the screen pressure-sensing signal is transmitted to the central processor 101, and the central processor 101 may also receive the screen touch coordinates transmitted by the screen 104, and then the central processor 101 may control the response module 105 to perform a corresponding touch operation according to the screen pressure-sensing signal and the screen touch coordinates.
However, after the charging interface 107 is connected to the charging device, the current in the charging line 106 will rise from 0 instantaneously, as shown in fig. 4, the charging current 41 will couple the supply current 42 and the return current 43, where the supply current 42 is a current in the power supply path of the voltage sensing bridge between the voltage sensing signal processor 102 and the voltage sensing module 103, and the return current 43 is a current in the return path of the voltage sensing signal between the voltage sensing signal processor 102 and the voltage sensing module 103. Because a changing magnetic field is generated around the changing current, and a corresponding magnetic flux is generated by the magnetic field flowing through the closed loop, when the magnetic flux changes, a corresponding induced electromotive force is generated on the closed loop, so that when the electronic device is charged, the voltage sensing module 103 may output a voltage even if the user does not perform touch input before the charging current is stabilized, thereby causing the screen to be touched by mistake. In order to solve the problem, the embodiment of the application also provides a signal acquisition method.
Optionally, as shown in fig. 5, the signal acquisition circuit may further include a filter 108, where a first connection end of the filter 108 is connected to the pressure sensing signal processor 102, a second connection end is connected to the pressure sensing module 103, and a third connection end is connected to the central processor 101. The filter 108 may be used to filter out a portion of the voltage signal output by the voltage sensing module 103.
As shown in fig. 6, a signal acquisition method according to an embodiment of the present application is applied to the signal acquisition circuit, and the method may include steps 601 to 602:
in step 601, the central processing unit acquires first touch screen information when the current variation value of the charging circuit is greater than a first threshold value.
The sampling frequency of the first touch screen information is a first frequency.
Alternatively, the current change value of the charging line is small after the charging current reaches a steady state, and thus, the above-mentioned first threshold value may be any number larger than the current change value when the charging current reaches a steady state.
Alternatively, the first frequency may be greater than or equal to 0 and less than the transmission frequency (i.e., the second frequency) of the touch screen information at other moments. The second frequency is a transmission frequency that cannot enable the user to experience a touch feedback delay.
Optionally, the first touch screen information may include at least one of screen touch coordinates and screen pressure sensing signals. The screen touch coordinates are used to cause the central processor to determine the location of the user's touch input on the screen. The screen pressure sensing signal is used for enabling the central processing unit to determine that the screen is deformed in a touch mode. That is, when the current change value of the charging line is greater than the first threshold, the central processor may acquire the screen touch coordinate with the sampling frequency being the first frequency, may also acquire the screen pressure sensing signal with the sampling frequency being the first frequency, and may also acquire the screen touch coordinate with the sampling frequency being the first frequency and the screen pressure sensing signal.
It should be noted that, the central processing unit must receive the screen touch coordinates and the screen pressure sensing signals, so as to perform corresponding response operations in response to the touch input of the user.
Based on the above scheme, since the first touch screen information may include at least one of the screen touch coordinates and the screen pressure sensing signal, and the central processor must perform the corresponding response operation in response to the touch input of the user only when receiving the screen touch coordinates and the screen pressure sensing signal, reducing the sampling frequency of at least one of the screen touch coordinates and the screen pressure sensing signal can avoid the interference of the current abrupt change of the charging circuit on the touch screen response process.
Optionally, in a case where the first touch screen information includes screen touch coordinates, the central processor may adjust the capacitance sampling frequency of the screen from the second frequency to the first frequency in a case where the current variation value is greater than the first threshold value.
It should be noted that, when the finger of the user presses the target position on the screen, the capacitance of the target position will change, and the central processor can reversely calculate the screen coordinates of the target position, that is, the screen touch coordinates, according to the coordinates of the capacitance. Therefore, the sampling frequency of the touch coordinate of the screen is the sampling frequency of the capacitance of the screen.
For example, taking the first frequency as 0 as an example, in the case that the current variation value is greater than the first threshold value, the central processor may adjust the sampling frequency of the capacitance of the screen from the second frequency to 0, that is, in the case that the current variation value is greater than the first threshold value, the coordinates of the capacitance are not transmitted from the screen to the central processor, and the central processor cannot determine the touch coordinates of the screen, so that the central processor does not perform the corresponding response operation.
Based on the scheme, the capacitance sampling frequency of the screen can be adjusted from the second frequency to the first frequency, so that the frequency of the screen touch coordinates acquired by the central processing unit is reduced under the condition that the current change value is larger than the first threshold value, and the interference of the current abrupt change of the charging circuit on the touch screen response process can be reduced.
Alternatively, in the case where the first touch screen information includes a screen pressure sensing signal, the central processor may adjust the voltage sampling frequency of the pressure sensing signal processor from the second frequency to the first frequency in the case where the current variation value is greater than the first threshold value.
It should be noted that, when the finger of the user presses on the screen, the deformation resistor of the pressure sensing module will deform, the resistance value of the deformation resistor will change, and the pressure sensing module will output the forward voltage accordingly. The voltage sensing signal processor can collect the forward voltage, amplify the forward voltage, and finally transmit the amplified screen voltage sensing signal to the central processor, and the central processor can determine that the screen is deformed in a touch mode according to the received screen voltage sensing signal. Therefore, the sampling frequency of the screen pressure sensing signal is the frequency (i.e. the voltage sampling frequency) of the pressure sensing signal processor for collecting the forward voltage.
Specifically, since the forward voltage output by the pressure sensing module needs to be amplified by the pressure sensing signal processor to obtain the screen pressure sensing signal, the central processing unit reduces the voltage sampling frequency of the pressure sensing signal processor under the condition that the current change value is greater than the first threshold value, so that the frequency of the central processing unit obtaining the screen pressure sensing signal can be reduced. That is, in the case where the current variation value is greater than the first threshold value, the screen pressure sensing signal is not transmitted from the pressure sensing signal processor to the central processing unit, and the central processing unit does not acquire the screen pressure sensing signal, the corresponding response operation is not performed.
Based on the scheme, the voltage sampling frequency of the pressure sensing signal processor can be adjusted from the second frequency to the first frequency under the condition that the current change value is larger than the first threshold value, so that the interference of the current mutation of the charging circuit on the touch screen response process can be reduced, the influence of the frequency reduction process on the screen deformation process can be ensured, and the influence on other touch screen requirements can be avoided.
Alternatively, in case the first touch screen information includes a screen pressure sensing signal, the central processor may adjust the bandwidth of the filter to a preset bandwidth including the first frequency in case the current variation value is greater than the first threshold value.
Specifically, when the current variation value is greater than the first threshold, the central processor may adjust the frequency operating range of the filter to a preset bandwidth, that is, only allow signals in the preset bandwidth to pass through, and specifically filter noise of a frequency point corresponding to the charging current.
It should be noted that, the preset bandwidth including the first frequency means that the filter may pass the signal transmitted according to the first frequency.
Based on the above scheme, since the bandwidth of the filter can be adjusted to be the preset bandwidth under the condition that the current change value is larger than the first threshold value, the filter can filter interference signals outside the preset bandwidth and enable screen pressure sensing signals of the first frequency to pass through, and therefore interference of current abrupt change of the charging circuit on the touch screen response process can be reduced.
In step 602, the central processor acquires the second touch screen information when the current variation value is less than or equal to the first threshold value.
The sampling frequency of the second touch screen information is a second frequency, and the first frequency is smaller than the second frequency.
Alternatively, the condition that the current variation value is less than or equal to the first threshold value may include that the charging current tends to be in a steady state, or that the electronic device is not in a charged state.
Optionally, the second touch screen information may include screen touch coordinates and a screen pressure sensing signal.
In the case where the current variation value is less than or equal to the first threshold value, the central processor may acquire touch screen information transmitted at the second frequency, that is, the touch screen information may be transmitted to the central processor at the normal frequency.
In the embodiment of the application, the sampling frequency of the first touch screen information is the first frequency, the sampling frequency of the second touch screen information is the second frequency, and the first frequency is smaller than the second frequency, namely, when the charging circuit has current mutation, the sampling frequency of the touch screen information can be reduced, and the touch screen information can be staggered with the time of the current mutation, so that the interference of the current mutation of the charging circuit on the touch screen information can be avoided, and the occurrence of false touch of the screen is avoided.
According to the signal acquisition method provided by the embodiment of the application, the execution subject can be a signal acquisition device. In the embodiment of the present application, a signal acquisition device is described by taking a signal acquisition method performed by a signal acquisition device as an example.
As shown in fig. 7, the embodiment of the application further provides a signal acquisition device 700, which includes an acquisition module 701, wherein the acquisition module 701 is configured to acquire first touch screen information when a current change value of a charging line is greater than a first threshold value, and acquire second touch screen information when the current change value is less than or equal to the first threshold value, and the sampling frequency of the second touch screen information is a second frequency, where the first frequency is less than the second frequency.
Optionally, the first touch screen information includes at least one of screen touch coordinates and screen pressure sensing signals.
Optionally, the apparatus 700 may further include a processing module 702, where the first touch screen information includes the screen touch coordinates, the processing module 702 is configured to adjust a capacitance sampling frequency of the screen from the second frequency to the first frequency if the current change value is greater than the first threshold.
Optionally, in a case where the first touch screen information includes the screen pressure sensing signal, the processing module 702 is configured to adjust a voltage sampling frequency of the pressure sensing signal processor from the second frequency to the first frequency in a case where the current variation value is greater than the first threshold.
Optionally, in a case where the first touch screen information includes the screen pressure sensing signal, the processing module 702 is configured to adjust a bandwidth of a filter to a preset bandwidth, where the current variation value is greater than the first threshold, and the preset bandwidth includes the first frequency.
In the embodiment of the application, the sampling frequency of the first touch screen information is the first frequency, the sampling frequency of the second touch screen information is the second frequency, and the first frequency is smaller than the second frequency, namely, when the charging circuit has current mutation, the sampling frequency of the touch screen information can be reduced, and the touch screen information can be staggered with the time of the current mutation, so that the interference of the current mutation of the charging circuit on the touch screen information can be avoided, and the occurrence of false touch of the screen is avoided.
The signal acquisition device in the embodiment of the application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. The electronic device may be a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile internet appliance (Mobile INTERNET DEVICE, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The signal acquisition device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The signal acquisition device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 6, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 8, the embodiment of the present application further provides an electronic device 800, including a processor 801 and a memory 802, where the memory 802 stores a program or an instruction that can be executed on the processor 801, and the program or the instruction implements each step of the above signal acquisition method embodiment when executed by the processor 801, and the steps achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 9 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to, a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 1010 is configured to obtain first touch screen information when a current change value of a charging line is greater than a first threshold, where a sampling frequency of the first touch screen information is a first frequency, and obtain second touch screen information when the current change value is less than or equal to the first threshold, where the sampling frequency of the second touch screen information is a second frequency, where the first frequency is less than the second frequency.
In the embodiment of the application, the sampling frequency of the first touch screen information is the first frequency, the sampling frequency of the second touch screen information is the second frequency, and the first frequency is smaller than the second frequency, namely, when the charging circuit has current mutation, the sampling frequency of the touch screen information can be reduced, and the touch screen information can be staggered with the time of the current mutation, so that the interference of the current mutation of the charging circuit on the touch screen information can be avoided, and the occurrence of false touch of the screen is avoided.
Optionally, in a case where the first touch screen information includes the screen touch coordinates, the processor 1010 is configured to adjust the capacitance sampling frequency of the screen from the second frequency to the first frequency in a case where the current variation value is greater than the first threshold.
In the embodiment of the application, the capacitance sampling frequency of the screen can be adjusted from the second frequency to the first frequency, so that the frequency of the screen touch coordinate acquired by the central processing unit is reduced under the condition that the current change value is larger than the first threshold value, and the interference of the current abrupt change of the charging circuit on the touch screen response process can be reduced.
Optionally, in a case where the first touch screen information includes the screen pressure sensing signal, the processor 1010 is configured to adjust a voltage sampling frequency of the pressure sensing signal processor from the second frequency to the first frequency in a case where the current variation value is greater than the first threshold.
In the embodiment of the application, the voltage sampling frequency of the pressure sensing signal processor can be adjusted from the second frequency to the first frequency under the condition that the current change value is larger than the first threshold value, so that the interference of the current mutation of the charging circuit on the touch screen response process can be reduced, the influence of the frequency reduction process on the screen deformation process can be ensured, and the influence on other touch screen requirements can be avoided.
Optionally, in a case where the first touch screen information includes the screen pressure sensing signal, the processor 1010 is configured to adjust a bandwidth of the filter to a preset bandwidth, where the current variation value is greater than the first threshold, and the preset bandwidth includes the first frequency.
In the embodiment of the application, the bandwidth of the filter can be adjusted to be the preset bandwidth under the condition that the current change value is larger than the first threshold value, so that the filter can filter interference signals outside the preset bandwidth and enable screen pressure sensing signals of the first frequency to pass through, and interference of current abrupt change of the charging circuit on the touch screen response process can be reduced.
It should be appreciated that in embodiments of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, where the graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 1009 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units, and optionally the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application program, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above signal acquisition method embodiment, and can achieve the same technical effects, and in order to avoid repetition, a detailed description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the signal acquisition method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the signal acquisition method embodiments described above, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1.一种信号获取方法,其特征在于,应用于信号获取电路,所述信号获取电路包括充电线路和中央处理器,所述充电线路连接所述中央处理器;所述方法包括:1. A signal acquisition method, characterized in that it is applied to a signal acquisition circuit, wherein the signal acquisition circuit includes a charging circuit and a central processing unit, and the charging circuit is connected to the central processing unit; the method comprises: 在所述充电线路的电流变化值大于第一阈值的情况下,所述中央处理器获取第一触屏信息,所述第一触屏信息的采样频率为第一频率;When the current change value of the charging circuit is greater than a first threshold, the central processor acquires first touch screen information, and the sampling frequency of the first touch screen information is a first frequency; 在所述电流变化值小于或等于所述第一阈值的情况下,所述中央处理器获取第二触屏信息,所述第二触屏信息的采样频率为第二频率;When the current change value is less than or equal to the first threshold, the central processor acquires second touch screen information, and the sampling frequency of the second touch screen information is a second frequency; 其中,所述第一频率小于所述第二频率;wherein the first frequency is less than the second frequency; 所述第一触屏信息包括以下至少一项:屏幕触控坐标和屏幕压感信号;The first touch screen information includes at least one of the following: screen touch coordinates and screen pressure sensing signals; 当所述中央处理器获取的所述屏幕触控坐标的采样频率为所述第一频率时,或,当所述中央处理器获取的所述屏幕压感信号的采样频率为所述第一频率时,所述中央处理器不执行触屏响应操作。When the sampling frequency of the screen touch coordinates acquired by the central processor is the first frequency, or when the sampling frequency of the screen pressure signal acquired by the central processor is the first frequency, the central processor does not perform a touch screen response operation. 2.根据权利要求1所述的信号获取方法,其特征在于,所述信号获取电路还包括屏幕,所述屏幕连接所述中央处理器;2. The signal acquisition method according to claim 1, characterized in that the signal acquisition circuit further comprises a screen, and the screen is connected to the central processing unit; 在所述第一触屏信息包括所述屏幕触控坐标的情况下,所述中央处理器获取第一触屏信息之前,所述方法还包括:In the case where the first touch screen information includes the screen touch coordinates, before the central processor acquires the first touch screen information, the method further includes: 在所述电流变化值大于所述第一阈值的情况下,将所述屏幕的电容采样频率从所述第二频率调整为所述第一频率。When the current change value is greater than the first threshold, the capacitance sampling frequency of the screen is adjusted from the second frequency to the first frequency. 3.根据权利要求1所述的信号获取方法,其特征在于,所述信号获取电路还包括压感信号处理器,所述压感信号处理器连接所述中央处理器;3. The signal acquisition method according to claim 1, characterized in that the signal acquisition circuit further comprises a pressure-sensitive signal processor, and the pressure-sensitive signal processor is connected to the central processing unit; 在所述第一触屏信息包括所述屏幕压感信号的情况下,所述中央处理器获取第一触屏信息之前,所述方法还包括:In the case where the first touch screen information includes the screen pressure sensing signal, before the central processor acquires the first touch screen information, the method further includes: 在所述电流变化值大于所述第一阈值的情况下,将所述压感信号处理器的电压采样频率从所述第二频率调整为所述第一频率。When the current change value is greater than the first threshold, the voltage sampling frequency of the pressure sensing signal processor is adjusted from the second frequency to the first frequency. 4.根据权利要求1所述的信号获取方法,其特征在于,所述信号获取电路还包括滤波器,所述滤波器的第一连接端连接压感信号处理器,第二连接端连接压感模组,所述压感模组连接屏幕,所述滤波器的第三连接端连接所述中央处理器;4. The signal acquisition method according to claim 1, characterized in that the signal acquisition circuit further comprises a filter, a first connection end of the filter is connected to a pressure sensing signal processor, a second connection end is connected to a pressure sensing module, the pressure sensing module is connected to a screen, and a third connection end of the filter is connected to the central processing unit; 在所述第一触屏信息包括所述屏幕压感信号的情况下,所述中央处理器获取第一触屏信息之前,所述方法还包括:In the case where the first touch screen information includes the screen pressure sensing signal, before the central processor acquires the first touch screen information, the method further includes: 在所述电流变化值大于所述第一阈值的情况下,将所述滤波器的带宽调整为预设带宽,所述预设带宽包括所述第一频率。When the current change value is greater than the first threshold, the bandwidth of the filter is adjusted to a preset bandwidth, where the preset bandwidth includes the first frequency. 5.一种信号获取装置,其特征在于,包括:获取模块;所述获取模块用于:5. A signal acquisition device, characterized in that it comprises: an acquisition module; the acquisition module is used to: 在充电线路的电流变化值大于第一阈值的情况下,获取第一触屏信息,所述第一触屏信息的采样频率为第一频率;When the current change value of the charging circuit is greater than the first threshold, first touch screen information is acquired, where the sampling frequency of the first touch screen information is the first frequency; 在所述电流变化值小于或等于所述第一阈值的情况下,获取第二触屏信息,所述第二触屏信息的采样频率为第二频率;When the current change value is less than or equal to the first threshold, acquiring second touch screen information, where the sampling frequency of the second touch screen information is a second frequency; 其中,所述第一频率小于所述第二频率;wherein the first frequency is less than the second frequency; 所述第一触屏信息包括以下至少一项:屏幕触控坐标和屏幕压感信号;The first touch screen information includes at least one of the following: screen touch coordinates and screen pressure sensing signals; 当中央处理器获取的所述屏幕触控坐标的采样频率为所述第一频率时,或,当所述中央处理器获取的所述屏幕压感信号的采样频率为所述第一频率时,所述中央处理器不执行触屏响应操作。When the sampling frequency of the screen touch coordinates acquired by the central processing unit is the first frequency, or when the sampling frequency of the screen pressure signal acquired by the central processing unit is the first frequency, the central processing unit does not perform a touch screen response operation. 6.根据权利要求5所述的信号获取装置,其特征在于,所述装置还包括处理模块;在所述第一触屏信息包括所述屏幕触控坐标的情况下,所述处理模块,用于在所述电流变化值大于所述第一阈值的情况下,将所述屏幕的电容采样频率从所述第二频率调整为所述第一频率。6. The signal acquisition device according to claim 5 is characterized in that the device also includes a processing module; when the first touch screen information includes the screen touch coordinates, the processing module is used to adjust the capacitance sampling frequency of the screen from the second frequency to the first frequency when the current change value is greater than the first threshold. 7.根据权利要求5所述的信号获取装置,其特征在于,所述装置还包括处理模块;在所述第一触屏信息包括所述屏幕压感信号的情况下,所述处理模块,用于在所述电流变化值大于所述第一阈值的情况下,将压感信号处理器的电压采样频率从所述第二频率调整为所述第一频率。7. The signal acquisition device according to claim 5 is characterized in that the device also includes a processing module; when the first touch screen information includes the screen pressure signal, the processing module is used to adjust the voltage sampling frequency of the pressure sensing signal processor from the second frequency to the first frequency when the current change value is greater than the first threshold. 8.根据权利要求5所述的信号获取装置,其特征在于,所述装置还包括处理模块;在所述第一触屏信息包括所述屏幕压感信号的情况下,所述处理模块,用于在所述电流变化值大于所述第一阈值的情况下,将滤波器的带宽调整为预设带宽,所述预设带宽包括所述第一频率。8. The signal acquisition device according to claim 5 is characterized in that the device also includes a processing module; when the first touch screen information includes the screen pressure signal, the processing module is used to adjust the bandwidth of the filter to a preset bandwidth when the current change value is greater than the first threshold, and the preset bandwidth includes the first frequency. 9.一种电子设备,其特征在于,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-4任一项所述的信号获取方法。9. An electronic device, characterized in that it comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the signal acquisition method according to any one of claims 1 to 4 is implemented. 10.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-4任一项所述的信号获取方法。10. A readable storage medium, characterized in that the readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the signal acquisition method according to any one of claims 1 to 4 is implemented.
CN202210363817.XA 2022-04-07 2022-04-07 Signal acquisition method and electronic equipment Active CN114740996B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210363817.XA CN114740996B (en) 2022-04-07 2022-04-07 Signal acquisition method and electronic equipment
PCT/CN2023/086389 WO2023193731A1 (en) 2022-04-07 2023-04-06 Signal acquisition method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210363817.XA CN114740996B (en) 2022-04-07 2022-04-07 Signal acquisition method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114740996A CN114740996A (en) 2022-07-12
CN114740996B true CN114740996B (en) 2025-07-22

Family

ID=82279807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210363817.XA Active CN114740996B (en) 2022-04-07 2022-04-07 Signal acquisition method and electronic equipment

Country Status (2)

Country Link
CN (1) CN114740996B (en)
WO (1) WO2023193731A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114740996B (en) * 2022-04-07 2025-07-22 维沃移动通信有限公司 Signal acquisition method and electronic equipment
CN115765688B (en) * 2023-01-09 2023-04-18 深圳曦华科技有限公司 Signal processing method for demodulation signal in capacitance sampling circuit and related device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562289A (en) * 2016-06-30 2018-01-09 北京小米移动软件有限公司 Charge anti-interference method and device

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635511B (en) * 2009-05-26 2013-12-25 成都芯源系统有限公司 Switch voltage stabilizing circuit with frequency spectrum shaping function and method
JP5839173B2 (en) * 2010-10-14 2016-01-06 Nltテクノロジー株式会社 Touch sensor device and electronic device
TWI442279B (en) * 2011-07-18 2014-06-21 Acer Inc Multi-sampling frequency circuit and method
CN102841715B (en) * 2012-08-09 2016-01-20 深圳市汇顶科技股份有限公司 Capacitive touch screen, touch control terminal and anti-interference method thereof and system
CN102799331B (en) * 2012-08-14 2015-11-18 东莞宇龙通信科技有限公司 Parameter setting apparatus, parameter setting method and touch display device
EP2763006A1 (en) * 2013-01-31 2014-08-06 BlackBerry Limited Electronic device including touch-sensitive display and method of detecting touches
US20140210731A1 (en) * 2013-01-31 2014-07-31 Research In Motion Limited Electronic device including touch-sensitive display and method of detecting touches
CN103840526B (en) * 2014-03-17 2017-02-01 联想(北京)有限公司 Method and device for processing information and electronic equipment
CN104655935B (en) * 2015-02-12 2018-04-20 深圳市精智达技术有限公司 The test method and device of node capacitor
KR102598722B1 (en) * 2016-08-01 2023-11-07 삼성전자주식회사 Electronic device and method for controlling touch screen display
CN107526471B (en) * 2017-08-28 2021-05-18 北京小米移动软件有限公司 Touch screen control method and device and storage medium
CN109413254A (en) * 2018-12-19 2019-03-01 上海中航光电子有限公司 A kind of method and system for the current noise improving touch control terminal
CN114740996B (en) * 2022-04-07 2025-07-22 维沃移动通信有限公司 Signal acquisition method and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562289A (en) * 2016-06-30 2018-01-09 北京小米移动软件有限公司 Charge anti-interference method and device

Also Published As

Publication number Publication date
CN114740996A (en) 2022-07-12
WO2023193731A1 (en) 2023-10-12

Similar Documents

Publication Publication Date Title
CN110891144B (en) Image display method and electronic equipment
EP3859504B1 (en) Multimedia file playback control method and terminal device
US9329661B2 (en) Information processing method and electronic device
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN109857306B (en) Screen capturing method and terminal equipment
CN114740996B (en) Signal acquisition method and electronic equipment
CN110174993B (en) A display control method, terminal device and computer-readable storage medium
JP2021531589A (en) Motion recognition method, device and electronic device for target
CN110046013A (en) A kind of interface display method and terminal device
CN110769174B (en) Video viewing method and electronic equipment
EP4057618A1 (en) Camera starting method and electronic device
CN112162684A (en) Parameter adjustment method, device and electronic device
CN111124223A (en) Application interface switching method and electronic device
CN107741814B (en) Display control method and mobile terminal
CN108924319B (en) Proximity detection method and mobile terminal
CN108874906A (en) A kind of information recommendation method and terminal
CN108984099B (en) Man-machine interaction method and terminal
CN110703972A (en) A file control method and electronic device
CN109933266A (en) A display method and terminal device
CN108704307A (en) Touch information processing method and device, storage medium and electronic device
CN110888569A (en) Content selection control method and electronic equipment
CN110851219A (en) Information processing method and electronic equipment
CN109947343A (en) Application control method and terminal device
CN110456959B (en) A terminal control method and terminal
CN109902232B (en) Display control method and terminal

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
GR01 Patent grant
GR01 Patent grant