CN102902781B - Webpage decoration method for pushing and device - Google Patents

Webpage decoration method for pushing and device Download PDF

Info

Publication number
CN102902781B
CN102902781B CN201210371897.XA CN201210371897A CN102902781B CN 102902781 B CN102902781 B CN 102902781B CN 201210371897 A CN201210371897 A CN 201210371897A CN 102902781 B CN102902781 B CN 102902781B
Authority
CN
China
Prior art keywords
module
prototype
data
webpage
structurized
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
CN201210371897.XA
Other languages
Chinese (zh)
Other versions
CN102902781A (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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201210371897.XA priority Critical patent/CN102902781B/en
Publication of CN102902781A publication Critical patent/CN102902781A/en
Application granted granted Critical
Publication of CN102902781B publication Critical patent/CN102902781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of webpage decoration method for pushing and device.The method comprises: obtain the data that the structurized module of background user to Webpage is fitted up, and the finishing data of preserving page structure information in data are stored in file system server, the module parameter information in data is stored in database; What obtain background user plays up request, obtains finishing data, and play up Webpage from file system server; Obtain the issue request of background user, by finishing data Replica in the browsing data of Webpage, obtain the browse request of foreground user, from database, obtain corresponding structurized module prototype according to browsing data, and Webpage is played up.By means of the technical scheme of the embodiment of the present invention, meet the demand of seller personalized shop dress finishing.

Description

Webpage decoration method for pushing and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of webpage decoration method for pushing and device.
Background technology
At present, e-commerce development obtains very rapid, and got more and more by the client of shopping online, therefore, increasing network seller is by attracting more client to the finishing of oneself network shop.
In the prior art, the function of shop finishing only allows the image content in signboard module and carousel module to make an amendment, and concrete processing procedure is as follows:
Step 1, user with seller's identity logs backstage, uploading pictures, picture is preserved by system;
Step 2, the picture that during the buyer's browsing pages of foreground, seller uploads by system is shown;
As can be seen from above-mentioned process, during the finishing of shop, the content seller of other modules cannot change, and comprises the quantity of module, position, the content that module represents, the existence etc. of module.
In addition, in the prior art, the exhibition scheme of the page is also very simple, and concrete steps are as follows:
Step 1, according to page appearance, writes out a Page Template, and modules is write dead in the fixed position of template completely;
Step 2, system, according to the template finished writing order in a streaming manner, parses the content that each module represents;
Step 3, successively splices the module contents parsed, and completes the splicing of the content of whole template page;
Step 4, the page of each different-style will write a set of template again.
As can be seen from above-mentioned process; when carrying out the finishing of network shop and showing; the demand in the personalized shop of seller can not be met; and the page presentation scheme after the finishing of shop is java+velocity; therefore issue must be shut down; finishing is coupled with displaying and too deeply makes other system be difficult to access, and in addition, the demand of seller to new template shop makes cost of development too large.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the webpage decoration method for pushing solved the problem at least in part and device.
The invention provides a kind of webpage decoration method for pushing, comprise: webpage decoration system obtains the data that the structurized module of background user to Webpage is fitted up, and the finishing data of preserving page structure information in data are stored in file system server, the module parameter information in data is stored in database; Webpage decoration system obtain background user play up request, finishing data are obtained from file system server, and from database, obtain corresponding structurized module prototype according to finishing data, and load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage is played up; Webpage decoration system obtains the issue request of background user, by finishing data Replica in the browsing data of Webpage, obtain the browse request of foreground user, from database, corresponding structurized module prototype is obtained according to browsing data, and load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage is played up.
Preferably, structurized module specifically comprises: the one or more modules under the one or more layouts under Webpage, Webpage, the one or more block under layout and block;
Preferably, the data that structurized module is fitted up are comprised: the page structure information of the page, layout, block and/or module being fitted up according to pre-defined rule and the module parameter information of modifying according to the parameter of pre-defined rule to module.
Preferably, structurized module prototype is the template of structurized module, and wherein, structurized module prototype comprises: page prototype, layout prototype, block prototype and module prototype.
Preferably, the structurized module prototype of preserving in database comprises: page prototype, layout prototype and module prototype, wherein, comprise respective template code respectively in page prototype and layout prototype, module prototype comprises the scripted code of corresponding template code and calling and obtaining user data.
Preferably, the template code in module prototype adopts velocity template instruction to write, and the scripted code in module prototype adopts Groovy dynamic script language compilation.
Preferably, said method also comprises: when first time appealing structure module prototype, the structurized module prototype of preserving in database is pushed in the Installed System Memory of all webpage decoration system servers by webpage decoration system.
Preferably, from database, obtain corresponding structurized module prototype according to finishing data specifically to comprise: again during appealing structure module prototype, webpage decoration system obtains according to the key value of preserving in finishing data and fits up data accordingly, and from Installed System Memory, obtains corresponding structurized module prototype according to finishing data; From database, obtain corresponding structurized module prototype according to browsing data specifically to comprise: again during appealing structure module prototype, webpage decoration system according to the corresponding browsing data of key value preserved in browsing data, and obtains corresponding structurized module prototype according to browsing data from Installed System Memory.
Preferably, from database, corresponding structurized module prototype is obtained according to finishing data, corresponding user data is loaded according to structurized module prototype, finishing data and module parameter information, Webpage is played up and specifically comprises: according to finishing data acquisition page prototype, the template code according to page prototype plays up the page; According to finishing data acquisition arrangement prototype, the template code according to layout prototype plays up layout; According to finishing data acquisition acquisition module prototype, the Groovy scripted code of execution module prototype, obtain the user data id information in finishing data, according to user data id information and module parameter information, obtain corresponding user data, calling velocity template code is filled in module by the user data of acquisition, renders the HTML fragment information of module; The HTML fragment information of module is returned to layout and carries out splicing and replace, obtain the HTML fragment information of layout; The HTML fragment information of layout is returned to Webpage and carries out splicing and replace, obtain the complete HTML information of Webpage.
Present invention also offers a kind of webpage decoration pusher, webpage decoration system is provided with in webpage decoration pusher, above-mentioned webpage decoration pusher specifically comprises: obtain memory module, for being obtained the data that the structurized module of background user to Webpage is fitted up by webpage decoration system Webpage finished system, and the finishing data of preserving page structure information in data are stored in file system server, the module parameter information in data is stored in database; Finishing rendering module, for by webpage decoration system obtain background user play up request, finishing data are obtained from file system server, and from database, obtain corresponding structurized module prototype according to finishing data, and load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage is played up; Browse rendering module, for being obtained the issue request of background user by webpage decoration system, by finishing data Replica in the browsing data of Webpage, obtain the browse request of foreground user, from database, corresponding structurized module prototype is obtained according to browsing data, and load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage is played up.
Beneficial effect of the present invention is as follows:
By by shop page structure modularization, meet the demand of seller personalized shop dress finishing; Finishing is separated with displaying, by Rendering logic separate customer end, makes the convenient access of other system.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the process flow diagram of the webpage decoration method for pushing of the embodiment of the present invention;
Fig. 2 is the schematic diagram that the system of the embodiment of the present invention is disposed;
Fig. 3 is the structural representation of the page structure module of the embodiment of the present invention;
Fig. 4 is the schematic diagram being stored into the finishing data in file system server of the embodiment of the present invention;
Fig. 5 is the schematic diagram designed the page of the embodiment of the present invention;
Fig. 6 is the schematic diagram designed layout of the embodiment of the present invention;
Fig. 7 is schematic diagram interpolation being deleted to layout and module of the embodiment of the present invention;
Fig. 8 is the schematic diagram of the real-time asynchronous display finishing effect of the embodiment of the present invention;
Fig. 9 is the schematic diagram of the structurized module prototype of the embodiment of the present invention;
Figure 10 is the data flow diagram on the module propelling movement backstage of the embodiment of the present invention;
Figure 11 is the signaling process figure played up Webpage of the embodiment of the present invention;
Figure 12 is the structural representation of the webpage decoration pusher of the embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
The invention provides a kind of webpage decoration method for pushing and device, by shop page structure modularization, meet the demand of seller personalized shop dress finishing; The problem that the mode adopting dynamic Groovy script+velocity to play up solves on-the-flier compiler deployment is issued without the need to shutting down; By structurized module prototype being pushed in the Installed System Memory of all webpage decoration system servers, realize independently issuing; Control by fitting up the shop finishing of rule to user; Finishing is separated with displaying, by Rendering logic independent of client, makes the convenient access of other system.Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, do not limit the present invention.
Embodiment of the method
According to embodiments of the invention, provide a kind of webpage decoration method for pushing, Fig. 1 is the process flow diagram of the webpage decoration method for pushing of the embodiment of the present invention, Fig. 2 is the schematic diagram that the system of the embodiment of the present invention is disposed, dispose based on system as shown in Figure 2, as shown in Figure 1, following process is comprised according to the webpage decoration method for pushing of the embodiment of the present invention:
Step 101, webpage decoration system obtains the data that the structurized module of background user to Webpage is fitted up, and the finishing data of preserving page structure information in data are stored in file system server, the module parameter information in data is stored in database;
It should be noted that, in embodiments of the present invention, have the data of three major types type, one is page data, and comprise finishing data and browsing data, this page data is kept in file system; The second is structurized module prototype, is stored in database, and the third user data, comprising: module parameter information and instance data etc., user data is also preserved in a database, when playing up the page, calls according to page data and module prototype.
Fig. 3 is the structural representation of the page structure module of the embodiment of the present invention, as shown in Figure 3, structurized module specifically comprises: the one or more modules under the one or more layouts under Webpage, Webpage, the one or more block under layout and block.Wherein, the page can add edit-modify layout, and layout can edit block; Block can add amendment editor module.
That is, in embodiments of the present invention, first need the shop page to carry out structuring fractionation: full page is carried out structuring fractionation: be divided into layout, block, module 3 kinds of structures; Wherein, the page is made up of multiple layout, and layout is made up of multiple block, and block is made up of multiple module, and module is the most fine-grained structure.
The data that structurized module is fitted up are comprised: the page structure information of the page, layout, block and/or module being fitted up according to pre-defined rule and the module parameter information of modifying according to the parameter of pre-defined rule to module.
Fig. 4 is the schematic diagram being stored into the finishing data in file system server of the embodiment of the present invention, and as shown in Figure 4, finishing data comprise the page, layout, block, module isostructuralism data.
Particularly, in a step 101, as shown in Figure 5, background user can be fitted up the page after entering visual finishing homepage, in background user when designing the page, can edit the top margin of Webpage, page footing and page body part; As shown in Figure 6, when background user designs layout, layout in 3 can be supported at present, that is, left wide not only narrow, left narrow but also wide, the layout of a page without columns.As shown in Figure 7, top margin, page footing and body part can be added, and delete, change various layout, cloth intra-office can add, and deletes, mobile various module.In addition, as shown in Figure 8, can the effect of real-time asynchronous display finishing in finishing homepage, can add equally, delete, mobile module, the connection that the module that during finishing, mouse is chosen is covered inside ash can not be clicked.
In actual applications, be provided with the operation that finishing rule is used for controlling user: such as, which kind of shop which kind of mode template is shown, which layout can be added, which module by rule control, to different shop types, allow the layout of interpolation different with module, such as, top margin can only add layout of a page without columns layout, and this layout can only add shop and recruit module, body part can add various layout, each layout can add various module, and some special module can not be deleted, and certain module can only add one inferior.
Step 102, webpage decoration system obtain background user play up request, finishing data are obtained from file system server, and from database, obtain corresponding structurized module prototype according to finishing data, and load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage is played up;
Structurized module prototype is the template of structurized module, and Fig. 9 is the schematic diagram of the structurized module prototype of the embodiment of the present invention, and wherein, structurized module prototype comprises: page prototype, layout prototype, block prototype and module prototype.The structurized module prototype of preserving in database comprises: page prototype, layout prototype and module prototype, in embodiments of the present invention, can concentrate the structurized module prototype managed independently and preserve in database.
Wherein, comprise respective template code respectively in page prototype and layout prototype, module prototype comprises the scripted code of corresponding template code and calling and obtaining user data.Template code in module prototype adopts velocity template instruction to write, and the scripted code in module prototype adopts Groovy dynamic script language compilation.Because Groovy belongs to dynamic script, after have modified code, do not need again to shut down compiling dispose (java language must shut down deployment).
That is, in embodiments of the present invention, need to take out prototype concept, iteration plays up the page: often kind of structure represent all with corresponding prototype for template is to fill particular content; Prototype is the template of often kind of structure, therefore page prototype is had, layout prototype, block prototype, module prototype, page prototypical layout prototype only plays bridge beam action and only has template code, and what finally present html code is module prototype, so module prototype also has the scripted code of padding data except having concrete template code.Wherein, page prototype, layout prototype and module prototype are all preserved in a database.
Preferably, in embodiments of the present invention, when first time appealing structure module prototype, the structurized module prototype of preserving in database is pushed in the Installed System Memory of all webpage decoration system servers by webpage decoration system.Again during appealing structure module prototype, webpage decoration system obtains according to the key value of preserving in finishing data and fits up data accordingly, and from Installed System Memory, obtains corresponding structurized module prototype according to finishing data;
That is, when fit up logic first time requested time, system is loaded in Installed System Memory by disposable to page prototype, layout prototype and module prototype, need not adjusting data storehouse again when needing to access these information later, can directly obtain from Installed System Memory.Thus reduce the execution time, reduce the foundation of object.
Particularly, in embodiments of the present invention, first-selection needs to set up module and pushes backstage, in the mode pushing away data, structurized module prototype is pushed to each webpage decoration system server, each webpage decoration system server is kept in local file by pushing the structurized module prototype of coming, when read structure module prototype without adjusting data storehouse, but call local file.
Figure 10 is the data flow diagram on the module propelling movement backstage of the embodiment of the present invention, and as shown in Figure 10, module pushes background access database and obtains structurized module prototype; Module pushes backstage and structurized module prototype is pushed to finished system place server, is kept in local file; The loader access local data file when first time request, by Data import in internal memory; When page parsing is played up, directly from internal memory, obtain data.
Step 103, webpage decoration system obtains the issue request of background user, by finishing data Replica in the browsing data of Webpage, obtain the browse request of foreground user, from database, corresponding structurized module prototype is obtained according to browsing data, and load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage is played up.
In step 103, when first time appealing structure module prototype, the structurized module prototype of preserving in database is pushed to after in the Installed System Memory of all webpage decoration system servers by webpage decoration system, again during appealing structure module prototype, webpage decoration system according to the corresponding browsing data of key value preserved in browsing data, and obtains corresponding structurized module prototype according to browsing data from Installed System Memory.
Particularly, in embodiments of the present invention, fit up data to be separated with the storage of modularization prototype, finishing data are that " key-value " structure stores, the finishing data of the page and browsing data are not directly kept in page data, but are kept at (such as, hbase) in file system.The page only preserves corresponding key, obtains finishing data and browsing data by key to file system.In addition, the finishing of the page preserved in file system and browsing data are not html completely, but the dom structure of self-defined tag (i.e. the framework information of the page, such as, which layout this page contains, and contains which module in layout).
In step 102 and step 103, from database, corresponding structurized module prototype is obtained according to finishing data, load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage played up and specifically comprises:
1, according to finishing data acquisition page prototype, the template code according to page prototype plays up the page; 2, according to finishing data acquisition arrangement prototype, the template code according to layout prototype plays up layout; 3, according to finishing data acquisition acquisition module prototype, the Groovy scripted code of execution module prototype, obtain the user data id information in finishing data, according to user data id information and module parameter information, obtain corresponding user data, calling velocity template code is filled in module by the user data of acquisition, renders the HTML fragment information of module; 4, the HTML fragment information of module returned to layout and carry out splicing replacement, obtaining the HTML fragment information of layout; 5, the HTML fragment information of layout returned to Webpage and carry out splicing replacement, obtaining the complete HTML information of Webpage.
Figure 11 is the signaling process figure played up Webpage of the embodiment of the present invention, as shown in figure 11, specifically comprises following process:
Step 1, step 2, obtain page data by the key in page data from file system, and wherein, page data comprises finishing data and browsing data;
Step 3, starts to play up the page;
Step 4, step 5, obtain page prototype;
Step 6, step 7, step 8, step 9, obtain the metamessages such as template from page prototype;
Step 10, starts to play up layout;
Step 11, step 12, obtain layout prototype;
Step 13, step 14, step 15, step 16, obtain the metamessages such as template from layout prototype;
Step 17, starts rendering module;
Step 18, step 19, step 20, obtain module prototype;
Step 21, step 22, execution module script produces data;
Step 23, step 24, step 25, call the data stuffing progressive die plate that velocity template will produce, render the html code snippet of module;
The module html code obtained is returned to layout and splices replacement by step 26, obtains the html code snippet of layout;
Step 27, returns to the page by the layout html code obtained and splices replacement, obtains the html complete code of the page.
As can be seen from step 102 and step 103, effect during page finishing only has background user oneself to see, when background user completes the finishing of oneself page, rear other foregrounds user of triggering issue operation just can see the page after finishing, concrete scheme is as follows: Page-saving two parts data, a part is the effect data of finishing, and a part is the browsing data after issuing; Background user logs in page editing when entering finished system, amendment, and what design waited finishing to operate is the finishing data of the page; When seller is renovated by the page, trigger and issue action, system can by the browsing data of the finishing data Replica of this page to the page; During the user's browsing pages of foreground is browsing data after the page is issued, if in other words background user fitted up the page changes of oneself page structure but do not trigger issue action so other foregrounds user see remain the browsing data after issuing last time.
In embodiments of the present invention, foreground user and webpage decoration system are by web logical layer interactive interfacing, webpage decoration system is undertaken alternately by other interfaces and database, file system, and wherein, web logical layer interface and other interfaces above-mentioned are separated.
In sum, by means of the technical scheme of the embodiment of the present invention, by shop page structure modularization, meet the demand of seller personalized shop dress finishing; The problem that the mode adopting dynamic Groovy script+velocity to play up solves on-the-flier compiler deployment is issued without the need to shutting down; By structurized module prototype being pushed in the Installed System Memory of all webpage decoration system servers, realize independently issuing; Control by fitting up the shop finishing of rule to user; Finishing is separated with displaying, by Rendering logic independent of client, makes the convenient access of other system.
Decoration embodiment
According to embodiments of the invention, provide a kind of webpage decoration pusher, webpage decoration system is provided with in webpage decoration pusher, Figure 12 is the structural representation of the webpage decoration pusher of the embodiment of the present invention, as shown in figure 12, webpage decoration pusher according to the embodiment of the present invention comprises: obtain memory module 120, finishing rendering module 122 and browse rendering module 124, being described in detail below to the modules of the embodiment of the present invention.
Obtain memory module 120, for being obtained the data that the structurized module of background user to Webpage is fitted up by webpage decoration system Webpage finished system, and the finishing data of preserving page structure information in data are stored in file system server, the module parameter information in data is stored in database;
Wherein, structurized module specifically comprises: the one or more modules under the one or more layouts under Webpage, Webpage, the one or more block under layout and block.
The data that structurized module is fitted up are comprised: the page structure information of the page, layout, block and/or module being fitted up according to pre-defined rule and the module parameter information of modifying according to the parameter of pre-defined rule to module.
Finishing rendering module 122, for by webpage decoration system obtain background user play up request, finishing data are obtained from file system server, and from database, obtain corresponding structurized module prototype according to finishing data, and load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage is played up;
Structurized module prototype is the template of structurized module, and wherein, structurized module prototype comprises: page prototype, layout prototype, block prototype and module prototype.
The structurized module prototype of preserving in database comprises: page prototype, layout prototype and module prototype, wherein, comprise respective template code respectively in page prototype and layout prototype, module prototype comprises the scripted code of corresponding template code and calling and obtaining user data.Template code in module prototype adopts velocity template instruction to write, and the scripted code in module prototype adopts Groovy dynamic script language compilation.
Preferably, when first time appealing structure module prototype, the structurized module prototype of preserving in database can be pushed in the Installed System Memory of all webpage decoration system servers by finishing rendering module 122.Again during appealing structure module prototype, finishing rendering module 122 obtains according to the key value of preserving in finishing data and fits up data accordingly, and from Installed System Memory, obtains corresponding structurized module prototype according to finishing data;
Browse rendering module 124, for being obtained the issue request of background user by webpage decoration system, by finishing data Replica in the browsing data of Webpage, obtain the browse request of foreground user, from database, corresponding structurized module prototype is obtained according to browsing data, and load corresponding user data according to structurized module prototype, finishing data and module parameter information, Webpage is played up.
Preferably, if there is not structurized module prototype in memory system, when first time appealing structure module prototype, browsing rendering module 124 can be pushed to the structurized module prototype of preserving in database in the Installed System Memory of all webpage decoration system servers.Browse rendering module 124 again appealing structure module prototype time, according to the corresponding browsing data of key value preserved in browsing data, and corresponding structurized module prototype can be obtained according to browsing data from Installed System Memory.
Fit up rendering module 122 and browse rendering module 124 and from database, obtain corresponding structurized module prototype according to finishing data, corresponding user data is loaded according to structurized module prototype, finishing data and module parameter information, when Webpage is played up, specifically be handled as follows: according to finishing data acquisition page prototype, the template code according to page prototype plays up the page; According to finishing data acquisition arrangement prototype, the template code according to layout prototype plays up layout; According to finishing data acquisition acquisition module prototype, the Groovy scripted code of execution module prototype, obtain the user data id information in finishing data, according to user data id information and module parameter information, obtain corresponding user data, calling velocity template code is filled in module by the user data of acquisition, renders the HTML fragment information of module; The HTML fragment information of module is returned to layout and carries out splicing and replace, obtain the HTML fragment information of layout; The HTML fragment information of layout is returned to Webpage and carries out splicing and replace, obtain the complete HTML information of Webpage.
Related content in the present embodiment can the corresponding contents of reference pattern embodiment be understood, and does not repeat them here.
In sum, by means of the technical scheme of the embodiment of the present invention, by shop page structure modularization, meet the demand of seller personalized shop dress finishing; The problem that the mode adopting dynamic Groovy script+velocity to play up solves on-the-flier compiler deployment is issued without the need to shutting down; By structurized module prototype being pushed in the Installed System Memory of all webpage decoration system servers, realize independently issuing; Control by fitting up the shop finishing of rule to user; Finishing is separated with displaying, by Rendering logic independent of client, makes the convenient access of other system.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the webpage decoration pusher of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.

Claims (10)

1. a webpage decoration method for pushing, is characterized in that, comprising:
Webpage decoration system obtains the data that the structurized module of background user to Webpage is fitted up, and the finishing data of preserving page structure information in described data are stored in file system server, the module parameter information in described data is stored in database;
What described webpage decoration system obtained background user plays up request, described finishing data are obtained from described file system server, and from described database, obtain corresponding structurized module prototype according to described finishing data, and load corresponding user data according to described structurized module prototype, described finishing data and described module parameter information, described Webpage is played up;
Described webpage decoration system obtains the issue request of background user, by described finishing data Replica in the browsing data of described Webpage, obtain the browse request of foreground user, from described database, corresponding structurized module prototype is obtained according to described browsing data, and load corresponding user data according to described structurized module prototype, described finishing data and described module parameter information, described Webpage is played up.
2. the method for claim 1, it is characterized in that, described structurized module specifically comprises: the one or more modules under the one or more layouts under Webpage, described Webpage, the one or more block under described layout and described block.
3. method as claimed in claim 2, it is characterized in that, the data that described structurized module is fitted up are comprised: the described page structure information of the described page, layout, block and/or module being fitted up according to pre-defined rule and the described module parameter information of modifying according to the parameter of described pre-defined rule to described module.
4. method as claimed in claim 2, it is characterized in that, described structurized module prototype is the template of described structurized module, and wherein, described structurized module prototype comprises: page prototype, layout prototype, block prototype and module prototype.
5. method as claimed in claim 4, it is characterized in that, the structurized module prototype of preserving in described database comprises: page prototype, layout prototype and module prototype, wherein, comprise respective template code respectively in described page prototype and described layout prototype, described module prototype comprises the scripted code of corresponding template code and calling and obtaining user data.
6. method as claimed in claim 5, is characterized in that, the template code in described module prototype adopts velocity template instruction to write, and the scripted code in described module prototype adopts Groovy dynamic script language compilation.
7. the method for claim 1, is characterized in that, described method also comprises:
When first time appealing structure module prototype, the structurized module prototype of preserving in described database is pushed in the Installed System Memory of all webpage decoration system servers by described webpage decoration system.
8. method as claimed in claim 7, is characterized in that,
From described database, obtain corresponding structurized module prototype according to described finishing data specifically to comprise:
Again during appealing structure module prototype, described webpage decoration system obtains according to the key value of preserving in described finishing data and fits up data accordingly, and from described Installed System Memory, obtains corresponding structurized module prototype according to described finishing data;
From described database, obtain corresponding structurized module prototype according to described browsing data specifically to comprise:
Again during appealing structure module prototype, described webpage decoration system according to the corresponding browsing data of key value preserved in described browsing data, and obtains corresponding structurized module prototype according to described browsing data from described Installed System Memory.
9. method as claimed in claim 6, it is characterized in that, from described database, corresponding structurized module prototype is obtained according to described finishing data, load corresponding user data according to described structurized module prototype, described finishing data and described module parameter information, described Webpage played up and specifically comprises:
Page prototype according to described finishing data acquisition, the template code according to described page prototype plays up the page;
Layout prototype according to described finishing data acquisition, the template code according to described layout prototype plays up layout;
Module prototype according to described finishing data acquisition, perform the Groovy scripted code of described module prototype, obtain the user data id information in described finishing data, according to described user data id information and described module parameter information, obtain corresponding user data, call velocity template code the described user data obtained is filled in described module, render the HTML fragment information of described module;
The HTML fragment information of described module is returned to described layout and carries out splicing and replace, obtain the HTML fragment information of described layout;
The HTML fragment information of described layout is returned to described Webpage and carries out splicing and replace, obtain the complete HTML information of described Webpage.
10. a webpage decoration pusher, is characterized in that, is provided with webpage decoration system in webpage decoration pusher, and described webpage decoration pusher specifically comprises:
Obtain memory module, for being obtained the data that the structurized module of background user to Webpage is fitted up by described webpage decoration system, and the finishing data of preserving page structure information in described data are stored in file system server, the module parameter information in described data is stored in database;
Finishing rendering module, request is played up for what obtained background user by described webpage decoration system, described finishing data are obtained from described file system server, and from described database, obtain corresponding structurized module prototype according to described finishing data, and load corresponding user data according to described structurized module prototype, described finishing data and described module parameter information, described Webpage is played up;
Browse rendering module, for being obtained the issue request of background user by described webpage decoration system, by described finishing data Replica in the browsing data of described Webpage, obtain the browse request of foreground user, from described database, corresponding structurized module prototype is obtained according to described browsing data, and load corresponding user data according to described structurized module prototype, described finishing data and described module parameter information, described Webpage is played up.
CN201210371897.XA 2012-09-28 2012-09-28 Webpage decoration method for pushing and device Active CN102902781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210371897.XA CN102902781B (en) 2012-09-28 2012-09-28 Webpage decoration method for pushing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210371897.XA CN102902781B (en) 2012-09-28 2012-09-28 Webpage decoration method for pushing and device

Publications (2)

Publication Number Publication Date
CN102902781A CN102902781A (en) 2013-01-30
CN102902781B true CN102902781B (en) 2015-08-05

Family

ID=47575013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210371897.XA Active CN102902781B (en) 2012-09-28 2012-09-28 Webpage decoration method for pushing and device

Country Status (1)

Country Link
CN (1) CN102902781B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391920B (en) * 2014-11-19 2018-04-27 沈文策 A kind of method of web page template Style Design
CN104599144A (en) * 2015-02-03 2015-05-06 北京京东尚科信息技术有限公司 Method and device for generating product details page
CN106990976A (en) * 2016-01-21 2017-07-28 阿里巴巴集团控股有限公司 A kind of page script loading method and device
CN105740364B (en) * 2016-01-26 2022-04-05 腾讯科技(深圳)有限公司 Page processing method and related device
CN107451145A (en) * 2016-05-31 2017-12-08 北京京东尚科信息技术有限公司 Rendered based on various dimensions multi-data source to generate the method and apparatus of dynamic page
CN107766344B (en) * 2016-08-15 2021-07-30 阿里巴巴集团控股有限公司 Template rendering method and device and browser
CN108153798B (en) * 2016-12-02 2022-02-18 阿里巴巴集团控股有限公司 Page information processing method, device and system
CN106875300A (en) * 2017-01-12 2017-06-20 安徽大尺度网络传媒有限公司 Internet house-purchase total management system and its processing method of Behavior-based control analysis
CN107169007B (en) * 2017-03-31 2021-04-16 北京奇艺世纪科技有限公司 Display interface setting method and device of mobile terminal
CN108694043B (en) * 2017-04-11 2022-04-12 北京京东尚科信息技术有限公司 Page decoration method and system
CN109002338A (en) * 2017-06-07 2018-12-14 阿里巴巴集团控股有限公司 Page rendering, page finishing information processing method and device
CN109558251B (en) * 2017-09-26 2021-04-30 北京京东尚科信息技术有限公司 Method and terminal for modifying page structure information
CN108763551B (en) * 2018-06-01 2022-01-28 创新先进技术有限公司 Page rendering method, device, server and computer readable storage medium
CN109670128B (en) * 2018-11-06 2021-06-04 躺平设计家(北京)科技有限公司 WebAssembly-based webpage application implementation method and device
CN110069737B (en) * 2019-04-19 2020-08-14 北京三快在线科技有限公司 Content generation method and device, computer equipment and storage medium
CN110909280A (en) * 2019-11-20 2020-03-24 杭州端点网络科技有限公司 Internet software web application page decoration system
CN112070591A (en) * 2020-09-15 2020-12-11 政采云有限公司 Page display method and device
CN112711404A (en) * 2020-12-29 2021-04-27 河北志晟信息技术股份有限公司 Method for generating special topic webpage template once and automatically releasing special topic webpage

Citations (2)

* 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
US7359935B1 (en) * 2002-12-20 2008-04-15 Versata Development Group, Inc. Generating contextual user network session history in a dynamic content environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7359935B1 (en) * 2002-12-20 2008-04-15 Versata Development Group, Inc. Generating contextual user network session history in a dynamic content environment
CN1869980A (en) * 2005-10-14 2006-11-29 华为技术有限公司 Device and method for page smart configuration

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于ActiveX的信息在线发布系统;徐胜祥等;《计算机工程与应用》;20041231;第137-139页 *

Also Published As

Publication number Publication date
CN102902781A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN102902781B (en) Webpage decoration method for pushing and device
Carey et al. The annotated VRML 2.0 reference manual
Selman Java 3D programming
CN101300621B (en) System and method for providing three-dimensional graphical user interface
CN106250128A (en) The display processing method of user interface and device
Boduch React and react native
US20040006743A1 (en) Method and apparatus for re-editing and redistributing web documents
US20080303827A1 (en) Methods and Systems for Animating Displayed Representations of Data Items
CN104216691A (en) Application creating method and device
US20090276479A1 (en) Distributed execution model for cross-organizational declarative web applications
CN106484394A (en) A kind of fast software development system with double engines
WO2006056985A2 (en) System and method for managing content of rich media
CN104679906A (en) Method and system for generating links by utilizing pictures
CN103593414A (en) Showing method and device of webpages in browser
US20080303826A1 (en) Methods and Systems for Animating Displayed Representations of Data Items
CN103377039B (en) A kind of web game exploitation, analytic method, a kind of editing machine and resolver
CN102982164A (en) Method and browser for presenting browser page
US20070255722A1 (en) Data-driven page layout
CN103034710A (en) Page rendering method and page rendering device for browser
CN111488102A (en) Modular editing method, terminal, server and system for graphic animation
Rizzo et al. Professional SharePoint 2010 Development
CN111651160B (en) Plug-in construction and webpage design method and device
Ruiz Mastering Android Application Development
CN114491964A (en) Digital twin modeling system capable of performing cooperative work
CN103135992A (en) Method of fast designing website mall according to individual characteristics requires of customer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant