CN104777978A - Terminal - Google Patents
Terminal Download PDFInfo
- Publication number
- CN104777978A CN104777978A CN201510142607.8A CN201510142607A CN104777978A CN 104777978 A CN104777978 A CN 104777978A CN 201510142607 A CN201510142607 A CN 201510142607A CN 104777978 A CN104777978 A CN 104777978A
- Authority
- CN
- China
- Prior art keywords
- touch
- zooming
- display content
- area
- interface display
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 9
- 230000003321 amplification Effects 0.000 claims description 14
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 14
- 238000000034 method Methods 0.000 abstract description 28
- 230000006870 function Effects 0.000 description 42
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a terminal, which comprises the following units: a first area acquisition unit, a command detection unit and a zooming process unit, wherein the first area acquisition unit is used for acquiring a touch area according to a touch signal input aiming at a current interface display content; the command detection unit is used for detecting touch area information relevant to the touch area, and confirming a zooming trigger command of the interface display content corresponding to the touch area; the zooming process unit is used for carrying out zooming process on the interface display content according to the zooming trigger command. According to the terminal provided by the embodiment of the invention, the processing efficiency of zooming in or out the interface display content can be improved, and the terminal can be operated conveniently.
Description
Technical Field
The invention relates to the technical field of electronics, in particular to a terminal.
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 a terminal, which can improve the processing efficiency of amplifying or reducing interface display contents and is convenient for operating the terminal.
An embodiment of the present invention provides a terminal, which may include:
the first area acquisition unit is used for acquiring the touch area of touch according to a touch signal input aiming at the current interface display content;
the instruction detection unit is used for 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 zooming processing unit is used for 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 terminal, comprising:
the first area acquisition unit is used for acquiring the touch area of touch according to a touch signal input aiming at the current interface display content;
the instruction detection unit is used for 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 zooming processing unit is used for zooming the interface display content according to the zooming trigger instruction.
2. The terminal of claim 1, further comprising:
the first function starting unit is used for detecting a starting signal for zooming the current interface display content and starting a zooming function aiming at the interface display content when the starting signal is detected.
3. The terminal of claim 1, wherein the first area obtaining unit comprises:
the touch display device comprises a first capacitance value acquisition unit, a second capacitance value acquisition unit and a control unit, wherein the first capacitance value acquisition unit is used for acquiring the 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;
and the second area acquisition unit is used for 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. A terminal according to claim 3, wherein the first capacitance value obtaining unit comprises:
the position acquisition unit is used for 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 the second capacitance value acquisition unit is used for 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 terminal according to claim 4, wherein the touch area information carries an area size of the touch area;
the instruction detection unit includes:
an area calculation unit for calculating an area size of the touch area;
the instruction determining unit is used for determining that the zooming trigger instruction of the interface display content corresponding to the touch area is a zooming trigger instruction 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;
the instruction determining unit is further configured to determine that the zooming trigger instruction of the interface display content corresponding to the touch area is a zooming 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.
6. The terminal of claim 5, wherein the scaling unit comprises:
the amplification processing unit is used for amplifying the interface display content when the zooming trigger instruction is a zooming trigger instruction;
and the zooming-out processing unit is used for zooming out the interface display content when the zooming trigger instruction is a zooming-out trigger instruction.
7. The terminal according to claim 6, wherein the touch area information further carries a touch center point in the touch area;
the instruction detection unit further includes:
and the central point acquisition unit is used for acquiring a touch central point in a touch range corresponding to the touch position.
8. The terminal according to claim 7, wherein the central point obtaining unit is specifically configured to obtain a capacitance coordinate point with a largest capacitance value in a touch range corresponding to the touch position, and determine the capacitance coordinate point with the largest capacitance value as the 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 terminal according to claim 7, wherein the enlargement processing unit is specifically configured to enlarge the interface display content with the touch center point as a center and according to a preset enlargement ratio.
10. The terminal according to claim 7, wherein the reduction processing unit is specifically configured to perform reduction processing on the interface display content by taking the touch center point as a center and according to a preset reduction scale.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510142607.8A CN104777978A (en) | 2015-03-28 | 2015-03-28 | Terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510142607.8A CN104777978A (en) | 2015-03-28 | 2015-03-28 | Terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104777978A true CN104777978A (en) | 2015-07-15 |
Family
ID=53619478
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510142607.8A Pending CN104777978A (en) | 2015-03-28 | 2015-03-28 | Terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104777978A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106484285A (en) * | 2016-09-23 | 2017-03-08 | 维沃移动通信有限公司 | A kind of display packing of mobile terminal and mobile terminal |
| CN107562363A (en) * | 2017-09-08 | 2018-01-09 | 广东欧珀移动通信有限公司 | Touch operation method, device and terminal |
| CN110764678A (en) * | 2019-10-25 | 2020-02-07 | 广州视源电子科技股份有限公司 | Method, equipment and device for processing abnormal touch of touch screen |
| WO2020107231A1 (en) * | 2018-11-27 | 2020-06-04 | 深圳市柔宇科技有限公司 | Touch keyboard adjustment method, electronic device and computer readable storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102541319A (en) * | 2010-12-20 | 2012-07-04 | 联想(北京)有限公司 | Electronic equipment and display processing method thereof |
| CN103135932A (en) * | 2013-02-17 | 2013-06-05 | 东莞宇龙通信科技有限公司 | Method for amplification processing of touch object and communication terminal |
| CN103210367A (en) * | 2012-09-29 | 2013-07-17 | 华为终端有限公司 | Electronic apparatus and method for controlling display object scaling |
| CN103513878A (en) * | 2012-06-29 | 2014-01-15 | 国际商业机器公司 | Touch input method and device |
-
2015
- 2015-03-28 CN CN201510142607.8A patent/CN104777978A/en active Pending
Patent Citations (4)
| 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 |
| CN103210367A (en) * | 2012-09-29 | 2013-07-17 | 华为终端有限公司 | Electronic apparatus and method for controlling display object scaling |
| CN103135932A (en) * | 2013-02-17 | 2013-06-05 | 东莞宇龙通信科技有限公司 | Method for amplification processing of touch object and communication terminal |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106484285A (en) * | 2016-09-23 | 2017-03-08 | 维沃移动通信有限公司 | A kind of display packing of mobile terminal and mobile terminal |
| CN107562363A (en) * | 2017-09-08 | 2018-01-09 | 广东欧珀移动通信有限公司 | Touch operation method, device and terminal |
| CN107562363B (en) * | 2017-09-08 | 2020-07-24 | Oppo广东移动通信有限公司 | Touch operation method, device and terminal |
| WO2020107231A1 (en) * | 2018-11-27 | 2020-06-04 | 深圳市柔宇科技有限公司 | Touch keyboard adjustment method, electronic device and computer readable storage medium |
| CN112703473A (en) * | 2018-11-27 | 2021-04-23 | 深圳市柔宇科技股份有限公司 | Touch keyboard adjusting method, electronic device and computer readable storage medium |
| CN110764678A (en) * | 2019-10-25 | 2020-02-07 | 广州视源电子科技股份有限公司 | Method, equipment and device for processing abnormal touch of touch screen |
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 | |
| CN103309561B (en) | Method and device for processing information | |
| US9007314B2 (en) | Method for touch processing and mobile terminal | |
| US9891816B2 (en) | Method and mobile terminal for processing touch input in two different states | |
| CN104536643B (en) | A kind of icon drag method and terminal | |
| CN107077295A (en) | A kind of method, device, electronic equipment, display interface and the storage medium of quick split screen | |
| CN103135930A (en) | Touch screen control method and device | |
| KR20130082352A (en) | Apparatus and method for zooming touch screen in electronic device | |
| CN111143731B (en) | Display method and device for webpage interface zooming and terminal equipment | |
| KR20130097331A (en) | Apparatus and method for selecting object in device with touch screen | |
| CN103716452A (en) | Display control apparatus and method, and image display apparatus | |
| KR20140113056A (en) | Method and apparatus for controlling zoom function in an electronic device | |
| CN105260103A (en) | Picture scaling method and electronic device | |
| CN104777978A (en) | Terminal | |
| CN106383634A (en) | Picture processing method and electronic equipment | |
| CN103970434A (en) | Method and electronic equipment for responding operation | |
| CN108717325A (en) | Operation gesture setting method, device and mobile terminal | |
| WO2017032069A1 (en) | Text-message processing method and user terminal | |
| CN105718142A (en) | Status bar notification message display method and mobile terminal | |
| CN105159555B (en) | A kind of customer equipment controlling method and user equipment | |
| CN109656438B (en) | Desktop wallpaper preview method and device, mobile terminal and storage medium | |
| CN104049843B (en) | An information processing method and electronic device | |
| CN105549822A (en) | Icon moving method 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 |