[summary of the invention]
In view of this, the embodiment of the invention provides a kind of display methods of tandem type selection and device and computer
Equipment operates not convenient enough technical problem to solve tandem type selection method in the related technology.
On the one hand, the embodiment of the invention provides a kind of display methods of tandem type selection, comprising: receives for cascading
That targets option is chosen in the first order control of formula control chooses operation;Label targets option is selected state;It is being superior to
In the parent control of first order control, marking the cascade parent option of targets option is selected state, wherein in tandem type control
Each option and parent control in the cascade of one of multiple options.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, receive for
That targets option is chosen in the first order control of tandem type control chooses operation, comprising: reception is defeated in the text of first order control
Enter the keyword inputted in frame;The option with keyword mapping is searched in the total Options that first order control includes;Pass through
The drop-down menu of level-one control shows the option found;Receive the operation of the selection target option in the option found.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, receive for
That targets option is chosen in the first order control of tandem type control chooses operation, comprising: passes through the drop-down menu of first order control
Show multiple index letters;The selection in multiple index letters is received, and shows the index based on selection in drop-down menu
The option that letter searching arrives;Receive the operation of the selection target option in the option found.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, reception are being searched
To option in selection target option operation, comprising: cursor is moved to one of the option found by input equipment;Mark
The option that note cursor currently indicates is state to be selected;By being superior to the Text Entry of the parent control of first order control,
The cascade parent option for the option that display highlighting currently indicates;In the case where receiving confirmation operation by input equipment, determine
The option for choosing cursor currently to indicate is targets option.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, in label target
Option be selected state after, this method further include: judge targets option cascade parent option all sub- grade options whether
It is selected entirely;If it is, the cascade parent option of label targets option is selected state.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, tandem type control
In the display elements of each option include numeric indicia, numeric indicia is used to mark in the sub- grade option of corresponding option in choosing
The option number of middle state.
The technical solution provided the aspect and any possible implementation manners as described above, by current level control quilt
The reversed cascade parent option for choosing each rank higher than current level control of the option chosen, simplifies in tandem type control
In part the step of selection operation, if the exact option for knowing a certain height grade of user, without since highest level control
Selection, also, in the case where user does not know the corresponding parent option names of line grade option, substantially increase the speed of selection
Degree.
On the other hand, the embodiment of the invention provides a kind of display devices of tandem type selection, comprising: first receives mould
Block chooses operation for choose targets option in the first order control of tandem type control for receiving;First mark module,
It is selected state for marking targets option;Second mark module, in the parent control for being superior to first order control,
The cascade parent option for marking targets option is selected state, wherein in each option and parent control in tandem type control
The cascade of one of multiple options.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, first receives mould
Block includes: the second receiving module, for receiving the keyword inputted in the Text Entry of first order control;Searching module,
For searching the option with keyword mapping in the total Options that first order control includes;First display module, for passing through
The drop-down menu of first order control shows the option found;Third receiving module selects in the option found for receiving
Select the operation of targets option.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, first receives mould
Block includes: the second display module, shows multiple index letters for the drop-down menu by first order control;4th receives mould
Block shows that the index letter based on selection is found for receiving the selection in multiple index letters, and in drop-down menu
Option;5th receiving module, for receiving the operation of the selection target option in the option found.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, above-mentioned third connect
Receipts module and the 5th receiving module execute reception, and the operation of selection target option can be by as follows in the option found
Mode executes: cursor is moved to one of the option found by input equipment;The option that currently indicates of label cursor be to
Select state;By being superior to the Text Entry of the parent control of first order control, the option that display highlighting currently indicates
Cascade parent option;In the case where receiving confirmation operation by input equipment, determine that the option for choosing cursor currently to indicate is
Targets option.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the device also wrap
It includes: judgment module, for judging all of the cascade parent option of targets option after label targets option is selected state
Whether sub- grade option is selected entirely;Third mark module, for if it is, the cascade parent option of label targets option is selected
State.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, tandem type control
In the display elements of each option include numeric indicia, numeric indicia is used to mark in the sub- grade option of corresponding option in choosing
The option number of middle state.
The technical solution provided the aspect and any possible implementation manners as described above, by current level control quilt
The reversed cascade parent option for choosing each rank higher than current level control of the option chosen, simplifies in tandem type control
In part the step of selection operation, if the exact option for knowing a certain height grade of user, without since highest level control
Selection, also, in the case where user does not know the corresponding parent option names of line grade option, substantially increase the speed of selection
Degree.
On the other hand, the embodiment of the invention also provides a kind of computer equipments, including memory, processor and storage
In memory and the computer program that can run on a processor, realize that the present invention is real when processor executes computer program
Apply the display methods of the tandem type selection of example.
In another aspect, the embodiment of the invention also provides a kind of storage medium, the storage medium of the embodiment of the present invention includes
Computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes the present invention in fact
Apply the display methods of the tandem type selection of example.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing
It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should be noted that although in claims of the present invention, the description and the appended drawings may using term first,
Second, third etc. is used to distinguish similar objects " certain so-and-so ", it should be understood that term first, second, third, etc. is not necessarily used for
The specific sequence of description or precedence are only used to for these similar objects " certain so-and-so " being distinguished from each other out.For example, not taking off
In the case where range of embodiment of the invention, the first " certain so-and-so " second can also be referred to as " certain so-and-so ", similarly, second
" certain so-and-so " can also be referred to as first " certain so-and-so ".
Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement
Or event) when " or " in response to detection (condition or event of statement) ".
Not convenient and fast enough technology is operated for the tandem type selection method in the related technology in the presence of the prior art to ask
Topic, the embodiment of the invention provides following resolving ideas: receiving for choosing target in the first order control of tandem type control
Option chooses operation;Label targets option is selected state;In all controls for being superior to first order control, mesh is marked
The cascade parent option for marking option is selected state, wherein each option in tandem type control with it is multiple in parent control
The cascade of one of option.
Under the guidance of the thinking, this programme embodiment provides following feasible embodiment.
The embodiment of the invention provides a kind of display methods of tandem type selection.
Specifically, referring to FIG. 1, it is a kind of display side that optional tandem type selects provided by the embodiment of the present invention
The flow diagram of method, as shown in Figure 1, method includes the following steps:
Step 101, it receives and chooses operation for choose targets option in the first order control of tandem type control;
Step 102, label targets option is selected state;
Step 103, in the parent control for being superior to first order control, the cascade parent option of targets option is marked to be
Selected state, wherein one of multiple options in each option and parent control in tandem type control cascade.
After being chosen by antithetical phrase grade option, oppositely marks parent option selected, greatly facilitate and simplify use
Family operation, it is convenient to operate.
Tandem type control includes multiple grades of control, and every level-one control includes multiple options, every in every grade of control
Multiple option phases of a option with an option and sub- grade (if there is sub- grade) control in parent (if there is parent) control
It is associated with (cascade).The cascade of one of multiple options in each option and parent control in tandem type control.It should be noted that
Parent control includes the upper level control of current level control (such as first order control) and the control of higher level.First
Grade control in targets option cascade parent option be with the associated parent option of targets option, since each option corresponds only to
One parent option, therefore, in the multiple options of every level-one control for being higher than the first order, there is only an options and target to select
Item cascade.
Optionally, every level-one control in tandem type control is a kind of pair that can receive the inputs such as selection or key entry operation
Frame is talked about, can be used for keying in text in each dialog box or the title of option is chosen in display.Also, under each dialog box has
Menu is drawn, in the drop-down menu of every grade of control of tandem type control, for showing the total Options of corresponding level control, alternatively,
Only show the cascade option of parent option chosen.
For example, including multiple options in provincial control for province, city and region's tandem type control, each option is a province
Part, the sub- grade control of provincial control is city-level control, includes the city-level title in all provinces in city-level control, if provincial control
In have selected some province, then each option in the drop-down menu of city-level control is the province city that includes selected by provincial control
Grade title.
Method provided in an embodiment of the present invention is being received for choosing target to select in the first order control of tandem type control
Choose operation after, label targets option is selected state, also, in the parent control for being superior to first order control
In, marking the cascade parent option of targets option is selected state.
That is, the option institute that method provided in an embodiment of the present invention can reversely mark current level control selected is right
All parent options answered.For example, still by taking province, city and region's tandem type control as an example, if having keyed in " Longgang District " in area's grade control
And choose the option, then correspondence is chosen in " Guangdong Province " in provincial control, and correspondence chooses " Shenzhen " in city-level control.
Method provided in an embodiment of the present invention is higher than by reversed the choosing of the option being selected to current level control and is worked as
The cascade parent option of each rank of preceding level control, the step of simplifying the selection operation in tandem type control, if with
The exact option for knowing a certain height grade in family does not know line grade without selecting since highest level control, also, in user
In the case where the corresponding parent option names of option, the speed of selection is substantially increased.
Optionally, after label targets option is selected state, this method can also include:
Step 201, whether judgement is selected entirely with all sub- grade options of the corresponding identical parent option of targets option;
Step 202, if it is, the parent option of label targets option is to select state entirely.
That is, above-mentioned optional embodiment provides a kind of tandem type control for capableing of multiselect, if some option
All sub- grade options are all selected, then the option is further marked as selecting state entirely by selected state.
For example, can be by the way that a check box be arranged beside each option, if the display color in check box is ash
Color, then it represents that the option is selected state, if the display color in check box is black, then it represents that the option is Quan Xuanzhuan
State.
Optionally, the display elements of each option in tandem type control can also include numeric indicia.Numeric indicia is used
The option number of selected state is in the sub- grade option for marking corresponding option.
For example, can be by the way that a check box be arranged beside each option, if in check box being numerical value, then it represents that should
Option is selected state, and corresponding numerical value is the number that sub- grade option is chosen, and if in check box being " √ ", then it represents that it should
Option is to select state entirely.
Since the rank of control is lower, the number of total Options is more, for the ease of user's selection, is provided below in grade
(first order control described in the embodiment of the present invention is not highest-ranking control or spy to the first order control of connection formula control
Refer to certain level-one control, but tandem type control included multiple level controls in any level-one control) in choose target to select
Two kinds of optional embodiments of item:
The first optional embodiment is to receive for choosing target to select in the first order control of tandem type control
When choosing operation of item, includes the following steps:
Step 301, the keyword inputted in the Text Entry of first order control is received;
Step 302, the option with keyword mapping is searched in the total Options that first order control includes;
Step 303, the option found is shown by the drop-down menu of first order control;
Step 304, the operation of the selection target option in the option found is received.
In this optional embodiment, every grade of control includes at least Text Entry and drop-down menu, Text Entry
It can be used in inputting character, drop-down menu can show that the option of qualified this grade of control.User can be in text
The initial of option for needing to choose, whole acronyms of first word or option, any one word are inputted in input frame
Etc., to reduce the range for showing option, and then selection needs the targets option of selection in the option to reduce the scope, convenient
User in the lower control of rank chooses operation.
Second of optional embodiment is to receive for choosing targets option in the first order control of tandem type control
Choose operation, can also be achieved by the steps of:
Step 401, multiple index letters are shown by the drop-down menu of first order control;
Step 402, the selection in multiple index letters is received, and shows the index word based on selection in drop-down menu
The option that mother finds;
Step 403, the operation of the selection target option in the option found is received.
In this optional embodiment, every grade of control includes at least drop-down menu, and drop-down menu, which can show that, to be met
The option of this grade of control of condition, also, drop-down menu further includes multiple index letters, to indicate all choosings of this grade of control
The initial of item.User can open drop-down menu, the alphabetical model to reduce option of index provided by selection drop-down menu
It encloses, and then selection needs the targets option of selection in the option to reduce the scope, facilitates user in the lower control of rank
Choose operation.
Optionally, for above-mentioned two optional embodiment, the selection target option in the option found is received
The step of operation, can be achieved by the steps of:
Step 501, cursor is moved to one of the option found by input equipment;
Step 502, the option that label cursor currently indicates is state to be selected;
Step 503, by being superior to the Text Entry of the parent control of first order control, display highlighting is currently indicated
Option cascade parent option;
Step 504, in the case where receiving confirmation operation by input equipment, the option for choosing cursor currently to indicate is determined
For targets option.
For example, being superior to first order control if cursor of the user in first order control is moved to some option
In the Text Entry of all controls of part, the cascade parent option of the display highlighting meaning option of linkage is checked convenient for user
The parent option of the option, improves user experience.
It should be noted that step 101~step 103 executing subject can be the display device of tandem type selection, it should
Device can be the application for being located locally terminal, or can also be the plug-in unit being located locally in the application of terminal or software development
The functional units such as kit (Software Development Kit, SDK), the embodiment of the present invention is to this without especially limiting
It is fixed.It is understood that the application can be mounted in the application program (nativeApp) in terminal, or can also be
One web page program (webApp) of the browser in terminal, the embodiment of the present invention is to this without limiting.
Optionally, terminal involved in the embodiment of the present invention can include but is not limited to personal computer (Personal
Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), radio hand-held equipment, plate electricity
Brain (Tablet Computer), mobile phone, MP3 player, MP4 player etc..
Based on the display methods of the selection of tandem type provided by the embodiment of the present invention, the embodiment of the present invention further provides reality
The Installation practice of each step and method in existing above method embodiment.
Referring to FIG. 2, its function for the display device of a kind of optional tandem type selection provided by the embodiment of the present invention
It can block diagram.As shown in Fig. 2, the device includes: the first receiving module 10, the first mark module 20 and the second mark module 30.
Wherein, the first receiving module is for receiving for choosing targets option in the first order control of tandem type control
Choose operation;First mark module is selected state for marking targets option;Second mark module is used to be superior to the
In the parent control of level-one control, marking the cascade parent option of targets option is selected state, wherein in tandem type control
The cascade of one of multiple options in each option and parent control.
Optionally, the first receiving module may include: the second receiving module, defeated for receiving text in first order control
Enter the keyword inputted in frame;Searching module is mapped for searching in the total Options that first order control includes with keyword
Option;First display module, for showing the option found by the drop-down menu of first order control;Third receives mould
Block, for receiving the operation of the selection target option in the option found.
Optionally, the first receiving module may include: the second display module, for passing through the drop-down menu of first order control
Show multiple index letters;4th receiving module for receiving the selection in multiple index letters, and is shown in drop-down menu
Show the option that the index letter based on selection is found;5th receiving module selects mesh in the option found for receiving
Mark the operation of option.
As a kind of optional embodiment of above-described embodiment, above-mentioned third receiving module and the 5th receiving module are executed
Receiving the operation of selection target option in the option found can execute in the following way: by input equipment by light
Mark is moved to one of the option found;The option that label cursor currently indicates is state to be selected;By being superior to the first order
The Text Entry of the parent control of control, the cascade parent option for the option that display highlighting currently indicates;It is set by input
In the case where standby reception confirmation operation, determine that the option for choosing cursor currently to indicate is targets option.
As a kind of optional embodiment of above-described embodiment, the device further include: judgment module, in label mesh
Option is marked to judge whether all sub- grade options of the cascade parent option of targets option are selected entirely after selected state;Third
Mark module, for if it is, the cascade parent option of label targets option is selected state.
As a kind of optional embodiment of above-described embodiment, the display elements packet of each option in tandem type control
Numeric indicia is included, numeric indicia is used to mark the option number that selected state is in the sub- grade option of corresponding option.
Device provided in this embodiment is higher than by reversed the choosing of the option being selected to current level control and works as prime
The cascade parent option of each rank of other control, the step of simplifying the selection operation in tandem type control, if user is true
That cuts knows the option of a certain height grade, does not know line grade option without selecting since highest level control, also, in user
In the case where corresponding parent option names, the speed of selection is substantially increased.
The display methods of tandem type selection shown in FIG. 1, the present embodiment are able to carry out by each unit in this present embodiment
The part being not described in detail can refer to the related description to Fig. 1 corresponding embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The embodiment of the invention also provides a kind of computer equipments, as shown in figure 3, computer provided in an embodiment of the present invention
Equipment includes memory 21, processor 22 and is stored in the computer journey that can be run in memory 21 and on processor 22
Sequence, processor 22 realize the display methods of any one of aforementioned tandem type selection when executing computer program.
Those skilled in the art is appreciated that implement the method for the above embodiments and can be
Relevant hardware is instructed to complete by program, the program can store in computer-readable storage medium, meter
The display side that calculation machine is able to carry out tandem type selection provided in an embodiment of the present invention by reading the program in storage medium
Method.
Correspondingly, the storage medium of the embodiment of the present invention includes meter the embodiment of the invention also provides a kind of storage medium
Calculation machine readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes following steps: connecing
It receives and chooses operation for choose targets option in the first order control of tandem type control;Label targets option is to choose shape
State;In the parent control for being superior to first order control, marking the cascade parent option of targets option is selected state,
In, the cascade of one of multiple options in each option and parent control in tandem type control.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown
Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.