A visual multifunctional page construction method
By obtaining page construction requirement information, matching preset templates and manual instructions, generating page construction instructions, selecting layout and functional modules for port docking, it solves the problems of long page construction cycle and single function in the existing technology, and achieves high efficiency and diversity. The optimized page construction improves the stability and compatibility of the page.
Patent Information
- Application Number
- CN202410823640.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-25
AI Technical Summary
Existing page construction technology has a long construction cycle and single functions, making it difficult to meet the ever-increasing performance requirements.
By obtaining page construction requirement information, matching preset templates, combining manual instructions and module database, generate page construction instructions, select layout and functional modules, perform port docking, and build display pages.
It shortens the page construction cycle, improves page construction efficiency and functional diversity, and improves page stability and compatibility.
Smart Images

Figure CN118377571B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of page construction, and in particular to a visual multifunctional page construction method. Background Art
[0002] With the rapid development of information technologies such as the Internet, Internet of Things, and cloud computing, information technology has been continuously integrated with the human world's economy, military, scientific research, and life, and big data visualization technology has been widely used in various fields. Among them, applying visualization technology to pages allows users to intuitively obtain information on the page.
[0003] At present, with the increasing types of data on the Internet and the continuous improvement of user needs, the information display requirements and functional requirements that need to be displayed in the visualization page are also increasing. At present, page construction is mainly done by developers customizing the construction according to user demand information. This page construction method not only has a long construction cycle and single function, but also the performance of the page construction mainly depends on the ability of the page developer, which is difficult to meet the increasing performance requirements of page construction.
[0004] Therefore, the present invention provides a method for constructing a visual multifunctional page. Summary of the invention
[0005] The present invention provides a visual multifunctional page construction method, which is used to shorten the construction cycle of page construction, enrich the functions of the page, and improve the efficiency of page construction to meet the ever-increasing performance requirements.
[0006] The present invention provides a method for constructing a visual multifunctional page, comprising:
[0007] Step 1: Obtain construction requirement information of the page, screen a preset template with a matching degree greater than a first preset degree in a preset template database based on the construction requirement information, store a construction instruction set corresponding to the preset template in a preset area, and establish a template candidate pool;
[0008] Step 2: Obtain manual instructions in real time through the IO terminal and combine with the template candidate pool to determine the page construction mode and generate page construction instructions;
[0009] Step 3: Based on the page construction instruction, a page layout is selected from the layout database and a functional module is selected from the module database, and the page structure information is generated by combining the preset logical relationship screened from the preset logic database;
[0010] Step 4: Based on the page structure information, source data corresponding to each of the functional modules is selected from a preset data pool, and the source data is port-connected with the corresponding functional module to construct a display page.
[0011] Preferably, the method for constructing a visual multifunctional page provided by the present invention comprises, in step 1:
[0012] Acquire first demand information of the page, wherein the first demand information includes: purpose requirements of the page and audience user requirements;
[0013] At the same time, second requirement information of the page is obtained, wherein the second requirement information includes: design and style requirements of the page and terminal requirements;
[0014] The page construction requirement information is comprehensively generated by combining the first requirement information, the second requirement information and the acquired performance requirement information, wherein the performance requirement information includes: page response speed, stability, security and visibility.
[0015] Preferably, the method for constructing a visual multifunctional page provided by the present invention, in step 1, further comprises:
[0016] Extracting features from the construction requirement information to obtain requirement features;
[0017] Based on the demand characteristics, a preset template having a matching degree greater than a preset degree is screened in a preset template database;
[0018] In combination with the demand features and the preset templates, a set of construction instructions matching each preset template is obtained by screening in the preset feature-template-instruction matching table;
[0019] Store all preset templates and the building instruction sets under the corresponding templates in the preset area of the required building page to establish a template alternative pool.
[0020] Preferably, the method for constructing a visual multifunctional page provided by the present invention comprises, in step 2:
[0021] The timing characteristics of each manual instruction input moment are obtained in real time through the IO terminal to generate an artificial feature set;
[0022] Determine a page construction mode based on the construction requirement information, the template candidate pool, and the manual instruction;
[0023] In combination with the artificial feature set, the template candidate pool and the construction mode, a matching page construction instruction is selected from a preset instruction database.
[0024] Preferably, the method for constructing a visual multifunctional page provided by the present invention comprises, in step 3:
[0025] Based on the page construction instruction, a first layout and a first module group are respectively selected from a layout database and a module database, and an initial layout of the page is determined;
[0026] In combination with the manual instruction input after the initial layout of the page is constructed, a second layout and a second module group are selected from the layout database and the module database;
[0027] Performing a second conflict analysis and a third conflict analysis on the second layout and the second module group respectively with the initial layout of the page, and generating a second analysis result and a third analysis result;
[0028] Analyze and process the second analysis result and the third analysis result by using a preset layout adjustment model to generate corresponding layout adjustment instructions;
[0029] Acquire the terminal display requirement information of the page, and analyze and process the terminal display requirement information through the preset layout adjustment model to obtain a terminal display adjustment instruction, wherein the terminal display requirement information includes: the resolution, aspect ratio and main function display requirement of the terminal;
[0030] Based on the layout adjustment instruction and the terminal display adjustment instruction, the initial layout of the page is adjusted to generate a page adjustment layout;
[0031] In combination with the layout adjustment instruction, selecting a second logical relationship between the functional modules under the page adjustment layout in the preset logic database;
[0032] Based on the page adjustment layout and in combination with the second logical relationship, the preset logical relationship that matches the logic of the function implementation of each functional module is selected from the preset logical database to generate page structure information.
[0033] Preferably, a visual multifunctional page construction method provided by the present invention selects a first layout and a first module group from a layout database and a module database respectively based on the page construction instruction, and determines an initial layout of the page, including:
[0034] Parsing the page building instruction to obtain multiple sub-instructions, and constructing a sub-instruction set;
[0035] Classifying and arranging each sub-instruction in the sub-instruction set to generate a classified instruction set;
[0036] Based on the classified instruction set, performing a first conflict analysis on the sub-instructions under each category, and generating a first analysis result;
[0037] Filtering out a first matching result corresponding to the first analysis result through a preset result-layout-module adaptation table, and selecting a first layout and a first module group from the layout database and the module database based on the first matching result;
[0038] Based on the first layout and the first module group, and in combination with the first logical relationship matched in the preset logic database, an initial page layout is constructed.
[0039] Preferably, the method for constructing a visual multifunctional page provided by the present invention comprises, in step 4:
[0040] Based on the terminal display requirement information and the acquired terminal identification information, obtaining layout configuration information corresponding to the target terminal device;
[0041] Based on the layout configuration information, adapt the target terminal device to the page construction instruction, adjust the layout structure of the page, and generate terminal layout confirmation information;
[0042] Parsing the terminal layout confirmation information to obtain a terminal layout structure under a corresponding page, wherein the terminal layout structure includes: the type and quantity of each functional module and the layout area corresponding to each functional module;
[0043] Based on the terminal layout structure, determining a display mode of data corresponding to each functional module, wherein the display mode includes: static display and dynamic display;
[0044] Based on the display mode and the terminal layout structure, source data adapted to each functional module is selected from a preset data pool, and a mapping relationship between the source data and the corresponding functional module is established to generate a module-source data pool;
[0045] Based on the module-source data pool, the data formats of all source data in the pool are obtained to generate source data format information. Meanwhile, the parsing format of the functional module corresponding to the source data is obtained to generate module parsing format information. The source data format information is format matched with the module parsing format information to generate a format matching result.
[0046] When the format matching result meets the first threshold condition, the source data and the corresponding functional module are adjusted to enter a waiting state for docking;
[0047] When the format matching result does not meet the first threshold condition, the corresponding source data is format converted based on the module parsing format, the source data after format conversion replaces the original source data, and enters the waiting for docking state;
[0048] Perform port docking on the functional module in the waiting docking state and the corresponding source data, and establish a communication connection between the functional module and the module-source data pool;
[0049] Combined with the page confirmation instruction input through the IO port, a first display page is constructed, and the first display page and the corresponding functional module are performance tested and optimized through a preset test module to generate an optimization instruction;
[0050] Based on the optimization instruction, the page structure and functional modules in the first display page are optimized and adjusted to construct a second display page.
[0051] Preferably, a method for constructing a visual multifunctional page provided by the present invention performs performance testing and optimization on the first display page and the corresponding functional modules through a preset test module to generate optimization instructions, including:
[0052] Obtain the performance test indicators corresponding to the performance test of each functional module, and construct the indicator set for the first display page , where Xi represents the performance indicator subset of the i-th functional module, and n1 represents the total number of functional modules that need performance testing;
[0053] Perform performance tests on each functional module in the first display page, and obtain a performance test data set under the i-th functional module based on the test results. ,in, represents the performance test data corresponding to the jth performance indicator of the i-th functional module, n is the number of performance indicators of the i-th functional module, and is a variable;
[0054] Based on the indicator set A, the construction requirement information is parsed to obtain the requirement data of each functional module under the corresponding performance test indicator, and a requirement data set is generated. , Represents the demand data of the jth performance indicator of the i-th functional module;
[0055] Performing a page test on the first display page, and obtaining a correlation coefficient with each functional module according to the page test result;
[0056] Calculating the performance compliance rate of each functional module on the first display page;
[0057] ;in, Indicates the performance achievement rate of the i-th functional module; Indicates the value reference factor corresponding to the jth performance indicator of the i-th functional module; represents the similarity function; represents the correlation coefficient with the i-th functional module; represents the variance of all correlation coefficients; Indicates all The average coefficient of represents the first standard-reaching rate; B2 represents the second standard-reaching rate; max represents the maximum value symbol;
[0058] In combination with the demand data set and the indicator set, obtaining performance thresholds under different performance indicators of each functional module in the first display page;
[0059] Calculate the test effect of each functional module;
[0060] ; Among them, n1 represents the number of functions that satisfy The number of performance indicators, and represents the comparison threshold of the jth performance indicator under the i-th functional module; n2 represents the comparison threshold of the jth performance indicator under the i-th functional module. The number of performance indicators, and n2=n-n1; Indicates the performance threshold of the jth performance indicator under the i-th functional module; represents the error adjustment coefficient of the jth performance indicator under the i-th functional module; Indicates the test effect of the i-th functional module;
[0061] Compare each test result with the corresponding standard result, obtain the target functional module to be optimized in the page, and generate a module table to be optimized, wherein the module table to be optimized contains the optimization priority of each target functional module;
[0062] Analyze and process the module table to be optimized through a preset optimization model to generate an optimization strategy and a corresponding optimization instruction set;
[0063] Based on the optimization strategy and the optimization instruction set, an optimization instruction corresponding to each target functional module is generated.
[0064] The implementation principle and beneficial effects of the present invention are as follows: the present invention first obtains the construction requirement information of the page, matches the similar preset template in the preset module database, and displays the preset template and the corresponding construction instruction set in the preset area of the page construction page, so as to provide developers with a variety of template choices; then the construction mode of the page is determined by inputting manual instructions, and the page structure information is generated by combining the selected page layout, the corresponding functional modules and the preset logical relationships, so as to improve the construction efficiency of the page and the diversity of functions; finally, the source data is matched with the functional module through port docking, and the display page is constructed, so as to improve the stability and compatibility of the page. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0066] Figure 1 It is a flow chart of a method for constructing a visual multi-functional page provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0068] Combine the following Figure 1 A visual multifunctional page construction method of the present invention is described.
[0069] Figure 1 It is a flow chart of a method for constructing a visual multi-functional page provided by an embodiment of the present invention.
[0070] like Figure 1 As shown, a method for constructing a visual multi-functional page provided by an embodiment of the present invention includes:
[0071] Step 1: Obtain construction requirement information of the page, screen a preset template with a matching degree greater than a first preset degree in a preset template database based on the construction requirement information, store a construction instruction set corresponding to the preset template in a preset area, and establish a template candidate pool;
[0072] Step 2: Obtain manual instructions in real time through the IO terminal and combine with the template candidate pool to determine the page construction mode and generate page construction instructions;
[0073] Step 3: Based on the page construction instruction, a page layout is selected from a layout database and a functional module is selected from a module database, and the page structure information is generated by combining the preset logical relationship screened from a preset logic database;
[0074] Step 4: Based on the page structure information, source data corresponding to each of the functional modules is selected from a preset data pool, and the source data is port-connected with the corresponding functional module to construct a display page.
[0075] In this embodiment, construction requirement information refers to the requirement information of a page when it is being constructed, including but not limited to the type, audience, structure, content, and function of the page;
[0076] In this embodiment, the preset template library: a database storing a large number of various templates for building pages, which are pre-set, for example, structure templates, framework templates, layout templates, and process templates;
[0077] In this embodiment, the first preset degree: a threshold condition for selecting a preset template that meets the page building requirement information from a preset template database;
[0078] In this embodiment, the construction instruction set: an instruction set for constructing a preset template;
[0079] In this embodiment, preset area: a designated area pre-set in the page construction interface, used to store preset templates and corresponding construction instruction sets;
[0080] In this embodiment, the template candidate pool is a data pool storing the preset templates obtained by screening;
[0081] In this embodiment, IO terminal: i.e., input and output terminal, a port for receiving and sending instruction data;
[0082] In this embodiment, the construction mode refers to the mode used when constructing a page, such as a static page, a dynamic page, a responsive design, a modular design, etc.;
[0083] In this embodiment, the page building instruction is an operation instruction for building a page;
[0084] In this embodiment, the layout database: a database storing a large amount of layout format data, used to select and obtain the corresponding page layout according to the input page construction instruction;
[0085] In this embodiment, the module database: a database storing various functional modules, used to select corresponding functional modules according to the input page building instructions;
[0086] In this embodiment, page layout refers to the way of arranging and organizing the elements on the page, such as grid layout, responsive layout, card layout, etc.;
[0087] In this embodiment, functional module: a module in a page used to implement a specific function, for example, a navigation bar module, a form module, a data visualization module, etc.;
[0088] In this embodiment, the preset logic database: a database storing the preset logical relationship of each element in the page;
[0089] In this embodiment, the preset logical relationship: the logical relationship selected from the preset logical database is used to assist developers in page construction;
[0090] In this embodiment, the page structure information includes information on the page layout, function modules, and page construction structure of preset logical relationships;
[0091] In this embodiment, the preset data pool: a data pool for storing source data corresponding to each functional module, which is preset;
[0092] In this embodiment, source data: data that provides support for the functional modules to implement their functions;
[0093] In this embodiment, port docking: connecting and interacting the source data with the functional module to implement the operation of the functional module to obtain, process and display the source data;
[0094] In this embodiment, the display page is the constructed page.
[0095] The implementation principle and beneficial effects of the embodiments of the present invention are as follows: the present invention first obtains the construction requirement information of the page, matches the similar preset templates in the preset module database, and displays the preset templates and the corresponding construction instruction sets in the preset area of the page construction page, so as to provide developers with a variety of template choices; then, the construction mode of the page is determined by inputting manual instructions, and the page structure information is generated by combining the selected page layout, the corresponding functional modules and the preset logical relationships, thereby improving the construction efficiency of the page and the diversity of functions; finally, the source data is matched with the functional modules through port docking, and the display page is constructed, thereby improving the stability and compatibility of the page.
[0096] A method for constructing a visual multifunctional page provided by an embodiment of the present invention includes, in step 1, the following steps:
[0097] Acquire first demand information of the page, wherein the first demand information includes: purpose requirements of the page and audience user requirements;
[0098] At the same time, second requirement information of the page is obtained, wherein the second requirement information includes: design and style requirements of the page and terminal requirements;
[0099] The page construction requirement information is comprehensively generated by combining the first requirement information, the second requirement information and the acquired performance requirement information, wherein the performance requirement information includes: page response speed, stability, security and visibility.
[0100] In this embodiment, the first demand information includes the usage demand and audience demand of the page;
[0101] In this embodiment, the usage requirement refers to the requirement for using the page, for example, displaying products or services, providing interactive functions, displaying visual data, etc.;
[0102] In this embodiment, audience demand: that is, the target audience of the page, for example, target users, user experience, etc.;
[0103] In this embodiment, the second requirement information includes the design and style requirements of the page and the information of the terminal requirements;
[0104] In this embodiment, the design and style requirements: that is, the requirements on the appearance, layout and visual effects of the page;
[0105] In this embodiment, terminal requirements: that is, requirements of the page on different terminal devices, such as requirements of mobile devices, browser compatibility, device compatibility, and main functional requirements of different terminals;
[0106] In this embodiment, the performance requirement information refers to the performance requirements of the page in terms of, for example, loading speed, response time, and stability.
[0107] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention can understand the purpose requirements and audience requirements of the page by obtaining the first demand information, which is convenient for the subsequent construction of a multi-functional page that can meet user expectations; at the same time, by obtaining the second demand information and performance demand information, not only the design and style requirements and terminal requirements of the page can be understood, but also the performance requirements of the page can be obtained, which is convenient for the subsequent creation of a page that is attractive, terminal-compatible, powerful, easy to use and has a good user experience, thereby helping to improve user satisfaction, increase the usability of the page, and effectively convey the information and functions of the page.
[0108] The method for constructing a visual multi-functional page provided by an embodiment of the present invention further comprises, in step 1:
[0109] Extracting features from the construction requirement information to obtain requirement features;
[0110] Based on the demand characteristics, a preset template having a matching degree greater than a first preset degree is screened in a preset template database;
[0111] In combination with the demand features and the preset templates, a set of construction instructions matching each preset template is obtained by screening in the preset feature-template-instruction matching table;
[0112] Store all preset templates and the building instruction sets under the corresponding templates in the preset area of the required building page to establish a template alternative pool.
[0113] In this embodiment, demand features: data features obtained by extracting features from construction demand information;
[0114] In this embodiment, the preset template library is a database for storing preset templates screened from the preset template database, which is preset;
[0115] In this embodiment, the preset feature-template-instruction matching table: a matching table containing the mapping relationship between the requirement features, the preset templates and the construction instruction set, is pre-set and used to obtain the corresponding construction instruction set according to the input requirement features and the preset template matching.
[0116] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention obtains demand features by extracting features from construction demand information, and then screens the preset templates that meet the construction demand information in the preset template database through the demand features, thereby reducing the occurrence of mismatches between templates and page requirements and improving the adaptability of templates to the pages to be constructed. At the same time, a template candidate pool is established in a preset area, which is convenient for developers to select templates when constructing pages, thereby improving the efficiency of page construction.
[0117] A method for constructing a visual multifunctional page provided by an embodiment of the present invention, in step 2, includes:
[0118] The timing characteristics of each manual instruction input moment are obtained in real time through the IO terminal to generate an artificial feature set;
[0119] Determine a page construction mode based on the construction requirement information, the template candidate pool, and the manual instruction;
[0120] In combination with the artificial feature set, the template candidate pool and the construction mode, a matching page construction instruction is selected from a preset instruction database.
[0121] In this embodiment, input time refers to the time point when the manual instruction is input into the system;
[0122] In this embodiment, the time sequence feature includes the time sequence of the manual command input moments, for example, the sequence of the manual command input moments and the input interval, etc.;
[0123] In this embodiment, the manual feature set: includes a set of time series features at each manual instruction input moment, and is used to record and save the manual instructions input into the system;
[0124] In this embodiment, the preset instruction database: a database storing a large number of page building instructions, is pre-set and used to generate instructions for building pages based on the input manual instruction set and building mode, and combined with the preset templates in the template candidate pool.
[0125] The implementation principle and beneficial effects of the embodiments of the present invention are as follows: the present invention can obtain the manual instructions input into the system during the page construction process in real time through the IO terminal. At the same time, the input manual instructions can be recorded and saved through the manual instruction set, which is convenient for developers to modify and optimize the page later, and improves the transparency and visualization level of manual operation data; combined with the manual instruction set, the template alternative pool and the construction mode, by selecting the page construction instructions obtained in the preset instruction database, not only can the operation instructions for page construction be accurately matched, but also irrelevant instructions and erroneous instructions in the system can be reduced, thereby improving the accuracy and construction efficiency of page construction.
[0126] A method for constructing a visual multifunctional page provided by an embodiment of the present invention, in step 3, includes:
[0127] Based on the page construction instruction, a first layout and a first module group are respectively selected from a layout database and a module database, and an initial layout of the page is determined;
[0128] In combination with the manual instruction input after the initial layout of the page is constructed, a second layout and a second module group are selected from the layout database and the module database;
[0129] Performing a second conflict analysis and a third conflict analysis on the second layout and the second module group respectively with the initial layout of the page, and generating a second analysis result and a third analysis result;
[0130] Analyze and process the second analysis result and the third analysis result by using a preset layout adjustment model to generate corresponding layout adjustment instructions;
[0131] Acquire the terminal display requirement information of the page, and analyze and process the terminal display requirement information through the preset layout adjustment model to obtain a terminal display adjustment instruction, wherein the terminal display requirement information includes: the resolution, aspect ratio and main function display requirement of the terminal;
[0132] Based on the layout adjustment instruction and the terminal display adjustment instruction, the initial layout of the page is adjusted to generate a page adjustment layout;
[0133] In combination with the layout adjustment instruction, selecting a second logical relationship between the functional modules under the page adjustment layout in the preset logic database;
[0134] Based on the page adjustment layout and in combination with the second logical relationship, the preset logical relationship that matches the logic of the function implementation of each functional module is selected from the preset logical database to generate page structure information.
[0135] In this embodiment, the first layout: that is, the layout automatically matched by the system in the layout database;
[0136] In this embodiment, the first module group: that is, the functional module group automatically matched by the system in the module database;
[0137] In this embodiment, the initial layout of the page: a page constructed based on the first layout and the first module group;
[0138] In this embodiment, the second layout: that is, the layout selected from the layout database based on the manual instruction;
[0139] In this embodiment, the second module group: that is, the functional module group selected from the module database based on manual instructions;
[0140] In this embodiment, the second conflict analysis is a process of performing conflict analysis between the second layout and the initial layout of the page;
[0141] In this embodiment, the third conflict analysis is a process of performing conflict analysis between the second module group and the initial layout of the page;
[0142] In this embodiment, the second analysis result: that is, the analysis result of the second conflict analysis;
[0143] In this embodiment, the third analysis result: that is, the analysis result of the third conflict analysis;
[0144] In this embodiment, the preset layout adjustment model is a model used to analyze the input second analysis result and the third analysis result to obtain an instruction to adjust the initial layout of the page, which is preset;
[0145] In this embodiment, the layout adjustment instruction is: an instruction generated by a preset layout adjustment model and used to adjust the initial layout of the page;
[0146] In this embodiment, the terminal displays the demand information: that is, when the page is displayed by the terminal, the terminal's demand information for the page, and the demand information corresponding to different terminals is also different;
[0147] In this embodiment, the terminal display adjustment instruction is an instruction obtained by analyzing and processing the terminal display requirement information through a preset layout adjustment model;
[0148] In this embodiment, the main function display requirement is the requirement for the terminal to display the main functions through the page;
[0149] In this embodiment, the page adjustment layout: a page obtained by adjusting the initial layout of the page according to the second layout selected by the manual instruction and the second module group;
[0150] In this embodiment, the second logical relationship is: the logical relationship between the functional modules under the page adjustment layout is selected from the preset logical database.
[0151] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention firstly obtains the first layout and the first module group in the layout database and the module database automatically based on the page construction instructions, and constructs the initial layout of the page. At the same time, based on the manual instructions at the corresponding moment, the second layout and the second module group are selected in the layout database and the module database respectively, the initial layout of the page is adjusted to generate the page adjustment layout, and then the page structure information is generated based on the selected logical relationship. In the process of page construction, a method combining system matching and manual selection is adopted, which greatly improves the efficiency of page construction.
[0152] A visual multifunctional page construction method provided by an embodiment of the present invention selects a first layout and a first module group from a layout database and a module database respectively based on the page construction instruction, and determines an initial layout of the page, including:
[0153] Parsing the page building instruction to obtain multiple sub-instructions, and constructing a sub-instruction set;
[0154] Classifying and arranging each sub-instruction in the sub-instruction set to generate a classified instruction set;
[0155] Based on the classified instruction set, performing a first conflict analysis on the sub-instructions under each category, and generating a first analysis result;
[0156] Filtering out a first matching result corresponding to the first analysis result through a preset result-layout-module adaptation table, and selecting a first layout and a first module group from the layout database and the module database based on the first matching result;
[0157] Based on the first layout and the first module group, and in combination with the first logical relationship matched in the preset logic database, an initial page layout is constructed.
[0158] In this embodiment, sub-instructions: instructions obtained by parsing the page building instructions;
[0159] In this embodiment, the sub-instruction set: an instruction set constructed according to the sub-instructions under each page construction instruction;
[0160] In this embodiment, the instruction set is classified: all sub-instructions in the sub-instruction set are classified to obtain a sub-instruction set under a corresponding category;
[0161] In this embodiment, the first conflict analysis is a process of performing conflict analysis on sub-commands under each category;
[0162] In this embodiment, the first analysis result: that is, the analysis result of the first conflict analysis;
[0163] In this embodiment, the preset result-layout-module adaptation table: an adaptation table including the mapping relationship between the first analysis result, the first layout and the first module group, which is used to match the input first analysis result to obtain the corresponding first layout and the first module group, and is preset;
[0164] In this embodiment, the first matching result: the matching result obtained by inputting the first analysis result into the preset result-layout-module adaptation table;
[0165] In this embodiment, the first logical relationship is a logical relationship obtained in a preset logical database and matching the first layout and the first module group.
[0166] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention parses the page construction instruction to obtain multiple sub-instructions, and constructs a sub-instruction set, and then classifies and organizes all sub-instructions in the sub-instruction set to obtain a classified instruction set, and then performs conflict analysis on the sub-instructions under each category, and screens out the first layout and the first module group corresponding to the analysis result through the preset result-layout-module adaptation table, and finally constructs the initial layout of the page in combination with the first logical relationship obtained by matching, thereby achieving the purpose of automatically matching the page layout, functional module group and logical relationship, and then automatically generating the initial layout of the page, thereby improving the efficiency of page construction.
[0167] A method for constructing a visual multifunctional page provided by an embodiment of the present invention, in step 4, includes:
[0168] Based on the terminal display requirement information and the acquired terminal identification information, obtaining layout configuration information corresponding to the target terminal device;
[0169] Based on the layout configuration information, adapt the target terminal device to the page construction instruction, adjust the layout structure of the page, and generate terminal layout confirmation information;
[0170] Parsing the terminal layout confirmation information to obtain a terminal layout structure under a corresponding page, wherein the terminal layout structure includes: the type and quantity of each functional module and the layout area corresponding to each functional module;
[0171] Based on the terminal layout structure, determining a display mode of data corresponding to each functional module, wherein the display mode includes: static display and dynamic display;
[0172] Based on the display mode and the terminal layout structure, source data adapted to each functional module is selected from a preset data pool, and a mapping relationship between the source data and the corresponding functional module is established to generate a module-source data pool;
[0173] Based on the module-source data pool, the data formats of all source data in the pool are obtained to generate source data format information. Meanwhile, the parsing format of the functional module corresponding to the source data is obtained to generate module parsing format information. The source data format information is format matched with the module parsing format information to generate a format matching result.
[0174] When the format matching result meets the first threshold condition, the source data and the corresponding functional module are adjusted to enter a waiting state for docking;
[0175] When the format matching result does not meet the first threshold condition, the corresponding source data is format converted based on the module parsing format, the source data after format conversion replaces the original source data, and enters the waiting for docking state;
[0176] Perform port docking on the functional module in the waiting docking state and the corresponding source data, and establish a communication connection between the functional module and the module-source data pool;
[0177] Combined with the page confirmation instruction input through the IO port, a first display page is constructed, and the first display page and the corresponding functional module are performance tested and optimized through a preset test module to generate an optimization instruction;
[0178] Based on the optimization instruction, the page structure and functional modules in the first display page are optimized and adjusted to construct a second display page.
[0179] In this embodiment, the terminal identification information refers to the identification result obtained by the system after identifying the terminal, for example, the type, model and working mode of the terminal obtained through identification;
[0180] In this embodiment, the target terminal device is the terminal device corresponding to the terminal identification information;
[0181] In this embodiment, the layout configuration information: that is, the page layout matching the target terminal device and the corresponding configuration information;
[0182] In this embodiment, the terminal layout confirmation information: terminal page layout information generated after adapting the target terminal device to the page construction instruction and adjusting the layout of the page;
[0183] In this embodiment, the terminal layout structure refers to the layout and structure of the page when it is displayed on the terminal;
[0184] In this embodiment, the display mode refers to the mode in which the page is displayed on the target terminal device;
[0185] In this embodiment, module-source data pool: a data pool containing source data adapted to each functional module;
[0186] In this embodiment, data format: refers to the format corresponding to the source data, such as the format corresponding to data types such as pictures, texts, and videos;
[0187] In this embodiment, source data format information: information generated according to the data formats corresponding to all source data;
[0188] In this embodiment, the parsing format refers to the format in which the function module can perform data parsing processing. The more parsing formats the function module corresponds to, the stronger the compatibility of the function module with data;
[0189] In this embodiment, module parsing format information: information generated according to the parsing format corresponding to each functional module;
[0190] In this embodiment, the format adaptation result: the adaptation result obtained by adapting the source data format information and the module parsing format information;
[0191] In this embodiment, the first threshold condition: that is, the format information of the source data is adapted to the parsing format of the corresponding module, and the threshold condition for establishing the connection between the source data and the corresponding functional module;
[0192] In this embodiment, the waiting-for-connection state is: the source data satisfying the first threshold condition and the corresponding functional module are transferred to the waiting-for-connection state;
[0193] In this embodiment, format conversion: an operation of converting the data format of source data into a data type that can be parsed by a functional module;
[0194] In this embodiment, the page one-time confirmation instruction: that is, the page confirmation instruction input manually;
[0195] In this embodiment, the first display page: a display page obtained based on a page one confirmation instruction;
[0196] In this embodiment, the preset test module: a module for performing performance testing and optimization on the first display page and the corresponding functional modules, is preset;
[0197] In this embodiment, the optimization instruction is: an instruction generated by a preset test module based on the test result and used to optimize and adjust the first display page and the corresponding functional module;
[0198] In this embodiment, the second display page is a display page obtained by optimizing and adjusting the page structure and functional modules in the first page through the optimization instruction.
[0199] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention can identify the terminal device, obtain layout configuration information matching the terminal device, and adjust the page layout based on the layout configuration information to adapt to the page layout requirements of the terminal, thereby improving the compatibility of the constructed page with the terminal; at the same time, the format of the functional modules and the corresponding source data is adapted, and the format of the source data that does not meet the adaptation conditions is converted, thereby improving the format adaptability of each functional module in the page and the corresponding source data, and greatly improving the data compatibility of the page function; the present invention can also perform performance testing and optimization on the generated display page through a preset test module, and continuously improve the performance of the page.
[0200] A method for constructing a visual multifunctional page provided by an embodiment of the present invention performs performance testing and optimization on the first display page and the corresponding functional modules through a preset test module to generate optimization instructions, including:
[0201] Obtain the performance test indicators corresponding to the performance test of each functional module, and construct the indicator set for the first display page , where Xi represents the performance indicator subset of the i-th functional module, and n1 represents the total number of functional modules that need performance testing;
[0202] Perform performance tests on each functional module in the first display page, and obtain a performance test data set under the i-th functional module based on the test results. ,in, represents the performance test data corresponding to the jth performance indicator of the i-th functional module, n is the number of performance indicators of the i-th functional module, and is a variable;
[0203] Based on the indicator set A, the construction requirement information is parsed to obtain the requirement data of each functional module under the corresponding performance test indicator, and a requirement data set is generated. , Represents the demand data of the jth performance indicator of the i-th functional module;
[0204] Performing a page test on the first display page, and obtaining a correlation coefficient with each functional module according to the page test result;
[0205] Calculating the performance compliance rate of each functional module on the first display page;
[0206] ;in, Indicates the performance achievement rate of the i-th functional module; Indicates the value reference factor corresponding to the jth performance indicator of the i-th functional module; represents the similarity function; represents the correlation coefficient with the i-th functional module; represents the variance of all correlation coefficients; Indicates all The average coefficient of represents the first standard-reaching rate; B2 represents the second standard-reaching rate; max represents the maximum value symbol;
[0207] In combination with the demand data set and the indicator set, obtaining performance thresholds under different performance indicators of each functional module in the first display page;
[0208] Calculate the test effect of each functional module;
[0209] ; Among them, n1 represents the number of functions that satisfy The number of performance indicators, and represents the comparison threshold of the jth performance indicator under the i-th functional module; n2 represents the comparison threshold of the jth performance indicator under the i-th functional module. The number of performance indicators, and n2=n-n1; Indicates the performance threshold of the jth performance indicator under the i-th functional module; represents the error adjustment coefficient of the jth performance indicator under the i-th functional module; Indicates the test effect of the i-th functional module;
[0210] Compare each test result with the corresponding standard result, obtain the target functional module to be optimized in the page, and generate a module table to be optimized, wherein the module table to be optimized contains the optimization priority of each target functional module;
[0211] Analyze and process the module table to be optimized through a preset optimization model to generate an optimization strategy and a corresponding optimization instruction set;
[0212] Based on the optimization strategy and the optimization instruction set, an optimization instruction corresponding to each target functional module is generated.
[0213] In this embodiment, performance test indicators: indicators used to perform performance tests on various functional modules in the page, such as response time, loading time, throughput, security, resource occupancy rate, etc.;
[0214] In this embodiment, the indicator set is a set composed of performance test indicators under each module in the page;
[0215] In this embodiment, the demand data: namely, the performance requirements of each functional module in the page to be established under the corresponding performance test index;
[0216] In this embodiment, the demand data set: a set formed according to the demand data under each functional module;
[0217] In this embodiment, the correlation coefficient is a value used to characterize the correlation degree between the page test result and each functional module;
[0218] In this embodiment, the performance compliance rate is a numerical value used to characterize the completion status of the performance test results of each functional module under the corresponding demand data. The higher the compliance rate, the higher the completion degree of each functional module.
[0219] In this embodiment, the value reference factor is the weight coefficient of each performance indicator under each functional module in the performance compliance rate under the corresponding module;
[0220] In this embodiment, the performance reaching standard threshold is a threshold condition used to determine whether the performance of each functional module under each corresponding performance indicator reaches the standard;
[0221] In this embodiment, the test effect: that is, the result of the performance test for evaluating each functional module of the page;
[0222] In this embodiment, the module table to be optimized: a module list composed of target functional modules to be optimized;
[0223] In this embodiment, the optimization priority is the priority level corresponding to each functional module in the module table to be optimized when being optimized;
[0224] In this embodiment, the preset optimization model is a model used to analyze and process each module to be optimized, and then obtain corresponding optimization strategies and optimization instructions, which is preset.
[0225] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention obtains the performance test indicators corresponding to each functional module when performing performance testing, and then constructs an indicator set. At the same time, based on the obtained performance test data set and the demand data set, and combined with the correlation coefficient corresponding to each functional module, the performance compliance rate corresponding to each functional module is calculated; then, by comparing and analyzing the threshold compliance threshold conditions of each functional module under each performance indicator, the test effect of each functional module is obtained, and compared with the standard effect, the functional modules to be optimized in the page and the corresponding optimization priorities are obtained, and then the corresponding optimization instructions are generated through the preset optimization module, which not only improves the accuracy of the performance test results of each functional module, but also can continuously optimize the functional modules of the page, and continuously improve the performance of the page.
[0226] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A visual multifunctional page construction method, characterized in that: include: Step 1: Obtain construction requirement information of the page, screen a preset template with a matching degree greater than a first preset degree in a preset template database based on the construction requirement information, store a construction instruction set corresponding to the preset template in a preset area, and establish a template candidate pool; Step 2: Obtain manual instructions in real time through the IO terminal and combine with the template candidate pool to determine the page construction mode and generate page construction instructions; Step 3: Based on the page construction instruction, a page layout is selected from a layout database and a functional module is selected from a module database, and the page structure information is generated by combining the preset logical relationship screened from a preset logic database; Step 4: Based on the page structure information, source data corresponding to each of the functional modules is selected from a preset data pool, and the source data is port-connected with the corresponding functional module to construct a display page; Wherein, step 3 includes: Based on the page construction instruction, a first layout and a first module group are respectively selected from a layout database and a module database, and an initial layout of the page is determined; In combination with the manual instruction input after the initial layout of the page is constructed, a second layout and a second module group are selected from the layout database and the module database; Performing a second conflict analysis and a third conflict analysis on the second layout and the second module group respectively with the initial layout of the page, and generating a second analysis result and a third analysis result; Analyze and process the second analysis result and the third analysis result by using a preset layout adjustment model to generate corresponding layout adjustment instructions; Acquire the terminal display requirement information of the page, and analyze and process the terminal display requirement information through the preset layout adjustment model to obtain a terminal display adjustment instruction, wherein the terminal display requirement information includes: the resolution, aspect ratio and main function display requirement of the terminal; Based on the layout adjustment instruction and the terminal display adjustment instruction, the initial layout of the page is adjusted to generate a page adjustment layout; In combination with the layout adjustment instruction, selecting a second logical relationship between the functional modules under the page adjustment layout in the preset logic database; Based on the page adjustment layout and in combination with the second logical relationship, the preset logical relationship that matches the function realization logic of each functional module is selected from the preset logical database to generate page structure information; Wherein, step 4 includes: Based on the terminal display requirement information and the acquired terminal identification information, obtaining layout configuration information corresponding to the target terminal device; Based on the layout configuration information, adapt the target terminal device to the page construction instruction, adjust the layout structure of the page, and generate terminal layout confirmation information; Parsing the terminal layout confirmation information to obtain a terminal layout structure under a corresponding page, wherein the terminal layout structure includes: the type and quantity of each functional module and the layout area corresponding to each functional module; Based on the terminal layout structure, determining a display mode of data corresponding to each functional module, wherein the display mode includes: static display and dynamic display; Based on the display mode and the terminal layout structure, source data adapted to each functional module is selected from a preset data pool, and a mapping relationship between the source data and the corresponding functional module is established to generate a module-source data pool; Based on the module-source data pool, the data formats of all source data in the pool are obtained to generate source data format information. Meanwhile, the parsing format of the functional module corresponding to the source data is obtained to generate module parsing format information. The source data format information is format matched with the module parsing format information to generate a format matching result. When the format matching result meets the first threshold condition, the source data and the corresponding functional module are adjusted to enter a waiting state for docking; When the format matching result does not meet the first threshold condition, the corresponding source data is format converted based on the module parsing format, the source data after format conversion replaces the original source data, and enters the waiting for docking state; Perform port docking on the functional module in the waiting docking state and the corresponding source data, and establish a communication connection between the functional module and the module-source data pool; Combined with the page confirmation instruction input through the IO port, a first display page is constructed, and the first display page and the corresponding functional module are performance tested and optimized through a preset test module to generate an optimization instruction; Based on the optimization instruction, optimizing and adjusting the page structure and functional modules in the first display page to construct a second display page; The method of performing performance testing and optimization on the first display page and the corresponding functional modules through a preset test module and generating optimization instructions includes: Obtain the performance test indicators corresponding to the performance test of each functional module, and construct the indicator set for the first display page , where Xi represents the performance indicator subset of the i-th functional module, and n1 represents the total number of functional modules that need performance testing; Perform performance tests on each functional module in the first display page, and obtain a performance test data set under the i-th functional module based on the test results. ,in, represents the performance test data corresponding to the jth performance indicator of the i-th functional module, n is the number of performance indicators of the i-th functional module, and is a variable; Based on the indicator set A, the construction requirement information is parsed to obtain the requirement data of each functional module under the corresponding performance test indicator, and a requirement data set is generated. , Represents the demand data of the jth performance indicator of the i-th functional module; Performing a page test on the first display page, and obtaining a correlation coefficient with each functional module according to the page test result; Calculating the performance compliance rate of each functional module on the first display page; ;in, Indicates the performance achievement rate of the i-th functional module; Indicates the value reference factor corresponding to the jth performance indicator of the i-th functional module; represents the similarity function; represents the correlation coefficient with the i-th functional module; represents the variance of all correlation coefficients; Indicates all The average coefficient of represents the first standard-reaching rate; B2 represents the second standard-reaching rate; max represents the maximum value symbol; In combination with the demand data set and the indicator set, obtaining performance thresholds under different performance indicators of each functional module in the first display page; Calculate the test effect of each functional module; ; Among them, n1 represents the number of functions that satisfy The number of performance indicators, and represents the comparison threshold of the jth performance indicator under the i-th functional module; n2 represents the comparison threshold of the jth performance indicator under the i-th functional module. The number of performance indicators, and n2=n-n1; Indicates the performance threshold of the jth performance indicator under the i-th functional module; represents the error adjustment coefficient of the jth performance indicator under the i-th functional module; Indicates the test effect of the i-th functional module; Compare each test result with the corresponding standard result, obtain the target functional module to be optimized in the page, and generate a module table to be optimized, wherein the module table to be optimized contains the optimization priority of each target functional module; Analyze and process the module table to be optimized through a preset optimization model to generate an optimization strategy and a corresponding optimization instruction set; Based on the optimization strategy and the optimization instruction set, an optimization instruction corresponding to each target functional module is generated.
2. A method for constructing a visual multifunctional page according to claim 1, characterized in that: Step 1 includes: Acquire first demand information of the page, wherein the first demand information includes: purpose requirements of the page and audience user requirements; At the same time, second requirement information of the page is obtained, wherein the second requirement information includes: design and style requirements of the page and terminal requirements; The page construction requirement information is comprehensively generated by combining the first requirement information, the second requirement information and the acquired performance requirement information, wherein the performance requirement information includes: page response speed, stability, security and visibility.
3. A method for constructing a visual multifunctional page according to claim 1, characterized in that: Step 1 also includes: Extracting features from the construction requirement information to obtain requirement features; Based on the demand characteristics, a preset template having a matching degree greater than a first preset degree is screened in a preset template database; In combination with the demand features and the preset templates, a set of construction instructions matching each preset template is obtained by screening in the preset feature-template-instruction matching table; Store all preset templates and the building instruction sets under the corresponding templates in the preset area of the required building page to establish a template alternative pool.
4. A method for constructing a visual multifunctional page according to claim 3, characterized in that: Step 2 includes: The timing characteristics of each manual instruction input moment are obtained in real time through the IO terminal to generate an artificial feature set; Determine a page construction mode based on the construction requirement information, the template candidate pool, and the manual instruction; In combination with the artificial feature set, the template candidate pool and the construction mode, a matching page construction instruction is selected from a preset instruction database.
5. A method for constructing a visual multifunctional page according to claim 1, characterized in that: Based on the page construction instruction, a first layout and a first module group are respectively selected from a layout database and a module database, and an initial page layout is determined, including: Parsing the page building instruction to obtain multiple sub-instructions, and constructing a sub-instruction set; Classifying and arranging each sub-instruction in the sub-instruction set to generate a classified instruction set; Based on the classified instruction set, performing a first conflict analysis on the sub-instructions under each category, and generating a first analysis result; Filtering out a first matching result corresponding to the first analysis result through a preset result-layout-module adaptation table, and selecting a first layout and a first module group from the layout database and the module database based on the first matching result; Based on the first layout and the first module group, and in combination with the first logical relationship matched in the preset logic database, an initial page layout is constructed.
