CN108090159A - A kind of generation method of Website page, device, electronic equipment and storage medium - Google Patents

A kind of generation method of Website page, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108090159A
CN108090159A CN201711324314.7A CN201711324314A CN108090159A CN 108090159 A CN108090159 A CN 108090159A CN 201711324314 A CN201711324314 A CN 201711324314A CN 108090159 A CN108090159 A CN 108090159A
Authority
CN
China
Prior art keywords
page
layout
function module
template
website
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711324314.7A
Other languages
Chinese (zh)
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.)
Fujian Cnfol Information Technology Co Ltd
Original Assignee
Fujian Cnfol Information Technology 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 Fujian Cnfol Information Technology Co Ltd filed Critical Fujian Cnfol Information Technology Co Ltd
Priority to CN201711324314.7A priority Critical patent/CN108090159A/en
Publication of CN108090159A publication Critical patent/CN108090159A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • 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

Abstract

An embodiment of the present invention provides a kind of generation method of Website page, device, electronic equipment and storage medium, wherein, the described method includes:It is instructed by receiving page layout, it is instructed according to page layout, it obtains the page layout template to prestore and identifies corresponding template, generate the layout page of the page, receiving module call instruction, the each function module for calling the identification information of each function module to prestore corresponding, correspond to the location information of the layout page according to each function module to be called, correspond to the position of the layout page in each function module to be called of the layout page, the page elements generated after each function module are called in display, form Website page.Using scheme provided in an embodiment of the present invention, the degree of coupling between the page can be reduced, reduces the maintenance difficulties of website.

Description

A kind of generation method of Website page, device, electronic equipment and storage medium
Technical field
The present invention relates to WEB application technical field, more particularly to a kind of generation method of Website page, device, electronics Equipment and storage medium.
Background technology
In WEB (World Wide Web) applications, as the development of web front end technology becomes increasingly complex, rear end exploit person The demand that member faces also quickly is changing.At present, the page of most of websites is all html page, and exploitation is relatively Independent, rear end developer analyzes demand of the user to web sites function, then according to independence first during Website development The page developed, finally again each page of completion is combined to form website.
It is identical to have partial function in actually many pages, using existing this development mode, to the page into During row exploitation, it is required for re-starting exploitation.Make when some function of one of page needs to be put into another page Used time is, it is necessary to do full page a series of adjustment of such as patterns, behavior code rewritings etc., operation is cumbersome, leads The degree of coupling between the page is caused to increase, increases the maintenance difficulties of website.
The content of the invention
The embodiment of the present invention is designed to provide a kind of generation method of Website page, device, electronic equipment and storage Medium to reduce the degree of coupling between the page, reduces the maintenance difficulties of website.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of generation method of Website page, the described method includes:
Receive page layout instruction;The page layout instruction includes:Page layout template identifies;
It is instructed according to page layout, obtains the page layout template to prestore and identify corresponding template, generate the page Layout page;
Receiving module call instruction;It is included in the function module call instruction:Each function mould to be called Block corresponds to the location information of the layout page and the identification information of each function module;
The each function module for calling the identification information of each function module to prestore corresponding, according to it is described it is each will Called function module corresponds to the location information of the layout page, in each function to be called of the layout page Module corresponds to the position of the layout page, and the page elements generated after each function module are called in display, form net It stands the page.
Optionally, the function module is write and is preserved previously according to user demand;The function module includes CSS Pattern and JS behavior layer code files.
Optionally, further included in the page layout instruction:Page Initialize installation parameter;
Identify corresponding template in the page layout template that prestores of obtaining, generate the page layout page it Before, it further includes:
According to the page Initialize installation parameter, a new page is initialized;
The page layout template to prestore that obtains identifies corresponding template, generates the step of the layout page of the page Suddenly, including:
It obtains the page layout template to prestore and identifies corresponding template, generate the layout page of the new page.
Optionally, each function module for calling the identification information of each function module that prestores corresponding it Before, it further includes:
Default module loading function is called, by each function module corresponding to the identification information of each function module It is loaded onto in memory.
Optionally, the generation method of the Website page further includes:
The Website page of formation is exported and gives website maintenance personnel;
Obtain the function module after website maintenance personnel adjustment code and preservation;
The step of returning to the reception page layout instruction.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of generating means of Website page, described device includes:
First instruction reception unit, for receiving page layout instruction;The page layout instruction includes:Page layout Template identification;
Layout page generation unit for being instructed according to page layout, obtains the page layout template mark to prestore Corresponding template generates the layout page of the page;
Second instruction reception unit, for receiving module call instruction;It is included in the function module call instruction: Each function module to be called corresponds to the location information of the layout page and the mark letter of each function module Breath;
Website page generation unit, for each work(for calling the identification information of each function module to prestore corresponding Energy module corresponds to the location information of the layout page according to each function module to be called, in the layout The each function module to be called of the page corresponds to the position of the layout page, after each function module is called in display The page elements of generation form Website page.
Optionally, described device further includes:Page Initialize installation unit and page initialization unit;
The page Initialize installation unit, for page Initialize installation parameter;
The page initialization unit, for identifying corresponding mould in the page layout template to prestore that obtains Plate before the layout page for generating the page, according to the page Initialize installation parameter, initializes a new page;
The layout page generation unit, is specifically used for:It obtains the page layout template to prestore and identifies corresponding mould Plate generates the layout page of the new page.
Described device further includes module loading unit;
The module loading unit, for corresponding in the identification information for calling each function module to prestore Before each function module, default module loading function is called, by corresponding each of the identification information of each function module A function module is loaded onto in memory.
In order to achieve the above objectives, the another aspect implemented in the present invention, additionally provides a kind of electronic equipment, including processing Device, communication interface, memory and communication bus, wherein, the processor, the communication interface, the memory pass through described Communication bus completes mutual communication;
The memory, for storing computer program;
The processor during for performing the program stored on the memory, realizes Website page described above Generation method.
In order to achieve the above objectives, the another aspect implemented in the present invention, additionally provides a kind of computer readable storage medium, Instruction is stored in the computer readable storage medium, when run on a computer so that computer performs above-mentioned institute The generation method for the Website page stated.
In order to achieve the above objectives, the another aspect implemented in the present invention, the embodiment of the present invention additionally provide a kind of comprising finger The computer program product of order, when run on a computer so that computer performs the life of Website page described above Into method.
Generation method, device, electronic equipment and the storage medium of a kind of Website page provided in an embodiment of the present invention, prestore Different function modules, after layout page generation, the identification information for calling each function module to prestore is corresponding Each function module corresponds to the location information of the layout page according to each function module to be called, in institute The position that each function module to be called of layout page corresponds to the layout page is stated, each function is called in display The page elements generated after module form Website page.Due to the different function module that prestored, reduce between the page The degree of coupling, and reduce the maintenance difficulties of website.Certainly, implement any of the products of the present invention or method must be not necessarily required to simultaneously Reach all the above advantage.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of generation method flow chart of Website page provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of page layout template 1 in the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of page layout template 2 in the embodiment of the present invention;
Fig. 4 is a kind of generating means structure diagram of Website page provided in an embodiment of the present invention;
Fig. 5 is a kind of electronic equipment structure diagram of the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment belongs to the scope of protection of the invention.
During in order to solve in the prior art to develop the page, when some function needs of one of page are put into In use, needing to do full page the adjustment that a series of such as patterns, behavior code are rewritten etc. in another page, behaviour It makes comparisons trouble, the problem of degree of coupling is high between the page, and website maintenance difficulty is big, the embodiment of the present invention has prestored different functions Module, after layout page generation, each function module for calling the identification information of each function module to prestore corresponding, Correspond to the location information of the layout page according to each function module to be called, it is each in the layout page The function module to be called corresponds to the position of the layout page, and the page generated after each function module is called in display Surface element forms Website page.Due to the different function module that prestored, the degree of coupling between the page is reduced, reduces net The maintenance difficulties stood.
Fig. 1 is a kind of generation method flow chart of Website page provided in an embodiment of the present invention, and this method can include:
S101 receives page layout instruction;The page layout instruction includes:Page layout template identifies.
In the embodiment of the present invention, a kind of generating mode of page layout template can be:In Website page initial stage of development, after Developer is held to the demand of website, to be analyzed according to user the webpage needed for website, editor's generation page layout template, And the page layout template of generation is identified, while preserves the page layout template and mark of generation.
The generating mode of another page layout template can also be:At Website development initial stage, rear end developer according to User generates a variety of page layout templates to the demand of different web sites, and to the page layout template of generation into rower Know, while preserve the page layout template and mark of generation, so that Website page can be directed to different need during developing Asking can select to use different page layout templates.Certainly, the application is simply illustrated with above-mentioned realization method, actual to answer It is not limited to that with the generating mode of middle page layout template.Fig. 2 and Fig. 32 that page layout template is set forth show Example.
Fig. 2 is a kind of schematic diagram of page layout template 1 in the embodiment of the present invention.It is one only above the page in fig. 2 Vertical region could be provided as head navigation etc., and page center section is divided to or so two columns have been arranged in order multiple function modules, such as Module 3, module 4 ..., module 12, page bottom is also an independent region, could be provided as bottom navigation etc..
Fig. 3 is a kind of schematic diagram of page layout template 2 in the embodiment of the present invention.It can place as shown in the figure in figure 3 Module 1- modules 11 in the page.
In the embodiment of the present invention, page layout template mark is received, the page layout template mark is rear end exploit person The page layout template that member pre-establishes, and the mark corresponding to the page layout template generated.
S102 is instructed according to page layout, is obtained the page layout template to prestore and is identified corresponding template, generates page The layout page in face.
In the embodiment of the present invention, after page layout template mark included in page layout instruction is received, obtain The page layout template pre-saved is taken to identify corresponding page layout template, and then generates the layout page of the page.
Optionally, further included in the page layout instruction:Page Initialize installation parameter;
Identify corresponding template in the page layout template that prestores of obtaining, generate the page layout page it Before, it further includes:
According to the page Initialize installation parameter, a new page is initialized;
The page layout template to prestore that obtains identifies corresponding template, generates the step of the layout page of the page Suddenly, including:
It obtains the page layout template to prestore and identifies corresponding template, generate the layout page of the new page.
In the embodiment of the present invention, the Initialize installation of the page can include, and agent structure of the page etc. is initialized It sets, for example, setting the original width of the page, display mode etc..Certainly, to the Initialize installation mode of the page in practical application It is not limited to that.
S103, receiving module call instruction;It is included in the function module call instruction:Each work(to be called Energy module corresponds to the location information of the layout page and the identification information of each function module.
Optionally, the function module is write and is preserved previously according to user demand;The function module includes CSS Pattern and JS behavior layer code files.
In practical applications, function module can be what rear end developer write and preserved previously according to user demand. At Website development initial stage, rear end developer, to the demand of product, carries out demand analysis according to function, obtains website according to user In each required function of the page, by website be split as it is multiple need the pages developed, then by each page fragmentation be multiple Need the function module developed, such as head navigation, bottom navigation, copyright information etc..
Then, the editor to each function module will be first split as to the exploitation of the page, and each function module is carried out Classification and mark.For example, each page has head navigation, bottom navigation, copyright information, then this 3 modules are properly termed as Public module, for each module addition mark id.In another example 1 module of content of the page 1 is identical with 1 module of content of the page 2, So this 2 modules can be regarded as 1 module, be identified with 1 classification class, then add different marks for the content of module Know id.
In the embodiment of the present invention, it is preferable that each function module can be each function module while mark is added It adds it and corresponds to the location information of the layout page, so as to more square when the later stage each function module being called to form the page Just, fast.
It in practical applications, can be according to each function module after splitting out function module and it being identified Mark individually write its corresponding CSS style and JS behaviors layer identification code and individually preserve.Its CSS style is individually write to module And JS behaviors layer identification code and being kept separately can make the code of modules more independent, there will not be punching with the pattern of other modules It is prominent, the degree of coupling between module can also be reduced.
Optionally, each function module for calling the identification information of each function module that prestores corresponding it Before, it further includes:
Default module loading function is called, by each function module corresponding to the identification information of each function module It is loaded onto in memory.
It in practical applications, can be in advance by corresponding each of each identification information of function module edited and kept Function module is loaded onto in memory, and sets the module loading function of each function module, to each work(when facilitating to form the page The calling of energy module.For example, can be for loading the module loading function of difference in functionality module according to different identification id, function addModel(id){$(‘#main’).append($(‘#’+id));... etc..Certainly, it is right in practical application The edit mode of module loading function is not limited to that.
S104, each function module for calling the identification information of each function module to prestore corresponding, according to described Each function module to be called corresponds to the location information of the layout page, to be called the layout page is each Function module correspond to the position of the layout page, the page elements generated after each function module are called in display, Form Website page.
In the embodiment of the present invention, after receiving function module call instruction, call rear end developer pre-stored Each function module corresponding to the identification information of each function module, according to what is added in each function module to be called It corresponds to the location information of the layout page, corresponds in each function module to be called of the layout page described On the position of layout page, the page elements generated after each function module are called in display, form Website page.For example, one In the page layout of Website page, body matter needs module id id, and for s1, the corresponding function module of s2, s5 further includes head Portion's navigation module (mark id is top1), bottom navigation module (mark id is foot1), then its call instruction can be:
addModel(‘top1’);
addModel(‘s1’);
addModel(‘s2’);
addModel(‘s5’);
addModel(‘foot1’);
After function module call instruction is received, call rear end developer advance according to above-mentioned module call instruction Each function module corresponding to identification information of each function module of storage, to complete the forming process of Website page.
Optionally, the generation method of the Website page further includes:
The Website page of formation is exported and gives website maintenance personnel;
Obtain the function module after website maintenance personnel adjustment code and preservation;
The step of returning to the reception page layout instruction.
In embodiments of the present invention, formed after Website page, the Website page of formation can also be exported and be tieed up to website Shield personnel.It, can be to required in the Website page of formation if website maintenance personnel are not to feel quite pleased formed Website page The function module to be adjusted carries out the adjustment of details etc., and the function module after adjustment is stored.Get website Maintenance personnel adjust code after function module and preservation, then, return it is described reception page layout instruction the step of, again into The formation of row Website page.It, can be according to the classification logotype of each function module in Website page during specific implementation Class and module id id carries out function module the adjustment of details etc., herein for function module adjustment mode not It is restricted.
It can be seen that the embodiment of the present invention really employs Modular development method, prestored different function modules, After layout page generation, each function module for calling the identification information of each function module to prestore corresponding, according to Each function module to be called correspond to the layout page location information, the layout page is each will quilt The function module of calling corresponds to the position of the layout page, and the page member generated after each function module is called in display Element forms Website page.Due to the different function module that prestored, avoid when a certain function module application in a page A series of adjustment done to the function module or the page are needed during into another page, therefore reduce the coupling between the page Degree, develops convenient for team and reduces the maintenance difficulties of website, improves the efficiency of page generation and website maintenance.
Corresponding with the generation method of foregoing Website page, the embodiment of the present invention additionally provides a kind of generation of Website page Device.Fig. 4 is a kind of generating means structure diagram of Website page provided in an embodiment of the present invention, which includes:
First instruction reception unit 401, for receiving page layout instruction;The page layout instruction includes:The page Layout templates identify;
Layout page generation unit 402 for being instructed according to page layout, obtains the page layout template mark to prestore Know corresponding template, generate the layout page of the page;
Second instruction reception unit 403, for receiving module call instruction;It is wrapped in the function module call instruction Contain:Each function module to be called corresponds to the location information of the layout page and the mark of each function module Information;
Website page generation unit 404, for calling corresponding each of the identification information of each function module that prestores A function module corresponds to the location information of the layout page according to each function module to be called, described The each function module to be called of layout page corresponds to the position of the layout page, and each function mould is called in display The page elements generated after block form Website page.
Described device further includes:Page Initialize installation unit and page initialization unit;
The page Initialize installation unit, for page Initialize installation parameter;
The page initialization unit, for identifying corresponding mould in the page layout template to prestore that obtains Plate before the layout page for generating the page, according to the page Initialize installation parameter, initializes a new page;
The layout page generation unit, is specifically used for:It obtains the page layout template to prestore and identifies corresponding mould Plate generates the layout page of the new page.
Described device further includes module loading unit;
The module loading unit, for corresponding in the identification information for calling each function module to prestore Before each function module, default module loading function is called, by corresponding each of the identification information of each function module A function module is loaded onto in memory.
The embodiment of the present invention really employs Modular development method, and prestored different function modules, in layout page After the generation of face, each function module for calling the identification information of each function module to prestore corresponding, according to described each The function module to be called corresponds to the location information of the layout page, in each work(to be called of the layout page Energy module corresponds to the position of the layout page, and the page elements generated after each function module are called in display, are formed Website page.Due to the different function module that prestored, avoid when a certain function module in a page be applied to it is another A series of adjustment done to the function module or the page are needed when in the page, therefore reduce the degree of coupling between the page, are convenient for Team develops and reduces the maintenance difficulties of website, improves the efficiency of page generation and website maintenance.
It should be noted that the device of the embodiment of the present invention is using a kind of above-mentioned dress of the generation method of Website page It puts, then all embodiments of the generation method of above-mentioned Website page are suitable for the device, and can reach the same or similar Advantageous effect.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in figure 5, including processor 501, communication interface 502, Memory 503 and communication bus 504, wherein, processor 501, communication interface 502, memory 503 is complete by communication bus 504 Into mutual communication;
Memory 503, for storing computer program;
Processor 501 during for performing the program stored on memory 503, realizes following steps:
Receive page layout instruction;The page layout instruction includes:Page layout template identifies;
It is instructed according to page layout, obtains the page layout template to prestore and identify corresponding template, generate the page Layout page;
Receiving module call instruction;It is included in the function module call instruction:Each function mould to be called Block corresponds to the location information of the layout page and the identification information of each function module;
The each function module for calling the identification information of each function module to prestore corresponding, according to it is described it is each will Called function module corresponds to the location information of the layout page, in each function to be called of the layout page Module corresponds to the position of the layout page, and the page elements generated after each function module are called in display, form net It stands the page.
The communication bus 504 that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just It is only represented in expression, figure with a thick line, it is not intended that an only bus or a type of bus.
Communication interface 502 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 503 can include random access memory (Random Access Memory, RAM), can also include Nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory 503 can also be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor 501 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components.
A kind of electronic equipment provided in an embodiment of the present invention, employs Modular development method, and prestored different functions Module, after layout page generation, each function module for calling the identification information of each function module to prestore corresponding, Correspond to the location information of the layout page according to each function module to be called, it is each in the layout page The function module to be called corresponds to the position of the layout page, and the page generated after each function module is called in display Surface element forms Website page.Due to the different function module that prestored, avoid when a certain function module in a page A series of adjustment done to the function module or the page are needed when being applied in another page, therefore reduce the coupling between the page It is right, it is developed convenient for team and reduces the maintenance difficulties of website, improve the efficiency of page generation and website maintenance.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer performs any institute in above-described embodiment The generation method for the Website page stated.
A kind of computer readable storage medium provided in an embodiment of the present invention, the embodiment of the present invention really employ module Forwarding method is melted, prestored different function modules, after layout page generation, calls each function module for prestoring Each function module corresponding to identification information corresponds to the layout page according to each function module to be called Location information corresponds to the position of the layout page in each function module to be called of the layout page, and display is adjusted With the page elements generated after each function module, Website page is formed.Due to the different function module that prestored, avoid The system done to the function module or the page is needed when a certain function module in a page is applied in another page Row adjustment, therefore reduce the degree of coupling between the page, developed convenient for team and reduce the maintenance difficulties of website, it improves The page generates and the efficiency of website maintenance.
In another embodiment provided by the invention, a kind of computer program product for including instruction is additionally provided, when it When running on computers so that computer performs the generation method of any Website page in above-described embodiment.
A kind of computer program product for including instruction provided in an embodiment of the present invention, employs Modular development method, Prestored different function modules, after layout page generation, calls the identification information pair of each function module to prestore The each function module answered corresponds to the location information of the layout page according to each function module to be called, Correspond to the position of the layout page in each function module to be called of the layout page, display is called described each The page elements generated after function module form Website page.Due to the different function module that prestored, avoid when a page A series of adjustment done to the function module or the page are needed when a certain function module in face is applied in another page, therefore The degree of coupling between the page is reduced, developed convenient for team and reduces the maintenance difficulties of website, improves page generation and net Stand safeguard efficiency.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its any combination real It is existing.When implemented in software, can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and performing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In or from a computer readable storage medium to another computer readable storage medium transmit, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is the data storage devices such as server, the data center integrated comprising one or more usable mediums.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that Also there are other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.It is real especially for system For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modifications, equivalent replacements and improvements are made within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of generation method of Website page, which is characterized in that including:
Receive page layout instruction;The page layout instruction includes:Page layout template identifies;
It is instructed according to page layout, obtains the page layout template to prestore and identify corresponding template, generate the layout of the page The page;
Receiving module call instruction;It is included in the function module call instruction:Each function module pair to be called The identification information of the location information of layout page described in Ying Yu and each function module;
The each function module for calling the identification information of each function module to prestore corresponding each will be adjusted according to described Function module corresponds to the location information of the layout page, in each function module to be called of the layout page Corresponding to the position of the layout page, the page elements generated after each function module are called in display, form website pages Face.
2. according to the method described in claim 1, it is characterized in that, the function module is to be write simultaneously previously according to user demand It preserves;The function module includes CSS style and JS behavior layer code files.
3. it according to the method described in claim 1, it is characterized in that, is further included in page layout instruction:The page initializes Arrange parameter;
Before the corresponding template of page layout template mark for obtaining and prestoring, the layout page for generating the page, also Including:
According to the page Initialize installation parameter, a new page is initialized;
It is described to obtain the step of page layout template to prestore identifies corresponding template, generates the layout page of the page, bag It includes:
It obtains the page layout template to prestore and identifies corresponding template, generate the layout page of the new page.
4. the according to the method described in claim 1, it is characterized in that, mark of each function module to prestore in the calling Before knowing the corresponding each function module of information, further include:
Default module loading function is called, each function module corresponding to the identification information of each function module is loaded Into memory.
5. according to the method described in claim 1, it is characterized in that, this method further includes:
The Website page of formation is exported and gives website maintenance personnel;
Obtain the function module after website maintenance personnel adjustment code and preservation;
The step of returning to the reception page layout instruction.
6. a kind of generating means of Website page, which is characterized in that including:
First instruction reception unit, for receiving page layout instruction;The page layout instruction includes:Page layout template Mark;
Layout page generation unit for being instructed according to page layout, obtains the page layout template mark to prestore and corresponds to Template, generate the layout page of the page;
Second instruction reception unit, for receiving module call instruction;It is included in the function module call instruction:It is each The function module to be called corresponds to the location information of the layout page and the identification information of each function module;
Website page generation unit, for each function mould for calling the identification information of each function module to prestore corresponding Block corresponds to the location information of the layout page according to each function module to be called, in the layout page Each function module to be called corresponds to the position of the layout page, and display generates after calling each function module Page elements, formed Website page.
7. device according to claim 6, which is characterized in that described device further includes:Page Initialize installation unit and Page initialization unit;
The page Initialize installation unit, for page Initialize installation parameter;
The page initialization unit, it is raw for identifying corresponding template in the page layout template to prestore that obtains Into before the layout page of the page, according to the page Initialize installation parameter, a new page is initialized;
The layout page generation unit, is specifically used for:It obtains the page layout template to prestore and identifies corresponding template, it is raw Into the layout page of the new page.
8. device according to claim 6, which is characterized in that described device further includes module loading unit;
The module loading unit, for calling corresponding each of the identification information of each function module that prestores described Before function module, default module loading function is called, by each work(corresponding to the identification information of each function module Energy module loading is into memory.
9. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein, processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor during for performing the program stored on memory, realizes any method and steps of claim 1-5.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium memory contains computer Program realizes claim 1-5 any method and steps when the computer program is executed by processor.
CN201711324314.7A 2017-12-12 2017-12-12 A kind of generation method of Website page, device, electronic equipment and storage medium Pending CN108090159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711324314.7A CN108090159A (en) 2017-12-12 2017-12-12 A kind of generation method of Website page, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711324314.7A CN108090159A (en) 2017-12-12 2017-12-12 A kind of generation method of Website page, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108090159A true CN108090159A (en) 2018-05-29

Family

ID=62175380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711324314.7A Pending CN108090159A (en) 2017-12-12 2017-12-12 A kind of generation method of Website page, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108090159A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062550A (en) * 2018-07-27 2018-12-21 北京京东金融科技控股有限公司 Page makeup method and system, user terminal, server and readable storage medium storing program for executing
CN109240756A (en) * 2018-07-06 2019-01-18 沈文策 A kind of method and device of dynamically load JavaScript module
CN109325202A (en) * 2018-08-23 2019-02-12 阿里巴巴集团控股有限公司 Web page element processing and Redundant Web Pages pattern lookup method and device
CN109598362A (en) * 2018-11-22 2019-04-09 北京小米移动软件有限公司 It obtains trip software and shows the method and device of page layout, electronic equipment
CN109656553A (en) * 2018-11-23 2019-04-19 北京微播视界科技有限公司 Page creation method, page layout method and device
CN109918595A (en) * 2019-01-31 2019-06-21 广州视源电子科技股份有限公司 The method and apparatus for obtaining public module
CN110321126A (en) * 2019-07-08 2019-10-11 北京三快在线科技有限公司 The method and apparatus for generating page code
CN110321177A (en) * 2019-06-18 2019-10-11 北京奇艺世纪科技有限公司 A kind of mobile application localization loading method, device and electronic equipment
CN110377281A (en) * 2019-05-31 2019-10-25 江苏联盟信息工程有限公司 A kind of method and device of dynamic generation HTML+CSS layout
CN110879705A (en) * 2018-09-06 2020-03-13 中国电信股份有限公司 Page generation method and device and computer readable storage medium
CN111399823A (en) * 2020-02-28 2020-07-10 山东浪潮商用系统有限公司 Page component layout method, system and foreground terminal
CN113360341A (en) * 2021-06-04 2021-09-07 北京达佳互联信息技术有限公司 Front-end application maintenance and loading method and device
CN113515265A (en) * 2021-05-12 2021-10-19 平安国际智慧城市科技股份有限公司 Site configuration method, device, equipment and computer readable storage medium
CN113553522A (en) * 2020-04-24 2021-10-26 北京金山云网络技术有限公司 Page display method and device, electronic equipment and storage medium
CN113515265B (en) * 2021-05-12 2024-04-16 平安国际智慧城市科技股份有限公司 Site configuration method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869980A (en) * 2005-10-14 2006-11-29 华为技术有限公司 Device and method for page smart configuration
CN104142826A (en) * 2014-07-28 2014-11-12 百度在线网络技术(北京)有限公司 Method, device and system for constructing page
US20150143267A1 (en) * 2013-11-18 2015-05-21 Nuwafin Holdings Ltd SYSTEM AND METHOD FOR DEVELOPING A RULE-BASED EVENT-DRIVEN MULTI-LAYERED FRONTEND FOR BUSINESS SERVICES AND RENDERING THE GUIs ON MULTIPLE CLIENT DEVICES
CN106293765A (en) * 2016-08-23 2017-01-04 乐视控股(北京)有限公司 A kind of layout updates method and device
CN107368487A (en) * 2016-05-12 2017-11-21 阿里巴巴集团控股有限公司 A kind of page assembly Dynamic Distribution method, apparatus and client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869980A (en) * 2005-10-14 2006-11-29 华为技术有限公司 Device and method for page smart configuration
US20150143267A1 (en) * 2013-11-18 2015-05-21 Nuwafin Holdings Ltd SYSTEM AND METHOD FOR DEVELOPING A RULE-BASED EVENT-DRIVEN MULTI-LAYERED FRONTEND FOR BUSINESS SERVICES AND RENDERING THE GUIs ON MULTIPLE CLIENT DEVICES
CN104142826A (en) * 2014-07-28 2014-11-12 百度在线网络技术(北京)有限公司 Method, device and system for constructing page
CN107368487A (en) * 2016-05-12 2017-11-21 阿里巴巴集团控股有限公司 A kind of page assembly Dynamic Distribution method, apparatus and client
CN106293765A (en) * 2016-08-23 2017-01-04 乐视控股(北京)有限公司 A kind of layout updates method and device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240756A (en) * 2018-07-06 2019-01-18 沈文策 A kind of method and device of dynamically load JavaScript module
CN109062550B (en) * 2018-07-27 2021-10-01 京东数字科技控股有限公司 Page construction method and system, user terminal, server and readable storage medium
CN109062550A (en) * 2018-07-27 2018-12-21 北京京东金融科技控股有限公司 Page makeup method and system, user terminal, server and readable storage medium storing program for executing
CN109325202A (en) * 2018-08-23 2019-02-12 阿里巴巴集团控股有限公司 Web page element processing and Redundant Web Pages pattern lookup method and device
CN110879705A (en) * 2018-09-06 2020-03-13 中国电信股份有限公司 Page generation method and device and computer readable storage medium
CN110879705B (en) * 2018-09-06 2023-11-03 中国电信股份有限公司 Page generation method, device and computer readable storage medium
CN109598362A (en) * 2018-11-22 2019-04-09 北京小米移动软件有限公司 It obtains trip software and shows the method and device of page layout, electronic equipment
CN109656553A (en) * 2018-11-23 2019-04-19 北京微播视界科技有限公司 Page creation method, page layout method and device
CN109918595A (en) * 2019-01-31 2019-06-21 广州视源电子科技股份有限公司 The method and apparatus for obtaining public module
CN109918595B (en) * 2019-01-31 2021-01-22 广州视源电子科技股份有限公司 Method and device for acquiring public module
CN110377281A (en) * 2019-05-31 2019-10-25 江苏联盟信息工程有限公司 A kind of method and device of dynamic generation HTML+CSS layout
CN110321177A (en) * 2019-06-18 2019-10-11 北京奇艺世纪科技有限公司 A kind of mobile application localization loading method, device and electronic equipment
CN110321177B (en) * 2019-06-18 2022-06-03 北京奇艺世纪科技有限公司 Mobile application localized loading method and device and electronic equipment
CN110321126A (en) * 2019-07-08 2019-10-11 北京三快在线科技有限公司 The method and apparatus for generating page code
CN110321126B (en) * 2019-07-08 2020-09-29 北京三快在线科技有限公司 Method and device for generating page code
CN111399823A (en) * 2020-02-28 2020-07-10 山东浪潮商用系统有限公司 Page component layout method, system and foreground terminal
CN111399823B (en) * 2020-02-28 2023-11-24 浪潮软件科技有限公司 Page component layout method, system and foreground terminal
CN113553522A (en) * 2020-04-24 2021-10-26 北京金山云网络技术有限公司 Page display method and device, electronic equipment and storage medium
CN113515265A (en) * 2021-05-12 2021-10-19 平安国际智慧城市科技股份有限公司 Site configuration method, device, equipment and computer readable storage medium
CN113515265B (en) * 2021-05-12 2024-04-16 平安国际智慧城市科技股份有限公司 Site configuration method, device, equipment and computer readable storage medium
CN113360341A (en) * 2021-06-04 2021-09-07 北京达佳互联信息技术有限公司 Front-end application maintenance and loading method and device
CN113360341B (en) * 2021-06-04 2024-02-06 北京达佳互联信息技术有限公司 Front-end application maintenance and loading method and device

Similar Documents

Publication Publication Date Title
CN108090159A (en) A kind of generation method of Website page, device, electronic equipment and storage medium
US8798380B1 (en) Techniques for generating customized two-dimensional barcodes
CN110533464B (en) Advertisement monitoring method, device and system and computing equipment
CN104142826A (en) Method, device and system for constructing page
CN105718313A (en) Application operation method and device
CN101193007A (en) Testing method, scenario testing method and corresponding device for URL command
CN105205072B (en) The methods of exhibiting and system of webpage information
KR102020619B1 (en) Method for displaying watermark in screen and apparatus therefor
CN111104635A (en) Table webpage generation method and device
CN107924263A (en) Touch thermal map
CN107908959A (en) Site information detection method, device, electronic equipment and storage medium
CN103955367A (en) Method and device for generating pages
CN105488125A (en) Page access method and apparatus
CN109635211A (en) Promote the implementation method and server of the page
CN107180041A (en) Web page content review method and system
CN104021131B (en) A kind of dissemination method, the apparatus and system of the various dimensions page
CN107180032A (en) Comment on content display method and system
CN108345687A (en) A kind of 3D web page display method and apparatus
CN105677880A (en) Method and device for realizing dynamic partition of display area
CN113342249B (en) Content management method, device, equipment and storage medium capable of previewing in real time
CN110069764A (en) List configuration method, device, computer equipment and storage medium
CN109240756A (en) A kind of method and device of dynamically load JavaScript module
CN105786987A (en) Page configuration method and device
CN106919407A (en) The method of the embedded product information synchronized update of computer
CN111338624A (en) Data processing method and related equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180529