WO2018176711A1 - 调节界面滚动速度的方法及相关设备、计算机程序产品 - Google Patents

调节界面滚动速度的方法及相关设备、计算机程序产品 Download PDF

Info

Publication number
WO2018176711A1
WO2018176711A1 PCT/CN2017/095634 CN2017095634W WO2018176711A1 WO 2018176711 A1 WO2018176711 A1 WO 2018176711A1 CN 2017095634 W CN2017095634 W CN 2017095634W WO 2018176711 A1 WO2018176711 A1 WO 2018176711A1
Authority
WO
WIPO (PCT)
Prior art keywords
speed
interface
user
sliding
scrolling
Prior art date
Application number
PCT/CN2017/095634
Other languages
English (en)
French (fr)
Inventor
王全新
吕桂磊
庞娜娜
马晓伟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP17902983.0A priority Critical patent/EP3605298A4/en
Priority to AU2017407719A priority patent/AU2017407719B2/en
Priority to US16/499,071 priority patent/US10901598B2/en
Priority to CN201780009423.1A priority patent/CN109074211B/zh
Publication of WO2018176711A1 publication Critical patent/WO2018176711A1/zh

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/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
    • 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/0485Scrolling or panning
    • 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/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/42Graphical user interfaces
    • 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

Definitions

  • the invention belongs to the technical field of terminals, and particularly relates to a method for adjusting an interface scrolling speed, a related device and a computer program product.
  • the interface scroll display can be triggered by a sliding operation on the touch screen or the like.
  • the sliding speed of the user there is a fixed relationship between the sliding speed of the user and the scrolling speed of the interface.
  • the sensitivity of the interface scrolling is considered by the user to be one of the performances of the terminal performance.
  • the interface scrolling speed cannot be performed according to the user's needs. Adjustment.
  • the embodiment of the present application provides a method for adjusting the scrolling speed of an interface, so as to solve the technical problem that the interface scrolling speed cannot be adjusted according to the needs of the user in the prior art.
  • the embodiments of the present application also provide corresponding terminals, storage media, and computer program products.
  • a first aspect of the present application provides a method for adjusting an interface scrolling speed, the method comprising:
  • the method for adjusting the scrolling speed of the interface can obtain the operation of the user, determine the interface scrolling speed parameter according to the user's operation, and further adjust the scrolling speed of the interface according to the interface scrolling speed parameter, thereby
  • the interface scrolling speed parameter and the interface scrolling speed can be adjusted according to the user's operation, so that different user operations can determine the appropriate interface scrolling speed by different user operations, so that the user can adjust the interface scrolling speed according to requirements.
  • the user operation is a user sliding operation on the touch screen
  • the determining the interface scroll speed parameter according to the user operation includes:
  • the interface scrolling speed parameter can be dynamically determined by the user sliding speed of the touch screen during the sliding process of the touch screen by the user.
  • the user operation is to select, in an interface scroll speed option, the determining the interface scroll speed parameter according to the user operation, including:
  • the adjusting a scrolling speed of the interface according to the interface scrolling speed parameter includes:
  • the interface scrolling speed can be adjusted according to the dynamically adjusted interface scrolling speed parameter, that is, the interface scrolling speed can be dynamically adjusted according to the user sliding operation.
  • the user operation is to perform a sliding operation on the touch screen after selecting the interface scroll speed option, and determining the interface scroll speed parameter according to the user operation ,include:
  • the interface scrolling speed parameter is dynamically adjusted according to the sliding speed of the user, so that the interface scrolling speed can be adaptively adjusted.
  • the determining the interface scrolling according to the sliding speed and the reference user sliding speed Speed parameters including:
  • the interface scrolling speed parameter can be determined by multiple sliding operations, and the accuracy of determining the interface scrolling speed parameter is improved.
  • the adjusting a scrolling speed of the interface according to the interface scrolling speed parameter includes:
  • the interface scroll speed parameter is multiplied by the reference interface scroll speed to obtain an adjusted interface scroll speed; and the scroll speed of the interface is adjusted according to the adjusted interface scroll speed. It can be seen from the sixth possible implementation manner of the foregoing first aspect that the adjusted interface scrolling speed can be determined according to the scrolling speed parameter, thereby satisfying the requirement of different interface scrolling speeds of the user.
  • the interface scrolling speed option includes an option of scrolling speed through a text identification interface and/or Or the option to scroll the speed of the interface through the interface scrolling effect. It can be seen from the seventh possible implementation manner of the foregoing first aspect that the interface scroll speed option can be displayed in different forms, so that the user can more intuitively select the required interface scroll speed.
  • a second aspect of the present application provides a terminal, where the terminal includes:
  • a determining unit configured to determine an interface scrolling speed parameter according to the user operation
  • an adjusting unit configured to adjust a scrolling speed of the interface according to the interface scrolling speed parameter.
  • the user operation is a user sliding operation on the touch screen
  • the determining unit is specifically configured to:
  • An interface scroll speed parameter is determined based on the sliding speed and the reference user sliding speed.
  • the user operation is to select among interface scroll speed options, and the determining unit is specifically configured to:
  • the adjusting unit is specifically configured to:
  • the scrolling speed of the interface is adjusted according to the adjusted interface scrolling speed.
  • the user operation is performed to perform a sliding operation on the touch screen after selecting the interface scroll speed option
  • the determining unit is specifically configured to:
  • An interface scroll speed parameter is determined based on the sliding speed and the reference user sliding speed.
  • the determining unit is further configured to:
  • the adjusting unit is specifically configured to:
  • the scrolling speed of the interface is adjusted according to the adjusted interface scrolling speed.
  • the interface scrolling speed option includes an option of scrolling speed through a text identification interface and/or Or the option to scroll the speed of the interface through the interface scrolling effect.
  • the third aspect of the present application provides a terminal, where the terminal includes:
  • processor and a memory; the memory storing computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
  • the scrolling speed of the interface is adjusted according to the interface scrolling speed parameter.
  • the user operation is a user sliding operation on the touch screen
  • the determining the interface scroll speed parameter according to the user operation includes:
  • An interface scroll speed parameter is determined based on the sliding speed and the reference user sliding speed.
  • the user operation is to select, in an interface scroll speed option, the determining the interface scroll speed parameter according to the user operation, including:
  • the ratio of the reference interface scroll speed and the reference user slide speed is used as an interface scroll speed parameter.
  • the adjusting a scrolling speed of the interface according to the interface scrolling speed parameter includes:
  • the scrolling speed of the interface is adjusted according to the adjusted interface scrolling speed.
  • the user operation is to perform a sliding operation on the touch screen after selecting the interface scroll speed option, and determining the interface scroll speed parameter according to the user operation ,include:
  • An interface scroll speed parameter is determined based on the sliding speed and the reference user sliding speed.
  • the determining the interface scrolling according to the sliding speed and the reference user sliding speed Speed parameters including:
  • the center value of the correction coefficient is determined as an interface scroll speed parameter.
  • the adjusting a scrolling speed of the interface according to the interface scrolling speed parameter includes:
  • the scrolling speed of the interface is adjusted according to the adjusted interface scrolling speed.
  • the interface scroll speed option includes an option for scrolling speed through a text identification interface and/or Or the option to scroll the speed of the interface through the interface scrolling effect.
  • a fourth aspect of the present application provides a computer readable storage medium, comprising instructions, when executed on a terminal, to cause the terminal to perform the adjustment interface scrolling speed of any of the foregoing first aspect or the optional implementation of the first aspect Methods.
  • a fifth aspect of the present application is a computer program product comprising instructions, which, when run on a terminal, causes the terminal to perform the method of adjusting the interface scrolling speed of any of the first aspect or the optional implementation of the first aspect.
  • the user's operation can be obtained, the interface scrolling speed parameter is determined according to the user's operation, and the scrolling speed of the interface is further adjusted according to the interface scrolling speed parameter, so that the user can adjust the interface scrolling speed according to the requirement.
  • FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application
  • FIG. 2 is a schematic diagram of another application scenario of an embodiment of the present application.
  • FIG. 3 is a flow chart of an embodiment of a method for adjusting an interface scroll speed provided in an embodiment of the present application
  • FIG. 4 is a flowchart of another embodiment of a method for adjusting an interface scroll speed provided in an embodiment of the present application
  • FIG. 5 is a flowchart of another embodiment of a method for adjusting an interface scrolling speed provided in an embodiment of the present application.
  • FIG. 6 is a flowchart of another embodiment of a method for adjusting an interface scroll speed provided in an embodiment of the present application
  • FIG. 7 is a schematic diagram of an interface scrolling speed option in an embodiment of the present application.
  • FIG. 8 is another schematic diagram of an interface scrolling speed option in an embodiment of the present application.
  • FIG. 9 is another schematic diagram of an interface scrolling speed option in an embodiment of the present application.
  • FIG. 10 is a flowchart of another embodiment of a method for adjusting an interface scroll speed provided in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of an embodiment of a terminal provided in an embodiment of the present application.
  • FIG. 12 is a schematic diagram of another embodiment of a terminal provided in an embodiment of the present application.
  • the interface scroll display can be triggered by a sliding operation on the touch screen or the like.
  • the sliding speed of the user and the scrolling speed of the interface, that is, in a scrollable interface, when the user slides the touch screen at a certain sliding speed, the interface scrolls with an interface.
  • the speed is scrolled, and the interface scrolling speed has a fixed proportional relationship with the user's sliding speed.
  • the elderly may feel The interface scrolling speed is too fast, that is, the sensitivity of the interface scrolling is too high, and the young person may feel that the interface scrolling speed is too slow, that is, the sensitivity of the interface scrolling is low. Therefore, in the prior art, there is a technical problem that the interface scrolling speed cannot be adjusted according to the user's needs.
  • the embodiment of the present application provides a method for adjusting an interface scrolling speed and a corresponding device, which can dynamically adjust an interface scrolling speed parameter according to a user operation, so that the scrolling speed of the interface can be adjusted according to the interface scrolling speed parameter to achieve Adjust the interface scrolling speed according to the user's needs.
  • FIG. 1 a schematic diagram of an application scenario is shown in the embodiment of the present application.
  • the interface displayed in the terminal is a list interface
  • the list interface is a contact list, a session list, etc.
  • the connection is shown in the figure.
  • the user can trigger the scrolling of the list interface by sliding the touch screen up and down.
  • the scrolling speed of the interface can be adjusted by the method provided in the embodiment of the present application.
  • FIG. 2 another application scenario of the embodiment of the present application is shown.
  • the interface displayed in the terminal is an interface for switching multiple pages. The user can trigger the scrolling of the switching interface by sliding the left and right of the touch screen.
  • the scrolling speed of the interface can be adjusted by the method provided in the embodiment of the present application.
  • the above is only an exemplary description of the application scenario of the embodiment of the present application.
  • the interface having the scrolling effect can be applied to the adjustment of the interface scrolling speed by using the method provided by the embodiment of the present application. Not limited.
  • the method for adjusting the scrolling speed of the interface may be applied to a terminal, which may specifically be a smartphone, a tablet computer, an e-book reader, and a motion picture expert compressing a standard audio layer 3 (moving picture experts group audio layer) III, MP3) player, motion picture expert compressing standard audio layer 4 (MP4) player, laptop portable computer and desktop computer, and the like.
  • a terminal which may specifically be a smartphone, a tablet computer, an e-book reader, and a motion picture expert compressing a standard audio layer 3 (moving picture experts group audio layer) III, MP3) player, motion picture expert compressing standard audio layer 4 (MP4) player, laptop portable computer and desktop computer, and the like.
  • a terminal which may specifically be a smartphone, a tablet computer, an e-book reader, and a motion picture expert compressing a standard audio layer 3 (moving picture experts group audio layer) III, MP3) player, motion picture expert compressing standard audio layer 4 (MP4) player, laptop portable computer and desktop computer, and the like.
  • FIG. 3 a flowchart of an embodiment of a method for adjusting an interface scrolling speed is provided in the embodiment of the present application.
  • the embodiment may include the following steps:
  • Step 301 Acquire a user operation.
  • the user operation may be a sliding operation on the touch screen, or may be selected in the interface scrolling speed option, or may be a combination of the above two operations, that is, the user operation may also be an interface scrolling speed option.
  • the sliding operation on the touch screen After making a selection, the sliding operation on the touch screen.
  • the user operation can be obtained by detecting a user's trigger action on the touch screen.
  • Step 302 Determine an interface scroll speed parameter according to a user operation.
  • the interface scroll speed parameter may be dynamically determined according to the user operation, and the interface scroll speed parameter may be used to determine the interface scroll speed. For example, when the user operates as a sliding operation on the touch screen, the interface scroll speed parameter may be determined according to the sliding speed of the sliding operation; when the user operates to select in the interface scrolling speed option, the user may select an interface scrolling speed option according to the user selection.
  • the interface scrolling speed parameter when the user operates to select the interface scrolling speed option, the sliding operation of the touch screen may determine the interface scrolling speed parameter according to the interface scrolling speed option selected by the user and the sliding speed of the sliding operation.
  • Step 303 Adjust the scrolling speed of the interface according to the interface scrolling speed parameter.
  • the user's operation may be acquired, the interface scrolling speed parameter is determined according to the user's operation, and the scrolling speed of the interface is further adjusted according to the interface scrolling speed parameter, so that the interface scrolling speed parameter and the interface scrolling speed may be performed according to the user's operation.
  • Adjustment which in turn can be operated by different users for different users Determine the appropriate interface scrolling speed, so that users can adjust the interface scrolling speed according to their needs.
  • FIG. 4 a flowchart of another embodiment of a method for adjusting an interface scrolling speed provided in an embodiment of the present application is shown.
  • a user operation is a sliding operation on a touch screen
  • the sliding speed of the sliding operation is adjusted to adjust the interface scrolling speed.
  • the embodiment may include the following steps:
  • Step 401 Acquire a sliding operation of the user on the touch screen.
  • the terminal can detect the sliding operation, and the sliding direction of the sliding operation is consistent with the scrolling direction of the interface.
  • the scrolling direction of the interface is scrolling up and down, and the user touches the touch screen.
  • the sliding operation should also be sliding up and down, and the scrolling direction of the interface is left and right scrolling, and the sliding operation of the touch screen by the user should also be left and right sliding. It can be understood that in the present embodiment, only the sliding operation consistent with the scrolling direction of the interface can be acquired.
  • Step 402 Acquire a reference user sliding speed, a reference interface scrolling speed, and a sliding speed of the sliding operation, and the reference user sliding speed and the reference interface scrolling speed are preset.
  • the sliding speed of the sliding operation can be obtained by the sliding distance of the sliding operation and the sliding time.
  • the sliding distance is the distance that the sliding operation of the user acts on the touch screen
  • the sliding time is the sliding of the user.
  • the preset reference user sliding speed and the reference interface scrolling speed can be obtained.
  • the reference user sliding speed can be used as a reference speed for judging whether the user slides faster or slower, that is, the sliding speed of the sliding operation and the sliding speed of the reference user can determine the sliding habit of the user to further determine the sliding speed of the interface.
  • the user's sliding speed is faster, and when the sliding speed of the user sliding operation is less than the reference user sliding speed, the user's sliding speed is slow.
  • the baseline user slide speed can be preset in the operating system and/or in an application that has an interface scrolling scene.
  • the reference interface scrolling speed is a reference speed for adjusting the interface scrolling speed, and the reference interface scrolling speed can be preset in an operating system and/or an application having an interface scrolling scene, thereby increasing or decreasing the interface based on the scrolling speed of the reference interface. The speed of the slide.
  • Step 403 Determine an interface scroll speed parameter according to the sliding speed and the reference user sliding speed.
  • the interface scroll speed parameter may be determined by comparing the sliding speed with the reference user sliding speed, and the interface scroll speed may be further determined by the interface scroll speed parameter.
  • the specific implementation of determining the interface scroll speed parameter according to the sliding speed and the reference user sliding speed may include:
  • the ratio of the sliding speed to the reference sliding speed is determined as a correction coefficient; the center value of the correction coefficient is calculated; and the center value of the correction coefficient is determined as the interface scrolling speed parameter.
  • the correction coefficient is the ratio of the sliding speed to the reference sliding speed. When the sliding speed is greater than the reference sliding speed, the correction coefficient is greater than 1, and when the sliding speed is less than the reference sliding speed, the correction coefficient is less than 1. Since the user's sliding speed can be changed in real time, the correction coefficient can also be changed following the change in the sliding speed, thereby obtaining a set of correction coefficients.
  • the center value of the set of correction coefficients can be calculated according to the correction coefficient obtained in real time, and the center value can be the average value, the median, the number of digits, and the like. Using the center value of the correction coefficient as the interface scrolling speed parameter can reflect the overall situation of the user's sliding speed, and avoid adjusting the interface scrolling speed when the user slides too fast or too slow. The law truly reflects the needs of users.
  • Step 404 Multiply the interface scroll speed parameter by the reference interface scroll speed to obtain the adjusted interface scroll speed.
  • the interface scrolling speed parameter is multiplied by the reference interface scrolling speed to obtain the adjusted interface scrolling speed.
  • the center value of the correction coefficient is greater than 1, the user is a faster user of the operating terminal, and the sliding speed of the interface can be improved, that is, the benchmark can be used.
  • the scrolling speed of the interface is accelerated.
  • the center value of the correction coefficient is less than 1, it means that the user is a slower user of the operating terminal, and the sliding speed of the interface can be reduced, that is, the scrolling speed of the reference interface can be slowed down.
  • Step 405 Adjust the scrolling speed of the interface according to the adjusted interface scrolling speed.
  • the scrolling speed of the interface can be dynamically adjusted according to the sliding speed of the sliding operation of the user.
  • the user type is intelligently recognized by the user's sliding speed. For example, when the sliding speed of the user is generally faster, the scrolling speed of the interface is increased. When the sliding speed of the user is slow overall, the scrolling speed of the interface is lowered, and the user can better satisfy the user's The need for interface scrolling speed.
  • FIG. 5 a flowchart of another embodiment of a method for adjusting an interface scrolling speed provided in an embodiment of the present application is shown.
  • the user operation is performed by a user for a first user operation, that is, when the user operates as a sliding operation on the touch screen.
  • the implementation process in the actual application scenario of the sliding speed of the sliding operation to adjust the interface scrolling speed may include:
  • Step 501 Acquire a sliding operation of the user on the touch screen.
  • Step 502 Determine the user type according to the sliding speed of the sliding operation.
  • the ratio of the sliding speed to the reference sliding speed may be calculated as a correction coefficient, the center value of the correction coefficient is calculated, and the center value of the correction coefficient is determined as the interface scrolling speed parameter.
  • the user type can be determined.
  • the interface scrolling speed parameter is greater than 1, the user is a faster user of the operating terminal, and the sliding speed of the interface can be improved.
  • the interface scrolling speed parameter is less than 1, the representative user is Slower operation of the terminal can reduce the sliding speed of the interface.
  • the process of calculating the interface scroll speed parameters can continue as the user's swipe operation continues.
  • Step 503 When the user type is a faster user operating the mobile phone, the interface scrolling speed needs to be increased.
  • Step 504 When the user type is a slower user operating the mobile phone, the interface scrolling speed needs to be reduced.
  • Step 505 Record the interface scroll speed parameter, return to step 502, and proceed to step 506.
  • the interface scroll speed parameter can be recorded in the control scrolling control interface to adjust the interface scroll speed when the interface scrolls.
  • Step 506 Adjust the scrolling speed of the interface according to the interface scrolling speed parameter.
  • the adjusted interface scroll speed By multiplying the interface scroll speed parameter by the reference interface scroll speed, the adjusted interface scroll speed can be obtained, and the scroll speed of the interface can be adjusted according to the adjusted interface scroll speed. Thereby meeting the needs of different users for the scrolling speed of the list.
  • FIG. 6 a flowchart of another embodiment of a method for adjusting an interface scroll speed provided in an embodiment of the present application is shown.
  • a second user operation that is, a user operation is selected in an interface scroll speed option.
  • the interface scrolling speed can be adjusted according to the user's selection. This embodiment may include the following steps:
  • Step 601 Detect an operation of the user to select in the interface scroll speed option.
  • the user is first provided with a selection interface including a plurality of interface scroll speed options.
  • Boundary The face scrolling speed option can be an option to scroll the speed through the text identification interface, or an option to scroll the speed of the interface through the interface scrolling effect, or an option to jointly mark the scrolling speed of the interface through text and interface scrolling effects.
  • FIG. 7 a schematic diagram of a selection interface including multiple interface scroll speed options in the embodiment of the present application is illustrated, for example, by text options: fast, normal, and slow to identify different interface scroll speeds for the user to select. This type of interface scrolling speed option is simple to implement, and users can also choose directly according to their needs. Referring to FIG.
  • FIG. 8 a schematic diagram of another selection interface including multiple interface scroll speed options in the embodiment of the present application is illustrated.
  • an interface scroll speed option may be formed by different scroll speed effects.
  • Option users can see the effect of scrolling speed more directly and choose according to their needs.
  • FIG. 9 another schematic diagram of a selection interface including multiple interface scroll speed options in the embodiment of the present application is shown.
  • the effects of different scroll speeds and corresponding texts may constitute an interface scroll speed option. The user can not only see the effect of the interface scrolling speed, but also know that the scrolling speed corresponding to the effect is fast, normal or slow, and the selection is completed more accurately.
  • the terminal may detect a trigger operation of the user for any interface scroll speed option, which may be a click operation on any interface scroll speed option.
  • Step 602 Acquire an interface scroll speed option selected by the user.
  • Step 603 Determine a reference user sliding speed corresponding to the interface scrolling speed option selected by the user and a reference interface scrolling speed.
  • Each interface scroll speed option corresponds to a set of reference user slide speeds and a reference interface scroll speed.
  • the reference user sliding speed and the reference interface scrolling speed may collectively determine the interface scrolling speed parameter.
  • a set of reference user sliding speeds corresponding to each interface scrolling speed option and a reference interface scrolling speed may be preset in an operating system and/or an application having an interface scrolling scene.
  • Step 604 The ratio of the reference interface scroll speed and the reference user sliding speed is used as the interface scroll speed parameter.
  • the ratio of the reference interface scroll speed and the reference user slide speed can be used as the scroll speed parameter.
  • Different interface scroll speed parameters can be determined according to the option selected by the user.
  • the size of the scroll speed parameter can be determined to increase or decrease the reference interface scroll speed. For example, the interface scrolling speed parameter obtained by the user selecting the interface scrolling speed is larger than the interface scrolling speed parameter obtained by the user selecting the interface scrolling speed.
  • the interface scroll speed parameter can be recorded in the control scrolling control interface to adjust the interface scroll speed when the interface scrolls.
  • Step 605 Acquire a sliding speed of the sliding operation of the touch screen by the user.
  • the interface scrolling speed can be adjusted according to the interface scrolling speed parameter.
  • the terminal can detect the sliding operation, and the sliding direction of the sliding operation is consistent with the scrolling direction of the interface. Sliding distance that can be swiped when the user slides on the touch screen The separation and sliding time calculations obtain the sliding speed of the sliding operation.
  • Step 606 Multiply the sliding speed by the interface scrolling speed parameter to obtain the adjusted interface scrolling speed.
  • the ratio of the reference interface scroll speed and the reference user sliding speed may be the same as the ratio of the adjusted interface scroll speed and the sliding speed, and the ratio of the reference interface scroll speed to the reference user sliding speed is the interface scroll speed parameter, and the sliding speed is multiplied by the interface.
  • the scroll speed parameter can be used to obtain the adjusted interface scroll speed.
  • Step 607 Adjust the scrolling speed of the interface according to the adjusted interface scrolling speed.
  • the user's requirement for the scrolling speed of the interface may be selected through the interface scrolling speed option, and the interface scrolling speed is determined according to the interface scrolling speed option selected by the user, for example, when the user selects the interface at a faster speed.
  • the scrolling speed of the adjustment interface is increased.
  • the scrolling speed of the adjustment interface is lowered, and the user's demand for the interface scrolling speed can be better satisfied.
  • FIG. 10 a flowchart of another embodiment of a method for adjusting an interface scroll speed provided in an embodiment of the present application is shown.
  • a third user operation that is, a user operation is selected in an interface scroll speed option.
  • the reference user sliding speed and the reference interface scrolling speed are determined according to the user's selection, and the final interface scrolling speed is determined by the sliding speed of the user sliding operation.
  • This embodiment may include the following steps:
  • Step 1001 Detect an operation performed by the user in the interface scroll speed option.
  • the user is first provided with a selection interface including a plurality of interface scroll speed options.
  • the interface scroll speed option can be an option to scroll the speed through the text identification interface, or an option to scroll the speed through the interface scrolling effect, or an option to jointly mark the scrolling speed of the interface through text and interface scrolling effects.
  • FIG. 7 a schematic diagram of a selection interface including multiple interface scroll speed options in the embodiment of the present application is illustrated, for example, by text options: fast, normal, and slow to identify different interface scroll speeds for the user to select. This type of interface scrolling speed option is simple to implement, and users can also choose directly according to their needs. Referring to FIG.
  • FIG. 8 a schematic diagram of another selection interface including multiple interface scroll speed options in the embodiment of the present application is illustrated.
  • an interface scroll speed option may be formed by different scroll speed effects.
  • Option users can see the effect of scrolling speed more directly and choose according to their needs.
  • FIG. 9 another schematic diagram of a selection interface including multiple interface scroll speed options in the embodiment of the present application is shown.
  • the effects of different scroll speeds and corresponding texts may constitute an interface scroll speed option. The user can not only see the effect of the interface scrolling speed, but also know that the scrolling speed corresponding to the effect is fast, normal or slow, and the selection is completed more accurately.
  • the terminal may detect a trigger operation of the user for any interface scroll speed option, which may be a click operation on any interface scroll speed option.
  • Step 1002 Obtain an interface scroll speed option selected by the user.
  • Step 1003 Determine a reference user sliding speed corresponding to the interface scrolling speed option selected by the user and a reference interface scrolling speed.
  • Scroll speed options per interface Corresponds to a set of reference user sliding speeds and a reference interface scrolling speed. For example, if the user selects the interface to scroll fast, the reference user sliding speed and the reference interface scrolling speed can be faster, and the user selects the interface to scroll slowly, the reference user sliding speed and the reference interface scrolling speed can be slow, and the user selects the interface to scroll faster.
  • the ratio of the reference user sliding speed and the reference interface scrolling speed is larger than the ratio of the reference user sliding speed and the reference interface scrolling speed when the user selects the interface scrolling speed is slow.
  • a set of reference user sliding speeds corresponding to each interface scrolling speed option and a reference interface scrolling speed may be preset in an operating system and/or an application having an interface scrolling scene.
  • the scrolling speed can be further adjusted by the user's sliding operation.
  • the reference user sliding speed can be used as a reference speed for judging whether the user slides faster or slower
  • the reference interface scrolling speed is a reference speed for adjusting the interface scrolling speed. For example, if the sliding speed of the user is faster than the selected reference user sliding speed, the scrolling speed of the interface is further increased, and the sliding speed of the user is slower than the sliding speed of the selected reference user, so that the scrolling speed of the interface is appropriately reduced, so that the user selects On the basis of the actual scrolling speed of the interface is more suitable for the needs of users.
  • Step 1004 Acquire a sliding speed of the sliding operation of the touch screen by the user.
  • the sliding operation After determining the reference user sliding speed and the reference interface scrolling speed, the sliding operation can be detected when the user performs a sliding operation on the interface that needs to be scrolled, and the sliding direction of the sliding operation is consistent with the scrolling direction of the interface.
  • the sliding speed of the sliding operation can be obtained by the sliding distance of the sliding operation and the sliding time calculation.
  • Step 1005 Determine an interface scroll speed parameter according to the sliding speed and the reference user sliding speed.
  • the interface scroll speed parameter may be determined by comparing the sliding speed with the reference user sliding speed, and the interface scroll speed may be further determined by the interface scroll speed parameter.
  • the specific implementation of determining the interface scroll speed parameter according to the sliding speed and the reference user sliding speed may include:
  • the ratio of the sliding speed to the reference sliding speed is determined as a correction coefficient; the center value of the correction coefficient is calculated; and the center value of the correction coefficient is determined as the interface scrolling speed parameter.
  • the correction coefficient is the ratio of the sliding speed to the reference sliding speed. When the sliding speed is greater than the reference sliding speed, the correction coefficient is greater than 1, and when the sliding speed is less than the reference sliding speed, the correction coefficient is less than 1. Since the user's sliding speed can be changed in real time, the correction coefficient can also be changed following the change in the sliding speed, thereby obtaining a set of correction coefficients.
  • the center value of the set of correction coefficients can be calculated according to the correction coefficient obtained in real time, and the center value can be the average value, the median, the number of digits, and the like. Using the center value of the correction coefficient as the interface scrolling speed parameter can reflect the overall situation of the user's sliding speed, and avoid adjusting the interface scrolling speed when the user slides too fast or too slow to truly reflect the user's demand.
  • the interface scroll speed parameter can be recorded in the control scrolling control interface to adjust the interface scroll speed when the interface scrolls.
  • Step 1006 Multiply the interface scroll speed parameter by the reference interface scroll speed to obtain the adjusted interface scroll speed.
  • the interface scroll speed parameter by the reference interface scroll speed Multiply the interface scroll speed parameter by the reference interface scroll speed to get the adjusted interface scroll speed when correcting
  • the center value of the coefficient is greater than 1, it means that the sliding speed of the interface can be further improved, that is, the scroll speed of the reference interface can be increased.
  • the center value of the correction coefficient is less than 1, it means that the sliding speed of the interface needs to be reduced, that is, the reference interface can be scrolled. The speed is slower.
  • Step 1007 Adjust the scrolling speed of the interface according to the adjusted interface scrolling speed.
  • the user's requirement for the scrolling speed of the interface can be selected through the interface scrolling speed option. After the user selects, the scrolling speed can be further adjusted by the user's sliding operation to better satisfy the user. The need for interface scrolling speed.
  • the embodiment of the method for adjusting the scrolling speed of the interface provided in the embodiment of the present application is described in the above embodiments.
  • the method for adjusting the scrolling speed of the interface provided in the embodiment of the present application may be applied to the operating system software, and may also be applied.
  • the operating system and the interface scrolling speed of each application can be set, and different interface scrolling speeds can be set for different applications and different scenes.
  • the user may also be notified that the dynamic adjustment of the interface scrolling speed is currently being performed, and the user may also choose not to apply the method of the embodiment of the present application, and only use a fixed Program scrolling speed.
  • the terminal 110 may include:
  • the obtaining unit 1101 is configured to acquire a user operation.
  • a determining unit 1102 configured to determine an interface scrolling speed parameter according to a user operation
  • the adjusting unit 1103 is configured to adjust a scrolling speed of the interface according to the interface scrolling speed parameter.
  • the determining unit 1102 can be specifically configured to:
  • the interface scroll speed parameter is determined based on the sliding speed and the reference user sliding speed.
  • determining the interface scroll speed parameter according to the sliding speed and the reference user sliding speed may include: determining a ratio of the sliding speed to the reference sliding speed as a correction coefficient; calculating a center value of the correction coefficient; determining a center value of the correction coefficient as an interface Scroll speed parameter. That is, the determining unit may be further configured to determine a ratio of the sliding speed to the reference sliding speed as a correction coefficient; calculate a center value of the correction coefficient; and determine a center value of the correction coefficient as an interface scrolling speed parameter.
  • the determining unit 1102 may be specifically configured to:
  • the reference user sliding speed corresponding to the interface scrolling speed option selected by the user and the reference interface scrolling speed are determined; the ratio of the reference interface scrolling speed and the reference user sliding speed is used as the interface scrolling speed parameter.
  • the adjusting unit 1103 may be specifically configured to:
  • the sliding operation on the touch screen is performed, and the determining unit 1102 may be specifically configured to:
  • the interface scroll speed parameter is determined based on the sliding speed and the reference user sliding speed.
  • determining the interface scroll speed parameter according to the sliding speed and the reference user sliding speed may include: determining a ratio of the sliding speed to the reference sliding speed as a correction coefficient; calculating a center value of the correction coefficient; determining a center value of the correction coefficient as an interface Scroll speed parameter. That is, the determining unit may be further configured to determine a ratio of the sliding speed to the reference sliding speed as a correction coefficient; calculate a center value of the correction coefficient; and determine a center value of the correction coefficient as an interface scrolling speed parameter.
  • the user operates to perform a sliding operation on the touch screen after selecting the interface scroll speed option
  • the adjusting unit 1103 may be specifically configured to:
  • the interface scroll speed options may include an option to scroll the speed through the text identification interface and/or an option to scroll the speed through the interface scrolling effect.
  • the related functions implemented by the obtaining unit 1101, the determining unit 1102, and the adjusting unit 1103 can be understood by referring to the description in the foregoing embodiments of the method for adjusting the scrolling speed of the interface, and details are not repeatedly described herein.
  • the user's operation can be obtained, the interface scrolling speed parameter is determined according to the user's operation, and the scrolling speed of the interface is further adjusted according to the interface scrolling speed parameter, so that the user can adjust the interface scrolling speed according to the requirement.
  • FIG. 12 is a block diagram showing a partial structure of a terminal 110 provided by an embodiment of the present invention.
  • the terminal includes: a radio frequency (RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a sensor 1250, an audio circuit 1260, a WiFi module 1270, a processor 1280, and a power supply 1290.
  • RF radio frequency
  • the terminal structure shown in FIG. 12 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the RF circuit 1210 can be used to transmit or receive data
  • the memory 1220 can be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the terminals by running software programs and modules stored in the memory 1220.
  • the memory 1220 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, and at least one function is required Programs (such as sound playback function, image playback function, etc.); the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the terminal.
  • memory 1220 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1230 can be configured to receive an operation instruction of the user, and generate a key signal input related to user setting and function control of the terminal 110.
  • the input unit 1230 may include a touch panel 1231 and other input devices 1232.
  • the touch panel 1231 which may also be referred to as a touch screen, may collect contact or non-contact operation touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 1231 or on any suitable object or accessory.
  • the operation near the touch panel 1231) drives the corresponding connection terminal according to a preset program.
  • the touch panel 1231 may include two parts: a touch detection terminal and a touch controller.
  • the touch detection terminal detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection terminal, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1280 is provided and can receive commands from the processor 1280 and execute them.
  • the touch panel 1231 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1230 may further include other input devices 1232.
  • Other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 1240 can be used to display the interface.
  • the display unit 1240 can include a display panel 1241.
  • the display panel 1241 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1231 may cover the display panel 1241. After the touch panel 1231 detects a touch operation on or near the touch panel 1231, the touch panel 1231 transmits to the processor 1280 to determine the type of the touch event, and then the processor 1280 according to the touch event. The type provides a corresponding visual output on display panel 1241.
  • the touch panel 1231 and the display panel 1241 are used as two independent components to implement the input and input functions of the terminal, in some embodiments, the touch panel 1231 and the display panel 1241 may be integrated. And realize the input and output functions of the terminal.
  • Terminal 110 can also include at least one type of sensor 1250.
  • Audio circuit 1260, speaker 1261, and microphone 1262 can provide an audio interface between the user and the terminal.
  • the audio circuit 1260 can transmit the converted electrical data of the received audio data to the speaker 1261, and convert it into a sound signal output by the speaker 1261; on the other hand, the microphone 1262 converts the collected sound signal into an electrical signal, by the audio circuit 1260. After receiving, it is converted into audio data, and then processed by the audio data output processor 1280, transmitted to the terminal, for example, via the camera 1210, or the audio data is output to the memory 1220 for further processing.
  • WiFi module 1270 can be used for communication.
  • Processor 1280 is the control center of the terminal, which connects various portions of the entire terminal using various interfaces and lines, by executing or executing software programs and/or modules stored in memory 1220, and by invoking data stored in memory 1220, The terminal's various functions and processing data, so as to monitor the terminal as a whole.
  • the processor 1280 may include one or more processing units; preferably, the processor 1280 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1280.
  • the processor 1280 may also include functional modules such as display controls.
  • the terminal 110 also includes a power source 1290 (such as a battery) that supplies power to the various components.
  • a power source 1290 such as a battery
  • the power source can be logically coupled to the processor 1280 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the terminal 110 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 1280 included in the terminal further has the following functions:
  • the user operation is a sliding operation of the touch screen by the user, and determining an interface scroll speed parameter according to the user operation may include:
  • the interface scroll speed parameter is determined based on the sliding speed and the reference user sliding speed.
  • the user operation selects the interface scroll speed option, and determines the interface scroll speed parameter according to the user operation, including:
  • the ratio of the reference interface scroll speed and the reference user slide speed is used as the interface scroll speed parameter.
  • the scrolling speed of the interface is adjusted according to the interface scrolling speed parameter, including:
  • the user after the user selects the interface scroll speed option, the user performs a sliding operation on the touch screen, and determines an interface scroll speed parameter according to the user operation, including:
  • the interface scroll speed parameter is determined based on the sliding speed and the reference user sliding speed.
  • the interface scroll speed parameter is determined according to the sliding speed and the reference user sliding speed, including:
  • the center value of the correction coefficient is determined as the interface scroll speed parameter.
  • the scrolling speed of the interface is adjusted according to the interface scrolling speed parameter, including:
  • the interface scroll speed option displayed by the display unit may include an option to scroll the speed through the text identification interface and/or an option to mark the interface scroll speed through the interface scroll effect.
  • the obtaining unit 1101 in the terminal 110 may be implemented by the input unit 1230 and/or the processor 1280.
  • the determining unit 1102 may be implemented by the processor 1280 or may be implemented by the input unit 1230 and the processor 1280.
  • the adjusting unit 1103 may be implemented by the processor 1280, may be implemented by the processor 1280 and the display unit 1240, or may be implemented by the input unit 1230, the display unit 1240, and the processor 1280.
  • the related descriptions of the terminal 110 can be understood by referring to the description in the foregoing embodiments of the method for adjusting the scrolling speed of the interface, and the details are not repeated herein.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • wire eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
  • the embodiment of the present application further provides a computer readable storage medium, including instructions, when the terminal is running on the terminal, the terminal can be configured to perform the method for adjusting the scrolling speed of the interface provided in the embodiment of the present application.
  • a computer program product including instructions is provided in the embodiment of the present application.
  • the terminal When the terminal is running on the terminal, the terminal can be configured to perform the method for adjusting the scrolling speed of the interface provided in the embodiment of the present application.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

一种调节界面滚动速度的方法、终端、存储介质以及计算机程序产品,用于实现用户可以根据需求对界面滚动速度进行调整。该方法包括:获取用户操作(301);根据用户操作,确定界面滚动速度参数(302);根据界面滚动速度参数调整界面的滚动速度(303)。

Description

调节界面滚动速度的方法及相关设备、计算机程序产品
本申请要求于2017年3月29日提交中国专利局、申请号为201710198380.8、发明名称为“一种调节列表滚动速度的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明属于终端技术领域,具体涉及一种调节界面滚动速度的方法及相关设备、计算机程序产品。
背景技术
在用户使用具有触摸屏的终端设备时,可以通过在触摸屏上进行滑动操作等方式触发界面滚动显示。在现有技术中,用户的滑动速度与界面的滚动速度存在固定的关联关系。而界面滚动的灵敏性会被用户认为是终端性能的表现之一,针对不同群体的用户,对界面滚动速度存在不同的需求,但是,在现有技术中无法根据用户的需求对界面滚动速度进行调整。
发明内容
本申请实施例提供了一种调节界面滚动速度的方法,以解决现有技术中无法根据用户的需求对界面滚动速度进行调整的技术问题。本申请实施例还提供相应的终端、存储介质、计算机程序产品。
本申请第一方面提供一种调节界面滚动速度的方法,所述方法包括:
获取用户操作;根据所述用户操作,确定界面滚动速度参数;根据所述界面滚动速度参数调整界面的滚动速度。由以上第一方面可见,本申请第一方面提供一种调节界面滚动速度的方法可以获取用户的操作,根据用户的操作确定界面滚动速度参数,进一步根据界面滚动速度参数调整界面的滚动速度,从而实现界面滚动速度参数以及界面滚动速度可以根据用户的操作进行调整,进而对于不同的用户来说可以通过不同的用户操作确定适合的界面滚动速度,实现用户可以根据需求对界面滚动速度进行调整。
结合第一方面,在第一种可能的实现方式中,所述用户操作为用户对触摸屏的滑动操作,所述根据所述用户操作,确定界面滚动速度参数,包括:
获取基准用户滑动速度、基准界面滚动速度以及所述滑动操作的滑动速度,所述基准用户滑动速度以及所述基准界面滚动速度为预先设置的;根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。由以上第一方面第一种可能的实现方式可见,可以在用户对触摸屏的滑动过程中通过用户对触摸屏的滑动速度,从而可以动态确定界面滚动速度参数。
结合第一方面,在第二种可能的实现方式中,所述用户操作为在界面滚动速度选项中进行选择,所述根据所述用户操作,确定界面滚动速度参数,包括:
获取用户所选择的界面滚动速度选项;确定所述用户所选择的界面滚动速度选项对 应的基准用户滑动速度以及基准界面滚动速度;将所述基准界面滚动速度以及所述基准用户滑动速度的比值作为界面滚动速度参数。由以上第一方面第二种可能的实现方式可见,用户可以通过界面滚动速度选项,主动选择所需的界面滚动速度,以满足用户的不同需求。
结合第一方面第二种可能的实现方式,在第三种可能的实现方式中,所述根据所述界面滚动速度参数调整界面的滚动速度,包括:
获取用户对触摸屏的滑动操作的滑动速度;将所述滑动速度乘以所述界面滚动速度参数获得调整后的界面滚动速度;按照所述调整后的界面滚动速度调整界面的滚动速度。由以上第一方面第三种可能的实现方式可见,可以根据动态调整的界面滚动速度参数对界面滚动速度进行调整,即可以随着用户滑动操作动态调整界面滚动速度。
结合第一方面,在第四种可能的实现方式中,所述用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,所述根据所述用户操作,确定界面滚动速度参数,包括:
获取用户所选择的界面滚动速度选项;确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;获取所述滑动操作的滑动速度;根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。由以上第一方面第四种可能的实现方式可见,可以在用户对界面滚动速度的需求进行选择后,再根据用户的滑动速度动态调整界面滚动速度参数,可以更好的自适应调整界面滚动速度。
结合第一方面第一种可能的实现方式或者第一方面第四种可能的实现方式,在第五种可能的实现方式中,所述根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数,包括:
将所述滑动速度与基准滑动速度的比值确定为校正系数;计算所述校正系数的中心值;将所述校正系数的中心值确定为界面滚动速度参数。由以上第一方面第五种可能的实现方式可见,可以通过多次滑动操作确定界面滚动速度参数,提高确定界面滚动速度参数的准确性。
结合第一方面第五种可能的实现方式,在第六种可能的实现方式中,所述根据所述界面滚动速度参数调整界面的滚动速度,包括:
将所述界面滚动速度参数乘以所述基准界面滚动速度获得调整后的界面滚动速度;按照所述调整后的界面滚动速度调整界面的滚动速度。由以上第一方面第六种可能的实现方式可见,可以按照滚动速度参数确定调整后的界面滚动速度,从而满足用户不同的界面滚动速度的需求。
结合第一方面第二种可能的实现方式或者第一方面第四种可能的实现方式,在第七种可能的实现方式中,所述界面滚动速度选项包括通过文字标识界面滚动速度的选项和/或通过界面滚动效果标识界面滚动速度的选项。由以上第一方面第七种可能的实现方式可见,可以通过不同形式显示界面滚动速度选项,可以使用户更直观地选择所需要的界面滚动速度。
本申请第二方面提供一种终端,所述终端包括:
获取单元,用于获取用户操作;
确定单元,用于根据所述用户操作,确定界面滚动速度参数;
调整单元,用于根据所述界面滚动速度参数调整界面的滚动速度。
结合第二方面,在第一种可能的实现方式中,所述用户操作为用户对触摸屏的滑动操作,所述确定单元具体用于:
获取基准用户滑动速度、基准界面滚动速度以及所述滑动操作的滑动速度,所述基准用户滑动速度以及所述基准界面滚动速度为预先设置的;
根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
结合第二方面,在第二种可能的实现方式中,所述用户操作为在界面滚动速度选项中进行选择,所述确定单元具体用于:
获取用户所选择的界面滚动速度选项;
确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;将所述基准界面滚动速度以及所述基准用户滑动速度的比值作为界面滚动速度参数。
结合第二方面第二种可能的实现方式,在第三种可能的实现方式中,所述调整单元具体用于:
获取用户对触摸屏的滑动操作的滑动速度;
将所述滑动速度乘以所述界面滚动速度参数获得调整后的界面滚动速度;
按照所述调整后的界面滚动速度调整界面的滚动速度。
结合第二方面,在第四种可能的实现方式中,所述用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,所述确定单元具体用于:
获取用户所选择的界面滚动速度选项;
确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
获取所述滑动操作的滑动速度;
根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
结合第二方面第一种可能的实现方式或者第二方面第四种可能的实现方式,在第五种可能的实现方式中,所述确定单元还用于:
将所述滑动速度与基准滑动速度的比值确定为校正系数;计算所述校正系数的中心值;将所述校正系数的中心值确定为界面滚动速度参数。
结合第二方面第五种可能的实现方式,在第六种可能的实现方式中,所述调整单元具体用于:
将所述界面滚动速度参数乘以所述基准界面滚动速度获得调整后的界面滚动速度;
按照所述调整后的界面滚动速度调整界面的滚动速度。
结合第二方面第二种可能的实现方式或者第二方面第四种可能的实现方式,在第七种可能的实现方式中,所述界面滚动速度选项包括通过文字标识界面滚动速度的选项和/或通过界面滚动效果标识界面滚动速度的选项。
在第二方面中的各个部分的有益效果可以参考第一方面中的说明,这里不再赘述。
本申请第三方面提供一种终端,所述终端包括:
处理器以及存储器;所述存储器存储有计算机指令,其中当所述存储器中的计算机指令执行时,所述处理器用于执行以下步骤:
获取用户操作;
根据所述用户操作,确定界面滚动速度参数;
根据所述界面滚动速度参数调整界面的滚动速度。
结合第三方面,在第一种可能的实现方式中,所述用户操作为用户对触摸屏的滑动操作,所述根据所述用户操作,确定界面滚动速度参数,包括:
获取基准用户滑动速度、基准界面滚动速度以及所述滑动操作的滑动速度,所述基准用户滑动速度以及所述基准界面滚动速度为预先设置的;
根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
结合第三方面,在第二种可能的实现方式中,所述用户操作为在界面滚动速度选项中进行选择,所述根据所述用户操作,确定界面滚动速度参数,包括:
获取用户所选择的界面滚动速度选项;
确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
将所述基准界面滚动速度以及所述基准用户滑动速度的比值作为界面滚动速度参数。
结合第三方面第二种可能的实现方式,在第三种可能的实现方式中,所述根据所述界面滚动速度参数调整界面的滚动速度,包括:
获取用户对触摸屏的滑动操作的滑动速度;
将所述滑动速度乘以所述界面滚动速度参数获得调整后的界面滚动速度;
按照所述调整后的界面滚动速度调整界面的滚动速度。
结合第三方面,在第四种可能的实现方式中,所述用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,所述根据所述用户操作,确定界面滚动速度参数,包括:
获取用户所选择的界面滚动速度选项;
确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
获取所述滑动操作的滑动速度;
根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
结合第三方面第一种可能的实现方式或者第三方面第四种可能的实现方式,在第五种可能的实现方式中,所述根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数,包括:
将所述滑动速度与基准滑动速度的比值确定为校正系数;
计算所述校正系数的中心值;
将所述校正系数的中心值确定为界面滚动速度参数。
结合第三方面第五种可能的实现方式,在第六种可能的实现方式中,所述根据所述界面滚动速度参数调整界面的滚动速度,包括:
将所述界面滚动速度参数乘以所述基准界面滚动速度获得调整后的界面滚动速度;
按照所述调整后的界面滚动速度调整界面的滚动速度。
结合第三方面第二种可能的实现方式或者第三方面第四种可能的实现方式,在第七种可能的实现方式中,所述界面滚动速度选项包括通过文字标识界面滚动速度的选项和/或通过界面滚动效果标识界面滚动速度的选项。
在第三方面中的各个部分的有益效果可以参考第一方面中的说明,这里不再赘述。
本申请第四方面提供一种计算机可读存储介质,包括指令,当其在终端上运行时,使得所述终端执行上述第一方面或第一方面任一可选的实现方式的调节界面滚动速度的方法。
本申请第五方面一种包括指令的计算机程序产品,当其在终端上运行时,使得所述终端执行上述第一方面或第一方面任一可选的实现方式的调节界面滚动速度的方法。
本申请实施例中可以获取用户的操作,根据用户的操作确定界面滚动速度参数,进一步根据界面滚动速度参数调整界面的滚动速度,实现用户可以根据需求对界面滚动速度进行调整。
附图说明
图1是本申请实施例的一应用场景示意图;
图2是本申请实施例的另一应用场景示意图;
图3是本申请实施例中提供的调节界面滚动速度的方法一实施例的流程图;
图4是本申请实施例中提供的调节界面滚动速度的方法另一实施例的流程图;
图5是本申请实施例中提供的调节界面滚动速度的方法另一实施例的流程图;
图6是本申请实施例中提供的调节界面滚动速度的方法另一实施例的流程图;
图7是本申请实施例中界面滚动速度选项的一示意图;
图8是本申请实施例中界面滚动速度选项的另一示意图;
图9是本申请实施例中界面滚动速度选项的另一示意图;
图10是本申请实施例中提供的调节界面滚动速度的方法另一实施例的流程图;
图11是本申请实施例中提供的终端一实施例的示意图;
图12是本申请实施例中提供的终端另一实施例的示意图。
具体实施方式
在用户使用具有触摸屏的终端设备时,可以通过在触摸屏上进行滑动操作等方式触发界面滚动显示。在现有技术中,用户的滑动速度与界面的滚动速度存在固定的关联关系,即在某一可以滚动的界面中,当用户以某一滑动速度对触摸屏进行滑动时,界面以某一界面滚动速度进行滚动,界面滚动速度与用户的滑动速度具有固定的比例关系。但是,不同群体的用户对界面滚动速度存在不同的需求,例如老年人可能会感 觉界面滚动速度过快,即界面滚动的灵敏性过高,而年轻人可能又会感觉界面滚动速度过慢,即界面滚动的灵敏性低。因此,在现有技术中存在无法根据用户的需求对界面滚动速度进行调整的技术问题。
为此,本申请实施例提供了一种调节界面滚动速度的方法以及相应的设备,可以根据用户的操作,动态调整界面滚动速度参数,从而可以根据界面滚动速度参数调整界面的滚动速度,以达到根据用户的需求调整界面滚动速度的目的。
参见图1所示,示出了本申请实施例的一应用场景示意图,例如在终端中所显示的界面为一列表界面,列表界面如联系人列表、会话列表等等,图中示出了联系人列表,用户可以通过对触摸屏的上下滑动触发列表界面的滚动,则界面的滚动速度可以通过本申请实施例提供的方法进行调整。参见图2所示,示出了本申请实施例的另一应用场景示意图,例如在终端中所显示的界面为多个页面进行切换的界面,用户可以通过对触摸屏的左右滑动触发切换界面的滚动以显示不同的页面,则界面的滚动速度可以通过本申请实施例提供的方法进行调整。以上仅为本申请实施例应用场景的示例性说明,在实际应用中存在滚动效果的界面均可以应用本申请实施例提供的方法进行界面滚动速度的调整,本申请实施例对界面的表现形式并不进行限定。
本申请实施例中提供的调节界面滚动速度的方法可以应用于终端中,该终端具体可以为智能手机、平板电脑、电子书阅读器、动态影像专家压缩标准音频层面3(moving picture experts group audio layer III,MP3)播放器、动态影像专家压缩标准音频层面4(moving picture experts group audio layer IV,MP4)播放器、膝上型便携计算机和台式计算机等等。
参见图3所示,示出了本申请实施例中提供的调节界面滚动速度的方法一实施例的流程图,本实施例可以包括以下步骤:
步骤301:获取用户操作。
在本申请实施例中,用户操作可以为对触摸屏的滑动操作,也可以为在界面滚动速度选项中进行选择,还可以为以上两种操作的结合,即用户操作还可以为在界面滚动速度选项中进行选择之后,对触摸屏的滑动操作。可以通过检测用户对触摸屏的触发动作以获取到用户操作。
步骤302:根据用户操作,确定界面滚动速度参数。
在获取到用户操作后,可以根据用户操作动态确定界面滚动速度参数,界面滚动速度参数可以用于确定界面滚动速度。例如当用户操作为对触摸屏的滑动操作,则可以根据滑动操作的滑动速度确定界面滚动速度参数;当用户操作为在界面滚动速度选项中进行选择,则可以根据用户所选择的界面滚动速度选项确定界面滚动速度参数;当用户操作为在界面滚动速度选项中进行选择之后,对触摸屏的滑动操作,则可以根据用户所选择的界面滚动速度选项以及滑动操作的滑动速度确定界面滚动速度参数。
步骤303:根据界面滚动速度参数调整界面的滚动速度。
在本申请实施例中可以获取用户的操作,根据用户的操作确定界面滚动速度参数,进一步根据界面滚动速度参数调整界面的滚动速度,从而实现界面滚动速度参数以及界面滚动速度可以根据用户的操作进行调整,进而对于不同的用户来说可以通过不同的用户操作 确定适合的界面滚动速度,实现用户可以根据需求对界面滚动速度进行调整。
以下分别针对不同的用户操作实现界面滚动速度的调整过程进行说明。
参见图4所示,示出了本申请实施例中提供的调节界面滚动速度的方法另一实施例的流程图,针对第一种用户操作即用户操作为对触摸屏的滑动操作时,可以通过用户进行滑动操作的滑动速度调整界面滚动速度,本实施例可以包括以下步骤:
步骤401:获取用户对触摸屏的滑动操作。
当用户对触摸屏显示的界面进行滑动操作以触发滚动显示界面时,终端可以检测到该滑动操作,滑动操作的滑动方向与界面的滚动方向一致,例如界面的滚动方向为上下滚动,则用户对触摸屏的滑动操作也应为上下滑动,界面的滚动方向为左右滚动,则用户对触摸屏的滑动操作也应为左右滑动。可以理解的是,在本实施例中可以仅获取与界面的滚动方向一致的滑动操作。
步骤402:获取基准用户滑动速度、基准界面滚动速度以及滑动操作的滑动速度,基准用户滑动速度以及基准界面滚动速度为预先设置的。
在获取用户对触摸屏的滑动操作时,可以通过滑动操作的滑动距离以及滑动时间计算获得滑动操作的滑动速度,滑动距离即为用户的滑动操作作用于触摸屏上的距离,滑动时间即为用户的滑动操作作用于触摸屏上的时间。同时,可以获取到预设的基准用户滑动速度以及基准界面滚动速度。基准用户滑动速度可以作为判断用户滑动速度较快或者较慢的一基准速度,即通过滑动操作的滑动速度与基准用户滑动速度的比较可以确定用户的滑动习惯,以进一步确定界面的滑动速度。例如,当用户滑动操作的滑动速度大于基准用户滑动速度,则代表用户滑动速度较快,当用户滑动操作的滑动速度小于基准用户滑动速度,则代表用户滑动速度较慢。基准用户滑动速度可以预设在操作系统和/或有界面滚动场景的应用程序中。而基准界面滚动速度为调整界面滚动速度的一基准速度,基准界面滚动速度可以预设在操作系统和/或有界面滚动场景的应用程序中,从而在基准界面滚动速度的基础上提高或降低界面的滑动速度。
步骤403:根据滑动速度以及基准用户滑动速度确定界面滚动速度参数。
在本申请实施例中,可以通过滑动速度与基准用户滑动速度之间的比较以确定界面滚动速度参数,通过界面滚动速度参数可以进一步确定如何调整界面滚动速度。
在本申请实施例一些可能的实现方式中,根据滑动速度以及基准用户滑动速度确定界面滚动速度参数的具体实现可以包括:
将滑动速度与基准滑动速度的比值确定为校正系数;计算校正系数的中心值;将校正系数的中心值确定为界面滚动速度参数。
校正系数为滑动速度与基准滑动速度的比值,当滑动速度大于基准滑动速度,则校正系数大于1,当滑动速度小于基准滑动速度,则校正系数小于1。由于用户的滑动速度可以实时变化,则校正系数也可以跟随滑动速度的改变而改变,从而获得一组校正系数。根据实时获取的校正系数可以计算这一组校正系数的中心值,中心值可以为平均值、中位数、众位数等。用校正系数的中心值作为界面滚动速度参数可以反映用户滑动速度的整体情况,避免用户某一次滑动速度过快或过慢时调整界面滚动速度无 法真实反映用户的需求。
步骤404:将界面滚动速度参数乘以基准界面滚动速度获得调整后的界面滚动速度。
将界面滚动速度参数乘以基准界面滚动速度得到调整后的界面滚动速度,当校正系数的中心值大于1时,代表该用户为操作终端较快用户,可以提高界面的滑动速度,即可以将基准界面滚动速度加快,当校正系数的中心值小于1时,代表该用户为操作终端较慢用户,可以降低界面的滑动速度,即可以将基准界面滚动速度减慢。
步骤405:按照调整后的界面滚动速度调整界面的滚动速度。
在本申请实施例中,可以根据用户的滑动操作的滑动速度,来动态调整界面的滚动速度。通过用户的滑动速度智能识别用户类型,例如用户的滑动速度整体较快时,则提高界面的滚动速度,用户的滑动速度整体较慢时,则降低界面的滚动速度,可以更好地满足用户对界面滚动速度的需求。
参见图5所示,示出了本申请实施例中提供的调节界面滚动速度的方法另一实施例的流程图,针对第一种用户操作即用户操作为对触摸屏的滑动操作时,通过用户进行滑动操作的滑动速度调整界面滚动速度的实际应用场景中的实现过程可以包括:
步骤501:获取用户对触摸屏的滑动操作。
步骤502:根据滑动操作的滑动速度确定用户类型。
在本申请实施例中,可以计算滑动速度与基准滑动速度的比值确定为校正系数,计算校正系数的中心值,将校正系数的中心值确定为界面滚动速度参数。同时根据界面滚动速度参数可以确定用户类型,当界面滚动速度参数大于1时,代表该用户为操作终端较快用户,可以提高界面的滑动速度,当界面滚动速度参数小于1时,代表该用户为操作终端较慢用户,可以降低界面的滑动速度。计算界面滚动速度参数的过程可以随用户滑动操作的持续而持续进行。
步骤503:当用户类型为操作手机较快用户,则需要提高界面滚动速度。
步骤504:当用户类型为操作手机较慢用户,则需要降低界面滚动速度。
步骤505:记录界面滚动速度参数,返回步骤502,并进入步骤506。
界面滚动速度参数可以记录于控制界面滚动的控件中,以在界面滚动时调整界面滚动速度。
步骤506:根据界面滚动速度参数调整界面的滚动速度。
将界面滚动速度参数乘以基准界面滚动速度可以得到调整后的界面滚动速度,按照调整后的界面滚动速度可以调整界面的滚动速度。从而满足不同用户对列表滚动速度的需求。
参见图6所示,示出了本申请实施例中提供的调节界面滚动速度的方法另一实施例的流程图,针对第二种用户操作即用户操作为在界面滚动速度选项中进行选择时,可以根据用户的选择调整界面滚动速度,本实施例可以包括以下步骤:
步骤601:检测用户在界面滚动速度选项中进行选择的操作。
在本申请实施例中,首先为用户提供包括多个界面滚动速度选项的选择界面。界 面滚动速度选项可以是通过文字标识界面滚动速度的选项,也可以是通过界面滚动效果标识界面滚动速度的选项,还可以是通过文字以及界面滚动效果共同标识界面滚动速度的选项。参见图7所示,示出了本申请实施例中一种包括多个界面滚动速度选项的选择界面的示意图,例如通过文字选项:快、正常、慢标识不同的界面滚动速度以供用户选择,该种界面滚动速度选项实现简单、用户也可以直接根据需求进行选择。参见图8所示,示出了本申请实施例中另一种包括多个界面滚动速度选项的选择界面的示意图,例如可以通过不同的滚动速度的效果构成界面滚动速度选项,该种界面滚动速度选项用户可以更为直接地看到滚动速度的效果,根据需求进行选择。见图9所示,示出了本申请实施例中另一种包括多个界面滚动速度选项的选择界面的示意图,例如可以通过不同的滚动速度的效果以及对应的文字共同构成界面滚动速度选项,使用户不仅能看到界面滚动速度的效果也能了解到该效果所对应的滚动速度是快、正常或慢,更准确地完成选择。
在显示包括多个界面滚动速度选项的选择界面之后,终端可以检测到用户针对任一界面滚动速度选项的触发操作,该触发操作可以为对任一界面滚动速度选项的单击操作。
步骤602:获取用户所选择的界面滚动速度选项。
步骤603:确定用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度。
在用户对某一界面滚动速度选项进行触发操作后,可以根据触发位置以及各个界面滚动速度选项的位置确定用户所选择的界面滚动速度选项。每个界面滚动速度选项对应于一组基准用户滑动速度以及基准界面滚动速度。在本实施例中,基准用户滑动速度以及基准界面滚动速度可以共同确定界面滚动速度参数。各个界面滚动速度选项分别对应的一组基准用户滑动速度以及基准界面滚动速度可以预设在操作系统和/或有界面滚动场景的应用程序中。
步骤604:将基准界面滚动速度以及基准用户滑动速度的比值作为界面滚动速度参数。
基准界面滚动速度以及基准用户滑动速度的比值可以作为滚动速度参数,根据用户所选择的选项可以确定不同的界面滚动速度参数,滚动速度参数的大小可以确定是将基准界面滚动速度提高或降低。例如用户选择界面滚动速度快所得到的界面滚动速度参数则要大于用户选择界面滚动速度慢所得到的界面滚动速度参数。
界面滚动速度参数可以记录于控制界面滚动的控件中,以在界面滚动时调整界面滚动速度。
步骤605:获取用户对触摸屏的滑动操作的滑动速度。
在确定界面滚动速度参数后,当用户对需要滚动的界面进行滑动操作时则可以按照界面滚动速度参数对界面滚动速度进行调整。当用户对触摸屏显示的界面进行滑动操作以触发滚动显示界面时,终端可以检测到该滑动操作,滑动操作的滑动方向与界面的滚动方向一致。在获取用户对触摸屏的滑动操作时,可以通过滑动操作的滑动距 离以及滑动时间计算获得滑动操作的滑动速度。
步骤606:将滑动速度乘以界面滚动速度参数获得调整后的界面滚动速度。
基准界面滚动速度以及基准用户滑动速度的比值可以与调整后的界面滚动速度以及滑动速度的比值相同,而基准界面滚动速度以及基准用户滑动速度的比值为界面滚动速度参数,则滑动速度乘以界面滚动速度参数可以获得调整后的界面滚动速度。
步骤607:按照调整后的界面滚动速度调整界面的滚动速度。
在本申请实施例中,用户对于界面的滚动速度的需求可以通过界面滚动速度选项进行选择,则根据用户所选择的界面滚动速度选项确定界面滚动速度,例如当用户选择以较快的速度进行界面滚动时,提高调整界面的滚动速度,当用户选择以较慢的速度进行界面滚动时,降低调整界面的滚动速度,可以更好地满足用户对界面滚动速度的需求。
参见图10所示,示出了本申请实施例中提供的调节界面滚动速度的方法另一实施例的流程图,针对第三种用户操作即用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作时,可以根据用户的选择确定基准用户滑动速度以及基准界面滚动速度,再通过用户滑动操作的滑动速度确定最终的界面滚动速度,本实施例可以包括以下步骤:
步骤1001:检测用户在界面滚动速度选项中进行选择的操作。
在本申请实施例中,首先为用户提供包括多个界面滚动速度选项的选择界面。界面滚动速度选项可以是通过文字标识界面滚动速度的选项,也可以是通过界面滚动效果标识界面滚动速度的选项,还可以是通过文字以及界面滚动效果共同标识界面滚动速度的选项。参见图7所示,示出了本申请实施例中一种包括多个界面滚动速度选项的选择界面的示意图,例如通过文字选项:快、正常、慢标识不同的界面滚动速度以供用户选择,该种界面滚动速度选项实现简单、用户也可以直接根据需求进行选择。参见图8所示,示出了本申请实施例中另一种包括多个界面滚动速度选项的选择界面的示意图,例如可以通过不同的滚动速度的效果构成界面滚动速度选项,该种界面滚动速度选项用户可以更为直接地看到滚动速度的效果,根据需求进行选择。见图9所示,示出了本申请实施例中另一种包括多个界面滚动速度选项的选择界面的示意图,例如可以通过不同的滚动速度的效果以及对应的文字共同构成界面滚动速度选项,使用户不仅能看到界面滚动速度的效果也能了解到该效果所对应的滚动速度是快、正常或慢,更准确地完成选择。
在显示包括多个界面滚动速度选项的选择界面之后,终端可以检测到用户针对任一界面滚动速度选项的触发操作,该触发操作可以为对任一界面滚动速度选项的单击操作。
步骤1002:获取用户所选择的界面滚动速度选项。
步骤1003:确定用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度。
在用户对某一界面滚动速度选项进行触发操作后,可以根据触发位置以及各个界面滚动速度选项的位置确定用户所选择的界面滚动速度选项。每个界面滚动速度选项 对应于一组基准用户滑动速度以及基准界面滚动速度。例如用户选择界面滚动速度快,则基准用户滑动速度以及基准界面滚动速度可以较快,用户选择界面滚动速度慢,则基准用户滑动速度以及基准界面滚动速度可以较慢,同时用户选择界面滚动速度快时基准用户滑动速度以及基准界面滚动速度的比例比用户选择界面滚动速度慢时基准用户滑动速度以及基准界面滚动速度的比例大。
各个界面滚动速度选项分别对应的一组基准用户滑动速度以及基准界面滚动速度可以预设在操作系统和/或有界面滚动场景的应用程序中。
在用户进行选择后,还可以通过用户的滑动操作对滚动速度进行进一步调整。则基准用户滑动速度可以作为判断用户滑动速度较快或者较慢的一基准速度,而基准界面滚动速度为调整界面滚动速度的一基准速度。例如用户的滑动速度比选择的基准用户滑动速度还要快,则进一步提高界面的滚动速度,用户的滑动速度比选择的基准用户滑动速度慢,则适当降低界面的滚动速度,以使在用户选择的基础上,界面的实际滚动速度更能适应于用户的需求。
步骤1004:获取用户对触摸屏的滑动操作的滑动速度。
在确定基准用户滑动速度以及基准界面滚动速度之后,当用户对需要滚动的界面进行滑动操作时可以检测到该滑动操作,滑动操作的滑动方向与界面的滚动方向一致。在获取用户对触摸屏的滑动操作时,可以通过滑动操作的滑动距离以及滑动时间计算获得滑动操作的滑动速度。
步骤1005:根据滑动速度以及基准用户滑动速度确定界面滚动速度参数。
在本申请实施例中,可以通过滑动速度与基准用户滑动速度之间的比较以确定界面滚动速度参数,通过界面滚动速度参数可以进一步确定如何调整界面滚动速度。
在本申请实施例一些可能的实现方式中,根据滑动速度以及基准用户滑动速度确定界面滚动速度参数的具体实现可以包括:
将滑动速度与基准滑动速度的比值确定为校正系数;计算校正系数的中心值;将校正系数的中心值确定为界面滚动速度参数。
校正系数为滑动速度与基准滑动速度的比值,当滑动速度大于基准滑动速度,则校正系数大于1,当滑动速度小于基准滑动速度,则校正系数小于1。由于用户的滑动速度可以实时变化,则校正系数也可以跟随滑动速度的改变而改变,从而获得一组校正系数。根据实时获取的校正系数可以计算这一组校正系数的中心值,中心值可以为平均值、中位数、众位数等。用校正系数的中心值作为界面滚动速度参数可以反映用户滑动速度的整体情况,避免用户某一次滑动速度过快或过慢时调整界面滚动速度无法真实反映用户的需求。
界面滚动速度参数可以记录于控制界面滚动的控件中,以在界面滚动时调整界面滚动速度。
步骤1006:将界面滚动速度参数乘以基准界面滚动速度获得调整后的界面滚动速度。
将界面滚动速度参数乘以基准界面滚动速度得到调整后的界面滚动速度,当校正 系数的中心值大于1时,代表可以进一步提高界面的滑动速度,即可以将基准界面滚动速度加快,当校正系数的中心值小于1时,代表需要降低界面的滑动速度,即可以将基准界面滚动速度减慢。
步骤1007:按照调整后的界面滚动速度调整界面的滚动速度。
在本申请实施例中,用户对于界面的滚动速度的需求可以通过界面滚动速度选项进行选择,在用户进行选择后,还可以通过用户的滑动操作对滚动速度进行进一步调整,以更好地满足用户对界面滚动速度的需求。
通过以上几个实施例说明了本申请实施例中提供的调节界面滚动速度的方法实施例,本申请实施例中提供的调节界面滚动速度的方法实施例可以应用于操作系统软件中,也可以应用于各个应用程序软件中,即可以设置操作系统以及各个应用程序均统一的界面滚动速度,也可以针对不同的应用程序、不同的场景设置不同的界面滚动速度。
另外,在通过本申请实施例的方法对界面滚动速度进行调整时,还可以通知用户当前正在进行界面滚动速度的动态调整,同时用户也可以选择不应用本申请实施例的方法,仅使用固定的节目滚动速度。
参见图11所示,示出了本申请实施例中提供的终端110的一实施例,该终端可以包括:
获取单元1101,用于获取用户操作。
确定单元1102,用于根据用户操作,确定界面滚动速度参数
调整单元1103,用于根据界面滚动速度参数调整界面的滚动速度。
可选的,当用户操作可以为用户对触摸屏的滑动操作,确定单元1102可以具体用于:
获取基准用户滑动速度、基准界面滚动速度以及滑动操作的滑动速度,基准用户滑动速度以及基准界面滚动速度为预先设置的;
根据滑动速度以及基准用户滑动速度确定界面滚动速度参数。
可选的,根据滑动速度以及基准用户滑动速度确定界面滚动速度参数可以包括:将滑动速度与基准滑动速度的比值确定为校正系数;计算校正系数的中心值;将校正系数的中心值确定为界面滚动速度参数。即确定单元还可以用于将滑动速度与基准滑动速度的比值确定为校正系数;计算校正系数的中心值;将校正系数的中心值确定为界面滚动速度参数。
可选的,当用户操作为在界面滚动速度选项中进行选择,确定单元1102可以具体用于:
获取用户所选择的界面滚动速度选项;
确定用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;将基准界面滚动速度以及基准用户滑动速度的比值作为界面滚动速度参数。
可选的,当用户操作为在界面滚动速度选项中进行选择,调整单元1103可以具体用于:
获取用户对触摸屏的滑动操作的滑动速度;
将滑动速度乘以界面滚动速度参数获得调整后的界面滚动速度;
按照调整后的界面滚动速度调整界面的滚动速度。
可选的,用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,确定单元1102可以具体用于:
获取用户所选择的界面滚动速度选项;
确定用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
获取滑动操作的滑动速度;
根据滑动速度以及基准用户滑动速度确定界面滚动速度参数。
可选的,根据滑动速度以及基准用户滑动速度确定界面滚动速度参数可以包括:将滑动速度与基准滑动速度的比值确定为校正系数;计算校正系数的中心值;将校正系数的中心值确定为界面滚动速度参数。即确定单元还可以用于将滑动速度与基准滑动速度的比值确定为校正系数;计算校正系数的中心值;将校正系数的中心值确定为界面滚动速度参数。
可选的,用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,调整单元1103可以具体用于:
将界面滚动速度参数乘以基准界面滚动速度获得调整后的界面滚动速度;
按照调整后的界面滚动速度调整界面的滚动速度。
可选的,界面滚动速度选项可以包括通过文字标识界面滚动速度的选项和/或通过界面滚动效果标识界面滚动速度的选项。
在本实施例中,获取单元1101、确定单元1102、调整单元1103所实现的相关功能均可以参见上述调节界面滚动速度的方法各个实施例中的描述进行理解,本处不再重复赘述。
本申请实施例中可以获取用户的操作,根据用户的操作确定界面滚动速度参数,进一步根据界面滚动速度参数调整界面的滚动速度,实现用户可以根据需求对界面滚动速度进行调整。
图12示出的是与本发明实施例提供的终端110的部分结构的框图。参考图12,终端包括:射频(Radio Frequency,RF)电路1210、存储器1220、输入单元1230、显示单元1240、传感器1250、音频电路1260、WiFi模块1270、处理器1280、以及电源1290等部件。本领域技术人员可以理解,图12中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图12对终端的各个构成部件进行具体的介绍:
RF电路1210可用于发射或接收数据;
存储器1220可用于存储软件程序以及模块,处理器1280通过运行存储在存储器1220的软件程序以及模块,从而执行终端的各种功能应用以及数据处理。存储器1220可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应 用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1230可用于接收用户的操作指令,以及产生与终端110的用户设置以及功能控制有关的键信号输入。具体地,输入单元1230可包括触控面板1231以及其他输入设备1232。触控面板1231,也可称为触摸屏,可收集用户在其上或附近的接触或者非接触操作触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1231上或在触控面板1231附近的操作),并根据预先设定的程式驱动相应的连接终端。可选的,触控面板1231可包括触摸检测终端和触摸控制器两个部分。其中,触摸检测终端检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测终端上接收触摸信息,并将它转换成触点坐标,再送给处理器1280,并能接收处理器1280发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1231。可选的,输入单元1230还可以包括其他输入设备1232。其他输入设备1232可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元1240可用于显示界面。显示单元1240可包括显示面板1241,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1241。进一步的,触控面板1231可覆盖显示面板1241,当触控面板1231检测到在其上或附近的触摸操作后,传送给处理器1280以确定触摸事件的类型,随后处理器1280根据触摸事件的类型在显示面板1241上提供相应的视觉输出。虽然在图12中,触控面板1231与显示面板1241是作为两个独立的部件来实现终端的输入和输入功能,但是在某些实施例中,可以将触控面板1231与显示面板1241可以集成而实现终端的输入和输出功能。
终端110还可包括至少一种传感器1250。
音频电路1260、扬声器1261,传声器1262可提供用户与终端之间的音频接口。音频电路1260可将接收到的音频数据转换后的电信号,传输到扬声器1261,由扬声器1261转换为声音信号输出;另一方面,传声器1262将收集的声音信号转换为电信号,由音频电路1260接收后转换为音频数据,再将音频数据输出处理器1280处理后,经摄像头1210以发送给比如另一终端,或者将音频数据输出至存储器1220以便进一步处理。
WiFi模块1270可以用于通信。
处理器1280是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器1220内的软件程序和/或模块,以及调用存储在存储器1220内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器1280可包括一个或多个处理单元;优选的,处理器1280可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1280中。可选的, 处理器1280还可以包括显示控制等功能模块。
终端110还包括给各个部件供电的电源1290(比如电池),优选的,电源可以通过电源管理系统与处理器1280逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,终端110还可以包括摄像头、蓝牙模块等,在此不再赘述。
在本发明实施例中,该终端所包括的处理器1280还具有以下功能:
通过输入单元获取用户操作;
根据用户操作,确定界面滚动速度参数;
根据界面滚动速度参数调整显示单元所显示的界面的滚动速度。
可选的,用户操作为用户对触摸屏的滑动操作,根据用户操作,确定界面滚动速度参数,可以包括:
获取基准用户滑动速度、基准界面滚动速度以及通过输入单元获取滑动操作的滑动速度,基准用户滑动速度以及基准界面滚动速度为预先设置的;
根据滑动速度以及基准用户滑动速度确定界面滚动速度参数。
可选的,用户操作为在界面滚动速度选项中进行选择,根据用户操作,确定界面滚动速度参数,包括:
通过输入单元获取用户所选择的界面滚动速度选项;
确定用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
将基准界面滚动速度以及基准用户滑动速度的比值作为界面滚动速度参数。
可选的,根据界面滚动速度参数调整界面的滚动速度,包括:
通过输入单元获取用户对触摸屏的滑动操作的滑动速度;
将滑动速度乘以界面滚动速度参数获得调整后的界面滚动速度;
按照调整后的界面滚动速度调整显示单元所显示的界面的滚动速度。
可选的,用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,根据用户操作,确定界面滚动速度参数,包括:
通过输入单元获取用户所选择的界面滚动速度选项;
确定用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
通过输入单元获取滑动操作的滑动速度;
根据滑动速度以及基准用户滑动速度确定界面滚动速度参数。
可选的,根据滑动速度以及基准用户滑动速度确定界面滚动速度参数,包括:
将滑动速度与基准滑动速度的比值确定为校正系数;
计算校正系数的中心值;
将校正系数的中心值确定为界面滚动速度参数。
可选的,根据界面滚动速度参数调整界面的滚动速度,包括:
将界面滚动速度参数乘以基准界面滚动速度获得调整后的界面滚动速度;
按照调整后的界面滚动速度调整显示单元所显示的界面的滚动速度。
可选的,显示单元所显示的界面滚动速度选项可以包括通过文字标识界面滚动速度的选项和/或通过界面滚动效果标识界面滚动速度的选项。
结合图11以及图12,终端110中的获取单元1101可以由输入单元1230和/或处理器1280来实现,确定单元1102可以由处理器1280实现,也可以由输入单元1230以及处理器1280共同实现,调整单元1103可以由处理器1280实现,也可以由处理器1280以及显示单元1240实现,也可以由输入单元1230、显示单元1240以及处理器1280实现。
在本实施例中,关于终端110的相关描述均可以参见上述调节界面滚动速度的方法各个实施例中的描述进行理解,本处不再重复赘述。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
即本申请实施例中还提供一种计算机可读存储介质,包括指令,当其在终端上运行时,可以使得终端执行本申请实施例中提供的调节界面滚动速度的方法。
本申请实施例中还提供一种包括指令的计算机程序产品,当其在终端上运行时,可以使得终端执行本申请实施例中提供的调节界面滚动速度的方法。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (26)

  1. 一种调节界面滚动速度的方法,其特征在于,所述方法包括:
    获取用户操作;
    根据所述用户操作,确定界面滚动速度参数;
    根据所述界面滚动速度参数调整界面的滚动速度。
  2. 根据权利要求1所述的方法,其特征在于,所述用户操作为用户对触摸屏的滑动操作,所述根据所述用户操作,确定界面滚动速度参数,包括:
    获取基准用户滑动速度、基准界面滚动速度以及所述滑动操作的滑动速度,所述基准用户滑动速度以及所述基准界面滚动速度为预先设置的;
    根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
  3. 根据权利要求1所述的方法,其特征在于,所述用户操作为在界面滚动速度选项中进行选择,所述根据所述用户操作,确定界面滚动速度参数,包括:
    获取用户所选择的界面滚动速度选项;
    确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
    将所述基准界面滚动速度以及所述基准用户滑动速度的比值作为界面滚动速度参数。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述界面滚动速度参数调整界面的滚动速度,包括:
    获取用户对触摸屏的滑动操作的滑动速度;
    将所述滑动速度乘以所述界面滚动速度参数获得调整后的界面滚动速度;
    按照所述调整后的界面滚动速度调整界面的滚动速度。
  5. 根据权利要求1所述的方法,其特征在于,所述用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,所述根据所述用户操作,确定界面滚动速度参数,包括:
    获取用户所选择的界面滚动速度选项;
    确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
    获取所述滑动操作的滑动速度;
    根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
  6. 根据权利要求2或5所述的方法,其特征在于,所述根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数,包括:
    将所述滑动速度与基准滑动速度的比值确定为校正系数;
    计算所述校正系数的中心值;
    将所述校正系数的中心值确定为界面滚动速度参数。
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述界面滚动速度参数调整界面的滚动速度,包括:
    将所述界面滚动速度参数乘以所述基准界面滚动速度获得调整后的界面滚动速度;
    按照所述调整后的界面滚动速度调整界面的滚动速度。
  8. 根据权利要求3或5所述的方法,其特征在于,所述界面滚动速度选项包括通过文字标识界面滚动速度的选项和/或通过界面滚动效果标识界面滚动速度的选项。
  9. 一种终端,其特征在于,所述终端包括:
    获取单元,用于获取用户操作;
    确定单元,用于根据所述用户操作,确定界面滚动速度参数;
    调整单元,用于根据所述界面滚动速度参数调整界面的滚动速度。
  10. 根据权利要求9所述的终端,其特征在于,所述用户操作为用户对触摸屏的滑动操作,所述确定单元具体用于:
    获取基准用户滑动速度、基准界面滚动速度以及所述滑动操作的滑动速度,所述基准用户滑动速度以及所述基准界面滚动速度为预先设置的;
    根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
  11. 根据权利要求9所述的终端,其特征在于,所述用户操作为在界面滚动速度选项中进行选择,所述确定单元具体用于:
    获取用户所选择的界面滚动速度选项;
    确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;将所述基准界面滚动速度以及所述基准用户滑动速度的比值作为界面滚动速度参数。
  12. 根据权利要求11所述的终端,其特征在于,所述调整单元具体用于:
    获取用户对触摸屏的滑动操作的滑动速度;
    将所述滑动速度乘以所述界面滚动速度参数获得调整后的界面滚动速度;
    按照所述调整后的界面滚动速度调整界面的滚动速度。
  13. 根据权利要求9所述的终端,其特征在于,所述用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,所述确定单元具体用于:
    获取用户所选择的界面滚动速度选项;
    确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
    获取所述滑动操作的滑动速度;
    根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
  14. 根据权利要求10或13所述的终端,其特征在于,所述确定单元还用于:
    将所述滑动速度与基准滑动速度的比值确定为校正系数;计算所述校正系数的中心值;将所述校正系数的中心值确定为界面滚动速度参数。
  15. 根据权利要求14所述的终端,其特征在于,所述调整单元具体用于:
    将所述界面滚动速度参数乘以所述基准界面滚动速度获得调整后的界面滚动速度;
    按照所述调整后的界面滚动速度调整界面的滚动速度。
  16. 根据权利要求11或13所述的终端,其特征在于,所述界面滚动速度选项包括通过文字标识界面滚动速度的选项和/或通过界面滚动效果标识界面滚动速度的选 项。
  17. 一种终端,其特征在于,所述终端包括:
    处理器以及存储器;所述存储器存储有计算机指令,其中当所述存储器中的计算机指令执行时,所述处理器用于执行以下步骤:
    获取用户操作;
    根据所述用户操作,确定界面滚动速度参数;
    根据所述界面滚动速度参数调整界面的滚动速度。
  18. 根据权利要求17所述的终端,其特征在于,所述用户操作为用户对触摸屏的滑动操作,所述根据所述用户操作,确定界面滚动速度参数,包括:
    获取基准用户滑动速度、基准界面滚动速度以及所述滑动操作的滑动速度,所述基准用户滑动速度以及所述基准界面滚动速度为预先设置的;
    根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
  19. 根据权利要求17所述的终端,其特征在于,所述用户操作为在界面滚动速度选项中进行选择,所述根据所述用户操作,确定界面滚动速度参数,包括:
    获取用户所选择的界面滚动速度选项;
    确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
    将所述基准界面滚动速度以及所述基准用户滑动速度的比值作为界面滚动速度参数。
  20. 根据权利要求19所述的终端,其特征在于,所述根据所述界面滚动速度参数调整界面的滚动速度,包括:
    获取用户对触摸屏的滑动操作的滑动速度;
    将所述滑动速度乘以所述界面滚动速度参数获得调整后的界面滚动速度;
    按照所述调整后的界面滚动速度调整界面的滚动速度。
  21. 根据权利要求17所述的终端,其特征在于,所述用户操作为在界面滚动速度选项中进行选择之后,进行对触摸屏的滑动操作,所述根据所述用户操作,确定界面滚动速度参数,包括:
    获取用户所选择的界面滚动速度选项;
    确定所述用户所选择的界面滚动速度选项对应的基准用户滑动速度以及基准界面滚动速度;
    获取所述滑动操作的滑动速度;
    根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数。
  22. 根据权利要求18或21所述的终端,其特征在于,所述根据所述滑动速度以及所述基准用户滑动速度确定界面滚动速度参数,包括:
    将所述滑动速度与基准滑动速度的比值确定为校正系数;
    计算所述校正系数的中心值;
    将所述校正系数的中心值确定为界面滚动速度参数。
  23. 根据权利要求22所述的终端,其特征在于,所述根据所述界面滚动速度参数 调整界面的滚动速度,包括:
    将所述界面滚动速度参数乘以所述基准界面滚动速度获得调整后的界面滚动速度;
    按照所述调整后的界面滚动速度调整界面的滚动速度。
  24. 根据权利要求19或21所述的终端,其特征在于,所述界面滚动速度选项包括通过文字标识界面滚动速度的选项和/或通过界面滚动效果标识界面滚动速度的选项。
  25. 一种计算机可读存储介质,其特征在于,包括指令,当其在终端上运行时,使得所述终端执行如权利要求1-8任一项所述的调节界面滚动速度的方法。
  26. 一种包括指令的计算机程序产品,其特征在于,当其在终端上运行时,使得所述终端执行如权利要求1-8任一项所述的调节界面滚动速度的方法。
PCT/CN2017/095634 2017-03-29 2017-08-02 调节界面滚动速度的方法及相关设备、计算机程序产品 WO2018176711A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP17902983.0A EP3605298A4 (en) 2017-03-29 2017-08-02 METHOD FOR ADAPTING THE SCROLLING SPEED OF AN INTERFACE, RELATED DEVICE AND COMPUTER PROGRAM PRODUCT
AU2017407719A AU2017407719B2 (en) 2017-03-29 2017-08-02 Method for adjusting scrolling speed of interface, related device, and computer program product
US16/499,071 US10901598B2 (en) 2017-03-29 2017-08-02 Method for adjusting interface scrolling speed, related device, and computer program product
CN201780009423.1A CN109074211B (zh) 2017-03-29 2017-08-02 调节界面滚动速度的方法及相关设备

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710198380 2017-03-29
CN201710198380.8 2017-03-29

Publications (1)

Publication Number Publication Date
WO2018176711A1 true WO2018176711A1 (zh) 2018-10-04

Family

ID=63674075

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095634 WO2018176711A1 (zh) 2017-03-29 2017-08-02 调节界面滚动速度的方法及相关设备、计算机程序产品

Country Status (5)

Country Link
US (1) US10901598B2 (zh)
EP (1) EP3605298A4 (zh)
CN (1) CN109074211B (zh)
AU (1) AU2017407719B2 (zh)
WO (1) WO2018176711A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625178A (zh) * 2020-05-29 2020-09-04 深圳传音控股股份有限公司 移动终端的控制方法、终端设备及存储介质
WO2022222771A1 (zh) * 2021-04-22 2022-10-27 华为技术有限公司 界面显示方法,电子设备以及计算机可读介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783338A (zh) * 2019-11-08 2021-05-11 致伸科技股份有限公司 鼠标装置及利用鼠标装置进行控制的方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110265039A1 (en) * 2010-04-22 2011-10-27 Palm, Inc. Category-based list navigation on touch sensitive screen
US8686944B1 (en) * 2006-08-23 2014-04-01 Logitech Europe S.A. Software for input devices with application-specific scrolling and highlighted text searching
CN103838510A (zh) * 2014-02-27 2014-06-04 北京六间房科技有限公司 一种界面控制装置
CN104038834A (zh) * 2014-05-19 2014-09-10 乐视网信息技术(北京)股份有限公司 一种视频定位方法和装置
CN104216625A (zh) * 2013-05-31 2014-12-17 华为技术有限公司 显示对象显示位置的调整方法和终端设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8839155B2 (en) 2009-03-16 2014-09-16 Apple Inc. Accelerated scrolling for a multifunction device
US9812091B2 (en) * 2011-02-18 2017-11-07 Kyocera Corporation Automatic scrolling speed control by tracking user's eye
US8643680B2 (en) * 2011-04-08 2014-02-04 Amazon Technologies, Inc. Gaze-based content display
CN103365577A (zh) 2012-03-28 2013-10-23 联想(北京)有限公司 一种控制方法及具有触摸屏的电子设备
CN103809891B (zh) * 2012-11-13 2016-04-13 腾讯科技(深圳)有限公司 页面切换方法和装置
KR102062310B1 (ko) * 2013-01-04 2020-02-11 삼성전자주식회사 전자 장치에서 헤드 트래킹 기술을 이용하여 제어 서비스를 제공하기 위한 장치 및 방법
CN105122200A (zh) 2013-03-29 2015-12-02 惠普发展公司,有限责任合伙企业 可调节时间轴用户界面
CN104636048A (zh) 2015-01-26 2015-05-20 上海天奕达电子科技有限公司 一种页面内容滚动显示的方法和装置
CN105718173B (zh) 2016-01-19 2019-12-10 宇龙计算机通信科技(深圳)有限公司 终端操控方法、终端操控装置和终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8686944B1 (en) * 2006-08-23 2014-04-01 Logitech Europe S.A. Software for input devices with application-specific scrolling and highlighted text searching
US20110265039A1 (en) * 2010-04-22 2011-10-27 Palm, Inc. Category-based list navigation on touch sensitive screen
CN104216625A (zh) * 2013-05-31 2014-12-17 华为技术有限公司 显示对象显示位置的调整方法和终端设备
CN103838510A (zh) * 2014-02-27 2014-06-04 北京六间房科技有限公司 一种界面控制装置
CN104038834A (zh) * 2014-05-19 2014-09-10 乐视网信息技术(北京)股份有限公司 一种视频定位方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3605298A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625178A (zh) * 2020-05-29 2020-09-04 深圳传音控股股份有限公司 移动终端的控制方法、终端设备及存储介质
WO2022222771A1 (zh) * 2021-04-22 2022-10-27 华为技术有限公司 界面显示方法,电子设备以及计算机可读介质

Also Published As

Publication number Publication date
CN109074211A (zh) 2018-12-21
EP3605298A1 (en) 2020-02-05
AU2017407719B2 (en) 2021-01-28
AU2017407719A1 (en) 2019-11-14
US20200042162A1 (en) 2020-02-06
US10901598B2 (en) 2021-01-26
EP3605298A4 (en) 2020-05-13
CN109074211B (zh) 2021-08-31

Similar Documents

Publication Publication Date Title
US9965074B2 (en) Device, method, and graphical user interface for transitioning between touch input to display output relationships
US10397649B2 (en) Method of zooming video images and mobile display terminal
TWI585672B (zh) 電子顯示裝置及圖標控制方法
CN103210366B (zh) 用于基于邻近的输入的装置和方法
US20230068100A1 (en) Widget processing method and related apparatus
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
US10423264B2 (en) Screen enabling method and apparatus, and electronic device
US10860857B2 (en) Method for generating video thumbnail on electronic device, and electronic device
CN103853439B (zh) 终端和翻页方法
EP3731077A1 (en) Method for editing text, and mobile device
WO2013135169A1 (zh) 一种输入法键盘的调整方法及其移动终端
WO2020238647A1 (zh) 手势交互方法和终端
WO2020001358A1 (zh) 图标的整理方法及终端设备
WO2017035818A1 (zh) 控制电子设备的方法、装置及电子设备
WO2018176711A1 (zh) 调节界面滚动速度的方法及相关设备、计算机程序产品
CN109683802B (zh) 一种图标移动方法及终端
WO2020119517A1 (zh) 输入法的控制方法及终端设备
US10908868B2 (en) Data processing method and mobile device
WO2014094456A1 (zh) 页面切换方法、装置及终端
KR20170066592A (ko) 다중 스테이지 사용자 인터페이스
WO2021088707A1 (zh) 应用程序界面的交互方法和电子设备
WO2018039914A1 (zh) 一种数据复制方法及用户终端
CN110221741B (zh) 图标管理方法及终端设备
WO2017016344A1 (zh) 一种图像变形处理方法、装置及存储介质
US20170277417A1 (en) Method for Adjusting Setting and Terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17902983

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017902983

Country of ref document: EP

Effective date: 20191029

ENP Entry into the national phase

Ref document number: 2017407719

Country of ref document: AU

Date of ref document: 20170802

Kind code of ref document: A