WO2022134691A1 - Procédé et dispositif de traitement de crissement dans un dispositif terminal, et terminal - Google Patents

Procédé et dispositif de traitement de crissement dans un dispositif terminal, et terminal Download PDF

Info

Publication number
WO2022134691A1
WO2022134691A1 PCT/CN2021/120045 CN2021120045W WO2022134691A1 WO 2022134691 A1 WO2022134691 A1 WO 2022134691A1 CN 2021120045 W CN2021120045 W CN 2021120045W WO 2022134691 A1 WO2022134691 A1 WO 2022134691A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
sampling rate
touch
preset
application
Prior art date
Application number
PCT/CN2021/120045
Other languages
English (en)
Chinese (zh)
Inventor
钟辉
薛鹏飞
肖啸
胡凯
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2022134691A1 publication Critical patent/WO2022134691A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor
    • 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
    • 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
    • G06F3/04182Filtering of noise external to the device and not generated by digitiser components
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of terminals, and in particular, to a method and apparatus for processing howling in terminal equipment, and a terminal.
  • the touch screen has been widely used in most electronic devices. Since the touch screen device has a touch panel (Touch Panel, TP) and a display, the touch screen device has both a touch function and a display function.
  • the types of displays commonly used in touch screen devices include Liquid Crystal Display (LCD), which can display images without a backlight module (Back Light Unit, BLU).
  • the backlight module is set in the LCD display.
  • the function of the light source is to provide sufficient brightness and evenly distributed light source, so that the liquid crystal display can display images normally.
  • a capacitive structure in which the touch panel and the backlight module are used as upper and lower plates is often formed in touch screen devices. In this capacitive structure, the backlight film layer in the backlight module forms a capacitor. the dielectric.
  • the operation of the touch panel and the display is inseparable from the drive control of the drive module.
  • the drive modules of the touch panel and the display can be set in the same In the driver chip, for example, the design of the driver chip can be based on the touch and display driver integration (Touch and Display Driver Integration, TDDI) technology.
  • TDDI touch and Display Driver Integration
  • the touch panel and the display can time-division multiplex the driver chip.
  • a periodic voltage needs to be applied to the touch panel, so that the touch panel is continuously charged and discharged, so as to scan and detect fingers or fingers on the surface of the touch panel.
  • Touch signals generated by other objects As shown in Figure 2, the touch panel and the display multiplex the same driver chip in a time-sharing manner, which requires high timeliness. Therefore, during the scanning detection period of the touch panel, it is necessary to apply a pulse with a higher frequency to the touch panel.
  • voltage, and the change frequency of the pulse voltage being powered on and powered off is also the touch sampling rate of the touch panel.
  • Periodic voltage can cause the above-mentioned capacitive structure composed of touch panel and backlight module to continuously charge and discharge. The effect forms periodic stretching deformation. With the increase of the touch sampling rate, when the stretching frequency of the backlight film layer is close to the natural frequency of the object, the capacitive structure can generate mechanical vibration and generate current whistle. The noise generated by the current whistling may cause auditory disturbance to the user.
  • the touch sampling rate has a positive correlation with the follow-up rate of the touch screen.
  • the follow-up rate is the reaction time for the screen to follow the finger movement. The higher the touch sampling rate, the higher the follow-up rate. Therefore, the same way of reducing the touch sampling rate of the terminal may reduce the follow-up rate of the screen and affect the user's experience.
  • the present application provides a method for processing howling in a terminal device, including:
  • the touch sampling rate of the terminal device is adjusted to a preset sampling rate, and under the preset sampling rate, The noise influence value of the howling generated between the touch panel and the display is smaller than a preset influence value.
  • the present application can be applied to a terminal device with a touch panel and a liquid crystal display.
  • a terminal device if the touch sampling rate of the terminal is set higher, the capacitive structure formed between the touch panel and the liquid crystal display It is easy to generate current howling.
  • it may be determined according to the operating state of the terminal device that the probability that the terminal device approaches the human ear is greater than a preset threshold, and when it is determined that the probability is greater than a preset threshold In the case of the threshold, adjust the touch sampling rate of the terminal device.
  • the technical solution of the present application does not uniformly reduce the touch sampling rate of the device in order to reduce the noise influence of howling, but selectively adjusts the touch sampling rate of the device according to the operating state of the device. Therefore, the current howling processing method in a terminal device provided by the present application can determine whether it is necessary to limit the touch sampling rate of the terminal according to the different operating states of the terminal device, which not only eliminates or reduces the impact of howling on the human ear, but also does not affect the The need for a high touch sampling rate in other operating states.
  • the running status includes application information and/or hardware status in running of the terminal device, wherein the application information includes identification information, category information, and sub-scenario identification information of the application at least one of them.
  • the running state of the terminal device is determined respectively from two states of the application and the hardware.
  • the determining, according to the operating state, that the probability that the terminal device approaches the human ear is greater than a preset threshold including:
  • the probability that the terminal device approaches the human ear is greater than a preset threshold.
  • the application sampling restriction identifier corresponding to each application or the scene sampling restriction identifier corresponding to each application sub-scenario can be preset, and whether the touch sampling rate needs to be restricted can be quickly determined by applying the sampling restriction identifier or the scene sampling restriction identifier. .
  • the determining, according to the operating state, that the probability that the terminal device approaches the human ear is greater than a preset threshold including:
  • whether the probability of the terminal device approaching the human ear can be more accurately determined through the hardware state information of the receiver is greater than a preset threshold.
  • the determining, according to the operating state, that the probability that the terminal device approaches the human ear is greater than a preset threshold including:
  • the present application can more accurately determine whether the user brings the ear close to the receiver to hear the sound, thereby more accurately determining that the probability of the terminal device approaching the human ear is greater than a preset threshold.
  • the determining whether to generate a gesture of picking up the terminal device according to the hardware state includes:
  • Whether a gesture of picking up the terminal device is generated is determined by using the state of at least one of the following sensors: an acceleration sensor, a distance sensor, a gravity sensor, and a gyroscope sensor.
  • the present application provides various sensor devices for judging whether a gesture of picking up a terminal device is generated.
  • the determining, according to the operating state, that the probability that the terminal device approaches the human ear is greater than a preset threshold including:
  • the present application can more accurately determine whether the user brings the ear close to the terminal device to listen to the sound, so as to more accurately determine whether the probability of the terminal device approaching the human ear is greater than a preset threshold.
  • the determining that the terminal device is close to a human face or a human ear includes at least one of the following:
  • the present application provides various methods for determining that the terminal device is close to a human face or human ear.
  • the preset sampling rate is set as follows:
  • the terminal device includes multiple running applications, obtain touch sampling rates limited by multiple applications respectively;
  • a minimum touch sampling rate limited in a plurality of the applications is used as the preset sampling rate.
  • the present application can solve the technical problem of how to determine the touch sampling rate of the terminal when there are multiple applications running in the terminal.
  • the preset sampling rate is set to match an application running in the terminal device or a sub-scenario in the application.
  • corresponding preset sampling rates may be set for different applications or for different sub-scenarios in the applications, so as to limit the applications or sub-scenarios to different degrees to avoid adverse effects on the normal use of the applications.
  • the touch sampling rate of the terminal device is adjusted to a preset value.
  • Set the sampling rate including:
  • the touch sampling rate of the terminal device is greater than the preset sampling rate threshold, the touch sampling rate of the terminal device is adjusted to the preset sampling rate.
  • the method after adjusting the touch sampling rate of the terminal device to a preset sampling rate, the method includes:
  • the touch sampling rate of the terminal device is readjusted to the touch sampling rate before the adjustment.
  • the loss of the touch sampling rate of the application or the scene in the application before the touch sampling rate is limited can be prevented.
  • the present application provides a howling processing device in a terminal device, including:
  • memory for storing processor-executable instructions
  • the processor is configured to implement the method for processing howling in a terminal device according to any one of the foregoing implementation manners when executing the instruction.
  • the present application can be applied to a terminal device with a touch panel and a liquid crystal display.
  • a terminal device if the touch sampling rate of the terminal is set higher, the capacitive structure formed between the touch panel and the liquid crystal display It is easy to generate current howling.
  • it may be determined according to the operating state of the terminal device that the probability that the terminal device approaches the human ear is greater than a preset threshold, and when it is determined that the probability is greater than a preset threshold In the case of the threshold, adjust the touch sampling rate of the terminal device.
  • the technical solution of the present application does not uniformly reduce the touch sampling rate of the device in order to reduce the noise influence of howling, but selectively adjusts the touch sampling rate of the device according to the operating state of the device. Therefore, the current howling processing method in a terminal device provided by the present application can determine whether it is necessary to limit the touch sampling rate of the terminal according to the different operating states of the terminal device, which not only eliminates or reduces the impact of howling on the human ear, but also does not affect the The need for a high touch sampling rate in other operating states.
  • the present application provides a terminal, including a howling processing device, a touch panel, a liquid crystal display, and a driving module in the terminal device, wherein;
  • the touch panel for detecting touch operations acting on or near it
  • the liquid crystal display is used to display the interface of the application under the action of the electric field
  • the driving module is electrically connected to the touch panel and the liquid crystal display respectively, and is used for driving and controlling the touch panel and the liquid crystal display.
  • the present application can be applied to a terminal device with a touch panel and a liquid crystal display.
  • a terminal device if the touch sampling rate of the terminal is set higher, the capacitive structure formed between the touch panel and the liquid crystal display It is easy to generate current howling.
  • it may be determined according to the operating state of the terminal device that the probability that the terminal device approaches the human ear is greater than a preset threshold, and when it is determined that the probability is greater than a preset threshold In the case of the threshold, adjust the touch sampling rate of the terminal device.
  • the technical solution of the present application does not uniformly reduce the touch sampling rate of the device in order to reduce the noise influence of howling, but selectively adjusts the touch sampling rate of the device according to the operating state of the device. Therefore, the current howling processing method in a terminal device provided by the present application can determine whether it is necessary to limit the touch sampling rate of the terminal according to the different operating states of the terminal device, which not only eliminates or reduces the impact of howling on the human ear, but also does not affect the The need for a high touch sampling rate in other operating states.
  • the terminal further includes at least one of the following modules:
  • an optical proximity sensor for detecting whether there is an object near the terminal according to the optical effect
  • the acceleration sensor is used to detect the magnitude of the acceleration of the terminal in at least one preset direction.
  • the terminal may further include at least one other hardware module, wherein in the process of identifying whether the receiver is turned on, the receiver hardware needs to be used.
  • the receiver hardware In the process of identifying whether there is a face or a human ear near the receiver, an optical proximity sensor needs to be used.
  • an acceleration sensor In the process of identifying whether to generate a gesture of picking up the terminal, an acceleration sensor needs to be used.
  • the present application provides a computer program product, comprising computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are executed in an electronic device , the processor in the electronic device executes the first aspect or one or more of the possible implementation manners of the first aspect, the current howling processing method in the terminal device.
  • FIG. 1 shows a schematic circuit diagram of howling generated between a touch panel and a liquid crystal display in the related art.
  • FIG. 2 shows a control timing diagram of the driving module shared by the touch panel and the liquid crystal display in the related art.
  • FIG. 3 shows a method flowchart of a howling processing method in a terminal device according to an embodiment of the present application.
  • FIG. 4 shows a schematic diagram of an application scenario according to an embodiment of the present application.
  • FIG. 5 shows a schematic diagram of an application scenario according to an embodiment of the present application.
  • FIG. 6 shows a schematic structural diagram of a howling processing apparatus in a terminal device according to an embodiment of the present application.
  • FIG. 7 shows a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 8 shows a front view of a terminal device according to an embodiment of the present application.
  • FIG. 9 shows a block diagram of a software structure of a terminal device according to an embodiment of the present application.
  • Example is used exclusively herein to mean “serving as an example, embodiment, or illustration.” Any embodiment described herein as an “example” is not necessarily to be construed as preferred or advantageous over other embodiments.
  • the following is an example to illustrate the relationship between the touch sampling rate and the screen and hand rate.
  • the touch sampling rate of the terminal can be uniformly set not to exceed 1KHz, so as to avoid the audio frequency range that the human ear is sensitive to, so that the human ear has a weak perception of the current whistle generated by the electrostrictive effect.
  • continuous reported point coordinates as shown in Table 1 can be generated.
  • the reported point coordinates are the coordinates of the touch points detected by the touch panel, and the sliding track is formed by connecting the touch points.
  • the touch panel can calculate the position of some interpolation reporting points according to the detected reporting point position during the reporting point generation process to achieve a high reporting point rate (such as interpolation from 120Hz reporting point rate to 240Hz reporting point rate), so , the reported points in the final generated sliding track are not necessarily all actual reported points, but also include some interpolation reported points.
  • the reporting point coordinates of the touch panel are (50, 100), and its actual coordinates are (40, 80), and the two positions do not match. This is due to the low touch sampling rate.
  • the delay in reporting points especially affects game applications that require a high follow-up rate. For example, in a game scenario, when the user controls the game characters to reverse or change the walking direction, the delay in reporting points may cause a sense of control lag, causing serious problems to the user. bad experience.
  • the current howling processing methods in terminal equipment provided by various embodiments of the present application can determine the probability that the terminal equipment is close to the human ear according to the operating state of the terminal equipment, and when it is determined that the probability is greater than a preset threshold In the case of , adjust the touch sampling rate of the terminal device to the preset sampling rate.
  • FIG. 3 is a schematic flowchart of an embodiment of a howling processing method in a terminal device provided by the present application.
  • the present application provides method operation steps as shown in the following embodiments or drawings, more or less operation steps may be included in the method based on routine or without creative effort. In steps that logically do not have a necessary causal relationship, the execution order of these steps is not limited to the execution order provided by the embodiments of the present application.
  • the method can be executed sequentially or in parallel (for example, in a parallel processor or multi-threaded processing environment) according to the methods shown in the embodiments or the accompanying drawings during the current howling processing process in actual terminal equipment or when the apparatus is executed.
  • FIG. 3 an embodiment of a howling processing method in a terminal device provided by the present application is shown in FIG. 3 , and the method may include:
  • the terminal device may include a device having a touch panel and a liquid crystal display, for example, may include a smart phone, a computer (including a notebook computer, a desktop computer), a tablet electronic device (such as a tablet computer, an electronic reader) devices), personal digital assistants (PDAs), wearable electronic devices (such as smart bracelets, smart watches), etc.
  • the touch panel may include a capacitive touch panel.
  • the touch panel and the liquid crystal display may share a driving module, and in terms of hardware implementation, the same chip implements the function of driving the touch panel and the liquid crystal display.
  • the driving module may be configured to set a touch sampling rate of the touch panel and a refresh rate of the display, wherein the touch sampling rate is positively related to the touch sensitivity of the screen, and the refresh rate The rate is positively related to the smoothness of the picture displayed on the screen.
  • the running status includes application information and/or hardware status in running of the terminal device, wherein the application information includes at least one of identification information, category information, and sub-scenario identification information of the application.
  • the identification information and category information of the application can be determined respectively by checking the application package name and the category to which it belongs, and the identification information of the sub-scene in the application can be determined by the Activity name in the application.
  • the hardware status may include, for example, the status of devices such as sensors and receivers in the terminal device, and the specific hardware involved may refer to the following description.
  • the touch sampling rate of the terminal device is adjusted so that the touch panel and the backlight module of the liquid crystal display are not connected to each other.
  • the noise impact value of the howling generated by the formed capacitor structure is smaller than the preset impact value.
  • the noise impact value may be determined according to at least one of parameters such as loudness and pitch of the sound.
  • the determining, according to the operating state, that the probability that the terminal device approaches the human ear is greater than a preset threshold may include:
  • S401 Determine an application sampling restriction identifier and a scene sampling restriction identifier according to the application information
  • an application sampling restriction identifier of each application may be preset.
  • an association relationship between the application and its corresponding application sampling restriction identifier may be pre-established, for example, associating the application identifier of the application with the application sampling restriction identifier. In this way, the application sampling restriction identifier can be quickly acquired.
  • multiple applications of a certain category can also be associated with an application sampling restriction identifier, for example, all instant messaging applications are marked with an application sampling restriction identifier, indicating that during the running process of such applications, The probability that the terminal device is close to the human ear is greater than the preset threshold, and the touch sampling rate needs to be adjusted.
  • the corresponding application sampling restriction identifier can be obtained according to the category information of the application, which is not limited in this application.
  • the preset identifier can be set to any marking character, such as "1", "Y”, "OK”, etc., which is not limited in this application.
  • Table 2 exemplarily describes the association manner between the application category and the application sampling restriction identifier.
  • the application sampling restriction identifier corresponding to each application category can be set. For example, "1" can be used to indicate that the probability that the terminal device approaches the human ear during the running of the application in this application category is greater than the preset threshold. , that is, the preset identifier.
  • the running application in the terminal device is QQ
  • the acquired identification information of the QQ application is "Instant Messaging”. If the preset flag is "1”, it can be determined that the probability of the terminal device approaching the human ear is greater than the preset threshold when QQ is running, and its touch sampling rate needs to be adjusted.
  • Table 2 is just one example, and in other examples, an association relationship between each application and its application sampling restriction identifier may be established respectively, which is not limited in this application.
  • Practical application scenarios usually include a variety of applications with comprehensive functions. These applications often include multiple sub-scenarios. For example, for WeChat, it can include instant messaging, voice, short video, games, music, cameras, etc. Seed scene. For each sub-scenario, the user uses the terminal device to listen to the sound in different ways. In some application scenarios, such as in the process of instant messaging and voice, the use scenarios that need to be heard by the receiver may be included, while in the sub-scenarios such as watching short videos, playing games, and listening to music, the use of the receiver to listen to the sound is generally not included. scenes to be used.
  • a scene sampling restriction identifier corresponding to each sub-scenario in the application can be set separately, and the scene sampling restriction identifier can be used to determine that the probability of the terminal device approaching the human ear during the running of the sub-scenario is greater than a preset threshold.
  • the sub-scenario may include a sub-scenario running in the application.
  • different activities (activities) in the application may be respectively regarded as different sub-scenarios.
  • activity refers to the interface between the user and the application. For example, it can be set as a container for a control, and an application can be composed of multiple activities.
  • the component form corresponding to the sub-scenario in the application may be any other component with the same or similar function as the activity, which is not limited in this application.
  • the preset identifier corresponding to the scene sampling restriction identifier can be set to any symbolic character, such as "1", "Y", "OK", etc., which is not limited in this application.
  • Table 3 exemplarily describes the association manner between the sub-scenario and the scenario sampling restriction identifier.
  • the scene sampling restriction flag corresponding to each sub-scenario can be set. For example, "1" can be used to indicate that the probability of the terminal device approaching the human ear in this sub-scenario is greater than the preset threshold, that is, the Default logo.
  • the scene sampling restriction identifier of the voice sub-scene is the preset identifier "1", that is, It can be determined that the probability of the terminal device approaching the human ear during the speech process is greater than a preset threshold, and its touch sampling rate needs to be adjusted.
  • Table 3 is just one example.
  • sub-scenarios can be further divided, for example, the sampling limit identifiers corresponding to each thread can be set separately, which is not limited in this application.
  • the determining, according to the operating state, that the probability that the terminal device approaches the human ear is greater than a preset threshold including:
  • S501 Determine whether the receiver in the terminal device is turned on according to the hardware state.
  • S503 In the case of determining that the receiver is turned on, determine that the probability that the terminal device approaches the human ear is greater than a preset threshold.
  • the receiver may also be referred to as an earpiece, which is an electro-acoustic device disposed in the terminal device, and the electro-acoustic device can convert audio electrical signals under the condition of no sound leakage or low sound leakage into a sound signal.
  • the user can place the receiver close to the ear to listen to the sound.
  • the touch panel and the backlight module are connected. If the formed capacitor structure generates current howling, the noise of the current howling may also be introduced into the user's ear, thereby affecting the sound that the user wants to hear.
  • the on or off state of the receiver may be acquired, and in the case that the receiver is determined to be on, it is determined that the probability that the terminal device approaches the human ear is greater than a preset threshold.
  • an application framework layer Framework, FWK
  • FWK application framework layer
  • the function of the FWK includes acquiring the state information of the receiver. Specifically, after receiving the instruction to turn on or off the receiver, the receiver driver module turns on or off the receiver in response to the instruction, and sends the state change information of the receiver to the FWK.
  • the receiver state information can also be acquired in other ways, such as active acquisition, which is not limited in this application.
  • FIG. 4 shows a schematic diagram of a user interface for a user to turn on the handset function in the process of using the terminal.
  • the friend sends a message by voice.
  • the user can perform a preset operation on the message (such as long-pressing, double-clicking, sliding, etc.) to generate a function box as shown in FIG. 4 .
  • a preset operation on the message such as long-pressing, double-clicking, sliding, etc.
  • the determining, according to the operating state, that the probability that the terminal device approaches the human ear is greater than a preset threshold may include:
  • S601 Determine whether a gesture of picking up the terminal device is generated according to the hardware state
  • S603 In the case of determining that the gesture of picking up the terminal device is generated, determine that the probability that the terminal device is close to the human ear is greater than a preset threshold.
  • a gesture of picking up the terminal device may be recognized by a sensor in the terminal device.
  • the sensor may include, for example, an acceleration sensor, a distance sensor, a gravity sensor, a gyroscope sensor, etc., which is not limited herein.
  • the determining, according to the operating state, that the probability that the terminal device approaches the human ear is greater than a preset threshold may include:
  • S701 Determine whether the receiver of the terminal device is close to a human face or human ear according to the hardware state
  • S703 In the case where it is determined that the receiver of the terminal device is close to the face or the human ear, determine that the probability that the terminal device is close to the human ear is greater than a preset threshold.
  • the receiver is close to a human face or a human ear can be identified through a sensor and/or a touch panel in the terminal device, for example, the sensor can include a proximity light sensor, a touch panel, a microphone, and the like.
  • the sensor can include a proximity light sensor, a touch panel, a microphone, and the like.
  • the preset condition may include that the intensity of the reflected light is greater than a preset intensity threshold.
  • the identification process using the touch panel it can be identified whether there is a change in the capacitance value of a large area in the touch panel, if the touch panel is pressed by a conductive medium (such as hand, face, ear) or is close to the touch panel
  • the time-to-capacity value will increase, that is, it is possible that the user's face touches or approaches the touch panel during the process of bringing the receiver close to the ear (eg distance ⁇ 3-5mm).
  • the receiver is close to the human face or human ear.
  • the above different ways of identifying whether the terminal is close to the face or the human ear can be used in combination, which is not limited in this application.
  • the identification method is not limited to the above embodiments.
  • the camera device in the terminal when the camera device in the terminal is turned on, the camera device can also be used to identify or assist in identifying whether the terminal is close to a human face or human ear, which is not limited in this application.
  • FIG. 5 shows a scene in which a user listens to a sound by using an earpiece
  • the reference signs shown in the figure are all components in the terminal structure shown in FIG. 7 .
  • the acceleration sensor 280B or the distance sensor (not shown in FIG. 7 ) in the terminal is used to determine whether a gesture of picking up the terminal is generated.
  • at least one of the microphone 270C, the proximity light sensor 280G, and the touch panel (touch sensor) 280K can be used to determine whether the receiver is close to a human face or a human ear. In the case of being close to a human face or a human ear, it is determined that the probability that the terminal device is close to the human ear is greater than a preset threshold.
  • the sampling rate is controlled to avoid current whistling between the touch panel and the liquid crystal display. Based on this, when it is determined that the probability that the terminal device is close to the human ear is greater than the preset threshold, the touch sampling rate of the terminal device may be adjusted to the preset sampling rate. Wherein, under the preset sampling rate, the noise influence value of the current howling generated between the touch panel and the liquid crystal display is smaller than the preset influence value.
  • the preset sampling rate may be set as a critical value of current howling generated by the touch panel and the liquid crystal display.
  • the preset sampling rate may be set within a range not greater than the critical value, which is not limited herein.
  • the critical sampling rate for generating current howling is 180 Hz
  • the preset sampling rate can be set to any value not greater than 180 Hz, such as 120 Hz, 135 Hz, and so on.
  • the threshold value of the touch sampling rate for generating current whistle is different. Therefore, the preset sampling rate can be set according to the parameters of the device, which is not limited.
  • the touch sampling rate may be adjusted by using a driving module shared by the touch panel and the liquid crystal display.
  • a preset threshold when it is determined that the probability that the terminal device is close to the human ear is greater than a preset threshold, it can also be determined whether the current touch sampling rate of the terminal is greater than the preset threshold. , and when the touch sampling rate of the terminal is greater than the preset threshold, adjust the touch sampling rate of the terminal to the preset sampling rate.
  • a display driver IC Display Driver IC, DDIC
  • the preset threshold may be set to the critical value, the preset sampling rate, or a numerical value similar to the preset sampling rate. If it is determined that the touch sampling rate is greater than the preset threshold, the driving module may be notified to adjust the touch sampling rate of the terminal device to the preset sampling rate; otherwise, the touch sampling rate does not need to be adjusted Make adjustments.
  • a corresponding preset sampling rate may also be set for different applications or for different sub-scenarios in an application, that is, the preset sampling rate is set to be the same as that in the terminal device.
  • a running application or a sub-scenario within the application is matched.
  • the preset sampling rate corresponding to the calling application can be set to 180 Hz
  • the preset sampling rate corresponding to WeChat can be set to 135 Hz, that is, the probability that the terminal device is close to the human ear when the calling application is running is determined.
  • the touch sampling rate of the terminal can be adjusted to 120Hz, and when it is determined that the probability that the terminal device is close to the human ear when the WeChat application is running is greater than the preset threshold, the touch sampling rate of the terminal can be adjusted to 120Hz.
  • the sampling rate is adjusted to 120Hz.
  • preset sampling rates matching the sub-scenarios may also be set separately according to different sub-scenarios.
  • the default sampling rate for voice calls is set to 120Hz
  • the default sampling rate for instant messaging is set to 135Hz.
  • the preset sampling rate can be set as follows:
  • the foreground applications may have respective upper limit of the touch sampling rate, and the upper limit of the touch sampling rate may include the preset sampling rate described in the foregoing embodiment.
  • the upper limit of the touch sampling rate corresponding to the calling application is 180Hz
  • the upper limit of the touch sampling rate corresponding to WeChat is 135Hz.
  • the upper limit of the touch sampling rate corresponding to WeChat may be used as the preset sampling rate, that is, the touch sampling rate of the terminal is adjusted to 135 Hz.
  • the minimum touch sampling rate limited by different sub-scenarios in the application may also be used as the touch sampling rate limited by the foreground application.
  • the touch sampling rate of the terminal may be restored to 240 Hz or 270 Hz.
  • many applications or application scenarios use the touch sampling rate that is individually set.
  • the touch sampling rate of game applications is as high as 270Hz
  • the touch sampling rate of game scenes in WeChat is 240Hz.
  • the touch sampling rate of the scene is 135Hz.
  • S901 Store the touch sampling rate of the terminal device
  • S903 Adjust the touch sampling rate of the terminal device to a preset sampling rate.
  • the current touch sampling rate of the terminal may be stored before adjusting the touch sampling rate.
  • a corresponding application or a usage scenario in the application may also be stored.
  • the current sampling rate of the terminal may be pushed into the stack for storage, so that in the subsequent process of restoring the touch sampling rate before the limit, the touch sampling rate before the limit can be quickly obtained from the stack .
  • the previous touch sampling rate can also be restored.
  • the method includes:
  • the touch sampling rate is limited, once it is determined that the probability that the terminal device is close to the human ear is not greater than the preset threshold, such as when the call ends, the application is exited, etc. the previously stored touch sampling rate, and adjust the touch sampling rate of the terminal to the stored touch sampling rate. In this way, it is possible to prevent losing the touch sampling rate of the application or the scene in the application before limiting the touch sampling rate.
  • the howling processing method in a terminal device provided by various embodiments of the present application can be applied to a terminal device having a touch panel and a liquid crystal display.
  • a terminal device having a touch panel and a liquid crystal display.
  • the touch sampling rate of the terminal is set higher, the The capacitive structure formed between the touch panel and the liquid crystal display is prone to current whistling.
  • it may be determined according to the operating state of the terminal device that the probability that the terminal device approaches the human ear is greater than a preset threshold, and when it is determined that the probability is greater than In the case of a preset threshold, the touch sampling rate of the terminal device is adjusted.
  • the technical solutions of the embodiments of the present application do not uniformly reduce the touch sampling rate of the device in order to reduce the noise influence of howling, but selectively adjust the touch sampling rate of the device according to the operating state of the device. Therefore, the current howling processing method in the terminal device provided by the embodiment of the present application can determine whether it is necessary to limit the touch sampling rate of the terminal according to the different operating states of the terminal device, which not only eliminates or reduces the impact of howling on the human ear, but also Does not affect the need for high touch sampling rates in other operating states.
  • An embodiment of the present application provides a howling processing apparatus in a terminal device.
  • the apparatus may include: a processor and a memory for storing executable instructions of the processor; wherein the processor is It is configured to implement the howling processing method in a terminal device according to any of the foregoing embodiments when the instruction is executed.
  • the present application further provides a terminal, the terminal may include a howling processing device, a touch panel, a liquid crystal display, and a driving module in the terminal device, wherein;
  • the touch panel for detecting touch operations acting on or near it
  • the liquid crystal display is used to display the interface of the application under the action of the electric field
  • the driving module is electrically connected to the touch panel and the liquid crystal display respectively, and is used for driving and controlling the touch panel and the liquid crystal display.
  • the terminal may further include at least one of the following modules:
  • an optical proximity sensor for detecting whether there is an object near the terminal according to the optical effect
  • the acceleration sensor is used to detect the magnitude of the acceleration of the terminal in at least one preset direction.
  • FIG. 7 shows a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • the mobile phone 200 may include a processor 210, an external memory interface 220, an internal memory 221, a USB interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 251, and a wireless communication module 252, audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, sensor module 280, buttons 290, motor 291, indicator 292, camera 293, display screen 294, and SIM card interface 295, etc.
  • the sensor module 280 may include a gyroscope sensor 280A, an acceleration sensor 280B, a proximity light sensor 280G, a fingerprint sensor 280H, and a touch sensor (touch panel) 280K (of course, the mobile phone 200 may also include other sensors, such as temperature sensors, pressure sensors, distance sensor, magnetic sensor, ambient light sensor, air pressure sensor, bone conduction sensor, etc., not shown in the figure).
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the mobile phone 200 .
  • the mobile phone 200 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or Neural-network Processing Unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller may be the nerve center and command center of the mobile phone 200 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 210 for storing instructions and data.
  • the memory in processor 210 is cache memory. This memory may hold instructions or data that have just been used or cycled by processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided, and the waiting time of the processor 210 is reduced, thereby improving the efficiency of the system.
  • the processor 210 may execute the current howling processing method in the terminal device provided by the embodiments of the present application, so as to eliminate or reduce the influence of the current howling on the human ear, but does not affect the requirement for a high touch sampling rate in other usage scenarios.
  • the processor 210 may include different devices. For example, when the CPU and the GPU are integrated, the CPU and the GPU may cooperate to execute the current howling processing method in the terminal device provided by the embodiments of the present application. The CPU is executed, and another part of the algorithm is executed by the GPU to obtain faster processing efficiency.
  • Display screen 294 is used to display images, videos, and the like.
  • Display screen 294 includes a display panel.
  • the display panel in each embodiment of the present application may adopt a liquid crystal display (liquid crystal display, LCD).
  • cell phone 200 may include 1 or N display screens 294, where N is a positive integer greater than 1.
  • the display screen 294 may be used to display information entered by or provided to the user as well as various graphical user interfaces (GUIs).
  • GUIs graphical user interfaces
  • display 294 may display photos, videos, web pages, or documents, and the like.
  • display 294 may display a graphical user interface.
  • the GUI includes a status bar, a hideable navigation bar, a time and weather widget, and an application icon, such as a browser icon.
  • the status bar includes operator name (eg China Mobile), mobile network (eg 4G), time and remaining battery.
  • the navigation bar includes a back button icon, a home button icon, and a forward button icon.
  • the status bar may further include a Bluetooth icon, a Wi-Fi icon, an external device icon, and the like.
  • the graphical user interface may further include a Dock bar, and the Dock bar may include commonly used application icons and the like.
  • the processor 210 After the processor 210 detects a touch event of the user's finger (or stylus, etc.) on an application icon, in response to the touch event, the user interface of the application corresponding to the application icon is opened and displayed on the display 294 The user interface of the application.
  • the display screen 294 may be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens.
  • Camera 293 front camera or rear camera, or a camera that can be both a front camera and a rear camera is used to capture still images or video.
  • the camera 293 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex or concave) for collecting the light signal reflected by the object to be photographed, and transmitting the collected light signal to the image sensor .
  • the image sensor generates an original image of the object to be photographed according to the light signal.
  • Internal memory 221 may be used to store computer executable program code, which includes instructions.
  • the processor 210 executes various functional applications and data processing of the mobile phone 200 by executing the instructions stored in the internal memory 221 .
  • the internal memory 221 may include a storage program area and a storage data area.
  • the storage program area may store operating system, code of application programs (such as camera application, WeChat application, etc.), and the like.
  • the storage data area may store data created during the use of the mobile phone 200 (such as images and videos collected by the camera application) and the like.
  • the internal memory 221 may also store one or more computer programs 1310 corresponding to the current howling processing method in the terminal device provided by the embodiment of the present application.
  • the one or more computer programs 1304 are stored in the aforementioned memory 221 and configured to be executed by the one or more processors 210, and the one or more computer programs 1310 include instructions that may be used to perform the execution of FIG. 3 or each step in multiple embodiments corresponding to step S301 or S303.
  • the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • non-volatile memory such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the code of the current howling processing method in the terminal device may also be stored in an external memory.
  • the processor 210 may run the code of the current howling processing method in the terminal device stored in the external memory through the external memory interface 220 .
  • the function of the sensor module 280 is described below.
  • the gyro sensor 280A can be used to determine the movement posture of the mobile phone 200 .
  • the angular velocity of cell phone 200 about three axes ie, x, y, and z axes
  • the gyro sensor 280A can be used to detect the current motion state of the mobile phone 200, such as shaking or still.
  • the gyro sensor 280A can be used to detect a folding or unfolding operation acting on the display screen 294 .
  • the gyroscope sensor 280A may report the detected folding operation or unfolding operation to the processor 210 as an event to determine the folding state or unfolding state of the display screen 294 .
  • the acceleration sensor 280B can detect the magnitude of the acceleration of the mobile phone 200 in various directions (generally three axes). That is, the gyro sensor 280A can be used to detect the current motion state of the mobile phone 200, such as shaking or still. When the display screen in the embodiment of the present application is a foldable screen, the acceleration sensor 280B can be used to detect a folding or unfolding operation acting on the display screen 294 . The acceleration sensor 280B may report the detected folding operation or unfolding operation to the processor 210 as an event to determine the folding state or unfolding state of the display screen 294 .
  • Proximity light sensor 280G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the mobile phone emits infrared light outward through light-emitting diodes.
  • Phones use photodiodes to detect reflected infrared light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the phone. When insufficient reflected light is detected, the phone can determine that there are no objects near the phone.
  • the proximity light sensor 280G can be arranged on the first screen of the foldable display screen 294, and the proximity light sensor 280G can detect the first screen according to the optical path difference of the infrared signal.
  • the gyroscope sensor 280A (or the acceleration sensor 280B) may send the detected motion state information (such as angular velocity) to the processor 210 .
  • the processor 210 determines, based on the motion state information, whether the current state is the hand-held state or the tripod state (for example, when the angular velocity is not 0, it means that the mobile phone 200 is in the hand-held state).
  • the fingerprint sensor 280H is used to collect fingerprints.
  • the mobile phone 200 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering incoming calls with fingerprints, and the like.
  • Touch sensor 280K also called “touch panel”.
  • the touch sensor 280K may be disposed on the display screen 294, and the touch sensor 280K and the display screen 294 form a touch screen, also called a "touch screen”.
  • the touch sensor 280K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 294 .
  • the touch sensor 280K may also be disposed on the surface of the mobile phone 200 , which is different from the location where the display screen 294 is located.
  • the display screen 294 of the mobile phone 200 displays a main interface, and the main interface includes icons of multiple applications (such as a camera application, a WeChat application, etc.).
  • Display screen 294 displays an interface of a camera application, such as a viewfinder interface.
  • the wireless communication function of the mobile phone 200 can be realized by the antenna 1, the antenna 2, the mobile communication module 251, the wireless communication module 252, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in handset 200 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 251 can provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the mobile phone 200 .
  • the mobile communication module 251 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 251 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 251 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 251 may be provided in the processor 210 .
  • At least part of the functional modules of the mobile communication module 251 may be provided in the same device as at least part of the modules of the processor 210 .
  • the mobile communication module 251 may also be used for information interaction with other terminal devices.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 270A, the receiver 270B, etc.), or displays images or videos through the display screen 294 .
  • the modem processor may be a stand-alone device.
  • the modulation and demodulation processor may be independent of the processor 210, and may be provided in the same device as the mobile communication module 251 or other functional modules.
  • the wireless communication module 252 can provide applications on the mobile phone 200 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 252 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 252 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210 .
  • the wireless communication module 252 can also receive the signal to be sent from the processor 210 , perform frequency modulation on the signal, amplify the signal, and then convert it into an electromagnetic wave for radiation through the antenna 2 .
  • the wireless communication module 252 is configured to transmit data with other terminal devices under the control of the processor 210 .
  • the mobile phone 200 can implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, and an application processor. Such as music playback, recording, etc.
  • the cell phone 200 can receive key 290 input and generate key signal input related to user settings and function control of the cell phone 200 .
  • the mobile phone 200 can use the motor 291 to generate vibration alerts (eg, vibration alerts for incoming calls).
  • the indicator 292 in the mobile phone 200 may be an indicator light, which may be used to indicate a charging state, a change in power, and may also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 295 in the mobile phone 200 is used to connect the SIM card.
  • the SIM card can be connected to and separated from the mobile phone 200 by being inserted into the SIM card interface 295 or pulled out from the SIM card interface 295 .
  • the mobile phone 200 may include more or less components than those shown in FIG. 7 , which are not limited in this embodiment of the present application.
  • FIG. 8 shows a front view of one of the structures of the terminal.
  • the layout of each module in the terminal is just an example, which is not limited in this application.
  • the illustrated handset 200 is merely an example, and the handset 200 may have more or fewer components than those shown, two or more components may be combined, or may have different component configurations.
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the software system of the terminal device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of a terminal device.
  • FIG. 9 is a block diagram of a software structure of a terminal device according to an embodiment of the application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as phone, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • the application framework layer FWK provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • the window manager may also be used to detect whether there is a picture-in-picture or split-screen window in this embodiment of the present application.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the telephony manager is used to provide the communication function of the terminal device. For example, the management of call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications that appear on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the terminal device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine.
  • the Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library Media Libraries
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • the receiver driver and the driving module shared by the touch panel 280K and the liquid crystal display 294 are used.
  • Embodiments of the present application provide a non-volatile computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, implement the above method.
  • Embodiments of the present application provide a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
  • a computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing.
  • Computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (Electrically Programmable Read-Only-Memory, EPROM or flash memory), static random access memory (Static Random-Access Memory, SRAM), portable compact disk read-only memory (Compact Disc Read-Only Memory, CD - ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanically encoded devices, such as punch cards or raised structures in grooves on which instructions are stored, and any suitable combination of the foregoing .
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read-only memory
  • EPROM Errically Programmable Read-Only-Memory
  • SRAM static random access memory
  • portable compact disk read-only memory Compact Disc Read-Only Memory
  • CD - ROM Compact Disc Read-Only Memory
  • DVD Digital Video Disc
  • memory sticks floppy disks
  • the computer readable program instructions or code described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • the computer program instructions used to perform the operations of the present application may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more source or object code written in any combination of programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages.
  • the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement.
  • the remote computer can be connected to the user's computer through any kind of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or, can be connected to an external computer (e.g. use an internet service provider to connect via the internet).
  • electronic circuits such as programmable logic circuits, Field-Programmable Gate Arrays (FPGA), or Programmable Logic Arrays (Programmable Logic Arrays), are personalized by utilizing state information of computer-readable program instructions.
  • Logic Array, PLA the electronic circuit can execute computer readable program instructions to implement various aspects of the present application.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium storing the instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in hardware (eg, circuits or ASICs (Application) that perform the corresponding functions or actions. Specific Integrated Circuit)), or can be implemented with a combination of hardware and software, such as firmware.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

La présente invention porte sur un procédé et un dispositif de traitement de crissement dans un dispositif terminal, et sur un terminal, un panneau tactile et un dispositif d'affichage du dispositif terminal partageant un module de pilotage, comprenant : l'acquisition d'un état de fonctionnement du dispositif terminal ; et dans la mesure où il est déterminé que la probabilité que le dispositif terminal soit à proximité des oreilles d'une personne est supérieure à un seuil prédéfini sur la base de l'état de fonctionnement, le réglage de la fréquence d'échantillonnage tactile du dispositif terminal à une fréquence d'échantillonnage prédéfinie, la valeur d'impact de bruit d'un crissement généré entre le panneau tactile et le dispositif d'affichage étant, à la fréquence d'échantillonnage prédéfinie, inférieure à une valeur d'impact prédéfinie. Avec le procédé et le dispositif de traitement de crissement dans un dispositif terminal ainsi que le terminal décrits dans la présente invention, il est possible de déterminer si la fréquence d'échantillonnage tactile du terminal doit être limitée sur la base de différents scénarios d'utilisation dans des applications de premier plan, ce qui permet non seulement d'éliminer ou de réduire l'impact d'un crissement en courant faible sur les oreilles, mais également de ne pas affecter les demandes d'une fréquence d'échantillonnage tactile élevée dans d'autres scénarios d'utilisation.
PCT/CN2021/120045 2020-12-23 2021-09-24 Procédé et dispositif de traitement de crissement dans un dispositif terminal, et terminal WO2022134691A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011543631.XA CN114666433B (zh) 2020-12-23 2020-12-23 一种终端设备中啸叫处理方法及装置、终端
CN202011543631.X 2020-12-23

Publications (1)

Publication Number Publication Date
WO2022134691A1 true WO2022134691A1 (fr) 2022-06-30

Family

ID=82025304

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/120045 WO2022134691A1 (fr) 2020-12-23 2021-09-24 Procédé et dispositif de traitement de crissement dans un dispositif terminal, et terminal

Country Status (2)

Country Link
CN (1) CN114666433B (fr)
WO (1) WO2022134691A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661987A (zh) * 2022-12-29 2023-08-29 荣耀终端有限公司 内存申请方法和电子设备
CN116744215A (zh) * 2022-09-02 2023-09-12 荣耀终端有限公司 音频处理方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699320A (zh) * 2012-09-27 2014-04-02 华为终端有限公司 设置触屏参数值的方法及装置
US20160259467A1 (en) * 2015-03-02 2016-09-08 Apple Inc. Snr-aware active mode touch scans
CN106776085A (zh) * 2017-02-27 2017-05-31 维沃移动通信有限公司 触摸屏保护方法及移动终端
CN108170310A (zh) * 2017-12-26 2018-06-15 维沃移动通信有限公司 一种触屏控制方法及移动终端
CN109413254A (zh) * 2018-12-19 2019-03-01 上海中航光电子有限公司 一种改善触控终端的电流噪声的方法及系统
CN111880681A (zh) * 2020-06-28 2020-11-03 北京小米移动软件有限公司 触摸屏采样速率调节方法、装置及计算机存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8988367B2 (en) * 2010-02-05 2015-03-24 Broadcom Corporation Systems and methods for providing enhanced touch sensing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699320A (zh) * 2012-09-27 2014-04-02 华为终端有限公司 设置触屏参数值的方法及装置
US20160259467A1 (en) * 2015-03-02 2016-09-08 Apple Inc. Snr-aware active mode touch scans
CN106776085A (zh) * 2017-02-27 2017-05-31 维沃移动通信有限公司 触摸屏保护方法及移动终端
CN108170310A (zh) * 2017-12-26 2018-06-15 维沃移动通信有限公司 一种触屏控制方法及移动终端
CN109413254A (zh) * 2018-12-19 2019-03-01 上海中航光电子有限公司 一种改善触控终端的电流噪声的方法及系统
CN111880681A (zh) * 2020-06-28 2020-11-03 北京小米移动软件有限公司 触摸屏采样速率调节方法、装置及计算机存储介质

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116744215A (zh) * 2022-09-02 2023-09-12 荣耀终端有限公司 音频处理方法和装置
CN116744215B (zh) * 2022-09-02 2024-04-19 荣耀终端有限公司 音频处理方法和装置
CN116661987A (zh) * 2022-12-29 2023-08-29 荣耀终端有限公司 内存申请方法和电子设备

Also Published As

Publication number Publication date
CN114666433A (zh) 2022-06-24
CN114666433B (zh) 2023-06-09

Similar Documents

Publication Publication Date Title
US11893219B2 (en) Method for quickly invoking small window when video is displayed in full screen, graphic user interface, and terminal
JP7142783B2 (ja) 音声制御方法及び電子装置
US11921987B2 (en) System navigation bar display method, system navigation bar control method, graphical user interface, and electronic device
WO2021129326A1 (fr) Procédé d'affichage d'écran et dispositif électronique
US20220342850A1 (en) Data transmission method and related device
US11687235B2 (en) Split-screen method and electronic device
US20210263564A1 (en) Display Method for Flexible Display, and Terminal
US20220413695A1 (en) Split-screen display method and electronic device
US11762529B2 (en) Method for displaying application icon and electronic device
US11914850B2 (en) User profile picture generation method and electronic device
CN107193524B (zh) 多显示设备及其操作方法
CN112947823A (zh) 会话处理方法、装置、设备及存储介质
US11972106B2 (en) Split screen method and apparatus, and electronic device
US20220214891A1 (en) Interface display method and electronic device
CN111510482B (zh) 失败网络请求的确定方法、装置及计算机存储介质
WO2022134691A1 (fr) Procédé et dispositif de traitement de crissement dans un dispositif terminal, et terminal
US20220374123A1 (en) Display element display method and electronic device
US20230353862A1 (en) Image capture method, graphic user interface, and electronic device
US20240137438A1 (en) Information display method and electronic device
CN118036574A (zh) 互动消息显示方法、装置、计算机设备及存储介质
CN111459363A (zh) 信息展示方法、装置、设备及存储介质
CN113852714A (zh) 一种用于电子设备的交互方法和电子设备
WO2022222688A1 (fr) Procédé et dispositif de commande de fenêtre
JP2024513773A (ja) 表示方法、電子機器、記憶媒体、及びプログラムプロダクト
CN112308104A (zh) 异常识别方法、装置及计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21908692

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21908692

Country of ref document: EP

Kind code of ref document: A1