CN106354483A - Data processing method and devices and electric equipment thereof - Google Patents

Data processing method and devices and electric equipment thereof Download PDF

Info

Publication number
CN106354483A
CN106354483A CN201510419227.4A CN201510419227A CN106354483A CN 106354483 A CN106354483 A CN 106354483A CN 201510419227 A CN201510419227 A CN 201510419227A CN 106354483 A CN106354483 A CN 106354483A
Authority
CN
China
Prior art keywords
control
edit control
parent
edit
default
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510419227.4A
Other languages
Chinese (zh)
Other versions
CN106354483B (en
Inventor
刘威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510419227.4A priority Critical patent/CN106354483B/en
Publication of CN106354483A publication Critical patent/CN106354483A/en
Application granted granted Critical
Publication of CN106354483B publication Critical patent/CN106354483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data processing method, device and electronic equipment, used for auxiliary drop-down list associated with edit control. Wherein the data processing method includes: according to the default edit control constraints cascade, and gets the current edit control's parent edit control and ancestors edit control at different levels of control and control value; At all levels in order to get the parent edit control and control and control value of ancestors edit control on formation of retrieval condition, in the option of deposited data retrieval, meet the conditions for retrieving the current edit control options data; Will meet the requirements for the retrieval of optional data into the associated with the current edit control assisted the drop-down list. Use this application to provide method, can get through a unified query program edit control option data, avoid writing queries for each edit control procedures, reduce the realize edit control linkage according to the program code, so as to reduce the effect of the artificial workload.

Description

A kind of data processing method, device and electronic equipment
Technical field
The application is related to data processing field and in particular to a kind of data processing method, device and electronic equipment.
Background technology
In graphical user interfaces, edit control is a kind of control being in daily use, and user can be in edit control Inside input and edit text.Conventional edit control includes input frame control or combo box control, for example, In web page files, input frame control is by<input>label or<textarea>tag representation, combo box control Part is by<select>tag representation;In visual basic programming language, input frame control is one Textbox assembly, combo box control is a combobox assembly.
Edit control has auxiliary drop-down list associated with it, lists edit control in auxiliary drop-down list Optional item data, for user select.The optional item data of edit control both can be to determine, also may be used To be change.The optional item data causing edit control produces the main cause of change and is: edit control it Between exist cascade restriction relation.For example, the optional item data of an input frame needs according to another input frame Input content screened.When cascade restriction relation between edit control is complex, cascade constraint Relation constitutes one tree shape structure, the optional item data of wherein any one edit control be required for according to and its Have cascade restriction relation father's edit control and all ancestors' edit controls in input content as screening bar Part, to obtain qualified optional item data.
For the edit control with cascade restriction relation, the common method obtaining optional item data includes: 1) When loading the window that edit control is located, obtain all optional item data of all edit controls in this window, When user clicks on edit control, the optional item data getting in advance all is enumerated out selecting for user; 2) write the polling routine of the independent optional item data of acquisition respectively for each edit control in window, to obtain Obtain the optional item data of different edit controls.
The advantage of above-mentioned first method is that program is simple, and its shortcoming is the optional item data in edit control In the case of a fairly large number of, by leading to, the time loading window is long.The advantage of above-mentioned second method is The time loading window is not affected by the option data bulk of edit control, thus loading velocity is very fast. However, because second method needs for each edit control independent custom-built query program, therefore the method general Lead to higher development cost.Particularly, by above-mentioned second method it is impossible to solve between edit control Cascade restriction relation constitute tree structure in the case of, obtain edit control optional item data problem.
In sum, when there is cascade restriction relation between edit control, prior art exists to be needed to be every The independent custom-built query program of individual edit control, just enables the asking of optional item data of Dynamic Announce edit control Topic.
Content of the invention
The application provides a kind of data processing method, device and electronic equipment, to solve between edit control When there is cascade restriction relation, prior art exists to be needed for each edit control independent custom-built query program, Just enable the problem of the optional item data of Dynamic Announce edit control.
Itself please provide a kind of data processing method, for the auxiliary drop-down list associating with edit control, wrap Include:
When listening to default display drop-down list event for the default event sniffer of edit control, according to Default edit control cascades restriction relation, obtains the parent edit control of current edit control and ancestors at different levels The control name of edit control and control value;
With the control name of the described parent edit control of acquisition and ancestors' edit control at different levels and control value to formation Search condition, concentrates retrieval in the option data prestoring, and meets the described current of described search condition to obtain The optional item data of edit control;
The optional item data meeting search condition is filled into the auxiliary associating with described current edit control drop-down In list.
Optionally, described father restriction relation being cascaded according to default edit control, obtaining current edit control The control name of level edit control and ancestors' edit control at different levels and control value, comprising:
Restriction relation is cascaded according to default edit control, judges whether have with described current edit control There is the parent edit control of cascade restriction relation;
If above-mentioned judged result is yes, obtain control name and the control value of described parent edit control, and will Described parent edit control as described current edit control, return execution described according to default edit control Cascade restriction relation, judges whether that the parent having cascade restriction relation with described current edit control is compiled The step collecting control.
Optionally, described edit control has parent edit control attribute;Described default edit control cascade Restriction relation is arranged in the described parent edit control attribute of each edit control.
Optionally, described according to default edit control cascade restriction relation, judge whether with described work as Pre-editing control has the parent edit control of cascade restriction relation, comprising:
Read the property value of the parent edit control attribute of described current edit control;
According to the property value of described parent edit control attribute, judge whether and described current edit control There is the described parent edit control of cascade restriction relation.
Optionally, the property value of described parent edit control attribute includes the pathname of described parent edit control And control name;The described control name obtaining described parent edit control and control value, comprising:
Parse the property value of described parent edit control attribute, obtain described parent edit control pathname and Control name;
Pathname according to described parent edit control and control name, obtain described parent edit control;
Read the control value of described parent edit control.
Optionally, described with obtain described parent edit control and ancestors' edit control at different levels control name and Control value, to forming search condition, concentrates retrieval in the option data prestoring, and meets described retrieval bar to obtain The optional item data of the described current edit control of part, comprising:
Control name according to the described parent edit control obtaining and ancestors' edit control at different levels and control value pair, Form described search condition;
By default polling routine, concentrate retrieval in the described option data prestoring, obtain and meet described inspection The optional item data of the described current edit control of rope condition.
Optionally, described search condition is by the control of described parent edit control and ancestors' edit control at different levels The logical AND expression formula that the equivalence relation of name and control value pair is constituted.
Optionally, described default edit control cascades restriction relation, builds in the following way:
Cascade restriction relation between each edit control is set in DOM Document Object Model.
Optionally, described edit control has parent edit control attribute;Described default edit control cascade Restriction relation is arranged in the described parent edit control attribute of each edit control;Described in document object The cascade restriction relation arranging in model between each edit control includes:
Each edit control is write in DOM Document Object Model;
By described parent edit control attribute, configure the cascade restriction relation between each edit control.
Optionally, described current edit control adopts input frame control;Described will meet the optional of search condition Item data is filled in the auxiliary drop-down list being associated with described current edit control, comprising:
For each optional item data, each self-corresponding click event is set;When described click event is triggered, will Optional item data corresponding with this click event is as the input value of described input frame control;
By each the optional item data after setting click event, it is filled into and associates with described current edit control In auxiliary drop-down list.
Optionally, the drop-down row of default display ought be listened to for the default event sniffer of edit control described During list event, restriction relation is cascaded according to default edit control, obtain the parent editor of current edit control Before the control name of control and ancestors' edit control at different levels and control value, also include:
Monitor the described default display drop-down list event of described edit control.
Accordingly, the application also provides a kind of data processing equipment, under the auxiliary that associates with edit control Draw list, comprising:
Acquiring unit, listens to the drop-down row of default display for working as the default event sniffer of edit control During list event, restriction relation is cascaded according to default edit control, obtain the parent editor of current edit control The control name of control and ancestors' edit control at different levels and control value;
Retrieval unit, for the control name of the described parent edit control to obtain and ancestors' edit control at different levels With control value to forming search condition, concentrate retrieval in the option data prestoring, meet described retrieval to obtain The optional item data of the described current edit control of condition;
Fills unit, for being filled into and described current edit control the optional item data meeting search condition In the auxiliary drop-down list of association.
Optionally, described acquiring unit includes:
Judgment sub-unit, for cascading restriction relation according to default edit control, judges whether and institute State the parent edit control that current edit control has cascade restriction relation;
Obtaining subelement, if being yes for above-mentioned judged result, obtaining the control of described parent edit control Name and control value, and using described parent edit control as described current edit control, return described of execution Cascade restriction relation according to default edit control, judge whether, with described current edit control, there is cascade The step of the parent edit control of restriction relation.
Optionally, described edit control has parent edit control attribute;Described default edit control cascade Restriction relation is arranged in the described parent edit control attribute of each edit control.
Optionally, described judgment sub-unit includes:
Read subelement, for reading the property value of the parent edit control attribute of described current edit control;
First judgment sub-unit, for the property value according to described parent edit control attribute, judges whether to deposit In the described parent edit control with described current edit control with cascade restriction relation.
Optionally, the property value of described parent edit control attribute includes the pathname of described parent edit control And control name;Described acquisition subelement includes:
Parsing subelement, for parsing the property value of described parent edit control attribute, obtains described parent and compiles Collect pathname and the control name of control;
First acquisition subelement, for the pathname according to described parent edit control and control name, obtains institute State parent edit control;
Read subelement, for reading the control value of described parent edit control.
Optionally, described retrieval unit includes:
Generate subelement, for the control according to the described parent edit control obtaining and ancestors' edit control at different levels Part name and control value pair, form described search condition;
First retrieval subelement, for by default polling routine, concentrating in the described option data prestoring Retrieval, obtains the optional item data of the described current edit control meeting described search condition.
Optionally, also include:
Build relation unit, cascade restriction relation for building described default edit control;Described structure institute State default edit control cascade restriction relation, in the following way:
Cascade restriction relation between each edit control is set in DOM Document Object Model.
Optionally, described edit control has parent edit control attribute;Described default edit control cascade Restriction relation is arranged in the described parent edit control attribute of each edit control;Described structure relation list Unit includes:
Write subelement, for writing each edit control in DOM Document Object Model;
Configuration subelement, for by described parent edit control attribute, configuring between each edit control Cascade restriction relation.
Optionally, described fills unit includes:
Setting subelement, for arranging each self-corresponding click event for each optional item data;Described click When event is triggered, using optional item data corresponding with this click event as described input frame control input Value;
Filling subelement, for by each the optional item data after setting click event, being filled into and working as with described In the auxiliary drop-down list of pre-editing control association.
Optionally, also include:
Monitoring unit, for monitoring the described default display drop-down list event of described edit control.
Accordingly, the application also provides a kind of electronic equipment, comprising:
Display;
Processor;And
Memorizer, for data storage processing meanss, when described data processing equipment is by described computing device, Comprise the steps: to work as and listen to default display drop-down list thing for the default event sniffer of edit control During part, restriction relation is cascaded according to default edit control, obtain the parent edit control of current edit control Control name and control value with ancestors' edit controls at different levels;With the described parent edit control of acquisition and ancestral at different levels The control name of first edit control and control value, to forming search condition, concentrate retrieval in the option data prestoring, To obtain the optional item data of the described current edit control meeting described search condition;Search condition will be met Optional item data be filled in the auxiliary drop-down list associating with described current edit control.
Compared with prior art, the application has the advantage that
The embodiment of the present application provide data processing method, when for the default event sniffer of edit control monitor During to default display drop-down list event, by restriction relation is cascaded according to default edit control, obtain The current parent edit control of edit control and the control name of ancestors' edit control at different levels and control value;And to obtain The described parent edit control taking and the control name of ancestors' edit control at different levels and control value retrieve bar to being formed Part, concentrates retrieval in the option data prestoring, and is met described in described search condition when pre-editing control with obtaining The optional item data of part;The optional item data meeting search condition is filled into and closes with described current edit control So that the edit control with cascade restriction relation needs linkage display option in the auxiliary drop-down list of connection The optional item data of edit control during data, can be obtained by a unified polling routine, it is to avoid for every Individual edit control writes polling routine respectively, decreases the program code realizing edit control linkage display, from And reach the effect reducing labor workload.
Brief description
Fig. 1 is the flow chart of the data processing method embodiment of the application;
Fig. 2 is the dom structural representation of the data processing method embodiment of the application;
Fig. 3 is showing of the edit control with cascade restriction relation of the data processing method embodiment of the application It is intended to;
Fig. 4 is that the program code of the setting cascade restriction relation of the data processing method embodiment of the application is illustrated Figure;
Fig. 5 is the particular flow sheet of data processing method embodiment step s101 of the application;
Fig. 6 is the particular flow sheet of data processing method embodiment step s1013 of the application;
Fig. 7 is the particular flow sheet of the data processing method embodiment construction polling routine parameter of the application;
Fig. 8 is the schematic diagram of the data processing equipment embodiment of the application;
Fig. 9 is the concrete schematic diagram of the data processing equipment embodiment acquiring unit 101 of the application;
Figure 10 is the concrete schematic diagram of the data processing equipment embodiment of the application;
Figure 11 is the concrete schematic diagram of the electronic equipment of the application.
Specific embodiment
Elaborate a lot of details in order to fully understand the application in the following description.But the application Can much to implement different from alternate manner described here, those skilled in the art can without prejudice to Similar popularization is done, therefore the application is not embodied as being limited by following public in the case of the application intension.
In this application, there is provided a kind of data processing method, device and electronic equipment.In following enforcement It is described in detail one by one in example.
The data processing method that the embodiment of the present application provides, its basic thought is: for drop-down list to be shown Edit control, according to it, there is the cascade parent edit control of restriction relation and ancestors' edit control at different levels Control name and control value form search condition, by a unified query interface, retrieving acquisition will show The optional item data of the edit control of drop-down list.Because the method that the application provides is by a unification Query interface retrieval obtains the optional item data of edit control, need not write inquiry respectively for each edit control Interface, therefore, it is possible to reduce the program code realizing edit control linkage display.
Refer to Fig. 1, it is the flow chart of the data processing method embodiment of the application.Methods described include as Lower step:
Step s101: when for the default event sniffer of edit control listen to default display drop-down list thing During part, restriction relation is cascaded according to default edit control, obtain the parent edit control of current edit control Control name and control value with ancestors' edit controls at different levels.
Edit control described in the embodiment of the present application, refers to a kind of editable graphical user-interface element of content. Edit control is a kind of control being in daily use, and can input and edit text in edit control.Specifically, Edit control includes input frame control or combo box control, for example, in web page files, input frame control is By<input>label or<textarea>tag representation, combo box control is by<select>tag representation 's;In visual basic programming language, input frame control is a textbox assembly, combo box control It is a combobox assembly.
In actual applications, when for the default event sniffer of edit control listen to default display drop-down row During list event, start the data processing method that execution the embodiment of the present application provides, obtain for current edit control Optional item data, and be shown in drop-down list.Therefore, the method that the application offer be provided, first The edit control having cascade restriction relation for each of window is first needed to pre-set respective action listener Device.
Event sniffer described in the embodiment of the present application, for monitoring under the display of edit control associated with it Draw list events.Display drop-down list event described in the embodiment of the present application, is by implementing to edit control Deliberate action triggering, for example, clicking operation to edit control or in input frame input data behaviour Make all by triggering display drop-down list event.
When listening to default display drop-down list event for the default event sniffer of edit control, execution The method that the embodiment of the present application provides.The method that the embodiment of the present application provides, first according to default editor's control Part cascades restriction relation, obtains the parent edit control of current edit control and the control of ancestors' edit control at different levels Part name and control value.
Default edit control described herein cascades restriction relation, defines each editor in a window Cascade restriction relation between control, for example: the optional item data of No. 2 edit controls depends on No. 1 editor's control Input value of part etc..In complex situations, default edit control cascade restriction relation will form a tree Shape structure, each edit control in this tree structure passes through a unified polling routine, obtains each volume Collect the optional item data of control it may be assumed that a default edit control cascade restriction relation only corresponds to an inquiry Program.Restriction relation is cascaded by default edit control, the parent editor of current edit control can be obtained The control name of control and ancestors' edit control at different levels and control value.
In the present embodiment, edit control is located in web page files.Obtain web page files in order to convenient The parent edit control of middle edit control and ancestors' edit control at different levels, need to arrange in DOM Document Object Model Cascade restriction relation between each edit control.
DOM Document Object Model (document object model, abbreviation dom), is w3c Organisation recommendations Process the standard programming interface of extensible markup language.It is a kind of application program unrelated with platform and language Interface (api), it can dynamically access program and script, updates its content, structure and www document Style (at present, html and xml document are defined by declaratives).Document can further by Process, the result of process can be added to the current page.Dom is a kind of api document based on tree, it Whole document in processing procedure is required all to represent in memory.
Dom is divided into html dom and two kinds of xml dom.They respectively define access and operate The standard method of html/xml document, and corresponding document is rendered as with element, attribute and text Tree construction (node tree).DOM Document Object Model has a characteristic that
1) dom tree defines the logical structure of html/xml document, gives a kind of application program and visits The method asking and processing xml document.
2) in dom tree, there is a root node, every other node is all the offspring of root node.
3) in application process, html/xml analyzer based on dom is by a html/xml literary composition Shelves are converted into a dom tree, and application program, by the operation to dom tree, to be realized to html/xml The operation of document data.
Refer to Fig. 2, it is the dom structural representation of the data processing method embodiment of the application.? In html dom, all things are all nodes.Dom is regarded as the html of node tree.According to The html dom standard of w3c, all the elements in html document are all nodes: whole document is One document node;Each html element is node element;Text in html element is text section Point;Each html attribute is attribute node;Annotation is comment nodes.
Refer to Fig. 3, it is the editor with cascade restriction relation of the data processing method embodiment of the application The schematic diagram of control.Wherein, the content of No. 1 input frame is when the page loads, and directly invokes polling routine and obtains ?;The content of No. 2 input frames is with the content of No. 1 input frame as search condition, calls above-mentioned polling routine Obtain;The content of No. 3 input frames is with the content of No. 1 and No. 2 input frame as search condition, calls above-mentioned Polling routine obtains;By that analogy it can be seen that 5 to No. 9 input frame more than one, its cascade connection It is that all of No. 5 input frames, all with the content of 1 to No. 4 input frame as search condition, call above-mentioned inquiry Program obtains;No. 6 input frames after first No. 5 input frame are with 1 to No. 4 input frame The content of content and first No. 5 input frame is search condition, calls above-mentioned polling routine to obtain;In the same manner , No. 8 input frames are with the content of 5 to No. 7 input frames above 1 to No. 4 input frame and No. 8 for retrieval Condition, calls above-mentioned polling routine to obtain.
For the cascade restriction relation between the edit control shown in Fig. 3, refer to Fig. 4, it is the application's The setting of data processing method embodiment cascades the program code schematic diagram of restriction relation.Wherein, code < div Class=" container " > in the div node element that identified of container generic attribute be to there is cascade constraint close The top-level element node that each edit control of system belongs to together.
The div node element that input-element generic attribute in epimere code is identified is container generic attribute institute The child node of the div node element of mark, in the div node element that input-element generic attribute is identified Edit control is input frame control, the entitled interfacetypedescription of control, control Data-cascade-parent-exp attribute is a Custom Attributes, the parent editor of this this control of attribute-bit The pathname of control and control name, data-suggest-url attribute is also a Custom Attributes, this attribute-bit Obtain the polling routine title of optional item data.
Data-cascade-parent-exp property value in epimere code is .panel Input [name=' interfacetypedescription '], represents that input frame interfacedescription's is optional Item data depends on the input value of input frame interfacetypedescription.
Data-cascade-parent-exp property value in epimere code is .container input [name=' Methoddescription '], represent div node element -> panel generic attribute that container generic attribute is identified Input frame under the div node element that the div node element -> panel-heading generic attribute being identified is identified The option data dependence of interfacetypedescription is in the nearest upper level of current div node element The input of the input frame interfacetypedescription under the div node element that contain generic attribute is identified Value.
In sum, by arranging the cascade restriction relation between each edit control in DOM Document Object Model, The parent edit control of edit control and ancestors' edit control at different levels can easily be obtained.Specifically, in literary composition Cascade restriction relation between each edit control is set in shelves object model, comprises the steps: 1) in literary composition Each edit control is write in shelves object model;2) by default cascade restriction relation attribute, configure each Cascade restriction relation between edit control.
1) write each edit control in DOM Document Object Model.
By writing each edit control in DOM Document Object Model, each edit control can be by node path Name and control name mark, for example, COS corresponding input frame interfacetypedescription in Fig. 4 Node path name be container, the section of function type corresponding input frame interfacetypedescription Point pathname is container.panel.panel-heading it is seen that the control name under different node path can phase Same, the different controls of identical control name mark can be distinguished by the node path name of control name.
In web page files, independent, different part can be divided into document by<div>label.It Can serve as strict organization tool, and do not use any form to be associated with.Especially with id or Class carrys out labelling<div>, then the effect of this label can become more efficient.In the present embodiment, pass through The class attribute of div element is identifying the node path name of edit control.
The class attribute occurring in the web page tag of Fig. 4 is usually to be used for calling the preformulation attribute in css, The css having named is css selector again.With ". " English half-angle small letter fullstop in css pattern To name preformulation attribute, and then Selection and call preformulation attribute to be come with class attribute in the html page, example As: .container { attribute: property value;Selector calls as<div class=" container ">in html. The configuration one " class " repeat in one Webpage can be not be used in as call function by class attribute Attribute, and only need to write a class class selection it is possible to any call by location selects in the same page Select with identical class class.
2) pass through described parent edit control attribute, configure the cascade restriction relation between each edit control.
Parent edit control attribute described in the embodiment of the present application is a self-defining attribute, has cascade about Each edit control of bundle relation is respectively provided with parent edit control attribute.By setting for each edit control The parent edit control attribute put, defines the default edit control cascade constraint described in the embodiment of the present application Relation.Therefore, default edit control cascades the parent editor that restriction relation is arranged on each edit control In control property.
For example, in Fig. 4, input label remains original name attribute, and increased parent edit control genus Property: pointed by the property value of data-cascade-parent-exp, data-cascade-parent-exp is that linkage is drawn Play the parent edit control of current edit control option data variation, data-cascade-parent-exp uses father The name attribute of level edit control carrys out assignment, and the value of data-cascade-parent-exp also includes parent and compiles Collect the node path name of control.
It should be noted that because the edit control of the present embodiment is located in web page files, therefore passing through to adopt Web page files write in javascript and css language, arranges between each edit control in DOM Document Object Model Cascade restriction relation.In actual applications, it is also not limited to arrange each in DOM Document Object Model Cascade restriction relation between edit control, can also be organizational structure of other edit controls etc., for example, When edit control is not at web page files, and when being located at common window, can adopt related to this window Edit control organizational structure, obtain the parent edit control of edit control and ancestors at different levels edit to facilitate Control.The change of these different modes above-mentioned, all simply specific embodiment, all without departing from the application's Core, therefore all within the protection domain of the application.
In the present embodiment, when set in DOM Document Object Model the cascade between each edit control constraint It is possible to restriction relation is cascaded according to default edit control after relation, obtain the parent of current edit control The control name of edit control and ancestors' edit control at different levels and control value.Refer to Fig. 5, it is the number of the application Particular flow sheet according to processing method embodiment step s101.Specifically, described according to default edit control Cascade restriction relation, obtains the parent edit control of current edit control and the control of ancestors' edit control at different levels Name and control value, comprising:
Step s1011: restriction relation is cascaded according to default edit control, judges whether current with described Edit control has the parent edit control of cascade restriction relation.
The data processing method that the embodiment of the present application provides, is the parent edit control according to current edit control The property value of attribute, to dom structure step by step upwards recurrence obtain every one-level edit control parent editor control During part, progressively get the parent edit control of current edit control and ancestors' edit control at different levels Control name and control value.In Recursion process edit control at different levels, the parent according to current edit control is compiled Collect control property, obtain control name and the control value of its parent edit control.
Specifically, described according to default edit control cascade restriction relation, judge whether with described work as Pre-editing control has the parent edit control of cascade restriction relation, comprising: work as pre-editing control described in 1) reading The property value of the parent edit control attribute of part;2) property value according to described parent edit control attribute, sentences Disconnected have, with the presence or absence of with described current edit control, the described parent edit control cascading restriction relation.
1) read the property value of the parent edit control attribute of described current edit control.
For the edit control processing in recursive procedure, read the father of this edit control by dom api The property value of level edit control attribute.
2) property value according to described parent edit control attribute, judges whether with described when pre-editing control Part has the described parent edit control of cascade restriction relation.
After getting the property value of parent edit control attribute of current edit control, according to the genus getting Property value, judge whether with current edit control have cascade restriction relation parent edit control.At this In embodiment, if the property value of parent edit control attribute is empty then it represents that current edit control does not exist There is the parent edit control of cascade restriction relation, if the property value of parent edit control attribute is non-NULL, Then represent that current edit control has the parent edit control with cascade restriction relation.
Step s1013: if above-mentioned judged result is yes, obtain control name and the control of described parent edit control Part value, and using described parent edit control as described current edit control, return the described basis of execution and preset Edit control cascade restriction relation, judge whether with described current edit control have cascade constraint close The step of the parent edit control of system.
By the judgement of step s1011, if there is the father with current edit control with cascade restriction relation Level edit control, then the property value according to parent edit control attribute, obtain the control name of parent edit control, And obtain its control value according further to the control name of parent edit control.Get with when pre-editing control After part has the control name of parent edit control and the control value of cascade restriction relation, along dom tree recurrence upwards Process the parent edit control of current edit control, as current edit control, repeat the above steps S1011, till the current edit control no parent edit control processing.
Refer to Fig. 6, it is the particular flow sheet of data processing method embodiment step s1013 of the application. Specifically, the described control name obtaining described parent edit control and control value, comprising:
Step s10131: parse the property value of described parent edit control attribute, obtain described parent editor control The pathname of part and control name.
The property value of the parent edit control attribute described in the embodiment of the present application, including described parent edit control Pathname and control name.For example, COS corresponding input frame interfacetypedescription in Fig. 4 Pathname be container, the pathname of function type corresponding input frame interfacetypedescription It is container.panel.panel-heading.
In the present embodiment, using pathname and the control name of space-separated parent edit control, thus pass through The method obtaining substring can get pathname and the control name of parent edit control respectively.In reality In application, it is also not limited to the pathname of separative sign level edit control and control name by the way of space, Can also be other default separating characters etc., these different modes above-mentioned, all simply specific embodiment Change, all without departing from the core of the application, therefore all within the protection domain of the application.
Step s10133: the pathname according to described parent edit control and control name, obtain described parent and compile Collect control.
After the pathname obtaining parent edit control and control name, being further advanced by dom api can obtain The parent edit control of this control name mark under this path for the fetch bit.
Step s10135: read the control value of described parent edit control.
After getting the parent edit control with current edit control with cascade restriction relation, by reading The value attribute of this edit control, you can obtain the control value of parent edit control.
By step s1011 according to default edit control cascade restriction relation, judge whether with currently Edit control has the parent edit control of cascade restriction relation, if above-mentioned judged result is no then it represents that obtaining Get the parent edit control of current edit control and the control name of ancestors' edit control at different levels and control value.
Step s103: with the control name of the described parent edit control of acquisition and ancestors' edit control at different levels and control Part value, to forming search condition, concentrates retrieval in the option data prestoring, and meets described search condition to obtain Described current edit control optional item data.
The parent edit control of current edit control and ancestors' edit control at different levels are got by step s101 Control name and control value, form inspection with the control name of every a pair of edit control and the combination of control value getting Rope condition, concentrates retrieval by unified polling routine in the option data prestoring, and meets described inspection to obtain The optional item data of the described current edit control of rope condition.
Specifically, described with obtain described parent edit control and ancestors' edit control at different levels control name and Control value, to forming search condition, concentrates retrieval in the option data prestoring, and meets described retrieval bar to obtain The optional item data of the described current edit control of part, comprising: 1) according to the described parent edit control obtaining With control name and the control value pair of ancestors' edit controls at different levels, form described search condition;2) by default Polling routine, concentrates retrieval in the described option data prestoring, and acquisition meets the described of described search condition and works as The optional item data of pre-editing control.
1) control name according to the described parent edit control obtaining and ancestors' edit control at different levels and control value Right, form described search condition.
Search condition described in the embodiment of the present application is by the parent edit control of current edit control and ancestral at different levels The logical AND expression formula that the equivalence relation of the control name of first edit control and control value pair is constituted.For example, Fig. 3 In the content of No. 3 input frames be with the content of No. 1 and No. 2 input frame as search condition, wherein No. 1 input The content of frame is xxx, and the content of No. 2 input frames is yyy, then search condition is: parameter 1=" xxx " And parameter 2=" yyy ".
2) by default polling routine, concentrate retrieval in the described option data prestoring, obtain described in meeting The optional item data of the described current edit control of search condition.
In the present embodiment, default polling routine is " to obtain optional by the Custom Attributes of edit control The polling routine name attribute of item data " (i.e. data-suggest-url) identifies.Web application provides unification Polling routine, call this polling routine obtain current edit control optional item data when, need to this The certain parameter of polling routine transmission, these parameters are exactly all parent editors related to current edit control The control name of control and control value, polling routine forms search condition according to the query argument receiving, and foundation Search condition executes inquiry operation, thus obtaining the optional item data of current edit control.
Refer to Fig. 7, it is the concrete stream of the data processing method embodiment construction polling routine parameter of the application Cheng Tu.Specifically, when user clicks on certain edit control or inputs character in certain edit control, The display drop-down list event that triggering is bound with this edit control, the event handler construction inquiry journey of this event The step of order parameter is as described below: reads first " name attribute " of current edit control, and this title is belonged to Property represents, as a parameter of polling routine, this parameter, the edit control title that will obtain optional item data; Then, read " the parent edit control attribute " of current edit control, and judge parent edit control property value Whether it is empty;If it is judged that being no, then " parent edit control attribute " is split for separator with space, With the Part I after fractionation as the father node selector in a nearest dom structure of this input frame, Find the father node of a nearest coincidence selector condition in dom structure according to father node selector, with tearing open Part II after point as the selector of a child node of father node in 1, according to the father in dom structure Node and child node selector find the father's input frame/combobox in cascade connection, read father's input frame/combobox " name attribute " and " value attribute " value, and by [value of name attribute]=[value of value attribute] make A parameter for polling routine;If it is judged that being yes, then read current edit control " obtain can The polling routine name attribute of option data ", all parameters obtaining before adding to this property value.
It is possible to request is held according to parameter after each concrete steps of Fig. 7 construct polling routine parameter The polling routine that row rear end provides, polling routine concentrates retrieval in the option data prestoring, and obtains eligible Current edit control optional item data, the data display finally polling routine of rear end being returned is to this volume Collect the lower section of control, select for user.After user selects, the value that user is selected is filled out in edit control.
The option data collection prestoring described in the embodiment of the present application, is with the storage of json data interchange format, The genus of " obtaining the polling routine name attribute of optional item data " (i.e. the data-suggest-url) of edit control Property value be "/scc/servicemetainforpc/suggest.json ", server end return json form editor The optional item data of control, for example, [[" yes ", " classification hit "], [" no ", " classification is not hit by "]].Answer actual With in, unified polling routine be also not limited to json data interchange format storage option data Collection, can also be other routine interfaces etc., for example, is compiled using programming languages such as java, c#, php, ruby The polling routine write, the change of these different modes above-mentioned, all simply specific embodiment, all without departing from The core of the application, therefore all within the protection domain of the application.
Step s105: the optional item data meeting search condition is filled into and associates with described current edit control Auxiliary drop-down list in.
Get the optional item data of edit control by step s103, generally optional item data is a key assignments To list.Need these option data displays in the auxiliary drop-down list associating with current edit control In, drop-down list is filled with one or more suggestions and completes character string.Specifically, due to the volume of the present embodiment Collect control to be located in web page files, the symbol that therefore can get step s103 by javascript program The option data exhibiting closing search condition, below edit control, is supplied to user and selects.
In actual applications, if edit control adopts input frame control, just meet search condition can Option data is filled in the auxiliary drop-down list being associated with described current edit control, comprising: be 1) each Optional item data arranges each self-corresponding click event;When described click event is triggered, will be with this click thing The corresponding option value of part is as the input value of described input frame control;2) can by each after setting click event Option data, is filled in the auxiliary drop-down list being associated with described current edit control.
1) it is that each optional item data arranges each self-corresponding click event;When described click event is triggered, Using with this corresponding option value of click event as described input frame control input value.
For the edit control of combination rectangle style, the optional item data getting is filled into auxiliary drop-down After list, if selecting one of option, this option value is filled in input frame automatically.And for Traditional input frame control, if selecting one of option, this option value will not be filled into defeated automatically Enter in frame it is therefore desirable to extra does some settings so that option value can be filled in input frame automatically. For this reason, each self-corresponding click event can be arranged for each optional item data.When click event is triggered, Using with this corresponding option value of click event as Text Entry value.
2) by each the optional item data after setting click event, it is filled into and associates with described current edit control Auxiliary drop-down list in.
For the auxiliary drop-down list associating with Text Entry, after for each option setting click event, By each the optional item data after setting click event, it is filled into the auxiliary drop-down list associating with edit control In.In the present embodiment, by using javascript and jquery technology, polling routine return can Option data (generally this data be an array) with "<li>certain element of array</li>" mode add To after current input frame dom node, add one to each<li>simultaneously and click on event so as in quilt During click, the element content in<li>is filled out in the value attribute of input frame.
In the above-described embodiment, there is provided a kind of data processing method, corresponding, the application is also A kind of data processing equipment is provided.This device is corresponding with the embodiment of said method.
Refer to Fig. 8, it is the schematic diagram of the data processing equipment embodiment of the application.Due to device embodiment It is substantially similar to embodiment of the method, so describing fairly simple, referring to the portion of embodiment of the method in place of correlation Defend oneself bright.Device embodiment described below is only schematically.
A kind of data processing equipment of the present embodiment, for the auxiliary drop-down list being associated with edit control, is wrapped Include:
Acquiring unit 101, for drop-down when listening to default display for the default event sniffer of edit control During list events, restriction relation is cascaded according to default edit control, the parent obtaining current edit control is compiled The control name of volume control and ancestors' edit control at different levels and control value;
Retrieval unit 103, for the control of the described parent edit control to obtain and ancestors' edit control at different levels Name and control value, to forming search condition, concentrate retrieval in the option data prestoring, and meet described inspection to obtain The optional item data of the described current edit control of rope condition;
Fills unit 105, for being filled into described the optional item data meeting search condition when pre-editing control In the auxiliary drop-down list of part association.
Refer to Fig. 9, it is the concrete schematic diagram of the data processing equipment embodiment acquiring unit 101 of the application. Optionally, described acquiring unit 101 includes:
Judgment sub-unit 1011, for cascading restriction relation according to default edit control, judges whether There is the parent edit control of cascade restriction relation with described current edit control;
Obtaining subelement 1013, if being yes for above-mentioned judged result, obtaining described parent edit control Control name and control value, and using described parent edit control as described current edit control, return execution institute State and restriction relation is cascaded according to default edit control, judge whether have with described current edit control The step of the parent edit control of cascade restriction relation.
Optionally, described edit control has parent edit control attribute;Described default edit control cascade Restriction relation is arranged in the described parent edit control attribute of each edit control.
Optionally, described judgment sub-unit 1011 includes:
Read subelement, for reading the property value of the parent edit control attribute of described current edit control;
First judgment sub-unit, for the property value according to described parent edit control attribute, judges whether to deposit In the described parent edit control with described current edit control with cascade restriction relation.
Optionally, the property value of described parent edit control attribute includes the pathname of described parent edit control And control name;Described acquisition subelement 1013 includes:
Parsing subelement, for parsing the property value of described parent edit control attribute, obtains described parent and compiles Collect pathname and the control name of control;
First acquisition subelement, for the pathname according to described parent edit control and control name, obtains institute State parent edit control;
Read subelement, for reading the control value of described parent edit control.
Optionally, described retrieval unit 103 includes:
Generate subelement, for the control according to the described parent edit control obtaining and ancestors' edit control at different levels Part name and control value pair, form described search condition;
First retrieval subelement, for by default polling routine, concentrating in the described option data prestoring Retrieval, obtains the optional item data of the described current edit control meeting described search condition.
Refer to Figure 10, it is the concrete schematic diagram of the data processing equipment embodiment of the application.Optionally, Also include:
Build relation unit 201, cascade restriction relation for building described default edit control;Described structure Described default edit control cascades restriction relation, in the following way:
Cascade restriction relation between each edit control is set in DOM Document Object Model.
Optionally, described edit control has parent edit control attribute;Described default edit control cascade Restriction relation is arranged in the described parent edit control attribute of each edit control;Described structure relation list Unit 201 includes:
Write subelement, for writing each edit control in DOM Document Object Model;
Configuration subelement, for by described parent edit control attribute, configuring between each edit control Cascade restriction relation.
Optionally, described fills unit 105 includes:
Setting subelement, for arranging each self-corresponding click event for each optional item data;Described click When event is triggered, using optional item data corresponding with this click event as described input frame control input Value;
Filling subelement, for by each the optional item data after setting click event, being filled into and working as with described In the auxiliary drop-down list of pre-editing control association.
Optionally, also include:
Monitoring unit 203, for monitoring the described default display drop-down list event of described edit control.
Refer to Figure 11, it is the flow chart of the electronic equipment embodiment of the application.Due to apparatus embodiments base Originally similar in appearance to embodiment of the method, so describing fairly simple, referring to the part of embodiment of the method in place of correlation Illustrate.Apparatus embodiments described below are only schematically.
The embodiment of the present application also provides a kind of electronic equipment, and this electronic equipment includes: display 1101;Process Device 1102;And memorizer 1103, for data storage processing meanss, described data processing equipment is described During processor 1102 execution, comprise the steps: pre- when listening to for the default event sniffer of edit control If display drop-down list event when, according to default edit control cascade restriction relation, obtain work as pre-editing The control name of the parent edit control of control and ancestors' edit control at different levels and control value;With the described father obtaining Level edit control and the control name of ancestors' edit control at different levels and control value to forming search condition, prestore Option data concentrates retrieval, to obtain the optional item number of the described current edit control meeting described search condition According to;The optional item data meeting search condition is filled into the auxiliary associating with described current edit control drop-down In list.
Electronic equipment described in the embodiment of the present application includes the terminal units such as PC, pad, ipad, and Mobile communication equipment is it may be assumed that usually said mobile phone or smart mobile phone.In memorizer in this electronic equipment Be stored with data processing equipment, and this data processing equipment is used for being met according to default cascade restriction relation acquisition The optional item data of condition, and the data getting is filled into the auxiliary drop-down list associating with edit control In.
The embodiment of the present application provide data processing method, when for the default event sniffer of edit control monitor During to default display drop-down list event, by restriction relation is cascaded according to default edit control, obtain The current parent edit control of edit control and the control name of ancestors' edit control at different levels and control value;And to obtain The described parent edit control taking and the control name of ancestors' edit control at different levels and control value retrieve bar to being formed Part, concentrates retrieval in the option data prestoring, and is met described in described search condition when pre-editing control with obtaining The optional item data of part;The optional item data meeting search condition is filled into and closes with described current edit control So that the edit control with cascade restriction relation needs linkage display option in the auxiliary drop-down list of connection The optional item data of edit control during data, can be obtained by a unified polling routine, it is to avoid for every Individual edit control writes polling routine respectively, decreases the program code realizing edit control linkage display, from And reach the effect reducing labor workload.
Although the application is open as above with preferred embodiment, it is not for limiting the application, Ren Heben Skilled person, without departing from spirit and scope, can make possible variation and modification, The protection domain of therefore the application should be defined by the scope that the application claim is defined.
In a typical configuration, computing device includes one or more processors (cpu), input/output Interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (ram) and/or the form such as Nonvolatile memory, such as read only memory (rom) or flash memory (flash ram). Internal memory is the example of computer-readable medium.
1st, computer-readable medium include permanent and non-permanent, removable and non-removable media can be by Any method or technique is realizing information Store.Information can be computer-readable instruction, data structure, journey The module of sequence or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (pram), static RAM (sram), dynamic random access memory (dram), its The random access memory (ram) of his type, read only memory (rom), electrically erasable is read-only deposits Reservoir (eeprom), fast flash memory bank or other memory techniques, read-only optical disc read only memory (cd-rom), digital versatile disc (dvd) or other optical storage, magnetic cassette tape, tape magnetic magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be set by calculating The standby information accessing.Define according to herein, computer-readable medium does not include non-temporary computer-readable matchmaker Body (transitory media), the such as data signal of modulation and carrier wave.
2 it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer Program product.Therefore, the application using complete hardware embodiment, complete software embodiment or can combine software Form with the embodiment of hardware aspect.And, the application can adopt and wherein include meter one or more Calculation machine usable program code computer-usable storage medium (including but not limited to disk memory, Cd-rom, optical memory etc.) the upper computer program implemented form.

Claims (22)

1. a kind of data processing method, for the auxiliary drop-down list that associates with edit control it is characterised in that Including:
When listening to default display drop-down list event for the default event sniffer of edit control, according to Default edit control cascades restriction relation, obtains the parent edit control of current edit control and ancestors at different levels The control name of edit control and control value;
With the control name of the described parent edit control of acquisition and ancestors' edit control at different levels and control value to formation Search condition, concentrates retrieval in the option data prestoring, and meets the described current of described search condition to obtain The optional item data of edit control;
The optional item data meeting search condition is filled into the auxiliary associating with described current edit control drop-down In list.
2. data processing method according to claim 1 it is characterised in that described according to default volume Collect control cascade restriction relation, obtain the parent edit control of current edit control and ancestors' edit control at different levels Control name and control value, comprising:
Restriction relation is cascaded according to default edit control, judges whether have with described current edit control There is the parent edit control of cascade restriction relation;
If above-mentioned judged result is yes, obtain control name and the control value of described parent edit control, and will Described parent edit control as described current edit control, return execution described according to default edit control Cascade restriction relation, judges whether that the parent having cascade restriction relation with described current edit control is compiled The step collecting control.
3. data processing method according to claim 2 is it is characterised in that described edit control has Parent edit control attribute;Described default edit control cascade restriction relation is arranged on each edit control Described parent edit control attribute in.
4. data processing method according to claim 3 it is characterised in that described according to default volume Collect control cascade restriction relation, judge whether, with described current edit control, there is cascade restriction relation Parent edit control, comprising:
Read the property value of the parent edit control attribute of described current edit control;
According to the property value of described parent edit control attribute, judge whether and described current edit control There is the described parent edit control of cascade restriction relation.
5. data processing method according to claim 3 is it is characterised in that described parent edit control The property value of attribute includes pathname and the control name of described parent edit control;Described obtain described parent and compile Collect control name and the control value of control, comprising:
Parse the property value of described parent edit control attribute, obtain described parent edit control pathname and Control name;
Pathname according to described parent edit control and control name, obtain described parent edit control;
Read the control value of described parent edit control.
6. data processing method according to claim 1 it is characterised in that described with obtain described in The control name of parent edit control and ancestors' edit control at different levels and control value, to forming search condition, are prestoring Option data concentrate retrieval, with obtain meet described search condition described current edit control option Data, comprising:
Control name according to the described parent edit control obtaining and ancestors' edit control at different levels and control value pair, Form described search condition;
By default polling routine, concentrate retrieval in the described option data prestoring, obtain and meet described inspection The optional item data of the described current edit control of rope condition.
7. data processing method according to claim 1 it is characterised in that described search condition be by The equivalence relation of the control name of described parent edit control and ancestors' edit control at different levels and control value pair is constituted Logical AND expression formula.
8. data processing method according to claim 7 is it is characterised in that described default editor is controlled Part cascades restriction relation, builds in the following way:
Cascade restriction relation between each edit control is set in DOM Document Object Model.
9. data processing method according to claim 8 is it is characterised in that described edit control has Parent edit control attribute;Described default edit control cascade restriction relation is arranged on each edit control Described parent edit control attribute in;Described arrange between each edit control in DOM Document Object Model Cascade restriction relation includes:
Each edit control is write in DOM Document Object Model;
By described parent edit control attribute, configure the cascade restriction relation between each edit control.
10. data processing method according to claim 1 it is characterised in that described when pre-editing control Part adopts input frame control;Described be filled into the optional item data meeting search condition works as pre-editing with described In the auxiliary drop-down list of control association, comprising:
For each optional item data, each self-corresponding click event is set;When described click event is triggered, will Optional item data corresponding with this click event is as the input value of described input frame control;
By each the optional item data after setting click event, it is filled into and associates with described current edit control In auxiliary drop-down list.
11. data processing methods according to claim 1 are it is characterised in that work as editor's control described When the default event sniffer of part listens to default display drop-down list event, according to default edit control Cascade restriction relation, obtains the parent edit control of current edit control and the control of ancestors' edit control at different levels Before name and control value, also include:
Monitor the described default display drop-down list event of described edit control.
A kind of 12. data processing equipments, for the auxiliary drop-down list associating with edit control, its feature exists In, comprising:
Acquiring unit, listens to the drop-down row of default display for working as the default event sniffer of edit control During list event, restriction relation is cascaded according to default edit control, obtain the parent editor of current edit control The control name of control and ancestors' edit control at different levels and control value;
Retrieval unit, for the control name of the described parent edit control to obtain and ancestors' edit control at different levels With control value to forming search condition, concentrate retrieval in the option data prestoring, meet described retrieval to obtain The optional item data of the described current edit control of condition;
Fills unit, for being filled into and described current edit control the optional item data meeting search condition In the auxiliary drop-down list of association.
13. data processing equipments according to claim 12 are it is characterised in that described acquiring unit bag Include:
Judgment sub-unit, for cascading restriction relation according to default edit control, judges whether and institute State the parent edit control that current edit control has cascade restriction relation;
Obtaining subelement, if being yes for above-mentioned judged result, obtaining the control of described parent edit control Name and control value, and using described parent edit control as described current edit control, return described of execution Cascade restriction relation according to default edit control, judge whether, with described current edit control, there is cascade The step of the parent edit control of restriction relation.
14. data processing equipments according to claim 13 are it is characterised in that described edit control has There is parent edit control attribute;Described default edit control cascade restriction relation is arranged on each editor's control In the described parent edit control attribute of part.
15. data processing equipments according to claim 14 are it is characterised in that described judgment sub-unit Including:
Read subelement, for reading the property value of the parent edit control attribute of described current edit control;
First judgment sub-unit, for the property value according to described parent edit control attribute, judges whether to deposit In the described parent edit control with described current edit control with cascade restriction relation.
16. data processing equipments according to claim 14 are it is characterised in that described parent editor is controlled The property value of part attribute includes pathname and the control name of described parent edit control;Described acquisition subelement bag Include:
Parsing subelement, for parsing the property value of described parent edit control attribute, obtains described parent and compiles Collect pathname and the control name of control;
First acquisition subelement, for the pathname according to described parent edit control and control name, obtains institute State parent edit control;
Read subelement, for reading the control value of described parent edit control.
17. data processing equipments according to claim 12 are it is characterised in that described retrieval unit bag Include:
Generate subelement, for the control according to the described parent edit control obtaining and ancestors' edit control at different levels Part name and control value pair, form described search condition;
First retrieval subelement, for by default polling routine, concentrating in the described option data prestoring Retrieval, obtains the optional item data of the described current edit control meeting described search condition.
18. data processing equipments according to claim 12 are it is characterised in that also include:
Build relation unit, cascade restriction relation for building described default edit control;Described structure institute State default edit control cascade restriction relation, in the following way:
Cascade restriction relation between each edit control is set in DOM Document Object Model.
19. data processing equipments according to claim 18 are it is characterised in that described edit control has There is parent edit control attribute;Described default edit control cascade restriction relation is arranged on each editor's control In the described parent edit control attribute of part;Described structure relation unit includes:
Write subelement, for writing each edit control in DOM Document Object Model;
Configuration subelement, for by described parent edit control attribute, configuring between each edit control Cascade restriction relation.
20. data processing equipments according to claim 12 are it is characterised in that described fills unit bag Include:
Setting subelement, for arranging each self-corresponding click event for each optional item data;Described click When event is triggered, using optional item data corresponding with this click event as described input frame control input Value;
Filling subelement, for by each the optional item data after setting click event, being filled into and working as with described In the auxiliary drop-down list of pre-editing control association.
21. data processing equipments according to claim 12 are it is characterised in that also include:
Monitoring unit, for monitoring the described default display drop-down list event of described edit control.
22. a kind of electronic equipments are it is characterised in that include:
Display;
Processor;And
Memorizer, for data storage processing meanss, when described data processing equipment is by described computing device, Comprise the steps: to work as and listen to default display drop-down list thing for the default event sniffer of edit control During part, restriction relation is cascaded according to default edit control, obtain the parent edit control of current edit control Control name and control value with ancestors' edit controls at different levels;With the described parent edit control of acquisition and ancestral at different levels The control name of first edit control and control value, to forming search condition, concentrate retrieval in the option data prestoring, To obtain the optional item data of the described current edit control meeting described search condition;Search condition will be met Optional item data be filled in the auxiliary drop-down list associating with described current edit control.
CN201510419227.4A 2015-07-16 2015-07-16 Data processing method and device and electronic equipment Active CN106354483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510419227.4A CN106354483B (en) 2015-07-16 2015-07-16 Data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510419227.4A CN106354483B (en) 2015-07-16 2015-07-16 Data processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106354483A true CN106354483A (en) 2017-01-25
CN106354483B CN106354483B (en) 2020-02-07

Family

ID=57842659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510419227.4A Active CN106354483B (en) 2015-07-16 2015-07-16 Data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106354483B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107219972A (en) * 2017-05-23 2017-09-29 努比亚技术有限公司 A kind of method of application management, equipment and computer-readable recording medium
CN107766307A (en) * 2016-08-18 2018-03-06 阿里巴巴集团控股有限公司 A kind of method and apparatus of Form Element linkage
CN109388787A (en) * 2017-08-10 2019-02-26 易易资设有限公司 Method for editing hyper document markup language document
CN109426415A (en) * 2017-08-31 2019-03-05 北京国双科技有限公司 A kind of method and device generating cascade selector
CN110377851A (en) * 2019-06-18 2019-10-25 平安科技(深圳)有限公司 Implementation method, device and the computer equipment of multistage linking combobox
CN111104160A (en) * 2019-12-17 2020-05-05 北京明略软件系统有限公司 Membership display method and device, electronic equipment and storage medium
CN111767071A (en) * 2020-07-02 2020-10-13 湖南快乐阳光互动娱乐传媒有限公司 Data display adjustment method and device and electronic equipment
CN113791783A (en) * 2021-09-14 2021-12-14 科东(广州)软件科技有限公司 Control generation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082862A (en) * 2007-03-07 2007-12-05 浪潮集团山东通用软件有限公司 Window describing method and making language of logical, represent and data separation
CN101452380A (en) * 2007-12-05 2009-06-10 康佳集团股份有限公司 Method and system for implementing multi-stage linkage pulldown menu based on MVC model
US7885987B1 (en) * 2001-08-28 2011-02-08 Lee Eugene M Computer-implemented method and system for managing attributes of intellectual property documents, optionally including organization thereof
CN102004633A (en) * 2009-09-03 2011-04-06 阿里巴巴集团控股有限公司 Method and device for processing control property
CN103780448A (en) * 2012-10-23 2014-05-07 百度在线网络技术(北京)有限公司 Widget layer code generation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7885987B1 (en) * 2001-08-28 2011-02-08 Lee Eugene M Computer-implemented method and system for managing attributes of intellectual property documents, optionally including organization thereof
CN101082862A (en) * 2007-03-07 2007-12-05 浪潮集团山东通用软件有限公司 Window describing method and making language of logical, represent and data separation
CN101452380A (en) * 2007-12-05 2009-06-10 康佳集团股份有限公司 Method and system for implementing multi-stage linkage pulldown menu based on MVC model
CN102004633A (en) * 2009-09-03 2011-04-06 阿里巴巴集团控股有限公司 Method and device for processing control property
CN103780448A (en) * 2012-10-23 2014-05-07 百度在线网络技术(北京)有限公司 Widget layer code generation method and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766307A (en) * 2016-08-18 2018-03-06 阿里巴巴集团控股有限公司 A kind of method and apparatus of Form Element linkage
CN107766307B (en) * 2016-08-18 2021-06-08 阿里巴巴集团控股有限公司 Method and equipment for linkage of table elements
CN107219972A (en) * 2017-05-23 2017-09-29 努比亚技术有限公司 A kind of method of application management, equipment and computer-readable recording medium
CN107219972B (en) * 2017-05-23 2021-01-01 努比亚技术有限公司 Application management method and device and computer readable storage medium
CN109388787A (en) * 2017-08-10 2019-02-26 易易资设有限公司 Method for editing hyper document markup language document
CN109426415A (en) * 2017-08-31 2019-03-05 北京国双科技有限公司 A kind of method and device generating cascade selector
CN110377851A (en) * 2019-06-18 2019-10-25 平安科技(深圳)有限公司 Implementation method, device and the computer equipment of multistage linking combobox
CN110377851B (en) * 2019-06-18 2024-02-02 平安科技(深圳)有限公司 Method and device for realizing multi-stage linkage drop-down frame and computer equipment
CN111104160B (en) * 2019-12-17 2023-11-03 北京明略软件系统有限公司 Membership exhibiting method and device, electronic equipment and storage medium
CN111104160A (en) * 2019-12-17 2020-05-05 北京明略软件系统有限公司 Membership display method and device, electronic equipment and storage medium
CN111767071A (en) * 2020-07-02 2020-10-13 湖南快乐阳光互动娱乐传媒有限公司 Data display adjustment method and device and electronic equipment
CN113791783B (en) * 2021-09-14 2022-11-29 科东(广州)软件科技有限公司 Control generation method, device, equipment and storage medium
CN113791783A (en) * 2021-09-14 2021-12-14 科东(广州)软件科技有限公司 Control generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106354483B (en) 2020-02-07

Similar Documents

Publication Publication Date Title
CN106354483A (en) Data processing method and devices and electric equipment thereof
CN104714980B (en) Page nesting determining method of path and device
US8370750B2 (en) Technology for generating service program
CN102096588B (en) Control-containing page establishing method
US7930182B2 (en) Computer-implemented tool for creation of speech application code and associated functional specification
Schwinger et al. A survey on web modeling approaches for ubiquitous web applications
CN110083790A (en) Page editing method, page output method, device, computer equipment and medium
CN109634598A (en) A kind of page display method, device, equipment and storage medium
CN104199647B (en) A kind of visualization system and implementation method based on IBM main frames
CN101490674A (en) Method for defining a Wiki page layout using a Wiki page
JP2010532897A (en) Intelligent text annotation method, system and computer program
US8713436B2 (en) Reusing data in user run book automation
CN110297636A (en) A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device
CN102520966A (en) Method for prompting codes and device
US7650276B2 (en) System and method for dynamic data binding in distributed applications
CN114217789A (en) Function component expansion method, device, equipment, storage medium and program product
CN103226475B (en) Method and the device of control replacement is realized during transcoding
US11010140B2 (en) Integration of workflow and logical data objects using visual programming
CN116610558A (en) Code detection method, device, electronic equipment and computer readable storage medium
Stephens Start Here! Fundamentals of Microsoft. NET Programming
CN110147477A (en) Data resource modelling extracting method, device and the equipment of Web system
US9529900B2 (en) Visual interface browser
Jakupov Development of a web-based application for automated energy management system
Morrison-Howe PodcastScrobbler
JP2000099343A (en) Method for dynamically expressing multimedia document and dynamic multimedia document

Legal Events

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