CN109614000B - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN109614000B CN109614000B CN201811233661.3A CN201811233661A CN109614000B CN 109614000 B CN109614000 B CN 109614000B CN 201811233661 A CN201811233661 A CN 201811233661A CN 109614000 B CN109614000 B CN 109614000B
- Authority
- CN
- China
- Prior art keywords
- displacement
- touch
- sensitive display
- contact point
- point
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
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 relates to an information processing method and device. The method is applied to an electronic device with a touch-sensitive display, and comprises the following steps: detecting a point of contact with the touch-sensitive display; responding to the operation of the contact point when the contact point continuously moves on the touch-sensitive display by a preset displacement; wherein the operation of responding to the contact point comprises: and adding the actual displacement of the contact point by a compensation displacement to be used as the display displacement in the operation. By utilizing the embodiment method disclosed by the disclosure, the operation of the user on the touch-sensitive display can be responded in advance, the response speed of the electronic equipment is improved, the phenomena of response delay, interface blockage and the like can be avoided, and better use experience is provided for the user.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an information processing method and apparatus.
Background
Touch-sensitive displays are widely applied to most of electronic devices at present, and a user can implement functions such as screen unlocking, interface jumping, identity authentication, payment and the like on the electronic device by operating corresponding gestures on the touch-sensitive display.
In the related art, in the process of responding to the operation of the user on the touch-sensitive display by the electronic device, the user contact on the touch-sensitive display is not always responded to immediately, and the response is usually started after the user contact continuously moves on the touch-sensitive display by a preset displacement. When the response to the user operation is started, the calculation of the displacement of the user operation is started at the position where the user contact is located at the response time. In contrast, the manner of handling the operation of the user on the touch-sensitive display in the related art may result in a slow response speed of the electronic device, and even cause phenomena such as response delay, interface seizure, and the like, which may not provide the user with a better experience.
Therefore, there is a need in the art for a touch-sensitive display operation response method with fast response speed and good user experience.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an information processing method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided an information processing method applied to an electronic device with a touch-sensitive display, including:
detecting a point of contact with the touch-sensitive display;
responding to the operation of the contact point when the contact point continuously moves on the touch-sensitive display by a preset displacement;
wherein the operation of responding to the contact point comprises: and adding the actual displacement of the contact point by a compensation displacement to be used as the display displacement in the operation.
According to a second aspect of embodiments of the present disclosure, there is provided an information processing apparatus for an electronic device with a touch-sensitive display, comprising:
a detection module to detect a point of contact with the touch-sensitive display;
the operation response module is used for responding to the operation of the contact point when the contact point continuously moves on the touch-sensitive display by preset displacement;
and the displacement compensation module is used for increasing the actual displacement of the contact point by a compensation displacement to be used as the displacement in the operation.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing apparatus for an electronic device with a touch-sensitive display, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting a point of contact with the touch-sensitive display;
responding to the operation of the contact point when the contact point continuously moves on the touch-sensitive display by a preset displacement;
wherein the operation of responding to the contact point comprises: and adding a compensation displacement to the actual displacement of the contact point as a display displacement in the operation.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor, enable the processor to perform the information processing method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the information processing method and the information processing device can respond to the operation of a contact point when the contact point continuously moves on the touch-sensitive display by a preset displacement by detecting the contact point of a user and the touch-sensitive display. And adding a compensation displacement on the basis of the actual displacement of the contact point to serve as the display displacement in the operation. By utilizing the technical scheme, the operation of the user on the touch sensitive display can be responded in advance, the response speed of the electronic equipment is improved, the phenomena of response delay, interface blockage and the like can be avoided, and better use experience is provided for the user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating an information processing method according to an example embodiment.
Fig. 2 is a flow chart illustrating an information processing method according to an example embodiment.
FIG. 3 is a schematic diagram illustrating an application scenario in accordance with an exemplary embodiment.
FIG. 4 is a flow chart illustrating an information processing method according to an example embodiment.
Fig. 5 is a block diagram illustrating an information processing apparatus according to an example embodiment.
FIG. 6 is a block diagram illustrating an apparatus in accordance with an example embodiment.
FIG. 7 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
As described above, before the electronic device responds, the preset displacement of the continuous contact of the user on the touch-sensitive display is a condition for triggering the response of the electronic device, and the preset displacement is discarded after the triggering is successful. The processing mode may cause the electronic device to have a slow response speed, even generate the phenomena of response delay, interface stagnation and the like, and cannot provide better use experience for the user.
Based on the actual technical requirements similar to those described above, the information processing method provided by the present disclosure may add the compensation displacement on the basis of the actual displacement of the contact made by the user on the touch-sensitive display after responding to the user operation, so that the response speed of the electronic device may be improved in advance in response to the user operation on the touch-sensitive display.
The information processing method according to the present disclosure is described in detail below with reference to the drawings. Fig. 1 is a method flowchart of an embodiment of an information processing method provided by the present disclosure. Although the present disclosure provides method steps as shown in the following examples or figures, more or fewer steps may be included in the methods based on conventional or non-inventive efforts. In the case of steps where there are no logically necessary causal relationships, the order of execution of the steps is not limited to that provided by the disclosed embodiments.
In particular, an embodiment of the information processing method provided by the present disclosure is shown in fig. 1, where the method is applied to an electronic device with a touch-sensitive display, and may include:
in step 101: a point of contact with the touch-sensitive display is detected.
In step 103: responding to the operation of the contact point when the contact point continuously moves on the touch-sensitive display by a preset displacement;
wherein the operation of responding to the contact point comprises: and adding the actual displacement of the contact point by a compensation displacement to be used as the display displacement in the operation.
In this embodiment, the touch sensitive display may provide both an output interface and an input interface between the device and the user, also referred to as a "touchscreen" or "touch screen". Touch sensitive displays are used in many electronic devices to display graphics and text, as well as to provide a user interface through which a user may interact with the device. A touch-sensitive display detects and responds to contacts on the touch-sensitive display. The device may display one or more soft keys, menus, and other user interface objects on the touch-sensitive display. A user may interact with the device by contacting the touch-sensitive display location corresponding to the user interface object with which the user wishes to interact.
In this embodiment, when a user contacts the touch-sensitive display through a finger or other touch implement (such as a stylus, etc.), a contact point may be formed between the user and the touch-sensitive display. The point of contact on the touch-sensitive display may be performed by the user using one or more fingers of at least one hand. It should be noted that the contact point can be made using any suitable object or accessory, such as a capacitance pen. The contact behavior of the user on the touch-sensitive display may include: maintaining continuous contact with the touch-sensitive display, one or more taps on the touch-sensitive display, moving the point of contact while maintaining continuous contact, breaking contact, or any combination thereof. In one embodiment, the operations may include horizontal or vertical movement of a pixel point across the touch-sensitive display while maintaining continuous contact with the touch-sensitive display.
In this embodiment, a point of contact with the touch-sensitive display may also be detected. The touch sensitive display may be provided with a touch sensitive surface that accepts user input, for example, the touch sensitive display may use LCD liquid crystal display technology or LPD light emitting polymer display technology, although other display technologies may be used in other embodiments. In this embodiment, a touch-sensitive display controller may be installed on the touch-sensitive display, and the touch-sensitive display controller may be configured to receive an electrical signal from the touch-sensitive display and send an electrical signal to the touch-sensitive display. The touch-sensitive display and the touch-sensitive display controller may detect the point of contact and its movement or break using any of a variety of touch-sensitive technologies, including but not limited to capacitive, resistive, infrared, surface acoustic wave, and the like, based on other associated modules (e.g., memory) and/or related instruction sets.
It should be noted that the implementation subject of each embodiment of the present disclosure may be the touch-sensitive display, the touch-sensitive display controller, or a device formed by integrating the touch-sensitive display and the touch-sensitive display controller, or may be any other module or device connected to the touch-sensitive display, and the present disclosure is not limited thereto.
An operation responsive to the point of contact may be initiated when the point of contact is detected to continue moving a preset displacement across the touch-sensitive display. In this embodiment, the preset displacement may include a plurality of measurement modes, for example, the preset displacement may be a fixed distance, such as 3 cm, or may be a fixed ratio of the screen width, such as 80% of the screen width. Since the touch sensitive display may be configured as a sensor array, such as a multi-touch sensitive panel, and the touch sensitive display may have a fixed resolution, such as various specifications, such as 240 × 320dpi, 480 × 320dpi, 800 × 480dpi, where dpi is a pixel count. Based on this, the preset displacement may be a preset number of pixels, such as 20 pixels, that is, when the contact point moves by 20 pixels, the operation of responding to the contact point is started. In an implementation process, a coordinate system may be set in the touch-sensitive display, and coordinate points of the coordinate system may be matched with pixel points of the touch-sensitive display. In one example, a two-dimensional coordinate system may be established with a position of a pixel at a corner of the touch-sensitive display as a coordinate origin, and a distance between adjacent pixels is a unit length of the coordinate system, so that the pixels on the touch-sensitive display have respective specific coordinate positions, and the touch-sensitive display controller may determine the specific position of the touch point in the coordinate system during the detection of the touch point.
In this embodiment, in the process of responding to the operation of the contact point, a compensation displacement may be added on the basis of the actual displacement of the contact point after the operation is responded, as a display displacement in the operation. The display displacement may include a displacement of a user interface presented to the user or a component in the user interface, such as a scroll displacement of a slider, a movement displacement of the interface, and so on. In one embodiment, a position at which the contact point moves to reach the preset displacement may be used as a starting point, and a display displacement of the contact point at the starting point in the operation may be set as a compensation displacement, that is, a compensation displacement may be used as a display displacement of the contact point at the starting point in the operation under the condition that the compensation displacement is known. In one example, when the position of the contact point at the preset displacement is taken as a starting point, the touch-sensitive display and the touch-sensitive display controller restart to detect the displacement of the contact point, that is, the actual displacement of the contact point at the starting point is zero, and in order to be able to compensate for the displacement of the contact point before the starting point, the display displacement at the contact point may be set to be a compensation displacement. The compensation displacement may be one of a designated distance and a designated number of pixel points. In one embodiment, the compensation displacement may also be a preset displacement, that is, when the operation of responding to the contact point is started, the display displacement of the contact point is the preset displacement.
In this embodiment, based on the coordinate system, as shown in fig. 2, the adding a compensation displacement to the actual displacement of the contact point as the display displacement in the operation may include:
in step 201: determining a coordinate point in the coordinate system when the contact point moves to reach the preset displacement, and taking the coordinate point as a starting point;
in step 203: the coordinate value of the contact point at the starting point set in the operation is a compensation displacement, and the compensation displacement comprises a first number of pixels.
Referring to fig. 3, a specific implementation of step 201 and step 203 is specifically described, and as shown in fig. 3, a rectangular coordinate system is set on the touch-sensitive display, where the rectangular coordinate system uses the lower left corner of the touch-sensitive display as a coordinate origin, uses the lower side of the touch-sensitive display as an X axis, uses the left side of the touch-sensitive display as a Y axis, sets the number of pixels in each cell to be 50, sets a preset displacement to be 50 pixels, and sets a compensation displacement to be 30 pixels. The starting motion position of the contact point is position 1 and the coordinate position is (50, 150). The contact point moves horizontally from position 1 to position 2, the coordinate positions are (100, 150), and the displacement from position 1 to position 2 is 50 pixel points, which is equal to the number of pixel points contained in the preset displacement. Therefore, the operation in response to the contact point is started with the position 2 as a response start point, and the display displacement set at the position 2 is 30 pixel points.
In one embodiment of the present disclosure, the compensation displacement at the plurality of coordinate points may be sequentially increased or decreased during the movement of the contact point. By way of specific example, the point of contact moves horizontally to the right along the touch-sensitive display starting at response start position 2, as shown in FIG. 3. In an application scenario, 10 pixel points can be compensated at position 3, 20 pixel points are compensated at the next coordinate point of position 3, that is, position 4, and so on, and 30 pixel points are compensated at position 5. Then, the display displacement of the contact point at position 3 is (compensation displacement 30) + (actual displacement 50) +10=90, the display displacement at position 4 is (displacement 90 at position 3) +50+20=160, and the display displacement at position 5 is (displacement 160 at position 4) +50+30=240. The decreasing manner is the same as the above embodiment, and is not described herein again. For the two compensation methods, the user can visually generate a gradual feeling for the incremental method, and the user visually changes obviously for the first few pixel points for the incremental method.
It should be noted that the above-mentioned manner of compensating for displacement at each coordinate point is not limited to the above-mentioned example, and other modifications are possible for those skilled in the art in light of the technical spirit of the present application, but should be covered by the scope of the present application as long as the function and effect achieved by the present application are the same as or similar to the present application.
In one embodiment of the present disclosure, different preset compensation displacements may be set for different applications. In an actual service scene, security factors related to screen unlocking, identity authentication and payment scenes are different. For screen unlocking, it is often better for the user experience, but for authentication, payment scenarios, the user may not have a strong demand for particularly fast response speed, preventing the user from accidentally touching. Based on this, different preset compensation displacements can be set for different applications. For example, more compensation displacement can be set in the screen unlocking scene, and less compensation displacement can be set in the identity authentication and payment scene.
In one embodiment of the present disclosure, the operation of detecting the point of contact may be transformed into an interaction with a user interface object, such as one or more soft keys, displayed on the touch-sensitive display, which may include, for example, screen unlocking, page jumping, reading a page turn, and so forth. Specifically, as shown in fig. 4, the following steps may be included:
in step 401: judging whether the display displacement meets a trigger condition for adjusting a user interface displayed by the touch-sensitive display;
in step 403: and if the display displacement meets the trigger condition, responding to the operation and adjusting the user interface.
In this embodiment, the triggering condition may include, for example, that the display displacement reaches a preset threshold, and in one example, when the display displacement is greater than or equal to 200 pixels, the screen is unlocked. For the example shown in fig. 3 above, when the contact point reaches position 5, a screen unlock may be achieved.
The information processing method provided by the application can respond to the operation of the contact point when the contact point continuously moves on the touch-sensitive display by a preset displacement by detecting the contact point of a user and the touch-sensitive display. And adding a compensation displacement on the basis of the actual displacement of the contact point as a display displacement in the operation. By utilizing the technical scheme, the operation of the user on the touch sensitive display can be responded in advance, the response speed of the electronic equipment is improved, the phenomena of response delay, interface blockage and the like can be avoided, and better use experience is provided for the user.
Another aspect of the present disclosure also provides an information processing apparatus, and fig. 5 is a block diagram illustrating an information processing apparatus 500 according to an exemplary embodiment. Referring to fig. 5, the apparatus includes a detection module 501, an operation response module 503, and a displacement compensation module 505, wherein,
a detection module 501, configured to detect a point of contact with the touch-sensitive display;
an operation response module 503, configured to respond to the operation of the touch point when the touch point continuously moves on the touch-sensitive display by a preset displacement;
wherein the operation of responding to the contact point comprises: adding a compensation displacement to the actual displacement of the contact point as the displacement in the operation.
Optionally, in an embodiment of the present disclosure, the increasing the actual displacement of the contact point by a compensation displacement as the display displacement in the operation includes:
and setting the display displacement of the contact point at the starting point in the operation as compensation displacement by taking the position where the contact point moves to reach the preset displacement as the starting point.
Optionally, in an embodiment of the present disclosure, the compensation displacement may include the preset displacement.
Optionally, in an embodiment of the present disclosure, a coordinate system is disposed in the touch sensitive display, a coordinate point of the coordinate system is matched with a pixel point of the touch sensitive display, and the preset displacement includes a preset number of pixel points.
Optionally, in an embodiment of the present disclosure, the increasing the actual displacement of the contact point by a compensation displacement as the display displacement in the operation includes:
determining a coordinate point in the coordinate system when the contact point moves to reach the preset displacement, and taking the coordinate point as a starting point;
the coordinate value of the contact point at the starting point set in the operation is a compensation displacement, and the compensation displacement comprises a first number of pixels.
Optionally, in an embodiment of the present disclosure, the method further includes:
and an incrementing module, configured to, after the coordinate value of the contact point at the starting point is set to be a compensation displacement in the operation, sequentially increment the compensation displacements at the coordinate points when the contact point moves to the coordinate points after the starting point.
Optionally, in an embodiment of the present disclosure, the method further includes:
and a decrementing module configured to sequentially decrement the compensation displacements at the plurality of coordinate points when the contact point moves to a plurality of coordinate points after the response starting point after the coordinate value of the contact point at the starting point set in the operation is the compensation displacement.
Optionally, in an embodiment of the present disclosure, the adding, by a compensation displacement, the actual displacement of the contact point as the display displacement in the operation includes:
acquiring an application where a user interface displayed by the touch-sensitive display is located;
determining a preset compensation displacement corresponding to the application;
and increasing the actual displacement of the contact point by the preset compensation displacement to be used as the display displacement in the operation.
Optionally, in an embodiment of the present disclosure, the operation response module further includes:
the judging module is used for judging whether the display bitmap meets the triggering condition for adjusting the user interface displayed by the touch-sensitive display;
and the response module is used for responding to the operation and adjusting the user interface if the judgment result of the judgment module is that the display displacement meets the trigger condition.
Optionally, in one embodiment of the disclosure, the operation comprises horizontal or vertical movement of a pixel point across the touch-sensitive display while maintaining continuous contact with the touch-sensitive display.
Fig. 6 is a block diagram illustrating an apparatus 700 for resource allocation indication in accordance with an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, the apparatus 700 may include one or more of the following components: processing component 702, memory 704, power component 706, multimedia component 708, audio component 710, input/output (I/O) interface 712, sensor component 714, and communications component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile 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 disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. 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 sensitive display to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operating mode, such as a call mode, a record mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, the sensor assembly 714 may detect an open/closed state of the device 700, the relative positioning of components, such as a display and keypad of the device 700, the sensor assembly 714 may also detect a change in position of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, orientation or acceleration/deceleration of the device 700, and a change in temperature of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 7 is a block diagram illustrating an apparatus 800 for information processing in accordance with an example embodiment. For example, the apparatus 800 may be provided as a server. Referring to FIG. 7, the apparatus 800 includes a processing component 822, which further includes one or more processors, and memory resources, represented by memory 832, for storing instructions, such as applications, that are executable by the processing component 822. The application programs stored in memory 832 may include one or more modules that each correspond to a set of instructions. Further, the processing component 822 is configured to execute instructions to perform a method as described in any of the embodiments above.
The device 800 may also include a power component 826 configured to perform power management of the device 800, a wired or wireless network interface 850 configured to connect the device 800 to a network, and an input/output (I/O) interface 858. The apparatus 800 may operate based on an operating system stored in the memory 832, such as Windows Server, mac OSXTM, unixTM, linuxTM, freeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 832 comprising instructions, executable by the processing component 822 of the apparatus 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (8)
1. An information processing method applied to an electronic device with a touch-sensitive display comprises the following steps:
detecting a point of contact with the touch-sensitive display;
when the contact point continuously moves on the touch-sensitive display by a preset displacement, responding to the operation of the contact point, wherein a coordinate system is arranged in the touch-sensitive display, the coordinate points of the coordinate system are matched with the pixel points of the touch-sensitive display, the preset displacement comprises a preset number of pixel points, and the operation comprises the horizontal or vertical movement of the pixel points crossing the touch-sensitive display while keeping continuous contact with the touch-sensitive display;
wherein the operation of responding to the contact point comprises: adding a compensation displacement to the actual displacement of the contact point as a display displacement in the operation;
the adding the actual displacement of the contact point by a compensation displacement as the display displacement in the operation includes:
determining a coordinate point in the coordinate system when the contact point moves to reach the preset displacement, and taking the coordinate point as a starting point;
setting coordinate values of the contact point at the starting point in the operation as compensation displacement, wherein the compensation displacement comprises a first number of pixels;
after the setting that the coordinate value of the contact point at the starting point in the operation is a compensation displacement, the method further includes:
sequentially increasing the compensation displacement at the plurality of coordinate points when the contact point moves to the plurality of coordinate points after the start point.
2. The information processing method according to claim 1, wherein after the setting that the coordinate value of the contact point at the origin in the operation is a compensation displacement, the method further comprises:
sequentially decrementing the compensation displacement at the plurality of coordinate points as the contact point moves to a plurality of coordinate points after the response start point.
3. The information processing method of claim 1, wherein the operation of responding to the contact point further comprises:
judging whether the display displacement meets a trigger condition for adjusting a user interface displayed by the touch-sensitive display;
and if the display displacement meets the trigger condition, responding to the operation and adjusting the user interface.
4. An information processing apparatus for an electronic device with a touch-sensitive display, comprising:
a detection module to detect a point of contact with the touch-sensitive display;
the operation response module is used for responding the operation of the contact point when the contact point continuously moves on the touch-sensitive display by preset displacement, a coordinate system is arranged in the touch-sensitive display, the coordinate point of the coordinate system is matched with the pixel points of the touch-sensitive display, the preset displacement comprises a preset number of pixel points, and the operation comprises horizontal or vertical movement of the pixel points across the touch-sensitive display while the continuous contact with the touch-sensitive display is kept;
a displacement compensation module for adding a compensation displacement to the actual displacement of the contact point as a display displacement in the operation;
the displacement compensation module is further configured to:
determining a coordinate point in the coordinate system when the contact point moves to reach the preset displacement, and taking the coordinate point as a starting point;
setting the coordinate value of the contact point at the starting point in the operation as a compensation displacement, wherein the compensation displacement comprises a first number of pixels;
the device further comprises:
and an incrementing module, configured to, after the coordinate value of the contact point at the starting point is set to be a compensation displacement in the operation, sequentially increment the compensation displacements at the coordinate points when the contact point moves to the coordinate points after the starting point.
5. The information processing apparatus according to claim 4, characterized by further comprising:
and a decrementing module configured to sequentially decrement the compensation displacements at the plurality of coordinate points when the contact point moves to a plurality of coordinate points after the response starting point after the coordinate value of the contact point at the starting point set in the operation is the compensation displacement.
6. The information processing apparatus according to claim 4, wherein the operation response module further includes:
the judging module is used for judging whether the display displacement meets a triggering condition for adjusting the user interface displayed by the touch-sensitive display;
and the response module is used for responding to the operation and adjusting the user interface if the judgment result of the judgment module is that the display displacement meets the trigger condition.
7. An information processing apparatus for an electronic device with a touch-sensitive display, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting a point of contact with the touch-sensitive display;
when the contact point continuously moves on the touch-sensitive display by a preset displacement, responding to the operation of the contact point, wherein a coordinate system is arranged in the touch-sensitive display, the coordinate points of the coordinate system are matched with the pixel points of the touch-sensitive display, the preset displacement comprises a preset number of pixel points, and the operation comprises the horizontal or vertical movement of the pixel points crossing the touch-sensitive display while keeping continuous contact with the touch-sensitive display;
wherein the processor is further configured to increase the actual displacement of the contact point by a compensation displacement as the display displacement in the operation;
the processor is further configured to:
determining a coordinate point in the coordinate system when the contact point moves to reach the preset displacement, and taking the coordinate point as a starting point;
setting the coordinate value of the contact point at the starting point in the operation as a compensation displacement, wherein the compensation displacement comprises a first number of pixels;
the processor is further configured to sequentially increment the compensation displacements at the plurality of coordinate points when the contact point moves to a plurality of coordinate points after the start point after the setting that the coordinate value of the contact point at the start point in the operation is the compensation displacement.
8. A non-transitory computer readable storage medium having instructions that, when executed by a processor, enable the processor to perform the method of any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811233661.3A CN109614000B (en) | 2018-10-23 | 2018-10-23 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811233661.3A CN109614000B (en) | 2018-10-23 | 2018-10-23 | Information processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109614000A CN109614000A (en) | 2019-04-12 |
CN109614000B true CN109614000B (en) | 2023-02-17 |
Family
ID=66002480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811233661.3A Active CN109614000B (en) | 2018-10-23 | 2018-10-23 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109614000B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402322A (en) * | 2010-09-15 | 2012-04-04 | 宏碁股份有限公司 | Touch signal compensation method |
CN104346091A (en) * | 2013-07-31 | 2015-02-11 | 北京壹人壹本信息科技有限公司 | Handwriting displaying method and device |
CN104881221A (en) * | 2015-05-27 | 2015-09-02 | 上海与德通讯技术有限公司 | Sliding control method and touch terminal |
CN105573538A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Sliding broken line compensation method and electronic device |
CN105975122A (en) * | 2016-04-27 | 2016-09-28 | 集怡嘉数码科技(深圳)有限公司 | Touch track compensation method and apparatus as well as terminal device |
-
2018
- 2018-10-23 CN CN201811233661.3A patent/CN109614000B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402322A (en) * | 2010-09-15 | 2012-04-04 | 宏碁股份有限公司 | Touch signal compensation method |
CN104346091A (en) * | 2013-07-31 | 2015-02-11 | 北京壹人壹本信息科技有限公司 | Handwriting displaying method and device |
CN105573538A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Sliding broken line compensation method and electronic device |
CN104881221A (en) * | 2015-05-27 | 2015-09-02 | 上海与德通讯技术有限公司 | Sliding control method and touch terminal |
CN105975122A (en) * | 2016-04-27 | 2016-09-28 | 集怡嘉数码科技(深圳)有限公司 | Touch track compensation method and apparatus as well as terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN109614000A (en) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107908351B (en) | Application interface display method and device and storage medium | |
CN105511686B (en) | Call processing method, device and terminal electronic device | |
EP3232299A2 (en) | Physical key component, terminal, and touch response method and device | |
EP3163404B1 (en) | Method and device for preventing accidental touch of terminal with touch screen | |
CN107102772B (en) | Touch control method and device | |
CN106802741B (en) | Method and device for determining screen edge touch event and mobile terminal | |
CN110262692B (en) | Touch screen scanning method, device and medium | |
EP3232301B1 (en) | Mobile terminal and virtual key processing method | |
CN107562349B (en) | Method and device for executing processing | |
CN108073328B (en) | Touch response method and device | |
US10061497B2 (en) | Method, device and storage medium for interchanging icon positions | |
CN104317402A (en) | Description information display method and device and electronic equipment | |
CN106919283A (en) | The touch event processing method of terminal, device and terminal | |
CN107168566B (en) | Operation mode control method and device and terminal electronic equipment | |
CN107402677B (en) | Method and device for recognizing finger lifting in touch operation and terminal | |
CN106445376B (en) | Webpage operation method and device | |
CN106990893B (en) | Touch screen operation processing method and device | |
CN106919302B (en) | Operation control method and device of mobile terminal | |
CN106126050B (en) | Menu display method and device | |
CN107203315B (en) | Click event processing method and device and terminal | |
CN107832112B (en) | Wallpaper setting method and device | |
CN107315517B (en) | Method and device for preventing false touch, mobile terminal and intelligent terminal | |
CN109614000B (en) | Information processing method and device | |
CN107168631B (en) | Application program closing method and device and terminal electronic equipment | |
CN108037875B (en) | Method, device and storage medium for switching input modes |
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 |