CN110020342A - The processing method and processing device of data - Google Patents
The processing method and processing device of data Download PDFInfo
- Publication number
- CN110020342A CN110020342A CN201710773658.XA CN201710773658A CN110020342A CN 110020342 A CN110020342 A CN 110020342A CN 201710773658 A CN201710773658 A CN 201710773658A CN 110020342 A CN110020342 A CN 110020342A
- Authority
- CN
- China
- Prior art keywords
- column
- target
- target column
- added
- gauge outfit
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Abstract
The invention discloses a kind of processing method and processing devices of data, are related to Internet technical field, and main purpose is to solve the problems, such as that the enabling filter attributes of web page form can not be opened the query function of a certain column or certain column in table by user demand.Technical solution of the present invention comprises determining that the target column of additional queries function, the target are classified as a column or at least two column in net list lattice;Building is inserted into element, and the element that is inserted into is added to target column gauge outfit corresponding with the target column;The display properties of element is inserted into described in setting, the display properties is for showing that the target column has query function.
Description
Technical field
The present invention relates to Internet technical fields, more particularly to a kind of processing method and processing device of data.
Background technique
Table is common component when constructing the front end page of website, for showing data and organization Web pages layout information,
Usually it is made of gauge outfit and table body two parts.Angular-ui-grid is in front network scripting language frame Angular JS
One packaged data form provides a variety of form functions, such as table paging, column sort, column are inquired, column play frame.
Currently, due in Website front-end page tabular data it is more, data manipulation low efficiency, for convenience of execute data query
Whether there can be query function by the column that the enabling filter attributes in web page form are arranged in table.When setting enabled
Filter attribute is when opening, and all column all have query function in table;When it is to close that setting, which enables filter attributes, table
All column all do not have query function in lattice.
During inventor states invention in realization, discovery can control column all in a table in the prior art is
No to have query function, still, cannot achieve is had by some particular column or certain several particular column in user demand setting table
Query function and other column do not have query function, in addition, also cannot achieve when initialization table enabling filter attributes be
When closing, then reactivate certain in table arrange with query function.Therefore, the enabling filter attributes of web page form can not be by
The query function of a certain column or certain column in table is opened in user demand.
Summary of the invention
In view of this, a kind of processing method and processing device of data provided by the invention, main purpose is to solve webpage table
The enabling filter attributes of lattice can not be opened the problem of query function of a certain column or certain column in table by user demand.
To solve the above-mentioned problems, present invention generally provides following technical solutions:
On the one hand, the present invention provides a kind of processing methods of data, this method comprises:
Determine that the target column of additional queries function, the target are classified as a column or at least two column in web page form;
Building is inserted into element, and the element that is inserted into is added to target column gauge outfit corresponding with the target column;
The display properties of element is inserted into described in setting, the display properties is for showing that the target column has inquiry function
Energy.
Optionally, building is inserted into element and includes:
Building includes the replacement template for being inserted into element;
Alternatively, being inserted into element, the element mark described in the component identifier building of element by being inserted into described in acquisition
Symbol is known for any one in the ID name for being inserted into element, class name, label.
Optionally, the element that is inserted into is added to the corresponding target column gauge outfit of the target column further include:
Element will be inserted into and be added to object element, the object element is the element positioned at the target column gauge outfit.
Optionally, by it is described be inserted into element and be added to the corresponding target column gauge outfit of the target column include:
The initialization template in the initialization column parameter of the target column gauge outfit is deleted, the replacement template is added to institute
It states in initialization column parameter, the initialization column parameter is the default parameters formed when the web page form generates.
Optionally, before being inserted into the display properties of element described in the setting, the method also includes:
Filter is added in the initialization column parameter of the target column gauge outfit, the filter be used to control it is described to
It is inserted into the displaying pattern of element.
Optionally, after being inserted into the display properties of element described in the setting, the method also includes:
The display properties is set for display or is hidden, the display properties is tied to and described is inserted into element.
Optionally, it is inserted into after element is added to the corresponding target column gauge outfit of the target column by described, the side
Method further include:
It is inserted into the position attribution of element described in setting, the position attribution described is inserted into element described for being arranged
The location status of target column.
Optionally, it is described be inserted into element be it is following any one or at least two any combination: it is picture, figure, dynamic
It draws.
On the other hand, the present invention also provides a kind of processing unit of data, which includes:
Determination unit, for determining the target column of additional queries function, the target be classified as column in web page form or
At least two column;
Construction unit is inserted into element for constructing;
First adding unit is added to and described determining single for being inserted into element described in constructing the construction unit
The corresponding target column gauge outfit of the target column that member determines;
First setting unit, for the display properties for being inserted into element described in the first adding unit addition to be arranged,
The display properties is for showing that the target column has query function.
Optionally, the construction unit includes:
First building module includes the replacement template for being inserted into element for constructing;
First obtains module, and for obtaining the component identifier for being inserted into element, the component identifier is described
It is inserted into the ID name of element, class name, any one in label;
Second building module, it is described to be inserted for obtaining the component identifier building that module obtains according to described first
Enter element.
Optionally, first adding unit is also used to be inserted into element and is added to object element, the object element
For positioned at the element of the target column gauge outfit.
Optionally, first adding unit includes:
Removing module, the initialization template in initialization column parameter for deleting the target column gauge outfit;
Adding module, for the replacement template to be added in the initialization column parameter, the initialization column parameter
For the default parameters formed when web page form generation.
Optionally, described device further include:
Second adding unit, for be inserted into described in the setting in first setting unit element display properties it
Before, filter is added in the initialization column parameter of the target column gauge outfit, the filter is used to control described be inserted into
The displaying pattern of element.
Optionally, described device further include:
Second setting unit, the display properties for first setting unit to be arranged are set as display or hidden
Hiding;
Binding unit, the display properties for second setting unit to be arranged, which is tied to, described is inserted into member
Element.
Optionally, described device further include:
Third setting unit, it is described for the position attribution for being inserted into element described in the construction unit building to be arranged
Position attribution is inserted into element in the location status of the target column described in being used to be arranged.
To achieve the goals above, according to another aspect of the present invention, a kind of storage medium, the storage medium are provided
Program including storage, wherein equipment where controlling the storage medium in described program operation executes number as described above
According to processing method.
To achieve the goals above, according to another aspect of the present invention, a kind of processor is provided, the processor is used for
Run program, wherein described program executes the processing method of data as described above when running.
By above-mentioned technical proposal, technical solution provided by the invention is at least had the advantage that
The processing method and processing device of data provided by the invention, user needs additional queries function in determining web page form
Target column after, building be inserted into element, this is set and is inserted into whether element shows in target column, and this is inserted into element
It is added to target column gauge outfit corresponding with target column, compared with prior art, the present invention is inserted into element by building and should
Be inserted into the mode that element is added to target column gauge outfit, in table a certain column or certain column additional queries functions, meet
User controls the query function of any one or more columns per page in web page form on demand, and then improves to column inquiry in web page form
The flexibility of function controlling.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the processing method of data provided in an embodiment of the present invention;
Fig. 2 shows the flow charts of the processing method of second of data provided in an embodiment of the present invention;
Fig. 3 shows a kind of web page form schematic diagram with query function provided in an embodiment of the present invention;
Fig. 4 shows a kind of composition block diagram of the processing unit of data provided in an embodiment of the present invention;
Fig. 5 shows the processing unit composition block diagram of second of data provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
In the prior art, webpage front-end programmer is arranged using web page form (such as Angular-ui-grid grid control)
The query function of the column of all multilists in Webpage, specifically, when needing in webpage " table 1 " that there is column query function,
EnableFiltering (the enabling filter) attribute being arranged in columnDefs (initialization of the column) parameter of " table 1 "
Value is true (unlatching), then all column in " table 1 " all have query function;Have when not needing in above-mentioned webpage " table 2 "
When having column query function, the enableFiltering being arranged in columnDefs (initialization of the column) parameter of " table 2 " (is opened
With filter) value of attribute is false (closing), then all column in " table 2 " do not have query function, if " table 3 "
12 column are shared, wish that " the 5th column " in " table 3 ", " the 6th column " and " the 11st column " have query function and remove above-mentioned column as user
Except other column do not have query function, Angular-ui-grid grid control cannot achieve at setting " table 3 "
The value of enableFiltering (enabling filter) attribute in columnDefs (initialization of column) parameter is that false (is closed
Close) in the state of, the query function of " the 5th column ", " the 6th column " and " the 11st column " in enabling " table 3 ".It follows that
Angular-ui-grid grid control can be by setting columnDefs (initialization of column) parameter
EnableFiltering (enabling filter) attribute realizes that the query function of all column in the same table of webpage is enabled or closed simultaneously
It closes, still, cannot achieve and close the table while enabling the query function of certain several column in some table of webpage by user demand
The query function that other arranges in lattice.
To solve the above problems, the embodiment of the present invention provides a kind of processing method of data, this method is applied to press user
In demand additional web pages table in the application scenarios of the query function of target column, as shown in Figure 1, this method comprises:
101, determine that the target column of additional queries function, the target are classified as a column or at least two column in net list lattice.
In the embodiment of the present invention, it can clearly require according to web page user demand and give which column additional queries function, the mesh
Mark column refer to when constructing the Website front-end page, for showing the table component units of data and organization Web pages layout information, together
When and user or front end engineer need the column of additional queries function, target column can be some in certain web page form
Column, be also possible in certain web page form it is any two column and its more than, but be no more than the table total columns.
Can by the inclusion of but be not limited to obtain labeling acts, the methods of circulation searching method determines the target of additional queries function
Column:
(1) labeling acts is obtained, the table ID (Table ID) of table where first obtaining target column is obtained further according to table ID
Column label determines target column, wherein table ID is the identifier with table unique association, and next level is column label, column mark
Label are the identifiers with column unique association.
(2) circulation searching method, when creating web page form, each column all corresponding one in table uniquely arranges ID, then recycles
When lookup method determines target column, the method that each column ID in traversal table can be used determines target column.
102, building is inserted into element, and the element that is inserted into is added to object listing corresponding with the target column
Head.
To be embodied as target column additional queries function, will be inserted into element as the carrier of query function be added to it is described
The corresponding target column gauge outfit of target column, it is described be inserted into element type include but is not limited to it is following any one or at least two
Any combination: picture, figure, animation etc., concrete type include but is not limited to " JPEG ", " TIFF ", " RAW ", " BMP ",
" GIF ", " PNG " etc. are the file of suffix.Meanwhile be inserted into element can in the web page form existing one or more
Element is also possible to the one or more elements obtained from local file by file unique identifier, the file identification
Symbol and file unique association.
Mode can be achieved in another kind as the embodiment of the present invention, can be in order to improve the query function of web page form
The element that is inserted into of building is added to target line, the target line refers to when constructing the Website front-end page, for showing number
According to the lateral component units of the table with organization Web pages layout information, the element that is inserted into of building is added to target every trade first place
It sets.
103, the display properties of element is inserted into described in setting, the display properties is looked into for showing that the target column has
Ask function.
After building is inserted into element, the display properties for being inserted into element need to be set, the element that is inserted into
Display properties is to be arranged whether the target column shows the sign with query function.When user needs using target
Column and when query function, the display properties that target column gauge outfit corresponding with target column is arranged is " display ", then the target column
Gauge outfit shows any one in the query functions signs such as dialog box, button, input frame;When user temporarily needs not use
When the query function of target column, the display properties that target column gauge outfit corresponding with target column is arranged is " hiding ", then the target
List head will not show any sign with query function.
The processing method of data provided in an embodiment of the present invention, user needs additional queries function in determining web page form
Target column after, building be inserted into element, this is set and is inserted into whether element shows in target column, and this is inserted into element
It is added to target column gauge outfit corresponding with target column, compared with prior art, the embodiment of the present invention is inserted into element by building
And this is inserted into the mode that element is added to target column gauge outfit, in table a certain column or certain column additional queries functions,
It meets user and controls the query function of any an example or multiple row in web page form on demand, and then improve in web page form
The flexibility of column query function manipulation.
Further, as the extension and refinement to above-mentioned Fig. 1 the method, building is executed in step 101 and is inserted into member
Element and by it is described be inserted into element and be added to target column gauge outfit corresponding with the target column when, can use but be not limited to following
Any one in mode:
(1) building includes the replacement template for being inserted into element.The element that is inserted into of building is stored in replacement template
In, the replacement template can be directly inputted to the replacement template in program code for Front End person, or from including
The open source template that other approach such as the file, the file stored in memory that store in disk and hard disk obtain, it is illustrative described
It is as follows to replace template:
<img ng-src='{{picture path}}>
The initialization template in the initialization column parameter of the target column gauge outfit is deleted, the replacement template is added to institute
It states in initialization column parameter, the initialization column parameter is the default parameters formed when the web page form generates.Programmer can
The initialization template in initialization column parameter to delete the target column gauge outfit manually, will can also directly delete initialization
The initialization column parameter of template is added in program.It, can be with when the replacement template is added to the initialization column parameter
One or more templates are added manually, can also add multiple template in batches.For example, in Angular-ui-grid grid control
In, headerCellTemplate (customized head unit) attribute deleted in columnDefs (initialization of column) parameter is arranging
The replacement template is added to before the initialization template is deleted described in program by intrinsic initialization template when generation
Initialize the position of template storage.
(2) element, the component identification are inserted into described in the component identifier building of element by being inserted into described in acquisition
Symbol is any one in the ID name for being inserted into element, (ClassName) class name, (TagName) label.In Java
Constructed in Script the new method for being inserted into element including but not limited to creation node element (creatElement), specified
It is inserted into node (insertBefore) before node, adds any one in child node (appendChild) etc. for specified node,
It is specific as described below:
1. obtaining corresponding element node by ID, an input parameter (ID) is inputted, an element is returned;
2. obtaining corresponding element node by (TagName) tag name, an input parameter (tag name) is inputted, returns to one
A element array;
3. obtaining node element by (ClassName) class name, an input parameter (ClassName), return value are inputted
It is element array.
The corresponding target column gauge outfit of the target column is the target column in the cell for being located at first trip in the table, institute
State target column gauge outfit and the target column unique association, and the target column gauge outfit has target column and indicates effect.
Element will be inserted into and be added to object element, the object element is the element positioned at the target column gauge outfit.Institute
The content stored in the target column gauge outfit corresponding with target column that object element determines for step 101 in Fig. 1 is stated, it will be described to be inserted
Enter element and is added to the method for the object element including but not limited to addition operated by dom in Java Script
Node (appendChild) method is inserted into described element as daughter element and is added to the object element, is added to described
The type for being inserted into element of object element is unlimited and number can be one or two and its more than.
The embodiment of the present invention also provides the processing method of another data, as shown in Fig. 2, this method comprises:
201, determine that the target column of additional queries function, the target are classified as a column or at least two column in net list lattice.
202, building is inserted into element, and the element that is inserted into is added to object listing corresponding with the target column
Head.
Description in relation to step 201 and step 202, please refers to the detailed description of step 101 and step 102, and the present invention is real
Example is applied no longer to be repeated herein.
203, it is inserted into the position attribution of element described in setting, the position attribution described be inserted into element and exist for being arranged
The location status of the target column.
The position attribution can by but be not limited to cascading style sheets (Cascading Style Sheets, CSS)
The position attribution for being inserted into element is configured, is inserted into element described in user demand in target column to reach
Display position, specifically, the pattern of position attribution can be but be not limited to: the ability of setting text and background attribute is first
Element creation frame, setting element frame between other elements at a distance from, setting element frame between element content at a distance from and
Any one or any two kinds and its combination of the above therein such as modification mode are set.
204, filter is added in the initialization column parameter of the target column gauge outfit, and is inserted into element described in setting
Display properties, the display properties for show the target column have query function.
The purpose of the filter added in the target column gauge outfit is that control is inserted into the displaying pattern of element, can
To add identical filter respectively in multiple target column gauge outfits, be also possible to some target column gauge outfit add two and
Filter more than it.When adding filter, following manner can be used but be not limited to, such as: Front End person manually will
The execution code of filter is added in program code;Alternatively, the Code Template of filter to be added to the reference document of program
In.
During specific implementation, the step of adding filter can be inserted into described in the setting element display properties it
Before, it is also possible to be inserted into before element display properties described in setting, specific execution sequence is without limitation.In addition, working as institute
It states when being inserted into element and being added to the target line, filter can be added in the first place of the target line is set, to control
The displaying pattern that element is inserted into target line.
Filter can be added by way of adding filter attributes to the parameter of target column gauge outfit, the filter is used
The displaying pattern for being inserted into element is controlled, specifically, the displaying pattern can be the shape for being inserted into element, face
Any one or two kinds and its above form of expression therein such as color, size.Illustratively, in Angular-ui-grid table
In control, the target column gauge outfit corresponding with the target column in columnDefs (initialization of column) parameter is set
EnableFiltering (enabling filter) attribute is set as true (enabling), meanwhile, increase in the target column Metre variables
Add isFilter (filter) attribute, attribute value there are two values of false (closing) and true (enabling), is defaulted as false
(closing), when need in web page form some column or it is certain column have query function when, then by it is described need have inquiry function
The value of isFilter (filter) attribute of some described column or certain column of energy is set as true (enabling), other do not need to have
There are the column of query function then to do nothing.
Illustratively, Fig. 3 shows a kind of web page form schematic diagram with query function provided in an embodiment of the present invention,
As shown in figure 3, the target column gauge outfit in setting " Webpage 1 " in columnDefs (initialization of the column) parameter of " table 1 "
EnableFiltering (enable filter) attribute be true (enablings), when " the 2nd column " of needs " table 1 " have and inquire
When function, the list head for " the 2nd column " increases isFilter (filter) attribute, and is arranged the isFilter's (filter)
Value is true (enabling), and as shown in the gauge outfit of " the 2nd column " in Fig. 3, the gauge outfit of " the 2nd column " shows pressing with query function
Button.
205, the display properties is arranged to be display or hide, the display properties is tied to and described is inserted into member
Element.
After according to step 204 the method, the display properties is set, further, display properties can be tied to
It is described to be inserted into element, specifically, binding method includes but is not limited to be added to isFilterBtn (filter button) attribute
It is inserted into the parameter of element, and writes isFilterBtn (filter button) attribute in the reference document in program file exactly
The concrete operations code of method.The mode of the reference document includes but is not limited to: can add in Java Script function
Add the function for needing quoting method,<link>can also be put on the head head of html to call the code of quoting method.Show
Example property, the code for adding isFilterBtn (filter button) attribution method is as follows:
$ scope.isFilterBtn=function ()
$ scope.col.colDef.isFilter=!$scope.col.colDef.isFilter;
$ scope.col.colDef.enableFiltering=!$
scope.col.colDef.enableFiltering;
$scope.col.updateFilters($scope.col.colDef.);
}
The processing method of the data of example offer is applied in the invention of this reality, and user needs additional queries function in determining web page form
Target column after, building is inserted into element, this is arranged and is inserted into position attribution and display properties of the element in target column, and will
This is inserted into element and is added to target column gauge outfit corresponding with target column, meanwhile, filter is added for the target column gauge outfit, and it is existing
There is technology to compare, the invention of this reality applies example and is inserted into element by building and this is inserted into the side that element is added to target column gauge outfit
Formula, in table a certain column or certain column additional queries functions, meet user control on demand it is any one in web page form
The query function of column or multiple row, and then improve the flexibility manipulated to column query function in web page form.It is to be inserted by being arranged
Enter the position attribution and display properties of element, it is abundant to be inserted into the form of expression of the element in web page form.
Further, as the realization to method shown in above-mentioned Fig. 1 and Fig. 2, another embodiment of the present invention additionally provides one
Kind data processing equipment.The Installation practice is corresponding with preceding method embodiment, and to be easy to read, present apparatus embodiment is no longer right
Detail content in preceding method embodiment is repeated one by one, it should be understood that the device in the present embodiment can correspond to reality
Full content in existing preceding method embodiment.
The embodiment of the present invention provides a kind of processing unit of data, as shown in figure 4, the device includes:
Determination unit 31, for determining that the target column of additional queries function, the target are classified as the column in web page form
Or at least two column;
Construction unit 32 is inserted into element for constructing;
First adding unit 33, for be inserted into described in constructing the construction unit 32 element be added to it is described really
The corresponding target column gauge outfit of the target column that order member 31 determines;
First setting unit 34, for the display category for being inserted into element described in the addition of the first adding unit 33 to be arranged
Property, the display properties is for showing that the target column has query function.
Further, as shown in figure 5, the construction unit 32 includes:
First building module 321 includes the replacement template for being inserted into element for constructing;
Obtain module 322, for obtaining the component identifier for being inserted into element, the component identifier be it is described to
It is inserted into the ID name of element, class name, any one in label;
Second building module 323 constructs institute for obtaining the component identifier that module 322 obtains according to described first
It states and is inserted into element.
Optionally, as shown in figure 5, first adding unit 33 includes:
First adding module 331 is added to object element for that will be inserted into element, and the object element is positioned at described
The element of target column gauge outfit.
Further, as shown in figure 5, first adding unit 33 includes:
Removing module 332, the initialization template in initialization column parameter for deleting the target column gauge outfit;
Adding module 333, for the replacement template to be added in the initialization column parameter, the initialization column ginseng
Number is the default parameters formed when the web page form generates.
Further, as shown in figure 5, described device further include:
Second adding unit 35, for being inserted into the display properties of element described in the setting in first setting unit 34
Before, filter is added in the initialization column parameter of the target column gauge outfit, the filter is used to control described to be inserted
Enter the displaying pattern of element.
Further, as shown in figure 5, described device further include:
Second setting unit 36, the display properties for first setting unit 34 to be arranged be set as display or
Person hides;
Binding unit 37, the display properties for second setting unit 36 to be arranged are tied to described be inserted into
Element.
Further, as shown in figure 5, described device further include:
Third setting unit 38, for the position attribution for being inserted into element described in the building of construction unit 32 to be arranged,
The position attribution is inserted into element in the location status of the target column described in being used to be arranged.
Optionally, it is described be inserted into element be it is following any one or at least two any combination: it is picture, figure, dynamic
It draws.
The device of data provided in an embodiment of the present invention, user needs the mesh of additional queries function in determining web page form
After mark column, building is inserted into element, this is arranged and is inserted into whether element shows in target column, and this is inserted into element addition
To target column gauge outfit corresponding with target column, compared with prior art, the embodiment of the present invention is inserted into element by building and will
This is inserted into the mode that element is added to target column, in table a certain column and certain column additional queries functions, can satisfy
The query function of user's control on demand respective column, and then improve the flexibility that column query function is opened in web page form.
The processing unit of the data includes processor and memory, and above-mentioned determination unit 31, construction unit 32, first add
Add unit 33 and the first setting unit 34 etc. to store in memory as program unit, is stored in by processor execution
Above procedure unit in reservoir realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, it can not be opened by user demand by adjusting the enabling filter attributes that kernel parameter carrys out web page form a certain in table
The query function of column or certain column.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM), memory includes at least one storage
Chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
The processing method of the existing data.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation
The processing method of data described in Shi Zhihang.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor perform the steps of the target column of determining additional queries function, institute when executing program
State the column or at least two column that target is classified as in web page form;
Building is inserted into element, and the element that is inserted into is added to target column gauge outfit corresponding with the target column;
The display properties of element is inserted into described in setting, the display properties is for showing that the target column has inquiry function
Energy.
Optionally, building is inserted into element and includes:
Building includes the replacement template for being inserted into element;
Alternatively, being inserted into element, the element mark described in the component identifier building of element by being inserted into described in acquisition
Symbol is known for any one in the ID name for being inserted into element, class name, label.
Optionally, the element that is inserted into is added to the corresponding target column gauge outfit of the target column further include:
Element will be inserted into and be added to object element, the object element is the element positioned at the target column gauge outfit.
Optionally, by it is described be inserted into element and be added to the corresponding target column gauge outfit of the target column include:
The initialization template in the initialization column parameter of the target column gauge outfit is deleted, the replacement template is added to institute
It states in initialization column parameter, the initialization column parameter is the default parameters formed when the web page form generates.
Optionally, before being inserted into the display properties of element described in setting, the method also includes:
Filter is added in the initialization column parameter of the target column gauge outfit, the filter be used to control it is described to
It is inserted into the displaying pattern of element.
Optionally, after being inserted into the display properties of element described in the setting, the method also includes:
The display properties is set for display or is hidden, the display properties is tied to and described is inserted into element.
Optionally, it is inserted into after element is added to the corresponding target column gauge outfit of the target column by described, the side
Method further include:
It is inserted into the position attribution of element described in setting, the position attribution described is inserted into element described for being arranged
The location status of target column.
Optionally, it is described be inserted into element be it is following any one or at least two any combination: it is picture, figure, dynamic
It draws.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just
The program code of beginningization there are as below methods step: determine that the target column of additional queries function, the target are classified as in web page form
One column or at least two column;Building is inserted into element, and the element that is inserted into is added to mesh corresponding with the target column
Mark list head;Filter is added in the target column gauge outfit, and the display properties of element, the display are inserted into described in setting
Attribute is for showing that the target column has query function.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of processing method of data characterized by comprising
Determine that the target column of additional queries function, the target are classified as a column or at least two column in web page form;
Building is inserted into element, and the element that is inserted into is added to target column gauge outfit corresponding with the target column;
The display properties of element is inserted into described in setting, the display properties is for showing that the target column has query function.
2. the method according to claim 1, wherein building is inserted into element and includes:
Building includes the replacement template for being inserted into element;
Alternatively, being inserted into element, the component identifier described in the component identifier building of element by being inserted into described in acquisition
For any one in the ID name for being inserted into element, class name, label.
3. according to the method described in claim 2, it is characterized in that, the element that is inserted into is added to the target column correspondence
Target column gauge outfit include:
Element will be inserted into and be added to object element, the object element is the element positioned at the target column gauge outfit.
4. according to the method described in claim 2, it is characterized in that, the element that is inserted into is added to the target column correspondence
Target column gauge outfit include:
The initialization template in the initialization column parameter of the target column gauge outfit is deleted, the replacement template is added to described first
In beginningization column parameter, the initialization column parameter is the default parameters formed when the web page form generates.
5. according to the method described in claim 4, it is characterized in that, before being inserted into the display properties of element described in the setting,
The method also includes:
Filter is added in the initialization column parameter of the target column gauge outfit, the filter is used to control described be inserted into
The displaying pattern of element.
6. according to the method described in claim 5, it is characterized in that, after being inserted into the display properties of element described in the setting,
The method also includes:
The display properties is set for display or is hidden, the display properties is tied to and described is inserted into element;
It is inserted into after element is added to the corresponding target column gauge outfit of the target column by described, the method also includes:
It is inserted into the position attribution of element described in setting, the position attribution described is inserted into element in the target for being arranged
The location status of column.
7. any one of -6 the method according to claim 1, which is characterized in that it is described be inserted into element be it is following any one
Or at least two any combination: picture, figure, animation.
8. a kind of processing unit of data characterized by comprising
Determination unit, for determining the target column of additional queries function, the target is classified as column in web page form or at least
Two column;
Construction unit is inserted into element for constructing;
First adding unit, for be inserted into described in constructing the construction unit element be added to it is true with the determination unit
The corresponding target column gauge outfit of the fixed target column;
First setting unit, it is described for the display properties for being inserted into element described in the first adding unit addition to be arranged
Display properties is for showing that the target column has query function.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require 1 to the data described in any one of claim 7 processing
Method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require 1 to the data described in any one of claim 7 processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710773658.XA CN110020342A (en) | 2017-08-31 | 2017-08-31 | The processing method and processing device of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710773658.XA CN110020342A (en) | 2017-08-31 | 2017-08-31 | The processing method and processing device of data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110020342A true CN110020342A (en) | 2019-07-16 |
Family
ID=67186171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710773658.XA Pending CN110020342A (en) | 2017-08-31 | 2017-08-31 | The processing method and processing device of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110020342A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112558845A (en) * | 2019-09-25 | 2021-03-26 | 北京国双科技有限公司 | Form operation method and form operation device |
CN113779943A (en) * | 2021-01-12 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | Table generation method, table generation device, storage medium, and electronic apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073747A (en) * | 2011-02-28 | 2011-05-25 | 深圳市五巨科技有限公司 | Method, device and system for screening webpage page data |
US20120173963A1 (en) * | 2010-09-21 | 2012-07-05 | Microsoft Corporation | Web page application controls |
CN105518667A (en) * | 2014-06-30 | 2016-04-20 | 微软技术许可有限责任公司 | Understanding tables for search |
CN106293777A (en) * | 2016-10-31 | 2017-01-04 | 山东鲁能软件技术有限公司 | A kind of based on component-based development front-end interface control implementation method |
-
2017
- 2017-08-31 CN CN201710773658.XA patent/CN110020342A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120173963A1 (en) * | 2010-09-21 | 2012-07-05 | Microsoft Corporation | Web page application controls |
CN102073747A (en) * | 2011-02-28 | 2011-05-25 | 深圳市五巨科技有限公司 | Method, device and system for screening webpage page data |
CN105518667A (en) * | 2014-06-30 | 2016-04-20 | 微软技术许可有限责任公司 | Understanding tables for search |
CN106293777A (en) * | 2016-10-31 | 2017-01-04 | 山东鲁能软件技术有限公司 | A kind of based on component-based development front-end interface control implementation method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112558845A (en) * | 2019-09-25 | 2021-03-26 | 北京国双科技有限公司 | Form operation method and form operation device |
CN113779943A (en) * | 2021-01-12 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | Table generation method, table generation device, storage medium, and electronic apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102073502B (en) | Method for rendering page frame by WEB primary layout and device thereof | |
Boduch | React and react native | |
CN110020307A (en) | A kind of method for drafting and device of client's end-view | |
CN108279903A (en) | The method and device of page presentation | |
CN105138340A (en) | Interaction method and system for Native and Web pages | |
CN108549532A (en) | Webpage construction method, device, electronic equipment and storage medium | |
CN110020353B (en) | Method and device for constructing webpage form | |
CN109697064A (en) | A kind of generation method and device of the customized page | |
CN107451184A (en) | Page display method and device, user equipment, storage medium | |
CN103559184A (en) | Form page display method and device | |
CN109657427A (en) | The method and device of permission control | |
CN108170435A (en) | A kind of source code conversion method, device and equipment | |
CN105989126B (en) | A kind of Webpage display process and device | |
CN110020342A (en) | The processing method and processing device of data | |
CN105824647A (en) | Form page generating method and device | |
CN110020343A (en) | The determination method and apparatus of web page coding format | |
US9230022B1 (en) | Customizable result sets for application program interfaces | |
CN111651160B (en) | Plug-in construction and webpage design method and device | |
CN109426497B (en) | Data embedding method, device, system and storage medium | |
US9552347B1 (en) | Data grid cell styling systems and methods | |
CN112579068A (en) | Code generation method, device, storage medium and equipment | |
US11093572B2 (en) | Hierarchical modeling for network sites | |
CN109960497A (en) | Call method and device between a kind of script file | |
CN109582353A (en) | The method and device of embedding data acquisition code | |
CN109948075A (en) | The labeling method and device of web data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190716 |