CN109358919A - Dynamic Configuration, device, computer equipment and the storage medium of Universal page - Google Patents

Dynamic Configuration, device, computer equipment and the storage medium of Universal page Download PDF

Info

Publication number
CN109358919A
CN109358919A CN201810946608.1A CN201810946608A CN109358919A CN 109358919 A CN109358919 A CN 109358919A CN 201810946608 A CN201810946608 A CN 201810946608A CN 109358919 A CN109358919 A CN 109358919A
Authority
CN
China
Prior art keywords
page
page elements
elements
configuration
data tables
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810946608.1A
Other languages
Chinese (zh)
Other versions
CN109358919B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201810946608.1A priority Critical patent/CN109358919B/en
Publication of CN109358919A publication Critical patent/CN109358919A/en
Application granted granted Critical
Publication of CN109358919B publication Critical patent/CN109358919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of Dynamic Configuration of Universal page, device, computer equipment and storage mediums, include the following steps: the dynamic data tables for obtaining the page to be shown, it wherein, include the configuration parameter for forming the store path and page elements of the page elements of the page to be shown in dynamic data tables;According to the store path loading page element of page elements;Typesetting is carried out to page elements according to configuration parameter, so that page elements form the page to be shown and shown.By the dynamic data tables for obtaining the page to be shown, then data processing, analysis are carried out come loading page element according to dynamic data tables, and typesetting is carried out to page elements according to the configuration parameter of the page elements in dynamic data tables, so that page elements form the page to be shown and are shown, system dynamically goes load to generate the page to be shown from dynamic data tables, the flexible dynamic configuration for carrying out page elements, greatly improves development efficiency, shortens the development time of the page.

Description

Dynamic Configuration, device, computer equipment and the storage medium of Universal page
Technical field
The present embodiments relate to page configuration field, especially a kind of Dynamic Configuration of Universal page, device, meter Calculate machine equipment and storage medium.
Background technique
People are when browsing webpage, when finding interested webpage information, understand the page assembly in webpage clicking, then It jumps and browses new webpage information, and the participation that the foundation of these pages requires programming personnel is completed.
In the prior art, programming personnel is when carrying out the system page and establishing, it is necessary first to which that establishes a page can Depending on the page, database, the i.e. corresponding data storage of element used in page ground are then arranged according to the corresponding element of the page Location, then by the address together with the elements correlation of the page, user can be when invoking page component, corresponding tune Changed with the corresponding logic of page assembly, and parameter (quantity, size, position, the type of the page assembly for including in a page And function) different, programming personnel needs to be configured the parameter of each page assembly, the configuration of page assembly Journey is stiff not flexible, causes development efficiency low, extends the development cycle of the page.
Summary of the invention
The embodiment of the present invention, which provides, a kind of fast implements the dynamic configuration side of Universal page by establishing dynamic data tables Method, device, computer equipment and storage medium.
In order to solve the above technical problems, the technical solution that the embodiment of the invention uses is: providing a kind of logical With the Dynamic Configuration of the page, include the following steps:
Obtain the dynamic data tables of the page to be shown, wherein include forming the page to be shown in the dynamic data tables The configuration parameter of the store path of the page elements in face and the page elements;
The page elements are loaded according to the store path of the page elements;
Typesetting is carried out to the page elements according to the configuration parameter, so that page elements composition is described to be shown The page is shown.
Optionally, before the step of dynamic data tables for obtaining the page to be shown, further includes:
Obtain replacement element corresponding with the page elements;
By replacement element storage into the store path of the page elements, and delete the page elements.
Optionally, after described the step of showing the page elements composition page to be shown, further includes:
Obtain it is that the page to be shown is newly added and with the page elements of the page to be shown association component each other Page assembly;
The page assembly is configured according to the configuration parameter of the page elements of the component of association each other.
It is optionally, described that the configuration parameter of the page elements of association component configures the page assembly each other according to Step includes:
Obtain general configuration parameters general between the page elements and page assembly of association component each other;
When the page to be shown loads the page assembly, the general configuration parameters are transferred to the page group In the configuration parameter of part.
Optionally, the judgment step of the association component includes:
Calculate the page assembly combined with each page elements in the page to be shown between relevance be associated with Entropy;
The association entropy is compared with preset threshold;
The page assembly and page member when the association entropy is greater than the budget threshold value, in label combination Plain association component each other.
Optionally, the worth step that calculates of the Association Entropy includes:
It obtains the number of the dynamic data tables simultaneously and element is the same as tabular order number, wherein the element is institute with tabular order number It states page assembly and the page elements appears in number in the same dynamic data tables in a manner of combination of two;
The element is input in preset Association Entropy computation model with the number of tabular order number and the dynamic data tables To obtain the association entropy between the page assembly and page elements combination.
Optionally, the configuration parameter includes: dimensional parameters, functional parameter and the page member of the page elements Location parameter of the element in the page to be shown.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of dynamic configuration device of Universal page, comprising:
First obtains module, for obtaining the dynamic data tables of the page to be shown, wherein include in the dynamic data tables Form the store path of the page elements of the page to be shown and the configuration parameter of the page elements;
Loading module, for loading the page elements according to the store path of the page elements;
Type-setting module, for carrying out typesetting to the page elements according to the configuration parameter, so that the page elements The page to be shown is formed to be shown.
Optionally, further includes:
Second obtains module, for obtaining replacement element corresponding with the page elements;
Replacement module, for storing the replacement element into the store path of the page elements, and described in deletion Page elements.
Optionally, further includes:
Third obtain module, for obtain it is that the page to be shown is newly added and with the page of the page to be shown member The page assembly of plain association component each other;
Transfer module, for configuring the page group according to the configuration parameter of the page elements of association component each other Part.
Optionally, the transfer module includes:
First acquisition submodule, for obtain each other between the page elements and page assembly of association component it is general General configuration parameters;
First transmitting submodule is used for when the page to be shown loads the page assembly, by the generic configuration Parameter is transferred in the configuration parameter of the page assembly.
Optionally, further includes:
Computing module, combine for calculating the page assembly with each page elements in the page to be shown between pass Connection property obtains association entropy;
Contrast module, for the association entropy to be compared with preset threshold;
Mark module, for the page group when the association entropy is greater than the budget threshold value, in label combination Part and the page elements association component each other.
Optionally, the computing module includes:
Second acquisition submodule, for obtain the dynamic data tables number and and element with tabular order number, wherein institute Stating element, with tabular order number to be that the page assembly and the page elements are appeared in a manner of combination of two same described dynamic Number in state tables of data;
First computational submodule, it is default for the element to be input to the number of tabular order number and the dynamic data tables Association Entropy computation model in obtain the page assembly and page elements combination between association entropy.
Optionally, the configuration parameter includes: dimensional parameters, functional parameter and the modification letter of the page elements Cease location parameter of the page elements in the page to be shown.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of computer equipment, including memory and processing Device is stored with computer-readable instruction in the memory, when the computer-readable instruction is executed by the processor, so that The processor executes the step of Dynamic Configuration of above-mentioned Universal page.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of storage Jie for being stored with computer-readable instruction Matter, when the computer-readable instruction is executed by one or more processors, so that one or more processors execute above-mentioned lead to The step of with the Dynamic Configuration of the page.
The dynamic data tables of the embodiment of the present invention having the beneficial effect that by obtaining the page to be shown, then according to dynamic The store path of page elements in tables of data carrys out loading page element, and according to the configuration of the page elements in dynamic data tables Parameter carries out typesetting to page elements, so that page elements form the page to be shown and shown, when needing to load the new page When, it is only necessary to the data in the store path of the page elements are changed, that is, produce the page that user needs, and access this every time When a page, system dynamically goes load to generate the page to be shown from dynamic data tables, to no longer need to new page Page elements in face are configured in turn, and the flexible dynamic configuration for carrying out page elements greatly improves development efficiency, Shorten the development time of the page.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the basic procedure schematic diagram of the Dynamic Configuration of Universal page of the embodiment of the present invention;
Fig. 2 is the idiographic flow schematic diagram of another embodiment of the Dynamic Configuration of Universal page of the embodiment of the present invention;
Fig. 3 is the flow diagram of the Dynamic Configuration further embodiment of Universal page of the embodiment of the present invention;
Fig. 4 is the flow diagram that the embodiment of the present invention configures association component;
Fig. 5 is the flow diagram that the embodiment of the present invention judges association component;
Fig. 6 is the flow diagram that the embodiment of the present invention calculates association entropy;
Fig. 7 is the dynamic configuration device basic structure schematic diagram of Universal page of the embodiment of the present invention;
Fig. 8 is computer equipment of embodiment of the present invention basic structure block diagram.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment 1
It is the basic procedure schematic diagram of the Dynamic Configuration of the present embodiment Universal page referring specifically to Fig. 1, Fig. 1.
As shown in Figure 1, a kind of Dynamic Configuration of Universal page, includes the following steps:
S1100, the dynamic data tables for obtaining the page to be shown, wherein include forming the page to be shown in dynamic data tables Page elements store path and page elements configuration parameter;
Dynamic data tables include at least the store path of page elements and the configuration parameter of page elements, wherein the page Element is for forming the page to be shown, the store path when having multiple page elements in the page to be shown, in dynamic data tables It is corresponded with configuration parameter and page elements.Specifically, page elements are store in the store path, when user wants modification When the page elements, such as the apple picture in the page to be shown is substituted for orange picture, it is only necessary to save orange picture Into the store path of the page elements, and the apple picture in store path is deleted accordingly, the page to be shown is in group When building, system is found according to the store path of the page elements and reads orange picture, then loads the orange picture and shows In the page to be shown;Configuration parameter includes: that the dimensional parameters, functional parameter and the page elements of the page elements exist Location parameter in the page to be shown etc. series of parameters.By taking the page to be shown is to welcome interface as an example, this is to be shown It include text page elements and key page elements in the page, wherein the text page elements are for showing " welcoming to use " Text style has " next step " prompt text in the key page elements, and while pressing the key page elements can jump to Next page, the text page elements are stored in dynamic data tables in store path corresponding with the text page elements, And the key page elements are stored in dynamic data tables in store path corresponding with the key page elements, and the text page The configuration parameter of surface element and key page elements is written in the dynamic data tables, when the welcome interface will be shown When, system obtains the dynamic data tables of the page to be shown, then by the store path that is stored in the dynamic data tables to read The text page elements and key page elements are got, then further according to the respective of the text page elements and key page elements Configuration parameter load and form the page to be shown and shown.When user needs to modify page elements, such as modification text When text in page elements, it is only necessary to be written to new text in the store path of the text page elements, can modify The text style of the page to be shown does not need to modify to dynamic data tables, improves development efficiency.
S1200, the store path loading page element according to page elements;
It include the configuration for forming the store path and page elements of page elements of the page to be shown in dynamic data tables Parameter, system can be according to the store paths of the page elements in dynamic data tables come loading page element.Specifically, page member The store path of element can be the store path of local memory, and certainly, the store path of page elements can also be that network cloud takes The store path of business device.In one alternate embodiment, it is by the store path of local memory of the store path of page elements Example, page elements are stored in local memory, and the local memory is corresponding with the store path of the page elements, and user can lead to The page elements modified or replaceed in local memory are crossed, to modify the page elements in the page to be shown, such as will be local The picture of a doggie in memory is substituted for the picture of kitten, so that the page to be shown reads according to storage address and loads this The picture of kitten is shown.
S1300, typesetting is carried out to page elements according to configuration parameter, so that page elements form the page to be shown and shown Show.
After page loading page element to be shown, at this time, it may be necessary to according to the configuration parameter of page elements come to page member Element carries out typesetting.Specifically, system reads the configuration parameter of the page elements in dynamic data tables, which includes at least The dimensional parameters of location parameter and page elements of the page elements in the page to be shown, thus by page elements typesetting to It is shown in the display page.Certainly, the configuration parameter of page elements is not limited to above-mentioned location parameter and dimensional parameters, according to The difference of concrete application scene, the configuration parameter of page elements can also include other supplemental characteristics.
In some embodiments, it before the dynamic data tables for obtaining the page to be shown, needs to carry out page elements Modification and adjustment.Specific modification process referring to Fig. 2, Fig. 2 be the present embodiment Universal page Dynamic Configuration another The idiographic flow schematic diagram of embodiment.
As shown in Fig. 2, further including following step before step S1100:
S1010, acquisition replacement element corresponding with page elements;
Replacing element is inputted by user, with page elements are prize drawing key and to replace element be determining key For, when user needs the volume prize drawing key in the page to be shown being substituted for determining key, user can input replacement member Element, system receive the replacement element and replacement rubidium marking is corresponding with page elements.In one embodiment, with the page Element is apple picture and replaces for element is banana picture, and the apple figure is store in the store path of the page elements Piece, when user needs to show banana picture in the page to be shown, user can find from network and download banana picture, It is, of course, also possible to acquire banana picture by video camera or other image capture devices, then the banana picture is input to In system, system depending on the user's operation hint expression by the banana picture indicia be apple picture replacement element.
S1020, replacement element is stored into the store path of page elements, and deletes page elements.
After system obtains replacement element corresponding with page elements, page elements are deleted, it then will replacement element storage Into the store path of page elements, so that replacement element becomes new page elements, when page loading page element to be shown When, replacement element can be read and loaded according to the store path, shown, be not required to so that replacement element forms the page to be shown It to modify to the store path in dynamic data tables, it is only necessary to modify the page elements in store path and can be realized and treat Show the modification of the page.In one embodiment, it replaces for element is banana picture so that page elements are apple picture, it should The apple picture is store in the store path of page elements, when system monitoring to user is wanted apple picture being substituted for banana When the operation hint expression of picture, which can be the replacement element of apple picture by system, then by the banana Picture storage is into the store path of apple picture and deletes apple picture, so that the page to be shown loads the store path In banana picture shown that not needing to modify to the store path in dynamic data tables can be realized to page to be shown The modification of page elements in face simplifies page development process, improves development efficiency.Certainly, when not needing in the page to be shown When middle display apple picture, it is only necessary to delete the apple picture from store path, system reads the page in store path Surface element is sky, and the page to be shown will not show the page elements.And when needing to add page elements in the page to be shown, It only needs to add corresponding store path in dynamic data tables, and is stored in page elements in the store path.
In some embodiments, referring to Fig. 3, Fig. 3 be the present embodiment Universal page Dynamic Configuration another The idiographic flow schematic diagram of embodiment.
As shown in figure 3, further including following step after step S1300:
S1400, page that the page to be shown is newly added and with the page elements of the page to be shown association component each other is obtained Face component;
It include multiple page elements in the page to be shown, wherein page assembly is also a kind of page elements, and to aobvious Show between some page elements in the page association component each other.Between the page elements and page assembly of association component each other For the position in the page to be shown is identical, wherein page elements are login component and page assembly is that news rolls Component exhibiting, after user logs in, login component disappears, and substitute the login component position is that news rolls component exhibiting, by Rolling component exhibiting and login component in news is association component each other, so system can learn what the page to be shown was newly added News rolls component exhibiting and login component association component each other.
S1500, page assembly is configured according to the configuration parameter of the page elements of association component each other.
It is getting with after the page elements each other page assembly of association component, can joined according to the configuration of the page elements Number is to configure page assembly.In one embodiment, by taking page elements are login component and page assembly is prize drawing component as an example, Login component is identical with position of the prize drawing component in the page, and after the user logs, login component disappears, and component of then drawing a lottery replaces It is shown for login component, some configurations ginseng due to login component and component association component each other of drawing a lottery, in the page Number (such as location parameter or dimensional parameters) is able to carry out association transmitting, can be configured according to the configuration parameter of login component The prize drawing component being newly added.It is general between page elements when having multiple page elements and page assembly association component each other Configuration parameter be able to carry out transmitting, to reduce configuration work of the programming personnel to the page assembly being newly added, improve the page Development efficiency.
In some embodiments, referring to Fig. 4, Fig. 4 is the idiographic flow schematic diagram that the present embodiment configures association component.
As shown in figure 4, step S1500 further includes following step:
S1510, general configuration parameters general between the page elements and page assembly of association component each other are obtained;
The configuration parameter of page elements includes many kinds of parameters, such as location parameter, dimensional parameters and color parameter etc. A series of parameter, and the general configuration parameters that can wherein transmit between association component each other may only include therein one Kind is several.In one alternate embodiment, by taking the consulting component in the page to be shown and component of drawing a lottery are association component as an example, If seeking advice from, component is identical with size of the component in the page to be shown of drawing a lottery, and seeks advice from the generic configuration ginseng of component and component of drawing a lottery Number is dimensional parameters;If seek advice from component and draw a lottery size of the component in the page to be shown and and color it is all the same, seek advice from General configuration parameters between component and prize drawing component are dimensional parameters and color parameter.
S1520, when page loading page component to be shown, by general configuration parameters be transferred to page assembly configuration join In number.
Part configuration parameter between association component can be public, that is to say between the page elements of association component each other General configuration parameters can be transmitted, to reduce developer to the configuration work of each component in the page.In developer After the parameter for setting one of association component, the parameter that association component can be general can be passed to other groups of association component In part.Specifically, transfer mode are as follows: the general configuration parameters of the page elements of association component can be labeled each other, that is, be stored in In the parameter general purpose table of control, after confirming addition association component in the page, the parameter general purpose table is called, and in configured completion Configuration parameter in once traversed, when reading parameter number corresponding with general configuration parameters in the page elements being arranged According to rear, which is written in the configuration parameter for the page assembly being newly added.In one alternate embodiment, to aobvious Show consulting component and prize drawing component in the page for association component, to seek advice from component and prize drawing component in the page to be shown Size is identical, and component of drawing a lottery is located at the top of consulting component in the page, by the size for component of drawing a lottery in dynamic data tables Parameter is transferred to the dimensional parameters of consulting component, reloads official communication after the page to be shown loads prize drawing component according to dynamic data tables When asking component, consulting component can be loaded according to the configuration parameter of the consulting component in dynamic data tables, so that consulting component Size with prize drawing the size of component it is identical.
The present embodiment, which passes through, obtains the general configuration parameters between the page elements and page assembly of association component each other, when When page loading page component to be shown, general configuration parameters are transferred in the configuration parameter of page assembly, companion can be completed Parameter transmitting between raw component, reduces the configuration to page assembly, to further increase the programming efficiency of the page.
In some embodiments, the companion that the page to be shown is newly added each other with the page to be shown page elements is being obtained Before the page assembly of raw component, need to judge various components in the page whether each other association component.Specific deterministic process Referring to Fig. 5, Fig. 5 is the idiographic flow schematic diagram that the present embodiment judges association component.
As shown in figure 5, step S1400 includes the following steps:
S1410, calculate page assembly combined with each page elements in the page to be shown between relevance obtain Association Entropy Value;
Specifically, page assembly is also the page elements in the page to be shown, wherein association entropy for indicate two or The probability that multiple page elements associations occur;Association entropy is calculated especially by following calculation methods: firstly, obtaining dynamic The number and element of tables of data are the same as tabular order number, wherein element is page assembly and page elements with combination of two with tabular order number Mode appear in the number in the same dynamic data tables;Element is input to the number of tabular order number and dynamic data tables pre- If Association Entropy computation model in obtain page assembly and page elements combination between association entropy.
S1420, association entropy is compared with preset threshold;
S1430, page assembly and page elements association each other when being associated with entropy greater than budget threshold value, in label combination Component.
Preset threshold is a preset threshold value, is compared by that will be associated between entropy and preset threshold, when When being associated with entropy greater than preset threshold, then the page elements in combination are labeled as association component each other, each page in combination There is association relationship between element.Specifically, when a page elements with association relationship are called or are written into dynamic After tables of data, system can remind whether user selects association component in a manner of pop-up.Stop after obtaining the ignoring instruction of user Only prompt.
In one alternate embodiment, referring to Fig. 6, Fig. 6 is the detailed process signal that the present embodiment calculates association entropy Figure.
As shown in fig. 6, the calculating step of association entropy includes the following steps:
S1411, the number for obtaining dynamic data tables and element are the same as tabular order number, wherein element is page group with tabular order number Part and page elements appear in the number in the same dynamic data tables in a manner of combination of two;
Specifically, the number and page elements for counting dynamic data tables in the database first are in a manner of combination of two It counts the number that two page elements appear in the same dynamic data tables and obtains element with tabular order number.Page assembly be also to The page elements in the page are shown, it is, of course, also possible to which three page elements are combined, are combined four page elements Or multiple page elements are combined to calculate the association entropy between page elements.
S1412, by element with the number of tabular order number and dynamic data tables be input in preset Association Entropy computation model with Obtain the association entropy between page assembly and page elements combination.
After obtaining element with the number of tabular order number and dynamic data tables, by element with of tabular order number and dynamic data tables Number is input in Association Entropy computation model, and the effect of Association Entropy computation model is with tabular order number by the element divided by dynamic data tables Number, obtained ratio probability i.e. the page elements combination association entropy.Certainly, it can also be calculated by the above method Association entropy between three, four or even more a page elements combinations.
In one alternate embodiment, when user creates the page, the operational order of the newly-built page of user's input is obtained;Tool Body, in user's browsing pages, the operational order of the newly-built page of user's input is obtained by way of acquiring in real time.Such as Detect clicking operation of the user to the touch clicking operation of Touch Screen or user by tools such as mouses to the page, but not office It is limited to this, according to the difference of concrete application scene, the operation of the newly-built page of user's input can also be obtained otherwise Instruction.After system obtains the operational order of the newly-built page of user's input, chooses and need first in preset page data library Page Template or the Page Template modified of needs, instruct, search corresponding with the Page Template depending on the user's operation Dynamic data tables, wherein Page Template refers to page elements.
According to the construction requirements of the page to be shown, user can be deleted page elements in the database of Page Template It removes or increases, meanwhile, to the configuration parameter in the modification page elements of adaptation, to complete the foundation to the page to be shown.
When the dynamic data tables modification to page elements is related to being added or deleting part association component, as companion each other When one page assembly of raw component is called, whether the system detection page assembly has association component, when association component is deposited When, obtain the name information of the association component, to user send the component be invocation component association component whether need plus Enter the inquiry prompt in the page to be shown.Stop prompt after obtaining the ignoring instruction of user.
It is general when detecting when, there are when association component, being monitored the parameter in association component in the page to be shown After configuration parameter is modified, general configuration parameters are sent to user and are modified whether the general configuration parameters are transferred to other companions Inquiry prompt in the configuration parameter of raw component modifies the configuration ginseng of other association components after obtaining the instruction of user certainly Number.
The storage address of page elements and configuration parameter are saved in dynamic data tables, page elements are according to different need It asks and is added or deletes using the mode of dynamic configuration, when accessing this page every time, system is from dynamic data tables Load is dynamically gone to generate the page to be shown, to no longer need to develop the new page, the flexible dynamic for realizing page elements Configuration, the development time for greatly improving development efficiency, shortening the page.
In order to solve the above technical problems, the embodiment of the present invention also provides the dynamic configuration device of Universal page.
It is the dynamic configuration device basic structure schematic diagram of the present embodiment Universal page referring specifically to Fig. 7, Fig. 7.
As shown in fig. 7, a kind of dynamic configuration device of Universal page, comprising: first obtains module 2100, loading module 2200 and type-setting module 2300.Wherein, the first acquisition module 2100 is used to obtain the dynamic data tables of the page to be shown, wherein It include the store path and the page elements for forming the page elements of the page to be shown in the dynamic data tables Configuration parameter;For loading the page elements according to the store path of the page elements;For according to the configuration parameter Typesetting is carried out to the page elements, so that the page elements form the page to be shown and shown.
By obtaining the dynamic data tables of the page to be shown, then according to the storage road of the page elements in dynamic data tables Diameter carrys out loading page element, and carries out typesetting to page elements according to the configuration parameter of the page elements in dynamic data tables, makes It obtains the page elements composition page to be shown to be shown, when needing to load the new page, it is only necessary to change the page elements Data in store path produce the page that user needs, and when access this page every time, and system is from dynamic number Load is dynamically gone to generate the page to be shown according to table, to no longer need to match the page elements in the new page in turn It sets, the flexible dynamic configuration for carrying out page elements greatly improves development efficiency, shortens the development time of the page.
In some embodiments, the dynamic configuration device of Universal page further include: second obtains module and replacement module, Wherein second module is obtained for obtaining replacement element corresponding with the page elements;Replacement module is used for the replacement member Element storage deletes the page elements into the store path of the page elements.
In some embodiments, the dynamic configuration device of Universal page further include: third obtains module and transfer module, Wherein, it is that the page to be shown is newly added and mutual with the page elements of the page to be shown for obtaining to obtain module for third For the page assembly of association component;Transfer module is used for the configuration parameter configuration according to the page elements of association component each other The page assembly.
In some embodiments, the dynamic configuration device of Universal page further include: the first acquisition submodule and first passes Pass submodule, wherein the first acquisition submodule is for obtaining each other between the page elements and page assembly of association component General general configuration parameters;First transmitting submodule is used for when the page to be shown loads the page assembly, by institute General configuration parameters are stated to be transferred in the configuration parameter of the page assembly.
In some embodiments, the dynamic configuration device of Universal page further include: computing module, contrast module and label Module, computing module be used for calculate the page assembly combined with each page elements in the page to be shown between relevance Obtain association entropy;Contrast module is for the association entropy to be compared with preset threshold;Mark module is used for when described The page assembly and page elements association group each other when being associated with entropy and being greater than the budget threshold value, in label combination Part.
In some embodiments, the dynamic configuration device of Universal page further include: the second acquisition submodule and the first meter Operator module, the second acquisition submodule is used to obtain the number of the dynamic data tables simultaneously and element is the same as tabular order number, wherein institute Stating element, with tabular order number to be that the page assembly and the page elements are appeared in a manner of combination of two same described dynamic Number in state tables of data;First computational submodule is used for the element is defeated with the number of tabular order number and the dynamic data tables Enter into preset Association Entropy computation model to obtain the association entropy coordinate between the page assembly and page elements combination Offset parameter and scale offset parameter.
In some embodiments, the configuration parameter include: the dimensional parameters of the page elements, functional parameter and Location parameter of the modification information page elements in the page to be shown.
In order to solve the above technical problems, the embodiment of the present invention also provides computer equipment.It is this referring specifically to Fig. 8, Fig. 8 Embodiment computer equipment basic structure block diagram.
As shown in figure 8, the schematic diagram of internal structure of computer equipment.As shown in figure 8, the computer equipment includes passing through to be Processor, non-volatile memory medium, memory and the network interface of bus of uniting connection.Wherein, the computer equipment is non-easy The property lost storage medium is stored with operating system, database and computer-readable instruction, can be stored with control information sequence in database Column, when which is executed by processor, may make processor to realize a kind of Dynamic Configuration of Universal page. The processor of the computer equipment supports the operation of entire computer equipment for providing calculating and control ability.The computer It can be stored with computer-readable instruction in the memory of equipment, when which is executed by processor, may make place Reason device executes a kind of Dynamic Configuration of Universal page.The network interface of the computer equipment is used for and terminal connection communication. It will be understood by those skilled in the art that structure shown in Fig. 8, the only frame of part-structure relevant to application scheme Figure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment can wrap It includes than more or fewer components as shown in the figure, perhaps combines certain components or with different component layouts.
Processor is for executing the first acquisition module 2100, loading module 2200 and typesetting mould in Fig. 7 in present embodiment The concrete function of block 2300, program code and Various types of data needed for memory is stored with the above-mentioned module of execution.Network interface is used It is transmitted in the data between user terminal or server.The dynamic that memory in present embodiment is stored with Universal page is matched Program code needed for executing all submodules in device and data are set, server is capable of the program code and number of invoking server According to the function of executing all submodules.
Computer passes through the dynamic data tables for obtaining the page to be shown, then according to the page elements in dynamic data tables Store path carrys out loading page element, and is arranged according to the configuration parameter of the page elements in dynamic data tables page elements Version, so that page elements form the page to be shown and shown, when needing to load the new page, it is only necessary to change page member Data in the store path of element, that is, when producing the page of user's needs, and access this page every time, system is driven State tables of data dynamically goes load to generate the page to be shown, to no longer need to carry out the page elements in the new page in turn Configuration, the flexible dynamic configuration for carrying out page elements, greatly improves development efficiency, shortens the development time of the page.
The present invention also provides a kind of storage mediums for being stored with computer-readable instruction, and the computer-readable instruction is by one When a or multiple processors execute, so that one or more processors execute the dynamic of Universal page described in any of the above-described embodiment The step of configuration method.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note Recall body (Random Access Memory, RAM) etc..
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of Dynamic Configuration of Universal page, which is characterized in that include the following steps:
Obtain the dynamic data tables of the page to be shown, wherein include forming the page to be shown in the dynamic data tables The configuration parameter of the store path of page elements and the page elements;
The page elements are loaded according to the store path of the page elements;
Typesetting is carried out to the page elements according to the configuration parameter, so that the page elements form the page to be shown It is shown.
2. the Dynamic Configuration of Universal page according to claim 1, which is characterized in that described to obtain the page to be shown Dynamic data tables the step of before, further includes:
Obtain replacement element corresponding with the page elements;
By replacement element storage into the store path of the page elements, and delete the page elements.
3. the Dynamic Configuration of Universal page according to claim 1, which is characterized in that described to make the page elements After forming the step of page to be shown is shown, further includes:
Obtain the page that the page to be shown is newly added and with the page elements of the page to be shown association component each other Component;
The page assembly is configured according to the configuration parameter of the page elements of the component of association each other.
4. the Dynamic Configuration of Universal page according to claim 3, which is characterized in that the companion each other according to The configuration parameter of the page elements of raw component configures the step of page assembly and includes:
Obtain general configuration parameters general between the page elements and page assembly of association component each other;
When the page to be shown loads the page assembly, the general configuration parameters are transferred to the page assembly In configuration parameter.
5. the Dynamic Configuration of Universal page according to claim 3, which is characterized in that the judgement of the association component Step includes:
Calculate the page assembly combined with each page elements in the page to be shown between relevance obtain association entropy;
The association entropy is compared with preset threshold;
When the association entropy is greater than the budget threshold value, the page assembly and the page elements in label combination are mutual For association component.
6. the Dynamic Configuration of Universal page according to claim 5, which is characterized in that the Association Entropy is worth calculating Step includes:
The number and element for obtaining the dynamic data tables are the same as tabular order number, wherein the element is the page with tabular order number Component and the page elements appear in the number in the same dynamic data tables in a manner of combination of two;
The element is input in preset Association Entropy computation model with the number of tabular order number and the dynamic data tables to obtain Association entropy between the page assembly and page elements combination.
7. the Dynamic Configuration of Universal page according to any one of claim 1 to 6, which is characterized in that described to match Dimensional parameters, functional parameter and the page elements that parameter includes: the page elements are set in the page to be shown Location parameter.
8. a kind of dynamic configuration device of Universal page characterized by comprising
First obtains module, for obtaining the dynamic data tables of the page to be shown, wherein includes composition in the dynamic data tables The store path of the page elements of the page to be shown and the configuration parameter of the page elements;
Loading module, for loading the page elements according to the store path of the page elements;
Type-setting module, for carrying out typesetting to the page elements according to the configuration parameter, so that the page elements form The page to be shown is shown.
9. a kind of computer equipment, including memory and processor, it is stored with computer-readable instruction in the memory, it is described When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 7 right It is required that the step of Dynamic Configuration of the Universal page.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more When device executes, so that one or more processors execute the Universal page as described in any one of claims 1 to 7 claim The step of Dynamic Configuration.
CN201810946608.1A 2018-08-20 2018-08-20 Dynamic configuration method and device for universal page, computer equipment and storage medium Active CN109358919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810946608.1A CN109358919B (en) 2018-08-20 2018-08-20 Dynamic configuration method and device for universal page, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810946608.1A CN109358919B (en) 2018-08-20 2018-08-20 Dynamic configuration method and device for universal page, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109358919A true CN109358919A (en) 2019-02-19
CN109358919B CN109358919B (en) 2024-04-02

Family

ID=65350129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810946608.1A Active CN109358919B (en) 2018-08-20 2018-08-20 Dynamic configuration method and device for universal page, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109358919B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321508A (en) * 2019-07-12 2019-10-11 广州华多网络科技有限公司 Processing method, device, storage medium and the equipment of page presentation data
CN110781422A (en) * 2019-09-18 2020-02-11 中国平安财产保险股份有限公司 Page configuration method and device, computer equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1628299A (en) * 2002-06-19 2005-06-15 诺基亚有限公司 Method and device for generating mobile homepage in accordance with context related information
CN102254023A (en) * 2011-07-27 2011-11-23 深圳市五巨科技有限公司 Method and device for editing webpage
CN103019684A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 Dynamic template-based business page configuring method
CN104063460A (en) * 2014-06-25 2014-09-24 北京奇虎科技有限公司 Method and device for loading webpage in browser
CN104380280A (en) * 2012-04-16 2015-02-25 权五石 System and method for dynamically converting webpage, and computer-readable recording medium
CN105573773A (en) * 2014-10-17 2016-05-11 Tcl集团股份有限公司 User interface laying method, apparatus and system
CN105653644A (en) * 2015-12-28 2016-06-08 北京中电普华信息技术有限公司 Page constructor and page construction method
CN106503162A (en) * 2016-10-31 2017-03-15 山东鲁能软件技术有限公司 Page dynamic creation method and system based on SAP platforms
CN107608747A (en) * 2017-09-22 2018-01-19 携程旅游信息技术(上海)有限公司 The construction method of form system, device, electronic equipment, storage medium
US20180136820A1 (en) * 2016-11-14 2018-05-17 Fujitsu Limited Computer readable non-transitory recording medium, information processing method and information processing apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1628299A (en) * 2002-06-19 2005-06-15 诺基亚有限公司 Method and device for generating mobile homepage in accordance with context related information
CN102254023A (en) * 2011-07-27 2011-11-23 深圳市五巨科技有限公司 Method and device for editing webpage
CN104380280A (en) * 2012-04-16 2015-02-25 权五石 System and method for dynamically converting webpage, and computer-readable recording medium
CN103019684A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 Dynamic template-based business page configuring method
CN104063460A (en) * 2014-06-25 2014-09-24 北京奇虎科技有限公司 Method and device for loading webpage in browser
CN105573773A (en) * 2014-10-17 2016-05-11 Tcl集团股份有限公司 User interface laying method, apparatus and system
CN105653644A (en) * 2015-12-28 2016-06-08 北京中电普华信息技术有限公司 Page constructor and page construction method
CN106503162A (en) * 2016-10-31 2017-03-15 山东鲁能软件技术有限公司 Page dynamic creation method and system based on SAP platforms
US20180136820A1 (en) * 2016-11-14 2018-05-17 Fujitsu Limited Computer readable non-transitory recording medium, information processing method and information processing apparatus
CN107608747A (en) * 2017-09-22 2018-01-19 携程旅游信息技术(上海)有限公司 The construction method of form system, device, electronic equipment, storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321508A (en) * 2019-07-12 2019-10-11 广州华多网络科技有限公司 Processing method, device, storage medium and the equipment of page presentation data
CN110781422A (en) * 2019-09-18 2020-02-11 中国平安财产保险股份有限公司 Page configuration method and device, computer equipment and storage medium
CN110781422B (en) * 2019-09-18 2024-04-05 中国平安财产保险股份有限公司 Page configuration method, page configuration device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109358919B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
US10853382B2 (en) Interactive punchcard visualizations
US10853383B2 (en) Interactive parallel coordinates visualizations
CN109614424B (en) Page layout generation method, device, computing equipment and medium
US11037342B1 (en) Visualization modules for use within a framework for displaying interactive visualizations of event data
CN109408764B (en) Page area dividing method, device, computing equipment and medium
CN109933311A (en) A kind of information system creation method and relevant apparatus
CN104714949A (en) Method for customizing report dynamically
US20140040806A1 (en) Dynamic report building using a heterogeneous combination of filtering criteria
US20150089415A1 (en) Method of processing big data, apparatus performing the same and storage media storing the same
Li et al. Siphon extraction for deadlock control in flexible manufacturing systems by using Petri nets
CN115544183A (en) Data visualization method and device, computer equipment and storage medium
CN109358919A (en) Dynamic Configuration, device, computer equipment and the storage medium of Universal page
CN111367514A (en) Page card development method and device, computing device and storage medium
WO2016004440A1 (en) Graphical user interface for non-hierarchical file system
CN116700725B (en) Page generation method, page generation device, computer equipment and storage medium
US20240037325A1 (en) Ability to add non-direct ancestor columns in child spreadsheets
US20240037139A1 (en) Identifying similar digital assets from results of a multi-user search of digital assets, comparing digital assets and providing persistent search results of the multi-user search
CN107203521B (en) Information processing method and device
CN114860574A (en) Application software picture element identification method and device and computer equipment
US20200159400A1 (en) Graphical user interface for non-hierarchichal file system
CN116306605A (en) Title screening method, title screening device and computer equipment
CN117435589A (en) Data transfer method, device, computer equipment and storage medium
CN116244371A (en) Data synchronization method, device, computer equipment and storage medium
CN116719892A (en) Data display method, device, computer equipment and storage medium
CN117435651A (en) Test data processing method, device, computer equipment and storage medium

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