CN107037948B - Method and system for realizing list sliding - Google Patents

Method and system for realizing list sliding Download PDF

Info

Publication number
CN107037948B
CN107037948B CN201710307734.8A CN201710307734A CN107037948B CN 107037948 B CN107037948 B CN 107037948B CN 201710307734 A CN201710307734 A CN 201710307734A CN 107037948 B CN107037948 B CN 107037948B
Authority
CN
China
Prior art keywords
mobile terminal
inclination angle
list
sliding
angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710307734.8A
Other languages
Chinese (zh)
Other versions
CN107037948A (en
Inventor
姜娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Number Chain Technology Co Ltd
Original Assignee
Zhejiang Number Chain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Number Chain Technology Co Ltd filed Critical Zhejiang Number Chain Technology Co Ltd
Priority to CN201710307734.8A priority Critical patent/CN107037948B/en
Publication of CN107037948A publication Critical patent/CN107037948A/en
Application granted granted Critical
Publication of CN107037948B publication Critical patent/CN107037948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a system for realizing list sliding, and relates to the field of mobile terminals. By acquiring the inclination angle of the user for inclining the mobile terminal and controlling the list interface in the mobile terminal to automatically slide or stop sliding based on the comparison between the inclination angle of the mobile terminal and the preset inclination angle, the problem that the sliding list needs to be manually and ceaselessly slid by the user in the prior art is solved, and the overall user experience is improved; the method comprises the steps of collecting the inclination angle of the mobile terminal when a user slides the list and stops sliding the list, acquiring the action habit of the user, optimizing the preset inclination angle based on the action habit of the user, and meeting the use requirement of the user.

Description

Method and system for realizing list sliding
Technical Field
The invention relates to the field of mobile terminals, in particular to a method and a system for realizing list sliding.
Background
With the development of science and technology, people use mobile terminals such as mobile phones and tablet computers more and more frequently in daily life.
In the use process of the mobile terminal, an interface such as a list and the like which needs to slide is often generated. In the prior art, a user usually slides a screen of a mobile terminal manually to slide a list interface in the mobile terminal. For the interface with a long list, the user needs to continuously slide the screen and always perform repetitive actions, so that the overall user experience is not good.
Disclosure of Invention
The invention aims to provide a method and a system for realizing list sliding, which are used for controlling a list interface in a mobile terminal to automatically slide or stop sliding by acquiring the inclination angle of a user for inclining the mobile terminal and comparing the inclination angle of the mobile terminal with a preset inclination angle, so that the problem that the list sliding in the mobile terminal in the prior art needs continuous manual operation of the user is solved, and the overall user experience is improved.
The invention is realized by the following steps:
a method for realizing list sliding is applied to a mobile terminal, and the method comprises the following steps:
acquiring an inclination angle of the mobile terminal, wherein the inclination angle is an included angle between a plane where a display screen of the mobile terminal is located and the horizontal plane;
detecting whether a list is displayed on a display interface of the mobile terminal;
and if a list is displayed on the display interface, detecting the inclination angle, and controlling the list in the mobile terminal to slide when the detected inclination angle is smaller than a first inclination angle.
Further, after the step of detecting the tilt angle if a list is displayed on the display interface, and controlling the list in the mobile terminal to slide when the detected tilt angle is smaller than a first tilt angle, the method further includes:
and when the detected inclination angle is larger than a second inclination angle, controlling the list in the mobile terminal to stop sliding, wherein the second inclination angle is larger than the first inclination angle.
Further, after the step of detecting the tilt angle if a list is displayed on the display interface, and controlling the list in the mobile terminal to slide when the detected tilt angle is smaller than a first tilt angle, the method further includes:
detecting whether a touch screen operation is received or not, and controlling a list in the mobile terminal to stop sliding when the touch screen operation is received.
Further, the method further comprises:
generating a first tilt angle and a second tilt angle;
the step of generating the first and second tilt angles comprises:
receiving a request of a user for setting a tilt angle;
acquiring the inclination angle required when the mobile terminal control list slides downwards, generating the first inclination angle and storing the first inclination angle in the mobile terminal;
and acquiring the inclination angle required when the mobile terminal control list stops sliding, generating the second inclination angle and storing the second inclination angle in the mobile terminal.
Further, the method further comprises:
optimizing the first tilt angle and the second tilt angle;
the step of optimizing the first tilt angle and the second tilt angle comprises:
acquiring the inclination angle of the mobile terminal when the list slides downwards for multiple times, and generating a first threshold value through a preset algorithm;
acquiring the inclination angle when the list of the mobile terminal stops sliding for multiple times, and generating a second threshold value through a preset algorithm;
if the proportion that the acquired inclination angle when the list of the mobile terminal slides is smaller than the first threshold exceeds a preset standard rate, optimizing the first threshold into a new first inclination angle;
if the proportion that the acquired inclination angle when the list of the mobile terminal stops sliding is larger than the second threshold exceeds a preset standard rate, optimizing the second threshold to be the new second inclination angle.
A system for realizing list sliding is applied to a mobile terminal, and the system comprises:
the acceleration sensor is used for acquiring the inclination angle of the mobile terminal, wherein the inclination angle is an included angle between the plane where the display screen of the mobile terminal is located and the horizontal plane;
the mobile terminal comprises a detection unit, a display unit and a display unit, wherein the detection unit is used for detecting whether a list is displayed on a display interface of the mobile terminal;
and the sliding unit is used for detecting the inclination angle if a list is displayed on the display interface, and controlling the list in the mobile terminal to slide when the detected inclination angle is smaller than a first inclination angle.
Further, the sliding unit is further configured to control the list in the mobile terminal to stop sliding when the detected tilt angle is greater than a second tilt angle, where the second tilt angle is greater than the first tilt angle.
Further, the system further comprises:
and the touch screen unit is used for detecting whether a touch screen operation is received or not, and controlling the list in the mobile terminal to stop sliding when the touch screen operation is received.
Further, the system further comprises:
a presetting unit for generating a first inclination angle and a second inclination angle;
the mode of the preset unit generating the first inclination angle and the second inclination angle comprises the following steps:
receiving a request of a user for setting a tilt angle;
acquiring the inclination angle required when the list of the mobile terminal slides downwards, generating the first inclination angle and storing the first inclination angle in the mobile terminal;
and acquiring the inclination angle required when the list of the mobile terminal stops sliding, generating the second inclination angle and storing the second inclination angle in the mobile terminal.
Further, the system further comprises:
an optimization unit for optimizing the first and second tilt angles;
the way in which the optimization unit optimizes the first and second tilt angles includes:
acquiring the inclination angle of the mobile terminal when the list slides downwards for multiple times, and generating a first threshold value through a preset algorithm;
acquiring the inclination angle when the list of the mobile terminal stops sliding for multiple times, and generating a second threshold value through a preset algorithm;
if the proportion that the acquired inclination angle when the list of the mobile terminal slides is smaller than the first threshold exceeds a preset standard rate, optimizing the first threshold into a new first inclination angle;
if the proportion that the acquired inclination angle when the list of the mobile terminal stops sliding is larger than the second threshold exceeds a preset standard rate, optimizing the second threshold to be the new second inclination angle.
Compared with the prior art, the invention has the following beneficial effects: according to the method and the system for realizing the list sliding, provided by the invention, the list interface in the mobile terminal is controlled to automatically slide or stop sliding by acquiring the inclination angle of the user for inclining the mobile terminal and comparing the relation between the inclination angle of the mobile terminal and the preset inclination angle, so that the problem that the sliding list needs to be manually and continuously slid by the user in the prior art is solved, and the overall user experience is improved; the method comprises the steps of collecting the inclination angle of the mobile terminal when a user slides the list and stops sliding the list, acquiring the action habit of the user, optimizing the preset inclination angle based on the action habit of the user, and meeting the use requirement of the user.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the 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.
Fig. 1 shows a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram illustrating a system for implementing list sliding according to a first embodiment of the present invention.
Fig. 3 is another schematic structural diagram of a system for implementing list sliding according to a first embodiment of the present invention.
Fig. 4 is a flowchart illustrating a method for implementing list sliding according to a second embodiment of the present invention.
Fig. 5 is another flow chart illustrating a method for implementing list sliding according to a second embodiment of the present invention.
Description of the main symbols: 100-a mobile terminal; 101-a memory; 102-a memory controller; 103-a processor; 104-peripheral interfaces; 105-a display unit; 106-input-output unit; 300-System to implement list sliding; 310-an acceleration sensor; 330-a detection module; 350-a sliding module; 370-a touch screen module; 380-preset module; 390-optimization Module.
Detailed Description
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
The method and the system for realizing the list sliding provided by the invention are both applied to the mobile terminal 100. The mobile terminal 100 may be a tablet computer, a smart phone, a Personal Digital Assistant (PDA), and the like. The mobile terminal 100 includes a system 300 implementing list sliding, a memory 101, a storage controller 102, a processor 103, a peripheral interface 104, a display unit 105, and an input-output unit 106.
The memory 101, the memory controller 102, the processor 103, the peripheral interface 104, the display unit 105, and the input/output unit 106 are electrically connected to each other directly or indirectly to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The system 300 for implementing list sliding includes at least one software function unit that may be stored in the memory 101 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the mobile terminal 100. The processor 103 is adapted to execute executable units stored in the memory 101, such as software functional units or computer programs comprised by the system 300 for implementing list sliding.
The Memory 101 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 101 is configured to store a program, and the processor 103 executes the program after receiving an execution instruction, and the method executed by the server defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 103, or implemented by the processor 103.
The processor 103 may be an integrated circuit chip having signal processing capabilities. The processor 103 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network processor (Network Process or NP); but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor 103 may be any conventional processor 103 or the like.
The peripheral interface 104 couples various input/output devices to the processor 103 as well as to the memory 101. In some embodiments, the peripheral interface 104, the processor 103, and the memory controller 102 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The display unit 105 provides an interactive interface (e.g., a user operation interface) between the mobile terminal 100 and a user or for displaying image data to a user reference. In the present embodiment, the display unit 105 may be a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations simultaneously generated from one or more positions on the touch display, and the sensed touch operations are sent to the processor 103 for calculation and processing.
The input and output unit 106 is used for providing input data to the user to realize the interaction of the user with the mobile terminal 100. The input/output unit 106 may be, but is not limited to, a mouse, a keyboard, etc., and the keyboard may be a virtual keyboard.
First embodiment
Referring to fig. 2, fig. 2 is a schematic structural diagram illustrating a system for implementing list sliding according to a first embodiment of the present invention.
In this embodiment, the system 300 for implementing list sliding includes an acceleration sensor 310, a detection module 330, and a sliding module 350.
In this embodiment, the acceleration sensor 310 is configured to obtain an inclination angle of the mobile terminal 100, where the inclination angle is an included angle between a plane where the display screen of the mobile terminal 100 is located and the horizontal plane. The acceleration sensor 310 can calculate the tilt angle of the device with respect to the horizontal plane by measuring the acceleration due to gravity.
In this embodiment, the detecting module 330 is configured to detect whether a slidable interface such as a list is displayed on the display interface of the mobile terminal 100.
In this embodiment, the sliding module 350 is configured to compare the tilt angle of the mobile terminal 100 with a first tilt angle when the display interface of the mobile terminal 100 displays a slidable list, and control the list displayed by the mobile terminal 100 to slide when the tilt angle of the mobile terminal 100 is smaller than the first tilt angle. For example, if the tilt angle of the mobile terminal 100 is 70 degrees and the set first tilt angle is 80 degrees, the sliding module 350 controls the list displayed in the mobile terminal 100 to slide.
Referring to fig. 3, fig. 3 is a schematic structural diagram illustrating a system for implementing list sliding according to a first embodiment of the present invention.
In this embodiment, the system 300 for implementing list sliding further includes a touch screen module 370, a preset module 380, and an optimization module 390.
In this embodiment, the sliding module 350 is further configured to compare the tilt angle of the mobile terminal 100 with a second tilt angle in real time when the list in the mobile terminal 100 slides, and control the list sliding in the mobile terminal 100 to stop sliding when the tilt angle of the mobile terminal 100 is greater than the second tilt angle. Wherein the second tilt angle is greater than the first tilt angle. For example, the list in the mobile terminal 100 is in a sliding state, and the set second tilt angle is 85 degrees, when the tilt angle of the mobile terminal 100 is between the first tilt angle and the second tilt angle (for example, 80 degrees-85 degrees), the sliding list in the mobile terminal 100 does not stop sliding; the sliding module 350 controls the list sliding in the mobile terminal 100 to stop sliding when the tilt angle of the mobile terminal 100 is greater than the second tilt angle (85 degrees).
In this embodiment, the touch screen module 370 is configured to detect whether a touch screen operation is received. If the touch screen module 370 receives a touch screen operation of the user while the list in the mobile terminal 100 is slid, the list slid in the mobile terminal 100 is controlled to stop sliding.
In this embodiment, the presetting module 380 is used for generating a first inclination angle and a second inclination angle. The first and second tilt angles are generated as follows:
receiving a request of a user for setting a tilt angle;
acquiring the inclination angle of the mobile terminal 100 when the user wants the list in the mobile terminal 100 to slide, and generating a first inclination angle, namely, enabling the preset module 380 to acquire the angle of the first inclination angle that the user wants by inclining the mobile terminal 100;
acquiring the inclination angle of the mobile terminal 100 when the user wants the list sliding in the mobile terminal 100 to stop sliding, and generating a second inclination angle, namely, enabling the preset module 380 to acquire the angle of the second inclination angle that the user wants by inclining the mobile terminal 100;
the generated first and second tilt angles are stored.
In this embodiment, the optimization module 390 is configured to optimize the first tilt angle and the second tilt angle. The first inclination angle and the second inclination angle set by the user are only one preset angle, and in the using process, the action habit of the user forms some inclination angles with high using frequency. For example, the first tilt angle is set to 80 degrees, and the user frequently tilts the mobile terminal 100 to 75 degrees during the use process, and the optimization module 390 optimizes the first tilt angle as follows:
acquiring the inclination angle of the mobile terminal 100 when the list in the mobile terminal 100 slides for multiple times, generating a first threshold value through a preset algorithm, namely acquiring the inclination angle of the mobile terminal 100 when the list slides by a user, counting the inclination angles, and generating the first threshold value based on preset algorithms such as the occurrence frequency, the occurrence frequency and the like;
acquiring the inclination angle of the mobile terminal 100 when the sliding list in the mobile terminal 100 stops sliding for multiple times, generating a second value through a preset algorithm, namely acquiring the inclination angle of the mobile terminal 100 when the sliding list stops sliding for a user, counting the inclination angles, and generating a second threshold value through preset algorithms such as the occurrence frequency and the occurrence frequency;
after the first threshold is generated, acquiring the inclination angle of the mobile terminal 100 when the list in the mobile terminal 100 slides again, comparing the inclination angle when the list slides with the first threshold, and if the ratio of the inclination angle when the list slides to be smaller than the first threshold exceeds a preset standard rate, updating the angle of the first threshold to be a new first inclination angle, namely optimizing the first inclination angle;
and after the second threshold is generated, acquiring the inclination angle of the mobile terminal 100 when the sliding of the list in the mobile terminal 100 stops, comparing the inclination angle when the sliding of the list stops with the second threshold, and if the ratio of the inclination angle when the sliding of the list stops being greater than the second threshold exceeds a preset standard rate, updating the angle of the second threshold to be a new second inclination angle, namely, optimizing the second inclination angle.
Through the optimization of the first inclination angle and the second inclination angle, the system can be suitable for the action habit of the user, and the experience of the user is improved.
Second embodiment
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for implementing list sliding according to a second embodiment of the present invention. The method for implementing list sliding is applied to the system for implementing list sliding described in the first embodiment.
In this embodiment, the method for implementing list sliding is implemented by the following steps:
step S201: the tilt angle of the mobile terminal 100 is acquired.
In the present embodiment, step S201 can be implemented by the acceleration sensor 310 in the first embodiment. The acceleration sensor 310 may calculate an inclination angle of the device with respect to a horizontal plane by measuring acceleration due to gravity, wherein the inclination angle is an included angle between a plane on which the display screen of the mobile terminal 100 is located and the horizontal plane.
Step S202: it is detected whether a list is displayed on the display interface of the mobile terminal 100.
In this embodiment, step S202 can be implemented by the detection module 330 in the first embodiment. The detection module 330 detects whether a display interface of the mobile terminal 100 displays a list or other interface that can be slid.
Step S203: when the mobile terminal 100 displays the slidable list, comparing the tilt angle of the mobile terminal 100 with the first tilt angle, and when the tilt angle of the mobile terminal 100 is smaller than the first tilt angle, controlling the list displayed by the mobile terminal 100 to slide.
In this embodiment, step S203 can be implemented by the sliding module 350 in the first embodiment. And controlling the list displayed by the mobile terminal 100 to slide when the tilt angle of the mobile terminal 100 is less than the first tilt angle. For example, if the tilt angle of the mobile terminal 100 is 70 degrees and the set first tilt angle is 80 degrees, the sliding module 350 controls the list displayed in the mobile terminal 100 to slide.
Referring to fig. 5, fig. 5 is another flowchart illustrating a method for implementing list sliding according to a second embodiment of the present invention.
Step S200: a first tilt angle and a second tilt angle are generated.
In this embodiment, the step S200 can be implemented by the preset module 380 in the first embodiment. The preset module 380 is used for generating a first tilt angle and a second tilt angle. The first and second tilt angles are generated as follows:
receiving a request of a user for setting a tilt angle;
acquiring the inclination angle of the mobile terminal 100 when the user wants the list in the mobile terminal 100 to slide, and generating a first inclination angle, namely, enabling the preset module 380 to acquire the angle of the first inclination angle that the user wants by inclining the mobile terminal 100;
acquiring the inclination angle of the mobile terminal 100 when the user wants the list sliding in the mobile terminal 100 to stop sliding, and generating a second inclination angle, namely, enabling the preset module 380 to acquire the angle of the second inclination angle that the user wants by inclining the mobile terminal 100;
the generated first and second tilt angles are stored.
Step S204: when the list in the mobile terminal 100 slides, whether a touch screen operation is received is detected.
In this embodiment, step S204 can be implemented by the touch screen module 370 in the first embodiment. The touch screen module 370 is configured to detect whether a touch screen operation is received, and if a touch screen operation is detected, the process proceeds to step S205; if no touch screen operation is detected, the process proceeds to step S206.
Step S205: the list slid in the mobile terminal 100 is controlled to stop sliding.
In this embodiment, step S204 can be implemented by the touch screen module 370 in the first embodiment. If the touch screen module 370 receives a touch screen operation of the user while the list in the mobile terminal 100 is slid, the list slid in the mobile terminal 100 is controlled to stop sliding.
Step S206: when the list in the mobile terminal 100 slides, comparing the tilt angle of the mobile terminal 100 with a second tilt angle in real time, and when the tilt angle of the mobile terminal 100 is greater than the second tilt angle, controlling the list sliding in the mobile terminal 100 to stop sliding.
In this embodiment, step S206 can be implemented by the sliding module 350 in the first embodiment. Controlling the list slid in the mobile terminal 100 to stop sliding when the tilt angle of the mobile terminal 100 is greater than the second tilt angle. Wherein the second tilt angle is greater than the first tilt angle. For example, the list in the mobile terminal 100 is in a sliding state, and the set second tilt angle is 85 degrees, when the tilt angle of the mobile terminal 100 is between the first tilt angle and the second tilt angle (for example, 80 degrees-85 degrees), the sliding list in the mobile terminal 100 does not stop sliding; the sliding module 350 controls the list sliding in the mobile terminal 100 to stop sliding when the tilt angle of the mobile terminal 100 is greater than the second tilt angle (85 degrees).
Step S207: the first tilt angle and the second tilt angle are optimized.
In this embodiment, step S207 can be implemented by the optimization module 390 in the first embodiment. The optimization module 390 is configured to optimize the first tilt angle and the second tilt angle. The first inclination angle and the second inclination angle set by the user are only one preset angle, and in the using process, the action habit of the user forms some inclination angles with high using frequency. For example, the first tilt angle is set to 80 degrees, and the user frequently tilts the mobile terminal 100 to 75 degrees during the use process, and the optimization module 390 optimizes the first tilt angle as follows:
acquiring the inclination angle of the mobile terminal 100 when the list in the mobile terminal 100 slides for multiple times, generating a first threshold value through a preset algorithm, namely acquiring the inclination angle of the mobile terminal 100 when the list slides by a user, counting the inclination angles, and generating the first threshold value based on preset algorithms such as the occurrence frequency, the occurrence frequency and the like;
acquiring the inclination angle of the mobile terminal 100 when the sliding list in the mobile terminal 100 stops sliding for multiple times, generating a second value through a preset algorithm, namely acquiring the inclination angle of the mobile terminal 100 when the sliding list stops sliding for a user, counting the inclination angles, and generating a second threshold value through preset algorithms such as the occurrence frequency and the occurrence frequency;
after the first threshold is generated, acquiring the inclination angle of the mobile terminal 100 when the list in the mobile terminal 100 slides again, comparing the inclination angle when the list slides with the first threshold, and if the ratio of the inclination angle when the list slides to be smaller than the first threshold exceeds a preset standard rate, updating the angle of the first threshold to be a new first inclination angle, namely optimizing the first inclination angle;
and after the second threshold is generated, acquiring the inclination angle of the mobile terminal 100 when the sliding of the list in the mobile terminal 100 stops, comparing the inclination angle when the sliding of the list stops with the second threshold, and if the ratio of the inclination angle when the sliding of the list stops being greater than the second threshold exceeds a preset standard rate, updating the angle of the second threshold to be a new second inclination angle, namely, optimizing the second inclination angle.
In summary, the present invention provides a method and a system for implementing list sliding, in which a list interface in a mobile terminal is controlled to automatically slide or stop sliding by obtaining an inclination angle at which a user tilts the mobile terminal and comparing the inclination angle of the mobile terminal with a preset inclination angle, so as to solve the problem that the sliding list in the prior art requires the user to manually slide without stopping, and improve the overall user experience; the method comprises the steps of collecting the inclination angle of the mobile terminal when a user slides the list and stops sliding the list, acquiring the action habit of the user, optimizing the preset inclination angle based on the action habit of the user, and meeting the use requirement of the user.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for realizing list sliding is applied to a mobile terminal, and is characterized in that the method comprises the following steps:
acquiring an inclination angle of the mobile terminal, wherein the inclination angle is an included angle between a plane where a display screen of the mobile terminal is located and the horizontal plane;
detecting whether a list is displayed on a display interface of the mobile terminal;
if a list is displayed on the display interface, detecting the inclination angle, and controlling the list in the mobile terminal to slide when the detected inclination angle is smaller than a first inclination angle;
the method further comprises the following steps:
generating a first tilt angle and a second tilt angle;
the method further comprises the following steps:
optimizing the first tilt angle and the second tilt angle;
the step of optimizing the first tilt angle and the second tilt angle comprises:
acquiring the inclination angle of the mobile terminal when the list slides downwards for multiple times, and generating a first threshold value through a preset algorithm;
acquiring the inclination angle when the list of the mobile terminal stops sliding for multiple times, and generating a second threshold value through a preset algorithm;
if the proportion that the acquired inclination angle when the list of the mobile terminal slides is smaller than the first threshold exceeds a preset standard rate, optimizing the first threshold into a new first inclination angle;
if the proportion that the acquired inclination angle when the list of the mobile terminal stops sliding is larger than the second threshold exceeds a preset standard rate, optimizing the second threshold to be the new second inclination angle.
2. The method as claimed in claim 1, wherein if a list is displayed on the display interface, the tilt angle is detected, and when the detected tilt angle is smaller than a first tilt angle, after the step of controlling the list in the mobile terminal to slide, the method further comprises:
and when the detected inclination angle is larger than a second inclination angle, controlling the list in the mobile terminal to stop sliding, wherein the second inclination angle is larger than the first inclination angle.
3. The method as claimed in claim 1, wherein if a list is displayed on the display interface, the tilt angle is detected, and when the detected tilt angle is smaller than a first tilt angle, after the step of controlling the list in the mobile terminal to slide, the method further comprises:
detecting whether a touch screen operation is received or not, and controlling a list in the mobile terminal to stop sliding when the touch screen operation is received.
4. A method of implementing list sliding according to any one of claims 1 to 3, wherein the step of generating a first tilt angle and a second tilt angle comprises:
receiving a request of a user for setting a tilt angle;
acquiring the inclination angle required when the mobile terminal control list slides downwards, generating the first inclination angle and storing the first inclination angle in the mobile terminal;
and acquiring the inclination angle required when the mobile terminal control list stops sliding, generating the second inclination angle and storing the second inclination angle in the mobile terminal.
5. A system for implementing list sliding is applied to a mobile terminal, and is characterized in that the system comprises:
the acceleration sensor is used for acquiring the inclination angle of the mobile terminal, wherein the inclination angle is an included angle between the plane where the display screen of the mobile terminal is located and the horizontal plane;
the mobile terminal comprises a detection unit, a display unit and a display unit, wherein the detection unit is used for detecting whether a list is displayed on a display interface of the mobile terminal;
the sliding unit is used for detecting the inclination angle if a list is displayed on the display interface, and controlling the list in the mobile terminal to slide when the detected inclination angle is smaller than a first inclination angle;
the system further comprises:
a presetting unit for generating a first inclination angle and a second inclination angle;
the system further comprises:
an optimization unit for optimizing the first and second tilt angles;
the way in which the optimization unit optimizes the first and second tilt angles includes:
acquiring the inclination angle of the mobile terminal when the list slides downwards for multiple times, and generating a first threshold value through a preset algorithm;
acquiring the inclination angle when the list of the mobile terminal stops sliding for multiple times, and generating a second threshold value through a preset algorithm;
if the proportion that the acquired inclination angle when the list of the mobile terminal slides is smaller than the first threshold exceeds a preset standard rate, optimizing the first threshold into a new first inclination angle;
if the proportion that the acquired inclination angle when the list of the mobile terminal stops sliding is larger than the second threshold exceeds a preset standard rate, optimizing the second threshold to be the new second inclination angle.
6. The system for implementing list sliding according to claim 5, wherein said sliding unit is further configured to control the list in the mobile terminal to stop sliding when the detected tilt angle is greater than a second tilt angle, wherein the second tilt angle is greater than the first tilt angle.
7. The system for enabling list sliding according to claim 5, said system further comprising:
and the touch screen unit is used for detecting whether a touch screen operation is received or not, and controlling the list in the mobile terminal to stop sliding when the touch screen operation is received.
8. The system for implementing list sliding according to any one of claims 5 to 7, wherein the manner of generating the first tilt angle and the second tilt angle by the preset unit comprises:
receiving a request of a user for setting a tilt angle;
acquiring the inclination angle required when the list of the mobile terminal slides downwards, generating the first inclination angle and storing the first inclination angle in the mobile terminal;
and acquiring the inclination angle required when the list of the mobile terminal stops sliding, generating the second inclination angle and storing the second inclination angle in the mobile terminal.
CN201710307734.8A 2017-05-04 2017-05-04 Method and system for realizing list sliding Active CN107037948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710307734.8A CN107037948B (en) 2017-05-04 2017-05-04 Method and system for realizing list sliding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710307734.8A CN107037948B (en) 2017-05-04 2017-05-04 Method and system for realizing list sliding

Publications (2)

Publication Number Publication Date
CN107037948A CN107037948A (en) 2017-08-11
CN107037948B true CN107037948B (en) 2020-03-13

Family

ID=59536845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710307734.8A Active CN107037948B (en) 2017-05-04 2017-05-04 Method and system for realizing list sliding

Country Status (1)

Country Link
CN (1) CN107037948B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108287645B (en) * 2018-01-16 2020-05-19 维沃移动通信有限公司 Interface display method and mobile terminal
CN108600528A (en) * 2018-04-09 2018-09-28 网易(杭州)网络有限公司 Interaction control method and device, electronic equipment, storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156555A (en) * 2011-03-08 2011-08-17 惠州Tcl移动通信有限公司 Page browsing method and electronic equipment using same
CN103019549A (en) * 2012-11-28 2013-04-03 深圳市中兴移动通信有限公司 Method and device for scrolling contents based on mobile terminal
CN103294372A (en) * 2012-02-24 2013-09-11 三星电子株式会社 Method and apparatus for scrolling a screen in a display apparatus
CN104007908A (en) * 2013-02-22 2014-08-27 三星电子株式会社 Context awareness-based screen scroll method and terminal therefor
CN104407785A (en) * 2013-12-10 2015-03-11 贵阳朗玛信息技术股份有限公司 Information displaying method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156555A (en) * 2011-03-08 2011-08-17 惠州Tcl移动通信有限公司 Page browsing method and electronic equipment using same
CN103294372A (en) * 2012-02-24 2013-09-11 三星电子株式会社 Method and apparatus for scrolling a screen in a display apparatus
CN103019549A (en) * 2012-11-28 2013-04-03 深圳市中兴移动通信有限公司 Method and device for scrolling contents based on mobile terminal
CN104007908A (en) * 2013-02-22 2014-08-27 三星电子株式会社 Context awareness-based screen scroll method and terminal therefor
CN104407785A (en) * 2013-12-10 2015-03-11 贵阳朗玛信息技术股份有限公司 Information displaying method and device

Also Published As

Publication number Publication date
CN107037948A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
US10168855B2 (en) Automatic detection of user preferences for alternate user interface model
US20180239450A1 (en) Unintentional touch rejection
WO2017032068A1 (en) Text message viewing method and user terminal
JP6126608B2 (en) User interface for editing values in-place
GB2522755A (en) Contact signature control of device
US20140210728A1 (en) Fingerprint driven profiling
US9959026B2 (en) Spread-to-duplicate and pinch-to-delete gestures
US9671895B2 (en) Method and system for turning off an alarm of a mobile terminal
US11360660B2 (en) Displaying a plurality of selectable actions
US20170315964A1 (en) Web page reformatting method and apparatus, computing device and non-transitory machine readable storage medium
CN107037948B (en) Method and system for realizing list sliding
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
CN106933466B (en) Page interaction method and system
US9652605B2 (en) Privately unlocking a touchscreen
WO2015081863A1 (en) Information input method, device and terminal
TWI514243B (en) System and method for controlling virtual keyboards
TW201619801A (en) Method and system for displaying files
EP3528103A1 (en) Screen locking method, terminal and screen locking device
US20140313167A1 (en) Moving content between devices using gestures
CN108521273B (en) Pulse signal processing method and device and user terminal
CN108469938B (en) Electronic book reading reminding method and device and terminal equipment
CN107153502B (en) Interface sliding method and system
US9864500B2 (en) Application for controlling auto scroll of content as a function of tilting the device
KR20150111651A (en) Control method of favorites mode and device including touch screen performing the same
TW201514788A (en) Clamshell electronic device and calibration method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310000 Ning Ning street, Xiaoshan District, Hangzhou, Zhejiang

Applicant after: Zhejiang number Chain Technology Co., Ltd.

Address before: 310000 Ning Ning street, Xiaoshan District, Hangzhou, Zhejiang

Applicant before: Zhejiang Lugang communication technology Limited

GR01 Patent grant
GR01 Patent grant