Adaptive approach and system based on cloud framework
Technical field
The present invention relates to technical field of network communication, particularly relate to a kind of adaptive approach and system based on cloud framework,
And applied to the visualization on-line customization processing method and processing device in the system.
Background technique
Web browser is the Client browse program of WWW (Web) service, can send various ask to Web server
It asks, and the hypertext information and various multimedia data formats sent from server is explained, shown and played.With work
Stand, PC machine is compared, mobile terminal resource is relatively limited, therefore mobile terminal web browsing device is compared with running in work station, PC machine
Web browser is more difficult in exploitation, functionally there is more limitations.It is most of at present just because of this reason
Mobile terminal built-in web browser cannot parse execution, and comprising complexity JS, (JavaScript, one kind are driven based on object and event
Move and have the client-side scripting language of relative safety) Web page, this causes mobile terminal built-in web browser cannot
Normal browsing includes the Web page of complexity JS.
It is existing in order to solve the problems, such as that mobile terminal built-in browser is unable to the Web page that normal browsing includes complexity JS
Method employed in technology is the framework using client/browser server, since browser server is to Web page solution
Analysis, which executes, to be executed in a closed environment, and browser server can be the parsing implementing result of entire Web application page
Client is responded to show.Therefore, the defect of prior art is: 1, user has respective difference for Web application page
Demand, for a certain user, in Web page provided by website may only be partially it is effective, in the prior art
Web application page parsing executive mode cannot filter out partially effective Web page information and show to client, this can be to use
Bring unnecessary information redundancy, waste bandwidth resource in family;2, Web application page provided by certain websites is suitable only at present
It is shown on personal computer, is not appropriate for the screen size of mobile terminal, therefore browser server is to entire Web application page
Parsing implementing result possibly optimal customer experience can not be brought to user.
In order to overcome the above problem, present applicant has proposed a kind of solutions based on cloud computing system, in the program
Middle to provide a kind of cloud computing system for capableing of dynamic analysis Web application, which can be realized dynamic analysis Web application, and energy
It is enough to save the parsing time, improve analyzing efficiency;The system can control the Web resolving applied simultaneously, so as to
To need to obtain new Web by original Web application according to user to apply.
Although the technical issues of above-mentioned dynamic analysis Web of the cloud computing system scheme very good solution is applied, in view of
The access diversity of future customer terminal, diversified demand, the program are difficult to using various application scenarios.That is, current
Cloud computing system scheme be more suitable for solve same class user mobile terminal accessing Web application, when for it is multiple not
Same type user (such as public users, enterprise customer/engineers and technicians) or even different types of terminals (such as mobile terminal, PC
End) simultaneously the concurrent access cloud computing system when, which is difficult to adapt to the demand of this extensive service application service group,
Also it is difficult to meet the individual demand of enterprise customer or public users.
It is different for the demand of the cloud computing system meanwhile for different type user, public users are come
Say do not have specialized Web application mobile technology, therefore, when carrying out Web application mobile, it is desirable to provide a kind of
On-line customization technology can be visualized, can allow public users in the case where not needing any professional knowledge intuitively realize pair
The secondary recombination of function generates new Web application on the page of former Web system;For enterprise customer/engineers and technicians,
Therefore how the Web application secondary development knowledge for having profession solves enterprise customer/engineers and technicians complex page and opens
Treatment effeciency problem is sent out, the insurmountable technical problem of prior art will be become by reducing its development difficulty problem.
Meanwhile when a variety of different users carry out large scale accessing to the cloud computing system, the big of the system how is solved
Scale user accesses bearing capacity problem, solves the problems, such as that accessing service enterprise with large-scale consumer also becomes prior art
Insoluble problem.
Therefore, in order to adapt to the bundle of services demand of the following ultra-large dynamic analysis Web applied business, while meeting enterprise
Industry client and public users, it is urgent to provide a kind of new solutions, should have following functions:
(1) the bundle of services demand development need of the following ultra-large dynamic analysis Web applied business is adapted to;
(2) corporate client business can be supported to need and public users number of storage tanks produced per day needs;
(3) entire platform expand and maintenance succinctly and conveniently;
(4) it can support and run very well entire service management, operation and monitoring;
(5) WebApp of corporate client and public users can be run, issues, runs and managed well;
(6) it can solve large-scale consumer access bearing capacity problem, solve that there is large-scale consumer access service enterprise to ask
Topic.
Summary of the invention
It is an object of the invention to overcome cloud computing system in the prior art that can not handle a variety of different users to access, greatly
Scale user accesses the defects of bearing capacity is lower, provides a kind of novel Adaptable System based on cloud framework, and realization is directed to
Different user provides the dynamic analysis Web application scheme of different modes, and has quick obtaining web page information and big rule
The bearing capacity of mould user access, reduces the development difficulty of the Web application of enterprise customer, and it is fixed to provide visualization for public users
Function processed.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of adaptive approach based on cloud framework, it is described
Method includes:
Mobile terminal request is obtained, mobile terminal request is transmitted to dynamic analysis server;
The Webpage data that dynamic analysis server is requested according to the mobile terminal request, and to the Network page
Face data carries out dynamic analysis, obtains dynamic analysis result;
The page business function segment in Webpage is obtained using the parsing result, generates network slice;
Network slice is recombinated, the Webpage data after generating recombination, by the Network page after the recombination
Face data is sent to mobile terminal.
Preferably, mobile terminal request is transmitted to dynamic analysis server by the acquisition mobile terminal request, comprising:
Obtain mobile terminal request;
Obtain dynamic analysis server node payload information;
Mobile terminal request is transmitted to the smallest dynamic analysis server node of load;
Wherein, the mobile terminal request is requested for a mobile terminal, the mobile terminal of multiple same types is requested or multiple
Different types of mobile terminal request.
Preferably, the acquisition dynamic analysis server node load information further comprises:
The load of all dynamic analysis server nodes is big in automatic regular polling Webpage dynamic analysis server node group
Small status information judges the payload of each dynamic analysis server node, and new user's request is sent to current bear
The smallest dynamic analysis server node of lotus.
Preferably, this method further comprises:
The Webpage data that dynamic analysis server is requested according to the mobile terminal request;
Parsing is carried out to the Webpage data and processing is tailored in polymerization, obtains dynamic analysis result.
Preferably, described to recombinate to network slice, the Webpage data after generating recombination are further wrapped
It includes:
Visualization on-line customization processing is carried out to network slice, the Webpage number after generating visualization on-line customization
According to.
It is preferably, described that visualization on-line customization processing is carried out to network slice, comprising:
Network template library is obtained, network template is chosen;
Information-setting by user is obtained network slice is carried out to assemble integrated and operation;
Network slice storage information is received, the network is sliced and carries out storage and management.
Preferably, the acquisition information-setting by user carries out network slice to assemble integrated and operation, further comprises:
Information-setting by user is obtained, content of pages is sliced, generates network slice;
It obtains information-setting by user and foundation application is carried out to network slice;
It obtains information-setting by user and slice assembling is carried out to network slice.
Preferably, the method also includes:
Receive engineering development instruction, according to the engineering development instruct, carry out network application creation, editor, template-setup,
Integrated assembly, debugging, management and deployment.
Preferably, the reception engineering development instruction further comprises:
The engineering development account information that user logs in is received, the engineering development account information is verified;
When the authentication succeeds, the corresponding engineering development resource of the engineering development account information is sent to user.
Preferably, the reception engineering development instruction further comprises:
It is instructed according to engineering development, selects the network template of network slice, the layout and pattern that setting network is sliced;
It is instructed according to engineering development, code development is carried out to network slice and page etc., shows engineering commissioning result;
It is instructed according to engineering development, engineering development process and result is saved and managed.
Preferably, the method also includes:
Customer Self-Service Management instruction is received, is instructed according to the Customer Self-Service Management and carries out user management, registration, data pipe
Reason, service request, engineering management, business monitoring or business statistics analysis.
The present invention also provides a kind of Adaptable System based on cloud framework, the system comprises:
Control module is accessed, for obtaining mobile terminal request, mobile terminal request is transmitted to dynamic analysis server,
And the Webpage data after recombination are sent to mobile terminal;
Dynamic analysis server module, the Webpage data for being requested according to the mobile terminal request, and it is right
The Webpage data carry out dynamic analysis, obtain dynamic analysis result;
Visible customization module, for obtaining the page business function segment in Webpage using the parsing result,
Network slice is generated, network slice is recombinated, the Webpage data after generating recombination;
Wherein, the mobile terminal request is requested for a mobile terminal, the mobile terminal of multiple same types is requested or multiple
Different types of mobile terminal request.
Preferably, the access control module includes:
Request unit, for obtaining mobile terminal request;
Load information acquiring unit, for obtaining each dynamic analysis server node payload information;
Request transmitting unit, for mobile terminal request to be transmitted to the smallest dynamic analysis service of present node load
Device node.
Preferably, the dynamic analysis server module includes:
Webpage data capture unit, the Webpage data for being requested according to the mobile terminal request;
Dynamic analysis unit, for the Webpage data carry out parsing and polymerization tailor processing, obtain dynamic resolution
Analyse result.
Preferably, the visible customization module includes:
Visible customization unit generates visualization and exists for carrying out visualization on-line customization processing to network slice
Webpage data after line customization;
Wherein, the visible customization unit further comprises:
Network template library obtains subelement, for obtaining network template library, chooses network template;
Integrated subelement is assembled, network slice is carried out to assemble integrated and operation for obtaining information-setting by user;
Storage management subelement is sliced the network and carries out storage and management for receiving network slice storage information.
Preferably, the integrated subelement of the assembly further comprises:
Slice generates subelement and is sliced for obtaining information-setting by user to content of pages, generates network slice;
It establishes and applies subelement, for obtaining information-setting by user, foundation application is carried out to network slice;
Slice assembling subelement carries out slice assembling to network slice for obtaining information-setting by user.
Preferably, the system also includes:
Integrated Development module instructs according to the engineering development for receiving engineering development instruction, carries out network application wound
It builds, edit, template-setup, integrated assembly, debugging, managing and dispose.
Preferably, the Integrated Development module further comprises:
Account information receiving unit, for receiving the engineering development account information of user's login;
Account authentication unit, for being verified to the engineering development account information;
It exploits natural resources transmission unit, for when the authentication succeeds, the corresponding engineering of the engineering development account information to be opened
Hair resource is sent to user.
Preferably, the Integrated Development module further comprises:
Network template selection unit selects the network template of network slice, network is arranged for being instructed according to engineering development
The layout and pattern of slice;
Network is sliced development block, for instructing according to engineering development, carries out code development to network slice and page etc.,
Show engineering commissioning result;
Proceeding results administrative unit saves simultaneously engineering development process and result for being instructed according to engineering development
Management.
Preferably, the system also includes system management modules, for being managed to the system;
Wherein, the system management module further comprises:
System Management Unit, for examining user's registration information, distribution authorized user's engineering resource information, monitoring management use
The operation of family engineering resource business and managed operation manage platform personnel.
Preferably, the System Management Unit further comprises:
Customer Self-Service Management subelement is instructed for receiving Customer Self-Service Management instruction according to the Customer Self-Service Management
Carry out user management, registration, data management, service request, engineering management, business monitoring or business statistics analysis.
The present invention also provides a kind of visualization on-line customization processing methods, exist for executing visualization to Webpage data
Line customized treatment generates the Webpage data after visualization on-line customization, this method comprises:
Network template library is obtained, network template is chosen;
Information-setting by user is obtained network slice is carried out to assemble integrated and operation;
Network slice storage information is received, the network is sliced and carries out storage and management.
Preferably, the acquisition information-setting by user carries out network slice to assemble integrated and operation, further comprises:
Information-setting by user is obtained, content of pages is sliced, generates network slice;
It obtains information-setting by user and foundation application is carried out to network slice;
It obtains information-setting by user and slice assembling is carried out to network slice.
Preferably, described that content of pages is sliced, generates network slice, further comprise:
The identity information of mobile end subscriber is verified;
If identity information is verified, the network of wanted editing is selected to cut in Webpage according to information-setting by user
Piece executes after the completion of selection and edits and processes to the network slice of selection, input slice information, and saves and have input slice letter
The network of breath is sliced;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified, if it is, returning to initial verification information step, otherwise entirely content of pages is sliced again
Operating process directly terminate.
Preferably, described that foundation application is carried out to network slice, further comprise:
The identity information of mobile end subscriber is verified;
If identity information is verified, application message is inputted according to information-setting by user, then executes and saves application, finally
Terminate;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified again, if it is, initial verification information step is returned to, the otherwise entire operating process for establishing application
Directly terminate.
Preferably, described that slice assembling is carried out to network slice, further comprise:
The identity information of mobile end subscriber is verified;
If identity information is verified, according to the application that information-setting by user selection needs to edit, then in the application
Certain page edited, slice is dragged on the page later, then inputs the relevant information of the page, later by the page into
Row saves, and finally terminates;
If whether identity information verifying does not pass through, and indicate that user can decide in its sole discretion and verified again, if it is,
Back to initial verification information step, otherwise the operating process of entire slice assembling directly terminates.
The present invention also provides a kind of visualization on-line customization processing units, visual for executing to Webpage data
Change on-line customization processing, generate the Webpage data after visualization on-line customization, which includes:
Network template library obtains subelement, for obtaining network template library, chooses network template;
Integrated subelement is assembled, network slice is carried out to assemble integrated and operation for obtaining information-setting by user;
Storage management subelement is sliced the network and carries out storage and management for receiving network slice storage information.
Preferably, described to assemble integrated subelement, further comprise:
Slice generates subelement and is sliced for obtaining information-setting by user to content of pages, generates network slice;
It establishes and applies subelement, for obtaining information-setting by user, foundation application is carried out to network slice;
Slice assembling subelement carries out slice assembling to network slice for obtaining information-setting by user.
Preferably, the slice, which generates subelement and is sliced to content of pages, generates the process that network is sliced, includes:
The identity information of mobile end subscriber is verified;
If identity information is verified, the network of wanted editing is selected to cut in Webpage according to information-setting by user
Piece executes after the completion of selection and edits and processes to the network slice of selection, inputs slice information, and save this and have input slice
The network of information is sliced;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified, if it is, returning to initial verification information step, otherwise entirely content of pages is sliced again
Operating process directly terminate.
Preferably, described establish includes: using the process that subelement is sliced foundation application to network
The identity information of mobile end subscriber is verified;
If identity information is verified, application message is inputted according to information-setting by user, then executes and saves application, finally
Terminate;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified again, if it is, initial verification information step is returned to, the otherwise entire operating process for establishing application
Directly terminate.
Preferably, it is described slice assembling subelement to network slice carry out slice assembling process include:
The identity information of mobile end subscriber is verified;
If identity information is verified, according to the application that information-setting by user selection needs to edit, then in the application
Certain page edited, slice is dragged on the page later, then inputs the relevant information of the page, later by the page into
Row saves, and finally terminates;
If whether identity information verifying does not pass through, and indicate that user can decide in its sole discretion and verified again, if it is,
Back to initial verification information step, otherwise the operating process of entire slice assembling directly terminates.
The present invention also provides a kind of visualization on-line customization module applied to the Adaptable System based on cloud framework, institutes
Stating Adaptable System includes following functions module:
It accesses control module TailorForwarder: being responsible for the load balance process of HTTP, receive mobile terminal request,
The TailorWorkHorse node transmitting mobile terminal request small to current loads, receives TailorWorkHorse node processing
As a result, forwarding result information is to mobile terminal;
Visible customization unit module VisualTailor: visualization on-line customization module, which is realized, visually to be captured and receives
Collect the page in page business function segment, user on a web browser visually, it is convenient and efficient and intuitively realize original Web system
The secondary recombination of function generates new Web application on the page of system;
Integrated Development module TailorIDE: providing Tailor engineering Integrated Development Environment, realizes engineering creation, management
WebApp engineering and related resource possess and the mixed code of JS, HTML, CSS, JSON and these types are supported to carry out coloring display
Function;Tailor IDE also realizes the starting in IDE of WebApp engineering and TailorServer integrated debugging device, suspends and stop
Only;
Web page dynamic analysis engine/dynamic analysis server module TailorWorkHorse:TailorWorkHorse
The service of Web page dynamic analysis is provided, node can be run with the TailorWorkHorse of infinite expanding and be constituted;
Engineering memory node module StoreWorkHorse: being responsible for data distribution formula data storage and search, can be by nothing
The StoreWorkHorse memory node of limit extension is constituted, and is responsible for storage Tailor engineering information, the module library Web and engineering authority
Etc. management informations;
Engineering space module TailorWorkspace: it is responsible for the storage and retrieval of Tailor engineering;
Self-help service for user management module: realize user self-help business monitoring and system monitoring and service management and
System administration services;
Operation management console module: enterprises registration management and entire platform service and system running state monitoring and pipe are realized
Reason.
Further, the TailorForwarder undertakes two functions, first is that completing user and web page dynamic resolution
The information exchange for analysing user request and request results between service-Engine TailorWorkHorse, second is that balancing multiple web pages
The pressure of dynamic analysis service-Engine realizes load balancing.
Further, in the press process for balancing multiple web page dynamic analysis engines, TailorForwarder meeting
The state of all web page dynamic analysis engines in automatic regular polling cloud framework judges the negative of each web page dynamic analysis engine
Lotus size, and new user's request is sent to the small web page dynamic analysis engine of load, to realize load balancing.
Further, the visualization on-line customization module is mainly by Tailor IDEPlug and Tailor
IDEService is constituted, and cooperates completion visualization on-line customization by Tailor IDEPug and Tailor IDEService
The page, in which:
Tailor IDEPlug, which is mainly responsible for, realizes that visually realizes Web slice the processing work such as cuts, processes, combine
It is dynamic;
Tailor IDEService is mainly responsible for the storage and management of Web slice.
The present invention additionally provides a kind of visualization on-line customization method simultaneously, by visual in above-mentioned Adaptable System
Change on-line customization module to realize, method includes the following steps:
Step 1: input needs the original web address tailored in Tailor IDEPlug;
Step 2:Tailor IDEPlug is visually captured and is collected in the page to webpage using browser plug-in technology
Page business function segment, formed one by one Web be sliced;
Step 3: Web is sliced, template support is provided, the specific setting up procedure such as layout, pattern specifically includes:
The Web template library in WebApp cloud memory structure is transferred by TairlorWorkSpace, is Tailor
The Web slice that IDEPlug is extracted provides template and supports;
The integrally disposed environment provided by Tailor IDEPlug passes through selection Web mould to interested Web slice
Plate, layout, the pattern etc. that setting Web is sliced;
Step 4: the Web set being sliced, TairlorWorkHorse engine is transferred by Tairlor IDEService
It is debugged, checks that Web is sliced mobile phone terminal operational effect, if dissatisfied, can also be set again by return step 3
It sets;If being satisfied with Web dicing effect, executes step 5 and save slice.
Step 5: the Web set slice is sent to TairlorWorkHorse and is saved, is specifically included:
TairlorWorkHorse receives the Web slice information for needing to save, and saves it in WebApp cloud storage knot
In Web slice library in structure;It is stored in the Web slice of Web slice library, the component that can be used as WebApp engineering is assembled, collected
At and operation, but by outer net cannot be accessed by the user and use separately as application;
Step 6: user can assemble the Web slice set in WebApp engineering, integrate, and form engineering
In application, the application is a webpage or other application, the WebApp engineering be can directly be passed through by user it is outer
Net the application of access;
Step 7: the WebApp engineering set is transferred into TairlorWorkHorse by Tairlor IDEService
Engine is debugged, and checks WebApp engineering mobile phone terminal operational effect, if dissatisfied, can also be carried out by return step 6
It resets;If being satisfied with WebApp engineering effort, executes step 8 and save engineering;
Step 8: the WebApp engineering set being sent to TairlorWorkHorse and is saved;
TairlorWorkHorse receives the web project information for needing to save, and saves it in WebApp cloud memory structure
In StoreWorkHorse engineering node library.
Above-mentioned technical proposal of the invention realize it is following the utility model has the advantages that
By the way that mobile terminal request is transmitted to dynamic analysis server, dynamic analysis server is according to the mobile terminal
Request request Webpage data, and to the Webpage data carry out dynamic analysis, obtain dynamic analysis as a result,
Webpage data can be fast and accurately obtained, the speed and accuracy of Webpage acquisition is improved;
The page business function segment in Webpage is obtained using the parsing result, network slice is generated, to described
Network slice is recombinated, and the Webpage data after the recombination are sent to shifting by the Webpage data after generating recombination
User experience is improved to meet the needs of different terminals Webpage display in moved end;
The bundle of services demand development need for adapting to the following ultra-large dynamic analysis Web applied business, supports enterprise
The needs of the different users such as client, public users.
Detailed description of the invention
Fig. 1 is the adaptive approach flow chart based on cloud framework of the embodiment of the present invention 1;
Fig. 2 is that forwarding process figure is requested in the mobile terminal of the adaptive approach based on cloud framework of the embodiment of the present invention 1;
Fig. 3 is the structural block diagram of the Adaptable System based on cloud framework of the embodiment of the present invention 2;
Fig. 4 is the access control module structural block diagram of the Adaptable System based on cloud framework of the embodiment of the present invention 2;
Fig. 5 is the dynamic analysis server module structure frame of the Adaptable System based on cloud framework of the embodiment of the present invention 2
Figure;
Fig. 6 is the visible customization modular structure block diagram of the Adaptable System based on cloud framework of the embodiment of the present invention 3;
Fig. 7 is the structural block diagram of the Adaptable System based on cloud framework of the embodiment of the present invention 3;
Fig. 8 is another visible customization modular structure frame of the Adaptable System based on cloud framework of the embodiment of the present invention 3
Figure;
Fig. 9 is the Integrated Development modular structure block diagram of the Adaptable System based on cloud framework of the embodiment of the present invention 3;
Figure 10 is another Integrated Development modular structure frame of the Adaptable System based on cloud framework of the embodiment of the present invention 3
Figure;
Figure 11 is the Adaptable System structural block diagram based on cloud framework of the embodiment of the present invention 4.
Figure 12 is the method flow diagram of the Adaptable System based on cloud framework of the embodiment of the present invention 4.
Figure 13 is the work of the visualization on-line customization module of the Adaptable System based on cloud framework of the embodiment of the present invention 4
Schematic illustration.
Figure 14 is that the working principle of the Integrated Development module of the Adaptable System based on cloud framework of the embodiment of the present invention 4 is shown
It is intended to.
Figure 15 is that the engineering of the Integrated Development module of the Adaptable System based on cloud framework of the embodiment of the present invention 4 debugs work
Make schematic illustration.
Figure 16 is the work of the dynamic analysis server module of the Adaptable System based on cloud framework of the embodiment of the present invention 4
Schematic illustration.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool
Body embodiment is described in detail.It is to be understood that following specific embodiments is only to schematically illustrate, unless there are special
Illustrate, the different embodiments of the application and Different Optimization means in each embodiment, even without in the same embodiment
It illustrates, is also understood to that any other aspect, embodiment or example described here can be applied to, unless with
It is incompatible or be explicitly excluded outside herein, otherwise the application either with or without the combination between embodiment exhausted
Or sub-portfolio is all in record of the invention and protection scope.Master of the present invention is elaborated below with reference to specification and attached drawing
Purport and its preferred embodiment.
Embodiment 1
As shown in Figure 1, a kind of adaptive approach based on cloud framework of the embodiment of the present invention, which comprises
Step 101: obtaining mobile terminal request, mobile terminal request is transmitted to dynamic analysis server;
Step 102: the Webpage data that dynamic analysis server is requested according to the mobile terminal request, and to institute
It states Webpage data and carries out dynamic analysis, obtain dynamic analysis result;
Step 103: obtaining page business function segment (such as JS piece in Webpage using the dynamic analysis result
Section, HTML fragment and CSS segment etc.), generate corresponding network slice.
Step 104: network slice being recombinated, the Webpage data after generating recombination, after the recombination
Webpage data be sent to mobile terminal.
The adaptive approach based on cloud framework of the present embodiment, by the way that mobile terminal request is transmitted to dynamic analysis clothes
Business device, the Webpage data that dynamic analysis server is requested according to the mobile terminal request, and to the Webpage
Data carry out dynamic analysis, obtain dynamic analysis as a result, it is possible to fast and accurately obtain Webpage data, improve Network page
The speed and accuracy that face obtains;The page business function segment in Webpage is obtained using the parsing result, generates net
Network slice recombinates network slice, the Webpage data after generating recombination, by the Webpage after the recombination
Data are sent to mobile terminal, to meet the needs of different terminals Webpage display, improve user experience.
Preferably, as shown in Fig. 2, the acquisition mobile terminal is requested, mobile terminal request is transmitted to dynamic analysis clothes
Business device, comprising:
Step 201: obtaining mobile terminal request;
Step 202: obtain dynamic analysis server in each server node current loads size information (or load letter
Breath);
Step 203: mobile terminal request is transmitted to the smallest dynamic analysis server node of current loads.
Wherein, in the step 201, the mobile terminal request is mobile terminal request, a movement for multiple same types
End request or the mobile terminal request of multiple and different types.
In the present embodiment, by accessing control process, the pressure of multiple dynamic analysis server nodes is balanced, realizes load
It is balanced.In the press process for balancing multiple dynamic analysis server nodes, preferred scheme first is that: pass through automatic regular polling net
The payload information (or load information) of all dynamic analysis server nodes in network page dynamic analysis server node group,
Judge the payload of each dynamic analysis server node, and new user's request is sent to the small dynamic analysis of load and is taken
Business device node, to realize load balancing.
Preferably, the acquisition dynamic analysis server node payload information (or load information), comprising:
The load of all dynamic analysis server nodes is big in automatic regular polling Webpage dynamic analysis server node group
Small status information;
Preferably, the Webpage data that the dynamic analysis server is requested according to the mobile terminal request, and
Dynamic analysis is carried out to the Webpage data, obtains dynamic analysis as a result, detailed process includes:
The Webpage data that dynamic analysis server is requested according to the mobile terminal request;
Parsing is carried out to the Webpage data and processing is tailored in polymerization, obtains dynamic analysis result.
Preferably, it is described to the Webpage data carry out parsing and polymerization tailor processing, further comprise:
Visualization on-line customization processing is executed to the Webpage data, the Network page after generating visualization on-line customization
Face data.
Preferably, the visualization on-line customization processing further comprises:
Network template library is obtained, network template is chosen;
Information-setting by user is obtained network slice is carried out to assemble integrated and operation;
Network slice storage information is received, the network is sliced and carries out storage and management.
Preferably, the acquisition information-setting by user carries out network slice to assemble integrated and operation, further comprises:
Information-setting by user is obtained, content of pages is sliced, generates network slice;
It obtains information-setting by user and foundation application is carried out to network slice;
It obtains information-setting by user and slice assembling is carried out to network slice.
Preferably, it is described to content of pages carry out slice further comprise:
The identity information of mobile end subscriber is verified;
If identity information is verified, the network of wanted editing is selected to cut in Webpage according to information-setting by user
Piece executes after the completion of selection and edits and processes to the network slice of selection, inputs slice information, and save this and have input slice
The network of information is sliced;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified, if it is, returning to initial verification information step, otherwise entirely content of pages is sliced again
Operating process directly terminate.
Preferably, it is described to network slice carry out establish application further comprise:
The identity information of mobile end subscriber is verified;
If identity information is verified, application message is inputted according to information-setting by user, then executes and saves application, finally
Terminate;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified again, if it is, initial verification information step is returned to, the otherwise entire operating process for establishing application
Directly terminate.
Preferably, it is described to network slice carry out slice assembling further include:
The identity information of mobile end subscriber is verified;
If identity information is verified, according to the application that information-setting by user selection needs to edit, then in the application
Certain page edited, slice is dragged on the page later, the page relevant information is then inputted, later carries out the page
It saves, finally terminates;
If whether identity information verifying does not pass through, and indicate that user can decide in its sole discretion and verified again, if it is,
Back to initial verification information step, otherwise the operating process of entire slice assembling directly terminates.
Preferably, the method also includes:
Engineering development instruction is received, and is instructed according to the engineering development, progress network application creation, editor, template are set
It sets, integrated assembly, debugging, manage and dispose.
Preferably, the reception engineering development instruction further comprises:
Receive the engineering development account information that user logs in;
The engineering development account information is verified;
When the authentication succeeds, the corresponding engineering development resource of the engineering development account information is sent to user.
Preferably, described to be instructed according to the engineering development, carry out network application creation, editor, template-setup, integrated dress
Match, debug, manage and dispose, further comprises:
It is instructed according to engineering development, selects the network template of network slice, the layout and pattern that setting network is sliced;
It is instructed according to engineering development, code development is carried out to network slice and page etc., shows engineering commissioning result;
It is instructed according to engineering development, engineering development process and result is saved and managed.
Preferably, the method also includes:
Customer Self-Service Management instruction is received, and is instructed according to the Customer Self-Service Management and carries out user management, registration, data
Management, service request, engineering management, business monitoring or business statistics analysis.
Embodiment 2
As shown in figure 3, a kind of Adaptable System based on cloud framework of the embodiment of the present invention, the system comprises:
Control module 301 is accessed, for obtaining mobile terminal request, mobile terminal request is transmitted to dynamic analysis service
Device, and the Webpage data after the recombination are sent to the mobile terminal;
Dynamic analysis server module 302, the Webpage data for being requested according to the mobile terminal request, and
Dynamic analysis is carried out to the Webpage data, obtains dynamic analysis result;
Visible customization module 303, for obtaining the page business function in Webpage using the dynamic analysis result
Energy segment generates network slice, recombinates to network slice, generates the Webpage data after recombinating.
The Adaptable System based on cloud framework of the present embodiment, by the way that mobile terminal request is transmitted to dynamic analysis clothes
Business device, the Webpage data that dynamic analysis server is requested according to the mobile terminal request, and to the Webpage
Data carry out dynamic analysis, obtain dynamic analysis as a result, it is possible to fast and accurately obtain Webpage data, improve Network page
The speed and accuracy that face obtains;The page business function segment in Webpage is obtained using the parsing result, generates net
Network slice recombinates network slice, the Webpage data after generating recombination, by the Webpage after the recombination
Data are sent to mobile terminal, to meet the needs of different terminals Webpage display, improve user experience.
Preferably, as shown in figure 4, the access control module 301 includes:
Request unit 401, for obtaining mobile terminal request;
Load information acquiring unit 402, for obtain dynamic analysis server node payload information (or load letter
Breath);
Request transmitting unit 403, for mobile terminal request to be transmitted to the smallest dynamic analysis server section of load
Point.
Wherein, the mobile terminal request can be the mobile terminal request in one, multiple same or different types;
In the present embodiment, the pressure of multiple dynamic analysis server nodes is balanced, realizes load balancing.It is multiple dynamic balancing
In the press process of state resolution server node, by all dynamic in automatic regular polling Webpage dynamic analysis server node group
The payload status information (or load information) of state resolution server node judges the negative of each dynamic analysis server node
Lotus size, and new user's request is sent to the smallest dynamic analysis server node of current loads, to realize that load is equal
Weighing apparatus.
Preferably, the load information acquiring unit includes:
Load information obtains subelement, and the payload state for each dynamic analysis server node of timing acquisition is believed
Breath;
The request transmitting unit includes:
Transmission sub-unit is requested, for mobile terminal request to be transmitted to the smallest dynamic analysis server of current loads
Node.
Preferably, as shown in figure 5, the dynamic analysis server module 302 includes:
Webpage data capture unit 501, the Webpage data for being requested according to the mobile terminal request.
Dynamic analysis unit 502, for the Webpage data carry out parsing and polymerization tailor processing, obtain dynamically
Parsing result.
Wherein, dynamic analysis server module can have distributed arithmetic service function, provide Webpage dynamic resolution
Analysis service, can run node with infinite expanding dynamic analysis server, and dynamic analysis server is realized the parsing of Web content, added
Processing function is tailored in work and polymerization, and seamlessly all kinds of enterprise operation systems or Internet application information organically can be aggregated in
Together, it and extends in mobile device and applies, network dynamic analytics engine can require parsing hold according to the instruction in project file
The original network system of row exports the page self-adapted network application for being suitble to mobile phone behaviour's built-in browser or client operation.
Preferably, the dynamic analysis unit is parsed to the Webpage data and is polymerize the process for tailoring processing
Include:
Visualization on-line customization processing is executed to the Webpage data, the Network page after generating visualization on-line customization
Face data.
Preferably, the visualization on-line customization processing further comprises:
Information-setting by user is obtained, content of pages is sliced, generates network slice;
It obtains information-setting by user and foundation application is carried out to network slice;
It obtains information-setting by user and slice assembling is carried out to network slice;
Network slice storage information is received, the network is sliced and carries out storage and management.
Preferably, it is described to content of pages carry out slice further comprise:
The identity information of mobile end subscriber is verified;
If identity information is verified, the content of wanted editing is selected to cut in Webpage according to information-setting by user
Piece executes after the completion of selection and edits and processes to the content slice of selection, inputs slice information, and save this and have input slice
The content of information is sliced;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified, if it is, returning to initial verification information step, otherwise entirely content of pages is sliced again
Operating process directly terminate.
Preferably, it is described to network slice carry out establish application further comprise:
The identity information of mobile end subscriber is verified;
If identity information is verified, application message is inputted according to information-setting by user, then executes and saves application, finally
Terminate;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified again, if it is, initial verification information step is returned to, the otherwise entire operating process for establishing application
Directly terminate.
Preferably, it is described to network slice carry out slice assembling further include:
The identity information of mobile end subscriber is verified;
If identity information is verified, according to the application that information-setting by user selection needs to edit, then in the application
Certain page edited, slice is dragged on the page later, the page relevant information is then inputted, later carries out the page
It saves, finally terminates;
If whether identity information verifying does not pass through, and indicate that user can decide in its sole discretion and verified again, if it is,
Back to initial verification information step, otherwise the operating process of entire slice assembling directly terminates.
Preferably, the system also includes:
Engineering development instruction module is received, created for according to engineering development instruction, executing and completing network application,
Editor, template-setup, integrated assembly, debugging, management and deployment function.
Embodiment 3
Adaptable System based on cloud framework of the invention, structure can also be as shown in Figure 6, wherein control access
Function is corresponding with access control module, and the function of page dynamic analysis engine is corresponding with dynamic analysis server module, and engineering is empty
Between and cloud storage structure function visible customization corresponding with storage management subelement function and visible customization unit module
It is corresponding.
Preferably, as shown in fig. 7, the visible customization module 303 includes:
Visible customization unit 701 generates visualization for carrying out visualization on-line customization processing to network slice
Webpage data after on-line customization.
Preferably, the visible customization unit 701 includes:
Network template library obtains subelement 702, for obtaining network template library, chooses network template.
Integrated subelement 703 is assembled, network slice is carried out to assemble integrated and operation for obtaining information-setting by user;
Storage management subelement 704 is stored and is managed to network slice for receiving network slice storage information
Reason.
Preferably, the integrated subelement 703 of the assembly further comprises:
Slice generates subelement and is sliced for obtaining information-setting by user to content of pages, generates network slice;
It establishes and applies subelement, for obtaining information-setting by user, foundation application is carried out to network slice;
Slice assembling subelement carries out slice assembling to network slice for obtaining information-setting by user.
Preferably, the slice, which generates subelement and is sliced to content of pages, generates the process that network is sliced, includes:
The identity information of mobile end subscriber is verified;
If identity information is verified, the network of wanted editing is selected to cut in Webpage according to information-setting by user
Piece executes after the completion of selection and edits and processes to the network slice of selection, inputs slice information, and save this and have input slice
The network of information is sliced;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified, if it is, returning to initial verification information step, otherwise entirely content of pages is sliced again
Operating process directly terminate.
Preferably, described establish includes: using the process that subelement establish application to network slice
The identity information of mobile end subscriber is verified;
If identity information is verified, application message is inputted according to information-setting by user, then executes and saves application, finally
Terminate;
If identity information verifying does not pass through, the prompt information of authentication failed is provided, and indicate that user can decide in its sole discretion
Whether verified again, if it is, initial verification information step is returned to, the otherwise entire operating process for establishing application
Directly terminate.
Preferably, it is described slice assembling subelement to network slice carry out slice assembling process include:
The identity information of mobile end subscriber is verified;
If identity information is verified, according to the application that information-setting by user selection needs to edit, then in the application
Certain page edited, slice is dragged on the page later, the page relevant information is then inputted, later carries out the page
It saves, finally terminates;
If whether identity information verifying does not pass through, and indicate that user can decide in its sole discretion and verified again, if it is,
Back to initial verification information step, otherwise the operating process of entire slice assembling directly terminates.
Public users: public users energy basis is each from internet on the net with oneself life and work correlation needs
Network slice is extracted depending on changing ground, recombination network slice generates new network application, meets oneself life and work correlation needs, greatly
Also network slice may be implemented between many users to share and exchange.
Enterprise customer: enterprise customer can cut network slice from oneself existing system and generate new network application, to certainly
Own client's publication is issued by wechat.
Developer: it using cutting for the high network slice of visualization tool completing technology difficulty, can develop and debugging network
Slice ultimately generates complicated personalized network application, is supplied to specific crowd use.
Wherein it is possible to whether contain browser perform script according in Webpage, Webpage can be divided into static page
And dynamic page.Browser plug-in technology using mark recognition method read static page in body matter and its inside include
Hyperlink network address, using dynamic analysis technology read dynamic page in browser perform script, then by code pumping
It takes and recombinates, to realize capture and collect the page business function segment in the page.
The structure of visible customization module of the invention can also be as shown in Figure 8, wherein Tailor as shown in fig. 8
The function of IDEPlug is corresponding with visible customization unit in Fig. 7, the assembly in the function and Fig. 8 of Integrated Development Environment cloud service
Integrated subelement is corresponding, and the function of engineering space and cloud storage structure is corresponding with the storage management subelement in Fig. 7.
Preferably, as shown in Figure 9 the system also includes:
Integrated Development module 901 instructs according to the engineering development for receiving engineering development instruction, carries out network and answer
With creation, editor, template-setup, integrated assembly, debugging, management and deployment.
Preferably, the Integrated Development module 901 further comprises:
Account information receiving unit, for receiving the engineering development account information of user's login.
Account authentication unit, for being verified to the engineering development account information.
It exploits natural resources transmission unit, for when the authentication succeeds, the corresponding engineering of the engineering development account information to be opened
Hair resource is sent to user.
Preferably, the Integrated Development module 901 further comprises:
Network template selection unit selects the network template of network slice, network is arranged for being instructed according to engineering development
The layout and pattern of slice;
Network is sliced development block, for instructing according to engineering development, carries out code development to network slice and page etc.,
Show engineering commissioning result;
Proceeding results administrative unit saves simultaneously engineering development process and result for being instructed according to engineering development
Management.
Wherein, engineering memory node can also be set, engineering memory node has Distributed Storage and search function,
User can be according to entire Distributed Storage and retrieval operating load, can be with the dynamic analysis server node of infinite expanding
Node is responsible for storage engineering information and engineering operation status information, is responsible for storage project operation information and system information, is responsible for depositing
Store up engineering account and engineering resource information.
In the present embodiment, Integrated Development module can be used to implement the Integrated Development of network application dynamic analysis engineering, packet
Creation, management network application engineering and related resource are included, realizes network application engineering and integrated debugger in Integrated Development module
In starting, pause and stopping, realizing the code tester and deployment under cloud environment and be able to achieve and be connected remotely to background service
Device;The Integrated Development module designed in this system framework supports Eclipse 3.5 and the above version.It the use of subject population is tool
There are the engineering development personnel of network application ability of second development.Its structure of the Integrated Development module of the embodiment of the present invention can also be such as
Shown in Figure 10, wherein the function of Tailor IDE can be corresponding with the Integrated Development module in Fig. 9.
Preferably, the system further comprises:
System management module 902, for being managed to the system, comprising: for examining user's registration information, distribution
Authorized user's engineering resource information, the operation of monitoring management user engineering resource services and managed operation manage platform personnel.
Preferably, the system management module 902 further comprises:
Customer Self-Service Management subelement receives Customer Self-Service Management instruction, is instructed and carried out according to the Customer Self-Service Management
User management, registration, data management, service request, engineering management, business monitoring or business statistics analysis.
Wherein, system management module be responsible for by whole system service provider using, provide user's registration information examine
Batch, the distribution authorization of user engineering resource information, the operation monitoring management and operation management system people of user engineering resource services
The functions such as member's management.It guarantees that whole system can normally support creation, maintenance, operation, monitoring of all user engineerings etc..
Self-help service for user management is public users, enterprise customer, engineers and technicians provide registration, data management, clothes
The functions such as business application, user management, engineering management, business monitoring, business statistics analysis.
User is issued to operation management system by registration, data management, service request and uses system creation network application
Engineering application.After operation management person is by examination & approval, oneself available engineering resource space of user, user can be in engineering
The network application engineering of oneself is created, edited, debugging, saving in resource space, and by Self-Service to network application engineering
Operation just monitor, business statistics analysis etc..
Embodiment 4
Adaptable System based on cloud framework of the invention, structure can also be as shown in figure 11, wherein the function of proxy server
Can be corresponding with access control module, the function of page dynamic analysis service is corresponding with dynamic analysis server module, engineering space
It is corresponding with storage management subelement with the function of cloud storage structure, function and Customer Self-Service Management of self-help service for user management
Unit is corresponding, and the function of Tailor IDE can be corresponding with Integrated Development module, the function and visible customization of visible customization
Unit module is corresponding, and the function of operation management platform is corresponding with system management module.
As shown in figure 11, the Adaptable System based on cloud framework is the Tailor platform cloud clothes in the embodiment
Business comprising following functions module:
TailorForwarder, Visual Tailor, Tailor IDE, TailorWorkspace,
TailorWorkHorse, StoreWorkHorse and service management and operation management platform.
Wherein the function of each functional module is as follows:
TailorForwarder (access control module): it is responsible for the load balance process of HTTP, receives mobile terminal and ask
It asks, the TailorWorkHorse node transmitting mobile terminal request small to current loads receives TailorWorkHorse node
Processing result forwards result information to mobile terminal.
TailorForwarder undertakes two functions, first is that completing user and TailorWorkHorse (web page dynamic
Analytics engine) between user's request and the information exchanges of request results, second is that balancing the pressure of multiple web page dynamic analysis services
Power realizes load balancing.
In the press process for balancing multiple web page dynamic analysis engines, TailorForwarder can automatic regular polling cloud
The state of all web page dynamic analysis engines in framework judges the payload of each web page dynamic analysis engine, and
New user's request is sent to the small web page dynamic analysis engine of load, to realize load balancing.
Visual Tailor (visible customization unit module): visualization on-line customization is using browser plug-in technology
Realize and visually capture and collect the page business function segment in the page, user on a web browser visually, it is convenient fast
The secondary recombination of function generates new Web application on the page that is prompt and intuitively realizing former Web system.
Tailor IDE (Integrated Development module): it is one and is constructed based on TailorServer and eclipse
JavaScript program develops Eclipse Plugin Integrated Development Environment, and Eclipse 3.5 and the above version are supported in design.
Tailor IDE is a Tailor engineering Integrated Development Environment, can create, manage WebApp engineering and related resource, possess
JS, HTML, CSS, JSON and the mixed code of these types is supported to carry out coloring and show;Tailor IDE be also WebApp engineering and
TailorServer integrated debugging device can start in IDE, suspends and stop.It can test and dispose in cloud computing environment
Your code, it can also be connected to telework platform.It the use of subject population is Tailor engineering development personnel.
TailorWorkHorse (Web page dynamic analysis engine/dynamic analysis server module):
TailorWorkHorse provides the service of Web page dynamic analysis, can run node with the TailorWorkHorse of infinite expanding
It constitutes.
StoreWorkHorse (engineering memory node): being responsible for data distribution formula data storage and search, can be by unlimited
The StoreWorkHorse memory node of extension is constituted, and is responsible for storage Tailor engineering information, the module library Web and engineering authority etc.
Management information.
TailorWorkspace (engineering space): it is responsible for the storage and retrieval of Tailor engineering.
Self-help service for user management: user applies the self-service business monitoring and system monitoring and business pipe of Tailor
Reason and system administration services.
Operation management platform: enterprises registration management and entire platform service and system running state monitoring and management are realized.
Tailor platform cloud service frame is to meet the following ultra-large Tailor bundle of services business demand development need
And the framework designed, including can support corporate client business needs and public users number of storage tanks produced per day needs, it can transport well
Row, publication and the WebApp for managing corporate client and public users.Corporate client and public users are utilizing Tailor platform cloud
When service framework uses oneself WebAPP, need by registration, examination & approval, authorization, engineering customization, engineering preservation, engineering operation,
Multiple steps such as engineering management, detailed process no longer repeat one by one herein referring to Figure 12.
For an other embodiment as visualization on-line customization module, (visualization is online by the Visual Tailor
Customized module) it is to realize visually to capture and collect the page business function segment in the page using browser plug-in technology,
User on a web browser visually, the secondary recombination generation of function on the page that is convenient and efficient and intuitively realizing former Web system
New Web application.
Whether contain browser perform script according in WEB page, WEB page can be divided into static page and dynamic page.
Browser plug-in technology uses the hyperlink that the body matter in static page is read in HTML markup recognition methods and its inside includes
Network address is connect, browser perform script (such as the JavaScript script in dynamic page is read using dynamic analysis technology
Deng), then by code extraction and recombinate, to realize capture and collect the page business function segment in the page.
Visual Tailor visualize on-line customization working principle it is as shown in figure 13, visualization on-line customization mainly by
Tailor IDEPlug and Tailor IDEService are constituted.Pass through Tailor IDEPlug and Tailor IDEService phase
Mutually the visualization on-line customization page is completed in cooperation.
Tailor IDEPlug, which is mainly responsible for, realizes that visually realizes Web slice the processing work such as cuts, processes, combine
It is dynamic.
Tailor IDEService is mainly responsible for the storage and management of Web slice.
Shown in process flow Figure 14 referring to Visual Tailor visualization on-line customization module, the on-line customization module
Workflow it is specific as follows:
Step 1: input needs the original web address tailored in Tailor IDEPlug;
Step 2:Tailor IDEPlug is visually captured and is collected in the page to webpage using browser plug-in technology
Page business function segment, formed one by one Web be sliced;
Step 3: Web is sliced, template support is provided, the specific setting up procedure such as layout, pattern specifically includes:
The Web template library in WebApp cloud memory structure is transferred by TairlorWorkSpace, is Tailor
The Web slice that IDEPlug is extracted provides template and supports;
The integrally disposed environment provided by Tailor IDEPlug passes through selection Web mould to interested Web slice
Plate, layout, the pattern etc. that setting Web is sliced;
Step 4: the Web set being sliced, TairlorWorkHorse engine is transferred by Tairlor IDEService
It is debugged, checks that Web is sliced mobile phone terminal operational effect, if dissatisfied, can also be set again by return step 3
It sets;If being satisfied with Web dicing effect, executes step 5 and save slice.
Step 5: the Web set slice is sent to TairlorWorkHorse and is saved, is specifically included:
TairlorWorkHorse receives the Web slice information for needing to save, and saves it in WebApp cloud storage knot
In Web slice library in structure.It is stored in the Web slice of Web slice library, the component that can be used as WebApp engineering is assembled, collected
At and operation, but by outer net cannot be accessed by the user and use separately as application.
Step 6: user can assemble the Web slice set in WebApp engineering, integrate, and form engineering
In application (webpage or other).
WebApp engineering is the application that directly can pass through extranet access by user.
Step 7: the WebApp engineering set is transferred into TairlorWorkHorse by Tairlor IDEService
Engine is debugged, and checks WebApp engineering mobile phone terminal operational effect, if dissatisfied, can also be carried out by return step 6
It resets;If being satisfied with WebApp engineering effort, executes step 8 and save engineering.
Step 8: the WebApp engineering set being sent to TairlorWorkHorse and is saved;
TairlorWorkHorse receives the web project information for needing to save, and saves it in WebApp cloud memory structure
In StoreWorkHorse engineering node library.
Tailor IDE (Integrated Development module), which is that the complete Tailor engineering of plug-in unit offer of an Eclipse is integrated, to be opened
Hair ring border makes the help of the Tailor resource Validation Code of standard development function, search-type, syntax and semantics, the wheel of type
Wide and hierarchical structure, call chain reconstruct and more.
Tailor IDE provides creation, editor, template-setup, integrated assembly, debugging, management and the deployment of WebApp engineering
Etc. functions.
Referring to Tailor IDE principle process Figure 14 to work it is found that the work of the Tailor IDE (Integrated Development module)
It is specific as follows to make process:
Step 1: user inputs user name and logs in Tailor IDE;
The engineering account that Tailor IDE is sended over is sent to by step 2:Tailor IDEService
TairlorWorkSpace;
2.1 transfer the user library in WebApp cloud memory structure by TairlorWorkSpace, and the engineering of user is provided
Source information is sent to Tailor IDE by Tailor IDEService, for the engineering resource of user management oneself.
Step 3: user creates or edits the WebApp engineering of oneself in Tailor IDE;
The integrally disposed environment provided by Tailor IDEPlug passes through selection Web mould to interested Web slice
Plate, layout, the pattern etc. that setting Web is sliced;
Step 4:
4.1Tairlor IDEService transfers the Web in WebApp cloud memory structure by TairlorWorkSpace
Template library, and from Web slice library calling and obtaining user oneself Web slice information, mention for Tairlor IDE Integrated Development Environment
For the stored Web slice of WebUI template abundant and user.
4.2 users carry out code development to Web slice, page etc. in Tailor IDE Integrated Development Environment, can also be with
Using the UI template configuration engineering page, after the completion, engineering page effect is checked by engineering debugging.
Step 5: the engineering page set being transferred into TairlorWorkHorse by Tairlor IDEService and is drawn
It holds up and is debugged, check engineering page mobile phone terminal operational effect, if dissatisfied, can also be carried out again by return step 4
Setting;If satisfactory project page effect, executes step 6 and save engineering.
Step 6: the engineering set being sent to TairlorWorkHorse and is saved;
6.1TairlorWorkHorse receives the engineering information for needing to save, and saves it in WebApp cloud storage knot
In StoreWorkHorse engineering node library in structure.WebApp engineering is directly to pass through answering for extranet access by user
With.
Step 7: user can carry out associated documents resource to WebApp engineering in Tailor IDE Integrated Development Environment
Organization and administration, project file version management, project plan management, engineering permission control management etc. management.
Step 8: the WebApp engineering management set deployment information being sent to TairlorWorkHorse and is saved;
8.1TairlorWorkHorse receives the web project management deployment information for needing to save, and saves it in
In StoreWorkHorse engineering node library in WebApp cloud memory structure.
The major function of Tailor IDE (Integrated Development module) includes:
There is provided engineering editor: engineering development can create, edit Tailor engineering and related resource, possess support JS,
HTML, CSS, JSON and the mixed code of these types carry out the editing and processing such as grammer prompt, auto-complete, highlighted, editor's error correction.
There is provided engineering template: platform quotient provides WebUI template library abundant, allows engineering staff according to project situation, selects
Suitable WebUI template, generates project WebUI structural framing, and engineering staff's fast construction is allowed to play mobile Web application.
Engineering management and deployment: engineering management can complete the organization and administration of Tailor engineering associated documents resource, engineering text
Part version management, can complete enterprises engineering collaborative development, and project plan work can support and manage the engineering of multiple enterprises
Permission control management, can also support the engineering permission inside integrator to control management.
Engineering debugging: the debugging interface between Tailor IDE debugging plug-in unit and TailorWorkHorse is built upon TCP
JSON on the basis of communication debugs communication protocol, can pass through and to run on Tailor IDE remote debugging TailorWorkHorse
Tailor engineering code, remote debugging technology mode are that communication infrastructure is established in IDE platform and cloud computing.
The concrete operating principle of engineering debugging no longer repeats one by one herein referring to Figure 15.
TailorWorkspace be responsible for Tailor engineering storage and retrieval and engineering resource permission control access.
TailorWorkspace workflow is referring to Figure 16, and detailed process is as follows:
Tailor IDE accesses the Tailor engineering resource file in oneself extent of competence by TailorWorkspace,
The Tailor engineering resource file of oneself is created and managed, provides UI template library abundant for Tailor IDE, edit, save,
Management and deployment engineering information.
VisualTailor visible customization accesses the resource file of oneself by TailorWorkspace, creates and adds
The Web of work oneself is sliced, and provides UI template library abundant for visualization, is provided Web slice engineering information of the assembly after integrated
It saves.
TailorWorkHorse calls Tailor engineering resource file to complete page dynamic by TailorWorkspace
Parsing, support WebApp user's access.
TailorWorkHorse Web dynamic analysis engine has distributed arithmetic service function, TailorWorkHorse
The service of Web page dynamic analysis is provided, node can be run with the TailorWorkHorse of infinite expanding.
Processing function is tailored in parsing, processing and the polymerization of TailorWorkHorse Web dynamic analysis engine implementation web content
Can, seamlessly all kinds of enterprise operation systems or Internet application information organically can be condensed together, and extend to movement
It is applied in equipment.Web dynamic analysis engine can require parsing to execute original Web system output according to the instruction in project file
It is suitble to the page self-adapted WebApp of mobile phone behaviour's built-in browser or the operation of Hybrid client.
TailorWorkHorse Web dynamic analysis engine is parsed by javascript resolver, CSS resolver, html
The part such as device, Cookie&Session management, HttpFetcher forms.
StoreWorkHors engineering memory node has Distributed Storage and search function, and user can be according to whole
A Distributed Storage and retrieval operating load can be responsible for storage with the StoreWorkHorse node of infinite expanding
Tailor engineering information and engineering operation status information are responsible for storage project operation information and system information, are responsible for storage engineering
Account and engineering resource information.
Management platform is divided into two classes: managing the operation management platform and business administration oneself service operation of entire platform operation
Self-help service for user manage platform service.
Operation management platform: the entire platform operation of operation management platform management.Operation management platform is by entire Tailor
Cloud platform service provider be responsible for using, provide the examination & approval of user's registration information, the distribution authorization of user engineering resource information, use
The functions such as family engineering resource service operation monitoring management and operation management platform personnel management.It guarantees that entire Tailor cloud is flat
Platform can normally support creation, maintenance, operation, monitoring of all user engineerings etc..It specifically includes following functions module and divides
It Shi Xian following functions:
Enterprise introduces examination & approval: realizing the enterprise qualification examination & approval processing function of introducing;
Business administration: enterprises registration, enterprise query are realized in business administration, and function is modified by enterprise;
Personal management: the personal management using centralized management platform is realized;
Business monitoring: each business event running state monitoring is realized;
System monitoring: hardware system, operating system, support platform and business platform monitoring are realized.
Self-help service for user manages platform:
Self-help service for user management is public users, enterprise customer, engineers and technicians provide registration, data management, clothes
The functions such as business application, user management, engineering management, business monitoring, business statistics analysis.User passes through registration, data management, clothes
Business application is issued to operation management platform creates the application of WebApp engineering using platform.After operation management person is by examination & approval, use
Oneself available engineering resource space of family, user can create in engineering resource space, edit, debug, saving oneself
WebAPP engineering, and the operation of WebAPP engineering just monitor by Self-Service, business statistics is analyzed etc..It specifically includes
Following functions module simultaneously realizes following functions respectively:
User's registration management: if operation management platform does not have the materials for registration of user, it is necessary to which user is in centralized services
Management platform portal registers the information of oneself.When register user it is successful when, system default generate an Administrator account, pipe
Reason person's account are as follows: Administrator account: admin, Administrator account's password: 123.When user uses default admin's account for the first time
When number login system, the password of oneself is modified after logining successfully, to protect the information security of oneself company.
User information management: user can check user basic information, user's qualification file, user's approval status and user
Approval record qualification file.User can modify user basic information;
Service request: can apply servicing after user registration success, could only apply for service after user registration success;
User's user management: user can manage independently oneself engineering staff's information by platform;
Engineering management: the management and authority distribution of engineering resource are realized;
Business monitoring: the monitoring management of customer service use state is realized;
Business statistics analysis: customer service statistical analysis management is realized.
The Adaptable System based on cloud framework of the embodiment of the present invention, the method used is the adaptive side based on cloud framework
Method, therefore the feature of the Adaptable System based on cloud framework is identical as the adaptive approach based on cloud framework, repeats no more again.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, without departing from the principles of the present invention, several improvements and modifications can also be made, these improvements and modifications
It should be regarded as protection scope of the present invention.