CN106557496B - Table configuration method and device - Google Patents

Table configuration method and device Download PDF

Info

Publication number
CN106557496B
CN106557496B CN201510625058.XA CN201510625058A CN106557496B CN 106557496 B CN106557496 B CN 106557496B CN 201510625058 A CN201510625058 A CN 201510625058A CN 106557496 B CN106557496 B CN 106557496B
Authority
CN
China
Prior art keywords
table data
data type
webpage
source file
configuration interface
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.)
Active
Application number
CN201510625058.XA
Other languages
Chinese (zh)
Other versions
CN106557496A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510625058.XA priority Critical patent/CN106557496B/en
Publication of CN106557496A publication Critical patent/CN106557496A/en
Application granted granted Critical
Publication of CN106557496B publication Critical patent/CN106557496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a table configuration method and a table configuration device. The method comprises the following steps: the method comprises the steps of generating a configuration interface of table data types according to an operation of triggering and setting the table data types on a current webpage by a user, receiving at least one table data type selected by the user in the configuration interface of the table data types, adding the table data type to a webpage source file of the current webpage, rendering the webpage source file added with the selected table data type, and displaying the selected table data type in a table of the current webpage. According to the scheme of the embodiment of the invention, a user can complete the instant modification of the table data types displayed in the table only by selecting the required table data types on the configuration interface displaying a plurality of table data types, thereby realizing the on-demand check of the table by the user. Meanwhile, the operation of changing the table data types displayed in the table is simple, the time consumption is short, and common users can also complete the setting of the table data types.

Description

Table configuration method and device
Technical Field
The invention relates to the technical field of software, in particular to a form configuration method and a form configuration device.
Background
The data can be displayed by adopting the table, so that the data classification is clearer and is convenient for a user to check. Usually, the first row or column of the table shows the information category, and the data in the table is classified, so that a user can conveniently and quickly read the required data belonging to a certain information category from the table.
However, the information type displayed in the table is usually written in advance, that is, when the code corresponding to the table is written, the information type displayed in the table is already limited, and the information type displayed in the table is pre-modified, which can only be realized by a code compiler rewriting the code corresponding to the table, and a user cannot change the information type in the table according to actual needs. Meanwhile, the operation of changing the information type displayed in the form is complicated and time-consuming, and only a code compiler can complete the operation.
Disclosure of Invention
The invention provides a form configuration method and a form configuration device, aiming at the problem that a user in the background art cannot change the information type in a form according to actual needs.
According to an aspect of the present invention, there is provided a table configuration method, including:
according to the operation of triggering and setting the table data type on the current webpage by a user, generating a configuration interface of the table data type;
receiving at least one form data type selected by a user in a configuration interface of the form data types, and adding the form data type to a webpage source file of the current webpage;
and rendering the webpage source file added with the selected table data type, and displaying the selected table data type in the table of the current webpage.
Optionally, the generating a configuration interface of the table data type according to the operation of triggering and setting the table data type on the current webpage by the user includes:
receiving a trigger operation of a user on a table data type selection interface in a current webpage;
and generating a configuration interface for displaying various table data types, wherein the configuration interface is covered on the current webpage.
Optionally, the receiving at least one form data category selected by a user in a configuration interface of the form data categories, and the adding the web page source file to the current web page includes:
receiving at least one table data category selected by the user on a configuration interface of the table data categories;
in the webpage source file, replacing the originally recorded table data type in the table with the selected table data type;
the rendering of the web page source file with the selected table data type added thereto, the displaying of the selected table data type in the table of the current web page including:
and rendering the webpage source file added with the selected table data type, wherein the selected table data type is displayed in the table of the current webpage in place of the originally recorded table data type in the table.
Optionally, while the receiving at least one form data category selected by the user in the configuration interface of the form data categories and adding to the web page source file of the current web page, the method further includes:
extracting table data matched with the selected table data type from a preset table database;
adding the extracted table data to the webpage source file at the associated position of the table data category.
Optionally, the rendering a web page source file added with a selected table data type, and the displaying the selected table data type in the table of the current web page includes:
rendering a webpage source file added with the selected table data type and the corresponding table data;
displaying the selected table data type in the first row of the table in the webpage, and displaying corresponding table data in the column where the table data type is located;
or, the selected table data types are displayed in the head column of the table in the webpage, and the table data corresponding to the table data types are displayed in the row where each selected table data type is located.
Optionally, after receiving a plurality of table data categories selected by the user in the configuration interface of the table data categories, the method further includes:
recording the selection sequence of the plurality of table data types selected by the user, wherein the plurality of selected table data types are recorded in the webpage source file according to the selection sequence;
the rendering adds a webpage source file of the selected table data type, and the displaying the selected table data type in the table of the current webpage comprises:
and rendering the webpage source file added with the plurality of table data types, and displaying the selected plurality of table data types in the table of the current webpage according to the receiving sequence.
According to another aspect of the present invention, there is also provided a table configuring apparatus, including:
the configuration interface generation module is used for generating a configuration interface of the table data type according to the operation of triggering and setting the table data type on the current webpage by a user;
the form data type receiving module is used for receiving at least one form data type selected by a user in a configuration interface of the form data type and adding the form data type to the webpage source file of the current webpage;
and the table data type display module is used for rendering the webpage source file added with the selected table data type and displaying the selected table data type in the table of the current webpage.
Optionally, the configuration interface generating module includes:
the trigger operation receiving submodule is used for receiving the trigger operation of a user on the form data type selection interface in the current webpage;
and the configuration interface display submodule is used for generating a configuration interface for displaying various table data types, and the configuration interface is covered on the current webpage.
Optionally, the table data category receiving module includes:
the table data type obtaining submodule is used for receiving at least one table data type selected by the user on a configuration interface of the table data type;
the table data type replacing submodule is used for replacing the table data type of the original record in the table by the selected table data type;
the table data type display module is specifically configured to render a web page source file to which a selected table data type is added, where the selected table data type is displayed in the table of the current web page in place of the table data type originally recorded in the table.
Optionally, the apparatus further comprises:
the form data extraction module is used for extracting form data matched with the selected form data type from a preset form database when the receiving user selects at least one form data type in the configuration interface of the form data types and adds the selected form data type to the webpage source file of the current webpage;
and the table data adding module is used for adding the extracted table data to the associated position of the table data type in the webpage source file.
Optionally, the table data category display module includes:
the table data rendering submodule is used for rendering a webpage source file added with the selected table data type and the corresponding table data;
the first table data display submodule is used for displaying the selected table data type in the first row of the table in the webpage and displaying the corresponding table data in the column where the table data type is located;
or, the second table data display sub-module is configured to display the selected table data types in a first column of the table in the web page, and display the table data corresponding to the table data types in a row where each selected table data type is located.
Optionally, the apparatus further comprises:
the selection sequence recording module is used for recording the selection sequence of the user on the selected multiple table data types after receiving the multiple table data types selected by the user in the configuration interface of the table data types, and the selected multiple table data types are recorded in the webpage source file according to the selection sequence;
the table data type display module is specifically configured to render a web page source file to which a plurality of table data types recorded according to the selection order are added, and display the selected plurality of table data types in the table of the current web page according to the reception order.
According to the embodiment of the invention, a configuration interface of the form data types is generated according to the operation of triggering and setting the form data types on the current webpage by a user, at least one form data type selected on the configuration interface by the user according to needs can be received, the selected form data type is added into a webpage source file of the current webpage, the webpage source file added with the selected form data type is rendered, and the selected form data type is displayed in the form of the current webpage, so that the form configuration method is provided.
Through the mechanism, a user can complete the instant modification of the table data types displayed in the table only by selecting the required table data types on the configuration interface displaying a plurality of table data types, and the user can view the table as required. Meanwhile, the operation of changing the table data types displayed in the table is simple, the time consumption is short, and common users can also complete the setting of the table data types.
In addition, the embodiment of the invention can generate the required table containing the plurality of table data types recorded in the selection sequence according to the selection sequence of the user on the configuration interface for the plurality of table data types, and increases the setting function for the table data types displayed in the table.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a table configuration method according to embodiment 1 of the present invention;
FIG. 2 is a diagram illustrating a configuration interface for a tabular data category according to an example embodiment of the invention;
FIG. 3 shows a flow chart of a table configuration method according to embodiment 2 of the present invention;
FIG. 4 is a flowchart showing a table configuration method according to embodiment 3 of the present invention;
fig. 5 is a block diagram showing a configuration of a table configuring apparatus according to embodiment 1 of the present invention;
fig. 6 is a block diagram showing a configuration of a table configuring apparatus according to embodiment 2 of the present invention;
fig. 7 is a block diagram showing a configuration of a table configuring apparatus according to embodiment 3 of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, a flow chart of a table configuration method according to embodiment 1 of the present invention is shown, which may include the steps of:
step 101, according to an operation of triggering and setting a table data type on a current webpage by a user, generating a configuration interface of the table data type.
The table data category may be a data category to which data recorded in a row or column in a table belongs. The configuration interface of the table data categories can display various table data categories and options associated with each table data category, and a user can select a required table data category on the configuration interface.
The data processed by the embodiment of the invention can be row or column data in a table, and the type of the table data corresponding to the row or column of the used table can be set. In specific implementation, a setting button for the table data may be preset in the current webpage, and a configuration interface for the type of the table data may be generated according to a click operation of a user clicking the setting button on the current webpage using a mouse.
The configuration interface may be another page layer different from the current page, or may be a configuration area embedded in the current page.
And 102, receiving at least one table data type selected by a user in a configuration interface of the table data type, and adding the table data type to a webpage source file.
The web page source file is a file that records a web page using a web page text Language such as Hypertext Markup Language (HTML).
In a specific implementation, after the configuration interface is generated, the user may determine at least one table data type of the row or column of the table as needed, and further complete the selection of the table data type of the table by selecting an option associated with the determined table data type on the configuration interface. Then, the web page source file can be updated according to the selected table data type, and the selected table data type is added to the table element corresponding to the table of the web page source file.
Referring to FIG. 2, a diagram of a configuration interface for a tabular data category is shown, according to one example of an embodiment of the present invention. The configuration interface shown in fig. 2 shows seven data attributes of basic information, summarized data, search advertisements, qualifications, wing data, Real Time Bidding (RTB), and keyword domination, where each data attribute corresponds to a plurality of table data categories. And receiving four table data types consumed by the account name, the account ID, the company name and the search port selected by the user on the configuration interface. And after the selection is finished, clicking a determination option of the configuration interface, and adding the selected four table data types to the webpage source file.
And 103, rendering the webpage source file added with the selected form data type, and displaying the selected form data type in the form of the current webpage.
And adding the table data types into the webpage source file, and reloading the webpage source file to display the added table data types in the obtained webpage.
The table data type may be displayed in a first row of the table of the current web page, may be displayed in a first column of the table of the current web page, and may be displayed at any position of the table of the current web page. The invention is not limited herein as to the specific display position of the selected table data category in the table.
According to the embodiment of the invention, the user can complete the instant modification of the table data types displayed in the table only by selecting the required table data types on the configuration interface displaying a plurality of table data types, thereby realizing the on-demand check of the table by the user. Meanwhile, the operation of changing the table data types displayed in the table is simple, the time consumption is short, and common users can also complete the setting of the table data types.
Example 2
Referring to fig. 3, a flow chart of a table configuration method according to embodiment 2 of the present invention is shown, which may include the steps of:
step 201, receiving a trigger operation of a user on a table data type selection interface in a current webpage.
In the embodiment of the invention, two page layers are defined when the webpage is compiled, wherein the first page layer is the page layer where the current webpage is located, and the second page layer is the page layer where the configuration interface of the table data type is located. Defining two page layers in the same web page source file may be implemented by any scheme, which is not limited by the present invention.
For example, it can be implemented by using a page mask layer technology, where two page layers are disposed in a web source file, an upper page layer is a "mask layer", and a lower page layer is a "masked layer", and when the page mask layer technology is generally used, only overlapping portions of the two page layers will be displayed. That is, where there is an object in the mask layer, it is "transparent" to see the object in the masked layer, and where there is no object, it is opaque to see the object in the corresponding position in the masked layer. In order to realize that the upper page layer covers part of the content of the lower page layer, the display effect of the upper page layer can be set to be opaque.
Specifically, two DIV layers are defined in writing a target page, the DIV layer to be masked is partially covered by another DIV layer (configuration interface) which is larger than the DIV layer to be masked (the page layer where the current page is located), and the styles of the DIV layer to be displayed (the page layer where the current page is located) and the mask layer (configuration interface) are defined by a cascading style sheet CSS. Wherein the up-down stereoscopic relation between the upper mask layer and the lower DIV layer in the stacking order is controlled by the z-index attribute of the display element, and the z-index of the uppermost DIV layer is larger than that of the mask layer.
Specifically, the receiving of the trigger operation of the user on the table data category selection interface in the current web page may be receiving a click operation of a setting button on the current web page by the user for preset table data.
Step 202, generating a configuration interface for displaying various table data types, wherein the configuration interface is covered on the current webpage.
In the embodiment of the invention, after receiving the trigger operation of the user on the table data type selection interface of the first page layer, a second page layer displaying various table data types is generated, and the second page layer is covered on the first page layer of the webpage. Referring to fig. 2, the generated configuration interface showing the plurality of table information categories is overlaid on the current web page.
Step 203, receiving at least one table data type selected by the user in the configuration interface of the table data types.
And 204, recording the selection sequence of the plurality of table data types selected by the user, wherein the plurality of selected table data types are recorded in the webpage source file according to the selection sequence.
In the embodiment of the present invention, after receiving a plurality of table data types selected by a user in a configuration interface of the table data types, a selection order of the user for the selected plurality of table data types may be recorded, after the user completes selection of the table information types, all the selected table data types may be sorted according to the recorded selection order, and then the sorted plurality of table data types are recorded as a whole in a web page source file, so as to update the web page source file.
In a specific implementation, when the operation of receiving the table data type is a first receiving operation, that is, the table data type is not recorded in the web page source file, the received table data type is directly recorded in the web page source file. When the operation of receiving the table data type is a non-first-time receiving operation, namely the table data type is recorded in the webpage source file, the table data type originally recorded in the table is replaced by the selected table data type in the webpage source file.
And step 205, rendering the webpage source file added with the plurality of table data types, and displaying the selected plurality of table data types in the table of the current webpage according to the receiving sequence.
In the embodiment of the present invention, because the plurality of table data types in the updated web page source file are recorded according to the selection order, the selected plurality of table data types in the table generated by rendering the updated web page source file are displayed in an ordered manner according to the selection order. For example, the user needs to generate a table including three columns, where the table data type in the first column is time, the table data type in the second column is location, and the table data type in the third column is people. In the configuration interface, a user only needs to sequentially click on three table data types of time, place and people on the configuration interface, and then click on the confirmation identifications corresponding to the table data type selection interface, so that the required table containing three columns can be generated, namely, the table data type in the first column of the generated table is time, the table data type in the second column is place, and the table data type in the third column is people.
According to the embodiment of the invention, the user can complete the instant modification of the table data types displayed in the table only by selecting the required table data types on the configuration interface displaying a plurality of table data types, thereby realizing the on-demand check of the table by the user. Meanwhile, the operation of changing the table data types displayed in the table is simple, the time consumption is short, and common users can also complete the setting of the table data types.
In addition, the embodiment of the invention can generate the required table containing the plurality of table data types recorded in the selection sequence according to the selection sequence of the plurality of table data types in the configuration interface by the user, and adds the setting function of the table data types shown in the table.
Example 3
Referring to fig. 4, there is shown a flow chart of a table configuration method according to embodiment 3 of the present invention, which may include the steps of:
step 301, generating a configuration interface of the table data type according to an operation of triggering and setting the table data type on the current webpage by a user.
Step 302, receiving at least one form data type selected by a user in a configuration interface of the form data types, and adding the form data type to the webpage source file of the current webpage.
Step 303, extracting the table data matched with the selected table data type from a preset table database.
In a specific implementation, if table data matched with the table data type of the configuration interface is stored in a preset table database, after receiving a change operation of a user on at least one table data type in the configuration interface, extracting the stored table data matched with the selected table data type from the preset table database.
Step 304, adding the extracted form data to the associated position of the form data category in the webpage source file.
In the webpage source file, if the table data type and the corresponding table data have the associated position, after the webpage source file is rendered, the table data is correspondingly recorded in the row or column where the table data type is located in the generated table.
Specifically, in the webpage source file, the extracted table data is added to the associated position of the corresponding table data type, and the webpage source file is updated.
And 305, rendering the webpage source file added with the selected table data type and the corresponding table data.
Step 306, displaying the selected table data type in the first row of the table in the web page, and displaying the corresponding table data in the column where the table data type is located, or displaying the selected table data type in the first row of the table in the web page, and displaying the table data corresponding to the table data type in the row where each selected table data type is located.
In a specific implementation, the table data type corresponding to the row of the table may be set, and after rendering the web page source file added with the selected table data type and the corresponding table data, the first row of the generated table shows the selected table data type, and the corresponding table data is shown in the column where the table data type is located. Or setting the table data type corresponding to the column of the table, rendering the web page source file added with the selected table data type and the corresponding table data, and then displaying the selected table data type in the first column of the generated table, and displaying the corresponding table data in the row where the table data type is located. The invention is not limited thereto, and any practical embodiment suitable for the invention is feasible.
According to the embodiment of the invention, the user can complete the instant modification of the table data types displayed in the table only by selecting the required table data types on the configuration interface displaying a plurality of table data types, thereby realizing the on-demand check of the table by the user. Meanwhile, the operation of changing the table data types displayed in the table is simple, the time consumption is short, and common users can also complete the setting of the table data types.
Example 4
Referring to fig. 5, a block diagram of a table configuration apparatus according to embodiment 1 of the present invention is shown, which may specifically include:
the configuration interface generating module 401 is configured to generate a configuration interface of a table data type according to an operation of triggering and setting the table data type on a current webpage by a user.
A table data category receiving module 402, configured to receive at least one table data category selected by a user in a configuration interface of the table data category, and add the table data category to the web page source file of the current web page.
A table data category display module 403, configured to render a web page source file to which the selected table data category is added, and display the selected table data category in the table of the current web page.
According to the embodiment of the invention, the user can complete the instant modification of the table data types displayed in the table only by selecting the required table data types on the configuration interface displaying a plurality of table data types, thereby realizing the on-demand check of the table by the user. Meanwhile, the operation of changing the table data types displayed in the table is simple, the time consumption is short, and common users can also complete the setting of the table data types.
Example 5
Referring to fig. 6, a block diagram of a table configuration apparatus according to embodiment 2 of the present invention is shown, which may specifically include:
the configuration interface generating module 501 is configured to generate a configuration interface of a table data type according to an operation of triggering and setting the table data type on a current webpage by a user.
A table data category receiving module 502, configured to receive at least one table data category selected by a user in a configuration interface of the table data category.
A selection sequence recording module 503, configured to record a selection sequence of the plurality of table data types selected by the user, where the plurality of table data types selected are recorded in the web page source file according to the selection sequence.
And a table data category display module 504, configured to render the web page source file added with the selected table data category, and display the selected table data category in the table of the current web page.
The configuration interface generating module 501 includes:
the trigger operation receiving submodule 5011 is configured to receive a trigger operation of a user on a table data type selection interface in a current webpage;
and the configuration interface display submodule 5012 is configured to generate a configuration interface for displaying multiple types of table data, where the configuration interface is covered on the current webpage.
The table data type display module 504 is specifically configured to render a web page source file to which a plurality of table data types recorded according to the selection order are added, and display the selected plurality of table data types in the table of the current web page according to the receiving order.
According to the embodiment of the invention, the user can complete the instant modification of the table data types displayed in the table only by selecting the required table data types on the configuration interface displaying a plurality of table data types, thereby realizing the on-demand check of the table by the user. Meanwhile, the operation of changing the table data types displayed in the table is simple, the time consumption is short, and common users can also complete the setting of the table data types.
In addition, the embodiment of the invention can generate the required table containing the plurality of table data types recorded in the selection sequence according to the selection sequence of the plurality of table data types in the configuration interface by the user, and adds the setting function of the table data types shown in the table.
Example 6
Referring to fig. 7, a block diagram of a table configuration apparatus according to embodiment 3 of the present invention is shown, which may specifically include:
the configuration interface generating module 601 is configured to generate a configuration interface of a table data type according to an operation of triggering and setting the table data type on a current webpage by a user.
The form data category receiving module 602 receives at least one form data category selected by a user in a configuration interface of the form data category, and adds the form data category to the web page source file of the current web page.
A table data extracting module 603, configured to extract, from a preset table database, table data that matches the selected table data category while the receiving user selects at least one table data category in the configuration interface of the table data category and adds the selected table data category to the web page source file of the current web page.
A table data adding module 604, configured to add the extracted table data to the web page source file at a position associated with the table data category.
A table data category display module 605, configured to render the web page source file added with the selected table data category, and display the selected table data category in the table of the current web page.
The table data category display module 605 includes:
a table data rendering submodule 6051 configured to render a web page source file to which the selected table data type and the corresponding table data are added;
a first table data displaying sub-module 6052, configured to display the selected table data type in the first row of the table in the web page, and display corresponding table data in the column where the table data type is located;
or, the second table data displaying sub-module 6053 is configured to display the selected table data types in the first column of the table in the web page, and display the table data corresponding to each selected table data type in the row where each selected table data type is located.
According to the embodiment of the invention, the user can complete the instant modification of the table data types displayed in the table only by selecting the required table data types on the configuration interface displaying a plurality of table data types, thereby realizing the on-demand check of the table by the user. Meanwhile, the operation of changing the table data types displayed in the table is simple, the time consumption is short, and common users can also complete the setting of the table data types.
Since the embodiment of the mobile terminal basically corresponds to the method embodiments shown in fig. 1 to fig. 4, the description of the embodiment is not detailed, and reference may be made to the related description in the foregoing embodiment, which is not repeated herein.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in an apparatus corresponding to a table configuration method according to an embodiment of the present invention. The present invention may also be embodied as apparatus or system programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several systems, several of these systems may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses A1 and a table configuration method, wherein the method comprises the following steps:
according to the operation of triggering and setting the table data type on the current webpage by a user, generating a configuration interface of the table data type;
receiving at least one form data type selected by a user in a configuration interface of the form data types, and adding the form data type to a webpage source file of the current webpage;
and rendering the webpage source file added with the selected table data type, and displaying the selected table data type in the table of the current webpage.
A2, the method according to A1, wherein the generating the configuration interface of the table data category according to the operation of the user for triggering and setting the table data category on the current webpage comprises:
receiving a trigger operation of a user on a table data type selection interface in a current webpage;
and generating a configuration interface for displaying various table data types, wherein the configuration interface is covered on the current webpage.
A3, the method according to A1, wherein the receiving at least one form data category selected by a user in a configuration interface of the form data categories, and the adding the web page source file to the current web page includes:
receiving at least one table data category selected by the user on a configuration interface of the table data categories;
in the webpage source file, replacing the originally recorded table data type in the table with the selected table data type;
the rendering of the web page source file with the selected table data type added thereto, the displaying of the selected table data type in the table of the current web page including:
and rendering the webpage source file added with the selected table data type, wherein the selected table data type is displayed in the table of the current webpage in place of the originally recorded table data type in the table.
A4, the method according to A1, wherein, while the receiving at least one form data category selected by the user in the form data category configuration interface and adding to the web page source file of the current web page, the method further comprises:
extracting table data matched with the selected table data type from a preset table database;
adding the extracted table data to the webpage source file at the associated position of the table data category.
A5, the method of A4, wherein the rendering a web page source file with a selected table data category added thereto, and the showing the selected table data category in the table of the current web page includes:
rendering a webpage source file added with the selected table data type and the corresponding table data;
displaying the selected table data type in the first row of the table in the webpage, and displaying corresponding table data in the column where the table data type is located;
or, the selected table data types are displayed in the head column of the table in the webpage, and the table data corresponding to the table data types are displayed in the row where each selected table data type is located.
A6, the method of A1, wherein after receiving a plurality of table data categories selected by a user in a configuration interface of the table data categories, the method further comprises:
recording the selection sequence of the plurality of table data types selected by the user, wherein the plurality of selected table data types are recorded in the webpage source file according to the selection sequence;
the rendering adds a webpage source file of the selected table data type, and the displaying the selected table data type in the table of the current webpage comprises:
and rendering the webpage source file added with the plurality of table data types, and displaying the selected plurality of table data types in the table of the current webpage according to the receiving sequence.
The invention also discloses B7 and a table configuration device, wherein the table configuration device comprises:
the configuration interface generation module is used for generating a configuration interface of the table data type according to the operation of triggering and setting the table data type on the current webpage by a user;
the form data type receiving module is used for receiving at least one form data type selected by a user in a configuration interface of the form data type and adding the form data type to the webpage source file of the current webpage;
and the table data type display module is used for rendering the webpage source file added with the selected table data type and displaying the selected table data type in the table of the current webpage.
B8, the apparatus according to B7, wherein the configuration interface generating module includes:
the trigger operation receiving submodule is used for receiving the trigger operation of a user on the form data type selection interface in the current webpage;
and the configuration interface display submodule is used for generating a configuration interface for displaying various table data types, and the configuration interface is covered on the current webpage.
The apparatus of B9, the apparatus of B7, wherein the table data category receiving module comprises:
the table data type obtaining submodule is used for receiving at least one table data type selected by the user on a configuration interface of the table data type;
the table data type replacing submodule is used for replacing the table data type of the original record in the table by the selected table data type;
the table data type display module is specifically configured to render a web page source file to which a selected table data type is added, where the selected table data type is displayed in the table of the current web page in place of the table data type originally recorded in the table.
B10, the apparatus according to B7, wherein the apparatus further comprises:
the form data extraction module is used for extracting form data matched with the selected form data type from a preset form database when the receiving user selects at least one form data type in the configuration interface of the form data types and adds the selected form data type to the webpage source file of the current webpage;
and the table data adding module is used for adding the extracted table data to the associated position of the table data type in the webpage source file.
B11, the apparatus according to B10, wherein the table data category display module comprises:
the table data rendering submodule is used for rendering a webpage source file added with the selected table data type and the corresponding table data;
the first table data display submodule is used for displaying the selected table data type in the first row of the table in the webpage and displaying the corresponding table data in the column where the table data type is located;
or, the second table data display sub-module is configured to display the selected table data types in a first column of the table in the web page, and display the table data corresponding to the table data types in a row where each selected table data type is located.
B12, the apparatus according to B7, wherein the apparatus further comprises:
the selection sequence recording module is used for recording the selection sequence of the user on the selected multiple table data types after receiving the multiple table data types selected by the user in the configuration interface of the table data types, and the selected multiple table data types are recorded in the webpage source file according to the selection sequence;
the table data type display module is specifically configured to render a web page source file to which a plurality of table data types recorded according to the selection order are added, and display the selected plurality of table data types in the table of the current web page according to the reception order.

Claims (10)

1. A table configuration method, comprising:
according to the operation of triggering and setting the table data type on the current webpage by a user, generating a configuration interface of the table data type;
receiving at least one form data category selected by a user in a configuration interface of the form data categories, and adding the form data category to a webpage source file of the current webpage, wherein the method comprises the following steps: receiving at least one table data category selected by the user on a configuration interface of the table data categories; in the webpage source file, replacing the originally recorded table data type in the table with the selected table data type;
when the receiving at least one form data category selected by the user in the configuration interface of the form data categories and added to the web page source file of the current web page, the method further includes: extracting table data matched with the selected table data type from a preset table database; adding the extracted table data to the webpage source file at the associated position of the table data category;
and rendering the webpage source file added with the selected table data type, and displaying the selected table data type in the table of the current webpage.
2. The method of claim 1, wherein the generating a configuration interface for the table data category according to the operation of the user for triggering and setting the table data category on the current webpage comprises:
receiving a trigger operation of a user on a table data type selection interface in a current webpage;
and generating a configuration interface for displaying various table data types, wherein the configuration interface is covered on the current webpage.
3. The method of claim 1, wherein the receiving at least one form data category selected by a user in a configuration interface of the form data categories and added to the web page source file of the current web page comprises:
the rendering of the web page source file with the selected table data type added thereto, the displaying of the selected table data type in the table of the current web page including:
and rendering the webpage source file added with the selected table data type, wherein the selected table data type is displayed in the table of the current webpage in place of the originally recorded table data type in the table.
4. The method of claim 1, wherein the rendering a web page source file to which a selected table data category is added, the displaying the selected table data category in the table of the current web page comprises:
rendering a webpage source file added with the selected table data type and the corresponding table data;
displaying the selected table data type in the first row of the table in the webpage, and displaying corresponding table data in the column where the table data type is located;
or, the selected table data types are displayed in the head column of the table in the webpage, and the table data corresponding to the table data types are displayed in the row where each selected table data type is located.
5. The method of claim 1, wherein after the receiving the plurality of tabular data categories selected by the user in the tabular data category configuration interface, the method further comprises:
recording the selection sequence of the plurality of table data types selected by the user, wherein the plurality of selected table data types are recorded in the webpage source file according to the selection sequence;
the rendering adds a webpage source file of the selected table data type, and the displaying the selected table data type in the table of the current webpage comprises:
and rendering the webpage source file added with a plurality of table data types, and displaying the selected plurality of table data types in the table of the current webpage according to the receiving sequence.
6. A table configuring apparatus, comprising:
the configuration interface generation module is used for generating a configuration interface of the table data type according to the operation of triggering and setting the table data type on the current webpage by a user;
the form data type receiving module is used for receiving at least one form data type selected by a user in a configuration interface of the form data type and adding the form data type to the webpage source file of the current webpage;
the table data category receiving module comprises: the table data type obtaining submodule is used for receiving at least one table data type selected by the user on a configuration interface of the table data type; the table data type replacing submodule is used for replacing the table data type of the original record in the table by the selected table data type;
the form data extraction module is used for extracting form data matched with the selected form data type from a preset form database when the receiving user selects at least one form data type in the configuration interface of the form data types and adds the selected form data type to the webpage source file of the current webpage;
the table data adding module is used for adding the extracted table data to the associated position of the table data type in the webpage source file;
and the table data type display module is used for rendering the webpage source file added with the selected table data type and displaying the selected table data type in the table of the current webpage.
7. The apparatus of claim 6, wherein the configuration interface generation module comprises:
the trigger operation receiving submodule is used for receiving the trigger operation of a user on the form data type selection interface in the current webpage;
and the configuration interface display submodule is used for generating a configuration interface for displaying various table data types, and the configuration interface is covered on the current webpage.
8. The apparatus of claim 6, wherein the table data category receiving module comprises:
the table data type display module is specifically configured to render a web page source file to which a selected table data type is added, where the selected table data type is displayed in the table of the current web page in place of the table data type originally recorded in the table.
9. The apparatus of claim 6, wherein the tabular data category presentation module comprises:
the table data rendering submodule is used for rendering a webpage source file added with the selected table data type and the corresponding table data;
the first table data display submodule is used for displaying the selected table data type in the first row of the table in the webpage and displaying the corresponding table data in the column where the table data type is located;
or, the second table data display sub-module is configured to display the selected table data types in a first column of the table in the web page, and display the table data corresponding to the table data types in a row where each selected table data type is located.
10. The apparatus of claim 6, wherein the apparatus further comprises:
the selection sequence recording module is used for recording the selection sequence of the user on the selected multiple table data types after receiving the multiple table data types selected by the user in the configuration interface of the table data types, and the selected multiple table data types are recorded in the webpage source file according to the selection sequence;
the table data type display module is specifically configured to render a web page source file to which a plurality of table data types recorded according to a selection order are added, and display the selected plurality of table data types in the table of the current web page according to the receiving order.
CN201510625058.XA 2015-09-25 2015-09-25 Table configuration method and device Active CN106557496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510625058.XA CN106557496B (en) 2015-09-25 2015-09-25 Table configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510625058.XA CN106557496B (en) 2015-09-25 2015-09-25 Table configuration method and device

Publications (2)

Publication Number Publication Date
CN106557496A CN106557496A (en) 2017-04-05
CN106557496B true CN106557496B (en) 2022-04-29

Family

ID=58416483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510625058.XA Active CN106557496B (en) 2015-09-25 2015-09-25 Table configuration method and device

Country Status (1)

Country Link
CN (1) CN106557496B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304114A (en) * 2018-01-30 2018-07-20 深圳市富途网络科技有限公司 A kind of customized list interactive system
CN109857969A (en) * 2019-01-25 2019-06-07 畅捷通信息技术股份有限公司 Data form view processing method, system and computer readable storage medium
CN110223190A (en) * 2019-06-06 2019-09-10 衡水云翼信息技术有限公司 Agricultural data management method, device, equipment and storage medium
CN112558957B (en) * 2020-12-08 2024-02-13 中国联合网络通信集团有限公司 Method and device for generating webpage form, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140157100A1 (en) * 2012-12-04 2014-06-05 Oracle International Corporation Persistent layer labels for a pivot table or cross-tabular report
CN104331290A (en) * 2014-10-31 2015-02-04 北京思特奇信息技术股份有限公司 Resource type management and page display method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140157100A1 (en) * 2012-12-04 2014-06-05 Oracle International Corporation Persistent layer labels for a pivot table or cross-tabular report
CN104331290A (en) * 2014-10-31 2015-02-04 北京思特奇信息技术股份有限公司 Resource type management and page display method and system

Also Published As

Publication number Publication date
CN106557496A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
JP7420861B2 (en) System and method for website building system server
CN103890795B (en) System and method for showing advertisement in advertising unit
US9128581B1 (en) Providing supplemental information for a digital work in a user interface
US10542123B2 (en) System and method for generating and monitoring feedback of a published webpage as implemented on a remote client
CN106557496B (en) Table configuration method and device
WO2012021221A1 (en) Systems and methods for providing modular configurable creative units for delivery via intext advertising
CN108573516B (en) It draws the generation method of this document, calculate equipment and computer storage medium
CN102999551A (en) Automatic scoping of data entities
CN112650429B (en) Book recommendation method for bookshelf pages, computing device and storage medium
CN111143739B (en) Page jump method, computing device and computer storage medium
CN107391561B (en) Advertisement processing method in content source page, server and computer readable medium
KR102350540B1 (en) digital component background rendering
US20170083196A1 (en) Computer-Aided Navigation of Digital Graphic Novels
US20170060825A1 (en) Information processing method and information processing apparatus
CN113361525A (en) Page generation method and device based on OCR, computer equipment and storage medium
CN105183888A (en) Data processing method based on browser and browser
CN105786881A (en) Self-adaptive electronic book and magazine file structure and corresponding methods and devices
CN106951405B (en) Data processing method and device based on typesetting engine
CN113763009A (en) Picture processing method, picture skipping method, device, equipment and medium
US10788959B2 (en) Personalization of a web application
CN111367519B (en) Page part using method and device, computing equipment and computer storage medium
US20180018697A1 (en) Content provision server by which advertisement is displayed, method therefor, and readable recording medium for electronic device in which method for displaying advertisement within content is recorded as program
US20090288033A1 (en) User-Directed Capture of Unstructured Information from Web Pages with Assignment to Data Type
KR101242878B1 (en) Method and system for extracting and providing item having annotation on electronic book
CN106649888B (en) Browser

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240108

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right