CN105824606A - Scroll input method and terminal - Google Patents

Scroll input method and terminal Download PDF

Info

Publication number
CN105824606A
CN105824606A CN201510005959.9A CN201510005959A CN105824606A CN 105824606 A CN105824606 A CN 105824606A CN 201510005959 A CN201510005959 A CN 201510005959A CN 105824606 A CN105824606 A CN 105824606A
Authority
CN
China
Prior art keywords
parameter value
character string
target type
input module
string identification
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.)
Granted
Application number
CN201510005959.9A
Other languages
Chinese (zh)
Other versions
CN105824606B (en
Inventor
李津
廖兆龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510005959.9A priority Critical patent/CN105824606B/en
Publication of CN105824606A publication Critical patent/CN105824606A/en
Application granted granted Critical
Publication of CN105824606B publication Critical patent/CN105824606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiments of the present invention disclose a scroll input method and a terminal. The scroll input method comprises the steps of when clicking a preset target DOM click event is triggered, obtaining target type character string identification and target parameter character string identification on the target DOM click event; displaying a scroll input component panel comprising parameter value information corresponding to the target type according to the target type character string identification and the target parameter character string identification, wherein the parameter value information corresponding to the target type comprises current parameter values and preset selective parameter value information; obtaining a target parameter value scrolled and selected by a user according to a scroll input component; and when a preset update condition is satisfied, concealing the scroll input component panel, and updating the current parameter value into the target parameter value. Information input and selection are convenient, and user experience is friendly.

Description

A kind of rolling input method and terminal
Technical field
The present invention relates to browser input technology field, roll input method and terminal particularly to one.
Background technology
Along with the fast development of Internet and quickly popularizing of mobile terminal, application based on Internet and information also present fulminant growth.
Mobile terminal web browser is that Internet user provides a kind of mode accessing the network information and using network application, and which suitability is strong, and the most more many users have got used to obtaining various information by mobile terminal web browser and using various application.The network information and application vendor provide with such as HTML (HTML, etc HypertextMarkupLanguage) webpage that the language of form is write, mobile terminal web browser presents these webpages at user, so that the user of mobile terminal web browser can obtain relevant information.Along with the fast development of network technology, mobile terminal web browser the content presented is more and more abundanter, therefore mobile terminal web browser present function the most from strength to strength with important.
It is currently based on the mobile terminal web browser of Android system mainly by the formal character input information of pop-up box, i.e. by triggering click event, ejection information input frame, input information, or ejecting information choice box, confirm after selecting input information by drop-down menu in choice box, it is long that this mode inputs path, process is complicated, and Consumer's Experience is unfriendly.
Summary of the invention
Embodiments providing a kind of input method and terminal of rolling, input selection information is more convenient, and Consumer's Experience is more friendly.
Embodiment of the present invention first aspect provides a kind of rolling input method, including:
When triggering preset target DOM of click and clicking on event, obtain the target type character string identification in described target DOM click event and target component character string identification;
According to described target type character string identification and described target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type, and the described parameter information corresponding with target type includes current parameter value and preset available parameter value information;
Obtain user and roll the targeted parameter value selected according to described rolling input module;
When meeting preset update condition, hide described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
The second aspect of the embodiment of the present invention provides a kind of terminal, including:
First acquiring unit, for when triggering preset target DOM of click and clicking on event, obtaining the target type character string identification in described target DOM click event and target component character string identification;
Display unit, for according to described target type character string identification and described target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type, and the described parameter information corresponding with target type includes current parameter value and preset available parameter value information;
Second acquisition unit, the targeted parameter value selected for obtaining user to roll according to described rolling input module;
Updating block, for when meeting preset update condition, hides described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
The embodiment of the present invention is when triggering preset target DOM of click and clicking on event, obtain the target type character string identification in described target DOM click event and target component character string identification, and then display scrolling input module panel accordingly, the targeted parameter value of selection is rolled with acquisition user, when meeting preset update condition, hide described rolling input module panel, current parameter value is updated to targeted parameter value, in above-mentioned input process, input needs the process of the targeted parameter value of input to be by the way of roller inputs, make the input of mobile terminal web browser the most convenient, Consumer's Experience is more friendly.
Accompanying drawing explanation
Fig. 1 is the embodiment schematic diagram rolling input method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram rolling input method in the embodiment of the present invention;
Fig. 3 is an embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of terminal in the embodiment of the present invention.
Detailed description of the invention
Embodiments providing a kind of input method and terminal of rolling, input selection information is more convenient, and Consumer's Experience is more friendly.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, all should belong to the scope of protection of the invention.
The (if present) such as term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " is for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to the embodiments described herein can be implemented with the order in addition to the content except here illustrating or describe.In addition, term " includes " and " having " and their any deformation, it is intended to cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or equipment be not necessarily limited to those steps or the unit clearly listed, but can include the most clearly listing or for intrinsic other step of these processes, method, product or equipment or unit.
Referring to Fig. 1, the embodiment rolling input method in the embodiment of the present invention includes:
101, when triggering preset target DOM of click and clicking on event, the target type character string identification in target DOM click event and target component character string identification are obtained;
In web application platform development, need on locally applied platform, provide a container running third party's web page, embedding browser kernel in container, terminal browser kernel runs third party's web page, so, the web application making to operate on locally applied platform look like locally applied as;Further, locally applied platform also provides for some locally applied interfaces, for operating in the third party's web page on locally applied platform.
In order to provide more locally applied interface to third party's web page, need terminal extension browser kernel ability, at present, there is the scheme of a lot of terminal extension browser kernel ability, wherein, a kind of smoother method is the document dbject model (DOM providing more multipotency to access for third party's web page, DocumentObjectModel) element, document dbject model (DocumentObjectModel, it is called for short DOM), it is the standard programming interface processing expansible markup language of W3C Organisation recommendations.
DOM element is usually through browser script, and such as javascript accesses, and DOM element contains various different browser behavior, as added the browser behaviors such as the element on the element on the page, the element removed on the page, the change page, the element on the rearrangement page.If local void platform allows certain third party's web page to conduct interviews DOM element, then third party's web page just can add the element etc. on the element on the page, the element removing on the page, the element changed on the page, the rearrangement page voluntarily.
In the present embodiment, DOM clicks on event and can be triggered in any part of document (Document) structure, tactile originator can be user operation, it can also be browser itself, by monitoring target DOM, terminal clicks on whether event triggers click, when triggering preset target DOM of click and clicking on event, obtain the target type character string identification in target DOM click event and target component character string identification, such as the attribute actiontype in DOM click event and attribute actionvalue.
102, according to target type character string identification and target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type;
In the present embodiment, terminal can be according to target type character string identification and target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type, the described parameter information corresponding with target type includes current parameter value and preset available parameter value information, target type character string identification can be the various marks such as date, height, body weight, is not construed as limiting herein.Such as when target type character string identification is data mark, then corresponding with target type (date) parameter information includes current default date (such as 2012.12.12 etc.) and available parameter value information (the date information on other the optional dates arranged in addition to current date, select can be from 1900~to this year such as the time, month: 1~12, day: 1~31, more carefully can also include the selection information such as hour, minute, be not construed as limiting herein).
103, obtain user and roll the targeted parameter value selected according to described rolling input module;
User rolls the targeted parameter value selected in the parameter information corresponding with target type according to described rolling input module, the most described targeted parameter value is the parameter value selected in the parameter information that user is corresponding with target type in rolling input module, such as, when target type character string identification is data mark, assume that current date is 2012.12.12, then user can be to roll the dates such as selecting 2013.12.12 at the time according to roll input module rolling the target component selected, now, this date of selection is targeted parameter value.
104, when meeting preset update condition, hide described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
In the present embodiment, when meeting preset update condition, current parameter value is updated to target component, as exemplified above, the targeted parameter value of date 2013.12.12 will be updated to by date 2012.12.12.
In the present embodiment, when meeting preset update condition, current parameter value is updated to target component and has multiple implementation: preset can complete button DOM and click on event, trigger click on preset complete button DOM click on event time, described current parameter value is updated to described targeted parameter value, such as, " completing " button is set in described rolling input module panel side, clicks on and i.e. triggered button DOM click event.In actual applications, can also be when the time obtaining the targeted parameter value that user rolls selection according to described rolling input module meets preset time threshold, described current parameter value is updated to described targeted parameter value, such as, after stopping 3s at described rolling input module panel 2013.12.12 option date, current parameter value is updated to described targeted parameter value.
In the present embodiment, when meeting preset update condition, hide described rolling input module panel.
The embodiment of the present invention is when triggering preset target DOM of click and clicking on event, obtain the target type character string identification in described target DOM click event and target component character string identification, and then display scrolling input module panel accordingly, the targeted parameter value of selection is rolled with acquisition user, when meeting preset update condition, hide described rolling input module panel, current parameter value is updated to targeted parameter value, in above-mentioned input process, input needs the process of the targeted parameter value of input to be by the way of roller inputs, make the input of mobile terminal web browser the most convenient, Consumer's Experience is more friendly.
In embodiment shown in Fig. 1, according to described target type character string identification and described target component character string identification, display includes that the rolling input module panel of the parameter information corresponding with target type has multiple implementation, make an explanation below in conjunction with a specific embodiment, referring to Fig. 2, the embodiment rolling input method in the embodiment of the present invention includes:
201, monitor preset target DOM and click on event;
In JavaScript, generally using such a way is element interpolation action listener:
The title of the event that definition is monitored or type, such as
element.addEventListener(,,);
event-name(string)
It can be any standard DOM event (such as click, mousedown, touchstart, transitionEnd etc.);
Define a call back function, such as callback (function) (call back function), this function can be called event triggers when, corresponding event (event) object, and the data of event, can be by as first parameter this function incoming.
Defining a trigger parameter, such as use-capture (boolean), this parameter determines whether call back function (callback) is triggered in " capture (the capture) " stage.
In the present embodiment, event can be clicked on by preset target DOM, target DOM click event includes triggering the trigger parameter clicked on, and target type character string identification and target component character string identification (such as the attribute actiontype in DOM click event and attribute actionvalue), wherein, target type character string identification can be the various marks such as date, height, body weight, is not construed as limiting herein.Preset corresponding data parameters (such as parameter information such as date, height, body weight) can be called according to target type character string identification and target component character string identification, and target DOM click event is monitored.
202, judge whether to trigger and click on preset target DOM click event, if so, obtain the target type character string identification in target DOM click event and target component character string identification, continue to monitor if it is not, return step 201;
In the present embodiment, DOM clicks on event and can be triggered in any part of document (Document) structure, tactile originator can be user operation, it can also be browser itself, by monitoring target DOM, terminal clicks on whether event triggers click, when triggering preset target DOM of click and clicking on event, obtain the target type character string identification in target DOM click event and target component character string identification, such as the attribute actiontype in DOM click event and attribute actionvalue.
203, read Configuration Type according to described target type character string identification, initialize preset target type rolling assembly example;
In the present embodiment, described target type rolling assembly example includes the parameter information corresponding with described target type;
Initializing preset target type rolling assembly example is the Configuration Type read according to described target type character string identification, obtain the good parameter information that target type is pre-configured with, according to preset rolling input module panel, initialize preset target type rolling assembly example.
Such as, when determining that target type is the date according to target type character string identification, the pre-configured parameter information on date, such as current date (such as 2012.12.12), the date information on other the optional dates arranged in addition to current date, select can be from 1900~to this year such as the time, month: 1~12, day: 1~31, more carefully can also include the selection information such as hour, minute, be not construed as limiting herein.The parameter information corresponding date is initialized and inserts rolling input module panel, i.e. form the rolling input module panel on date, complete to initialize preset target type rolling assembly example scrollinput.
The most such as, when determining that target type is body weight according to target type character string identification, the pre-configured parameter information of body weight, such as current default body weight parameters value (such as 50KG), the parameter information of other the optional body weight arranged in addition to current default body weight parameters value, such as the hundreds of KG, tens, units, ten percentile, percentile is optional is all 0~9, is not construed as limiting herein.Parameter information corresponding for body weight is initialized and inserts rolling input module panel, i.e. form the rolling input module panel of body weight, complete to initialize preset target type rolling assembly example.
Same, when determining that target type is height according to target type character string identification, the pre-configured parameter information of height, such as current default height parameter value (such as 170CM), the parameter information of other the optional body weight arranged in addition to current default height parameter value, such as the hundreds of CM, tens, units, ten percentile, percentile is optional is all 0~9, is not construed as limiting herein.Parameter information corresponding for height is initialized and inserts rolling input module panel, i.e. form the rolling input module panel of height, complete to initialize preset target type rolling assembly example.
204, the parameter current value information corresponding with described target type is obtained according to described target component character string identification;
In the present embodiment, obtain the parameter current value information corresponding with described target type according to described target component character string identification, such as, when target type is the date, can get Date according to target component character string identification, such as 2012.12.12;When target type is body weight, current default body weight value can be obtained according to target component character string identification, such as 50KG;When target type is height, current default height values can be obtained according to target component character string identification, such as 170CM.
205, according to described rolling assembly example and with described parameter current value information, display scrolling input module panel;
According to rolling assembly example initialized in above-mentioned steps, and the parameter current value information determined, display scrolling input module, the position of display scrolling input module can be the setting position at terminal demonstration interface, such as lower end, interface, left end, right-hand member etc., it is not construed as limiting herein.
206, obtain user and roll the targeted parameter value selected according to described rolling input module;
User rolls the targeted parameter value selected in the parameter information corresponding with target type according to described rolling input module, the most described targeted parameter value is the parameter value selected in the parameter information that user is corresponding with target type in rolling input module, such as, when target type is the date, assume that current date is 2012.12.12, then user can be to roll the dates such as selecting 2013.12.12 at the time according to roll input module rolling the targeted parameter value selected, now, this date of selection is targeted parameter value;When target type is body weight, assume that current default body weight parameters value is 50KG, then user can be to be rolled to 5 at the KG units of body weight according to roll input module rolling the targeted parameter value selected, and rolls the body weight value selecting 55KG, now, this individual weight value of selection is targeted parameter value;The most such as, when target type is height, assume that current default height parameter value is 170CM, then user can be rolling selection 8 at the units of CM according to roll input module rolling the targeted parameter value selected, select the height parameter value of 178CM, now, this height parameter value of selection is targeted parameter value.
After user selects targeted parameter value, terminal can obtain user and roll the targeted parameter value selected according to described rolling input module.
207, trigger click on preset complete button DOM click on event time, hide described rolling input module panel, described current parameter value be updated to described targeted parameter value.
Trigger click on preset complete button DOM click on event time, current parameter value is updated to target component, as exemplified above, the targeted parameter value of date 2013.12.12 will be updated to by date 2012.12.12.
In the present embodiment, trigger click on preset complete button DOM click on event time, current parameter value is updated to target component and has multiple implementation: preset can complete button DOM and click on event, trigger click on preset complete button DOM click on event time, described current parameter value is updated to described targeted parameter value, such as, " completing " button is set in described rolling input module panel side, click on and i.e. triggered button DOM click event, hide described rolling input module panel, described current parameter value is updated to described targeted parameter value.
In the present embodiment, meet preset update condition by trigger click on preset complete button DOM click event as a example by, it is to be understood that in actual applications, it is also possible to be other modes, be not construed as limiting herein.Such as meet preset update condition it may also is that obtain user to roll, according to described rolling input module, the time threshold that the time of targeted parameter value selected reaches preset, such as, in user selects targeted parameter value (such as date 2012.12.12) 3s, do not change parameter value, i.e. meet update condition.
In said method embodiment, owing to browser has been likely to scroll bar, so may cause with the rolling input rolling input module panel and conflict, therefore, as preferably, described according to described target type character string identification with described target component character string identification, after display includes the rolling input module panel of the parameter information corresponding with target type, described method can also include:
Locking browser acquiescence scroll bar;
Now, after the described user of acquisition rolls, according to described rolling input module, the targeted parameter value selected, described method also includes:
Release the locking of browser acquiescence scroll bar.
The terminal embodiment being described below in the embodiment of the present invention, refers to Fig. 3, and one embodiment of the terminal in the embodiment of the present invention includes:
First acquiring unit 301, for when triggering preset target DOM of click and clicking on event, obtaining the target type character string identification in described target DOM click event and target component character string identification;
Display unit 302, for according to described target type character string identification and described target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type, and the described parameter information corresponding with target type includes current parameter value and preset available parameter value information;
Second acquisition unit 303, the targeted parameter value selected for obtaining user to roll according to described rolling input module;
Updating block 304, for when meeting preset update condition, hides described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
The embodiment of the present invention the first acquiring unit 301 is when triggering preset target DOM of click and clicking on event, obtain the target type character string identification in described target DOM click event and target component character string identification, display unit 302 and then accordingly display scrolling input module panel, second acquisition unit 303 obtains user and rolls the targeted parameter value of selection, updating block 304 is when meeting preset update condition, hide described rolling input module panel, current parameter value is updated to targeted parameter value, in above-mentioned input process, input needs the process of the targeted parameter value of input to be by the way of roller inputs, make the input of mobile terminal web browser the most convenient, Consumer's Experience is more friendly.
Referring to Fig. 4, another embodiment of the terminal in the embodiment of the present invention includes:
First acquiring unit 401, for when triggering preset target DOM of click and clicking on event, obtaining the target type character string identification in described target DOM click event and target component character string identification;
Display unit 402, for according to described target type character string identification and described target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type, and the described parameter information corresponding with target type includes current parameter value and preset available parameter value information;
Second acquisition unit 403, the targeted parameter value selected for obtaining user to roll according to described rolling input module;
Updating block 404, for when meeting preset update condition, hides described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
Described display unit 402 includes:
Read module 4021, for reading Configuration Type according to described target type character string identification, initializes preset target type rolling assembly example, and described target type rolling assembly example includes the parameter information corresponding with described target type;
Acquisition module 4022, for obtaining the parameter current value information corresponding with described target type according to described target component character string identification;
Display module 4023, for according to described rolling assembly example and with described parameter current value information, display scrolling input module panel.
Optionally, described updating block specifically for trigger click on preset complete button DOM click on event time, hide described rolling input module panel, and described current parameter value be updated to described targeted parameter value.
Optionally, when the time of the described updating block targeted parameter value specifically for rolling selection acquisition user according to described rolling input module reaches preset time threshold, hide described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
Optionally, state terminal also to include:
Lock cell, for described according to described target type character string identification with described target component character string identification, after display includes the rolling input module panel of the parameter information corresponding with target type, locking browser acquiescence scroll bar;And after the described user of acquisition rolls, according to described rolling input module, the targeted parameter value selected, release the locking of browser acquiescence scroll bar.
From the angle of modular functionality entity, the terminal the embodiment of the present invention is described above, from the angle of hardware handles, the terminal the embodiment of the present invention is described below.Referring to Fig. 5, the terminal in the embodiment of the present invention includes: transmitter 501, receptor 502 and processor 503 (can have one or more).
The terminal that the present embodiments relate to can have ratio more or less of parts illustrated in fig. 5, two or more parts can be combined, or can have different parts to configure or set up, all parts can realize in the combination of the hardware including one or more signal processing and/or special IC, software or hardware and software.
Described processor 503 is used for performing to operate as follows:
When triggering preset target DOM of click and clicking on event, obtain the target type character string identification in described target DOM click event and target component character string identification;
According to described target type character string identification and described target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type, and the described parameter information corresponding with target type includes current parameter value and preset available parameter value information;
Obtain user and roll the targeted parameter value selected according to described rolling input module;
When meeting preset update condition, hide described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
Optionally, described processor 503 can be also used for performing to operate as follows:
Reading Configuration Type according to described target type character string identification, initialize preset target type rolling assembly example, described target type rolling assembly example includes the parameter information corresponding with described target type;
The parameter current value information corresponding with described target type is obtained according to described target component character string identification;
According to described rolling assembly example and with described parameter current value information, display scrolling input module panel.
Optionally, described processor 503 can be also used for performing to operate as follows:
Trigger click on preset complete button DOM click on event time, hide described rolling input module panel, and described current parameter value be updated to described targeted parameter value.
Optionally, described processor 503 can be also used for performing to operate as follows:
When obtaining user and rolling, according to described rolling input module, the time threshold that the time of targeted parameter value selected reaches preset, hide described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, it is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematically, such as, the division of described unit, be only a kind of logic function to divide, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, completely or partially can embodying with the form of software product of part that prior art is contributed by technical scheme the most in other words or this technical scheme, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. one kind rolls input method, it is characterised in that including:
When triggering preset target DOM of click and clicking on event, obtain the target type character string identification in described target DOM click event and target component character string identification;
According to described target type character string identification and described target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type, and the described parameter information corresponding with target type includes current parameter value and preset available parameter value information;
Obtain user and roll the targeted parameter value selected according to described rolling input module;
When meeting preset update condition, hide described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
Method the most according to claim 1, it is characterised in that described according to described target type character string identification with described target component character string identification, display includes that the rolling input module panel of the parameter information corresponding with target type includes:
Reading Configuration Type according to described target type character string identification, initialize preset target type rolling assembly example, described target type rolling assembly example includes the parameter information corresponding with described target type;
The parameter current value information corresponding with described target type is obtained according to described target component character string identification;
According to described rolling assembly example and with described parameter current value information, display scrolling input module panel.
Method the most according to claim 1, it is characterised in that described meet preset update condition and include:
The button DOM that completes triggering click preset clicks on event.
4. according to described method arbitrary in claims 1 to 3, it is characterised in that described meet preset update condition and include:
The time of the targeted parameter value that acquisition user rolls selection according to described rolling input module reaches preset time threshold.
5. according to described method arbitrary in claims 1 to 3, it is characterized in that, described according to described target type character string identification with described target component character string identification, after display includes the rolling input module panel of the parameter information corresponding with target type, described method also includes:
Locking browser acquiescence scroll bar;
After the described user of acquisition rolls, according to described rolling input module, the targeted parameter value selected, described method also includes:
Release the locking of browser acquiescence scroll bar.
6. a terminal, it is characterised in that including:
First acquiring unit, for when triggering preset target DOM of click and clicking on event, obtaining the target type character string identification in described target DOM click event and target component character string identification;
Display unit, for according to described target type character string identification and described target component character string identification, display includes the rolling input module panel of the parameter information corresponding with target type, and the described parameter information corresponding with target type includes current parameter value and preset available parameter value information;
Second acquisition unit, the targeted parameter value selected for obtaining user to roll according to described rolling input module;
Updating block, for when meeting preset update condition, hides described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
Terminal the most according to claim 6, it is characterised in that described display unit includes:
Read module, for reading Configuration Type according to described target type character string identification, initializes preset target type rolling assembly example, and described target type rolling assembly example includes the parameter information corresponding with described target type;
Acquisition module, for obtaining the parameter current value information corresponding with described target type according to described target component character string identification;
Display module, for according to described rolling assembly example and with described parameter current value information, display scrolling input module panel.
Terminal the most according to claim 6, it is characterised in that described updating block specifically for trigger click on preset complete button DOM click on event time, hide described rolling input module panel, and described current parameter value be updated to described targeted parameter value.
9. according to described terminal arbitrary in claim 6 to 8, it is characterized in that, when the time of the described updating block targeted parameter value specifically for rolling selection acquisition user according to described rolling input module reaches preset time threshold, hide described rolling input module panel, and described current parameter value is updated to described targeted parameter value.
10. according to described terminal arbitrary in claim 6 to 8, it is characterised in that described terminal also includes:
Lock cell, for described according to described target type character string identification with described target component character string identification, after display includes the rolling input module panel of the parameter information corresponding with target type, locking browser acquiescence scroll bar;And after the described user of acquisition rolls, according to described rolling input module, the targeted parameter value selected, release the locking of browser acquiescence scroll bar.
CN201510005959.9A 2015-01-05 2015-01-05 Rolling input method and terminal Active CN105824606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510005959.9A CN105824606B (en) 2015-01-05 2015-01-05 Rolling input method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510005959.9A CN105824606B (en) 2015-01-05 2015-01-05 Rolling input method and terminal

Publications (2)

Publication Number Publication Date
CN105824606A true CN105824606A (en) 2016-08-03
CN105824606B CN105824606B (en) 2020-02-11

Family

ID=56513331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510005959.9A Active CN105824606B (en) 2015-01-05 2015-01-05 Rolling input method and terminal

Country Status (1)

Country Link
CN (1) CN105824606B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388393A (en) * 2018-01-02 2018-08-10 阿里巴巴集团控股有限公司 Mobile terminal clicks recognition methods and the device of event
CN111813479A (en) * 2020-07-06 2020-10-23 北京飞漫软件技术有限公司 Method and system for constructing roller object
WO2023030297A1 (en) * 2021-09-01 2023-03-09 北京字跳网络技术有限公司 Component processing method and apparatus, electronic device, storage medium, and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052939A (en) * 2004-07-30 2007-10-10 苹果电脑有限公司 Mode-based graphical user interfaces for touch sensitive input devices
CN102750148A (en) * 2012-06-08 2012-10-24 Tcl集团股份有限公司 Media information display method and device
CN102763077A (en) * 2010-01-15 2012-10-31 苹果公司 Automatically displaying and hiding an on-screen keyboard
CN103279357A (en) * 2013-06-05 2013-09-04 四目信息科技(上海)有限公司 System and method for realizing sliding wheel control function in computer graphical interface
CN103582873A (en) * 2011-06-05 2014-02-12 苹果公司 Systems and methods for displaying notifications received from multiple applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052939A (en) * 2004-07-30 2007-10-10 苹果电脑有限公司 Mode-based graphical user interfaces for touch sensitive input devices
CN102763077A (en) * 2010-01-15 2012-10-31 苹果公司 Automatically displaying and hiding an on-screen keyboard
CN103582873A (en) * 2011-06-05 2014-02-12 苹果公司 Systems and methods for displaying notifications received from multiple applications
CN102750148A (en) * 2012-06-08 2012-10-24 Tcl集团股份有限公司 Media information display method and device
CN103279357A (en) * 2013-06-05 2013-09-04 四目信息科技(上海)有限公司 System and method for realizing sliding wheel control function in computer graphical interface

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
傲慢的上校: "android仿iPhone滚轮控件实现及源码分析(一)", 《HTTPS://BLOG.CSDN.NET/LILU_LEO/ARTICLE/DETAILS/7397697》 *
傲慢的上校: "android仿iPhone滚轮控件实现及源码分析(二)", 《HTTPS://BLOG.CSDN.NET/LILU_LEO/ARTICLE/DETAILS/7399015》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388393A (en) * 2018-01-02 2018-08-10 阿里巴巴集团控股有限公司 Mobile terminal clicks recognition methods and the device of event
US10852943B2 (en) 2018-01-02 2020-12-01 Advanced New Technologies Co., Ltd. Mobile terminal click event recognition method and apparatus
CN111813479A (en) * 2020-07-06 2020-10-23 北京飞漫软件技术有限公司 Method and system for constructing roller object
WO2023030297A1 (en) * 2021-09-01 2023-03-09 北京字跳网络技术有限公司 Component processing method and apparatus, electronic device, storage medium, and product

Also Published As

Publication number Publication date
CN105824606B (en) 2020-02-11

Similar Documents

Publication Publication Date Title
US10007933B2 (en) Systems and methods for integrating dynamic content into electronic media
CN107992458B (en) Table rule generation method and device, storage medium and electronic equipment
CN102934063B (en) Display control unit and display control method
CN106844635B (en) Method and device for editing elements in webpage
CN103714115A (en) Method and device for loading web page content
CN103098005A (en) Visualizing expressions for dynamic analytics
CN104281677A (en) Page displaying method and device
CN104331474A (en) Page processing method and device
US9830304B1 (en) Systems and methods for integrating dynamic content into electronic media
CN104657451A (en) Processing method and processing device for page
CN105446989A (en) Search method and device, and display device
CN105335071A (en) Method and device for displaying page elements
CN102298492A (en) Information processing apparatus, information processing method, and program
CN106663015A (en) Resuming session states
CN104571813A (en) Information displaying method and device
CN102667741A (en) Information processing device, terminal device, content of interest determination method, content of interest determination program, terminal program, recording medium on which program is recorded, and information provision system
CN103455632A (en) Method and client for display web pages
CN102859546A (en) Information processing device, information processing method, information processing program, and storage medium
CN105335383A (en) Input information processing method and device
CN105824606A (en) Scroll input method and terminal
CN104615787A (en) Method and device for updating interface display
CN106610925A (en) Method and device for displaying webpage table
CN106991110A (en) The switching method and device of Webpage
CN104572710A (en) Webpage information processing method and device
CN107193450A (en) Page elements system of selection and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant