CN114740996A - Signal acquisition method and electronic equipment - Google Patents

Signal acquisition method and electronic equipment Download PDF

Info

Publication number
CN114740996A
CN114740996A CN202210363817.XA CN202210363817A CN114740996A CN 114740996 A CN114740996 A CN 114740996A CN 202210363817 A CN202210363817 A CN 202210363817A CN 114740996 A CN114740996 A CN 114740996A
Authority
CN
China
Prior art keywords
frequency
touch screen
screen information
signal acquisition
pressure
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
CN202210363817.XA
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.)
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/CN114740996A/en
Publication of CN114740996A publication Critical patent/CN114740996A/en
Priority to PCT/CN2023/086389 priority patent/WO2023193731A1/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/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; 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/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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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)

Abstract

The application discloses a signal acquisition method and electronic equipment, and belongs to the technical field of electronics. The specific scheme comprises the following steps: under the condition that the current change value of the charging circuit is larger than a first threshold value, the central processing unit acquires first touch screen information, wherein the sampling frequency of the first touch screen information is a first frequency; when the current change value is smaller than or equal to the first threshold value, the central processing unit acquires second touch screen information, wherein the sampling frequency of the second touch screen information is a second frequency; wherein the first frequency is less 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
With the increasing demand of users on the interaction function of the whole machine, the idea of combining the hidden pressure-sensitive keys and the screen is brought forward.
In the related art, after a user performs touch input on a screen, the screen deforms, a pressure sensing module attached to the lower portion of the screen can output a voltage signal, 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 from 0 instantaneously, which is equivalent to a step current with a very large amplitude loaded into the charging line. In the process, because the magnetic flux changes, the charging current can generate interference signals to influence the output voltage of the pressure sensing module, and further the screen is touched by mistake.
Disclosure of Invention
The embodiment of the application aims to provide a signal acquisition method and electronic equipment, and the problem that a screen is touched by mistake at the moment of charging can be solved.
In a first aspect, an embodiment of the present application provides a signal acquisition method, which is applied to a signal acquisition circuit, where the signal acquisition circuit includes a charging line and a central processing unit, and the charging line is connected to the central processing unit; the method comprises the following steps: under the condition that the current change value of the charging circuit is larger than a first threshold value, the central processing unit acquires first touch screen information, wherein 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, wherein the sampling frequency of the second touch screen information is a second frequency; wherein the first frequency is less than the second frequency.
In a second aspect, an embodiment of the present application provides a signal acquiring apparatus, including: an acquisition module; the acquisition module is configured to: acquiring first touch screen information under the condition that the current change value of a charging circuit is larger than a first threshold value, wherein 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, wherein the sampling frequency of the second touch screen information is a second frequency; wherein the first frequency is less than the second frequency.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement 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 the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In this embodiment of the application, the central processing unit may acquire first touch screen information when the current variation value of the charging line is greater than a first threshold, where a 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, wherein the sampling frequency of the second touch screen information is a second frequency; wherein the first frequency is less 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 current mutation occurs to the charging circuit, 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 screen mis-touch is avoided.
Drawings
Fig. 1 is a schematic flow chart of a signal acquisition circuit according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a deformation of a pressure sensing module in a signal acquisition circuit according to an embodiment of the present disclosure;
fig. 3 is a schematic circuit diagram of a pressure sensing module in a signal acquisition circuit according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a current disturbance of a signal acquisition circuit according to an embodiment of the present disclosure;
fig. 5 is a second schematic flowchart of a signal acquisition circuit according to an embodiment of the present application;
fig. 6 is a schematic flowchart 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 provided in an embodiment of the present application;
fig. 9 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The signal acquisition method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In the signal acquisition method provided in the embodiment of the present application, an execution subject of the signal acquisition method 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.
As shown in fig. 1, the embodiment of the present application provides a signal obtaining circuit, which includes a central processing unit 101, a pressure-sensitive signal processor 102, a pressure-sensitive 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-sensitive signal processor 102, the response module 105 and the charging line 106, the pressure-sensitive module 103 is connected with the pressure-sensitive signal processor 102, the screen 104 is connected with the pressure-sensitive module 103, and the charging line 106 is connected with the charging interface 107.
Alternatively, the charging line may be a line in a Flexible Printed Circuit (FPC) Board, or may be a line in a Printed Circuit Board (Printed Circuit Board).
As shown in fig. 2, after a user performs touch input on the screen 104, the screen 104 deforms, and due to the deformation, the upper resistor of the pressure sensing module 103 attached below the screen 104 shortens due to extrusion, the resistance value decreases, the lower resistor is lengthened, and the resistance value increases. As shown in fig. 3, the upper resistors (the deformation resistors R1 and R2) and the lower resistors (the deformation resistors R3 and R4) have different resistances, so that the pressure sensing module 103 can output the forward voltage V1.
With reference to fig. 1, after receiving the forward voltage V1 transmitted by the pressure sensing module 103, the pressure sensing signal processor 102 may amplify the forward voltage V1 to obtain a screen pressure sensing signal, and then transmit the screen pressure sensing signal to the central processing unit 101, and the central processing unit 101 may further receive the screen touch coordinates transmitted by the screen 104, and then the central processing unit 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, and 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 the current in the 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 the current in the return path of the voltage sensing signal between the voltage sensing signal processor 102 and the voltage sensing module 103. Since a changing magnetic field is generated around the changing current and a magnetic field flowing through the closed loop generates a corresponding magnetic flux, when the magnetic flux changes, a corresponding induced electromotive force is generated on the closed loop, and therefore, at the instant of charging the electronic device, even if a user does not perform touch input before the charging current is stabilized, the pressure sensing module 103 may output a voltage, thereby causing a screen to be touched by mistake. In order to solve the problem, an embodiment of the present application further provides a signal acquisition method.
Optionally, as shown in fig. 5, the signal obtaining circuit may further include a filter 108, a first connection end of the filter 108 is connected to the pressure-sensitive signal processor 102, a second connection end is connected to the pressure-sensitive module 103, and a third connection end is connected to the central processing unit 101. The filter 108 may be used to filter a part of the voltage signal output by the pressure sensing module 103.
As shown in fig. 6, for a signal acquiring method provided in this embodiment of the present application, applied to the signal acquiring circuit, the method may include steps 601 to 602:
step 601, under the condition that the 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.
Alternatively, after the charging current reaches a steady state, the current change value of the charging circuit is small, and therefore, the above-mentioned first threshold value may be any number greater than the current change value when the charging current reaches a steady state.
Optionally, the first frequency may be greater than or equal to 0 and less than a transmission frequency (i.e., a second frequency) of the touch screen information at other times. The second frequency is a transmission frequency at which the user cannot experience a touch feedback delay.
Optionally, the first touch screen information may include at least one of: screen touch coordinates and screen pressure signals. The screen touch coordinates are used to enable 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 to say, under the condition that the current variation value of the charging line is greater than the first threshold, the central processing unit may acquire the screen touch coordinate whose sampling frequency is the first frequency, may also acquire the screen pressure-sensitive signal whose sampling frequency is the first frequency, and may also acquire the screen touch coordinate whose sampling frequency is the first frequency and the screen pressure-sensitive signal.
It should be noted that the central processing unit must perform a corresponding response operation in response to the touch input of the user only when receiving the screen touch coordinates and the screen pressure signal.
Based on the above scheme, since the first touch screen information may include at least one of the screen touch coordinate and the screen pressure signal, and the central processing unit may perform the corresponding response operation in response to the touch input of the user only when the screen touch coordinate and the screen pressure signal are received, the interference of the abrupt current change of the charging line to the touch screen response process may be avoided by reducing the sampling frequency of the at least one of the screen touch coordinate and the screen pressure signal.
Optionally, in a case that the first touch screen information includes a screen touch coordinate, the central processing unit may adjust the capacitance sampling frequency of the screen from the second frequency to the first frequency in a case that the current variation value is greater than a first threshold value.
It should be noted that, when a finger of a user presses a target position on a screen, a capacitance of the target position changes, and the central processing unit may reversely derive a screen coordinate of the target position, that is, a screen touch coordinate, according to the coordinate of the capacitance. Therefore, the sampling frequency of the touch coordinate of the screen is the capacitance sampling frequency of the screen.
For example, taking the first frequency as 0, when the current variation value is greater than the first threshold, the cpu may adjust the capacitance sampling frequency of the screen from the second frequency to 0, that is, when the current variation value is greater than the first threshold, the coordinates of the capacitance may not be transmitted from the screen to the cpu, and the cpu may not determine the touch coordinates of the screen, so the cpu may 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 central processing unit for acquiring the touch coordinate of the screen is reduced under the condition that the current change value is larger than the first threshold value, and therefore the interference of the sudden change of the current of the charging circuit on the touch screen response process can be reduced.
Optionally, in a case that the first touch screen information includes a screen pressure-sensitive signal, the central processing unit may adjust the voltage sampling frequency of the pressure-sensitive signal processor from the second frequency to the first frequency in a case that the current variation value is greater than the first threshold value.
It should be noted that, when a user presses the screen with a finger, the deformation resistor of the pressure sensing module deforms, the resistance of the deformation resistor changes, and the pressure sensing module outputs a forward voltage accordingly. The pressure-sensitive signal processor can collect the forward voltage, amplify the forward voltage, and transmit the amplified screen pressure-sensitive signal to the central processing unit, and the central processing unit can determine that the screen is deformed by touch according to the received screen pressure-sensitive signal. Therefore, the sampling frequency of the screen pressure-sensitive signal is the frequency at which the pressure-sensitive signal processor collects the forward voltage (i.e., the voltage sampling frequency).
Specifically, the screen pressure-sensitive signal can be obtained only by amplifying the forward voltage output by the pressure-sensitive module through the pressure-sensitive signal processor, so that the voltage sampling frequency of the pressure-sensitive signal processor is reduced when the current variation value is greater than the first threshold value, and the frequency of the screen pressure-sensitive signal acquired by the central processor can be reduced. That is, in the case that the current variation value is greater than the first threshold, the screen pressure-sensitive signal is not transmitted from the pressure-sensitive signal processor to the central processing unit, and the central processing unit does not acquire the screen pressure-sensitive signal, and the corresponding response operation is not executed.
Based on the scheme, under the condition that the current variation value is larger than the first threshold value, the voltage sampling frequency of the pressure-sensitive signal processor is adjusted from the second frequency to the first frequency, so that the interference of the current mutation of the charging circuit to the touch screen response process can be reduced, and the frequency reduction process can only influence the screen deformation process and cannot influence other touch screen requirements.
Optionally, in a case that the first touch screen information includes a screen pressure signal, the central processing unit may adjust a bandwidth of the filter to a preset bandwidth in a case that the current variation value is greater than a first threshold, where the preset bandwidth includes a first frequency.
Specifically, under the condition that the current variation value is greater than the first threshold, the central processing unit may adjust the frequency operating range of the filter to the preset bandwidth, that is, only signals within the preset bandwidth are allowed to pass through, and the noise of the frequency point corresponding to the charging current is filtered in a targeted manner.
It should be noted that the preset bandwidth including the first frequency means that the filter can pass signals transmitted according to the first frequency.
Based on the scheme, the bandwidth of the filter can be adjusted to the preset bandwidth under the condition that the current change value is larger than the first threshold value, so that the filter can filter out interference signals outside the preset bandwidth and enable the screen pressure sensing signal with the first frequency to pass through, and therefore the interference of the current mutation of the charging circuit to the touch screen response process can be reduced.
Step 602, the central processing unit acquires second touch screen information under the condition that the current variation value is smaller 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 case where the current variation value is less than or equal to the first threshold value may include: the charging current tends to a steady state, or the electronic device is not in a charged state.
Optionally, the second touch screen information may include screen touch coordinates and a screen pressure signal.
And under the condition that the current change value is smaller than or equal to the first threshold, the central processing unit may acquire the touch screen information transmitted according to the second frequency, that is, the touch screen information may be transmitted to the central processing unit according to the normal frequency.
In the embodiment of the application, because 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 less than the second frequency, that is, when the current mutation occurs in the charging line, the sampling frequency of the touch screen information is reduced, and the touch screen information can be staggered with the time of the current mutation, the interference of the current mutation of the charging line on the touch screen information can be avoided, and the occurrence of screen mis-touch is avoided.
In the signal acquisition method provided by the embodiment of the application, the execution main body can be a signal acquisition device. In the embodiment of the present application, a signal acquisition apparatus executing a signal acquisition method is taken as an example to describe the signal acquisition apparatus provided in the embodiment of the present application.
As shown in fig. 7, an embodiment of the present application further provides a signal acquiring apparatus 700, including: an acquisition module 701; the obtaining module 701 is configured to obtain first touch screen information when a current variation 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; acquiring second touch screen information under the condition that the current change value is smaller than or equal to the first threshold value, wherein the sampling frequency of the second touch screen information is a second frequency; wherein 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 signals.
Optionally, the apparatus 700 may further comprise a processing module 702; in a case that the first touch screen information includes the screen touch coordinate, the processing module 702 is configured to adjust the capacitance sampling frequency of the screen from the second frequency to the first frequency when the current variation value is greater than the first threshold.
Optionally, in a case that the first touch screen information includes the screen pressure-sensitive signal, the processing module 702 is configured to adjust the voltage sampling frequency of the pressure-sensitive signal processor from the second frequency to the first frequency in a case that the current variation value is greater than the first threshold.
Optionally, in a case that the first touch screen information includes the screen pressure signal, the processing module 702 is configured to adjust a bandwidth of a filter to a preset bandwidth when the current variation value is greater than the first threshold, where the preset bandwidth includes the first frequency.
In the embodiment of the application, because 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 less than the second frequency, that is, when the current mutation occurs in the charging line, the sampling frequency of the touch screen information is reduced, and the touch screen information can be staggered with the time of the current mutation, the interference of the current mutation of the charging line on the touch screen information can be avoided, and the occurrence of screen mis-touch is avoided.
The signal acquiring apparatus in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), an assistant, or a self-service machine, and the embodiments of the present application are not limited in particular.
The signal acquisition device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The signal acquisition device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes 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 when the program or the instruction is executed by the processor 801, the steps of the signal obtaining method embodiment described above are implemented, and the same technical effects can be achieved, and are not described again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a 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 further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through 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 those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1010 is configured to acquire first touch screen information when a current variation 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; acquiring second touch screen information under the condition that the current change value is smaller than or equal to the first threshold value, wherein the sampling frequency of the second touch screen information is a second frequency; wherein the first frequency is less than the second frequency.
In the embodiment of the application, because the sampling frequency of the first touch screen information is a first frequency, the sampling frequency of the second touch screen information is a second frequency, and the first frequency is less than the second frequency, that is, when a current sudden change occurs in the charging circuit, the sampling frequency of the touch screen information is reduced, and the touch screen information can be staggered with the time of the current sudden change, so that the interference of the current sudden change of the charging circuit on the touch screen information can be avoided, and the occurrence of screen mis-touch is avoided.
Optionally, in a case that the first touch screen information includes the screen touch coordinate, the processor 1010 is configured 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.
In the embodiment of the application, because the capacitance sampling frequency of the screen can be adjusted from the second frequency to the first frequency, under the condition that the current variation value is greater than the first threshold value, the frequency of the central processing unit for acquiring the touch coordinate of the screen is reduced, and thus, the interference of the current mutation of the charging circuit on the touch screen response process can be reduced.
Optionally, in a case that the first touch screen information includes the screen pressure-sensitive signal, the processor 1010 is configured to adjust a voltage sampling frequency of the pressure-sensitive signal processor from the second frequency to the first frequency in a case that the current variation value is greater than the first threshold.
In the embodiment of the application, under the condition that the current variation value is greater than the first threshold value, the voltage sampling frequency of the pressure-sensitive signal processor can be adjusted from the second frequency to the first frequency, so that the interference of the current mutation of the charging circuit to the touch screen response process can be reduced, and the frequency reduction process can only affect the screen deformation process and can not affect other touch screen requirements.
Optionally, when the first touch screen information includes the screen pressure signal, the processor 1010 is configured to adjust a bandwidth of a filter to a preset bandwidth when the current variation value is greater than the first threshold, where the preset bandwidth includes the first frequency.
In the embodiment of the application, because the bandwidth of the filter can be adjusted to the preset bandwidth when the current variation value is greater than the first threshold value, the filter can filter out interference signals outside the preset bandwidth and enable the screen pressure sensing signal with the first frequency to pass through, and thus, the interference of the current mutation of the charging circuit to the touch screen response process can be reduced.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as 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 may include two parts, 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, and a joystick, 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 storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) 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 non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the signal obtaining method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above signal acquisition method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing signal acquisition method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A signal acquisition method is characterized by being applied to a signal acquisition circuit, wherein the signal acquisition circuit comprises a charging circuit and a central processing unit, and the charging circuit is connected with the central processing unit; the method comprises the following steps:
under the condition that the current change value of the charging circuit is larger than a first threshold value, the central processing unit acquires first touch screen information, wherein 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, wherein the sampling frequency of the second touch screen information is a second frequency;
wherein the first frequency is less than the second frequency.
2. The signal acquisition method of claim 1, wherein the first touch screen information comprises at least one of: screen touch coordinates and screen pressure signals.
3. The signal acquisition method of claim 2, wherein the signal acquisition circuit further comprises a screen, the screen being connected to the central processor;
under the condition that the first touch screen information comprises the screen touch coordinate, before the central processing unit acquires the first touch screen information, the method further comprises the following steps:
and adjusting the 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.
4. The signal acquisition method according to claim 2, wherein the signal acquisition circuit further comprises a pressure-sensitive signal processor, the pressure-sensitive signal processor being connected to the central processing unit;
under the condition that the first touch screen information comprises the screen pressure sensing signal, before the central processing unit acquires the first touch screen information, the method further comprises the following steps:
and adjusting the voltage sampling frequency of the pressure-sensitive signal processor from the second frequency to the first frequency when the current change value is larger than the first threshold value.
5. The signal acquisition method according to claim 2, wherein the signal acquisition circuit further comprises a filter, a first connection end of the filter is connected to the pressure-sensitive signal processor, a second connection end of the filter is connected to the pressure-sensitive module, the pressure-sensitive module is connected to the screen, and a third connection end of the filter is connected to the central processing unit;
under the condition that the first touch screen information comprises the screen pressure sensing signal, before the central processing unit acquires the first touch screen information, the method further comprises the following steps:
and adjusting the bandwidth of the filter to a preset bandwidth under the condition that the current change value is larger than the first threshold, wherein the preset bandwidth comprises the first frequency.
6. A signal acquisition apparatus, comprising: an acquisition module; the acquisition module is configured to:
acquiring first touch screen information under the condition that the current change value of the charging circuit is greater than a first threshold value, wherein the sampling frequency of the first touch screen information is a first frequency;
acquiring second touch screen information under the condition that the current change value is smaller than or equal to the first threshold value, wherein the sampling frequency of the second touch screen information is a second frequency;
wherein the first frequency is less than the second frequency.
7. The signal acquisition device of claim 6, wherein the first touch screen information comprises at least one of: screen touch coordinates and screen pressure signals.
8. The signal acquisition device of claim 7, wherein the device further comprises a processing module; and when the first touch screen information includes the screen touch coordinate, the processing module is configured 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 value.
9. The signal acquisition device according to claim 7, characterized in that the device further comprises a processing module; and in the case that the first touch screen information includes the screen pressure-sensitive signal, the processing module is configured to adjust the voltage sampling frequency of the pressure-sensitive signal processor from the second frequency to the first frequency in the case that the current variation value is greater than the first threshold value.
10. The signal acquisition device of claim 7, wherein the device further comprises a processing module; and when the first touch screen information includes the screen pressure signal, the processing module is configured to adjust a bandwidth of a filter to a preset bandwidth when the current variation value is greater than the first threshold, where the preset bandwidth includes the first frequency.
11. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the signal acquisition method of any one of claims 1-5.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implements the signal acquisition method according to any one of claims 1 to 5.
CN202210363817.XA 2022-04-07 2022-04-07 Signal acquisition method and electronic equipment Pending CN114740996A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210363817.XA CN114740996A (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 CN114740996A (en) 2022-04-07 2022-04-07 Signal acquisition method and electronic equipment

Publications (1)

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

Family

ID=82279807

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
KR102598722B1 (en) * 2016-08-01 2023-11-07 삼성전자주식회사 Electronic device and method for controlling touch screen display
CN109413254A (en) * 2018-12-19 2019-03-01 上海中航光电子有限公司 A kind of method and system for the current noise improving touch control terminal
CN114740996A (en) * 2022-04-07 2022-07-12 维沃移动通信有限公司 Signal acquisition method and electronic equipment

Cited By (2)

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

Also Published As

Publication number Publication date
WO2023193731A1 (en) 2023-10-12

Similar Documents

Publication Publication Date Title
CN114740996A (en) Signal acquisition method and electronic equipment
US9329661B2 (en) Information processing method and electronic device
CN108616448B (en) Information sharing path recommendation method and mobile terminal
CN104423789A (en) Information processing method and electronic equipment
JP2021531589A (en) Motion recognition method, device and electronic device for target
CN109739758B (en) Test case conversion method and device
CN109672845B (en) Video call method and device and mobile terminal
CN109302563B (en) Anti-shake processing method and device, storage medium and mobile terminal
CN110888569A (en) Content selection control method and electronic equipment
CN108829306B (en) Information processing method and mobile terminal
CN107967086B (en) Icon arrangement method and device for mobile terminal and mobile terminal
CN110717133A (en) Page updating method and device, terminal equipment and storage medium
CN115002551A (en) Video playing method and device, electronic equipment and medium
CN115577724A (en) Card reading method and device, electronic equipment and readable storage medium
CN115514860A (en) Dynamic frame rate compensation method, image processing circuit and electronic device
CN114117271A (en) Webpage display method and device
CN113360038A (en) Application function searching method and device and electronic equipment
CN109358755B (en) Gesture detection method and device for mobile terminal and mobile terminal
CN105278812A (en) Interface adjustment method and terminal
CN110633114A (en) Application program starting method and terminal equipment
CN112702530B (en) Algorithm control method and electronic equipment
US20150205372A1 (en) Method and apparatus for providing input interface for mobile terminal
CN111601036B (en) Camera focusing method and device, storage medium and mobile terminal
CN111142750B (en) Information processing method and electronic equipment
CN114500733A (en) Capacitive sound control method, device, equipment and medium

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