CN108632361A - A kind of webpage loading method, server, system and storage medium - Google Patents

A kind of webpage loading method, server, system and storage medium Download PDF

Info

Publication number
CN108632361A
CN108632361A CN201810326098.8A CN201810326098A CN108632361A CN 108632361 A CN108632361 A CN 108632361A CN 201810326098 A CN201810326098 A CN 201810326098A CN 108632361 A CN108632361 A CN 108632361A
Authority
CN
China
Prior art keywords
standard grade
webpage
webm
reached
compiled
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.)
Granted
Application number
CN201810326098.8A
Other languages
Chinese (zh)
Other versions
CN108632361B (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810326098.8A priority Critical patent/CN108632361B/en
Publication of CN108632361A publication Critical patent/CN108632361A/en
Application granted granted Critical
Publication of CN108632361B publication Critical patent/CN108632361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The embodiment of the invention discloses a kind of webpage loading method, server, system and storage mediums.This method includes:Webpage WebM servers of setting for this platform receive user's request that WebM editing equipments are sent, and are parsed to user's request, determine and ask the page info of corresponding webpage to be reached the standard grade with user;If WebM servers detect that, there are compiler component in webpage to be reached the standard grade, the web data to be compiled that webpage of reaching the standard grade is treated according to compiler component is compiled;WebM servers generate request of reaching the standard grade according to the web data after compiling, and the request that will reach the standard grade is sent to back-end server, reaches the standard grade so that back-end server treats webpage of reaching the standard grade according to request of reaching the standard grade.The technical solution of the embodiment of the present invention avoids the participation of rear end developer, improves development efficiency, saves communication and development cost.

Description

A kind of webpage loading method, server, system and storage medium
Technical field
The present embodiments relate to Internet technical field more particularly to a kind of webpage loading method, server, system and Storage medium.
Background technology
It, can be by network come the popularization for publicizing some products or preferential activity with the fast development of network technology. Before propaganda activity, the publicity webpage for making related special activities is needed, so that visitor is in the activity network address that publisher sends out After click, it can be seen that the propaganda activity interface being linked to, to understand action message.
In general, the demand of active web pages is larger, and after page script is completed in front-end person who exploitation every time, be required for by The mapping relations of network address and active web pages are embedded in address on the line of script by rear end developer, to complete to active web pages Reach the standard grade.When in front end, developer needs to change page script, it is also desirable to find corresponding rear end developer in time and help Change, so that communication and the invisible increase of development cost, and reduce development efficiency.
Invention content
An embodiment of the present invention provides a kind of webpage loading method, server, system and storage mediums, are opened to avoid rear end The participation of hair personnel improves development efficiency, saves communication and development cost.
In a first aspect, an embodiment of the present invention provides a kind of webpage loading methods, including:
Webpage set for this platform WebM servers receive WebM editing equipments send user request, and to the user ask It is parsed, determines the page info for asking corresponding webpage to be reached the standard grade with the user;
If the WebM servers detect that there are compiler components in the webpage to be reached the standard grade, according to the compiler component The web data to be compiled of the webpage to be reached the standard grade is compiled;
The WebM servers generate request of reaching the standard grade according to the web data after compiling, after the request of reaching the standard grade is sent to Server is held, request reaches the standard grade to the webpage to be reached the standard grade so that the back-end server is reached the standard grade according to.
Second aspect, the embodiment of the present invention additionally provide a kind of webpage and set for this platform WebM servers, including:
Page info determining module, user's request for receiving the transmission of WebM editing equipments, and the user is asked It is parsed, determines the page info for asking corresponding webpage to be reached the standard grade with the user;
Collector, if there are compiler components in the webpage to be reached the standard grade for detecting, according to the compiler component The web data to be compiled of the webpage to be reached the standard grade is compiled;
It reaches the standard grade request sending module, for being reached the standard grade request according to the web data generation after compiling, by the request of reaching the standard grade It is sent to back-end server, request reaches the standard grade to the webpage to be reached the standard grade so that the back-end server is reached the standard grade according to.
The third aspect, the embodiment of the present invention additionally provide a kind of webpage and reach the standard grade system, the system comprises:Webpage is built flat Platform WebM servers, WebM editing equipments and back-end server;Wherein,
The webpage sets for this platform WebM servers for realizing the webpage side of reaching the standard grade as described in any embodiment of the present invention Method;
The WebM editing equipments are used to generate user's request according to user's operation, and user request is sent to institute State WebM servers;
The back-end server is used to reach the standard grade to the webpage to be reached the standard grade according to request of reaching the standard grade.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the webpage loading method as described in any embodiment of the present invention when the program is executed by processor.
The embodiment of the present invention by webpage set for this platform WebM servers receive WebM editing equipments send user ask, And user's request is parsed, determine the page info that corresponding webpage to be reached the standard grade is asked with user;It waits reaching the standard grade if detecting There are compiler components in webpage, then the web data to be compiled that webpage of reaching the standard grade is treated according to compiler component is compiled;According to volume Web data generation after translating is reached the standard grade request, and the request that will reach the standard grade is sent to back-end server, so that back-end server is according to reaching the standard grade Request treats webpage of reaching the standard grade and reaches the standard grade.By using the compiler component in WebM servers so that front end developer can be with Cast out and corresponding this process of network address of active web pages created by back-end server, active web pages are directly passed into compiler component, By compiler component come uploading activity webpage and corresponding network address, development efficiency is greatly improved, saves communication and exploitation Cost.
Description of the drawings
Fig. 1 is a kind of flow chart for webpage loading method that the embodiment of the present invention one provides;
Fig. 2 is that a kind of webpage provided by Embodiment 2 of the present invention is set for this platform the structural schematic diagrams of WebM servers;
Fig. 3 is that a kind of webpage that the embodiment of the present invention three provides is reached the standard grade the structural schematic diagram of system.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of a kind of webpage loading method that the embodiment of the present invention one provides, the present embodiment be applicable to by The case where customized exploitation script is reached the standard grade after being compiled, this method webpage in system that can be reached the standard grade by webpage are set for this platform WebM servers execute, and specifically comprise the following steps:
S110, webpage WebM servers of setting for this platform receive user's request that WebM editing equipments are sent, and are asked to user It asks and is parsed, determine the page info for asking corresponding webpage to be reached the standard grade with user.
Wherein, WebM (WebMarket, Blockbased Web Page are set for this platform) is that a user is taken by pulling page assembly Networking page in line platform.WebM editing equipments refer to the equipment that can edit webpage, and provides the apparatus abundant components.This WebM editing equipments in embodiment refer to the compiling equipment that compiler component is increased in existing component, and wherein compiler component is used It is compiled automatically in the customized webpage development script of developer.Non- developer knows due to not having exploitation profession Know, webpage can only be built using the existing component in WebM editing equipments, and the compiler component in the present embodiment is by front end Developer is used according to customized exploitation script.Webpage to be reached the standard grade can be but not limited to for propaganda activity Active web pages, i.e. HTML (HyperText Markup Language, hypertext markup language) template.Developer according to Family is needed can be with the corresponding page script of self-defined development activities webpage, to meet the individual demand of user with actual conditions. Illustratively, after developer logs in WebM editing equipments, one compiler component of dragging, will be according to pre-set specifications to editing area The script of the webpage to be reached the standard grade editted in advance is directed into the input frame of compiler component, and after clicking preview, WebM is edited Equipment sends user request to WebM servers so that WebM servers according to user ask to self-defined exploitation script into Row compiling, wherein user's request can refer to the requirement for compiler being compiled to self-defined exploitation script.
Optionally, after WebM servers receive user's request, user's request is parsed, is determined and user's request pair The page info for the webpage to be reached the standard grade answered, including:
Required parameter in asking user parses, and obtains the page mark of user conversation mark and webpage to be reached the standard grade Know;According to user conversation mark and presetting database, determine that user conversation identifies corresponding user information;According to page iden-tity, Obtain the page configuration information and page data information of webpage to be reached the standard grade, wherein page configuration information include module configuration information and Environment configuration information;According to environment configuration information, the translation and compiling environment parameter of webpage to be reached the standard grade is generated.
Wherein, after the present embodiment controller controllers in WebM servers receive user's request, can pass through Express application frameworks built in nodejs parse the required parameter in user's request, obtain user conversation mark (sessionid) and the page iden-tity of webpage to be reached the standard grade (pageid).Presetting database can be Redis (Remote Dictionary Server) database.WebM servers inquire user's meeting in the preset database according to user conversation mark Words identify the essential information and Permission Levels of corresponding user, to record all operation behaviors of user.In WebM servers Controller the page configuration information and page data information of webpage to be reached the standard grade are obtained according to page iden-tity, wherein the page Data information is referred to for generating the page data in webpage to be reached the standard grade.Illustratively, page configuration information may include but It is not limited to title, developer, component mark, editing mode etc..Environment configuration information can refer to the current environment of user's selection, Such as environment on joint debugging environment, test environment, pre- publication environment and line.
Illustratively, user's request can be parsed by following code, and determines the page of webpage to be reached the standard grade Information:
Wherein, getPage is used to obtain the page configuration information and page data of webpage to be reached the standard grade according to page iden-tity Information.Options be used to be generated according to environment configuration information compile wait reach the standard grade webpage when translation and compiling environment parameter.
If S120, WebM server detect that there are compiler components in webpage to be reached the standard grade, and treat according to compiler component The web data to be compiled of gauze page is compiled.
Wherein, it needs to be compiled customized exploitation script using compiler component in the present embodiment, so WebM takes Business device is detected according to the page info of webpage to be reached the standard grade whether there is compiler component in webpage to be reached the standard grade, if so, showing to wait for Gauze page is the customized exploitation script of developer, carries out customized development process at this time, if it is not, then showing to wait for gauze Page is the webpage that user is built using original component, is not customized exploitation script, carries out original development process at this time.Show Example property, it needs to be compiled using gulp shell-commands in original development process.
Optionally, before S120, further include:
WebM servers obtain the various components mark in webpage to be reached the standard grade according to the module configuration information in page info Know;Various components are identified and are matched with compiler component mark by WebM servers, if successful match, it is determined that webpage to be reached the standard grade In there are compiler components.
Wherein, the present embodiment can judge that webpage to be reached the standard grade is non-special according to information in the component Configuration in page info The page script or professional that industry personnel are obtained on WebM editing equipments using original component edits are edited in WebM to be set The self-defined exploitation script uploaded using compiler component on standby.Each original component and volume on WebM editing equipments in the present embodiment Corresponding one unique component mark of component is translated, and has prestored each original component in the database of WebM servers Component mark corresponding with compiler component.WebM servers include by according to module configuration information, obtaining in webpage to be reached the standard grade Each component mark, and by each component mark with pre-stored compiler component identify match, if successful match, Show to exist in webpage to be reached the standard grade and identify identical component mark with compiler component, can determine exist in webpage to be reached the standard grade at this time Compiler component, that is, webpage to be reached the standard grade are the self-defined exploitation feet that professional is uploaded on WebM editing equipments using compiler component This.If it fails to match, it is determined that compiler component is not present in webpage to be reached the standard grade, that is, shows that webpage to be reached the standard grade is that layman exists The page script obtained using original component edits on WebM editing equipments.
Optionally, treated according to compiler component in S120 webpage of reaching the standard grade web data to be compiled be compiled before, Further include:
WebM servers read the web data to be compiled in page info;Alternatively,
WebM servers send web data request to WebM editing equipments, and receive the outside of WebM editing equipments transmission The store path of input determines the web data to be compiled of webpage to be reached the standard grade according to store path.
Wherein, WebM servers are compiled it in the web data to be compiled for treating webpage of reaching the standard grade according to compiler component Before, need the web data to be compiled for obtaining webpage to be reached the standard grade.It is given in the present embodiment but to be not limited to two kinds of acquisitions to be compiled The mode of web data, one kind can be when wait there are when compiler component, show to parse user's request in webpage of reaching the standard grade Web data to be compiled is had existed in obtained page info, can read the webpage number to be compiled in page info at this time According to page data information in page info is directly determined as web data to be compiled.Another kind can be WebM servers to WebM editing equipments send web data request, when WebM editing equipments receive web data request, on display interface The choice box for showing web data path, so that user selects the store path of data to be compiled.External input in the present embodiment Store path can be but not limited to the store path that user is inputted by choice box.WebM editing equipments can will store road Diameter is sent to WebM servers, so that WebM servers obtain web data to be compiled according to store path.WebM, which is edited, to be set It is standby can also first store path obtain web data to be compiled, web data to be compiled is then sent to WebM servers again, So that WebM servers directly acquire web data to be compiled.User can select any net to be compiled according to actual demand The acquisition modes of page promote user experience to meet the individual demand of user.
Optionally, the web data to be compiled for treating webpage of reaching the standard grade in S120 according to compiler component is compiled, including:
WebM servers are decoded web data to be compiled, and default Hook Function is added to web data to be compiled In, and build data place holder according to pre-set specifications;According to the environment configuration information in page info, to be compiled after addition Web data is compiled, and generates the web data after compiling.
Wherein, some data are encrypted in the web data to be compiled obtained in the present embodiment, first right to need Web data to be compiled is decoded.Default Hook Function can be that (Hypertext Preprocessor, hypertext are pre- by PHP Processor) hook, for capturing and handling particular message.Pre-set specifications can be that WebM servers and back-end server both sides are pre- The specification first arranged, WebM servers can determine the quantity and mark of structure data place holder according to preset rules, by net When page data is sent to back-end server, the placeholder that back-end server can be built with automatic identification stores the web data To the corresponding position of the placeholder.Translation and compiling environment ginseng is generated according to the environment configurations parameter in page info in the present embodiment Number corresponds to the web data to be compiled after addition Hook Function according to translation and compiling environment parameter and is compiled, after generating compiling Web data, reached the standard grade with carrying out webpage.
Optionally, after WebM servers are decoded web data to be compiled, further include:
WebM servers add the mutual jump logic script of the computer PC pages and the mobile terminal page.
Wherein, mutual logic script of jumping can be added in decoded webpage to be compiled by WebM servers, so that exploitation H5 (HTML5) pages and PC (Personal Computer, personal computer) page can mobile terminal and the ends PC automatically into Row identification and adjustment.Illustratively, if when mobile phone terminal opens the PC pages, the H5 pages can be automatic jumped to and be adjusted to The pixel ratio for adapting to mobile phone, to which the user experience is improved.
S130, WebM server generate request of reaching the standard grade according to the web data after compiling, and the request that will reach the standard grade is sent to rear end Server is reached the standard grade so that back-end server treats webpage of reaching the standard grade according to request of reaching the standard grade.
Wherein, the web data after compiling can be filled into JSON by the WebM servers in the present embodiment In (JavaScript Object Notation, JS object tag) file, then by call back function, read in JSON files Web data, and the web data is sent to back-end server, to reach the standard grade.
Optionally, WebM servers generate request of reaching the standard grade according to the web data after compiling in S130, including:
WebM servers create unified resource corresponding with webpage to be reached the standard grade according to the environment configuration information in page info Finger URL;WebM servers generate request of reaching the standard grade according to the web data after uniform resource locator and compiling.
Wherein, WebM servers generate translation and compiling environment parameter according to environment configuration information, are created according to translation and compiling environment parameter Uniform resource locator corresponding with webpage to be reached the standard grade creates the corresponding network address of webpage to be reached the standard grade, to eliminate rear end clothes This process of business device mapping template creates corresponding this process of network address of active web pages, greatly improves development efficiency.
Optionally, back-end server treats webpage of reaching the standard grade according to request of reaching the standard grade and reaches the standard grade in S130, including:
Back-end server obtains web data and uniform resource locator after compiling, and according to volume according to request of reaching the standard grade The page data in the web data after placeholder storage compiling in web data after translating;After back-end server establishes compiling Web data and uniform resource locator between mapping relations, and mapping relations are sent to aol server.
Wherein, back-end server receive reach the standard grade request when, obtain compiling after web data and uniform resource locator, And the placeholder in the web data after compiling is obtained, determine the corresponding storage location of the placeholder according to pre-set specifications, and will Page data in web data is stored to the storage location.Back-end server in the present embodiment can refer to Intranet service Device is tested when there is no problem for webpage of reaching the standard grade in intranet server, mapping relations is sent to aol server, to realize public affairs Net accesses so that any user can be linked to corresponding active web pages, to realize the upper of webpage by clicking address Line.
The embodiment of the present invention by webpage set for this platform WebM servers receive WebM editing equipments send user ask, And user's request is parsed, determine the page info that corresponding webpage to be reached the standard grade is asked with user;It waits reaching the standard grade if detecting There are compiler components in webpage, then the web data to be compiled that webpage of reaching the standard grade is treated according to compiler component is compiled;According to volume Web data generation after translating is reached the standard grade request, and the request that will reach the standard grade is sent to back-end server, so that back-end server is according to reaching the standard grade Request treats webpage of reaching the standard grade and reaches the standard grade.By using the compiler component in WebM servers so that front end developer can be with Cast out and corresponding this process of network address of active web pages created by back-end server, active web pages are directly passed into compiler component, By compiler component come uploading activity webpage and corresponding network address, development efficiency is greatly improved, saves communication and exploitation Cost.
Embodiment two
Fig. 2 is that a kind of webpage provided by Embodiment 2 of the present invention is set for this platform the structural schematic diagrams of WebM servers, this reality Apply the case where example is applicable to reach the standard grade after being compiled customized exploitation script.The webpage is set for this platform WebM server packets It includes:Page info determining module 210, collector 220 and request sending module 230 of reaching the standard grade.
Wherein, page info determining module 210, user's request for receiving the transmission of WebM editing equipments, and to user Request is parsed, and determines the page info that corresponding webpage to be reached the standard grade is asked with user;Collector 220, if for detecting To there are compiler components in webpage to be reached the standard grade, then the web data to be compiled that webpage of reaching the standard grade is treated according to compiler component is compiled It translates;Request sending module of reaching the standard grade 230, for generating request of reaching the standard grade according to the web data after compiling, the request that will reach the standard grade is sent to Back-end server is reached the standard grade so that back-end server treats webpage of reaching the standard grade according to request of reaching the standard grade.
Optionally, which further includes:
Component identifier acquisition module, if for there are compiler components in detecting webpage to be reached the standard grade, according to compiling group Part treat webpage of reaching the standard grade web data to be compiled be compiled before, according to the module configuration information in page info, obtain Various components mark in webpage to be reached the standard grade;
Compiler component determining module, for various components mark to be matched with compiler component mark, if successful match, Then determine that there are compiler components in webpage to be reached the standard grade.
Optionally, which further includes:
Web data determining module to be compiled, in the web data to be compiled for treating webpage of reaching the standard grade according to compiler component Before being compiled, the web data to be compiled in page info is read;Alternatively,
Web data request is sent to WebM editing equipments, and receives the externally input storage of WebM editing equipments transmission Path determines the web data to be compiled of webpage to be reached the standard grade according to store path.
Optionally, collector 220 is specifically used for:
Web data to be compiled is decoded, default Hook Function is added in web data to be compiled, and according to Pre-set specifications build data place holder;According to the environment configuration information in page info, to the web data to be compiled after addition It is compiled, generates the web data after compiling.
Optionally, collector 220 is additionally operable to:After WebM servers are decoded web data to be compiled, add Add the mutual jump logic script of the computer PC pages and the mobile terminal page.
Optionally, request sending module of reaching the standard grade 230, is additionally operable to:
According to the environment configuration information in page info, uniform resource locator corresponding with webpage to be reached the standard grade is created;Root Request of reaching the standard grade is generated according to the web data after uniform resource locator and compiling.
Optionally, back-end server is used for:
According to request of reaching the standard grade, web data and uniform resource locator after compiling are obtained, and according to the webpage after compiling The page data in the web data after placeholder storage compiling in data;Establish web data and unified resource after compiling Mapping relations between finger URL, and mapping relations are sent to aol server.
Above-mentioned webpage WebM servers of setting for this platform can perform the webpage loading method that is provided of any embodiment of the present invention, Have and executes the corresponding function module of webpage loading method and advantageous effect.
Embodiment three
Fig. 3 is that a kind of webpage that provides of the embodiment of the present invention three is reached the standard grade the structural schematic diagram of system, such as Fig. 3, the system packet It includes:Webpage is set for this platform WebM servers 310, WebM editing equipments 320 and back-end server 330.
Wherein, webpage is set for this platform the webpage side of reaching the standard grade that WebM servers propose for realizing any embodiment of the present invention Method;WebM editing equipments are used to generate user's request according to user's operation, and user's request is sent to WebM servers;Rear end Server is used to treat webpage of reaching the standard grade according to request of reaching the standard grade and reach the standard grade.
Webpage in the present embodiment reach the standard grade system the course of work it is as follows:
Front end developer logs in WebM according to the script of actual demand and the self-defined development activities webpage of pre-set specifications After editing equipment 320, the compiler component in a WebM editing equipment 320 is pulled to compiling area, then selects the compiler component, Custom activities webpage compiled in advance is affixed in the input frame of compiler component, after clicking preview, generates user's request, And it is sent to WebM servers 310.After WebM servers 310 receive user's request, user's request is parsed, determination waits for It reaches the standard grade the page info of webpage, is detecting wait, there are when compiler component, upper gauze being treated according to compiler component in webpage of reaching the standard grade The web data to be compiled of page is compiled, and creates uniform resource locator corresponding with webpage to be reached the standard grade, and according to compiling after Web data and uniform resource locator generation reach the standard grade request, be sent to back-end server 330, the reception of back-end server 330 To after request of reaching the standard grade, treats webpage of reaching the standard grade and reaches the standard grade, establish the mapping relations between web data and uniform resource locator, And mapping relations are sent to placed into service device, to complete reaching the standard grade for webpage.
In the present embodiment, when front end developer wants change active web pages, then by the page script weight after change It newly affixes in the input frame of the compiler component in WebM editing equipments 320, the active web pages after the modification is carried out again It reaches the standard grade.
Webpage in the present embodiment is reached the standard grade system, by increasing compiler component, WebM services in WebM editing equipments 320 Device 310 is compiled page data and creates corresponding network address using compiler component, and back-end server 330 need to will wait reaching the standard grade The mapping relations of webpage and network address are sent to aol server, are not necessarily to the help of rear end developer, you can realize the upper of webpage Line.To improve development efficiency and save communication and development cost.
Example IV
The present embodiment provides a kind of computer readable storage mediums, are stored thereon with computer program, which is handled The webpage loading method as described in any embodiment of the present invention is realized when device executes.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art Part can be expressed in the form of software products, which can be stored in computer readable storage medium In, such as the floppy disk of computer, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set The webpage that standby (can be personal computer, server or the network equipment etc.) executes described in each embodiment of the present invention is reached the standard grade Method.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of webpage loading method, which is characterized in that including:
Webpage set for this platform WebM servers receive WebM editing equipments send user request, and to the user ask carry out Parsing determines the page info that corresponding webpage to be reached the standard grade is asked with the user;
If the WebM servers detect that there are compiler components in the webpage to be reached the standard grade, according to the compiler component to institute The web data to be compiled for stating webpage to be reached the standard grade is compiled;
The WebM servers generate request of reaching the standard grade according to the web data after compiling, and the request of reaching the standard grade is sent to rear end clothes Business device, so that the back-end server is reached the standard grade according to, request reaches the standard grade to the webpage to be reached the standard grade.
2. according to the method described in claim 1, it is characterized in that, if there are compiling groups in detecting the webpage to be reached the standard grade Part further includes before being then compiled to the web data to be compiled of the webpage to be reached the standard grade according to the compiler component:
The WebM servers are each in webpage to be reached the standard grade described in acquisition according to the module configuration information in the page info Component identifies;
The various components are identified and are matched with compiler component mark by the WebM servers, if successful match, it is determined that There are compiler components in the webpage to be reached the standard grade.
3. according to the method described in claim 1, it is characterized in that, according to the compiler component to the webpage to be reached the standard grade Before web data to be compiled is compiled, including:
The WebM servers read the web data to be compiled in the page info;Alternatively,
The WebM servers send web data request to the WebM editing equipments, and receive the WebM editing equipments hair The externally input store path sent, according to the web data to be compiled of webpage to be reached the standard grade described in store path determination.
4. according to the method described in claim 1, it is characterized in that, the WebM servers according to the compiler component to described The web data to be compiled of webpage to be reached the standard grade is compiled, including:
The WebM servers are decoded the web data to be compiled, default Hook Function are added to described to be compiled In web data, and data place holder is built according to pre-set specifications;
According to the environment configuration information in the page info, the web data to be compiled after addition is compiled, generates and compiles Web data after translating.
5. according to the method described in claim 4, it is characterized in that, in the WebM servers to the web data to be compiled After being decoded, further include:
The mutual jump logic script of the addition of WebM servers the computer PC pages and the mobile terminal page.
6. according to the method described in claim 4, it is characterized in that, the WebM servers are given birth to according to the web data after compiling At request of reaching the standard grade, including:
The WebM servers create corresponding with the webpage to be reached the standard grade according to the environment configuration information in the page info Uniform resource locator;
The WebM servers are asked according to reaching the standard grade described in the web data generation after the uniform resource locator and the compiling It asks.
7. according to the method described in claim 6, request is to described it is characterized in that, the back-end server is reached the standard grade according to Webpage to be reached the standard grade is reached the standard grade, including:
The back-end server is reached the standard grade request according to, obtains the web data after compiling and the uniform resource locator, And according to the page data in the web data after the placeholder storage compiling in the web data after the compiling;
The back-end server establishes the web data after compiling and the mapping relations between the uniform resource locator, and will The mapping relations are sent to aol server.
The WebM servers 8. a kind of webpage is set for this platform, which is characterized in that including:
Page info determining module, user's request for receiving the transmission of WebM editing equipments, and the user is asked to carry out Parsing determines the page info that corresponding webpage to be reached the standard grade is asked with the user;
Collector, if there are compiler components in the webpage to be reached the standard grade for detecting, according to the compiler component to institute The web data to be compiled for stating webpage to be reached the standard grade is compiled;
Request sending module of reaching the standard grade sends the request of reaching the standard grade for generating request of reaching the standard grade according to the web data after compiling To back-end server, so that the back-end server is reached the standard grade according to, request reaches the standard grade to the webpage to be reached the standard grade.
The system 9. a kind of webpage is reached the standard grade, which is characterized in that the system comprises:Webpage set for this platform WebM servers, WebM compile Collect equipment and back-end server;Wherein,
The webpage sets for this platform WebM servers for realizing the webpage loading method as described in claim 1-7 is any;
The WebM editing equipments are used to generate user's request according to user's operation, and user request are sent to described WebM servers;
The back-end server is used to reach the standard grade to the webpage to be reached the standard grade according to request of reaching the standard grade.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The webpage loading method as described in any in claim 1-7 is realized when execution.
CN201810326098.8A 2018-04-12 2018-04-12 Webpage online method, server, system and storage medium Active CN108632361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810326098.8A CN108632361B (en) 2018-04-12 2018-04-12 Webpage online method, server, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810326098.8A CN108632361B (en) 2018-04-12 2018-04-12 Webpage online method, server, system and storage medium

Publications (2)

Publication Number Publication Date
CN108632361A true CN108632361A (en) 2018-10-09
CN108632361B CN108632361B (en) 2021-06-15

Family

ID=63705211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810326098.8A Active CN108632361B (en) 2018-04-12 2018-04-12 Webpage online method, server, system and storage medium

Country Status (1)

Country Link
CN (1) CN108632361B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275701A (en) * 2019-06-19 2019-09-24 网易传媒科技(北京)有限公司 Data processing method, device, medium and calculating equipment
CN110908652A (en) * 2019-10-31 2020-03-24 爱钱进(北京)信息科技有限公司 Method and device for creating active page and compiling active page
CN112035107A (en) * 2020-08-26 2020-12-04 北京字节跳动网络技术有限公司 Method, device and equipment for editing webpage elements and storage medium
CN112235129A (en) * 2020-09-23 2021-01-15 新浪网技术(中国)有限公司 Server online method, system, computer equipment and storage medium
CN112596714A (en) * 2020-12-10 2021-04-02 车巴达(苏州)网络科技有限公司 Webpage development method, device, terminal, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201642A (en) * 2016-06-29 2016-12-07 微梦创科网络科技(中国)有限公司 A kind of template automatization based on NODEJS compiling loading method and system
CN106227742A (en) * 2016-07-12 2016-12-14 乐视控股(北京)有限公司 Dynamic web page based on B/S pattern generates method, server and system
CN106371829A (en) * 2016-08-24 2017-02-01 北京邮电大学 Modularization thinking-based template framework design method and system
CN206479986U (en) * 2017-01-18 2017-09-08 深圳市雨云科技有限公司 Data access system
CN107357810A (en) * 2017-06-01 2017-11-17 武汉斗鱼网络科技有限公司 A kind of method and system for being used to export special topic landing page
CN107577459A (en) * 2017-08-21 2018-01-12 杰为软件系统(深圳)有限公司 A kind of towed cross-platform development system and method based on modularization

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201642A (en) * 2016-06-29 2016-12-07 微梦创科网络科技(中国)有限公司 A kind of template automatization based on NODEJS compiling loading method and system
CN106227742A (en) * 2016-07-12 2016-12-14 乐视控股(北京)有限公司 Dynamic web page based on B/S pattern generates method, server and system
CN106371829A (en) * 2016-08-24 2017-02-01 北京邮电大学 Modularization thinking-based template framework design method and system
CN206479986U (en) * 2017-01-18 2017-09-08 深圳市雨云科技有限公司 Data access system
CN107357810A (en) * 2017-06-01 2017-11-17 武汉斗鱼网络科技有限公司 A kind of method and system for being used to export special topic landing page
CN107577459A (en) * 2017-08-21 2018-01-12 杰为软件系统(深圳)有限公司 A kind of towed cross-platform development system and method based on modularization

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275701A (en) * 2019-06-19 2019-09-24 网易传媒科技(北京)有限公司 Data processing method, device, medium and calculating equipment
CN110908652A (en) * 2019-10-31 2020-03-24 爱钱进(北京)信息科技有限公司 Method and device for creating active page and compiling active page
CN112035107A (en) * 2020-08-26 2020-12-04 北京字节跳动网络技术有限公司 Method, device and equipment for editing webpage elements and storage medium
CN112235129A (en) * 2020-09-23 2021-01-15 新浪网技术(中国)有限公司 Server online method, system, computer equipment and storage medium
CN112596714A (en) * 2020-12-10 2021-04-02 车巴达(苏州)网络科技有限公司 Webpage development method, device, terminal, server and storage medium

Also Published As

Publication number Publication date
CN108632361B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN108632361A (en) A kind of webpage loading method, server, system and storage medium
CN105099811B (en) Interface testing method and device
CN108574604B (en) Test method and device
CN101937439B (en) Method and system for collecting user access related information
CN106897215A (en) A kind of method gathered based on WebView webpages loading performance and user behavior flow data
CN104639653A (en) Self-adaptive method and system based on cloud architecture
CN104268082A (en) Pressure test method and pressure test device for browser
CN103902534B (en) A kind of method and apparatus of web page program triggering local operation
JP2021039718A (en) Automated application programming interface (API) specification creation
CN107508720A (en) A kind of automated testing method and device
CN105426549A (en) Method and device for reading webpage resources and electronic equipment
CN104869135B (en) The method and terminal of data interaction
CN105701153B (en) Method and device for reading webpage resources and electronic equipment
CN109829121B (en) Method and device for reporting click behavior data
CN105677730B (en) Method and device for reading webpage resources and electronic equipment
CN102664945B (en) For document down loading method, device and system that time-out connects
CN112015383A (en) Login method and device
CN108090156A (en) A kind of method that book keeping operation artificial intelligence accounting system can be cooperateed with based on HTML5 establishments
CN110768860B (en) Test method, test device and electronic equipment
CN108170414A (en) A kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method
CN108200126A (en) Object method for uploading and device
CN107888451A (en) The method of testing and device of a kind of Web server
CN109327530B (en) Information processing method, device, electronic equipment and storage medium
CN108345508A (en) Interface calls test method and device
CN105721205A (en) APP download link pushing method and router

Legal Events

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