CN117453111B - Touch response method and device, electronic equipment and storage medium - Google Patents

Touch response method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117453111B
CN117453111B CN202311786247.6A CN202311786247A CN117453111B CN 117453111 B CN117453111 B CN 117453111B CN 202311786247 A CN202311786247 A CN 202311786247A CN 117453111 B CN117453111 B CN 117453111B
Authority
CN
China
Prior art keywords
display
touch
moment
area
display area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311786247.6A
Other languages
Chinese (zh)
Other versions
CN117453111A (en
Inventor
刘富强
包嫒嫒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information Technology 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN202311786247.6A priority Critical patent/CN117453111B/en
Publication of CN117453111A publication Critical patent/CN117453111A/en
Application granted granted Critical
Publication of CN117453111B publication Critical patent/CN117453111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a touch response method and device, electronic equipment and storage medium, wherein the touch response method comprises the following steps: in a first display touch mode, determining a first display area and a second display area according to touch information at a first moment; under the condition that touch operation is detected at the second moment, judging whether display data of an edge area of the first display area at the first moment and the second moment meet preset conditions or not; and under the condition that the preset condition is met, updating the display data of the first display area according to the touch operation at the second moment. The method has the characteristic of reducing the touch response delay rate.

Description

Touch response method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of touch display devices, and in particular, to a touch response method and apparatus, an electronic device, and a storage medium.
Background
Touch is a very important input function of electronic products such as tablet computers and the like. For users, the touch control can enable the users to perform interactive operation on the display screen of the electronic product in the modes of fingers, touch control pens and the like, which is very practical for the users, but the users often see that the touch control operation and display have a certain hysteresis problem (the user's fingers or strokes show actual drawing lines after passing through the screen for a period of time), the hysteresis is quite counter-intuitive, people have a click and delay sense, and therefore the touch control scheme needs to be optimized continuously from the technical design end, and the delay hysteresis problem is reduced.
In the related art, in order to solve the above-mentioned problems, a scheme of increasing a scan rate of a touch screen (240 Hz scan frequency) and a refresh rate of a display screen (120 Hz display refresh) are generally adopted. However, after the touch scanning rate is increased, more touch data needs to be processed in unit time, theoretically more powerful chip support is needed, and meanwhile, the power consumption of the touch display device is correspondingly increased. In addition, the mode of improving the scanning rate of the display screen also needs more bandwidth to support data transmission, meanwhile, the power consumption of the product can be increased, and the battery endurance can be reduced.
Disclosure of Invention
The embodiment of the disclosure provides a touch response method and device, electronic equipment and a storage medium, and can be used for reducing touch delay, reducing system data processing amount and improving data transmission rate under the same bandwidth.
According to a first aspect of the present disclosure, there is provided a touch response method, including:
in a first display touch mode, determining a first display area and a second display area according to touch information at a first moment;
under the condition that touch operation is detected at the second moment, judging whether display data of an edge area of the first display area at the first moment and the second moment meet preset conditions or not;
and under the condition that the preset condition is met, updating the display data of the first display area according to the touch operation at the second moment.
In some possible embodiments, the determining the first display area and the second display area according to the touch information at the first moment includes:
determining touch coordinates according to the touch operation at the first moment;
displaying touch information corresponding to the touch operation according to the touch coordinates, and determining the first display area according to the touch coordinates;
determining the first display area according to the touch coordinates;
and determining the area except the first display area as a second display area.
In some possible embodiments, in the first display touch mode, determining the first display area according to the touch coordinates includes:
determining a touch area at the first moment according to the touch coordinates;
and determining the touch area as the first display area, or extending outwards by taking the touch area as the center, and determining the extended area as the first display area.
In some possible embodiments, the method further includes updating display data of all display areas according to the touch operation at the second time and re-executing the display operation of the first display touch mode according to the touch information at the next time when the termination condition is satisfied.
In some possible embodiments, when the touch operation is detected at the second time, determining whether the display data of the edge area of the first display area at the first time and the second time meets the preset condition includes:
determining the edge region based on the first display region;
acquiring first display data of the edge area at the first moment and second display data of the edge area at the second moment;
and under the condition that the first display data and the second display data are the same, determining that the first display data and the second display data meet preset conditions.
In some possible embodiments, the method further comprises:
and updating the display data of the first display area and the second display area based on the touch operation of the second moment under the condition that the display data of the edge area of the first display area at the first moment and the second moment do not meet the preset condition.
In some possible embodiments, the method further comprises:
and under the condition that the updating of the display data is completed, the first display area and the second display area are redetermined according to the touch operation at the second moment.
According to a second aspect of the present disclosure, there is provided a touch response device, the device comprising:
the determining module is used for determining a first display area and a second display area according to the touch information at the first moment;
the judging module is used for judging whether the display data of the edge area of the first display area at the first moment and the second moment meet the preset condition or not under the condition that the touch operation is detected at the second moment;
and the touch response module is used for updating the display data of the first display area according to the touch operation at the second moment under the condition that the preset condition is met.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the instructions stored in the memory to perform the method of any of the first aspects.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of any one of the first aspects.
In the embodiment of the disclosure, the display area can be divided according to the touch operation at the first moment to obtain the first display area and the second display area, and when the display data in the edge area of the first display area meets the preset condition, the display update of the local area of the first display area is executed, and the update display processing is not required to be carried out on all the display data at the moment, so that the delay of signal transmission from the system end to the display end can be reduced while the data amount processed by the system is reduced, meanwhile, the system power consumption is opportunistically reduced, and the display output efficiency is improved; and under the same bandwidth condition, higher refreshing can be realized, and delay is further reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
FIG. 1 is a schematic flow diagram of a touch response method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of determining a first display area and a second display area according to touch information at a first moment in a touch response method according to an embodiment of the disclosure;
FIG. 3 is a schematic illustration of the division of a first display area and a second display area according to an embodiment of the present disclosure;
FIG. 4 is a functional block diagram of a touch responsive device according to an embodiment of the present disclosure;
fig. 5 is a block diagram of an electronic device 800 according to an embodiment of the disclosure;
fig. 6 is a block diagram of another electronic device 1900 according to an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the disclosure will be described in detail below with reference to the drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art have not been described in detail in order not to obscure the present disclosure.
The main execution body of the touch response method in the embodiment of the disclosure may be a display apparatus, for example, may be executed by a terminal device or a server or other processing devices, where the terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like. In some possible implementations, the method may be implemented by way of a processor invoking computer readable instructions stored in a memory.
FIG. 1 is a schematic flow diagram of a touch response method according to an embodiment of the present disclosure; as shown in fig. 1, a touch response method in an embodiment of the disclosure includes:
s10: in a first display touch mode, determining a first display area and a second display area according to touch information at a first moment;
s20: under the condition that touch operation is detected at the second moment, judging whether display data of an edge area of the first display area at the first moment and the second moment meet preset conditions or not;
s30: and under the condition that the preset condition is met, updating the display data of the first display area according to the touch operation at the second moment.
The first display touch mode of the embodiment of the disclosure can be used for selecting display update only to a local area, so that the data operation amount and the data transmission amount are reduced, the display update speed and the transmission efficiency are improved, the touch influence is improved, and the delay response is reduced.
In some possible embodiments, the method for adjusting the touch mode to the first display touch mode includes at least one of: when the touch mode is started, directly adjusting to a first display touch mode; according to the received mode control instruction, adjusting and switching to a first display touch mode; and under the condition that the touch operation is detected, starting a first display touch mode. The mode control instruction may be a control instruction input by a user or a control instruction transmitted by other electronic devices.
In the embodiment of the disclosure, in the process of executing the touch operation by the user, the touch display device may receive touch information of the user through the touch screen or the touch pad, where the touch information may be information such as a label or a graffiti on the touch display device, or other information capable of being displayed. The first display area and the second display area can be determined according to the touch information at the first moment. The first display area is an area including a position corresponding to the touch information, and the second display area is an area excluding the position corresponding to the touch information. The first display area and the second display area may together constitute the entire display area.
When a touch operation is received at a second time after the first time, the embodiment of the disclosure may determine to update only display information of the first display area or update information of the first display area and the second display area according to display data of the first time and the second time in an edge area of the first display area. Wherein the first time instant and the second time instant may be two adjacent time frames at an updated display frequency of the display device.
In the prior art, three reasons are mainly related to delay generation of touch control: (1) The user generates touch behavior until the touch screen responds to detecting corresponding coordinates to generate delay; (2) The touch screen transmits data to the system, and a certain time is needed for processing the data to form image data, so that delay is caused; (3) The delay caused by the time it takes for the system to transmit data to the display screen to present the data on the display screen. The disclosed embodiments focus primarily on and alleviate delays created at the second and third angles. In most cases, the interaction between a human finger or a stylus and a touch screen is usually continuous with an area (such as writing, drawing, etc.), so that new touch data generated at the next moment is limited to the vicinity of the current touch coordinate in most cases.
Based on the configuration, the embodiment of the disclosure does not need to update and display all display data at any time, reduces the data volume processed by the system, reduces the delay of signal transmission from the system end to the display end, has the opportunity to reduce the system power consumption, and improves the display output efficiency; and under the same bandwidth condition, higher refreshing can be realized, and delay is further reduced.
The following describes in detail the implementation of the examples of the present disclosure. Fig. 2 is a flowchart of determining a first display area and a second display area according to touch information at a first moment in a touch response method according to an embodiment of the disclosure. The determining the first display area and the second display area according to the touch information at the first moment includes:
s101: determining touch coordinates according to the touch operation at the first moment;
s102: displaying touch information corresponding to the touch operation according to the touch coordinates, and determining the first display area according to the touch coordinates;
s103: and determining the area except the first display area as a second display area.
In the embodiment of the disclosure, when a user performs a touch operation on a touch screen, a touch display device may detect a touch behavior generated by the user and may calculate corresponding touch coordinates according to the touch operation. The touch coordinates of the embodiments of the present disclosure may be used to represent a touch area capable of covering touch information of a touch operation. For example, the location area may be defined as a regular shape such as a circle, a rectangle, or the like. Correspondingly, the touch coordinates may be expressed as the center and radius of a circular area, and coordinate values of two opposite corners of a rectangle. The foregoing is illustrative only and is not to be construed as limiting the present disclosure in any way.
Under the condition that the touch coordinates are determined, touch information corresponding to the touch operation can be displayed on the display area. Specifically, after the system of the touch display device receives the touch coordinates, the system first transmits the touch information received at the current first moment to the display screen for outputting, and at the same time, the system can start the first display touch mode (high-efficiency touch display mode). And in the first display touch mode, determining a first display area and a second display area according to the touch coordinates.
In an embodiment of the disclosure, the determining the first display area according to the touch coordinate includes: determining a touch area at the first moment according to the touch coordinates; and determining the touch area as the first display area, or extending outwards by taking the touch area as the center, and determining the extended area as the first display area. That is, in the embodiment of the present disclosure, the area range corresponding to the touch coordinate may be directly determined as the first display area, or the area range corresponding to the touch coordinate may be used as the center and may be extended outwards to form an area such as a circle or a square, so as to construct the first display area. Embodiments of the present disclosure provide for constructing a minimum circular or square area to reduce subsequent display of updated data when performing an outward extension operation.
As shown in fig. 3, the embodiment of the present disclosure may divide a display area into a first display area a, which is an area covered to touch coordinates r, and a second display area B, which is a cold display area, the shape of which includes, but is not limited to, a circle, a square, and the like. The embodiment of the disclosure can support multi-finger touch operation, and correspondingly, under the condition of multi-finger touch, a plurality of first display areas A can be determined according to the identified touch operation. The second display region B is a region other than the first display region among all the display regions.
The first display touch mode of the embodiment of the present disclosure can selectively update display data in the first display area or all display areas according to a change condition of display data in an edge area C of the first display area. At this time, it may be determined whether the display data of the edge region of the first display region at the first time and the second time satisfies a preset condition under the condition that the touch operation is detected at the second time. Under the condition that touch operation is detected at the second moment, judging whether display data of an edge area of the first display area at the first moment and the second moment meet preset conditions or not includes: determining the edge region based on the first display region; acquiring first display data of the edge area at the first moment and second display data of the edge area at the second moment; under the condition that the first display data and the second display data are the same, determining that the first display data and the second display data meet preset conditions; and updating the display data of the first display area and the second display area based on the touch operation of the second moment under the condition that the display data of the edge area of the first display area at the first moment and the second moment do not meet the preset condition.
Specifically, in the embodiment of the present disclosure, from the second moment, display data in the first display area may be generated according to the touch operation received at the second moment, and then the second display data in the edge area C of the first display area and the first display data corresponding to the edge area C in the first moment are compared (the purpose of comparison is to avoid tearing of the displayed image), if the display data in the edge area C at the first moment and the second moment are consistent, it is determined that the preset condition is met, otherwise the preset condition is not met. When the preset condition is met, only the display data in the first display area can be selected to be updated, namely the first display data is updated to the second display data, meanwhile, the display data in the second display area can maintain the data at the last moment (the first moment), and then the complete picture is output.
If the comparison result of the second display data in the edge area C of the first display area at the second moment and the first display data at the corresponding position at the first moment is different, judging that the preset condition is not met, at the moment, continuously calculating and updating the data of the second display area, and then outputting completely new display data for display. The next time is to continue the comparison of the display data in the edge area C of the first display area to determine whether or not to enter the update of the partial display area.
In the case of completing the updating of the display data, the embodiment of the disclosure may redetermine the first display area and the second display area according to the touch operation at the second moment. In the first display touch mode, after the first display area is judged to be met, the new first display area can be continuously judged at the next moment by taking the latest touch coordinate as a reference, and meanwhile, whether the preset condition is met or not is judged according to the comparison of the display data of the edge area, so that the updating display of the image frames at a plurality of moments is circulated.
In the embodiment of the disclosure, the edge area may be an area formed by shrinking the outer boundary of the first display area inward by a preset distance, or may be an outer edge area occupying a preset proportion of the first display area. The preset distance can be 10-100 display pixels, and can be specifically determined according to the resolution of the display screen. In addition, the preset proportion may be a value in the range of 5% -25%, and the setting of the value is not particularly limited in the present disclosure.
In some preferred embodiments, the method further includes updating display data of all display areas according to the touch operation at the second time and re-executing the display operation of the first display touch mode according to the touch information at the next time when the termination condition is satisfied. Specifically, after continuously updating the hot display area of a preset number of time frames, the system needs to interrupt the update mode of local display, inserts and updates the data of the full display area of one frame, and ensures that the data of the cold display area can be presented to a user after the data change. The preset number of times can be any number ranging from 5 to 100, which is not particularly limited in the present disclosure.
In the embodiment of the disclosure, after receiving the data update in the first display touch mode, the display data may be updated based on the system frame rate, and in this manner, no additional communication synchronization is required between the display screen of the touch display device and the system end, and only the refresh rate agreed by the touch display device and the system is required to be followed. In addition, the embodiment of the disclosure can keep the display update frequency of the touch display device synchronous with the update of the system, when the system performs global update, the display screen of the touch display device also performs global update, when the system only performs update of the thermal display area (the first display area), the display screen also performs local update of the data of the thermal display area, when the system outputs data update of the full display area, the display screen also performs full display area refresh, in this way, the system end and the display screen end are required to perform additional synchronous communication, the synchronous update frequency is set, and display errors are avoided, but the method can effectively reduce the data transmission data amount and the update data amount of the display screen, and has the opportunity to more promote the power consumption and the performance.
The embodiment of the disclosure may further set that when the system end does not receive the touch data sent by the touch screen for a period of time, the system end determines that the user has finished the touch mode, and the system end exits the first display touch mode and enters the normal display mode. The normal display mode is a mode in which the entire display area is updated for display.
Based on the above embodiment, the present disclosure may divide a display area according to a touch operation at a first moment to obtain a first display area and a second display area, and perform display update on a local area of the first display area when display data in an edge area of the first display area meets a preset condition, without performing update display processing on all display data at a moment, thereby reducing the amount of data processed by a system, reducing delay of signal transmission from a system end to a display end, having an opportunity to reduce system power consumption, and improving display output efficiency; and under the same bandwidth condition, higher refreshing can be realized, and delay is further reduced.
It will be appreciated that the above-mentioned method embodiments of the present disclosure may be combined with each other to form a combined embodiment without departing from the principle logic, and are limited to the description of the present disclosure.
In addition, the disclosure further provides a touch response device, an electronic device, a computer readable storage medium, and a program, where the foregoing may be used to implement any one of the image processing methods provided in the disclosure, and corresponding technical schemes and descriptions and corresponding descriptions referring to method parts are not repeated.
Fig. 4 is a schematic block diagram of a touch response device according to an embodiment of the present disclosure, as shown in fig. 4, the touch response device includes:
the determining module 100 is configured to determine, in a first touch mode, a first display area and a second display area according to touch information at a first moment;
the judging module 200 is configured to judge whether display data of an edge area of a first display area at the first time and the second time meets a preset condition when a touch operation is detected at the second time;
and the touch response module 300 is configured to update the display data of the first display area according to the touch operation at the second moment when the preset condition is satisfied.
In some embodiments, functions or modules included in an apparatus provided by the embodiments of the present disclosure may be used to perform a method described in the foregoing method embodiments, and specific implementations thereof may refer to descriptions of the foregoing method embodiments, which are not repeated herein for brevity.
The disclosed embodiments also provide a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method. The computer readable storage medium may be a non-volatile computer readable storage medium.
The embodiment of the disclosure also provides an electronic device, which comprises: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the instructions stored in the memory to perform the above method.
The electronic device may be provided as a terminal, server or other form of device.
Fig. 5 is a block diagram of an electronic device 800 according to an embodiment of the disclosure. For example, electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 5, an electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen between the electronic device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the electronic device 800. For example, the sensor assembly 814 may detect an on/off state of the electronic device 800, a relative positioning of the components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in position of the electronic device 800 or a component of the electronic device 800, the presence or absence of a user's contact with the electronic device 800, an orientation or acceleration/deceleration of the electronic device 800, and a change in temperature of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the electronic device 800 and other devices, either wired or wireless. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including computer program instructions executable by processor 820 of electronic device 800 to perform the above-described methods.
Fig. 6 is a block diagram of an electronic device 1900 according to an embodiment of the disclosure. For example, electronic device 1900 may be provided as a server. Referring to FIG. 6, electronic device 1900 includes a processing component 1922 that further includes one or more processors and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by processing component 1922. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, processing component 1922 is configured to execute instructions to perform the methods described above.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1932, including computer program instructions executable by processing component 1922 of electronic device 1900 to perform the methods described above.
The present disclosure may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device 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 transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for performing the operations of the present disclosure can be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed 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. In the case of a remote computer, the remote computer may 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 may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present disclosure are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information of computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
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, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown 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. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (9)

1. The touch response method is characterized by comprising the following steps of:
in a first display touch mode, determining a first display area and a second display area according to touch information at a first moment;
under the condition that touch operation is detected at the second moment, judging whether display data of an edge area of the first display area at the first moment and the second moment meet preset conditions or not;
updating the display data of the first display area according to the touch operation at the second moment under the condition that the preset condition is met;
under the condition that touch operation is detected at the second moment, judging whether the display data of the edge area of the first display area at the first moment and the second moment meet preset conditions or not comprises the following steps:
determining the edge region based on the first display region;
acquiring first display data of the edge area at the first moment and second display data of the edge area at the second moment;
and under the condition that the first display data and the second display data are the same, determining that the first display data and the second display data meet preset conditions.
2. The method of claim 1, wherein determining the first display area and the second display area according to the touch information at the first time comprises:
determining touch coordinates according to the touch operation at the first moment;
displaying touch information corresponding to the touch operation according to the touch coordinates, and determining the first display area according to the touch coordinates;
and determining the area except the first display area as a second display area.
3. The method of claim 2, wherein the determining the first display area according to the touch coordinates comprises:
determining a touch area at the first moment according to the touch coordinates;
and determining the touch area as the first display area, or extending outwards by taking the touch area as the center, and determining the extended area as the first display area.
4. A method according to claim 2 or 3, further comprising updating display data of all display areas according to the touch operation at the second time and re-executing the touch display operation of the first display touch mode according to the touch information at the next time in case that a termination condition is satisfied.
5. The method according to claim 1, wherein the method further comprises:
and updating the display data of the first display area and the second display area based on the touch operation of the second moment under the condition that the display data of the edge area of the first display area at the first moment and the second moment do not meet the preset condition.
6. The method according to any one of claims 1-3 or 5, further comprising:
and under the condition that the updating of the display data is completed, the first display area and the second display area are redetermined according to the touch operation at the second moment.
7. A touch response device, the device comprising:
the determining module is used for determining a first display area and a second display area according to the touch information at the first moment;
the judging module is used for judging whether the display data of the edge area of the first display area at the first moment and the second moment meet the preset condition or not under the condition that the touch operation is detected at the second moment;
the touch response module is used for updating the display data of the first display area according to the touch operation at the second moment under the condition that the preset condition is met;
under the condition that touch operation is detected at the second moment, judging whether the display data of the edge area of the first display area at the first moment and the second moment meet preset conditions or not comprises the following steps:
determining the edge region based on the first display region;
acquiring first display data of the edge area at the first moment and second display data of the edge area at the second moment;
and under the condition that the first display data and the second display data are the same, determining that the first display data and the second display data meet preset conditions.
8. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the instructions stored in the memory to perform the method of any of claims 1 to 6.
9. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1 to 6.
CN202311786247.6A 2023-12-25 2023-12-25 Touch response method and device, electronic equipment and storage medium Active CN117453111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311786247.6A CN117453111B (en) 2023-12-25 2023-12-25 Touch response method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311786247.6A CN117453111B (en) 2023-12-25 2023-12-25 Touch response method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117453111A CN117453111A (en) 2024-01-26
CN117453111B true CN117453111B (en) 2024-03-15

Family

ID=89589588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311786247.6A Active CN117453111B (en) 2023-12-25 2023-12-25 Touch response method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117453111B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547469A (en) * 2011-12-28 2012-07-04 四川长虹电器股份有限公司 Method for accelerating browsing and display of Web pages with multiple pictures
CN102831862A (en) * 2012-08-09 2012-12-19 施国樑 Electronic paper display system capable of refreshing displayed contents in partial area
CN104487929A (en) * 2012-05-09 2015-04-01 苹果公司 Device, method, and graphical user interface for displaying additional information in response to a user contact
CN105070253A (en) * 2015-08-28 2015-11-18 广州文石信息科技有限公司 Refreshing method of electronic ink screen
CN109902232A (en) * 2019-02-26 2019-06-18 维沃移动通信有限公司 Display control method and terminal
CN110989884A (en) * 2019-11-29 2020-04-10 北京市商汤科技开发有限公司 Image positioning operation display method and device, electronic equipment and storage medium
CN114047840A (en) * 2021-11-10 2022-02-15 深圳市洲明科技股份有限公司 Screen refreshing positioning method and device, display equipment and storage medium
CN114727146A (en) * 2022-04-02 2022-07-08 北京字跳网络技术有限公司 Information processing method, device, equipment and storage medium
WO2022166822A1 (en) * 2021-02-07 2022-08-11 北京字节跳动网络技术有限公司 Interaction method and apparatus, electronic device, and computer-readable storage medium
WO2023001163A1 (en) * 2021-07-20 2023-01-26 华为技术有限公司 Screen refreshing method and device capable of improving dynamic effect performance
WO2023046108A1 (en) * 2021-09-24 2023-03-30 维沃移动通信有限公司 Panel parameter adjustment method and apparatus, and electronic device
CN116027999A (en) * 2023-02-02 2023-04-28 浙江汉显科技有限公司 Local refreshing method and device for electronic paper

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9189880B2 (en) * 2011-07-29 2015-11-17 Synaptics Incorporated Rendering and displaying a three-dimensional object representation
US20160180798A1 (en) * 2014-12-22 2016-06-23 Elwha Llc Systems, methods, and devices for controlling content update rates
US11054886B2 (en) * 2017-04-01 2021-07-06 Intel Corporation Supporting multiple refresh rates in different regions of panel display
CN107122116A (en) * 2017-04-28 2017-09-01 广东欧珀移动通信有限公司 Fingerprint recognition region display methods and Related product

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547469A (en) * 2011-12-28 2012-07-04 四川长虹电器股份有限公司 Method for accelerating browsing and display of Web pages with multiple pictures
CN104487929A (en) * 2012-05-09 2015-04-01 苹果公司 Device, method, and graphical user interface for displaying additional information in response to a user contact
CN102831862A (en) * 2012-08-09 2012-12-19 施国樑 Electronic paper display system capable of refreshing displayed contents in partial area
CN105070253A (en) * 2015-08-28 2015-11-18 广州文石信息科技有限公司 Refreshing method of electronic ink screen
CN109902232A (en) * 2019-02-26 2019-06-18 维沃移动通信有限公司 Display control method and terminal
CN110989884A (en) * 2019-11-29 2020-04-10 北京市商汤科技开发有限公司 Image positioning operation display method and device, electronic equipment and storage medium
WO2022166822A1 (en) * 2021-02-07 2022-08-11 北京字节跳动网络技术有限公司 Interaction method and apparatus, electronic device, and computer-readable storage medium
WO2023001163A1 (en) * 2021-07-20 2023-01-26 华为技术有限公司 Screen refreshing method and device capable of improving dynamic effect performance
WO2023046108A1 (en) * 2021-09-24 2023-03-30 维沃移动通信有限公司 Panel parameter adjustment method and apparatus, and electronic device
CN114047840A (en) * 2021-11-10 2022-02-15 深圳市洲明科技股份有限公司 Screen refreshing positioning method and device, display equipment and storage medium
CN114727146A (en) * 2022-04-02 2022-07-08 北京字跳网络技术有限公司 Information processing method, device, equipment and storage medium
CN116027999A (en) * 2023-02-02 2023-04-28 浙江汉显科技有限公司 Local refreshing method and device for electronic paper

Also Published As

Publication number Publication date
CN117453111A (en) 2024-01-26

Similar Documents

Publication Publication Date Title
US20180284948A1 (en) Method and apparatus for split-window display
US10296201B2 (en) Method and apparatus for text selection
US11416112B2 (en) Method and device for displaying an application interface
EP3046016A1 (en) Method and apparatus for switching display mode
JP6517236B2 (en) METHOD, APPARATUS, PROGRAM, AND RECORDING MEDIUM FOR DETERMINING WORK MODE OF TERMINAL
US20180039403A1 (en) Terminal control method, terminal, and storage medium
US20190235745A1 (en) Method and device for displaying descriptive information
EP2921969A1 (en) Method and apparatus for centering and zooming webpage and electronic device
EP3232301B1 (en) Mobile terminal and virtual key processing method
US9959487B2 (en) Method and device for adding font
CN105511777B (en) Session display method and device on touch display screen
CN111610912B (en) Application display method, application display device and storage medium
US20150116368A1 (en) Method and device for adjusting characters of application
US20190034046A1 (en) Method and device for displaying application, and storage medium
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
JP2017525076A (en) Character identification method, apparatus, program, and recording medium
CN108829475B (en) UI drawing method, device and storage medium
US10013151B2 (en) Method and terminal device for adjusting widget
CN106020694B (en) Electronic equipment, and method and device for dynamically adjusting selected area
US20170201479A1 (en) Group message display method, device and medium
US10613622B2 (en) Method and device for controlling virtual reality helmets
CN111092971A (en) Display method and device for displaying
CN117453111B (en) Touch response method and device, electronic equipment and storage medium
EP3846012A1 (en) Application interface display method and apparatus, and storage medium
CN114296587A (en) Cursor control method and device, electronic equipment and storage 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
GR01 Patent grant
GR01 Patent grant