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 userThe 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 slideThe slidably object is updated to acknowledgement state from boot state by Xiang Hou, and the acknowledgement state is for prompting user to confirm instituteThe 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 methodFurther include: the setting time after showing the slidably object in boot state incites somebody to action the slidably object from boot stateIt is updated to acknowledgement state.
Optionally, the default option according to option content, user preference or user's history select one of feature orA 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 shapeState 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 slidingIt operates after determining that user selects option, the slidably object is updated to acknowledgement state, the acknowledgement state from boot stateFor 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 displayingModule is also used to: the setting time after showing the slidably object in boot state, incites somebody to action the slidably object from guidanceState is updated to acknowledgement state.
Optionally, the default option according to option content, user preference or user's history select one of feature orA 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 touchedConfirmation result.
Optionally, display module is also used to: prominent to show after determining that user selects option based on the slideThe 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 providedOn a memory and the computer program that can run on a processor, wherein the processor is realized such as when executing described programLower method:
It shows set of choices, and shows the slidably object for being in boot state, the boot state is for prompting userThe 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 slideThe slidably object is updated to acknowledgement state from boot state by Xiang Hou, and the acknowledgement state is for prompting user to confirm instituteThe 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 shapeState, boot state can prompt user to select option by slide, to reach sliding guidance purpose, user be helped quickly to recognizeKnow 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 confirmState can embody fluency stage by stage, can guide user step by step so that user be prompted to confirm selected option in interactionCorresponding 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 userIt is automatically updated in the process, by one slidably object can be realized " sliding guidance " and " option confirmation ", two kinds of functions are closedTwo 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 courseRapid and convenient, it is acknowledgement state that slidably object is automatically updated, allows user to complete selection by once sliding, entirelySelection course is smooth quickly, and operating efficiency significantly improves.Since slidably object has passed through confirmation function, so as to prompt to useFamily confirmation, prevents user misoperation.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, notThis 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 toWhen attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodimentDescribed in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as instituteThe 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 usesBook.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claimsMost forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein isRefer 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, butThese 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 offIn 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 claimedFor 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 APPIt 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 efficiencyScheme 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, packetInclude following steps:
In a step 102, it shows set of choices, and shows the slidably object for being in boot state, the boot stateFor 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 slideAfter determining user's selection option, the slidably object is updated to acknowledgement state from boot state, the acknowledgement state is for mentioningShow 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 askedScrolling face, personality test page or online shopping information selection page etc., the executing subject of scheme can be personal computer, intelligenceThe 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 fullThe 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 pageIt 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 slidablyObject, slidably object itself at least has two states for this, wherein boot state can prompt user to select by slideOption helps the quick cognitive operation mode of user to reach sliding guidance purpose;The slidably Object Selection is slided in userAfter some option, slidably object can be switched again and be updated to acknowledgement state, so that user be prompted to confirm selected option, interactionThe 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 operateA 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 userIt is automatically updated in the process, by one slidably object can be realized " sliding guidance " and " option confirmation ", two kinds of functions are closedTwo 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 courseRapid and convenient, it is acknowledgement state that slidably object is automatically updated, allows user to complete selection by once sliding, entirelySelection course is smooth quickly, and operating efficiency significantly improves.Since slidably object has passed through confirmation function, so as to prompt to useFamily 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 optionContent, 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 byThe controls such as button.Optionally, a region for the sliding of slidably object can be realized on the page, in the area, slidablyObject can be slided according to any glide direction, for example, glide direction can be horizontally slip, upper and lower either direction sliding or fromThe 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 objectBe the page after showing set of choices, guidance user can select option by slide.It optionally, can be in several waysThe 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 objectFamily sliding.
Slidably object in the present embodiment can respond the slide of user, so that user slides selection option.It is practicalIt in, can be realized, can be supervised by gestures such as setOnTouchListener by programming languages such as CSS or JavaScriptDevice 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 userAs can correspondingly indicate the option in set of choices.For example, being slidably distributed on the sliding trace (or sliding area etc.) of objectThe 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 canAlong 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 rightSliding area, the sliding area is corresponding with option in set of choices, i.e., can the location of after slidably object is slided by userOption in corresponding set of choices.Slidably the boot state of object is illustrated using the arrow in round icon, utilizesThe 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, reallyState is recognized for prompting user to confirm selected option.The present embodiment is considered in sliding process, in the feelings for having multiple optionsUnder 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 canChoosing, it can be accomplished in several ways the acknowledgement state of slidably object, for example, slidably object can show a fingerShow the mark of " confirmation ", which specifically can be text, icon or animation etc., so as to visually prompt user to confirm instituteThe option of selection.
It as an example, as shown in Figure 1 C, is this specification another interaction signal shown according to an exemplary embodimentFigure, accepts the embodiment of Figure 1B, and user can slidably object slides from left to right by this, in sliding process, sliding trace warpCross 50%, 60% to 70%.For example, slidably object can be updated to acknowledgement state from boot state when sliding into 50%.FigureIllustrated for reaching 70% option in 1C, slidably object is updated to confirmation mark from arrow logo, to prompt to useFamily 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 throughThe realizations such as color, figure or size highlight effect.As an example, can increase select item size, can more new optionColor, can more new option figure etc..For shown in Fig. 1 C, user selected 70% can be selected into item sizeIncrease 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 realityIt is existing, for example, boot state corresponds to an attribute value (such as attribute value can be the icon comprising guidance mark), acknowledgement stateCorresponding another attribute value (such as attribute value can be the icon that another includes confirmation mark), according to the opportunity of update, when withFamily sliding slidably object, when selecting some option, the attribute value of status attribute can be updated, to make the aobvious of slidably objectShow 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 exampleFamily 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 objectPosition 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 userSelect 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 sceneSelection 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 optionIt 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 selectionIt 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 userThe option selected can then reduce the selection operation of user, improve operating efficiency.In such cases, institute is confirmed for the ease of userThe option of selection, the setting time after showing the slidably object in boot state incite somebody to action the slidably object from guidanceState is updated to acknowledgement state.If default option is the desired selection of user, user is not necessarily to execute slide, also, canSliding 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 intoAt its desired option.Wherein, multiple options are contained in set of choices, and the side of default option how is determined from multiple optionsFormula can be determined according to concrete scene and flexibly in practical application, by way of example, can according to option content, user preference orUser's history selects one of feature or a variety of determinations.It optionally, can be by obtaining user's letter according to practical application sceneBreath or the history service data etc. for obtaining user analyze user preference, and user is to history selection feature etc. in such scene, in advanceThe 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 rootAccording 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 forExample, the slidably object in boot state further indicate a default option, and after setting time, slidably object can for thisIt 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 DSchematic diagram, the interaction schemes of this specification are illustrated again.In Fig. 2 by taking personality test macro as an example, surveyed in the personalityTest system (abbreviation system in Fig. 2) can show item content, set of choices and slidably object (the present embodiment in the user terminalBy 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 userOption 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 stateFor acknowledgement state, arrow logo is specifically replaced with into confirmation text;After user clicks confirmation, answer confirmation is chosen to submit, it canContinue 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 behaviourMake;
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, highlightsIt 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 havingMovement, when being altered options, arrived coordinate position is slided at interface according to user, highlights displaying choice, and pass through identificationThe 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 equipmentEmbodiment.
The embodiment of this specification interactive device can be applied in equipment, such as server or terminal device etc..DeviceEmbodiment 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 itComputer program instructions are read into memory what operation was formed.For hardware view, as shown in figure 3, implementing for this specificationA kind of hardware structure diagram of interactive device where example interactive device, in addition to processor 310 shown in Fig. 3, memory 330, network connectExcept mouth 320 and nonvolatile memory 340, server or electronic equipment in embodiment where device 331, usual rootAccording 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, instituteStating device includes:
Display module 41, is used for: showing set of choices, and shows the slidably object for being in boot state, the guidanceState 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 cunningAfter dynamic operation determines that user selects option, the slidably object is updated to acknowledgement state, the confirmation shape from boot stateState 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 displayingModule is also used to: the setting time after showing the slidably object in boot state, incites somebody to action the slidably object from guidanceState is updated to acknowledgement state.
Optionally, the default option according to option content, user preference or user's history select one of feature orA 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 touchedConfirmation result.
Optionally, display module is also used to: prominent to show after determining that user selects option based on the slideThe 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 simultaneouslyThe 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 userThe 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 slideThe slidably object is updated to acknowledgement state from boot state by Xiang Hou, and the acknowledgement state is for prompting user to confirm instituteThe 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 deviceThe 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 realityApply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unitThe module of explanation may or may not be physically separated, and the component shown as module can be or can also be withIt is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actualThe 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 notIn 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 claimsIt 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 embodimentIt executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitableSequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also canWith or may be advantageous.
Those skilled in the art will readily occur to this specification after considering specification and practicing the invention applied hereOther 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 specificationCommon knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification andSpirit 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 claimsSystem.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specificationWithin the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protectionWithin enclosing.