Summary of the invention
To overcome the problems in correlation technique, present description provides exchange method, device and equipment.
According to this specification embodiment in a first aspect, providing a kind of exchange method, comprising:
It shows set of choices, and shows the slidably object for being in boot state, the boot state is for prompting user
The option in the set of choices is selected by slide;
The slide of user is responded by the slidably object, and determines that user selects choosing based on the slide
The slidably object is updated to acknowledgement state from boot state by Xiang Hou, and the acknowledgement state is for prompting user to confirm institute
The option of selection;
Pass through the selection result of the slidably object acquisition user in acknowledgement state.
Optionally, the slidably object in boot state does not indicate any option in the set of choices.
Optionally, the slidably object in boot state indicates the default option of the set of choices;The method
Further include: the setting time after showing the slidably object in boot state incites somebody to action the slidably object from boot state
It is updated to acknowledgement state.
Optionally, the default option according to option content, user preference or user's history select one of feature or
A variety of determinations.
Optionally, the selection result by the slidably object acquisition user in acknowledgement state, comprising:
The confirmation result of user is obtained after slidably object is clicked described in detecting.
Optionally, the selection result by the slidably object acquisition user in acknowledgement state, comprising:
The confirmation result of user is obtained after slidably object is not touched described in detecting.
Optionally, prominent to show the selected option of user after determining that user selects option based on the slide.
Optionally, after getting the selection result of user, the selection result is shown.
According to the second aspect of this specification embodiment, a kind of interactive device is provided, comprising:
Display module is used for: being shown set of choices, and is shown the slidably object for being in boot state, the guidance shape
State is for prompting user to select the option in the set of choices by slide;
Option determination module is used for: being responded the slide of user by the slidably object, and is based on the sliding
It operates after determining that user selects option, the slidably object is updated to acknowledgement state, the acknowledgement state from boot state
For prompting user to confirm selected option;
As a result module is obtained, is used for: by the selection result of the slidably object acquisition user in acknowledgement state.
Optionally, the slidably object in boot state does not indicate any option in the set of choices.
Optionally, the slidably object in boot state indicates the default option of the set of choices;The displaying
Module is also used to: the setting time after showing the slidably object in boot state, incites somebody to action the slidably object from guidance
State is updated to acknowledgement state.
Optionally, the default option according to option content, user preference or user's history select one of feature or
A variety of determinations.
Optionally, the result obtains module, is also used to:
The confirmation result of user is obtained after slidably object is clicked described in detecting.
Optionally, the result obtains module, is also used to: detecting that the slidably object obtains user after not touched
Confirmation result.
Optionally, display module is also used to: prominent to show after determining that user selects option based on the slide
The selected option of user.
Optionally, display module is also used to: after getting the selection result of user, showing the selection result.
According to the third aspect of this specification embodiment, a kind of interactive device, including memory, processor and storage are provided
On a memory and the computer program that can run on a processor, wherein the processor is realized such as when executing described program
Lower method:
It shows set of choices, and shows the slidably object for being in boot state, the boot state is for prompting user
The option in the set of choices is selected by slide;
The slide of user is responded by the slidably object, and determines that user selects choosing based on the slide
The slidably object is updated to acknowledgement state from boot state by Xiang Hou, and the acknowledgement state is for prompting user to confirm institute
The option of selection;
Pass through the selection result of the slidably object acquisition user in acknowledgement state.
The technical solution that the embodiment of this specification provides can include the following benefits:
In this specification embodiment, by realizing a slidably object, this slidably object itself at least have there are two types of shape
State, boot state can prompt user to select option by slide, to reach sliding guidance purpose, user be helped quickly to recognize
Know mode of operation;This is slided slidably after some option of Object Selection in user, and slidably object can be switched again and be updated to confirm
State can embody fluency stage by stage, can guide user step by step so that user be prompted to confirm selected option in interaction
Corresponding operating is made, there can be clearly operation guide to each stage for needing user to execute operation.
As seen from the above-described embodiment, slidably object at least has two states, and slides selection option with user
It is automatically updated in the process, by one slidably object can be realized " sliding guidance " and " option confirmation ", two kinds of functions are closed
Two be one, can substantially reduce and occupy to the page, and the page is allowed to have enough positions to show more contents.
In addition, can be slidably reciprocated between the respective option by slide by slidably object, user, selection course
Rapid and convenient, it is acknowledgement state that slidably object is automatically updated, allows user to complete selection by once sliding, entirely
Selection course is smooth quickly, and operating efficiency significantly improves.Since slidably object has passed through confirmation function, so as to prompt to use
Family confirmation, prevents user misoperation.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
This specification can be limited.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute
The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses
Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims
Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is
Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but
These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off
In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed
For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or
" when ... " or " in response to determination ".
During user uses APP, it is often necessary to select some contents shown in the application interface of APP
It selects.Therefore it provides a kind of interaction for executing selection operation convenient for user-selected number evidence, convenient for user, improving user's operation efficiency
Scheme is undoubtedly of great significance.
It as shown in Figure 1A, is a kind of this specification flow chart of exchange method shown according to an exemplary embodiment, packet
Include following steps:
In a step 102, it shows set of choices, and shows the slidably object for being in boot state, the boot state
For prompting user to select by slide the option in the set of choices.
At step 104, the slide of user is responded by the slidably object, and true based on the slide
After determining user's selection option, the slidably object is updated to acknowledgement state from boot state, the acknowledgement state is for mentioning
Show that user confirms selected option.
In step 106, pass through the confirmation result of the slidably object acquisition user in acknowledgement state.
The method of this specification embodiment can be applied in a variety of scenes for needing user to carry out option selection, such as investigation is asked
Scrolling face, personality test page or online shopping information selection page etc., the executing subject of scheme can be personal computer, intelligence
The terminals such as mobile phone or tablet computer.Due to the limitation of device screen size or the operating feature of touch screen, interaction schemes need full
The a variety of requirements of foot: the page cannot be occupied compared with multiposition, to leave enough positions for showing other option contents, so that the page
It can intuitively show option content, also, interaction schemes will also prevent user misoperation etc..
This specification embodiment provides a kind of based on the interaction schemes for sliding selection, and the program is by realizing one slidably
Object, slidably object itself at least has two states for this, wherein boot state can prompt user to select by slide
Option helps the quick cognitive operation mode of user to reach sliding guidance purpose;The slidably Object Selection is slided in user
After some option, slidably object can be switched again and be updated to acknowledgement state, so that user be prompted to confirm selected option, interaction
The upper fluency that can be embodied stage by stage, can guide user to make corresponding operating step by step, each to needing user's execution to operate
A stage can have clearly operation guide.
As seen from the above-described embodiment, slidably object at least has two states, and slides selection option with user
It is automatically updated in the process, by one slidably object can be realized " sliding guidance " and " option confirmation ", two kinds of functions are closed
Two be one, can substantially reduce and occupy to the page, and the page is allowed to have enough positions to show more contents.
In addition, can be slidably reciprocated between the respective option by slide by slidably object, user, selection course
Rapid and convenient, it is acknowledgement state that slidably object is automatically updated, allows user to complete selection by once sliding, entirely
Selection course is smooth quickly, and operating efficiency significantly improves.Since slidably object has passed through confirmation function, so as to prompt to use
Family confirmation, prevents user misoperation.
Set of choices in the present embodiment includes the multiple options selected for user, and the present embodiment does not limit specific option
Content, such as the texts class data such as can be percentage, number, scale or text, be also possible to still image, dynamic image,
Other diversified forms such as animation or video.
The slidably object of the present embodiment can there are many implementation, specifically can be slidably icon or slidably by
The controls such as button.Optionally, a region for the sliding of slidably object can be realized on the page, in the area, slidably
Object can be slided according to any glide direction, for example, glide direction can be horizontally slip, upper and lower either direction sliding or from
The upper left corner to lower right corner sliding etc..
Wherein, slidably the boot state of object is used to that user to be prompted to select the choosing in the set of choices by slide
, option is chosen for user due to being to provide tick boxes in conventional scheme mostly, configures the mesh of the slidably boot state of object
Be the page after showing set of choices, guidance user can select option by slide.It optionally, can be in several ways
The boot state of slidably object is realized, for example, slidably object can show that one has " arrow " (such as " → ")
Mark, which specifically can be text, icon or animation etc., can be for so as to visually prompt slidably object
Family sliding.
Slidably object in the present embodiment can respond the slide of user, so that user slides selection option.It is practical
It in, can be realized, can be supervised by gestures such as setOnTouchListener by programming languages such as CSS or JavaScript
Device is listened to monitor the slide that the modes such as the slide to user, or building gesture detector obtain user.Optionally,
Slidably the sliding process of object is corresponding with the respective option in set of choices, slidably right during being slided by user
As can correspondingly indicate the option in set of choices.For example, being slidably distributed on the sliding trace (or sliding area etc.) of object
The respective option in set of choices can indicate that the option in set of choices the location of after slidably object is slided by user.
It as an example, as shown in Figure 1B, is a kind of this specification interactive schematic diagram shown according to an exemplary embodiment,
Set of choices shown in Figure 1B includes 50% to 100% multiple options being easily selected by a user;Slidably object be one can
Along the round icon of set of choices sliding, show there is item content and set of choices in the page, slidably object has from left to right
Sliding area, the sliding area is corresponding with option in set of choices, i.e., can the location of after slidably object is slided by user
Option in corresponding set of choices.Slidably the boot state of object is illustrated using the arrow in round icon, utilizes
The arrow prompts user that can select option from the set of choices by slide as guidance.
After user slides some option of selection, slidably object can be updated to acknowledgement state from boot state automatically, really
State is recognized for prompting user to confirm selected option.The present embodiment is considered in sliding process, in the feelings for having multiple options
Under condition, situations such as user may be easy to appear maloperation, therefore pass through acknowledgement state and user is prompted to confirm selected option.It can
Choosing, it can be accomplished in several ways the acknowledgement state of slidably object, for example, slidably object can show a finger
Show the mark of " confirmation ", which specifically can be text, icon or animation etc., so as to visually prompt user to confirm institute
The option of selection.
It as an example, as shown in Figure 1 C, is this specification another interaction signal shown according to an exemplary embodiment
Figure, accepts the embodiment of Figure 1B, and user can slidably object slides from left to right by this, in sliding process, sliding trace warp
Cross 50%, 60% to 70%.For example, slidably object can be updated to acknowledgement state from boot state when sliding into 50%.Figure
Illustrated for reaching 70% option in 1C, slidably object is updated to confirmation mark from arrow logo, to prompt to use
Family confirms selected option.
User's sliding is slidably during Object Selection option, in order to prompt user's slidably choosing corresponding to object
, the present embodiment, which can protrude, shows the selected option of user, highlighted mode can there are many, such as can pass through
The realizations such as color, figure or size highlight effect.As an example, can increase select item size, can more new option
Color, can more new option figure etc..For shown in Fig. 1 C, user selected 70% can be selected into item size
Increase and carry out overstriking, to reach highlighted purpose.
In the present embodiment, slidably two states of object can by slidably object configuration one status attribute and reality
It is existing, for example, boot state corresponds to an attribute value (such as attribute value can be the icon comprising guidance mark), acknowledgement state
Corresponding another attribute value (such as attribute value can be the icon that another includes confirmation mark), according to the opportunity of update, when with
Family sliding slidably object, when selecting some option, the attribute value of status attribute can be updated, to make the aobvious of slidably object
Show that effect changes, is updated to acknowledgement state from boot state.
Under the prompt of the slidably object in acknowledgement state, user may further determine that its selected option.
In the present embodiment, by the selection result of the slidably object acquisition user in acknowledgement state can also there are many mode,
In some examples, it can be and obtain the confirmation of user after slidably object is clicked described in detecting as a result, using by taking Fig. 1 C as an example
Family can click the slidably object, and terminal can obtain the confirmation result of user after getting the clicking operation of user.?
In some examples, it can also be further reduced user's operation, for example, user slidably from initial position will slide into 70% by object
Position after, user looses one's grip, and terminal can be detected the slidably object and not touched, so obtain user confirmation as a result,
In the present embodiment, slidably object is further clicked on without user.
After getting the selection result of user, the selection result is shown, by taking Fig. 1 D as an example, in the choosing for getting user
Select result be 70% after, page presentation goes out the selection result, for user access.
It can be applied in the scenes such as test, questionnaire in the scheme of the present embodiment, such as applied to personality test page,
There are multiple topics to need user that corresponding option is selected in order to get true answer, to prevent in some instances in the scene
Selection is caused to be biased to user, the slidably object of boot state can not indicate any option in the set of choices, for example,
Slidably object can not be corresponding with any option, such as slidably the initial position of object may be at the position of any option
It sets.By taking Figure 1B as an example, slidably object does not indicate any option in set of choices, so that selection will not be brought to be biased to user,
More accurate selection result can be obtained.
The page etc. of selection dispatching address is located in other scenes, such as under shopping scene for the ease of user's selection
It can also indicate that the default option of the set of choices in the slidably object of boot state, if default option is the desired choosing of user
The option selected can then reduce the selection operation of user, improve operating efficiency.In such cases, institute is confirmed for the ease of user
The option of selection, the setting time after showing the slidably object in boot state incite somebody to action the slidably object from guidance
State is updated to acknowledgement state.If default option is the desired selection of user, user is not necessarily to execute slide, also, can
Sliding object can be automatically updated into after setting time (such as times such as 1 second, 2 seconds, practical application in can be with flexible configuration)
Acknowledgement state.If default option is not the desired selection of user, user can execute slide, will slidably object slide into
At its desired option.Wherein, multiple options are contained in set of choices, and the side of default option how is determined from multiple options
Formula can be determined according to concrete scene and flexibly in practical application, by way of example, can according to option content, user preference or
User's history selects one of feature or a variety of determinations.It optionally, can be by obtaining user's letter according to practical application scene
Breath or the history service data etc. for obtaining user analyze user preference, and user is to history selection feature etc. in such scene, in advance
The option that first selection user most possibly selects from set of choices is as the default option.It as referring to figure 1E, is this specification root
According to the another kind interaction schematic diagram shown in an exemplary embodiment, in Fig. 1 E with select to dispense in online shopping scene the address page for
Example, the slidably object in boot state further indicate a default option, and after setting time, slidably object can for this
It is automatically updated into acknowledgement state.
As shown in Fig. 2, being this specification interactive schematic diagram shown according to an exemplary embodiment, in conjunction with Figure 1B to Fig. 1 D
Schematic diagram, the interaction schemes of this specification are illustrated again.In Fig. 2 by taking personality test macro as an example, surveyed in the personality
Test system (abbreviation system in Fig. 2) can show item content, set of choices and slidably object (the present embodiment in the user terminal
By taking action button as an example) boot state;Wherein, set of choices includes from 50% to 100% multiple choosings being easily selected by a user
?;Slidably object is the round button taken action that can be slided along set of choices.
The boot state of this action button is illustrated using arrow logo, using the arrow as guidance, prompts user
Option can be selected from the set of choices by slide.The slide of user can be obtained by the slidably object,
70% option of selection is determined based on the slide of user, and displaying highlights choice, while action button is updated from boot state
For acknowledgement state, arrow logo is specifically replaced with into confirmation text;After user clicks confirmation, answer confirmation is chosen to submit, it can
Continue to show next topic.
Specifically, interaction flow can include:
System is based on current state and shows item content and options, and shows that action button guide user is sliding behaviour
Make;
User sees content and options, and understanding content simultaneously is made to judge;
User carries out sliding selection operation according to the prompt of action button;
The sliding selection operation of system real-time monitoring user shows that interface can slide arrived position according to user, highlights
It shows choice, and is stopped by the touch of identification user hand and screen, action button is become into confirmation guidance;
In the sliding selection operation of system real-time monitoring user, sliding can also be continued by identifying user's long-pressing or having
Movement, when being altered options, arrived coordinate position is slided at interface according to user, highlights displaying choice, and pass through identification
The hand-held contact with screen of user stops, and action button is become confirmation guidance;
When system identification user clicks confirmation action button, judge that user finally confirms choice.
System, which is made, submits the process of option to show, showing interface content and choice.
Corresponding with the embodiment of aforementioned exchange method, this specification additionally provides interactive device and its applied equipment
Embodiment.
The embodiment of this specification interactive device can be applied in equipment, such as server or terminal device etc..Device
Embodiment can also be realized by software realization by way of hardware or software and hardware combining.Taking software implementation as an example,
As the device on a logical meaning, being will be corresponding in nonvolatile memory by the processor of file process where it
Computer program instructions are read into memory what operation was formed.For hardware view, as shown in figure 3, implementing for this specification
A kind of hardware structure diagram of interactive device where example interactive device, in addition to processor 310 shown in Fig. 3, memory 330, network connect
Except mouth 320 and nonvolatile memory 340, server or electronic equipment in embodiment where device 331, usual root
According to the actual functional capability of the interactive device, it can also include other hardware, this is repeated no more.
As shown in figure 4, Fig. 4 is a kind of this specification block diagram of interactive device shown according to an exemplary embodiment, institute
Stating device includes:
Display module 41, is used for: showing set of choices, and shows the slidably object for being in boot state, the guidance
State is for prompting user to select the option in the set of choices by slide;
Option determination module 42, is used for: responding the slide of user by the slidably object, and is based on the cunning
After dynamic operation determines that user selects option, the slidably object is updated to acknowledgement state, the confirmation shape from boot state
State is for prompting user to confirm selected option;
As a result module 43 is obtained, is used for: by the selection result of the slidably object acquisition user in acknowledgement state.
Optionally, the slidably object in boot state does not indicate any option in the set of choices.
Optionally, the slidably object in boot state indicates the default option of the set of choices;The displaying
Module is also used to: the setting time after showing the slidably object in boot state, incites somebody to action the slidably object from guidance
State is updated to acknowledgement state.
Optionally, the default option according to option content, user preference or user's history select one of feature or
A variety of determinations.
Optionally, the result obtains module, is also used to:
The confirmation result of user is obtained after slidably object is clicked described in detecting.
Optionally, the result obtains module, is also used to: detecting that the slidably object obtains user after not touched
Confirmation result.
Optionally, display module is also used to: prominent to show after determining that user selects option based on the slide
The selected option of user.
Optionally, display module is also used to: after getting the selection result of user, showing the selection result.
Correspondingly, this specification also provides a kind of interactive device, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, wherein the processor realizes following method when executing described program:
It shows set of choices, and shows the slidably object for being in boot state, the boot state is for prompting user
The option in the set of choices is selected by slide;
The slide of user is responded by the slidably object, and determines that user selects choosing based on the slide
The slidably object is updated to acknowledgement state from boot state by Xiang Hou, and the acknowledgement state is for prompting user to confirm institute
The option of selection;
Pass through the selection result of the slidably object acquisition user in acknowledgement state.
The function of modules and the realization process of effect are specifically detailed in right in above-mentioned exchange method in above-mentioned interactive device
The realization process of step is answered, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with
It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not
In the case where making the creative labor, it can understand and implement.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Those skilled in the art will readily occur to this specification after considering specification and practicing the invention applied here
Other embodiments.This specification is intended to cover any variations, uses, or adaptations of this specification, these modifications,
Purposes or adaptive change follow the general principle of this specification and do not apply in the art including this specification
Common knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification and
Spirit is indicated by the following claims.
It should be understood that this specification is not limited to the precise structure that has been described above and shown in the drawings,
And various modifications and changes may be made without departing from the scope thereof.The range of this specification is only limited by the attached claims
System.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specification
Within the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protection
Within enclosing.