CN106021617B - The method and apparatus that the page generates - Google Patents

The method and apparatus that the page generates Download PDF

Info

Publication number
CN106021617B
CN106021617B CN201610546133.8A CN201610546133A CN106021617B CN 106021617 B CN106021617 B CN 106021617B CN 201610546133 A CN201610546133 A CN 201610546133A CN 106021617 B CN106021617 B CN 106021617B
Authority
CN
China
Prior art keywords
page
data
component
template
request
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
CN201610546133.8A
Other languages
Chinese (zh)
Other versions
CN106021617A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610546133.8A priority Critical patent/CN106021617B/en
Publication of CN106021617A publication Critical patent/CN106021617A/en
Application granted granted Critical
Publication of CN106021617B publication Critical patent/CN106021617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • 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

Abstract

The present invention relates to the method and apparatus that a kind of page generates, including:It sends the page and generates request to server, so that server generates the corresponding system template of acquisition request according to the page, the system template includes component and corresponding configuration data, the configuration data is transferred to the component, so that component is updated the data according to the configuration data from far-end server acquisition, by the system template and return is updated the data;According to the system template and display initial page is updated the data, the flexible and convenient generation of energy has the page of interaction capabilities.

Description

The method and apparatus that the page generates
Technical field
The present invention relates to field of computer technology, the method and apparatus generated more particularly to a kind of page.
Background technology
With the development of computer technology, the propagation and business of more and more industries by Webpage into row information It promotes.Many webpages have certain similitude in terms of content, can be generated by masterplate.
Traditional template page application scenarios are limited, and generally static page, content of pages are fixed, when web page contents need It when adjustment, needs to increase by way of changing source program or changed content, cumbersome, dumb convenience.
Invention content
Based on this, it is necessary in view of the above technical problems, a kind of method and apparatus that the page generates are provided, it can be flexible and convenient Generation have the pages of interaction capabilities.
A kind of transmission page generates request to server, so that according to the page to generate acquisition request corresponding for server System template, the system template include component and corresponding configuration data, and the configuration data is transferred to the component, with So that component is updated the data from far-end server acquisition according to the configuration data, by the system template and updates the data return;
According to the system template and update the data display initial page.
A kind of device that the page generates, described device include:
The page generates request module, and request is generated to server, so that server is according to the page for sending the page The corresponding system template of acquisition request is generated, the system template includes component and corresponding configuration data, by the configuration number According to the component is transferred to, so that component is updated the data according to the configuration data from far-end server acquisition, by the system Template and update the data return;
Page display module, for according to the system template and updating the data display initial page.
The method and apparatus that the above-mentioned page generates generate request to server by sending the page so that server according to The page generates the corresponding system template of acquisition request, and system template includes component and corresponding configuration data, and configuration data is passed It is handed to component, so that component is updated the data according to configuration data from far-end server acquisition, system template and updating the data is returned It returns, according to system template and updates the data display initial page, using the form of system template, various components are repeatable to be utilized, The changeable system template of pattern can be obtained by combine component, improved the flexibility for generating the page, passed through configuration data It is updated the data from far-end server acquisition, configuration data can be configured voluntarily as needed, and it includes update to be to the page generated The page of the dynamic page of data, generation has interaction capabilities.
A kind of method that the page generates, the method includes:
It receives the page that terminal is sent and generates request, the corresponding system template of acquisition request, institute are generated according to the page It includes component and corresponding configuration data to state system template;
The configuration data is transferred to the component, so that component is obtained according to the configuration data from far-end server It updates the data, by the system template and updates the data and be back to terminal, so that terminal is according to the system template and update number According to display initial page.
A kind of device that the page generates, described device include:
The page generates ask respond module, and the page for receiving terminal transmission generates request, is generated according to the page The corresponding system template of acquisition request, the system template include component and corresponding configuration data;
Data update returns to module, for the configuration data to be transferred to the component, so that component is matched according to It sets data to update the data from far-end server acquisition, by the system template and updates the data and be back to terminal, so that terminal root According to the system template and update the data display initial page.
The method and apparatus that the above-mentioned page generates generate request by receiving the page that terminal is sent, are generated according to the page The corresponding system template of acquisition request, system template include component and corresponding configuration data, and configuration data is transferred to component, So that component is updated the data according to configuration data from far-end server acquisition, by system template and updates the data and is back to terminal, So that terminal is according to system template and updates the data display initial page, using the form of system template, various components are repeatable It utilizes, the changeable system template of pattern can be obtained by combine component, improve the flexibility for generating the page, pass through and configure Data are updated the data from far-end server acquisition, and configuration data can be configured voluntarily as needed, to which the page generated is to include The page of the dynamic page updated the data, generation has interaction capabilities.
Description of the drawings
Fig. 1 is the applied environment figure for the method that the page generates in one embodiment;
Fig. 2 is the internal structure chart of terminal in Fig. 1 in one embodiment;
Fig. 3 is the internal structure chart of server in Fig. 1 in one embodiment;
Fig. 4 is the flow chart for the method that the page generates in one embodiment;
Fig. 5 is the flow chart that the publication page is shown in one embodiment;
Fig. 6 is the method system Organization Chart that the page generates in one embodiment;
Fig. 7 is the flow chart for the method that another page generates in one embodiment;
Fig. 8 is the structure diagram for the device that the page generates in one embodiment;
Fig. 9 is the structure diagram for the device that the page generates in another embodiment;
Figure 10 is the structure diagram for the device that the page generates in further embodiment;
Figure 11 is the structure diagram for the device that the page generates in another embodiment;
Figure 12 is the structure diagram for the device that another page generates in one embodiment;
Figure 13 is the structure diagram for the device that another page generates in another embodiment;
Figure 14 is the structure diagram for the device that another page generates in further embodiment.
Specific implementation mode
Fig. 1 is the applied environment figure for the method operation that the page generates in one embodiment.As shown in Figure 1, the application environment Including terminal 110, server 120, far-end server 130, wherein terminal 110, server 120, far-end server 130 can lead to Network is crossed to be communicated.
Terminal 110 can be smart mobile phone, tablet computer, laptop, desktop computer etc., and however, it is not limited to this. Server 120 can generate request according to the page of terminal 110 and update the data request, remote service to the transmission of far-end server 130 Device 130 returns to corresponding update the data according to request is updated the data.Server 120 will be generated with the page asks corresponding system mould Plate and return is updated the data, so that terminal generates and shows initial page.
In one embodiment, the internal structure of the terminal 110 in Fig. 1 is as shown in Fig. 2, the terminal 110 includes passing through to be Processor, graphics processing unit, storage medium, memory, network interface, display screen and the input equipment of bus of uniting connection.Its In, the storage medium of terminal 110 is stored with operating system, further includes the device that first page generates, the device is for realizing one The method that kind is generated suitable for the page of terminal.The processor supports entire terminal 110 for providing calculating and control ability Operation.Drawing ability of the graphics processing unit at least providing display interface in terminal 110, inside saves as in storage medium The operation of navigation device provides environment, and network interface is used to carry out network communication with server 120, such as be sent to server 120 The page generates request etc..Display screen is for showing application interface etc., and input equipment is for receiving order input by user or number According to etc., such as receive the edit operation to the page.For the terminal 110 with touch screen, show that screen and input equipment can be to touch Screen.
In one embodiment, in Fig. 1 server 120 internal structure as shown in Fig. 2, the server 120 include pass through Processor, storage medium, memory and the network interface of system bus connection.Wherein, the storage medium of the server 120 is stored with The device that operating system, database and a kind of second page generate, database for storing data, such as system template, the dress It sets for realizing a kind of method that the page suitable for server 120 generates.The processor of the server 120 is for providing calculating And control ability, support the operation of entire server 120.Save as what the page in storage medium generated in the server 120 The operation of device provides environment.The network interface of the server 120 with terminal 110, far-end server 130 by network for being connected Letter is connected, for example is updated the data to the request of far-end server 130, to 110 returned data of terminal etc..
In one embodiment, as shown in figure 4, a kind of method that the page generates is provided, to be applied to above application ring Terminal in border is come for example, including the following steps:
Step S210 sends the page and generates request to server, corresponded to so that server generates acquisition request according to the page System template, system template includes component and corresponding configuration data, and configuration data is transferred to component so that component according to Configuration data is updated the data from far-end server acquisition, by system template and updates the data return.
Specifically, the page refers to the information carrier that the information visuallizations such as word, figure are presented, can be Webpage, Can also be customer terminal webpage, the corresponding course selection page in end of such as training customers.Not according to development language and development environment Together, it can be the different types of page.When needing to generate the page, the page is sent by terminal to server and generates request, the page Generate request can carrying system masterplate mark or carry page attribute information, page attribute information refers to relevant with page elements Information, wherein page elements include the element of the regulations page basic information such as page-size, page style, page color, are also wrapped The content that word, table, video, audio etc. are presented on the page is included, may also include and believe with the relevant information of the page, such as business Breath, such as trains the page, shopping page, the prize drawing page or scope of application, such as applicable age, gender, be convenient for server according to Page attribute information searches matched system template.System masterplate mark be used for one system masterplate of unique mark, can by The mode of the corresponding page effect thumbnail of terminal display system masterplate receives user and is chosen to a specific thumbnail, obtained It is identified to system masterplate.The frame for having certain topic that system masterplate is made of component, is the entrance of the page, and component is abstract From different activities and business, each component has corresponding script, realizes that the effect of component is shown by perform script, such as card Component, abstract component etc., different system masterplates can be according to self-defined including one or more different components.Configuration data is used In to system masterplate show form and data content configures, be divided into setting type configuration data and request type configuration number According to setting type configuration data are static datas, and such as page elements pattern, page elements are in the position of the page, size, background face Color etc., request type configuration data are dynamic datas, and such as data request parameter, wherein data request parameter are for being taken to distal end The parameter for device request data of being engaged in can then be obtained according to course identification from far-end server if data request parameter is course identification Title, cover, the teacher that attends class, number of applicants of course etc..Request type configuration data can be only included, if in configuration data Type configuration data are not provided with, then the default style can be used and be configured, are convenient for quick-generation pages.The corresponding script of component The request type configuration data in configuration data is identified, to obtain corresponding data request parameter, according to data request parameter It is updated the data from far-end server acquisition.Wherein data request parameter can be carried to generate in the page and be asked, to system template The data request parameter in request, which is generated, according to the page obtains corresponding configuration data.
In one embodiment, configuration data includes setting type configuration data and request type configuration data.
Specifically, setting type configuration data show form to the basis of the page and are configured, convenient for generate customization from The page is defined, convenient for meeting the needs of different-style.Request type configuration data is dynamically updated the data for obtaining, will be static Setting and dynamic data update combine, and more flexible can configure the page generated.
Step S220 according to system template and updates the data display initial page.
Specifically, the corresponding display location of various components in system template is obtained, by various components according to configuration data pair The effect answered shows to form initial page, obtains corresponding update the data of various components and be filled, obtain including dynamic data Initial page.
In the present embodiment, request is generated to server by sending the page, is obtained so that server generates request according to the page It includes component and corresponding configuration data to take corresponding system template, system template, and configuration data is transferred to component, so that group Part is updated the data according to configuration data from far-end server acquisition, by system template and return is updated the data, according to system template With update the data display initial page, using the form of system template, various components are repeatable to be utilized, and can be obtained by combine component The system template changeable to pattern improves the flexibility for generating the page, is obtained from far-end server by configuration data It updates the data, configuration data can be configured voluntarily as needed, and it includes the dynamic page updated the data to be to the page generated, raw At the page have interaction capabilities.
In one embodiment, after step S220, further include:The edit operation to initial page is received, according to editor Operation sends edit requests to server, is waited for so that server changes initial page according to edit requests according to flush logic Issue the page.
Specifically, after showing initial page, visual editing environment is formed, shows the corresponding appearance of component, Component is now in editor's state, and the component in editor's state is subjected to edit operation, according to the position of edit operation and corresponding Information is edited, such as background color modification information, edit requests is generated, edit requests is sent to server, edit requests can be right Initial page before is modified, and flush logic refers to the logic that modification shows effect, if edit requests are modification background colour Request, carries target background color information, then flush logic is according to the target background color acquisition of information pair carried in edit requests The background color answered, then background color is arranged to the corresponding position of initial page, for being repaiied to request type configuration data The case where changing, flush logic needs to be updated the data from far-end server acquisition is new according to new configuration data, to be repaiied The page after changing, to initial page into the page after the completion of edlin be the page to be released.It, can be quick by visually editing It needs the data changed to modify with interface setting the page, generates the page corresponding with demand, it is simple and convenient, after the modification It can promptly appreciate that modification effect, further facilitate the page for generating and needing.
In one embodiment, as shown in figure 5, after step S220, further include:
Step S310 sends page posting request to server, so that server is pending according to the acquisition of page posting request The corresponding goal systems template of the cloth page and publication data fill goal systems template according to publication data, and according to target system Dependence between the corresponding script of component for template of uniting merges script progress component and is packaged to obtain page publication data packet.
Specifically, page iden-tity can be carried in page posting request, and during the page generates request response, server Being generated for each page asks the corresponding page to be assigned with page iden-tity, and record the corresponding system template of page iden-tity and according to What configuration data obtained updates the data, and includes edited editing and updating number if having carried out page editing to initial page According to the variable in system masterplate is directly substituted for and is updated the data or the edited system for updating the data to obtain after filling data Masterplate.Can also be packaged when, the variable in system masterplate is not substituted for directly update the data or it is edited update the data, It is subsequently updated the data from far-end server acquisition further according to configuration data, load is shown after updating the data.Analysis system masterplate packet Each script is merged and is packaged by the dependence between the various components included, and a file is such as written, the script money after being merged Source can be used third party library and merge processing to script, and compression optimization processing can be carried out after merging, obtain page publication data Packet.Page publication data packet is deployed in the publication that the page is completed on the server for providing the service of access.With access rights User can obtain page publication data packet, to accession page.
Step S320 obtains the page and issues data packet, and the corresponding script of data packet executive module, display are issued according to the page Issue the page.
Specifically, after obtaining page publication data packet, first decompressed to obtain parent page publication data packet, then execute page Issue the corresponding script of system masterplate various components in data packet, the corresponding data of load various components, according to configuration data in face It is updated the data from far-end server acquisition, includes in position corresponding with component, the display publication page by data.
In the present embodiment, script progress component is merged according to the dependence between script and is packaged to obtain page publication data Packet, reduces resource occupation space, performance is optimized.Component is packaged processing procedure can be real by the build tool one-key operation The automatic packaging optimization processing that the existing page generates, further improves the convenience of page generation.
In one embodiment, system template is corresponding with business, and the publication page is and the relevant page of business.
It, can corresponding group of design system template according to demand specifically, different business has corresponded to different system modules Part, same system module, according to the difference of configuration data have obtained from far-end server it is different update the data, to have Show form for different, the page of such as drawing a lottery can obtain different prizes according to different configuration datas, different to obtain The prize drawing page.Different data, which are configured, according to business demand obtains the corresponding publication page.
In one embodiment, after the step of display publication page, further include:Monitor component business datum, works as business When data update, updated the data from far-end server acquisition.
Specifically, business datum is such as time or the operation real-time update of user, such as the discount coupon on shopping page, As the quantity for getting increasing for number and discount coupon is constantly reduced, by monitoring business data, when service data updating, from Far-end server, which pulls, to be updated the data, and the page is issued, as loose-leaf can show different effects according to updating the data for return Fruit is to user.The operation tense of component does not have to exploitation or product owner's concern is updated, and whole process is clear in user It lookes in device or client and is automatically performed, it is very convenient.
In one embodiment, component includes assembly initialization interface and component refresh interface.
Specifically, assembly initialization interface is used to configuration data being transferred to the component, so that component is matched according to It sets data to update the data from far-end server acquisition, by system template and updates the data return.Server can receive the page When generation request and the publication page are followed by receiving data update request, the acquisition of invocation component initialization interface updates the data.Component Refresh interface is used for when component is when editing state, and changing the initial page according to flush logic obtains the page to be released.Component It only needs to complete what all components needs when generating the page were completed by assembly initialization interface and component refresh interface Work, it is only necessary to change the parameter of interface, so that it may different page effects is generated, it is simple and convenient, convenient for extension.
In a specific embodiment, the system architecture diagram that the page generates is as shown in fig. 6, the detailed process that the page generates It is as follows:1, by Module Development Method module 410, various components are obtained, various components are allocated to be formed according to business demand Each system template, and be stored in database 420, loose-leaf list, template list, component are stored in database 420 List, user list etc..2, the system masterplate that activity need module 430 selects to need for user is asked to send page generation It asks to server and obtains corresponding system template, show initial page.3, pass through visual edit module 440 in initial page The page is configured and is edited, obtains the page to be released, then carry out packing and issuing, finally obtains the loose-leaf after publication.
In one embodiment, as shown in fig. 7, a kind of method that the page generates is provided, to be applied to above application ring Server in border comes for example, including the following steps:
Step S510, receives the page that terminal is sent and generates request, and the corresponding system mould of acquisition request is generated according to the page Plate, system template include component and corresponding configuration data.
Specifically, the page generate request can carrying system masterplate mark or carry page attribute information, page attribute information Refer to the relevant information of page elements, wherein page elements include the regulations pages such as page-size, page style, page color The element of basic information also includes the content that word, table, video, audio etc. are presented on the page, may also include and page phase The information of pass, such as business information, such as the training page, shopping page, the prize drawing page or the scope of application, are such as applicable in age, gender Matched system template searched according to page attribute information Deng, server.System masterplate mark is used for one system of unique mark Masterplate can receive user and contract to specific one by way of in the corresponding page effect thumbnail of terminal display system masterplate Sketch map is chosen, and system masterplate mark is obtained.The frame for having certain topic that system masterplate is made of component, is the page Entrance, component is abstract, and from different activities and business, each component has corresponding script, and the effect of component is realized by perform script Fruit shows, such as card assemblies, abstract component, and different system masterplates can be according to self-defined including one or more different groups Part.System template is corresponding with business, and the publication page is and the relevant page of business.Configuration data is for showing system masterplate Form and data content are configured, and setting type configuration data and request type configuration data are divided into, and type configuration number is arranged According to being static data, such as page elements pattern, page elements are in the position of the page, size, background color etc., request type configuration Data are dynamic datas, such as data request parameter, and wherein data request parameter is for the ginseng to far-end server request data Number, if data request parameter is course identification, then can according to course identification from far-end server obtain the title of course, cover, It attends class teacher, number of applicants etc..Request type configuration data can be only included, if being not provided with type configuration in configuration data Data then can be used the default style and be configured, and be convenient for quick-generation pages.In the corresponding script identification configuration data of component Request type configuration data is obtained according to data request parameter from far-end server to obtain corresponding data request parameter It updates the data.Wherein data request parameter can be carried to generate in the page and be asked, and be asked to which system template is generated according to the page In data request parameter obtain corresponding configuration data.
Configuration data is transferred to component by step S520, so that component obtains more according to configuration data from far-end server New data by system template and updates the data and is back to terminal, so that terminal is according to system template and to update the data display initial The page.
Specifically, according to different configuration datas from far-end server obtain it is different update the data, by system template and It updates the data and is back to terminal, terminal obtains the corresponding display location of various components in system template, by various components according to matching It sets the corresponding effect of data to show to form initial page, obtains corresponding update the data of various components and be filled, including The initial page of dynamic data.
In the present embodiment, request is generated by receiving the page that terminal is sent, it is corresponding to generate acquisition request according to the page System template, system template include component and corresponding configuration data, and configuration data is transferred to component, so that component is according to matching It sets data to update the data from far-end server acquisition, by system template and updates the data and be back to terminal, so that terminal is according to being System and updates the data display initial page at template, and using the form of system template, various components are repeatable to be utilized, and combination can be passed through Component obtains the changeable system template of pattern, improves the flexibility for generating the page, by configuration data from remote service Device acquisition updates the data, and configuration data can be configured voluntarily as needed, and it includes the dynamic updated the data to be to the page generated The page of the page, generation has interaction capabilities.
In one embodiment, after step S520, further include:The edit requests that terminal is sent are received, are asked according to editor Rooting obtains the page to be released according to flush logic modification initial page.
Specifically, after terminal shows initial page, visual editing environment is formed, shows the corresponding appearance effect of component Fruit, component are now in editor's state, and the component in editor's state is subjected to edit operation, according to the position of edit operation and correspondence Editor's information generate edit requests such as background color modification information, the edit requests that server receiving terminal is sent, according to Edit requests modify to initial page before, and flush logic refers to the logic that modification shows effect, as edit requests are Background colour request is changed, carries target background color information, then flush logic is according to the target background color carried in edit requests The corresponding background color of acquisition of information, then background color is arranged to the corresponding position of initial page, for matching to request type Setting data has the case where modification, flush logic to need to be updated the data from far-end server acquisition is new according to new configuration data, To obtain the modified page, to initial page into the page after the completion of edlin be the page to be released.By visual Editor quickly can need the data changed to modify with interface setting the page, generate the page corresponding with demand, simple side Just, modification effect can be promptly appreciated that after the modification, further facilitate the page for generating and needing.
In one embodiment, after step S520, further include:The page posting request that terminal is sent is received, according to page Face posting request obtains the corresponding goal systems template of the page to be released and publication data, and goal systems is filled according to publication data Template, and script progress component is merged according to the dependence between the corresponding script of the component of goal systems template and is packaged to obtain page Issue data packet in face.
Specifically, page iden-tity can be carried in page posting request, and during the page generates request response, server Being generated for each page asks the corresponding page to be assigned with page iden-tity, and record the corresponding system template of page iden-tity and according to What configuration data obtained updates the data, and includes edited editing and updating number if having carried out page editing to initial page According to the variable in system masterplate is directly substituted for and is updated the data or the edited system for updating the data to obtain after filling data Masterplate.Can also be packaged when, the variable in system masterplate is not substituted for directly update the data or it is edited update the data, It is subsequently updated the data from far-end server acquisition further according to configuration data, load is shown after updating the data.Analysis system masterplate packet Each script is merged and is packaged by the dependence between the various components included, and a file is such as written, the script money after being merged Source can be used third party library and merge processing to script, and compression optimization processing can be carried out after merging, obtain page publication data Packet.Page publication data packet is deployed in the publication that the page is completed on the server for providing the service of access.With access rights User can obtain page publication data packet, to accession page.
In the present embodiment, script progress component is merged according to the dependence between script and is packaged to obtain page publication data Packet, reduces resource occupation space, performance is optimized.Component is packaged processing procedure can be real by the build tool one-key operation The automatic packaging optimization processing that the existing page generates, further improves the convenience of page generation.
In one embodiment, as shown in figure 8, providing a kind of device that the page generates, including:
The page generates request module 610, and request is generated to server, so that server is given birth to according to the page for sending the page At the corresponding system template of acquisition request, system template includes component and corresponding configuration data, and configuration data is transferred to group Part by system template and updates the data return so that component is updated the data according to configuration data from far-end server acquisition.
Page display module 620, for according to system template and updating the data display initial page.
In one embodiment, configuration data includes setting type configuration data and request type configuration data.
In one embodiment, as shown in figure 9, device further includes:
Editor module 630 sends edit requests to clothes for receiving the edit operation to initial page according to edit operation Business device, so that server changes initial page according to edit requests according to flush logic obtains the page to be released.
In one embodiment, as shown in Figure 10, device further includes:
Page issuing module 640, for sending page posting request to server, so that server is asked according to page publication It asks and obtains the corresponding goal systems template of the page to be released and publication data, goal systems template is filled according to publication data, and Merge script progress component according to the dependence between the corresponding script of the component of goal systems template to be packaged to obtain page publication Data packet obtains the page and issues data packet, and the corresponding script of data packet executive module, the display publication page are issued according to the page.
In one embodiment, system template is corresponding with business, and the publication page is and the relevant page of business.
In one embodiment, as shown in figure 11, device further includes:
Update module 650, for being obtained from far-end server when service data updating by monitor component business datum It takes and updates the data.
In one embodiment, as shown in figure 12, a kind of device that the page generates is provided, device includes:
The page generates ask respond module 710, and the page for receiving terminal transmission generates request, is asked according to page generation It asks and obtains corresponding system template, system template includes component and corresponding configuration data.
Data update returns to module 720, for configuration data to be transferred to the component, so that component is according to configuration data It is updated the data from far-end server acquisition, by system template and updates the data and be back to terminal, so that terminal is according to system template With update the data display initial page.
In one embodiment, as shown in figure 13, device further includes:
Posting request respond module 730, the page posting request for receiving terminal transmission, is obtained according to page posting request The corresponding goal systems template of the page to be released and publication data are taken, according to publication data filling goal systems template, and according to Dependence between the corresponding script of component of goal systems template merges script progress component and is packaged to obtain page publication data Packet.
In one embodiment, as shown in figure 14, device further includes:
Edit requests respond module 740, the edit requests for receiving terminal transmission, is patrolled according to edit requests according to refreshing It collects modification initial page and obtains the page to be released.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, in the embodiment of the present invention, which can be stored in the storage medium of computer system, and by the computer system At least one processor executes, and includes the flow such as the embodiment of above-mentioned each method with realization.Wherein, the storage medium can be Magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (14)

1. a kind of method that page generates, the method includes:
It sends the page and generates request to server, so that server generates the corresponding system mould of acquisition request according to the page Plate, the system template include component and corresponding configuration data, the configuration data are transferred to the component, so that component It is updated the data from far-end server acquisition according to the configuration data, by the system template and updates the data return;
According to the system template and display initial page is updated the data, forms visual editing environment, the component is in Editable state;
Page posting request is sent to server, is corresponded to so that server obtains the page to be released according to the page posting request Goal systems template and publication data, goal systems template is filled according to publication data, and according to the group of goal systems template Dependence between the corresponding script of part merges script progress component and is packaged to obtain page publication data packet;
The page publication data packet is obtained, issuing data packet according to the page executes the corresponding script of the component, display Issue the page.
2. according to the method described in claim 1, it is characterized in that, the configuration data includes setting type configuration data and asks Seek type configuration data.
3. according to the method described in claim 1, it is characterized in that, it is described according to the system template and update the data display just After the step of beginning page, further include:
The edit operation to the initial page is received, edit requests are sent to server, so that clothes according to the edit operation Business device changes the initial page according to flush logic according to the edit requests and obtains the page to be released.
4. according to the method described in claim 1, it is characterized in that, the system template is corresponding with business, the publication page For with the relevant page of business.
5. according to the method described in claim 1, it is characterized in that, after the step of page is issued in the display, further include:
The monitor component business datum is updated the data when the service data updating from far-end server acquisition.
6. according to the method described in claim 1, it is characterized in that, the component includes assembly initialization interface and component refreshing Interface.
7. a kind of method that page generates, the method includes:
It receives the page that terminal is sent and generates request, the corresponding system template of acquisition request, the system are generated according to the page Template of uniting includes component and corresponding configuration data;
The configuration data is transferred to the component, is updated so that component is obtained according to the configuration data from far-end server Data by the system template and update the data and are back to terminal, so that terminal is according to the system template and updates the data aobvious Show initial page, form visual editing environment, the component is in editable state;
The page posting request that terminal is sent is received, the corresponding target system of the page to be released is obtained according to the page posting request Template of uniting and publication data fill goal systems template according to publication data, and corresponding according to the component of goal systems template Dependence between script merges script progress component and is packaged to obtain page publication data packet.
8. by the system template and updating the data the method according to the description of claim 7 is characterized in that described and being back to end End, so that terminal further includes according to the system template and after updating the data the step of showing initial page:
The edit requests that terminal is sent are received, the initial page is changed according to flush logic according to the edit requests and is waited for Issue the page.
9. the device that a kind of page generates, which is characterized in that described device includes:
The page generates request module, and request is generated to server, so that server is generated according to the page for sending the page The corresponding system template of acquisition request, the system template include component and corresponding configuration data, and the configuration data is passed It is handed to the component, so that component is updated the data according to the configuration data from far-end server acquisition, by the system template It is returned with updating the data;
Page display module, for visually being edited according to the system template with display initial page, formation is updated the data Environment, the component are in editable state;
Page issuing module, for sending page posting request to server, so that server is according to the page posting request The corresponding goal systems template of the page to be released and publication data are obtained, goal systems template, and root are filled according to publication data Merge script progress component according to the dependence between the corresponding script of the component of goal systems template to be packaged to obtain page publication number According to packet, the page publication data packet is obtained, issuing data packet according to the page executes the corresponding script of the component, display Issue the page.
10. device according to claim 9, which is characterized in that the configuration data include setting type configuration data and Request type configuration data.
11. device according to claim 9, which is characterized in that described device further includes:
Editor module sends edit requests extremely for receiving the edit operation to the initial page according to the edit operation Server, so that server changes the initial page according to the edit requests according to flush logic obtains the page to be released.
12. device according to claim 9, which is characterized in that the system template is corresponding with business, the publication page For with the relevant page of business.
13. device according to claim 9, which is characterized in that described device further includes:
Update module, for being obtained from far-end server when the service data updating by the monitor component business datum It takes and updates the data.
14. the device that a kind of page generates, which is characterized in that described device includes:
The page generates ask respond module, and the page for receiving terminal transmission generates request, is generated and is asked according to the page Corresponding system template is obtained, the system template includes component and corresponding configuration data;
Data update returns to module, for the configuration data to be transferred to the component, so that component is according to the configuration number It is updated the data according to from far-end server acquisition, by the system template and updates the data and be back to terminal, so that terminal is according to institute It states system template and updates the data display initial page, form visual editing environment, the component is in editable state;
Posting request respond module, the page posting request for receiving terminal transmission are obtained according to the page posting request The corresponding goal systems template of the page to be released and publication data fill goal systems template according to publication data, and according to mesh Dependence between the corresponding script of component of mark system template merges script progress component and is packaged to obtain page publication data packet.
CN201610546133.8A 2016-07-12 2016-07-12 The method and apparatus that the page generates Active CN106021617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610546133.8A CN106021617B (en) 2016-07-12 2016-07-12 The method and apparatus that the page generates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610546133.8A CN106021617B (en) 2016-07-12 2016-07-12 The method and apparatus that the page generates

Publications (2)

Publication Number Publication Date
CN106021617A CN106021617A (en) 2016-10-12
CN106021617B true CN106021617B (en) 2018-09-28

Family

ID=57109426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610546133.8A Active CN106021617B (en) 2016-07-12 2016-07-12 The method and apparatus that the page generates

Country Status (1)

Country Link
CN (1) CN106021617B (en)

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708504A (en) * 2016-11-15 2017-05-24 深圳市丰巨泰科电子有限公司 Personalized control method for generating APP through doodling
CN106776909B (en) * 2016-11-28 2021-04-06 努比亚技术有限公司 Page creating method and device
CN108153798B (en) * 2016-12-02 2022-02-18 阿里巴巴集团控股有限公司 Page information processing method, device and system
CN106980508A (en) * 2017-04-01 2017-07-25 百度在线网络技术(北京)有限公司 Method and apparatus for generating the page
CN107066175B (en) * 2017-04-18 2020-06-16 湖南福米信息科技有限责任公司 Method and device for generating display interface of securities
CN107391736B (en) * 2017-08-07 2020-11-20 玫瑰视界(北京)网络科技有限公司 Page display method and device
CN107633013A (en) * 2017-08-17 2018-01-26 广州酷狗计算机科技有限公司 Page picture generation method, device and computer-readable recording medium
CN109542543B (en) * 2017-09-21 2021-12-14 腾讯科技(深圳)有限公司 Application page processing method and device, storage medium and computer equipment
CN109857473A (en) * 2017-11-29 2019-06-07 北京京东尚科信息技术有限公司 A kind of loading method and device of page data
CN108345482B (en) * 2017-12-29 2022-03-15 广州品唯软件有限公司 Dynamic page custom editing method and device, electronic equipment and storage medium
CN108037923B (en) * 2018-01-02 2022-02-08 武汉斗鱼网络科技有限公司 Lottery service implementation method and component
CN113055702B (en) * 2018-02-08 2023-06-27 广州虎牙信息科技有限公司 Method, system and client for displaying business components
CN110162354B (en) * 2018-02-13 2022-05-13 北京嘀嘀无限科技发展有限公司 Method, system and computer equipment for configuring and displaying components
CN108920147B (en) * 2018-06-11 2021-12-14 京信网络系统股份有限公司 Web page construction method and device, computing equipment and storage medium
CN109101156B (en) * 2018-08-22 2021-07-20 苏州达家迎信息技术有限公司 Information display method and device, terminal and storage medium
CN109388396A (en) * 2018-09-18 2019-02-26 深圳壹账通智能科技有限公司 Page generation method, device, computer equipment and storage medium
CN109495553B (en) * 2018-10-31 2020-12-22 腾讯科技(深圳)有限公司 Webpage display control method and system and reverse proxy server
CN110018867A (en) * 2018-11-12 2019-07-16 阿里巴巴集团控股有限公司 Method and apparatus for page interaction
CN109656549B (en) * 2018-11-30 2022-05-27 广州净松软件科技有限公司 Construction method and device of monitoring system, computer equipment and storage medium
CN109614188B (en) * 2018-12-01 2021-09-03 广东鸿正软件技术有限公司 Page online help method and device, computer equipment and storage medium
CN109739497A (en) * 2018-12-06 2019-05-10 深圳市中农网有限公司 Page development method, apparatus, computer equipment and storage medium
CN110046384B (en) * 2019-03-12 2021-02-12 北京字节跳动网络技术有限公司 Model instantiation method and device, electronic equipment and computer-readable storage medium
CN111831893B (en) * 2019-04-22 2024-04-09 百度在线网络技术(北京)有限公司 Floor page generation method, floor page generation device and server
CN110045999B (en) * 2019-04-23 2022-03-11 北京三快在线科技有限公司 Method, device, terminal and storage medium for drawing assembly
CN110086880B (en) * 2019-05-07 2020-05-22 北京字节跳动网络技术有限公司 Method and apparatus for creating instances of network requests
CN112068873A (en) * 2019-06-10 2020-12-11 腾讯科技(深圳)有限公司 Webpage generation method, device, server and storage medium
CN110347958A (en) * 2019-06-18 2019-10-18 平安银行股份有限公司 Production method, device, equipment and the storage medium of aggregation page
CN110457026A (en) * 2019-08-01 2019-11-15 上海麦克风文化传媒有限公司 A kind of configurable method for updating pages
CN110457045B (en) * 2019-08-16 2023-05-16 百度在线网络技术(北京)有限公司 Component combining and compiling method, device, equipment and storage medium
KR102321845B1 (en) 2021-01-06 2021-11-05 쿠팡 주식회사 Electronic apparatus for providing information and data providing method thereof
CN111273908A (en) * 2020-02-14 2020-06-12 神州数码融信软件有限公司 Automatic generation method of business interface
CN111324575B (en) * 2020-03-20 2023-05-02 成都药王科技股份有限公司 OM operation activity management system
CN111610972B (en) * 2020-05-22 2023-10-13 北京百度网讯科技有限公司 Page generation method, device, equipment and storage medium
CN112307379B (en) * 2020-07-15 2023-07-28 长沙市到家悠享家政服务有限公司 Page generation method, device and equipment
CN112230915A (en) * 2020-09-07 2021-01-15 长沙市到家悠享家政服务有限公司 Page generation method and device and electronic equipment
CN112230916A (en) * 2020-10-10 2021-01-15 湖南皖湘科技有限公司 Method for quickly generating user-defined webpage
CN112559222A (en) * 2020-12-23 2021-03-26 百果园技术(新加坡)有限公司 Message display method and device, computer equipment and storage medium
CN113138763A (en) * 2021-04-14 2021-07-20 招商银行股份有限公司 Page construction method, device, equipment and computer readable storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6249291B1 (en) * 1995-09-22 2001-06-19 Next Software, Inc. Method and apparatus for managing internet transactions
US8850482B2 (en) * 2008-10-27 2014-09-30 At&T Intellectual Property I, L.P. Method and apparatus for creating dynamic webpages in a media communication system
CN101807209A (en) * 2010-04-14 2010-08-18 深圳市同洲电子股份有限公司 Method and system for manufacturing webpage, client and server
CN102637184A (en) * 2011-02-15 2012-08-15 北京千橡网景科技发展有限公司 Method and system for customizing webpages
CN103309861B (en) * 2012-03-07 2018-04-10 阿里巴巴集团控股有限公司 The method and apparatus that cross-domain data obtains
CN103312803B (en) * 2013-06-17 2016-07-13 杭州华三通信技术有限公司 Optimization method and device are experienced in a kind of web access
CN103488480A (en) * 2013-09-09 2014-01-01 百度在线网络技术(北京)有限公司 Method and system for page display
CN104142826A (en) * 2014-07-28 2014-11-12 百度在线网络技术(北京)有限公司 Method, device and system for constructing page
CN104572968B (en) * 2014-12-30 2018-06-26 北京奇虎科技有限公司 A kind of method for updating pages and device
CN105573765A (en) * 2015-12-29 2016-05-11 武汉传神信息技术有限公司 Implementation method for dynamic form, client and server

Also Published As

Publication number Publication date
CN106021617A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106021617B (en) The method and apparatus that the page generates
CN105867931B (en) The variation and device at information displaying interface
US9122767B2 (en) Method and apparatus for pre-rendering expected system response
US9024952B2 (en) Discovering and configuring representations of data via an insight taxonomy
CN108040278A (en) Active page processing method, server, system and the storage medium of smart television
CN111259644B (en) Rich text processing method, editor, equipment and storage medium
CN109614601A (en) Form processing method, device, equipment and readable medium based on web
CN107451184A (en) Page display method and device, user equipment, storage medium
CN107273548A (en) The implementation method and device of dynamic page
CN102902545A (en) Decomposing markup language elements for animation
CN110020356A (en) A kind of code generating method of page module, apparatus and system
CN107329979A (en) A kind of data object methods of exhibiting and device
CN109977026A (en) Test webpage rollback method and device
CN111857700A (en) Template marketing activity publishing method and system
CN107179920A (en) Network engine starts method and device
CN105912328B (en) Display methods, device and the web system of the web system page
US11157395B2 (en) Automated test coverage of computing systems
CN103778154A (en) Form property reverse writing method and device
CN107247785A (en) A kind of static readonly map file generation method and device
CN112307377A (en) Information display method and device and electronic equipment
US10715586B2 (en) Application demonstration system
CN107239268A (en) A kind of method for processing business, device and intelligent terminal
CN110489724A (en) Synthetic method, mobile terminal and the storage medium of hand-written script
CN114547515A (en) Page generation method, system, device, equipment and storage medium
CN115810064A (en) Map making and publishing platform construction method based on open source GIS technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant