[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104777976A - Interface operation method - Google Patents

Interface operation method Download PDF

Info

Publication number
CN104777976A
CN104777976A CN201510142136.0A CN201510142136A CN104777976A CN 104777976 A CN104777976 A CN 104777976A CN 201510142136 A CN201510142136 A CN 201510142136A CN 104777976 A CN104777976 A CN 104777976A
Authority
CN
China
Prior art keywords
touch
display content
zooming
interface 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.)
Pending
Application number
CN201510142136.0A
Other languages
Chinese (zh)
Inventor
钟香玲
黄金武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510142136.0A priority Critical patent/CN104777976A/en
Publication of CN104777976A publication Critical patent/CN104777976A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiments of the invention disclose an interface operation method. The method comprises the following steps: acquiring touch area of touch according to a touch signal input aiming at current interface display content; detecting touch region information associated with the touch area, and determining a zooming trigger instruction for the interface display content corresponding to the touch area; carrying out zooming processing on the interface display content according to the zooming trigger instruction. The method disclosed by the embodiments of the invention has the advantages that the processing efficiency of zoom-in or zoom-out of the interface display content can be increased, and the operation on a terminal is facilitated.

Description

Interface operation method
Technical Field
The invention relates to the technical field of electronics, in particular to an interface operation method.
Background
At present, capacitive touch screens are widely applied to terminals such as mobile phones and tablet computers, and users can use various functions by performing touch operations through fingers or touch control equipment.
The content displayed on the touch screen interface is enlarged or reduced by a user, and is mostly realized by dragging with two fingers or clicking a corresponding function icon. Under the condition that the operation of the two fingers is inconvenient (for example, the touch screen is large, the operation can be performed only by one hand and the like), the amplification or the reduction of the interface display content cannot be realized, the processing efficiency of the amplification or the reduction of the interface display content is reduced, and the operation on the terminal is further influenced.
Disclosure of Invention
The embodiment of the invention provides an interface operation method, which can improve the processing efficiency of amplifying or reducing interface display contents and is convenient for operating a terminal.
The embodiment of the invention provides an interface operation method, which comprises the following steps:
acquiring a touch area of touch according to a touch signal input aiming at the display content of the current interface;
detecting touch area information associated with the touch area, and determining a zooming trigger instruction of the interface display content corresponding to the touch area;
and zooming the interface display content according to the zooming trigger instruction.
In the embodiment of the invention, the touch area of the touch signal input aiming at the current interface display content is acquired, the touch area information associated with the touch area is detected, the zooming trigger instruction is determined according to the detected touch area, and the zooming processing on the interface display content is realized according to the zooming trigger instruction. The zooming function is simply and conveniently realized according to the touch area of the touch signal, the processing efficiency of zooming in or out the interface display content is improved, and the operation of the terminal is further facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for interface operation according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another method for interface operation according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating another method for interface operation according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first area obtaining unit according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an instruction detecting unit according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a scaling processing unit according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for interface operation provided by the embodiment of the invention can be applied to a scene for realizing interface display content zooming by single-finger operation, such as: the method comprises the steps that a terminal acquires a touch area touched according to a touch signal input aiming at current interface display content, the terminal detects touch area information associated with the touch area and determines a zooming trigger instruction of the interface display content corresponding to the touch area, and the terminal zooms the interface display content according to the zooming trigger instruction. According to the touch area of the touch signal, the zooming function is simply and conveniently realized without dragging operation of double fingers to realize the zooming of the interface display content, the processing efficiency of zooming in or zooming out the interface display content is improved, and the operation of the terminal is further facilitated.
The terminal related to the embodiment of the invention can include but is not limited to electronic equipment with a display screen, such as a mobile phone, a PAD (tablet computer), and a smart wearable device.
The method for operating the interface provided by the embodiment of the invention will be described in detail with reference to fig. 1 to 3.
Referring to fig. 1, a flowchart of a method for interface operation according to an embodiment of the present invention is shown, where the method includes steps S101 to S103.
And S101, acquiring a touch area of a touch according to a touch signal input aiming at the current interface display content.
Specifically, the touch signal input for the current interface display content is a touch signal input by a user on the interface display content, where the touch signal may be one or multiple touch signals, and the embodiment of the present invention is an interface operation method for one touch signal, where the touch signal may be generated by a finger touch or by a user touching another touch device (e.g., a stylus pen, etc.).
According to a touch signal input aiming at the display content of the current interface, a corresponding touch position of the touch signal on a touch display screen is obtained, and the capacitance value of each capacitance coordinate point in at least one capacitance coordinate point in a touch range corresponding to the touch position is obtained. The touch display screen is fully distributed with capacitance coordinate points, and if the touch signal does not occur, capacitance values cannot be detected on the touch display screen, or the detected capacitance values are initial capacitance values; if the touch signal exists, a capacitance value or a change in the capacitance value can be detected at a touch position on the touch display screen. The method comprises the steps of obtaining a capacitance coordinate point which meets the preset capacitance threshold range in the capacitance value of each capacitance coordinate point, and obtaining a touch area of a touch according to the capacitance coordinate point which meets the preset capacitance threshold range, wherein the capacitance coordinate point which meets the preset capacitance threshold range is possibly larger than the capacitance coordinate point of the preset capacitance threshold, and also is possibly smaller than the capacitance coordinate point of the preset capacitance threshold, and only the capacitance coordinate point which meets the preset capacitance threshold range is needed to be obtained.
Before executing step S101, the terminal needs to detect whether to start a zoom function for the current interface display content. Judging whether to start a zooming function of the interface display content by detecting a starting signal for zooming the interface display content, and starting the zooming function when the starting signal is detected. The starting signal can be judged by the duration of the touch signal, when the duration of the touch signal input for the current interface display content is detected to be greater than a certain time period, the starting signal is indicated to exist, and the zooming function of the interface display content is started. The certain time period may be a time period set by a user or a time period defaulted by the system. The terminal can also call a notification device to output prompt information when the zooming function of the interface display content is started, so as to prompt a user that the terminal enters the zooming function of the interface display content, wherein the notification device can include but is not limited to a vibrating motor, a three-color lamp, a page reflection lamp and the like. For example: the duration is more than 2 seconds so that the terminal is vibrated by the vibrating motor to prompt a user that the terminal starts a zooming function on the interface display content.
S102, detecting touch area information associated with the touch area, and determining a zooming trigger instruction of the interface display content corresponding to the touch area.
And the touch area information carries the area size of the touch area. And the terminal calculates the area size of the touch area. When the fact that the area size of the touch area is larger than a first area size within a preset time period is detected, determining that a zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction. For example, the preset time period is 100ms, the area size of the touch area is larger than the first area size within the 100ms, and the zoom trigger instruction is determined to be a zoom-in trigger instruction. When the area size of the touch area is smaller than a second area size within a preset time period, determining that the zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction. For example, the preset time period is 100ms, the area size of the touch area is smaller than the second area size within the 100ms, and the zoom trigger instruction is determined to be a zoom-out trigger instruction.
It is understood that, as long as the touch areas continuously detected within the preset time period are all larger than the first area size, the zoom trigger instruction is determined to be a zoom-in trigger instruction, for example: and if the first 50ms of the 100ms detects that the area size of the touch area is smaller than the second area size, the subsequent 51ms detects that the area size of the touch area is larger than the first area size, and the 100ms from the 51ms to the 150ms continuously detects that the area size of the touch area is larger than the first area size, determining that the zooming trigger instruction is a zooming trigger instruction. Wherein the first area dimension is greater than the second area dimension. And as long as the touch areas continuously detected within the preset time period are all smaller than the second area size, determining that the zooming trigger instruction is a zooming trigger instruction, for example: and if the first 50ms of the 100ms detects that the area size of the touch area is larger than the first area size, the subsequent 51ms detects that the area size of the touch area is smaller than the second area size, and the 100ms from the 51ms to the 150ms continuously detects that the area size of the touch area is smaller than the second area size, determining that the zooming trigger instruction is a zooming-out trigger instruction. Wherein the first area dimension is greater than the second area dimension.
The touch area information also carries a touch center point in the touch area, and the touch center point in a touch range corresponding to the touch position can be acquired in the process of detecting the touch area information associated with the touch area. And determining a touch central point by acquiring a capacitance coordinate point with the maximum capacitance value in the touch range corresponding to the touch position or acquiring an intersection point of a transverse central axis and a longitudinal central axis in the touch range corresponding to the touch position.
S103, zooming the interface display content according to the zooming trigger instruction.
Specifically, when the zoom trigger instruction is an enlargement trigger instruction, enlargement processing is performed on the interface display content by taking the touch central point as a center and according to a preset enlargement ratio, for example: the preset amplification scale is ten percent, and the display content of the interface is amplified by ten percent by taking the touch central point as a center. When the zooming trigger instruction is a zooming trigger instruction, zooming out the interface display content by taking the touch central point as a center according to a preset zooming-out scale, for example: the preset reduction proportion is ten percent, and the display content of the interface is reduced by ten percent by taking the touch central point as a center.
It should be noted that, assuming that the preset magnification ratio is ten percent and the preset reduction ratio is ten percent, if the first zooming trigger instruction is a zooming trigger instruction, zooming ten percent of the interface display content by taking the touch central point as a center to obtain the first zoomed interface display content, and detecting that the second zooming trigger instruction is a zooming trigger instruction, continuing zooming ten percent of the first zoomed interface display content by taking the touch central point as a center on the basis of the first zoomed interface display content, and so on. Similarly, if the first zooming trigger instruction is a zooming trigger instruction, after the first zoomed-out interface display content is obtained, the second zooming-out trigger instruction is detected, and then the first zoomed-out interface display content is zoomed out by ten percent again by taking the touch center point as the center on the basis of the first zoomed-out interface display content. If the first zooming trigger instruction is an amplifying trigger instruction, after ten percent of the interface display content is amplified by taking the touch central point as the center to obtain first amplified interface display content, and a second zooming trigger instruction is detected to be an amplifying trigger instruction, ten percent of the first amplified interface display content is amplified by taking the touch central point as the center on the basis of the first amplified interface display content. When the touch signal is detected to be finished, namely when the finger of the user or other touch equipment leaves the touch display screen, the interface display content which is enlarged or reduced is kept, and the zooming function is exited.
In the embodiment of the invention, the touch area of the touch signal input aiming at the current interface display content is acquired, the touch area information associated with the touch area is detected, the zooming trigger instruction is determined according to the detected touch area, and the zooming processing on the interface display content is realized according to the zooming trigger instruction. According to the touch area of the touch signal, the zooming function is simply and conveniently realized without dragging operation of double fingers to realize the zooming of the interface display content, the processing efficiency of zooming in or zooming out the interface display content is improved, and the operation of the terminal is further facilitated.
Referring to fig. 2, a flow chart of another interface operation method according to an embodiment of the present invention is shown, where the method includes steps S201 to S205.
S201, according to a touch signal input aiming at the display content of the current interface, the capacitance value of each capacitance coordinate point in at least one capacitance coordinate point on the touch display screen is obtained.
The touch display screen is fully distributed with capacitance coordinate points, and if the touch signal does not occur, capacitance values cannot be detected on the touch display screen, or the detected capacitance values are initial capacitance values; if the touch signal exists, a capacitance value or a change in the capacitance value can be detected at a touch position on the touch display screen. According to a touch signal input aiming at the display content of the current interface, a corresponding touch position of the touch signal on a touch display screen is obtained, and the capacitance value of each capacitance coordinate point in at least one capacitance coordinate point in a touch range corresponding to the touch position is obtained.
Before executing step S201, the terminal needs to detect whether to start a zoom function for the current interface display content. Judging whether to start a zooming function of the interface display content by detecting a starting signal for zooming the interface display content, and starting the zooming function when the starting signal is detected. The starting signal can be judged by the duration of the touch signal, when the duration of the touch signal input for the current interface display content is detected to be greater than a certain time period, the starting signal is indicated to exist, and the zooming function of the interface display content is started. The certain time period may be a time period set by a user or a time period defaulted by the system. The terminal can also call a notification device to output prompt information when the zooming function of the interface display content is started, so as to prompt a user that the terminal enters the zooming function of the interface display content, wherein the notification device can include but is not limited to a vibrating motor, a three-color lamp, a page reflection lamp and the like. For example: the duration is more than 2 seconds so that the terminal is vibrated by the vibrating motor to prompt a user that the terminal starts a zooming function on the interface display content.
S202, acquiring a capacitance coordinate point which meets a preset capacitance threshold range in the capacitance value of each capacitance coordinate point, and acquiring the touch area of touch according to the capacitance coordinate point which meets the preset capacitance threshold range.
The capacitance coordinate point meeting the preset capacitance threshold value range may be a capacitance coordinate point larger than the preset capacitance threshold value or a capacitance coordinate point smaller than the preset capacitance threshold value, and only the capacitance coordinate point meeting the preset capacitance threshold value range needs to be acquired.
And S203, calculating the area size of the touch area.
S204, when the fact that the area size of the touch area is larger than a first area size in a preset time period is detected, determining that a zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction.
Specifically, touch area information associated with the touch area is detected, and the touch area information carries an area size of the touch area. When the fact that the area size of the touch area is larger than a first area size within a preset time period is detected, determining that a zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction. For example, the preset time period is 100ms, the area size of the touch area is larger than the first area size within the 100ms, and the zoom trigger instruction is determined to be a zoom-in trigger instruction.
The touch area information also carries a touch center point in the touch area, and the touch center point in a touch range corresponding to the touch position can be acquired in the process of detecting the touch area information associated with the touch area. And determining a touch central point by acquiring a capacitance coordinate point with the maximum capacitance value in the touch range corresponding to the touch position or acquiring an intersection point of a transverse central axis and a longitudinal central axis in the touch range corresponding to the touch position.
And S205, when the zooming trigger instruction is a zooming trigger instruction, zooming the interface display content.
Specifically, when the zoom trigger instruction is an enlargement trigger instruction, enlargement processing is performed on the interface display content by taking the touch central point as a center and according to a preset enlargement ratio, for example: the preset amplification scale is ten percent, and the display content of the interface is amplified by ten percent by taking the touch central point as a center.
It should be noted that, assuming that the preset magnification ratio is ten percent, if the first zooming trigger instruction is a zooming trigger instruction, zooming ten percent of the interface display content by taking the touch central point as a center to obtain the first zoomed interface display content, and then detecting that the second zooming trigger instruction is a zooming trigger instruction, continuing to zoom ten percent of the first zoomed interface display content by taking the touch central point as a center on the basis of the first zoomed interface display content, and so on. When the touch signal is detected to be finished, namely when the finger of the user or other touch equipment leaves the touch display screen, the display content of the interface which is amplified is kept, and the zooming function is exited.
In the embodiment of the invention, the touch area of the touch signal input aiming at the current interface display content is acquired, the touch area information associated with the touch area is detected, the amplification triggering instruction is determined according to the detected touch area, and the amplification processing of the interface display content is realized according to the amplification triggering instruction. The accuracy of the amplification function is improved by amplifying the display content of the interface by taking the touch central point as the center. Through the touch area according to the touch signal, the double fingers are not required to be dragged to amplify the content displayed on the interface, the amplification function is simply and conveniently realized, the user experience is improved, the processing efficiency for amplifying the content displayed on the interface is improved, and the operation on the terminal is facilitated.
Referring to fig. 3, a flow chart of another interface operation method according to an embodiment of the present invention is shown, where the method includes steps S301 to S305.
S301, acquiring a capacitance value of each capacitance coordinate point in at least one capacitance coordinate point on the touch display screen according to a touch signal input aiming at the current interface display content.
S302, acquiring a capacitance coordinate point which meets a preset capacitance threshold range in the capacitance value of each capacitance coordinate point, and acquiring a touch area according to the capacitance coordinate point which meets the preset capacitance threshold range.
And S303, calculating the area size of the touch area.
Steps S301 to S303 of this embodiment can refer to steps S201 to S203 of the embodiment shown in fig. 2, which are not described herein again.
S304, when the fact that the area size of the touch area is smaller than a second area size within a preset time period is detected, determining that a zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction.
Specifically, touch area information associated with the touch area is detected, and the touch area information carries an area size of the touch area. When the area size of the touch area is smaller than a second area size within a preset time period, determining that the zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction. For example, the preset time period is 100ms, the area size of the touch area is smaller than the second area size within the 100ms, and the zoom trigger instruction is determined to be a zoom-out trigger instruction.
The touch area information also carries a touch center point in the touch area, and the touch center point in a touch range corresponding to the touch position can be acquired in the process of detecting the touch area information associated with the touch area. And determining a touch central point by acquiring a capacitance coordinate point with the maximum capacitance value in the touch range corresponding to the touch position or acquiring an intersection point of a transverse central axis and a longitudinal central axis in the touch range corresponding to the touch position.
S305, when the zooming trigger instruction is a zooming trigger instruction, zooming out the interface display content.
Specifically, when the zoom trigger instruction is a zoom-out trigger instruction, zoom-out processing is performed on the interface display content by taking the touch center point as a center and according to a preset zoom-out scale, for example: the preset reduction proportion is ten percent, and the display content of the interface is reduced by ten percent by taking the touch central point as a center.
It should be noted that, assuming that the preset reduction ratio is ten percent, if the first zooming trigger instruction is a zooming trigger instruction, and after the ten percent of the interface display content is reduced by taking the touch central point as the center to obtain the first reduced interface display content, and a second zooming trigger instruction is detected as a zooming trigger instruction, the first reduced interface display content is further reduced by ten percent by taking the touch central point as the center on the basis of the first reduced interface display content, and so on. When the touch signal is detected to be finished, namely when the finger of the user or other touch equipment leaves the touch display screen, the zoomed-out interface display content is kept, and the zooming function is exited.
In the embodiment of the invention, the touch area of the touch signal input aiming at the current interface display content is acquired, the touch area information associated with the touch area is detected, the reduction trigger instruction is determined according to the detected touch area, and the reduction processing of the interface display content is realized according to the reduction trigger instruction. The accuracy of the zooming-out function is improved by zooming out the display content of the interface by taking the touch central point as the center. Through the touch area according to the touch signal, the reduction of the interface display content is realized without the dragging operation of double fingers, the reduction function is simply and conveniently realized, the user experience is improved, the processing efficiency of the reduction of the interface display content is improved, and the operation of the terminal is further facilitated.
The terminal for interface operation provided by the embodiment of the present invention will be described in detail with reference to fig. 4 to 7. It should be noted that, the terminals shown in fig. 4 to fig. 7 are used for executing the method according to the embodiments of the present invention shown in fig. 1 to fig. 3, for convenience of description, only the parts related to the embodiments of the present invention are shown, and details of the technology are not disclosed, please refer to the embodiments of the present invention shown in fig. 1 to fig. 3.
Please refer to fig. 4, which is a schematic structural diagram of a terminal according to the present invention; the terminal 10 may include: a first area acquisition unit 101, an instruction detection unit 102, and a scaling processing unit 103.
A first area obtaining unit 101, configured to obtain a touch area of a touch according to a touch signal input for a current interface display content.
Before the first area acquiring unit 101 acquires the touch area of the touch according to the touch signal input for the current interface display content, the terminal 10 needs to detect whether to start the zoom function for the current interface display content. Judging whether to start a zooming function of the interface display content by detecting a starting signal for zooming the interface display content, and starting the zooming function when the starting signal is detected. The starting signal can be judged by the duration of the touch signal, when the duration of the touch signal input for the current interface display content is detected to be greater than a certain time period, the starting signal is indicated to exist, and the zooming function of the interface display content is started. The certain time period may be a time period set by a user or a time period defaulted by the system. The terminal 10 may also call a notification device to output a prompt message when the zoom function of the interface display content is turned on, so as to prompt the user that the terminal 10 has entered the zoom function of the interface display content, where the notification device may include, but is not limited to, a vibration motor, a three-color lamp, a page reflection lamp, and the like. For example: the duration is greater than 2 seconds in order to invoke a vibrating motor to vibrate the terminal 10 to alert the user that the terminal 10 has turned on the zoom function for the interface display.
In a specific implementation, the touch signal input by the first area obtaining unit 101 for the current interface display content is a touch signal input by a user on the interface display content, where the touch signal may be one or multiple touch signals. And acquiring a corresponding touch position of the touch signal on the touch display screen according to the touch signal input aiming at the current interface display content, and further acquiring the touch area of the touch.
Specifically, please refer to fig. 5, which is a schematic structural diagram of a first area obtaining unit according to an embodiment of the present invention. As shown in fig. 5, the first area obtaining unit 101 may include a first capacitance value obtaining unit 1101 and a second area obtaining unit 1102, wherein the first capacitance value obtaining unit 1101 may include a position obtaining unit 1111 and a second capacitance value obtaining unit 1112.
The first capacitance value obtaining unit 1101 is configured to obtain a capacitance value of each of at least one capacitance coordinate point on the touch display screen according to a touch signal input for a current interface display content.
In a specific implementation, capacitance coordinate points are distributed on the touch display screen, and if the touch signal does not occur, a capacitance value cannot be detected on the touch display screen, or the detected capacitance values are initial capacitance values; if the touch signal exists, a capacitance value or a change in the capacitance value can be detected at a touch position on the touch display screen. The first capacitance value obtaining unit 1101 obtains a touch position according to the touch signal, and obtains a capacitance value of each capacitance coordinate point in at least one capacitance coordinate point on the touch display screen.
The position acquiring unit 1111 is configured to acquire a corresponding touch position of the touch signal on the touch display screen according to the touch signal input for the current interface display content.
In a specific implementation, when a touch signal input for a current interface display content acts on a touch display screen of the terminal, the position obtaining unit 1111 obtains a corresponding touch position of the touch signal on the touch display screen.
A second capacitance value obtaining unit 1112, configured to obtain a capacitance value of each of at least one capacitance coordinate point in a touch range corresponding to the touch position.
In a specific implementation, the second capacitance value obtaining unit 1112 obtains, according to the touch position obtained by the position obtaining unit 1111, a capacitance value of each capacitance coordinate point in at least one capacitance coordinate point in a touch range corresponding to the touch position.
A second area obtaining unit 1102, configured to obtain a capacitance coordinate point, which meets a preset capacitance threshold range, in a capacitance value of each capacitance coordinate point, and obtain a touch area of a touch according to the capacitance coordinate point meeting the preset capacitance threshold range.
In a specific implementation, the capacitance coordinate point meeting the preset capacitance threshold range may be a capacitance coordinate point greater than the preset capacitance threshold, or may be a capacitance coordinate point smaller than the preset capacitance threshold, and the second area obtaining unit 1102 only needs to obtain the capacitance coordinate point meeting the preset capacitance threshold range.
The instruction detection unit 102 is configured to detect touch area information associated with the touch area, and determine a zoom trigger instruction of the interface display content corresponding to the touch area.
In a specific implementation, the touch area information carries an area size of the touch area. The instruction detection unit 102 detects touch area information associated with the touch area, and determines a zoom trigger instruction of the corresponding interface display content according to the area size of the touch area detected by the touch area.
Specifically, please refer to fig. 6, which is a schematic structural diagram of the instruction detecting unit according to the embodiment of the present invention. As shown in fig. 6, the instruction detecting unit 102 may include an area calculating unit 1201, an instruction determining unit 1202, and a center point acquiring unit 1203.
An area calculating unit 1201, configured to calculate an area size of the touch area.
An instruction determining unit 1202, configured to determine a scaling trigger instruction according to the area size of the detected touch area.
In a specific implementation, when it is detected that the area size of the touch area is larger than a first area size within a preset time period, the instruction determining unit 1202 determines that the zoom trigger instruction of the interface display content corresponding to the touch area is a zoom-in trigger instruction. For example, the preset time period is 100ms, the area size of the touch area is larger than the first area size within the 100ms, and the zoom trigger instruction is determined to be a zoom-in trigger instruction. When it is detected that the area size of the touch area is smaller than a second area size within a preset time period, the instruction determining unit 1202 determines that the zoom trigger instruction of the interface display content corresponding to the touch area is a zoom-out trigger instruction. For example, the preset time period is 100ms, the area size of the touch area is smaller than the second area size within the 100ms, and the zoom trigger instruction is determined to be a zoom-out trigger instruction.
It is understood that, as long as the touch areas continuously detected within the preset time period are all larger than the first area size, the zoom trigger instruction is determined to be a zoom-in trigger instruction, for example: and if the first 50ms of the 100ms detects that the area size of the touch area is smaller than the second area size, the subsequent 51ms detects that the area size of the touch area is larger than the first area size, and the 100ms from the 51ms to the 150ms continuously detects that the area size of the touch area is larger than the first area size, determining that the zooming trigger instruction is a zooming trigger instruction. Wherein the first area dimension is greater than the second area dimension. And as long as the touch areas continuously detected within the preset time period are all smaller than the second area size, determining that the zooming trigger instruction is a zooming trigger instruction, for example: and if the first 50ms of the 100ms detects that the area size of the touch area is larger than the first area size, the subsequent 51ms detects that the area size of the touch area is smaller than the second area size, and the 100ms from the 51ms to the 150ms continuously detects that the area size of the touch area is smaller than the second area size, determining that the zooming trigger instruction is a zooming-out trigger instruction. Wherein the first area dimension is greater than the second area dimension.
A center point obtaining unit 1203, configured to obtain a touch center point in a touch range corresponding to the touch position.
In a specific implementation, the touch area information also carries a touch center point in the touch area, and the center point obtaining unit 1203 may further obtain the touch center point in the touch range corresponding to the touch position in the process of detecting the touch area information associated with the touch area. The central point obtaining unit 1203 determines the touch central point by obtaining a capacitance coordinate point with the largest capacitance value in the touch range corresponding to the touch position, or obtaining an intersection point of a horizontal central axis and a vertical central axis in the touch range corresponding to the touch position, or obtaining the touch central point in another manner.
And the zooming processing unit 103 is configured to perform zooming processing on the interface display content according to the zooming trigger instruction.
In a specific implementation, the scaling processing unit 103 performs scaling processing on the interface display content according to a scaling trigger instruction determined by the detected area size of the touch area. The zooming trigger instruction comprises a zooming-in trigger instruction and/or a zooming-out trigger instruction. When the touch signal is detected to be finished, namely when the finger of the user or other touch equipment leaves the touch display screen, the interface display content which is enlarged or reduced is kept, and the zooming function is exited.
Specifically, please refer to fig. 7, which is a schematic structural diagram of the scaling unit according to an embodiment of the present invention. As shown in fig. 7, the scaling processing unit 103 may include an enlargement processing unit 1301 and a reduction processing unit 1302.
And the magnification processing unit 1301 is configured to perform magnification processing on the interface display content when the zooming trigger instruction is a magnification trigger instruction.
In a specific implementation, when the zoom trigger instruction is an enlargement trigger instruction, the enlargement processing unit 1301 takes the touch central point as a center and enlarges the interface display content according to a preset enlargement ratio, for example: the preset amplification scale is ten percent, and the display content of the interface is amplified by ten percent by taking the touch central point as a center.
A zooming-out processing unit 1302, configured to, when the zooming trigger instruction is a zooming-out trigger instruction, perform zooming-out processing on the interface display content.
In a specific implementation, when the zoom trigger instruction is a zoom-out trigger instruction, the zoom-out processing unit 1302 performs zoom-out processing on the interface display content by taking the touch center point as a center and according to a preset zoom-out scale, for example: the preset reduction proportion is ten percent, and the display content of the interface is reduced by ten percent by taking the touch central point as a center.
It should be noted that, assuming that the preset magnification ratio is ten percent and the preset reduction ratio is ten percent, if the first zooming trigger instruction is a zooming trigger instruction, zooming ten percent of the interface display content by taking the touch central point as a center to obtain the first zoomed interface display content, and detecting that the second zooming trigger instruction is a zooming trigger instruction, continuing zooming ten percent of the first zoomed interface display content by taking the touch central point as a center on the basis of the first zoomed interface display content, and so on. Similarly, if the first zooming trigger instruction is a zooming trigger instruction, after the first zoomed-out interface display content is obtained, the second zooming-out trigger instruction is detected, and then the first zoomed-out interface display content is zoomed out by ten percent again by taking the touch center point as the center on the basis of the first zoomed-out interface display content. If the first zooming trigger instruction is an amplifying trigger instruction, after ten percent of the interface display content is amplified by taking the touch central point as the center to obtain first amplified interface display content, and a second zooming trigger instruction is detected to be an amplifying trigger instruction, ten percent of the first amplified interface display content is amplified by taking the touch central point as the center on the basis of the first amplified interface display content. When the touch signal is detected to be finished, namely when the finger of the user or other touch equipment leaves the touch display screen, the interface display content which is enlarged or reduced is kept, and the zooming function is exited.
In the embodiment of the invention, the touch area of the touch signal input aiming at the current interface display content is acquired, the touch area information associated with the touch area is detected, the zooming trigger instruction is determined according to the detected touch area, and the zooming processing on the interface display content is realized according to the zooming trigger instruction. The accuracy of the zooming function is improved by zooming in or zooming out the interface display content with the touch central point as the center. According to the touch area of the touch signal, the zooming function is simply and conveniently realized without dragging operation of double fingers to realize the zooming of the interface display content, the processing efficiency of zooming in or zooming out the interface display content is improved, and the operation of the terminal is further facilitated. The embodiment of the invention calls the notification equipment to prompt the terminal to enter the zooming function of the interface display content, thereby improving the user experience.
Referring to fig. 8, a schematic structural diagram of another terminal is provided in the embodiment of the present invention. As shown in fig. 8, the terminal includes: at least one processor 1001, such as a CPU, input devices 1003, output devices 1004, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. Wherein the processor 1001 may be combined with the terminal described in fig. 4-7, the memory 1005 stores a set of program codes, and the processor 1001 calls the program codes stored in the memory 1005 to perform the following operations:
acquiring a touch area of a touch according to a touch signal received by the input device 1003 and input for the current interface display content;
detecting touch area information associated with the touch area, and determining a zooming trigger instruction of the interface display content corresponding to the touch area;
and zooming the interface display content according to the zooming trigger instruction.
In an alternative embodiment, before the processor 1001 calls the program code stored in the memory 1005 to obtain the touch area of the touch according to the touch signal input for the current interface display content, the following steps are also performed:
controlling the input device 1003 to detect a start signal for zooming the current interface display content, and starting a zooming function for the interface display content when the input device 1003 detects the start signal.
In an optional embodiment, the processor 1001 calls a program code stored in the memory 1005 to execute a start signal for detecting zooming on current interface display content, and when a zooming function for the interface display content is started when the start signal is detected, specifically executes the following steps:
detecting the duration of a touch signal received by the input device 1003 and input for the current interface display content;
and when the duration is greater than a certain time period, starting a zooming function of the interface display content.
In an alternative embodiment, when the processor 1001 calls the program code stored in the memory 1005 to obtain the touch area of the touch according to the touch signal input for the current interface display content, the following steps are specifically performed:
acquiring a capacitance value of each capacitance coordinate point in at least one capacitance coordinate point on the touch display screen according to a touch signal input by the input device 1003 for the current interface display content;
and acquiring the capacitance coordinate points which meet the preset capacitance threshold range in the capacitance value of each capacitance coordinate point, and acquiring the touch area of touch according to the capacitance coordinate points which meet the preset capacitance threshold range.
In an alternative embodiment, when the processor 1001 calls the program code stored in the memory 1005 to execute obtaining the capacitance value of each of at least one capacitance coordinate point on the touch display screen according to the touch signal input for the current interface display content, the following steps are specifically executed:
acquiring a corresponding touch position of the touch signal on the touch display screen according to the touch signal which is received by the input device 1003 and input aiming at the current interface display content;
and acquiring the capacitance value of each capacitance coordinate point in at least one capacitance coordinate point in the touch range corresponding to the touch position.
In an optional embodiment, the touch area information carries an area size of the touch area, and when the processor 1001 calls a program code stored in the memory 1005 to detect the touch area information associated with the touch area and determines a zoom trigger instruction of the interface display content corresponding to the touch area, the following steps are specifically performed:
calculating the area size of the touch area;
when the fact that the area size of the touch area is larger than a first area size within a preset time period is detected, determining that a zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction;
when the area size of the touch area is smaller than a second area size within a preset time period, determining that the zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction.
In an alternative embodiment, when the processor 1001 calls the program code stored in the memory 1005 to perform the zooming process on the interface display content according to the trigger instruction, the following steps are specifically performed:
when the zooming trigger instruction is an amplifying trigger instruction, amplifying the display content of the interface;
and when the zooming trigger instruction is a zooming trigger instruction, zooming out the interface display content.
In an optional embodiment, the touch area information further carries a touch center point in the touch area; when the processor 1001 calls the program code stored in the memory 1005 to detect the touch area information associated with the touch area, the following steps are also specifically performed:
and acquiring a touch central point in a touch range corresponding to the touch position.
In an alternative embodiment, when the processor 1001 calls the program code stored in the memory 1005 to obtain the touch center point in the touch range corresponding to the touch position, the following steps are specifically performed:
acquiring a capacitance coordinate point with the largest capacitance value in a touch range corresponding to the touch position, and determining the capacitance coordinate point with the largest capacitance value as a touch central point; or,
and acquiring an intersection point of the transverse central axis and the longitudinal central axis in the touch range corresponding to the touch position, and determining the intersection point as a touch central point.
In an alternative embodiment, when the processor 1001 calls the program code stored in the memory 1005 to perform the amplification processing on the interface display content, the following steps are specifically performed:
and amplifying the interface display content by taking the touch central point as a center according to a preset amplification scale.
And controlling the output device 1004 to output the interface display content after the amplification processing.
In an alternative embodiment, when the processor 1001 calls the program code stored in the memory 1005 to execute the reduction processing on the interface display content, the following steps are specifically executed:
and reducing the interface display content by taking the touch central point as a center according to a preset reduction scale.
And controlling the output device 1004 to output the interface display content after the reduction processing.
In the embodiment of the invention, the touch area of the touch signal input aiming at the current interface display content is acquired, the touch area information associated with the touch area is detected, the zooming trigger instruction is determined according to the detected touch area, and the zooming processing on the interface display content is realized according to the zooming trigger instruction. Through the touch area according to the touch signal, the zooming function is simply and conveniently realized without dragging operation by two fingers so as to realize zooming of the interface display content, the user experience is improved, the processing efficiency of zooming in or out the interface display content is improved, and the operation on the terminal is further facilitated.
The modules or units in the embodiments of the present invention may be implemented by a general-purpose integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application specific integrated Circuit).
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules or units in the terminal of the embodiment of the invention can be combined, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A method of interface manipulation, comprising:
acquiring a touch area of touch according to a touch signal input aiming at the display content of the current interface;
detecting touch area information associated with the touch area, and determining a zooming trigger instruction of the interface display content corresponding to the touch area;
and zooming the interface display content according to the zooming trigger instruction.
2. The method of claim 1, wherein before the obtaining the touch area of the touch according to the touch signal input for the current interface display content, further comprises:
the method comprises the steps of detecting a starting signal for zooming current interface display content, and starting a zooming function aiming at the interface display content when the starting signal is detected.
3. The method of claim 1, wherein the obtaining the touch area of the touch according to the touch signal input for the current interface display content comprises:
acquiring a capacitance value of each capacitance coordinate point in at least one capacitance coordinate point on a touch display screen according to a touch signal input aiming at the display content of the current interface;
and acquiring the capacitance coordinate points which meet the preset capacitance threshold range in the capacitance value of each capacitance coordinate point, and acquiring the touch area of touch according to the capacitance coordinate points which meet the preset capacitance threshold range.
4. The method of claim 3, wherein obtaining the capacitance value of each of at least one capacitance coordinate point on the touch display screen according to the touch signal input for the current interface display content comprises:
acquiring a corresponding touch position of a touch signal on a touch display screen according to the touch signal input aiming at the display content of the current interface;
and acquiring the capacitance value of each capacitance coordinate point in at least one capacitance coordinate point in the touch range corresponding to the touch position.
5. The method of claim 4, wherein the touch area information carries an area size of the touch area;
the detecting touch area information associated with the touch area and determining a zoom trigger instruction of the interface display content corresponding to the touch area includes:
calculating the area size of the touch area;
when the fact that the area size of the touch area is larger than a first area size within a preset time period is detected, determining that a zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction;
when the area size of the touch area is smaller than a second area size within a preset time period, determining that the zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction.
6. The method according to claim 5, wherein the zooming the interface display content according to the trigger instruction comprises:
when the zooming trigger instruction is an amplifying trigger instruction, amplifying the display content of the interface;
and when the zooming trigger instruction is a zooming trigger instruction, zooming out the interface display content.
7. The method of claim 6, wherein the touch area information further carries a touch center point in the touch area;
the detecting touch area information associated with the touch area further comprises:
and acquiring a touch central point in a touch range corresponding to the touch position.
8. The method of claim 7, wherein the obtaining the touch center point in the touch range corresponding to the touch position comprises:
acquiring a capacitance coordinate point with the largest capacitance value in a touch range corresponding to the touch position, and determining the capacitance coordinate point with the largest capacitance value as a touch central point; or,
and acquiring an intersection point of the transverse central axis and the longitudinal central axis in the touch range corresponding to the touch position, and determining the intersection point as a touch central point.
9. The method according to claim 7, wherein the enlarging the interface display content specifically includes:
and amplifying the interface display content by taking the touch central point as a center according to a preset amplification scale.
10. The method according to claim 7, wherein the narrowing down the interface display content specifically includes:
and reducing the interface display content by taking the touch central point as a center according to a preset reduction scale.
CN201510142136.0A 2015-03-28 2015-03-28 Interface operation method Pending CN104777976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510142136.0A CN104777976A (en) 2015-03-28 2015-03-28 Interface operation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510142136.0A CN104777976A (en) 2015-03-28 2015-03-28 Interface operation method

Publications (1)

Publication Number Publication Date
CN104777976A true CN104777976A (en) 2015-07-15

Family

ID=53619476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510142136.0A Pending CN104777976A (en) 2015-03-28 2015-03-28 Interface operation method

Country Status (1)

Country Link
CN (1) CN104777976A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404457A (en) * 2015-12-22 2016-03-16 广东欧珀移动通信有限公司 Method and device for display content selection
CN105930077A (en) * 2016-04-12 2016-09-07 广东欧珀移动通信有限公司 Method and device for adjusting size of objects displayed by screens
CN106775367A (en) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 The operating method and device of terminal touch-control
CN107037905A (en) * 2015-10-15 2017-08-11 株式会社东海理化电机制作所 Operation device
CN107391019A (en) * 2017-07-25 2017-11-24 Tcl移动通信科技(宁波)有限公司 A kind of picture Zoom method, storage medium and terminal device
CN109885201A (en) * 2019-02-19 2019-06-14 Oppo广东移动通信有限公司 Touch screen touches area detection method, electronic device and computer readable storage medium
CN110502183A (en) * 2019-08-28 2019-11-26 中国银行股份有限公司 Terminal control method and device
CN111796742A (en) * 2020-04-21 2020-10-20 北京沃东天骏信息技术有限公司 Image-text information processing method and device
CN113253878A (en) * 2021-06-25 2021-08-13 深圳小米通讯技术有限公司 Touch screen report point determining method and device, electronic equipment and storage medium
CN114546212A (en) * 2020-12-16 2022-05-27 Oppo广东移动通信有限公司 Method, device and equipment for adjusting interface display state and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541319A (en) * 2010-12-20 2012-07-04 联想(北京)有限公司 Electronic equipment and display processing method thereof
CN103513878A (en) * 2012-06-29 2014-01-15 国际商业机器公司 Touch input method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541319A (en) * 2010-12-20 2012-07-04 联想(北京)有限公司 Electronic equipment and display processing method thereof
CN103513878A (en) * 2012-06-29 2014-01-15 国际商业机器公司 Touch input method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037905A (en) * 2015-10-15 2017-08-11 株式会社东海理化电机制作所 Operation device
CN107037905B (en) * 2015-10-15 2020-04-21 株式会社东海理化电机制作所 Operating device
CN106775367A (en) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 The operating method and device of terminal touch-control
CN105404457A (en) * 2015-12-22 2016-03-16 广东欧珀移动通信有限公司 Method and device for display content selection
CN105930077A (en) * 2016-04-12 2016-09-07 广东欧珀移动通信有限公司 Method and device for adjusting size of objects displayed by screens
CN107391019A (en) * 2017-07-25 2017-11-24 Tcl移动通信科技(宁波)有限公司 A kind of picture Zoom method, storage medium and terminal device
CN109885201A (en) * 2019-02-19 2019-06-14 Oppo广东移动通信有限公司 Touch screen touches area detection method, electronic device and computer readable storage medium
CN109885201B (en) * 2019-02-19 2021-03-23 Oppo广东移动通信有限公司 Touch area detection method for touch screen, electronic device and computer readable storage medium
CN110502183A (en) * 2019-08-28 2019-11-26 中国银行股份有限公司 Terminal control method and device
CN111796742A (en) * 2020-04-21 2020-10-20 北京沃东天骏信息技术有限公司 Image-text information processing method and device
CN114546212A (en) * 2020-12-16 2022-05-27 Oppo广东移动通信有限公司 Method, device and equipment for adjusting interface display state and storage medium
CN113253878A (en) * 2021-06-25 2021-08-13 深圳小米通讯技术有限公司 Touch screen report point determining method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104777976A (en) Interface operation method
US10394443B2 (en) Method for viewing message and user terminal
KR101580914B1 (en) Electronic device and method for controlling zooming of displayed object
CN111984165B (en) Method and device for displaying message and terminal equipment
US9007314B2 (en) Method for touch processing and mobile terminal
CN103309561B (en) Method and device for processing information
US9891816B2 (en) Method and mobile terminal for processing touch input in two different states
WO2017088131A1 (en) Method and apparatus for rapidly dividing screen, electronic device, display interface and storage medium
CN107562345B (en) Information storage method and mobile terminal
CN103135930A (en) Touch screen control method and device
KR20130082352A (en) Apparatus and method for zooming touch screen in electronic device
US20150316994A1 (en) Content zooming method and terminal implementing the same
JP2011186734A (en) Display device and screen display method
US10514802B2 (en) Method for controlling display of touchscreen, and mobile device
KR20140113056A (en) Method and apparatus for controlling zoom function in an electronic device
CN104777978A (en) Terminal
CN103970434A (en) Method and electronic equipment for responding operation
WO2017032069A1 (en) Text-message processing method and user terminal
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
CN110113525B (en) Shooting preview method and device, storage medium and mobile terminal
EP3717995A1 (en) Method for zooming an image displayed on a touch-sensitive screen of a mobile terminal
CN104636040A (en) Image display processing method and device
CN109032441B (en) Interface management method, device, equipment and storage medium
CN105843475A (en) Page switching method and device applied to electronic equipment
CN111601036B (en) Camera focusing method and device, storage medium and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150715