Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of interface display method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of interface display method, the method comprises:
Obtain the URL address that user interface is corresponding, user interface comprises primary interface and Web page;
Resolve URL address and obtain web page address field and controling parameters field, controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
Web page is obtained according to web page address field;
Primary interface is generated according to controling parameters field;
According to Web page and primary interface, display user interface.
Optionally, resolve URL address and obtain web page address field and controling parameters field, comprising:
Identify the characteristic character in URL address;
By the field before being positioned at characteristic character in URL address, be identified as web page address field;
By the field after being positioned at characteristic character in URL address, be identified as controling parameters field.
Optionally, obtain Web page according to web page address field, comprising:
Send webpage according to web page address field to server and obtain request;
The Web page of reception server feedback.
Optionally, generate primary interface according to controling parameters field, comprising:
The controling parameters of each control primary interface is obtained from controling parameters field;
According to the controling parameters of each control, generate primary interface, Protozoic face comprises at least one control;
Wherein, the controling parameters of control comprises: enable at least one in the displaying contents parameter of the control type of the parameter of control and control, the display size of control, the font parameter of control and control; Or the controling parameters of control comprises: the parameter of not enabling control.
According to the second aspect of disclosure embodiment, provide a kind of interface supplying method, the method comprises:
To the URL address that client provides user interface corresponding, user interface comprises primary interface and Web page; URL address comprises: web page address field and controling parameters field, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
Receive the webpage acquisition request that client sends, webpage obtains request and carries web page address field;
To client feedback Web page, client is used for according to Web page and primary interface display user interface, and primary interface is that client generated according to controling parameters field.
Optionally, the method also comprises:
Receive the first configuration information, the first configuration information is for arranging the Web page in user interface;
According to the first configuration information generating web page address field and Web page;
Receive the second configuration information, the second configuration information is for arranging the primary interface in user interface;
Controling parameters field is generated according to the second configuration information;
According to web page address field and controling parameters field, generate the URL address corresponding with user interface.
According to the third aspect of disclosure embodiment, provide a kind of interface display apparatus, this device comprises:
First acquisition module, for obtaining URL address corresponding to user interface, user interface comprises primary interface and Web page;
Parsing module, obtains web page address field and controling parameters field for resolving URL address, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
Second acquisition module, for obtaining Web page according to web page address field;
Generation module, for generating primary interface according to controling parameters field;
Display module, for according to Web page and primary interface, shows user interface.
Optionally, parsing module comprises:
First recognition unit, for identifying the characteristic character in URL address;
Second recognition unit, for by the field before being positioned at characteristic character in URL address, is identified as web page address field;
3rd recognition unit, for by the field after being positioned at characteristic character in URL address, is identified as controling parameters field.
Optionally, the second acquisition module comprises:
Transmitting element, obtains request for sending webpage according to web page address field to server;
Receiving element, for the Web page of reception server feedback.
Optionally, generation module comprises:
Acquiring unit, for obtaining the controling parameters of each control in primary interface from controling parameters field;
Generation unit, for the controling parameters according to each control, generate primary interface, Protozoic face comprises at least one control;
Wherein, the controling parameters of control comprises: enable at least one in the displaying contents parameter of the control type of the parameter of control and control, the display size of control, the font parameter of control and control; Or the controling parameters of control comprises: the parameter of not enabling control.
According to the fourth aspect of disclosure embodiment, provide a kind of interface generator, this device comprises:
There is provided module, for the URL address providing user interface corresponding to client, user interface comprises primary interface and Web page; URL address comprises: web page address field and controling parameters field, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
Receiver module, the webpage sent for receiving client obtains request, and webpage obtains request and carries web page address field;
Feedback module, for client feedback Web page, client is used for according to Web page and primary interface display user interface, and primary interface is that client generated according to controling parameters field.
Optionally, this device also comprises:
First receiver module, for receiving the first configuration information, the first configuration information is for arranging the Web page in user interface;
First generation module, for according to the first configuration information generating web page address field and Web page;
Second receiver module, for receiving the second configuration information, the second configuration information is for arranging the primary interface in user interface;
Second generation module, for generating controling parameters field according to the second configuration information;
3rd generation module, for according to web page address field and controling parameters field, generates the URL address corresponding with user interface.
According to the 5th aspect of disclosure embodiment, provide a kind of interface display system, this system comprises: client and server:
Client comprises interface display apparatus described above;
Server comprises interface described above generator.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By obtaining URL address corresponding to user interface, resolve URL address and obtain web page address field and controling parameters field, obtain Web page according to web page address field, generate primary interface according to controling parameters field, according to Web page and primary interface display user interface; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the schematic diagram of a kind of implementation environment involved by each embodiment of the disclosure.This implementation environment can comprise: back-stage management terminal 120, server 140 and user terminal 160.
Back-stage management terminal 120 and user terminal 160 can be the terminal devices of such as mobile phone, panel computer, portable computer and desk-top computer and so on.
Run in user terminal 160 and have client, the user interface of client mixes realization by primary interface and embedded Web page.Briefly, realize in the client of user interface in mixing, a part for user interface is client-based primary interface, another part of user interface is the embedded Web page that user terminal gets from background server end, and embedded Web page can be different in the different time stage.Such as, suppose that primary interface is A, embedded Web page is the first user interface that B, A and B can form this client, and when embedded Web page becomes C, A and C forms again the second user interface of this client.
Run in back-stage management terminal 120 and have background management system, operation personnel logs in background management system by back-stage management terminal, realizes arranging the user interface of above-mentioned client.
Server 140 can be a station server, the server cluster that also can be made up of some station servers, or a cloud computing service center.Server 140 provides background service for the client for having equipment Management Function.
Back-stage management terminal 120 and can pass through wireless Wi-Fi (Wireless-Fidelity, Wireless Fidelity) between user terminal 160 and server 140, the wireless network modes such as bluetooth or cable network are connected.
Fig. 2 is the process flow diagram of a kind of interface display method according to an exemplary embodiment.The present embodiment is applied in the client in the user terminal 160 shown in Fig. 1 with this interface display method and illustrates.The method can comprise following step:
In step 201, obtain URL (UniformResourceLocator, the URL(uniform resource locator)) address that user interface is corresponding, user interface comprises primary interface and Web page;
In step 202., resolve URL address and obtain web page address field and controling parameters field, controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
In step 203, Web page is obtained according to web page address field;
In step 204, primary interface is generated according to controling parameters field;
In step 205, according to Web page and primary interface, display user interface.
It should be noted that, step 203 and step 204 are arranged side by side, do not have specific precedence relationship.
In sum, the method that the present embodiment provides, by obtaining URL address corresponding to user interface, resolve URL address and obtain web page address field and controling parameters field, Web page is obtained according to web page address field, primary interface is generated, according to Web page and primary interface display user interface according to controling parameters field; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
Fig. 3 is the process flow diagram of a kind of interface supplying method according to an exemplary embodiment.The present embodiment is applied in the server 140 shown in Fig. 1 with this interface display method and illustrates.The method can comprise following step:
In step 301, to the URL address that client provides user interface corresponding, user interface comprises primary interface and Web page; URL address comprises: web page address field and controling parameters field, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
In step 302, receive the webpage acquisition request that client sends, webpage obtains request and carries web page address field;
In step 303, to client feedback Web page, client is used for according to Web page and primary interface display user interface, and primary interface is that client generated according to controling parameters field.
In sum, the method that the present embodiment provides, by the URL address providing user interface corresponding to client, URL address includes web page address field and controling parameters field, the webpage receiving client transmission obtains request and to client feedback Web page, makes client according to Web page and primary interface display user interface; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
In disclosure embodiment, operation personnel is by the background management system of back-stage management terminal logged-on user interface, user interface comprises primary interface and Web page, operation personnel by arranging the parameter of the various setting options in background management system, can realize the self-defined display to the Web page in user interface and primary interface.Configuration information in the background management system at server receives user interface, and be stored in the database of server end, when this user interface needs to show on the client, server obtains the configuration information corresponding with this user interface stored from database, and according to this configuration information, client is shown accordingly to this user interface.
Optionally, operation personnel is by the background management system of ability logged-on user interface after purview certification, and a kind of method of purview certification is by authentication of users name and password, and disclosure embodiment is not construed as limiting purview certification method.
In the disclosed embodiments, be illustrated in figure 4 example with the background management system of user interface to be described, Fig. 4 comprises content, author/publisher, these three options arranged Web page content of content title, an essential option that Web page is arranged at least is comprised in background management system, which option concrete is essential, can be preset by user, disclosure embodiment is not construed as limiting this.
For Fig. 4, all exist " * " after the title of content, author/publisher, these three setting options of content title, it is all essential for representing these three settings to Web page content.
Also comprise special topic numbering, album title, comment amount, comment function in Fig. 4, point praises these options arranged primary interface of function, is optional to the setting of primary interface parameter.
Optionally, there is a default value in each parameters of primary interface, and the setting of default value can be systemic presupposition, and also can be that user presets, disclosure embodiment be not construed as limiting this.
Wherein, special topic numbering is used for unique this user interface of mark, but does not do on a user interface to show.For a user interface, there is the special topic numbering of an acquiescence, without in particular cases, this numbering is not made an amendment.
Optionally, the mode arranged the parameter of setting options can be input particular content, also can be select one from the candidate options preset.
Whether operation personnel can select some function to show in background management system, if select "Yes", represents and shows the control corresponding to this function, if select "No", representative does not show the control corresponding to this function.
Optionally, when a control exists, there will be the sub-setting options of the control of this function, showing as arranged comment function in Fig. 4, can there are the sub-setting options of information and comment font in corresponding comment function; And sharing function is set does not show, then the sub-setting options of sharing function also no longer show.
When operation personnel to user interface after accomplishing the setting up, by click save button, parameters information is kept in server-side database.If operation personnel clicks X button, then parameters information is not preserved.
It will be understood by those skilled in the art that, pattern shown in Fig. 4 is all exemplary, the setting options of background management system can comprise arbitrary one or any number of combinations in the setting options shown in Fig. 4, or comprise the setting options do not illustrated in Fig. 4, the method to set up of each setting options and design parameter also can be different, and the number, type, default value, set-up mode etc. of disclosure embodiment to the setting options comprised in the concrete form of background management system and background management system are not construed as limiting.
Fig. 5 is the process flow diagram of a kind of interface display method according to another exemplary embodiment.The present embodiment is applied in this way in the implementation environment shown in Fig. 1 and is illustrated, and the method can comprise following step:
In step 501, server receives the first configuration information, and the first configuration information is for arranging the Web page in user interface;
When server needs to provide the URL address of user interface to client, from database, obtain the parameters information of the background management system of this user interface stored according to the special topic numbering of user interface, parameters information comprises the first configuration information for arranging the Web page in user interface and the second configuration information for arranging the primary interface in user interface.
Server receives the first configuration information, background management system as shown in Figure 4, first configuration information 401 comprises content, author/publisher, content title, first configuration information can also comprise the setting options such as such as picture, font parameter, background color, at least comprises one for arranging the parameters information of Web page in the first configuration information.
In step 502, server is according to the first configuration information generating web page address field and Web page;
Web page address field can be the URL address pattern with set form, enables client obtain Web page by web page address field.
Optionally, server is edited the first configuration information according to HTML (HyperTextMarkupLanguage, HyperText Markup Language) language, and disclosure embodiment is not construed as limiting author language.
Be illustrated for the background management system shown in Fig. 4, according to the web page address field that the first configuration information generates be: http://zt.erdmusic.com/s/scene/10069.html.
Optionally, web page address field comprises special topic numbering.
Server is that those skilled in the art can understand according to the method for the first configuration information generating web page address field and Web page, and the present embodiment repeats no more this.
In step 503, server receives the second configuration information, and the second configuration information is for arranging the primary interface in user interface;
Server receives the second configuration information, and as shown in Figure 4, the second configuration information is used for arranging primary interface.A parameters information corresponding to the control at primary interface is at least comprised in second configuration information.
In step 504, server generates controling parameters field according to the second configuration information;
Server adopts Json (JavaScriptObjectNotation, JavaScript object representation) agreement represents the second configuration information, thus obtain the controling parameters field of Json form, server can also adopt additive method to encode to the second parameters, and disclosure embodiment is not construed as limiting this.
Background management system as shown in Figure 4, is illustrated for the album title in the second configuration information 402, comment function, sharing function:
Second configuration information be album title: ear hole special column vol.46,
Comment function: allow comment,
Sharing function: do not allow to share };
Second configuration information Json agreement is expressed as: " title ": " ear hole special column vol.46 ",
“comment”:“true”,
“share”:“false”};
The controling parameters field that server generates this User Page according to the second configuration information represented by Json agreement is erdmusic_json={ " title ": " ear hole special column vol.46 ", " comment ": " true ", " share ": " false " }.
Optionally, controling parameters field all comprises identical keyword with web page address field, and for representing same user interface, as shown in above-mentioned citing, web page address field and controling parameters field all comprise erdmusic.
It should be noted that, step 501, step 502 and step 503, step 504 are arranged side by side, do not have specific sequencing.
In step 505, server, according to web page address field and controling parameters field, generates the URL address corresponding with user interface;
After server adds controling parameters field to web page address field, generate the URL address corresponding with user interface, be exemplified as example with above-mentioned, the URL address of generation is:
Http:// zt.erdmusic.com/s/scene/10069.html? erdmusic_json={ " title ": " ear hole special column vol.46 ", " comment ": " true ", " share ": " false " }.
Optionally, URL comprises characteristic character in address, for web page address field and controling parameters field isolation being opened.
In step 506, the URL address that server provides user interface corresponding to client, user interface comprises primary interface and Web page; URL address comprises: web page address field and controling parameters field, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
The URL address that server can initiatively provide user interface corresponding to client, or, when a client sends a request to a server, the URL address that server provides user interface corresponding to client.
Optionally, the server URL address that once multiple user interface can be provided corresponding to client.
Corresponding, the URL address that the user interface that client acquisition server provides is corresponding, user interface comprises primary interface and Web page; URL address comprises: web page address field and controling parameters field, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface.
In step 507, the characteristic character in client identification URL address;
Optionally, the characteristic character in URL address can be that system default generates, and also can be that User Defined is arranged, disclosure embodiment be not construed as limiting this.
Optionally, in URL address, a kind of possible characteristic character be "? ", characteristic character can also be other letter, numeral, symbol etc., and disclosure embodiment is not construed as limiting this.
Client receives URL address, identifies the characteristic character in URL address, in the present embodiment given example, characteristic character be "? "In client identification URL address, the method for characteristic character it will be appreciated by those skilled in the art that, the present embodiment repeats no more this.
Client is resolved URL address and is obtained web page address field and controling parameters field, and controling parameters field comprises the controling parameters corresponding with at least one control in primary interface, specifically comprises step 508 and step 509:
In step 508, client, by the field before being positioned at characteristic character in URL address, is identified as web page address field;
In the present embodiment given example, client by be positioned in URL address characteristic character "? " http://zt.erdmusic.com/s/scene/10069.html is before identified as web page address field.The method of client identification field is what it will be appreciated by those skilled in the art that, and the present embodiment repeats no more this.
In step 509, client, by the field after being positioned at characteristic character in URL address, is identified as controling parameters field;
In the present embodiment given example, client by be positioned in URL address characteristic character "? " erdmusic_json={ " title " afterwards: " ear hole special column vol.46 ", " comment ": " true ", " share ": " false " } be identified as controling parameters field.The method of client identification field is what it will be appreciated by those skilled in the art that, and the present embodiment repeats no more this.
It should be noted that, above-mentioned steps 508 and 509 does not have specific precedence relationship, can be arranged side by side.
Client obtains Web page according to web page address field, specifically comprises step 510 and step 511:
In step 510, client sends webpage according to web page address field to server and obtains request;
Client sends the request obtaining Web page corresponding to this web page address field to server according to the web page address field recognized, webpage obtains request and comprises web page address field.
Corresponding, the webpage that server receives client sends obtains request, and webpage obtains in request and carries web page address field.
In step 511, server is to client feedback Web page;
Server receives the webpage acquisition request that client sends, and obtains the web page address location in request, to the Web page that client feedback is corresponding with this web page address field according to webpage.Server is well known by persons skilled in the art according to the method for web page address field feedback Web page, and this enforcement repeats no more this.
Corresponding, the Web page of client reception server feedback.
Client generates primary interface according to controling parameters field, comprises step 512 and step 513:
In step 512, client obtains the controling parameters of each control primary interface from controling parameters field, wherein, the controling parameters of control comprises: enable at least one in the displaying contents parameter of the control type of the parameter of control and control, the display size of control, the font parameter of control and control; Or the controling parameters of control comprises: the parameter of not enabling control.
The client agreement corresponding according to controling parameters field is decoded to the controling parameters field identified, and obtains the controling parameters that controling parameters field is corresponding, i.e. the second configuration information.
Illustrate, client according to Json agreement to erdmusic_json={ " title ": " ear hole special column vol.46 ", " comment ": " true ", " share ": " false " } decoding obtains controling parameters for { album title: ear hole special column vol.46, comment function: allow comment, sharing function: do not allow to share }.
When a kind of may appearance, the controling parameters corresponding with Protozoic face comprises: the parameter of enabling control, and such as " display point praises control ", " allowing comment " all belong to the parameter of enabling control.
When enabling a certain control in primary interface, also comprise in controling parameters: at least one in the control type of this control, the display size of control, the font parameter of control and the displaying contents parameter of control.Other parameters of this control can also be comprised in controling parameters.
When another kind may occur, controling parameters comprises: the parameter of not enabling control, such as " does not allow to share ".
When not enabling a certain control in primary interface, in controling parameters, no longer comprise other controling parameters of this control.
Optionally, the controling parameters that different controls is corresponding can be different.
In step 513, client, according to the control parameter of each control, generates primary interface, and Protozoic face comprises at least one control;
The client controling parameters corresponding according to each control in controling parameters shows this control, and generate primary interface, Protozoic face comprises at least one control.
Optionally, the control at the primary interface in control parameter comprises: title control, share button control, comments control, menu control, point praise control, exhibition opening/closing control, send control, preserve control, at least one of adding in button control, delete button control, can also comprise other controls in primary interface, disclosure embodiment is not construed as limiting the kind of control, type.
It should be noted that, above-mentioned steps 510, step 511 and step 512, step 513 are arranged side by side, do not have specific precedence relationship.Step 510,511 completes after step 508, and step 512, step 513 complete after step 509.
In the step 514, client, according to Web page and primary interface, shows user interface.
Terminal, according to the Web page of the server feedback received and the primary interface according to controling parameters generation, shows user interface.
Be illustrated for the parameter in background management system as shown in Figure 4, client generates primary interface as shown in Figure 6 according to the Web page received and controling parameters.601 and 603 is the primary interface that client generates according to the controling parameters received, and 602 is the Web page generated by the first configuration information 401 that client obtains from server end.
In sum, the method that the present embodiment provides, client is by obtaining URL address corresponding to user interface, resolve URL address and obtain web page address field and controling parameters field, Web page is obtained according to web page address field, primary interface is generated, according to Web page and primary interface display user interface according to controling parameters field; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
The method that the present embodiment provides, by setting the controling parameters of each control in primary interface, achieve and part control is shown, part control is not shown, and also can be different for the controling parameters of the control of display, the specific aim reaching primary interface is stronger, is combined tightr with the content of Web page, and operation personnel can customize UI as required, make the effect that user interface is abundanter.
In the example that another is concrete, as shown in Figure 7, the first configuration information 701 comprises the content of Web page, content title and picture to background management system, and the second configuration information 702 comprises album title and the parameter sharing button control.
Then in this example embodiment, be http://zt.news.com/s/scene/10005.html according to html language to the web page address field that the first configuration information editor generates.
Be news_json={ " title " according to Json form to the controling parameters field that the second configuration information editor generates: " news program ", " share ": " true " }.
After server adds controling parameters field to web page address field, generating URL address is:
Http:// zt.news.com/s/scene/10005.html? news_json={ " title ": " news program ", " share ": " true " }, and this URL address is supplied to client.
Client is carried out parsing to this URL address received and is obtained web page address field and controling parameters field, and obtain Web page according to web page address field to server, primary interface is generated according to controling parameters field, be as shown in Figure 8 according to Web page and primary interface display user interface, wherein, 801 is primary interface, comprises album title in Fig. 7 and shares button control, 802 is Web page, comprises the content title in Fig. 7, content and picture.
Fig. 9 is the block diagram of a kind of interface display apparatus according to an exemplary embodiment, and in client, this block diagram can comprise:
First acquisition module 910, for obtaining URL address corresponding to user interface, user interface comprises primary interface and Web page;
Parsing module 920, obtains web page address field and controling parameters field for resolving URL address, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
Second acquisition module 930, for obtaining Web page according to web page address field;
Generation module 940, for generating primary interface according to controling parameters field;
Display module 950, for according to Web page and primary interface, shows user interface.
In sum, the device that the present embodiment provides, by obtaining URL address corresponding to user interface, resolve URL address and obtain web page address field and controling parameters field, Web page is obtained according to web page address field, primary interface is generated, according to Web page and primary interface display user interface according to controling parameters field; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
Figure 10 is the block diagram of a kind of interface display apparatus according to another exemplary embodiment, and in client, this block diagram can comprise:
First acquisition module 1010, for obtaining URL address corresponding to user interface, user interface comprises primary interface and Web page;
Parsing module 1020, obtains web page address field and controling parameters field for resolving URL address, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
Parsing module 1020 comprises:
First recognition unit 1021, for identifying the characteristic character in URL address;
Second recognition unit 1022, for by the field before being positioned at characteristic character in URL address, is identified as web page address field;
3rd recognition unit 1023, for by the field after being positioned at characteristic character in URL address, is identified as controling parameters field.
Second acquisition module 1030, for obtaining Web page according to web page address field;
Transmitting element 1031, obtains request for sending webpage according to web page address field to server;
Receiving element 1032, for the Web page of reception server feedback.
Generation module 1040, for generating primary interface according to controling parameters field;
Acquiring unit 1041, for obtaining the controling parameters of each control in primary interface from controling parameters field;
Generation unit 1042, for the controling parameters according to each control, generate primary interface, Protozoic face comprises at least one control;
Wherein, the controling parameters of control comprises: the parameter of enabling control, and at least one in the displaying contents parameter of the control type of control, the display size of control, the font parameter of control and control; Or the controling parameters of control comprises: the parameter of not enabling control;
Display module 1050, for according to Web page and primary interface, shows user interface.
In sum, the device that the present embodiment provides, by obtaining URL address corresponding to user interface, resolve URL address and obtain web page address field and controling parameters field, Web page is obtained according to web page address field, primary interface is generated, according to Web page and primary interface display user interface according to controling parameters field; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
The device that the present embodiment provides, by setting the controling parameters of each control in primary interface, achieve and part control is shown, part control is not shown, and also can be different for the controling parameters of the control of display, the specific aim reaching primary interface is stronger, is combined tightr with the content of Web page, and operation personnel can customize UI as required, make the effect that user interface is abundanter.
Figure 11 is the block diagram of a kind of interface generator according to another exemplary embodiment, and in server, this block diagram can comprise:
There is provided module 1110, for the URL address providing user interface corresponding to client, user interface comprises primary interface and Web page; URL address comprises: web page address field and controling parameters field, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
Receiver module 1120, the webpage sent for receiving client obtains request, and webpage obtains request and carries web page address field;
Feedback module 1130, for client feedback Web page, client is used for according to Web page and primary interface display user interface, and primary interface is that client generated according to controling parameters field.
In sum, the device that the present embodiment provides, by the URL address providing user interface corresponding to client, URL address includes web page address field and controling parameters field, the webpage receiving client transmission obtains request and to client feedback Web page, makes client according to Web page and primary interface display user interface; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
Figure 12 is the block diagram of a kind of interface generator according to another exemplary embodiment, and in server, this block diagram can comprise:
First receiver module 1210, for receiving the first configuration information, the first configuration information is for arranging the Web page in user interface;
First generation module 1220, for according to the first configuration information generating web page address field and Web page;
Second receiver module 1230, for receiving the second configuration information, the second configuration information is for arranging the primary interface in user interface;
Second generation module 1240, for generating controling parameters field according to the second configuration information;
3rd generation module 1250, for according to web page address field and controling parameters field, generates the URL address corresponding with user interface.
There is provided module 1260, for the URL address providing user interface corresponding to client, user interface comprises primary interface and Web page; URL address comprises: web page address field and controling parameters field, and controling parameters field comprises and the controling parameters corresponding at least one control in primary interface;
Receiver module 1270, the webpage sent for receiving client obtains request, and webpage obtains request and carries web page address field;
Feedback module 1280, for client feedback Web page, client is used for according to Web page and primary interface display user interface, and primary interface is that client generated according to controling parameters field.
In sum, the device that the present embodiment provides, by the URL address providing user interface corresponding to client, URL address includes web page address field and controling parameters field, the webpage receiving client transmission obtains request and to client feedback Web page, makes client according to Web page and primary interface display user interface; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
The device that the present embodiment provides, by setting the controling parameters of each control in primary interface, achieve and part control is shown, part control is not shown, and also can be different for the controling parameters of the control of display, the specific aim reaching primary interface is stronger, is combined tightr with the content of Web page, and operation personnel can customize UI as required, make the effect that user interface is abundanter.
Figure 13 is the block diagram of a kind of interface display system according to another exemplary embodiment, and this interface display system can comprise: client 1310 and server 1320;
Client 1310 can be as shown in Figure 9 embodiment or embodiment illustrated in fig. 10 in client;
Server 1320 can be as shown in figure 11 embodiment or embodiment illustrated in fig. 12 in server;
Can be connected by cable network or wireless network between client 1310 and server 1320.
In sum, the interface display system that the present embodiment provides, by the URL address providing user interface corresponding to client, URL address includes web page address field and controling parameters field, the webpage receiving client transmission obtains request and to client feedback Web page, makes client according to Web page and primary interface display user interface; Solving in correlation technique for employing primary interface and the mixing of embedded web webpage realizes the APP of UI, the web web page portions in user interface can only be revised, and the problem at the primary interface of APP cannot be changed; Reach according to the web page address field in URL address and controling parameters field, while to Web page real-time update, also can on-the-fly modify and the effect shown primary interface.
The interface display system that the present embodiment provides, by setting the controling parameters of each control in primary interface, achieve and part control is shown, part control is not shown, and also can be different for the controling parameters of the control of display, the specific aim reaching primary interface is stronger, is combined tightr with the content of Web page, and operation personnel can customize UI as required, make the effect that user interface is abundanter.
It should be noted that: the interface display apparatus that above-described embodiment provides is when display interface, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the interface display apparatus that above-described embodiment provides and interface display method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.