CN105224169B - A kind of Interface Moving method and terminal - Google Patents
A kind of Interface Moving method and terminal Download PDFInfo
- Publication number
- CN105224169B CN105224169B CN201510570631.1A CN201510570631A CN105224169B CN 105224169 B CN105224169 B CN 105224169B CN 201510570631 A CN201510570631 A CN 201510570631A CN 105224169 B CN105224169 B CN 105224169B
- Authority
- CN
- China
- Prior art keywords
- interface
- sliding
- touch screen
- operation instruction
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000012545 processing Methods 0.000 claims description 15
- 238000012544 monitoring process Methods 0.000 claims description 14
- 239000011521 glass Substances 0.000 description 8
- 230000001360 synchronised effect Effects 0.000 description 7
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000005684 electric field Effects 0.000 description 4
- 230000001939 inductive effect Effects 0.000 description 3
- -1 ITO Substances 0.000 description 2
- 229910004298 SiO 2 Inorganic materials 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- AMGQUBHHOARCQH-UHFFFAOYSA-N indium;oxotin Chemical compound [In].[Sn]=O AMGQUBHHOARCQH-UHFFFAOYSA-N 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000015654 memory Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 235000012239 silicon dioxide Nutrition 0.000 description 2
- 239000000377 silicon dioxide Substances 0.000 description 2
- 125000006850 spacer group Chemical group 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention discloses a kind of Interface Moving method and terminals.The Interface Moving method, can be used for having in the terminal of touch screen, comprising: receive the pressing on the touch screen of the terminal and the operation slided and the pressing operation instruction and slide instruction that generate;It is instructed according to the pressing operation, obtains dynamics value corresponding with pressing operation instruction;It is instructed according to the slide, obtains glide direction corresponding with slide instruction;Judge whether the dynamics value reaches preset threshold;If so, according to the mobile interface for touching screen display of the glide direction, wherein the direction of the Interface Moving and the direction of slide match.The present invention is by judging whether the dynamics value of pressing operation reaches preset threshold, and when reaching, the interface that touch screen display is controlled according to glide direction is moved, to have the advantages that easy to use, user experience is good convenient for users to operating to the icon etc. on interface.
Description
Technical Field
The invention relates to the technical field of display, in particular to an interface moving method and a terminal.
Background
With the continuous development and maturity of wireless communication technology and computer programming technology, the hardware performance and software experience of terminals such as smart phones are greatly improved. The use of abundant application programs on the terminal is deep into all aspects of daily life, and great convenience is brought to the daily life of people.
Touch screen (also called touch screen or touch panel) is an inductive liquid crystal display system capable of receiving input signals such as contacts, and can be used to replace mechanical button panels and produce vivid display effect through liquid crystal display frames. As a latest computer input device, the touch screen is the simplest, convenient and natural man-machine interaction mode at present.
Currently, mobile phone displays are moving in a larger and larger direction, such as 3.5 inches, 4.3 inches, 5.3 inches, and so on. The interface of the mobile phone usually covers the whole display screen, and the large-size display screen of the mobile phone improves the user experience. When a user wants to start an application program corresponding to an icon in an interface, for a mobile device adopting a large-size display screen, the user cannot click all icons in a window when holding the mobile device with one hand. For example, when a user holds a mobile phone with a large-size display screen (holds the back of the mobile phone with one hand), the user cannot touch all icons in a window on the display screen of the mobile phone with one hand (for example, when the user holds the mobile phone with the right hand, the user often cannot touch icons in the upper left corner of the display screen of the mobile phone with the right hand, or when the user holds the mobile phone with the left hand, the user often cannot touch icons in the upper right corner of the display screen of the mobile phone with the left hand), which causes inconvenience in use.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide an interface moving method and a terminal, which can control the interface movement according to the pressure and the sliding direction of the user pressing the operation key.
The technical scheme adopted by the invention for solving the technical problems is as follows: an interface moving method is provided, which can be used for a terminal with a touch screen, and the method comprises the following steps:
receiving a pressing operation instruction and a sliding operation instruction generated by pressing and sliding operations on a touch screen of the terminal;
according to the pressing operation instruction, acquiring a force value corresponding to the pressing operation instruction;
acquiring a sliding direction corresponding to the sliding operation instruction according to the sliding operation instruction;
judging whether the force value reaches a preset threshold value or not;
and if so, moving the interface displayed on the touch screen according to the sliding direction, wherein the moving direction of the interface is matched with the sliding operation direction.
Preferably, the terminal prestores corresponding relations between a plurality of force values and a plurality of interface reduction ratios; the method further comprises the following steps:
according to the force value corresponding to the pressing operation instruction, reducing the interface according to the interface reduction proportion corresponding to the force value; or,
and judging whether the sliding direction is the diagonal direction of the touch screen, if so, reducing the interface according to the interface reduction proportion corresponding to the force value.
Preferably, the moving the interface displayed on the touch screen according to the sliding direction includes:
if the sliding direction is towards the bottom direction of the touch screen, the interface is moved downwards; or,
and if the sliding direction is towards the side direction of the touch screen, moving the interface towards the side direction.
Preferably, after moving the interface displayed on the touch screen according to the sliding direction, the method further includes:
monitoring whether the sliding operation is finished;
and if the sliding operation is monitored to be finished, stopping the interface at the position of the sliding operation when the sliding operation is finished.
Preferably, the interface displayed on the touch screen is moved according to the sliding direction, and the movement of the interface is synchronized with the sliding operation instruction;
monitoring whether the sliding operation is finished comprises: and judging whether the sliding operation instruction is monitored or not, and judging that the sliding operation is finished if the sliding operation instruction is not input.
In addition, the invention also provides a terminal, which comprises a touch screen and a display module, wherein the touch screen is used for displaying an interface;
the storage module is used for storing a preset threshold value;
the terminal comprises a receiving module, a judging module and a display module, wherein the receiving module is used for receiving a pressing operation instruction and a sliding operation instruction generated by pressing and sliding operation on a touch screen of the terminal;
the force value module is used for acquiring a force value corresponding to the pressing operation instruction according to the pressing operation instruction;
the sliding direction module is used for acquiring a sliding direction corresponding to the sliding operation instruction according to the sliding operation instruction; and
and the movement processing module is used for judging whether the force value reaches a preset threshold value, if so, moving an interface displayed on the touch screen according to the sliding direction, wherein the moving direction of the interface is matched with the sliding operation direction.
Preferably, the storage module also prestores corresponding relations between a plurality of force values and a plurality of interface reduction ratios;
the terminal also comprises an interface reduction processing module which is used for reducing the interface according to the interface reduction proportion corresponding to the force value according to the force value corresponding to the pressing operation instruction; or,
and judging whether the sliding direction is the diagonal direction of the touch screen, if so, reducing the interface according to the interface reduction proportion corresponding to the force value.
Preferably, the movement processing module determines the sliding direction, and if the sliding direction is toward the bottom of the touch screen, the interface is moved downward; or,
and if the sliding direction is towards the side direction of the touch screen, moving the interface towards the side direction.
Preferably, the mobile processing module comprises a sliding monitoring unit for monitoring whether the sliding operation is finished; and
and the movement stopping unit is used for stopping the interface at the position when the sliding operation is finished.
Preferably, the terminal is one or more of a mobile phone, a tablet computer and a notebook computer.
The interface moving method, the output device and the terminal have the following beneficial effects: whether the force value of pressing operation reaches the preset threshold value or not is judged, and when the force value reaches the preset threshold value, the interface displayed on the touch screen is controlled to move according to the sliding direction, so that an user can operate icons and the like on the interface conveniently, and the touch screen touch control device has the advantages of being convenient to use and good in user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of an interface moving method provided in the present invention.
Fig. 2 is a schematic flowchart of another embodiment of an interface moving method according to the present invention.
Fig. 3 is a schematic flowchart of another embodiment of an interface moving method according to the present invention.
Fig. 4 is a schematic structural diagram of an embodiment of a terminal provided by the present invention.
Fig. 5 is a schematic structural diagram of another embodiment of the terminal provided by the present invention.
Fig. 6 is a schematic structural diagram of another embodiment of the terminal provided by 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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 embodiment of the invention discloses an interface moving method and a terminal, wherein whether the force value of the pressing operation reaches a preset threshold value is judged, and when the force value reaches the preset threshold value, an interface displayed on a touch screen is controlled to move according to the sliding direction, so that a user can conveniently operate icons and the like on the interface, the operation is simplified, and the user operation is simpler and quicker. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an interface moving method according to the present invention. The interface moving method can be applied to the terminal. The terminal includes, but is not limited to, a terminal with touch sensing or mechanical keys, such as a smart phone, a tablet computer, a notebook computer, a palm computer, and a PAD. The operating system of the terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone operating system, and the like. As shown in fig. 1, the interface moving method may be applied to a terminal having a touch screen, and includes the steps of:
s101, receiving a pressing operation instruction and a sliding operation instruction generated by pressing and sliding operations on a touch screen of the terminal.
Specifically, in the embodiment of the present invention, the touch screen detects a pressing and sliding operation performed by a user on a displayed interface of the touch screen, and acquires a pressing operation instruction and a sliding operation instruction generated by the pressing and sliding operation. Wherein the monitoring of the pressing and sliding operation may be a part of the touch screen or the entire touch screen.
The touch screen may be a resistive touch screen or a capacitive touch screen. The resistive touch screen is composed of an Indium Tin Oxide (ITO) film, ITO glass, and some spacers (DOT) between them. When a finger or a pen tip presses the ITO film, the ITO film comes into contact with the ITO glass and voltage fluctuation occurs. The voltage variation is converted from an analog signal to a digital signal and the digital signal is then processed to obtain the (X, Y) position of the press. On the other hand, the capacitive touch screen is composed of silicon dioxide (SiO 2), ITO, and glass. A smooth electric field is established on the surface of the glass. When a finger or a pen tip is in contact with the ITO, the variation of the electric field is detected by four sensors disposed at the four corners of the capacitive touch screen in order to locate its depression.
S102, acquiring a force value corresponding to the pressing operation instruction according to the pressing operation instruction;
specifically, the force value applied to the pressure sensor can be acquired through the pressure sensor and other pressure sensing equipment. The pressure sensor may be, but is not limited to, a resistive strain gauge pressure sensor, a semiconductor strain gauge pressure sensor, a piezoresistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, a resonant pressure sensor, or the like. Of course, the force value is obtained in the embodiments of the present invention including, but not limited to, the above manner. The pressure sensor can be arranged on the lower side of the touch screen or on the lower side of the panel of the touch screen, and the specific position of the pressure sensor is not limited in the invention as long as the pressure sensor can detect the pressure born by the touch screen.
Further, in step S102, the force value corresponding to the pressing operation instruction is obtained, and the force value may also be displayed on the touch screen. The pressure parameters are visually displayed, so that the user can visually perceive the force and time acting on the terminal at present, the operation of the user is reminded, and the operation experience of the user is improved.
And S103, acquiring a sliding direction corresponding to the sliding operation instruction according to the sliding operation instruction.
Specifically, the sliding direction of the sliding operation is sensed through the touch screen, for example, the touch screen senses the continuous sliding motion of the finger of the user on the touch screen, and the sliding direction of the finger is determined by calculating a track formed by the sliding motion. Of course, the sliding direction may also be obtained in other ways.
S104, judging whether the strength value reaches a preset threshold value or not;
specifically, a preset threshold is stored in the terminal, and the detected force value is compared with the preset threshold to determine whether the preset threshold is reached, if so, step S105 is executed, otherwise, the pressing operation is not processed, or is processed according to other execution functions preset by the terminal.
Of course, the preset threshold may be set by the user or by default. For example, if the user is a young child, the force applied to the touch screen is relatively small when operating the terminal, and a relatively small preset threshold may be set.
Furthermore, the user attribute can be determined by detecting the biological characteristic information of the user, and then the corresponding preset threshold value is called according to the user attribute without manual setting by the user according to different user attributes. For example, when the user starts to operate, the user attribute is detected by collecting the biological characteristic information of the user, and when the user is detected to be a child, the preset threshold suitable for the operation habit of the child is automatically called. And determining the preset threshold value to be called by determining the user attribute.
The biometric feature may be detected by recognizing a face, by a fingerprint of the user, by voice, or the like. The attribute of the user is determined in the embodiment of the present invention including but not limited to the above manner. The attribute of the user is the category of the user, male and female, or the age attribute of the user, child, adult, and old. Therefore, the user sets different preset thresholds, so that different users have different user experiences when performing interface operation, and the usability of the terminal is greatly improved.
And S105, moving the interface displayed on the touch screen according to the sliding direction, wherein the moving direction of the interface is matched with the sliding operation direction.
In the embodiment, by monitoring the pressing and sliding operation of a user on the touch screen, the coordinate information of the initial position of the pressing is obtained according to the pressing operation instruction; then, obtaining a moving track of the user moving on the touch screen according to the sliding operation instruction; then, the processor of the terminal moves the displayed interface according to the movement track, thereby realizing the function of moving the interface to a proper position. Of course, the movement of the interface is synchronized or not synchronized with the slide operation command, such as slightly lagging the slide operation command or anticipating the advance movement according to the trend of the slide operation command.
Further, the moving track may be subjected to directional processing, for example, a transverse offset and a longitudinal offset of the moving track are compared, when the transverse offset is smaller than the longitudinal offset, it is determined that the sliding direction corresponding to the sliding operation instruction is a direction toward the bottom of the touch screen, and at this time, the interface is moved downward; when the transverse offset is smaller than the longitudinal offset, the sliding direction corresponding to the sliding operation instruction is judged to be the side direction facing the touch screen, and then the interface is moved to the side direction, so that the interface can be guaranteed to move in the horizontal or vertical direction.
According to the interface moving method provided by the embodiment of the invention, whether the force value of the pressing operation reaches the preset threshold value is judged, and when the force value reaches the preset threshold value, the interface displayed on the touch screen is controlled to move according to the sliding direction, so that a user can conveniently operate icons and the like on the interface, and the interface moving method has the advantages of convenience in use and good user experience.
Further, as shown in fig. 2, in another embodiment, the method further includes step S106, but other embodiments may omit this step. The terminal prestores corresponding relations between a plurality of force values and a plurality of interface reduction ratios, and in step S106, the interface is reduced according to the interface reduction ratio corresponding to the force value according to the force value corresponding to the pressing operation instruction.
Specifically, when the user presses the touch screen, the acquired force value is matched and compared with the stored force values to obtain an interface reduction ratio corresponding to the matched force value, then, the displayed interface is reduced according to the interface reduction ratio, the reduced interface is stacked on the original display interface, and steps S103 and S105 are executed to move the reduced interface to a proper position, so that the function of picture-in-picture is realized.
It can be understood that the interface reduction ratio can be obtained in other manners, for example, by determining whether the sliding direction is the diagonal direction of the touch screen, and if so, reducing the interface by the interface reduction ratio corresponding to the strength value.
Further, as shown in fig. 3, in another embodiment, the method further includes a step S107 of monitoring whether the sliding operation is finished. In this embodiment, by determining whether the sliding operation instruction is monitored, if no sliding operation instruction is input, it is determined that the sliding operation is ended. Of course, whether the sliding operation is finished or not may be determined in other manners, for example, by determining whether a pressing operation instruction is monitored or not.
And S108, if the sliding operation is monitored to be finished, stopping the interface at the position of the sliding operation. In this embodiment, the movement of the interface may be synchronized with the sliding operation instruction, and when it is monitored that the sliding operation is finished, the movement of the interface is stopped, and the interface is positioned at the stop position, so that a user can better operate application icons, documents, and the like on the interface.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal according to the present invention. The terminal includes, but is not limited to, a terminal with touch sensing, such as a smart phone, a tablet computer, a notebook computer, a palm computer, and a PAD. The operating system of the terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone operating system, and the like. As shown in fig. 4, the terminal includes: the device comprises a touch screen 201, a storage module 202, a receiving module 206, a force value module 203, a sliding direction module 204, a movement processing module 205 and the like. Wherein:
in this embodiment, the touch screen 201 may adopt a capacitive screen, a resistive screen, or the like, and is used for displaying an interface of a terminal. The interface can be various interfaces such as an operating system interface, an application interface and the like of the terminal; application icons, documents, pictures, etc. may be included in the interface.
The storage module 202 is configured to store a preset threshold value, so as to compare the force value with the monitored force value, and determine whether an operation trigger for pressing the mobile interface is generated.
A receiving module 206, configured to receive a pressing operation instruction and a sliding operation instruction generated by a pressing and sliding operation on the touch screen 201. In this embodiment, the receiving module 206 is configured to receive a pressing operation instruction and a sliding operation instruction generated by pressing and sliding on the touch screen 201. The touch screen 201 may be a resistive touch screen 201 or a capacitive touch screen 201. The resistive touch screen 201 is composed of an Indium Tin Oxide (ITO) film, ITO glass, and some spacers (DOT) therebetween. When a finger or a pen tip presses the ITO film, the ITO film comes into contact with the ITO glass and voltage fluctuation occurs. The voltage variation is converted from an analog signal to a digital signal and the digital signal is then processed to obtain the (X, Y) position of the press. On the other hand, the capacitive touch panel 201 is made of silicon dioxide (SiO 2), ITO, and glass. A smooth electric field is established on the surface of the glass. When a finger or a pen tip is in contact with the ITO, the variation of the electric field is detected by four sensors disposed at four corners of the capacitive touch screen 201 so as to locate the pressing and sliding thereof.
And the force value module 203 is configured to obtain a force value corresponding to the pressing operation instruction according to the pressing operation instruction. Specifically, the force value module 203 of the present invention may obtain a pressure value applied thereto through a pressure sensing device such as a pressure sensor. The pressure sensor may be a resistance strain gauge pressure sensor, a semiconductor strain gauge pressure sensor, a piezoresistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, a resonant pressure sensor, or the like. Of course, the force value is obtained in the embodiments of the present invention including, but not limited to, the above manner. The pressure sensor may be disposed on the lower side of the touch screen 201, or disposed on the lower side of the panel of the touch screen 201, and the specific position of the pressure sensor is not limited in the present invention, as long as the pressure sensor can detect the pressure borne by the touch screen 201 or the mechanical key.
The sliding direction module 204 is configured to obtain a sliding direction corresponding to the sliding operation instruction according to the sliding operation instruction. In this embodiment, the continuous sliding motion of the finger of the user on the touch screen 201 can be sensed through the touch screen 201, and the sliding direction of the finger can be determined by calculating the track formed by the sliding motion.
And a moving processing module 205, configured to determine whether the strength value reaches a preset threshold, and if so, move the interface displayed on the touch screen 201 according to a sliding direction, where a direction of the interface movement is matched with a direction of the sliding operation. Specifically, the storage module 202 stores a preset threshold, and compares the detected force value with the preset threshold to determine whether the detected force value reaches the preset threshold, and if the detected force value reaches the preset threshold, moves the interface displayed on the touch screen 201 according to the sliding direction, where the direction of the interface movement matches the direction of the sliding operation; otherwise, the pressing operation is not processed or is processed according to other execution functions preset by the terminal.
In the present embodiment, by monitoring the pressing and sliding operation of the user on the touch screen 201, coordinate information of the start position of the pressing is acquired according to the pressing operation instruction; then, obtaining a moving track of the user moving on the touch screen 201 according to the sliding operation instruction; then, the processor of the terminal moves the displayed interface according to the movement track, thereby realizing the function of moving the interface to a proper position. Of course, the movement of the interface is synchronized or not synchronized with the slide operation command, such as slightly lagging the slide operation command or anticipating the advance movement according to the trend of the slide operation command.
Further, the movement processing module 205 may perform directional processing on the movement track, for example, compare the lateral offset and the longitudinal offset of the movement track, when the lateral offset is smaller than the longitudinal offset, determine that the sliding direction corresponding to the sliding operation instruction is the direction toward the bottom of the touch screen 201, and at this time, move the interface downward; when the horizontal offset is smaller than the vertical offset, the sliding direction corresponding to the sliding operation instruction is determined to be the side direction facing the touch screen 201, and then the interface is moved to the side direction, so that the interface can be ensured to move in the horizontal or vertical direction.
According to the terminal provided by the embodiment of the invention, whether the force value of the pressing operation reaches the preset threshold value is judged, and when the force value reaches the preset threshold value, the interface displayed on the touch screen 201 is controlled to move according to the sliding direction, so that a user can conveniently operate icons and the like on the interface, and the terminal has the advantages of convenience in use and good user experience.
As shown in fig. 5, in another embodiment of the present invention, the storage module 202 further pre-stores a corresponding relationship between a plurality of force values and a plurality of interface reduction ratios; the terminal further comprises an interface reduction processing module 207, which is used for reducing the interface according to the interface reduction proportion corresponding to the force value according to the force value corresponding to the pressing operation instruction; or, whether the sliding direction is a diagonal direction of the touch screen 201 is determined, and if yes, the interface is reduced according to the interface reduction scale corresponding to the force value.
Specifically, when the user presses the touch screen 201, the obtained force value is matched and compared with the stored force values to obtain an interface reduction ratio corresponding to the matched force value, then, the displayed interface is reduced according to the interface reduction ratio, the reduced interface is stacked on the original display interface, and the reduced interface is moved to a proper position to realize the function of picture-in-picture.
It can be understood that the interface reduction ratio can also be obtained in other manners, for example, by determining whether the sliding direction is the diagonal direction of the touch screen 201, and if so, reducing the interface by the interface reduction ratio corresponding to the strength value.
As shown in fig. 6, in another embodiment of the present invention, the movement processing module 205 of the terminal includes a slide monitoring unit 2051 and a movement stopping unit 2052.
The slide monitoring unit 2051 is used to monitor whether the slide operation is finished; in this embodiment, by determining whether the sliding operation instruction is monitored, if no sliding operation instruction is input, it is determined that the sliding operation is ended. Of course, whether the sliding operation is finished or not may be determined in other manners, for example, by determining whether a pressing operation instruction is monitored or not.
The movement stopping unit 2052 is used to stop the interface at the position at the end of the slide operation. In this embodiment, the movement of the interface may be synchronized with the sliding operation instruction, and when it is monitored that the sliding operation is finished, the movement of the interface is stopped, and the interface is positioned at the stop position, so that a user can better operate application icons, documents, and the like on the interface.
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 sub-modules or units in the terminal of the embodiment of the invention can be combined, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
Claims (8)
1. An interface moving method, which can be used for a terminal with a touch screen, is characterized in that the method comprises the following steps:
receiving a pressing operation instruction and a sliding operation instruction generated by pressing and sliding operations on a touch screen of the terminal;
according to the pressing operation instruction, acquiring a force value corresponding to the pressing operation instruction;
acquiring a sliding direction corresponding to the sliding operation instruction according to the sliding operation instruction;
judging whether the force value reaches a preset threshold value or not;
if so, moving an interface displayed on the touch screen according to the sliding direction, wherein the moving direction of the interface is matched with the sliding operation direction;
the terminal prestores corresponding relations between a plurality of force values and a plurality of interface reduction proportions; the method further comprises the following steps:
and judging whether the sliding direction is the diagonal direction of the touch screen, if so, reducing the interface according to the interface reduction proportion corresponding to the force value, and overlaying the reduced interface on the original display interface.
2. The method of claim 1,
moving the interface displayed on the touch screen according to the sliding direction, including:
if the sliding direction is towards the bottom direction of the touch screen, the interface is moved downwards; or,
and if the sliding direction is towards the side direction of the touch screen, moving the interface towards the side direction.
3. The method of claim 1,
after moving the interface displayed on the touch screen according to the sliding direction, the method further includes:
monitoring whether the sliding operation is finished;
and if the sliding operation is monitored to be finished, stopping the interface at the position of the sliding operation when the sliding operation is finished.
4. The method of claim 3, wherein moving the interface displayed on the touch screen according to the sliding direction includes synchronizing the movement of the interface with the sliding operation command;
monitoring whether the sliding operation is finished comprises: and judging whether the sliding operation instruction is monitored or not, and judging that the sliding operation is finished if the sliding operation instruction is not input.
5. A terminal comprises a touch screen for displaying an interface; it is characterized by also comprising:
the storage module is used for storing a preset threshold value;
the terminal comprises a receiving module, a judging module and a display module, wherein the receiving module is used for receiving a pressing operation instruction and a sliding operation instruction generated by pressing and sliding operation on a touch screen of the terminal;
the force value module is used for acquiring a force value corresponding to the pressing operation instruction according to the pressing operation instruction;
the sliding direction module is used for acquiring a sliding direction corresponding to the sliding operation instruction according to the sliding operation instruction; and
the movement processing module is used for judging whether the force value reaches a preset threshold value, if so, moving an interface displayed on the touch screen according to the sliding direction, wherein the moving direction of the interface is matched with the sliding operation direction;
the storage module also prestores corresponding relations between a plurality of force values and a plurality of interface reduction proportions;
the terminal further comprises an interface reduction processing module for judging whether the sliding direction is the diagonal direction of the touch screen, if so, reducing the interface according to the interface reduction proportion corresponding to the force value, and stacking the reduced interface on the original display interface.
6. The terminal according to claim 5, wherein the movement processing module determines the sliding direction, and moves the interface downward if the sliding direction is toward the bottom of the touch screen; or,
and if the sliding direction is towards the side direction of the touch screen, moving the interface towards the side direction.
7. The terminal according to claim 5, wherein the mobile processing module comprises a sliding monitoring unit for monitoring whether the sliding operation is finished; and
and the movement stopping unit is used for stopping the interface at the position when the sliding operation is finished.
8. The terminal according to any of claims 5-7, wherein the terminal is one or more of a mobile phone, a tablet computer, and a notebook computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570631.1A CN105224169B (en) | 2015-09-09 | 2015-09-09 | A kind of Interface Moving method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570631.1A CN105224169B (en) | 2015-09-09 | 2015-09-09 | A kind of Interface Moving method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105224169A CN105224169A (en) | 2016-01-06 |
CN105224169B true CN105224169B (en) | 2019-02-05 |
Family
ID=54993179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510570631.1A Active CN105224169B (en) | 2015-09-09 | 2015-09-09 | A kind of Interface Moving method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105224169B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105700788B (en) * | 2016-01-11 | 2020-08-18 | Oppo广东移动通信有限公司 | Interface control method and mobile terminal |
CN105955647A (en) * | 2016-04-29 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device used for interface regulation |
CN106020686B (en) * | 2016-05-16 | 2019-06-11 | 珠海市魅族科技有限公司 | A kind of mobile terminal and its control method for screen display |
CN106354408A (en) * | 2016-08-23 | 2017-01-25 | 汪念鸿 | Interface moving method of mobile terminal and mobile terminal |
EP3511813B1 (en) | 2016-09-23 | 2023-07-26 | Huawei Technologies Co., Ltd. | Force touch method and terminal |
CN107301010A (en) * | 2017-06-16 | 2017-10-27 | 三星电子(中国)研发中心 | Display control method and equipment for electric terminal |
CN108013670A (en) * | 2017-11-22 | 2018-05-11 | 嘉兴市成泰镜业有限公司 | A kind of Intelligent mirror and its control method |
CN108427502B (en) * | 2018-03-19 | 2020-06-23 | 联想(北京)有限公司 | Data processing method and electronic equipment |
CN109683766B (en) * | 2018-12-28 | 2021-08-03 | 努比亚技术有限公司 | Interactive interface control method, mobile terminal and computer readable storage medium |
CN114924677A (en) * | 2022-02-09 | 2022-08-19 | 广州展讯信息科技有限公司 | Map display method and system of resistance screen, storage medium and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630223A (en) * | 2009-07-25 | 2010-01-20 | 深圳华为通信技术有限公司 | Method and terminal for adjusting interface |
CN101859227A (en) * | 2010-06-11 | 2010-10-13 | 华为终端有限公司 | Screen display method and device |
CN102520860A (en) * | 2011-12-09 | 2012-06-27 | 中兴通讯股份有限公司 | Method for controlling desktop display and mobile terminal |
CN102830914A (en) * | 2012-07-31 | 2012-12-19 | 北京三星通信技术研究有限公司 | Method and equipment for operation terminal equipment |
CN102902481A (en) * | 2012-09-24 | 2013-01-30 | 东莞宇龙通信科技有限公司 | Terminal and terminal operation method |
CN102981596A (en) * | 2012-12-21 | 2013-03-20 | 东莞宇龙通信科技有限公司 | Terminal and screen interface display method |
CN103019545A (en) * | 2012-12-10 | 2013-04-03 | 广东欧珀移动通信有限公司 | Zooming method of touch screen display interface of electronic equipment |
CN103713848A (en) * | 2013-12-26 | 2014-04-09 | 上海鼎为通讯电子有限公司 | Mobile terminal and operation method thereof |
CN104063164A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Method and device for screen control |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5045559B2 (en) * | 2008-06-02 | 2012-10-10 | 富士通モバイルコミュニケーションズ株式会社 | Mobile device |
CN101833419B (en) * | 2010-04-30 | 2013-10-09 | 华为终端有限公司 | Method for operating user interface and mobile terminal |
CN103105957B (en) * | 2011-11-14 | 2016-10-05 | 联想(北京)有限公司 | Display packing and electronic equipment |
CN103677564B (en) * | 2013-11-20 | 2016-03-30 | 小米科技有限责任公司 | Slide response method, device and terminal device |
CN104503681A (en) * | 2014-12-30 | 2015-04-08 | 乐视致新电子科技(天津)有限公司 | Interface icon movement control method and device |
CN104793845A (en) * | 2015-04-01 | 2015-07-22 | 乐视致新电子科技(天津)有限公司 | Date switching display method and date switching display device |
CN104765542B (en) * | 2015-04-15 | 2018-06-08 | 魅族科技(中国)有限公司 | The control method and terminal of a kind of display interface |
-
2015
- 2015-09-09 CN CN201510570631.1A patent/CN105224169B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630223A (en) * | 2009-07-25 | 2010-01-20 | 深圳华为通信技术有限公司 | Method and terminal for adjusting interface |
CN101859227A (en) * | 2010-06-11 | 2010-10-13 | 华为终端有限公司 | Screen display method and device |
CN102520860A (en) * | 2011-12-09 | 2012-06-27 | 中兴通讯股份有限公司 | Method for controlling desktop display and mobile terminal |
CN102830914A (en) * | 2012-07-31 | 2012-12-19 | 北京三星通信技术研究有限公司 | Method and equipment for operation terminal equipment |
CN102902481A (en) * | 2012-09-24 | 2013-01-30 | 东莞宇龙通信科技有限公司 | Terminal and terminal operation method |
CN103019545A (en) * | 2012-12-10 | 2013-04-03 | 广东欧珀移动通信有限公司 | Zooming method of touch screen display interface of electronic equipment |
CN102981596A (en) * | 2012-12-21 | 2013-03-20 | 东莞宇龙通信科技有限公司 | Terminal and screen interface display method |
CN104063164A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Method and device for screen control |
CN103713848A (en) * | 2013-12-26 | 2014-04-09 | 上海鼎为通讯电子有限公司 | Mobile terminal and operation method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105224169A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105224169B (en) | A kind of Interface Moving method and terminal | |
CN105183319B (en) | A kind of application operating method, application operating device and terminal | |
CN105183359B (en) | Method, device and terminal for zooming in and zooming out | |
US9696767B2 (en) | Command recognition method including determining a hold gesture and electronic device using the method | |
US9671893B2 (en) | Information processing device having touch screen with varying sensitivity regions | |
CN109428969B (en) | Edge touch method and device of double-screen terminal and computer readable storage medium | |
AU2018282404A1 (en) | Touch-sensitive button | |
CN105183356A (en) | Character output method, input device and electronic device | |
CN105183228A (en) | Terminal device and interface switching method | |
CN105068730B (en) | A kind of content switching method and mobile terminal | |
CN105183360A (en) | Method and device for lighting up screen and terminal | |
CN105912208A (en) | Method and apparatus for switching display interfaces | |
KR20130047790A (en) | Device and method for determinating a touch input of terminal having a touch panel | |
CN105224198A (en) | A kind of page control method, page control device and terminal | |
CN105892927A (en) | Mobile terminal control method and device | |
CN106415471A (en) | Processing method for user interface of terminal, user interface and terminal | |
CN105224222A (en) | A kind of method for deleting, erasing apparatus and electronic equipment | |
CN105183304B (en) | Based on the navigation menu display methods and device under human-computer interaction | |
CN105183227A (en) | Character deletion method and device and electronic equipment | |
CN105183355B (en) | A kind of output method, output device and electronic equipment | |
US20140223328A1 (en) | Apparatus and method for automatically controlling display screen density | |
CN106230069B (en) | A kind of charging method and terminal | |
WO2017114194A1 (en) | Mobile terminal operation bar arrangement method and apparatus | |
CN105183358A (en) | Zooming-in method, zooming-out method, zooming-in device, zooming-out device and terminal | |
CN105335086A (en) | Touch screen operation method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building Patentee after: MEIZU TECHNOLOGY Co.,Ltd. Address before: 519085 Science and Technology Innovation Coastal Meizu Science and Technology Building, Tangjiawan High-tech Zone, Zhuhai City, Guangdong Province Patentee before: Meizu Technology (China) Co.,Ltd. |
|
CP03 | Change of name, title or address |