CN108920147B - Web page construction method and device, computing equipment and storage medium - Google Patents

Web page construction method and device, computing equipment and storage medium Download PDF

Info

Publication number
CN108920147B
CN108920147B CN201810596540.9A CN201810596540A CN108920147B CN 108920147 B CN108920147 B CN 108920147B CN 201810596540 A CN201810596540 A CN 201810596540A CN 108920147 B CN108920147 B CN 108920147B
Authority
CN
China
Prior art keywords
asp
web page
server
script
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810596540.9A
Other languages
Chinese (zh)
Other versions
CN108920147A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201810596540.9A priority Critical patent/CN108920147B/en
Publication of CN108920147A publication Critical patent/CN108920147A/en
Application granted granted Critical
Publication of CN108920147B publication Critical patent/CN108920147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

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

Abstract

The invention discloses a Web page construction method, a Web page construction device, a computing device and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a server determines setting information of a Web page needing to be displayed in user equipment according to equipment information of the user equipment; the server determines the characteristics of the dynamic server page ASP document corresponding to the setting information according to the setting information; if the server determines that the ASP document comprising the characteristics exists in the server, adding the ASP document comprising the characteristics into an ASP script for generating the Web page; and the server executes the ASP script and generates the Web page.

Description

Web page construction method and device, computing equipment and storage medium
Technical Field
The invention relates to the technical field of Web, in particular to a Web page construction method, a Web page construction device, computing equipment and a storage medium.
Background
Websites (Web) have been in great depth in various industries, becoming the most popular information and service platforms, including: e-government affairs, e-commerce, online banking, online business hall, etc.
With the wider application of embedded products, the requirements of customers on product interfaces are also richer and richer. In the prior art, a whole set of components such as different hardware, software, Web and the like are correspondingly developed aiming at different product requirements. With the increase of enterprise products, the development process gradually shows the limitations: new product development cycles are slow and maintenance of multiple products is increasingly heavy. This results in the enterprises continuously absorbing more manpower to accomplish these repeated and extensive tasks, resulting in higher and higher labor costs for product development and maintenance.
In summary, how to make a set of Web pages that satisfy the universality and have higher flexibility and extensibility is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a Web page construction method, a Web page construction device, computing equipment and a storage medium, which are used for solving the problems of poor universality, flexibility and expansibility of Web pages in the prior art.
The embodiment of the invention provides a method for constructing a Web page, which comprises the following steps:
the method comprises the steps that a server determines setting information of a Web page needing to be displayed in user equipment according to equipment information of the user equipment;
the server determines the characteristics of the dynamic server page ASP document corresponding to the setting information according to the setting information;
if the server determines that the ASP document comprising the characteristics exists in the server, adding the ASP document comprising the characteristics into an ASP script for generating the Web page;
and the server executes the ASP script and generates the Web page.
A possible implementation manner that the server determines, according to the setting information, a feature of a dynamic server page ASP file corresponding to the setting information, includes:
the server determines elements of the Web page according to the setting information;
the server determines an element of the Web page as a characteristic of an ASP file of the Web page.
A possible implementation manner that the server determines, according to the setting information, a feature of a dynamic server page ASP file corresponding to the setting information, includes:
the server determines elements of the Web page and configuration parameters of the elements according to the setting information;
and the server determines the elements of the Web page and the configuration parameters of the elements as the characteristics of the ASP document of the Web page.
By combining the elements of the Web page and the configuration parameters of the elements with the characteristics of the ASP file serving as the Web page, the elements with different configuration parameters of the corresponding elements in the configuration information required by the user equipment and the pre-stored configuration parameters of the elements of the ASP file can be screened out more quickly, and further the efficiency of constructing the Web page is improved.
One possible implementation manner in which the server adds the ASP file to an ASP script that generates the Web page includes:
the server modifies the configuration parameters of the ASP file into the configuration parameters of the elements of the Web page;
the server refers the modified ASP document to an ASP template script of the Web page; the ASP template script is an ASP template script for generating Web pages of the same user equipment type.
In one possible implementation manner, after the server references the modified ASP document to an ASP template script of the Web page, the method further includes:
the server determines a corresponding CSS style according to the elements in the Web page; and reference the CSS style to the ASP script.
In one possible implementation, the method further includes:
and if the server determines that the ASP file with the characteristics does not exist in the server, generating the ASP file with the corresponding characteristics according to the characteristics, and adding the ASP file with the characteristics to the ASP script for generating the Web page.
The embodiment of the invention provides a Web page construction device, which comprises:
the processing unit is used for determining the setting information of the Web page required to be displayed in the user equipment according to the equipment information of the user equipment; determining the characteristics of the dynamic server page ASP document corresponding to the setting information according to the setting information; if the ASP file comprising the characteristics exists in the server, adding the ASP file comprising the characteristics into an ASP script for generating the Web page;
and the generating unit is used for executing the ASP script and generating the Web page.
In one possible implementation, the processing unit includes:
the determining module is used for determining elements of the Web page according to the setting information; and determining the elements of the Web page as the characteristics of the ASP document of the Web page.
The modification module is used for modifying the configuration parameters of the ASP file into the configuration parameters of the elements of the Web page; the ASP document after modification is referred to an ASP template script of the Web page; the ASP template script is used for generating Web pages of the same user equipment type;
in one possible implementation, the modifying module is further configured to:
determining a corresponding CSS style according to elements in the Web page; and reference the CSS style to the ASP script.
In one possible implementation, the processing unit is further configured to: and if the ASP file with the characteristics does not exist in the server, generating the ASP file with the corresponding characteristics according to the characteristics, and adding the ASP file with the characteristics to the ASP script for generating the Web page.
An embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are configured to cause a computer to execute a method described in any one of the foregoing embodiments.
The embodiment of the invention provides a computing device for constructing a Web page, which comprises:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of any one of the above embodiments according to the obtained program.
The embodiment of the invention has the following beneficial effects:
determining setting information of a Web page to be displayed in user equipment through a server according to equipment information of the user equipment; further determining the characteristics of the dynamic server page ASP file corresponding to the setting information; if the server determines that the ASP document comprising the characteristics exists in the server, adding the ASP document comprising the characteristics into an ASP script for generating the Web page; and executing the ASP script through the server to generate the Web page. And therefore, when the Web pages of different user equipment are developed, a large amount of development cost and later maintenance cost are saved for the files of the ASP required by the same setting, the universality, flexibility and expansibility of the development of the Web pages of the user equipment are improved, the labor cost is greatly saved, and the generation efficiency of the Web pages is improved.
Drawings
Fig. 1 is a schematic flow chart of a Web construction method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a Web construction method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a Web building apparatus according to an embodiment of the present invention.
Detailed Description
With the development of network technology and web page design, the content of web pages is more and more abundant, and is usually embodied in a hypertext markup Language (HTML) format, where an HTML Text is a descriptive Text composed of TML commands, and the HTML commands can describe characters, graphics, animations, sounds, forms, links, and the like. HTML is not a programming language, but a markup language (markup language), which is a set of markup tags (markup tag) used by HTML to describe web pages, which are commonly referred to as HTML tags (HTML tag). HTML tags are keywords enclosed by sharp brackets, such as < HTML >; HTML tags are typically present in pairs, such as < b > and </b >; the first tag in the pair is a start tag and the second tag is an end tag; start and end tags are also known as open tags and closed tags; an HTML document describes a web page, the HTML document containing HTML tags and plain text, the HTML document also being referred to as a web page.
In practical application, with the wider application of embedded products, the requirements of customers on product interfaces are also richer and richer. In the prior art, a whole set of components such as all elements and element attributes in different Web pages are correspondingly developed according to different product requirements. With the increase of enterprise products, the development period of new products is slow, the workload of simultaneously maintaining a plurality of products is larger and larger, and the efficiency is too low. Therefore, as shown in fig. 1, an embodiment of the present application provides a flowchart of a Web page building method, including the following steps:
step 101: the method comprises the steps that a server determines setting information of a Web page needing to be displayed in user equipment according to equipment information of the user equipment;
step 102: the server determines the characteristics of the dynamic server page ASP document corresponding to the setting information according to the setting information;
step 103: if the server determines that the ASP document comprising the characteristics exists in the server, adding the ASP document comprising the characteristics into an ASP script for generating the Web page;
step 104: and the server executes the ASP script and generates the Web page.
The structure of HTML includes a header (Head) and a Body (Body), wherein the header describes information required by the browser, and the Body includes specific content to be explained.
In step 101, the device information of the user equipment may be determined according to a specific device, for example, if the user equipment is a router, the device information may include: WAN port status, LAN port status, and network rate, device model, etc. If the user equipment is a monitoring device, the device information may include: and displaying real-time video recording, monitoring results, early warning information and the like of the camera. The device information of the intelligent parking lot parking space monitoring device may include: and displaying the use condition of the parking space and the like.
Different setting information can be included according to the device information of different user devices, and data and interaction requirements which need to be displayed on a Web page when a user accesses the user devices.
The setting information can be preset by a manufacturer, and the manufacturer can update the setting information according to the needs of specific conditions; the setting information may also be data acquired by the server after acquiring a Web page file from the database of the user equipment, and the server may store the Web page file as an ASP file and add the ASP file to an ASP script; the file may also be saved as an edit file in other formats, for example, JavaScript, which is not limited herein. In the following, ASP documents are taken as an example for explanation, and the setting manner of other documents may refer to the setting manner of ASP documents, which is not described herein again.
The Web page file may be an XML file, which refers to EXtensible Markup Language (EXtensible Markup Language) and is only used for transmitting data, not displaying data, and XML tags are not predefined. XML data is stored in plain text format, and XML documents form a tree structure that starts at the "root" and then extends to the "branches and leaves". An XML document must contain a root element. This element is the parent element of all other elements. The elements in an XML document form a document tree. This tree starts at the root and extends to the lowest end of the tree. All elements may possess sub-elements: all elements can possess text content and attributes (like in HTML). An XML element refers to the portion from (and including) the start tag to (and including) the end tag. The elements may comprise other elements, text, or a mixture of both. All elements in XML can be accessed and manipulated through XML DOM (Document Object Model), and the content (text and attributes) of the elements can be modified, creating new elements.
Of course, the setup information of the user equipment may also be obtained from the ASP, e.g. by accessing the database of the user equipment from inside the ASP file via the ADO interface. Specifically, the method may include: creating an ADO connection (ADO connection) to the database, opening the database connection, creating an ADO record set (ADO recordset), opening the record set (recordset), extracting the required data from the data set, closing the connection.
Therefore, for different setting information, different HTML elements and attributes corresponding to the HTML elements need to be set for the Web page of the user equipment.
HTML is mainly used for displaying data, i.e., layout and display using HTML. Therefore, when constructing the Web page, only the layout of the HTML and the elements displayed need to be set. When the data in the Web page needs to be dynamically updated, the XML file can be read through JavaScript, so that the data content in the HTML can be updated, and the HTML does not need to be changed at all.
The HTML element refers to all codes from a start tag (start tag) to an end tag (end tag). The content of the element is the content between the start tag and the end tag. Most HTML elements may possess attributes that provide additional information for the HTML element. HTML tags may possess attributes. Attributes provide more information about HTML elements. Attributes appear in the form of name/value pairs, such as: name is "value". The attributes are specified in the start tag of the HTML element.
In order to improve the development efficiency of HTML, in the embodiment of the present application, a Web page may be constructed through an Active Server Pages (ASP).
The ASP is a program running in Internet Information Services (IIS). The server may execute the script in the ASP file. ASP files may contain HTML tags, and ASP files may also contain server-side scripts, which are surrounded by delimiters <% and% >. The server script may contain legal expressions, statements, or operators.
The ASP can dynamically edit, change, or add any content of the Web page; the ASP can customize the Web pages for different users to improve the usability of the Web pages.
In step 102, the server determines, according to the setting information, a feature of a dynamic server page ASP file corresponding to the setting information, including:
step one, the server determines elements of the Web page according to the setting information;
and step two, the server determines the elements of the Web page as the characteristics of the ASP document of the Web page.
One application on the Web may be a set of ASP documents. These ASP documents work together in concert to accomplish a task. When creating functions, headers, footers or other elements to be used on a page, the functions, headers, footers or other elements can be directly realized by referring to the pre-stored ASP file first, so that the development workload is reduced, and the development and maintenance efficiency is improved. Therefore, the ASP document to be referred to can be determined based on the determination of the characteristics of the ASP document required on the page.
The features of the ASP file may include: elements of the Web page.
For example, if the element is determined to be a form for a user to input account information, the form element may be one or more of different types of input elements, check boxes, radio buttons, and submit buttons. The server may obtain ASP files corresponding to the form for the user to input the account information, where all of the ASP files may include ASP files required in the elements, for example, ASP files corresponding to input elements, ASP files corresponding to selection lists, and ASP files corresponding to buttons. And at this moment, correspondingly searching the ASP corresponding to the corresponding element, and referring to the ASP file corresponding to the element according to the reference command of the ASP file.
In a specific implementation process, the feature of the ASP file may be determined by adding a tag to the ASP file, or the element in the ASP file may be determined by reading the ASP file, which is not limited herein.
By taking the elements of the Web page as the characteristics of the ASP file of the Web page, the characteristics of the corresponding elements in the configuration information required by the user equipment and the characteristics of different elements of the pre-stored ASP file can be accurately screened out, and further the efficiency of constructing the Web page is improved.
A possible implementation manner that the server determines, according to the setting information, a feature of a dynamic server page ASP file corresponding to the setting information, includes:
step one, the server determines elements of the Web page and configuration parameters of the elements according to the setting information;
and step two, the server determines the elements of the Web page and the configuration parameters of the elements as the characteristics of the ASP document of the Web page.
By combining the elements of the Web page and the configuration parameters of the elements with the characteristics of the ASP file serving as the Web page, the elements with different configuration parameters of the corresponding elements in the configuration information required by the user equipment and the pre-stored configuration parameters of the elements of the ASP file can be screened out more quickly, and further the efficiency of constructing the Web page is improved.
In step 103, a possible implementation manner, if it is determined that the configuration parameters of the elements of the pre-stored ASP file are different from the configuration parameters of the corresponding elements in the configuration information required by the user equipment, the process of the server adding the ASP file to the ASP script generating the Web page may include:
step one, the server modifies the configuration parameters of the ASP file into the configuration parameters of the elements of the Web page;
step two, the server refers the modified ASP document to an ASP template script of the Web page; the ASP template script is an ASP template script for generating Web pages of the same user equipment type.
The template of the ASP file is generated by the method, so that the requirement of a user can be better met, the universality of the template is improved under the condition of meeting the setting information of the user, and the construction efficiency of the Web page is further improved.
According to a possible implementation mode, a corresponding ASP document template can be generated according to the type of an element in a Web page, and when the server develops the Web page and needs to use the element of the type, the server directly calls the ASP document template only by modifying a corresponding parameter without writing the corresponding ASP document again, so that the development and maintenance efficiency is improved.
With reference to the above example, if the server determines that the ASP file is an ASP file of a form for a user to input account information, where only a control and a button need to be input in the form for the user to input account information in the Web page, at this time, elements in a template of the ASP file may be filtered, and modified accordingly according to configuration parameters of the elements in the Web page.
Based on the same inventive concept, the ASP script can also set a corresponding template according to the type of the user equipment, namely the ASP template script, so as to improve the development efficiency of the ASP script.
In one possible implementation, the method further includes:
and if the server determines that the ASP file with the characteristics does not exist in the server, generating the ASP file with the corresponding characteristics according to the characteristics, and adding the ASP file with the characteristics to the ASP script for generating the Web page.
The template of the ASP file is generated by the method, so that the requirement of a user can be better met, the universality of the template is improved under the condition of meeting the setting information of the user, and the construction efficiency of the Web page is further improved.
Furthermore, the ASP template script may be updated according to the generated ASP script, so that when other user devices of the same type of the user device are generated, or when the user device needs to be updated, the ASP file in the Web page is modified correspondingly, and the efficiency of producing and maintaining the Web page corresponding to the user device of the same type is improved.
In the specific implementation process, the Application object in the ASP binds the ASP documents together to form an Application program. The Application object is used to store and access variables from any page, which may include Application variables, session variables, and the like. The Application variable is used to store information for all users in a particular Application and is valid for all pages in an Application. All users share an Application object. The Session variable is used to store information for a single user and is valid for all pages in an application. For example, the data stored in the session may include a name, id, or parameter.
In a specific implementation process, after the server generates the ASP script, the method further includes:
the server determines a corresponding CSS style according to the elements in the Web page; and reference the CSS style to the ASP script.
The method directly calls the template of the ASP file, only needs to modify the corresponding parameters, does not need to write the corresponding ASP file again, and improves the development and maintenance efficiency.
In the specific implementation process, the classification can be performed according to the type of the user equipment, the CSS styles required by the user equipment of the same type are marked by the same label, and the CSS styles can be stored in the same folder and can be searched only according to the type of the user equipment when being used for reference, so that the expense of a server is saved, and the development efficiency of the Web page is improved.
In a possible implementation manner, the database of the user equipment stores the style field of the Web page, and is configured to store CSS style information of the Web page.
And correspondingly storing CSS style information of the Web page according to the type of the user equipment, wherein the CSS style information comprises CSS styles grouped according to the type of the CSS. The CSS style may be a CSS style extracted from an existing Web page, or a CSS style newly generated for the user equipment.
CSS style is a way to change the style of HTML elements. HTML element styles, which can be defined by adding style directly to the HTML element using style attributes, or indirectly in a separate style sheet (CSS file). By using HTML4.0, all formatting code can be moved out of the HTML document and then into a separate style sheet. The HTML is classified (set class), and CSS styles are defined for the classes of elements. The same style is set for the same class or different styles are set for different classes.
Specifically, there are the following three ways to insert a CSS style sheet. External style sheet: an external style sheet would be a desirable choice when styles need to be applied to many pages. Using external style sheets, you can change the appearance of the entire site by changing one file. Internal style sheet: when a single file requires a special style, an internal style sheet may be used. You can define an internal style sheet in the head section through the < style > tag. Inline style sheet: inline styles may be used when a particular style needs to be applied to an individual element. The method of using inline styles is to use style properties in the associated tags. The style attributes may contain any CSS attributes.
In one possible implementation, the method further includes:
and if the server determines that the ASP file with the characteristics does not exist in the server, generating the ASP file with the corresponding characteristics according to the characteristics, and adding the ASP file with the characteristics to the ASP script for generating the Web page.
By the method, only the template of the ASP file needs to be directly called, and the corresponding ASP file does not need to be written again, so that the development and maintenance efficiency is improved.
In step 104, the method comprises the following steps:
the server executes the ASP script, acquires the data of the user equipment from a database of the user equipment and generates an HTML file of the Web page;
the server returns an HTML file of the Web page to the browser; the browser is a browser which receives the Web page request input by the user.
And the browser loads HTML data corresponding to the HTML file according to the HTML file of the Web page sent by the server, analyzes the HTML data after the HTML data is loaded, establishes a tree structure consisting of label elements, calculates the positions of all labels in the established tree structure, and finally displays the webpage corresponding to the Web webpage request after typesetting according to the positions of all the labels.
As shown in fig. 2, an embodiment of the present invention provides a flowchart of a Web page building method, including:
step 201: the server sends an acquisition request of the setting information of the user equipment to an equipment database;
the data in the setting information may be in a WebStyle format, or may be in other formats, which is not limited herein.
Step 202: the equipment database returns the setting information of the user equipment;
the device database may also return configuration parameters for elements of the user device's settings information displayed on the Web page.
Step 203: the server determines the characteristics of the dynamic server page ASP document corresponding to the setting information according to the setting information;
specifically, the server determines elements of the Web page according to the setting information;
the server determines an element of the Web page as a characteristic of an ASP file of the Web page.
Step 204: the server generates an ASP script of the Web page according to the characteristics;
specifically, if the server determines that the ASP file including the characteristic exists in the server, the server adds the ASP file including the characteristic to an ASP script generating the Web page; the server modifies the configuration parameters of the ASP file into the configuration parameters of the elements of the Web page; the server refers the modified ASP document to an ASP template script of the Web page; the ASP template script is an ASP template script for generating Web pages of the same user equipment type.
The server determines a corresponding CSS style according to the elements in the Web page; and reference the CSS style to the ASP script.
Step 205: the server receives an access request sent by user equipment to the Web page;
step 206: the server sends a data access request of the Web page to the database according to the access request;
step 207: and the server receives the data of the Web page returned by the database, executes the ASP script and generates the Web page.
Step 208: the user equipment receives the file of the Web page;
step 209: and rendering the file of the Web page and displaying the Web page by the browser of the user equipment.
As shown in fig. 3, an embodiment of the present invention provides a Web page constructing apparatus, including:
a processing unit 301, configured to determine, according to device information of a user device, setting information of a Web page that needs to be displayed in the user device; determining the characteristics of the dynamic server page ASP document corresponding to the setting information according to the setting information; if the ASP file comprising the characteristics exists in the server, adding the ASP file comprising the characteristics into an ASP script for generating the Web page;
a generating unit 302, configured to execute the ASP script and generate the Web page.
In one possible implementation, the processing unit 301 includes:
the determining module is used for determining elements of the Web page according to the setting information; and determining the elements of the Web page as the characteristics of the ASP document of the Web page.
The modification module is used for modifying the configuration parameters of the ASP file into the configuration parameters of the elements of the Web page; the ASP document after modification is referred to an ASP template script of the Web page; the ASP template script is used for generating Web pages of the same user equipment type;
in a possible implementation manner, the modification module is further configured to determine a corresponding CSS style according to an element in the Web page; and reference the CSS style to the ASP script.
In one possible implementation, the processing unit 301 is further configured to: and if the ASP file with the characteristics does not exist in the server, generating the ASP file with the corresponding characteristics according to the characteristics, and adding the ASP file with the characteristics to the ASP script for generating the Web page.
An embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are configured to cause a computer to execute a method described in any one of the foregoing embodiments.
The embodiment of the invention provides a computing device for constructing a Web page, which comprises:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of any one of the above embodiments according to the obtained program.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. A Web page construction method is characterized by comprising the following steps:
the server classifies the CSS styles according to the types of the user equipment, marks the CSS styles required by the user equipment of the same type by the same label and stores the CSS styles in a preset folder;
the server determines setting information of the Web page required to be displayed in the user equipment of the Web page to be generated according to the equipment information of the user equipment of the Web page to be generated;
the server determines the elements of the Web page according to the setting information, and determines the elements of the Web page as the characteristics of the ASP file of the Web page;
if the server determines that the ASP document comprising the characteristics exists in the server, adding the ASP document comprising the characteristics into an ASP script for generating the Web page; alternatively, the first and second electrodes may be,
if the server determines that the ASP file with the characteristics does not exist in the server, the server generates an ASP file with corresponding characteristics according to the characteristics and adds the ASP file with the characteristics into an ASP script for generating the Web page;
after the server generates an ASP script of the Web page, determining the corresponding CSS style from the preset folder according to elements in the Web page and a label corresponding to the type of the user equipment of the Web page to be generated, and referring the CSS style to the ASP script;
and the server executes the ASP script and generates the Web page.
2. The method of claim 1, wherein the server joining the ASP file to an ASP script that generates the Web page comprises:
the server modifies the configuration parameters of the ASP file into the configuration parameters of the elements of the Web page;
the server refers the modified ASP document to an ASP template script of the Web page; the ASP template script is an ASP template script for generating Web pages of the same user equipment type.
3. A Web page building apparatus, comprising:
the processing unit is used for classifying the CSS styles according to the types of the user equipment, marking the CSS styles required by the user equipment of the same type by using the same label and storing the CSS styles into a preset folder, and determining the setting information of the Web page required to be displayed in the user equipment of the Web page to be generated according to the equipment information of the user equipment of the Web page to be generated; determining the characteristics of the dynamic server page ASP document corresponding to the setting information according to the setting information;
the processing unit includes:
a determining module, configured to determine, according to the setting information, an element of the Web page, and determine the element of the Web page as a feature of an ASP file of the Web page, and if it is determined that the ASP file including the feature exists in the server, add the ASP file including the feature to an ASP script that generates the Web page, or if it is determined that the ASP file including the feature does not exist in the server, generate an ASP file corresponding to the feature according to the feature, and add the ASP file including the feature to the ASP script that generates the Web page;
after the server generates the ASP script of the Web page, the corresponding CSS style is determined from the preset folder according to the element in the Web page and the label corresponding to the type of the user equipment of the Web page to be generated, and the CSS style is referred to a generating unit in the ASP script for executing the ASP script and generating the Web page.
4. The apparatus of claim 3, wherein the processing unit further comprises:
the modification module is used for modifying the configuration parameters of the ASP file into the configuration parameters of the elements of the Web page; the ASP document after modification is referred to an ASP template script of the Web page; the ASP template script is an ASP template script for generating Web pages of the same user equipment type.
5. The apparatus of claim 3 or 4, wherein the determining module is further configured to:
and if the ASP file with the characteristics does not exist in the server, generating the ASP file with the corresponding characteristics according to the characteristics, and adding the ASP file with the characteristics to the ASP script for generating the Web page.
6. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 or 2.
7. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any of claims 1 or 2 in accordance with the obtained program.
CN201810596540.9A 2018-06-11 2018-06-11 Web page construction method and device, computing equipment and storage medium Active CN108920147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810596540.9A CN108920147B (en) 2018-06-11 2018-06-11 Web page construction method and device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810596540.9A CN108920147B (en) 2018-06-11 2018-06-11 Web page construction method and device, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108920147A CN108920147A (en) 2018-11-30
CN108920147B true CN108920147B (en) 2021-12-14

Family

ID=64409781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810596540.9A Active CN108920147B (en) 2018-06-11 2018-06-11 Web page construction method and device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108920147B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901834B (en) * 2019-01-25 2023-12-26 平安科技(深圳)有限公司 Document page generation method, device, computer equipment and storage medium
CN110674441A (en) * 2019-09-02 2020-01-10 中国平安财产保险股份有限公司 Page template configuration control method and device, computer equipment and storage medium
CN111079047B (en) * 2019-11-28 2020-09-15 蜂助手股份有限公司 Web-oriented page construction system
CN112287255B (en) * 2020-07-13 2024-02-09 上海柯林布瑞信息技术有限公司 Page construction method and device, computing equipment and computer readable storage medium
CN114518912B (en) * 2022-02-21 2023-04-25 度小满科技(北京)有限公司 Page loading method, device, equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6779153B1 (en) * 1998-12-11 2004-08-17 Microsoft Corporation Creation of web pages through synchronization
WO2013002083A1 (en) * 2011-06-29 2013-01-03 Sharp Kabushiki Kaisha Method and system for creating and using web feed display templates

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120897B2 (en) * 2001-07-10 2006-10-10 Microsoft Corporation User control objects for providing server-side code generation from a user-defined dynamic web page content file
US20040230901A1 (en) * 2003-05-15 2004-11-18 International Business Machines Corporation Portlet style conformity on pervasive agents
US7536641B2 (en) * 2005-04-29 2009-05-19 Google Inc. Web page authoring tool for structured documents
US8504913B2 (en) * 2007-06-08 2013-08-06 Apple Inc. Client-side components
US9286045B2 (en) * 2008-08-18 2016-03-15 Infosys Limited Method and system for providing applications to various devices
CN101908044A (en) * 2009-06-04 2010-12-08 上海灵慧软件技术有限公司 Dynamically adjustable template and using method thereof
US20110167332A1 (en) * 2010-01-07 2011-07-07 Neopost Technologies System and Method for Generating Web Pages
CN104521209B (en) * 2012-04-05 2018-04-27 艾琳·朱·兴 For providing the method and system of customized network
CN104750793A (en) * 2015-03-12 2015-07-01 小米科技有限责任公司 Method and device for generating page tables
CN106095869B (en) * 2016-06-03 2020-11-06 腾讯科技(深圳)有限公司 Advertisement information processing method, user equipment, background server and system
CN106021617B (en) * 2016-07-12 2018-09-28 腾讯科技(深圳)有限公司 The method and apparatus that the page generates

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6779153B1 (en) * 1998-12-11 2004-08-17 Microsoft Corporation Creation of web pages through synchronization
WO2013002083A1 (en) * 2011-06-29 2013-01-03 Sharp Kabushiki Kaisha Method and system for creating and using web feed display templates

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
代替ASP技术的新兴一代――ASP.NET技术;庞慧娟等;《电脑与信息技术》;20030228(第01期);全文 *

Also Published As

Publication number Publication date
CN108920147A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108920147B (en) Web page construction method and device, computing equipment and storage medium
US11182535B2 (en) Configuring a page for drag and drop arrangement of content artifacts in a page development tool
CN111259303B (en) System and method for automatically generating front-end page of WEB information system
JP4344693B2 (en) System and method for browser document editing
Bonifati et al. Active rules for XML: A new paradigm for e-services
US7814410B2 (en) Initial server-side content rendering for client-script web pages
US20020013792A1 (en) Virtual tags and the process of virtual tagging
US7941746B2 (en) Extended cascading style sheets
US20030037076A1 (en) Method, computer program and system for style sheet generation
US20050065936A1 (en) System and method for reusing form elements in a form building application
DE102010046439A1 (en) System and method for relevance-based categorization and prompt learning of vocabulary
US20060095252A1 (en) Content creation, graphical user interface system and display
CN105760290B (en) The problem of being tested based on webpage front-end localization method and relevant apparatus, system
US10049095B2 (en) In-context editing of output presentations via automatic pattern detection
WO2002061622A9 (en) Technique for encapsulating a query definition
DE10348337A1 (en) Content management portal and method for communicating information
CN1794226A (en) Linking data ranges of a computer-generated documment
CN111125598A (en) Intelligent data query method, device, equipment and storage medium
US20160012145A1 (en) Client-Side Template Engine and Method for Constructing a Nested DOM Module for a Website
KR102230729B1 (en) An online task system for an Excel file based on templates
CN106886530A (en) A kind of dynamic data distinguishes editing and updating method and system
CN113655999A (en) Rendering method, device and equipment of page control and storage medium
CN108959475A (en) A kind of webpage setting method and device
CN115982266A (en) Page dynamic rendering method and system based on custom configuration attribute field
KR20220099953A (en) dynamic typesetting

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200109

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Comba Telecom System (China) Ltd.

GR01 Patent grant
GR01 Patent grant