Movatterモバイル変換


[0]ホーム

URL:


CN105426089A - Method and module for implementing scroll bar function and adjustment method using same - Google Patents

Method and module for implementing scroll bar function and adjustment method using same
Download PDF

Info

Publication number
CN105426089A
CN105426089ACN201510808056.4ACN201510808056ACN105426089ACN 105426089 ACN105426089 ACN 105426089ACN 201510808056 ACN201510808056 ACN 201510808056ACN 105426089 ACN105426089 ACN 105426089A
Authority
CN
China
Prior art keywords
scroll bar
length
default
adjustment
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510808056.4A
Other languages
Chinese (zh)
Inventor
李承敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wind Communication Technologies Co Ltd
Original Assignee
Shanghai Wind Communication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wind Communication Technologies Co LtdfiledCriticalShanghai Wind Communication Technologies Co Ltd
Priority to CN201510808056.4ApriorityCriticalpatent/CN105426089A/en
Publication of CN105426089ApublicationCriticalpatent/CN105426089A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention relates to electronic technology, and discloses a method and a module for implementing a scroll bar function and an adjustment method using the same. According to the method, computing the duration of the press information input by a user, and computing the adjustment length of a scroll bar according to the duration and a preset unit step length, then computing the target length of the scroll bar according to the adjustment length and the initial length of the scroll bar, and thereby achieving the scroll bar function. The corresponding implementing module comprises a pressure sensing unit, a timing unit and a computing unit. The method for implementing the scroll bar function is applied to a volume or screen brightness adjustment method, for generating the target length of the scroll bar representing the volume or screen brightness, and adjusting the scroll bar representing the volume or screen brightness to the target length. According to the method and the module provided by the invention, another adjustment mode is provided, and thereby different use experience is provided for the user.

Description

The implementation method of scrollbar functionality, module and apply its control method
Technical field
The present invention relates to electronic technology field, particularly the implementation method of scrollbar functionality, module and apply its control method.
Background technology
Along with the development of science and technology, be that huge numbers of families come into by the electronic equipment of representative with smart mobile phone, daily life more and more be unable to do without electronic equipment, but As time goes on, mobile system becomes increasingly complex, in prior art, the various second-level directory of slide handover that needs is for user, use more and more loaded down with trivial details, mobile phone operation more and more bothers, thus brings bad experience.
Summary of the invention
The object of the present invention is to provide a kind of implementation method of scrollbar functionality, module and apply its control method, make, by said method and module, to provide another kind of regulative mode, thus be supplied to the different experience of user.
For solving the problems of the technologies described above, embodiments of the present invention provide a kind of implementation method of scrollbar functionality, comprise following steps: the lasting duration calculating the pressing information of user's input; According to described lasting duration and default one step, calculate the adjustment length of described scroll bar; According to the initial length of described adjustment length and scroll bar, calculate the target length of described scroll bar.
Embodiments of the present invention additionally provide the control method of a kind of volume or screen intensity, comprise following steps: the implementation method applying above-mentioned scrollbar functionality, produce the target length of the scroll bar characterizing volume or screen intensity, the scroll bar of described sign volume or screen intensity is adjusted to described target length.
What embodiments of the present invention additionally provided a kind of scrollbar functionality realizes module, and be applied to the implementation method of scrollbar functionality, the module that realizes of described scrollbar functionality comprises: pressure sensing cells, timing unit and computing unit; Described pressure sensing cells is for receiving the pressing information of user's input; Described timing unit is for calculating the lasting duration of described pressing information; Described computing unit is used for according to described lasting duration and default one step, calculates the adjustment length of described scroll bar; And according to the initial length of described adjustment length and scroll bar, calculate the target length of described scroll bar.
In terms of existing technologies, the module that realizes of scrollbar functionality comprises embodiment of the present invention: pressure sensing cells, timing unit and computing unit.Owing to can be received the pressing information of user's input by pressure sensing cells, timing unit calculates the lasting duration of pressing information, and according to lasting duration and default one step, calculate the adjustment length of scroll bar, then according to regulating length and the initial length after upgrading, calculate the target length of scroll bar, thus provide another kind of regulative mode; Also because the method can by producing the target length of the scroll bar characterizing volume or screen intensity, then the scroll bar characterizing volume or screen intensity is adjusted to target length, thus be applied on electronic equipment, without the need to considering the model of electronic equipment, be applicable to various electronic equipment, therefore can be supplied to the different experience of user by said method.
In addition, according to described lasting duration and default one step, calculate the step of the adjustment length of described scroll bar, comprise following sub-step: according to described lasting duration and default unit time, material calculation number; According to described step-length number and described default one step, calculate the adjustment length of described scroll bar.The concrete steps of the adjustment length of the acquisition scroll bar that this step has been refinement, by this step increases practicality of the present invention, are conducive to the present invention's popularization in actual applications.
In addition, described pressing information at least comprises pressing force grade; According to described lasting duration and default unit time, before the sub-step of material calculation number, also comprise following sub-step: obtain the described default unit time that described pressing force grade is corresponding.Pressing force grade is different, and corresponding default unit time is also just different; That is, when lasting duration is identical, the adjustment length of the scroll bar that different pressing force grades is corresponding is also just different, thus makes operation of the present invention finer and smoother, and touch-control is more accurate, is conducive to the experience improving user.
In addition, at the initial length according to described adjustment length and scroll bar, before calculating the step of the target length of described scroll bar, also following steps are comprised: upgrade described initial length according to described pressing force grade and described default one step; At the initial length according to described adjustment length and scroll bar, calculate in the step of the target length of described scroll bar: according to the initial length after described adjustment length and described renewal, calculate the target length of described scroll bar.By making initial length adjust, make embodiments of the present invention more flexible and changeable.
In addition, the initial length after described renewal is the initial length sum before the sum of products of described pressing force grade and described default one step upgrades.Further illustrate the concrete update mode of initial length, thus perfect using method of the present invention, be conducive to popularization of the present invention.
In addition, described pressing information also comprises area pressed number; At the initial length according to described adjustment length and scroll bar, before calculating the step of the target length of described scroll bar, also comprise following steps: identifying current shaping modes according to described area pressed number is rise pattern or downward pattern; Wherein, if described current shaping modes is rise pattern, then the target length of described scroll bar is the initial length of described scroll bar and described adjustment length sum; If described current shaping modes is downward pattern, then the target length of described scroll bar is the initial length of described scroll bar and the difference of described adjustment length.Shaping modes is divided into rise pattern and downward pattern by this step, make target length can for initial length with regulate length sum, the difference both also can be, thus perfect further embodiments of the present invention, add practicality of the present invention.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the implementation method according to first embodiment of the invention scrollbar functionality;
Fig. 2 is the schematic flow sheet of the implementation method according to second embodiment of the invention scrollbar functionality.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the embodiments of the present invention are explained in detail.But, persons of ordinary skill in the art may appreciate that in each embodiment of the present invention, proposing many ins and outs to make reader understand the application better.But, even without these ins and outs with based on the many variations of following embodiment and amendment, each claim of the application technical scheme required for protection also can be realized.
First embodiment of the present invention relates to a kind of implementation method of scrollbar functionality.Idiographic flow as shown in Figure 1.
Step 101, calculates the lasting duration of the pressing information of user's input.
Specifically, user is Continued depression on the touch screen of electronic equipment, the pressing information such as pressing coordinate that user touches, compressing time point corresponding to pressing coordinate, pressing termination time point, pressing force grade that pressing coordinate is corresponding recorded by electronic equipment, then calculate according to pressing start time point and pressing termination time point the lasting duration that user inputs pressing information.Such as pressing start time point is 07:34:00, pressing termination time point is 07:37:00, and so continuing duration is just 07:37:00-07:34:00=3 second.Then, step 102 is entered.
Step 102, according to lasting duration and default one step, calculates the adjustment length of scroll bar, is specifically divided into sub-step 1021,1022 and 1033.
Sub-step 1021, obtains the default unit time that pressing force grade is corresponding.
Specifically, owing to comprising pressing force grade in pressing information, and pressing force grade is different, and corresponding default unit time is also different, so need to obtain according to pressing force grade to preset unit time.Such as the relation of pressing force grade and default unit time can as shown in Table 1:
Pressing force gradeDefault unit time (second/step)
01.2
11.1
21.0
30.9
40.8
50.7
60.6
70.5
Form 1
It should be noted that, only have when user starts to press, pressing force grade is constant, and after keeping the valid function identification duration preset, electronic equipment just can think that this is valid function, and then presets unit time according to pressing force hierarchical selection.Such as valid function identification duration is 1 second; Now, if the lasting duration of user's pressing is less than 1 second, then electronic equipment thinks that this is invalid operation; If be more than or equal to 1 second, then electronic equipment identifies pressing force grade now, and obtains default unit time corresponding to this pressing force grade according to form 1.Then, sub-step 1022 is entered.
Sub-step 1022, according to lasting duration and default unit time, material calculation number.
Specifically, the lasting duration that electronic equipment is measured according to step 101 and the default unit time that step 1021 obtains, material calculation number.Such as, the lasting duration that step 101 is measured is 3 seconds, the default unit time that sub-step 1021 obtains is 1.0 seconds/step, if need the duration keeping pressing force grade constant to be 1 second according to pressing force hierarchical selection unit time, so in first second, scroll bar does not increase, and calculates step-length number to be: 2 × 1.0=2.0 walks.Then, sub-step 1023 is entered.
Sub-step 1023, according to step-length number and default one step, calculates the adjustment length of scroll bar.
Specifically, the step-length number that electronic equipment obtains according to sub-step 1022 and default one step, can calculate the adjustment length of scroll bar.Such as it is 2 steps that step 1022 obtains step-length number, default one step is 1 lattice/step, and so the adjustment length of scroll bar is: 2 × 1=2 lattice.Then, step 103 is entered.
Step 103, to step 106, according to the initial length regulating length and scroll bar, calculates the target length of scroll bar.Shown in specific as follows.
According to area pressed number, step 103, judges whether current shaping modes is rise pattern.If so, then step 105 is entered; If not, then step 104 is entered.
Specifically, according to the area pressed number that user presses on an electronic device, electronic equipment judges whether current shaping modes is rise pattern.Wherein, current shaping modes is the default area pressed number of rise pattern to be N, N be greater than zero integer.Such as N was 1 (such as singly referring to that pressing represents rise pattern), if so area pressed number is 3, so electronic equipment judges that current shaping modes is not rise pattern, enters step 104; If area pressed number is 1, electronic equipment judges that current shaping modes is rise pattern, enters step 105.
According to area pressed number, step 104, judges whether current shaping modes is downward pattern.If so, then step 106 is entered; If not, then whole flow process is terminated.
Specifically, after step 103 judges that current shaping modes is not rise pattern, in this step, judge whether current adjustment number is downward pattern according to the number of area pressed, wherein current shaping modes is the default area pressed number of downward pattern to be M, M be greater than 1 integer.Such as: M is 2 (such as two finger pressing represents downward pattern), if so area pressed number is 3, current shaping modes is not downward pattern, terminates whole flow process; If area pressed number is 2, so current shaping modes is downward pattern, enters step 106.
Therefore, namely step 103,104 achieves and identifies according to described area pressed number the object that current shaping modes is rise pattern or the pattern of downward.
Step 105: the target length calculating scroll bar.Wherein, the target length of scroll bar is the initial length of scroll bar and adjustment length sum.
Specifically, due under rise pattern, the target length of scroll bar is the initial length of scroll bar and adjustment length sum, so after step 103 judges that current shaping modes is rise pattern, according to target length=initial length+adjustment length, the target length of scroll bar can be calculated.Such as the adjustment length that sub-step 1023 obtains is 2 lattice, the initial length that step 103 obtains is 0 lattice, and so the target length of scroll bar is 2 lattice+0 lattice=2 lattice.Finally, terminate this flow process, electronic equipment regulates the length of scroll bar according to target length.
Step 106: the target length calculating scroll bar.Wherein, the target length of scroll bar is the initial length of scroll bar and the difference regulating length.
Specifically, due under downward pattern, the target length of scroll bar is the initial length of scroll bar and the difference regulating length, so after step 104 judges that current shaping modes is downward pattern, according to target length=initial length-adjustment length, the target length of scroll bar can be calculated.Such as the adjustment length that sub-step 1023 obtains is 2 lattice, the initial length that step 103 obtains is 6 lattice, and so the target length of scroll bar is 6 lattice-2 lattice=4 lattice.Finally, terminate this flow process, the length of regulation of electronics scroll bar.
Therefore, namely step 103,104 achieves according to different mode, calculates the object of the target length of scroll bar in different ways.
Pass through present embodiment, owing to can be received the pressing information of user's input by pressure sensing cells, timing unit calculates the lasting duration of pressing information, and according to lasting duration and default one step, calculating the adjustment length of scroll bar, then according to regulating length and the initial length after upgrading, calculating the target length of scroll bar, thus another kind of regulative mode can be provided, thus be supplied to the different experience of user.
Second embodiment of the present invention relates to a kind of implementation method of scrollbar functionality.Second embodiment is roughly the same with the first embodiment, main improvements are: as shown in Figure 2, in second embodiment of the invention, at the initial length according to adjustment length and scroll bar, before calculating the step of the target length of scroll bar, add the step upgrading initial length according to pressing force grade and default one step, wherein, initial length after renewal is the initial length sum before the sum of products of pressing force grade and default one step upgrades, by utilizing pressing force grade and default one step, adjustment initial length, make embodiments of the present invention more flexible and changeable.
Step 201 in present embodiment, 202 with the step 101 in the first embodiment, 102 embodiment identical, do not repeat herein.
Step 203, according to pressing force grade and default one step, upgrades initial length.
Specifically, if in present embodiment, the relation of pressing force grade and scroll bar redirect step-length number as shown in Table 2.
Pressing force gradeScroll bar redirect step-length number (step)
00
11
22
33
44
55
66
77
Form 2
So, before presetting unit time according to pressing force hierarchical selection, first electronic equipment can start the step-length number of the pressing force hierarchical selection scroll bar redirect pressed according to user, such as, scroll bar is equally divided into 20 lattice, if the pressing force grade starting to press is 2, so scroll bar redirect step-length number is 2 steps, if presetting one step number is 1 lattice/step, so the length of scroll bar redirect is 2 step × 1 lattice/step=2 lattice, if initial length is 0 lattice, the initial length after so upgrading is: 0 lattice+2 lattice=2 lattice.Then, step 204 is entered.
Step 204 in present embodiment is roughly the same to the embodiment of step 106 with the step 103 in the first embodiment to step 207, and difference part is: the initial length in present embodiment step 206, step 207 is the initial length after upgrading in step 203; And the initial length of the first embodiment step 105, step 106 is the initial length before upgrading.
By present embodiment, the implementation method of scrollbar functionality of the present invention can be improved, improve the experience of user further.
The step of various method divides above, just in order to be described clearly, can merge into a step or splitting some step, being decomposed into multiple step, when realizing as long as comprise identical logical relation, all in the protection domain of this patent; To adding inessential amendment in algorithm or in flow process or introducing inessential design, but the core design not changing its algorithm and flow process is all in the protection domain of this patent.
Third embodiment of the invention relates to the control method of a kind of volume or screen intensity, comprise following steps: the implementation method applying the scrollbar functionality in the first embodiment or the second embodiment, produce the target length of the scroll bar characterizing volume or screen intensity; The scroll bar characterizing volume or screen intensity is adjusted to target length.
The embodiment of present embodiment is roughly the same with the embodiment of the first embodiment or the second embodiment, does not repeat herein.
By present embodiment, add embody rule mode of the present invention, thus add practicality of the present invention, be conducive to the present invention's popularization in actual applications.
What four embodiment of the invention related to a kind of scrollbar functionality realizes module, is applied to the implementation method of scrollbar functionality in the first embodiment or the second embodiment.
The module that realizes of scrollbar functionality comprises: pressure sensing cells, timing unit and computing unit.Wherein, pressure sensing cells is for receiving the pressing information of user's input; Timing unit is for calculating the lasting duration of pressing; Computing unit is used for, according to continuing duration and default one step, calculating the adjustment length of scroll bar, and according to regulating the initial length of length and scroll bar, calculates the target length of scroll bar.
It is worth mentioning that, in present embodiment, pressure sensing cells is 3D touch control unit.By present embodiment, perfect structure of the present invention, thus be conducive to the present invention's popularization in actual applications.
Be not difficult to find, present embodiment is the system embodiment corresponding with the first embodiment or the second embodiment, and present embodiment can be worked in coordination with the first embodiment or the second embodiment and be implemented.The relevant technical details mentioned in first embodiment or the second embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the first embodiment or the second embodiment.
It is worth mentioning that, each module involved in present embodiment is logic module, and in actual applications, a logical block can be a physical location, also can be a part for a physical location, can also realize with the combination of multiple physical location.In addition, in order to outstanding innovative part of the present invention, the unit not too close with solving technical matters relation proposed by the invention is not introduced in present embodiment, but this does not show the unit that there is not other in present embodiment.
Persons of ordinary skill in the art may appreciate that the respective embodiments described above realize specific embodiments of the invention, and in actual applications, various change can be done to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (9)

CN201510808056.4A2015-11-192015-11-19Method and module for implementing scroll bar function and adjustment method using samePendingCN105426089A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510808056.4ACN105426089A (en)2015-11-192015-11-19Method and module for implementing scroll bar function and adjustment method using same

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510808056.4ACN105426089A (en)2015-11-192015-11-19Method and module for implementing scroll bar function and adjustment method using same

Publications (1)

Publication NumberPublication Date
CN105426089Atrue CN105426089A (en)2016-03-23

Family

ID=55504327

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510808056.4APendingCN105426089A (en)2015-11-192015-11-19Method and module for implementing scroll bar function and adjustment method using same

Country Status (1)

CountryLink
CN (1)CN105426089A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107908323A (en)*2017-11-102018-04-13上海联影医疗科技有限公司Medical image display method, device and computer-readable storage medium
CN110989907A (en)*2019-11-272020-04-10浙江大华技术股份有限公司Data display method and device, electronic equipment and storage medium
CN112445409A (en)*2019-09-032021-03-05中移(苏州)软件技术有限公司Waterfall flow information display method and device, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101446884A (en)*2008-12-192009-06-03腾讯科技(深圳)有限公司Touch screen device and scrolling method thereof
CN102662573A (en)*2012-03-242012-09-12上海量明科技发展有限公司Method and terminal for obtaining options by pressing
US20120274591A1 (en)*2004-12-212012-11-01Microsoft CorporationPressure sensitive controls
CN103838478A (en)*2012-11-202014-06-04联想(北京)有限公司Information processing method and electronic device
CN103870181A (en)*2012-12-142014-06-18联想(北京)有限公司Handheld device control method, handheld device control device and handheld device
CN105045489A (en)*2015-08-272015-11-11广东欧珀移动通信有限公司Button control method and apparatus
CN105068692A (en)*2015-08-272015-11-18广东欧珀移动通信有限公司Volume adjustment method and user terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120274591A1 (en)*2004-12-212012-11-01Microsoft CorporationPressure sensitive controls
CN101446884A (en)*2008-12-192009-06-03腾讯科技(深圳)有限公司Touch screen device and scrolling method thereof
CN102662573A (en)*2012-03-242012-09-12上海量明科技发展有限公司Method and terminal for obtaining options by pressing
CN103838478A (en)*2012-11-202014-06-04联想(北京)有限公司Information processing method and electronic device
CN103870181A (en)*2012-12-142014-06-18联想(北京)有限公司Handheld device control method, handheld device control device and handheld device
CN105045489A (en)*2015-08-272015-11-11广东欧珀移动通信有限公司Button control method and apparatus
CN105068692A (en)*2015-08-272015-11-18广东欧珀移动通信有限公司Volume adjustment method and user terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107908323A (en)*2017-11-102018-04-13上海联影医疗科技有限公司Medical image display method, device and computer-readable storage medium
CN107908323B (en)*2017-11-102021-03-23上海联影医疗科技股份有限公司Medical image display method, apparatus and computer storage medium
CN112445409A (en)*2019-09-032021-03-05中移(苏州)软件技术有限公司Waterfall flow information display method and device, terminal and storage medium
CN112445409B (en)*2019-09-032022-03-29中移(苏州)软件技术有限公司Waterfall flow information display method and device, terminal and storage medium
CN110989907A (en)*2019-11-272020-04-10浙江大华技术股份有限公司Data display method and device, electronic equipment and storage medium
CN110989907B (en)*2019-11-272021-06-15浙江大华技术股份有限公司Data display method and device, electronic equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN104461486B (en)The method, apparatus and system that animation effect is realized in a kind of Webpage
CN103686281B (en)Analog mouse controls method, remote control and the mobile terminal of intelligent television
CN104317452B (en)Method for controlling large-screen intelligent device
CN105426089A (en)Method and module for implementing scroll bar function and adjustment method using same
CN105653071A (en)Information processing method and electronic device
CN104461254B (en)control method and device
CN104850341A (en)Mobile terminal and application icon display method thereof
CN104123079A (en)Method and device for adjusting position of progress bars
CN104345944A (en)Device and method for adaptively adjusting layout of touch input panel and mobile terminal
AU2013284042B2 (en)Adjusting layout size of hyperlink
CN102902407A (en)Method and equipment for touch handwriting inputting and displaying of touch screen
CN105677223A (en)Press touch method and device
CN106125963A (en)On a kind of equipment without pressure sensitivity former person's handwriting Handwriting Signature System and the former person's handwriting of PDF document hand-written sign method
CN104102407A (en)Parameter input method and system
CN103377093A (en)Multimedia synchronizing method for multiple-system device and electronic device
CN105630241A (en)Scaling method and system for screen displayed content
CN104932790A (en)Information processing method and electronic equipment
CN108376030A (en)Control method, device and the electronic equipment of a kind of electronic equipment
CN105739884A (en)Gesture event generation method and electronic device
CN105159499A (en)Luminance enhancing method and device, luminance reduction method and device, and terminal
CN106354273B (en)A kind of method and smart machine manipulating smart machine
CN108345390B (en)Auxiliary input method and device and electronic equipment applying same
CN105159461A (en)Terminal control method
CN104571653A (en)Electronic equipment auxiliary device
CN104881233B (en)Sliding control method and device in touch interface

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20160323

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp