Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of interface display method and devices.It is described
Technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of interface display method is provided, this method comprises:
The corresponding address URL of user interface is obtained, user interface includes primary interface and Web page;
The parsing address URL obtains web page address field and control parameter field, and control parameter field includes and primary interface
In control parameter corresponding at least one control;
Web page is obtained according to web page address field;
Primary interface is generated according to control parameter field;
According to Web page and primary interface, user interface is shown.
Optionally, the parsing address URL obtains web page address field and control parameter field, comprising:
Identify the characteristic character in the address URL;
By the field in the address URL before characteristic character, it is identified as web page address field;
By the field in the address URL after characteristic character, it is identified as control parameter field.
Optionally, Web page is obtained according to web page address field, comprising:
Webpage acquisition request is sent to server according to web page address field;
Receive the Web page of server feedback.
Optionally, primary interface is generated according to control parameter field, comprising:
The control parameter of each control in primary interface is obtained from control parameter field;
According to the control parameter of each control, primary interface is generated, Protozoic face includes at least one control;
Wherein, the control parameter of control include: enable control parameter and control control type, control display it is big
At least one of small, control font parameter and the display content parameters of control;Alternatively, the control parameter of control includes: not
Enable the parameter of control.
According to the second aspect of an embodiment of the present disclosure, a kind of interface providing method is provided, this method comprises:
There is provided user interface the corresponding address URL to client, user interface includes primary interface and Web page;URL
Location includes: web page address field and control parameter field, and control parameter field includes and at least one control institute in primary interface
Corresponding control parameter;
The webpage acquisition request that client is sent is received, webpage acquisition request carries web page address field;
To client feedback Web page, client is used for according to Web page and primary interface display user interface, primary
Interface is that client is generated according to control parameter field.
Optionally, this method further include:
The first setting information is received, the first setting information is used for the Web page being arranged in user interface;
Web page address field and Web page are generated according to the first setting information;
The second setting information is received, the second setting information is used for the primary interface being arranged in user interface;
Control parameter field is generated according to the second setting information;
According to web page address field and control parameter field, the address URL corresponding with user interface is generated.
According to the third aspect of an embodiment of the present disclosure, a kind of interface display apparatus is provided, which includes:
First obtains module, and for obtaining the corresponding address URL of user interface, user interface includes primary interface and Web
Webpage;
Parsing module obtains web page address field and control parameter field, control parameter field packet for parsing the address URL
It includes and control parameter corresponding at least one control in primary interface;
Second obtains module, for obtaining Web page according to web page address field;
Generation module, for generating primary interface according to control parameter field;
Display module, for showing user interface according to Web page and primary interface.
Optionally, parsing module includes:
First recognition unit, for identification characteristic character in the address URL;
Second recognition unit, for being identified as web page address word for the field in the address URL before characteristic character
Section;
Third recognition unit, for being identified as control parameter word for the field in the address URL after characteristic character
Section.
Optionally, the second acquisition module includes:
Transmission unit, for sending webpage acquisition request to server according to web page address field;
Receiving unit, for receiving the Web page of server feedback.
Optionally, generation module includes:
Acquiring unit, for obtaining the control parameter of each control in primary interface from control parameter field;
Generation unit generates primary interface for the control parameter according to each control, and Protozoic face includes at least one
Control;
Wherein, the control parameter of control include: enable control parameter and control control type, control display it is big
At least one of small, control font parameter and the display content parameters of control;Alternatively, the control parameter of control includes: not
Enable the parameter of control.
According to a fourth aspect of embodiments of the present disclosure, a kind of interface offer device is provided, which includes:
Module is provided, for providing user interface the corresponding address URL to client, user interface include primary interface and
Web page;The address URL includes: web page address field and control parameter field, control parameter field include in primary interface extremely
Control parameter corresponding to a few control;
Receiving module, for receiving the webpage acquisition request of client transmission, webpage acquisition request carries web page address
Field;
Feedback module, for client feedback Web page, client to be used for according to Web page and primary interface display
User interface, primary interface are that client is generated according to control parameter field.
Optionally, the device further include:
First receiving module, for receiving the first setting information, the first setting information is used for the Web being arranged in user interface
Webpage;
First generation module, for generating web page address field and Web page according to the first setting information;
Second receiving module, for receiving the second setting information, the second setting information is used for the original being arranged in user interface
Raw interface;
Second generation module, for generating control parameter field according to the second setting information;
Third generation module, for generating corresponding with user interface according to web page address field and control parameter field
The address URL.
According to a fifth aspect of the embodiments of the present disclosure, provide a kind of interface display system, the system include: client and
Server:
Client includes such as above-mentioned interface display apparatus;
Server includes that above-mentioned interface such as provides device.
Technical solution provided in an embodiment of the present invention has the benefit that
By obtaining the corresponding address URL of user interface, the parsing address URL obtains web page address field and control parameter word
Section, obtains Web page according to web page address field, generates primary interface according to control parameter field, according to Web page and primary
Interface display user interface;It solves and realizes UI's for having used primary interface and embedded web page to mix in the related technology
APP can only modify the web page part in user interface, and the problem of the primary interface of APP can not be changed;Basis is reached
Web page address field and control parameter field in the address URL also can be to Protozoics while to Web page real-time update
The effect that face carries out dynamic modification and shows.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is a kind of schematic diagram of implementation environment involved in each embodiment of the disclosure.The implementation environment may include:
Back-stage management terminal 120, server 140 and user terminal 160.
Back-stage management terminal 120 and user terminal 160 can be such as mobile phone, tablet computer, portable computer and platform
The terminal device of formula computer etc.
Operation has client in user terminal 160, and the user interface of client is mixed by primary interface and embedded Web page
It realizes.Briefly, in the client that user interface is realized in mixing, a part of user interface is client-based primary
Interface, another part of user interface is the embedded Web page that user terminal is got from background server end, embedded
Web page can be different in the different time stage.Such as, it is assumed that Protozoic face is A, and embedded Web page is B, A and B
The first user interface that the client can be formed, when embedded Web page becomes C, A and C form the of the client again
Two user interfaces.
Operation has background management system in back-stage management terminal 120, and operation personnel logs in backstage by back-stage management terminal
Management system, realization are configured the user interface of above-mentioned client.
Server 140 can be a server, be also possible to the server cluster consisted of several servers, or
It is a cloud computing service center.Server 140 is used to provide background service for the client with equipment Management Function.
Wireless Wi-Fi can be passed through between back-stage management terminal 120 and user terminal 160 and server 140
(Wireless-Fidelity, Wireless Fidelity), the wireless networks such as bluetooth mode or cable network are connected.
Fig. 2 is a kind of flow chart of interface display method shown according to an exemplary embodiment.The present embodiment is with the boundary
It is illustrated in the client that plane display method is applied in user terminal 160 shown in FIG. 1.This method may include following
Several steps:
In step 201, obtaining the corresponding URL of user interface, (Uniform Resource Locator, unified resource are fixed
Position symbol) address, user interface includes primary interface and Web page;
In step 202, the parsing address URL obtains web page address field and control parameter field, control parameter field packet
It includes and control parameter 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 control parameter field;
In step 205, according to Web page and primary interface, user interface is shown.
It should be noted that step 203 and step 204 be it is arranged side by side, without specific precedence relationship.
In conclusion method provided in this embodiment parses the address URL by obtaining the corresponding address URL of user interface
Web page address field and control parameter field are obtained, Web page is obtained according to web page address field, it is raw according to control parameter field
At primary interface, according to Web page and primary interface display user interface;It solves in the related technology for having used Protozoic
The APP of UI is realized in face and the mixing of embedded web page, can only modify the web page part in user interface, and can not change APP
Primary interface the problem of;Reach according to the web page address field and control parameter field in the address URL, to Web page
While real-time update, the effect of dynamic modification and display can be also carried out to primary interface.
Fig. 3 is a kind of flow chart of interface providing method shown according to an exemplary embodiment.The present embodiment is with the boundary
Plane display method is applied to illustrate in server 140 shown in FIG. 1.This method may include following steps:
In step 301, provide user interface the corresponding address URL to client, user interface include primary interface and
Web page;The address URL includes: web page address field and control parameter field, control parameter field include in primary interface extremely
Control parameter corresponding to a few control;
In step 302, the webpage acquisition request that client is sent is received, webpage acquisition request carries web page address word
Section;
In step 303, to client feedback Web page, client is used to be used according to Web page and primary interface display
Family interface, primary interface are that client is generated according to control parameter field.
In conclusion method provided in this embodiment, by providing user interface the corresponding address URL to client, URL
Address includes web page address field and control parameter field, and the webpage acquisition request of reception client transmission is simultaneously anti-to client
Web page is presented, makes client according to Web page and primary interface display user interface;It solves in the related technology for using
The APP of UI is realized in primary interface and the mixing of embedded web page, can only modify the web page part in user interface, and can not
The problem of changing the primary interface of APP;Reach according to the web page address field and control parameter field in the address URL, right
While Web page real-time update, the effect of dynamic modification and display can be also carried out to primary interface.
In the embodiment of the present disclosure, operation personnel passes through the background management system of back-stage management terminal logged-on user interface, uses
Family interface includes primary interface and Web page, and operation personnel can pass through the various setting options in setting background management system
Parameter, realize customized display to Web page and primary interface in user interface.After server receives user interface
Setting information in platform management system, and be stored in the database of server end, when the user interface needs on the client
When display, server obtains stored setting information corresponding with the user interface from database, and is believed according to the setting
Breath shows that client accordingly to this user interface.
Optionally, background management system of the operation personnel by ability logged-on user interface after purview certification, a kind of permission
The method of certification is by verifying username and password, and the embodiment of the present disclosure is not construed as limiting purview certification method.
In the embodiments of the present disclosure, it is illustrated so that the background management system of user interface is as shown in Figure 4 as an example, in Fig. 4
Including content, author/publisher, content title these three options for being configured to Web page content, in background management system
The essential option being configured including at least one to Web page, specifically which option is essential, can be set in advance by user
Fixed, the embodiment of the present disclosure is not construed as limiting this.
By taking Fig. 4 as an example, content, author/publisher, content title these three setting options title after all there is " * ", generation
Table these three be all essential to the setting of Web page content.
Further include in Fig. 4 thematic number, album title, comment amount, comment on function, thumb up function these to primary interface
The option being configured, the setting to primary interface parameter are optional.
Optionally, for each setting parameter of primary interface there are a default value, the setting of default value can be system
It is preset, it is also possible to that user is preset, and the embodiment of the present disclosure is not construed as limiting this.
Wherein, special topic number is for uniquely identifying the user interface, but does not show on a user interface.For one
User interface, there are the special topic numbers that one is defaulted not to make an amendment without in special circumstances to the number.
Optionally, the mode being configured to the parameter of setting options can be input particular content, be also possible to from pre-
If candidate options in select one kind.
Operation personnel can select whether certain functions show in background management system, if selection "Yes", represents to this
Control corresponding to function is shown, if selection "No", representative do not show control corresponding to the function.
Optionally, in the presence of a control, it may appear that the sub- setting options of the control of the function, as setting is commented in Fig. 4
It is shown by function, corresponding comment function can have prompt information and comment on the sub- setting options of font;And it is arranged and shares function
Can be without display, then the sub- setting options of sharing function are also no longer shown.
When operation personnel to user interface after accomplishing the setting up, by click save button, will setting parameter information be stored in
In server-side database.If operation personnel clicks close button, setting parameter information is not saved.
It will be appreciated by persons skilled in the art that the form and content shown in Fig. 4 are all exemplary, back-stage management system
The setting options of system may include any one or any number of combination in the setting options shown in Fig. 4, or comprising in Fig. 4
The setting options being not shown, the setting method and design parameter of each setting options can also be different, the embodiment of the present disclosure
To the numbers of the setting options for including in the concrete form and background management system of background management system, type, default value, set
Mode etc. is set to be not construed as limiting.
Fig. 5 is a kind of flow chart of the interface display method shown according to another exemplary embodiment.The present embodiment is with this
Method is applied to be illustrated in implementation environment shown in FIG. 1, and this method may include following steps:
In step 501, server receives the first setting information, and the first setting information is for being arranged in user interface
Web page;
When server need to client provide user interface the address URL when, according to user interface special topic number from
The setting parameter information of the background management system of the stored user interface is obtained in database, includes in setting parameter information
The second of first setting information of the Web page for being arranged in user interface and the primary interface for being arranged in user interface
Setting information.
Server receives the first setting information, background management system as shown in Figure 4, and the first setting information 401 includes interior
Hold, author/publisher, content title, the first setting information can also include that picture, font parameter, background color etc. are set
Option is set, one is included at least in the first setting information for the setting parameter information of Web page to be arranged.
In step 502, server generates web page address field and Web page according to the first setting information;
Web page address field can be the URL address format with fixed format, enable the client to pass through web page address
Field obtains Web page.
Optionally, server is according to HTML (HyperText Markup Language, HyperText Markup Language) language
First setting information is edited, the embodiment of the present disclosure is not construed as limiting author language.
It is illustrated by taking background management system shown in Fig. 4 as an example, the webpage generated according to the first setting information
Location field are as follows: https://zt.erdmusic.com/s/scene/10069.html.
It optionally, include special topic number in web page address field.
Server is those skilled in the art according to the method that the first setting information generates web page address field and Web page
It will be appreciated that, the present embodiment repeats no more this.
In step 503, server receives the second setting information, and the second setting information is used for the original being arranged in user interface
Raw interface;
Server receives the second setting information, as shown in figure 4, the second setting information is for being arranged primary interface.Second sets
One is included at least in confidence breath to the corresponding setting parameter information of the control at primary interface.
In step 504, server generates control parameter field according to the second setting information;
Server uses Json (JavaScript Object Notation, JavaScript object representation) agreement pair
Second setting information is indicated, to obtain the control parameter field of Json format, server can also use other methods
Second setting parameter is encoded, the embodiment of the present disclosure is not construed as limiting this.
Background management system as shown in Figure 4, with the album title in the second setting information 402, comment function, sharing function
It is illustrated for energy:
Second setting information be album title: ear hole special column vol.46,
Comment function: allowing to comment on,
Sharing function: do not allow to share };
Second setting information is indicated with Json agreement are as follows: " title ": " ear hole special column vol.46 ",
" comment ": " true ",
" share ": " false " };
Server is according to the control parameter field that the second setting information indicated with Json agreement generates the User Page
Erdmusic_json={ " title ": " ear hole special column vol.46 ", " comment ": " true ", " share ": " false " }.
Optionally, control parameter field and web page address field all include identical keyword, for indicating the same use
Family interface, as shown in the example above, web page address field and control parameter field all include erdmusic.
It should be noted that step 501, step 502 and step 503, step 504 be it is arranged side by side, without it is specific successively
Sequentially.
In step 505, server generates corresponding with user interface according to web page address field and control parameter field
The address URL;
After control parameter field is added to web page address field by server, the address URL corresponding with user interface is generated,
Example, the address URL of generation are exemplified as with above-mentioned are as follows:
Http:https:// zt.erdmusic.com/s/scene/10069.html? erdmusic_json={ " title ": " ear
Hole special column vol.46 ", " comment ": " true ", " share ": " false " }.
It optionally, include characteristic character in the address URL, for opening web page address field and control parameter field isolation.
In step 506, server provides user interface the corresponding address URL to client, and user interface includes primary
Interface and Web page;The address URL includes: web page address field and control parameter field, and control parameter field includes and Protozoic
Control parameter corresponding at least one control in face;
Server actively can provide user interface the corresponding address URL to client, or, when user end to server is sent out
When sending request, server provides user interface the corresponding address URL to client.
Optionally, server once can provide multiple user interfaces the corresponding address URL to client.
Corresponding, client obtains the corresponding address URL of user interface that server provides, and user interface includes Protozoic
Face and Web page;The address URL includes: web page address field and control parameter field, and control parameter field includes and primary interface
In control parameter corresponding at least one control.
In step 507, client identifies the characteristic character in the address URL;
Optionally, the characteristic character in the address URL can be system default generation, be also possible to the customized setting of user
, the embodiment of the present disclosure is not construed as limiting this.
Optionally, in the address URL, a kind of possible characteristic character be "? ", characteristic character can also be other words
Mother, number, symbol etc., the embodiment of the present disclosure is not construed as limiting this.
Client receives the address URL, identifies the characteristic character in the address URL, in the present embodiment given example, tagged word
Symbol for "? ".Client identification the address URL in characteristic character method be it will be appreciated by those skilled in the art that, the present embodiment
This is repeated no more.
The client parsing address URL obtains web page address field and control parameter field, and control parameter field includes and original
The corresponding control parameter of at least one control in raw interface, specifically includes step 508 and step 509:
In step 508, the field before characteristic character is located in the address URL is identified as web page address word by client
Section;
In the present embodiment given example, client will in the address URL be located at characteristic character "? " http before: //
Zt.erdmusic.com/s/scene/10069.html is identified as web page address field.The method that client identifies field is this
Field technical staff is it should be understood that the present embodiment repeats no more this.
In step 509, the field after characteristic character is located in the address URL is identified as control parameter word by client
Section;
In the present embodiment given example, client will in the address URL be located at characteristic character "? " erdmusic_ later
Json={ " title ": " ear hole special column vol.46 ", " comment ": " true ", " share ": " false " } is identified as control ginseng
Digital section.Client identification field method be it will be appreciated by those skilled in the art that, the present embodiment repeats no more this.
It should be noted that above-mentioned steps 508 and 509 can be arranged side by side without specific precedence relationship.
Client obtains Web page according to web page address field, specifically includes step 510 and step 511:
In step 510, client sends webpage acquisition request to server according to web page address field;
Client sends to server according to the web page address field recognized and obtains the corresponding Web of the web page address field
The request of webpage includes web page address field in webpage acquisition request.
Corresponding, server receives the webpage acquisition request that client is sent, in webpage acquisition request with carrying webpage
Location field.
In step 511, server is to client feedback Web page;
Server receives the webpage acquisition request of client transmission, according to the web page address in webpage acquisition request
Section, to client feedback Web page corresponding with the web page address field.Server is according to web page address field feedback Web
The method of webpage is known to the skilled in the art, this implementation repeats no more this.
Corresponding, client receives the Web page of server feedback.
Client generates primary interface, including step 512 and step 513 according to control parameter field:
In step 512, client obtains the control parameter of each control in primary interface from control parameter field,
In, the control parameter of control includes: the parameter for enabling control and control type, the display size of control, control of control
At least one of font parameter and the display content parameters of control;Alternatively, the control parameter of control includes: not enable control
Parameter.
Client is decoded the control parameter field identified according to the corresponding agreement of control parameter field, is controlled
The corresponding control parameter of parameter field processed, i.e. the second setting information.
For example, client is according to Json agreement to erdmusic_json={ " title ": " ear hole special column
Vol.46 ", " comment ": " true ", " share ": " false " } decoding obtain control parameter be { album title: ear hole special column
Vol.46 comments on function: allowing to comment on, sharing function: not allowing to share }.
In the case where one kind is likely to occur, control parameter corresponding with Protozoic face includes: to enable the parameter of control, all
As " display thumbs up control ", " allowing to comment on " belong to the parameter of enabling control.
When enabling a certain control in primary interface, in control parameter further include: the control type of the control, control it is aobvious
Show at least one of the display content parameters of size, the font parameter of control and control.Can also include in control parameter should
The other parameters of control.
In the case where alternatively possible appearance, control parameter includes: not enable the parameter of control, " is not allowed point such as
It enjoys ".
When not enabling a certain control in primary interface, no longer including other control parameters of the control in control parameter.
Optionally, the corresponding control parameter of different controls can be different.
In step 513, client generates primary interface according to the control parameter of each control, and Protozoic face includes extremely
A few control;
Client shows this control according to the corresponding control parameter of each control in control parameter, generates former
Raw interface, Protozoic face includes at least one control.
Optionally, the control at the primary interface in control parameter include: title control, share button control, comments control,
Menu control thumbs up control, exhibition opening/closing control, sends control, saves control, addition button control, in delete button control
At least one, can also include other controls in primary interface, the embodiment of the present disclosure not limit type, the type of control
It is fixed.
It should be noted that above-mentioned steps 510, step 511 and step 512, step 513 be it is arranged side by side, without specific
Precedence relationship.Step 510,511 are completed after step 508, and step 512, step 513 are completed after step 509.
In the step 514, client shows user interface according to Web page and primary interface.
Web page of the terminal according to the server feedback received and the primary interface according to control parameter generation, display
User interface.
It is illustrated by taking the parameter in background management system as shown in Figure 4 as an example, client is according to receiving
Web page and control parameter generate primary interface as shown in FIG. 6.601 and 603 be client according to the control parameter received
The primary interface generated, 602 Web pages generated by the first setting information 401 obtained for client from server end.
In conclusion method provided in this embodiment, client is by obtaining the corresponding address URL of user interface, parsing
The address URL obtains web page address field and control parameter field, obtains Web page according to web page address field, is joined according to control
Digital section generates primary interface, according to Web page and primary interface display user interface;It solves in the related technology for using
The APP of UI is realized in primary interface and the mixing of embedded web page, can only modify the web page part in user interface, and can not
The problem of changing the primary interface of APP;Reach according to the web page address field and control parameter field in the address URL, right
While Web page real-time update, the effect of dynamic modification and display can be also carried out to primary interface.
Method provided in this embodiment is set by the control parameter to each control in primary interface, is realized
Part control is shown, part control is not shown, and can also be different for the control parameter of the control of display, is reached
The specific aim at primary interface is stronger, closer in conjunction with the content of Web page, and operation personnel can according to need customization and use
Family interface makes the effect that user interface is richer.
In another specific example, background management system is as shown in fig. 7, the first setting information 701 includes Web page
Content, content title and picture, the second setting information 702 includes album title and the parameter of sharing button control.
Then in this example embodiment, it is according to the web page address field that html language generates the first setting information editor
https://zt.news.com/s/scene/10005.html。
It is news_json=to the control parameter field that the second setting information editor generates according to Json format
{ " title ": " news program ", " share ": " true " }.
After control parameter field is added to web page address field by server, the address URL is generated are as follows:
Http:https:// zt.news.com/s/scene/10005.html? news_json=" title ": " news program ",
" share ": " true " }, and the address URL is supplied to client.
Client is parsed to obtain web page address field and control parameter field, and root to the address URL received
Obtain Web page to server according to web page address field, primary interface generated according to control parameter field, according to Web page and
Primary interface display user interface is as shown in Figure 8, wherein 801 be primary interface, comprising in Fig. 7 album title with share
Button control, 802 be Web page, including content title, content and the picture in Fig. 7.
Fig. 9 is a kind of block diagram of interface display apparatus shown according to an exemplary embodiment, is used in client, the frame
Figure may include:
First obtains module 910, for obtaining the corresponding address URL of user interface, user interface include primary interface and
Web page;
Parsing module 920 obtains web page address field and control parameter field, control parameter word for parsing the address URL
Section include and control parameter corresponding at least one control in primary interface;
Second obtains module 930, for obtaining Web page according to web page address field;
Generation module 940, for generating primary interface according to control parameter field;
Display module 950, for showing user interface according to Web page and primary interface.
In conclusion device provided in this embodiment parses the address URL by obtaining the corresponding address URL of user interface
Web page address field and control parameter field are obtained, Web page is obtained according to web page address field, it is raw according to control parameter field
At primary interface, according to Web page and primary interface display user interface;It solves in the related technology for having used Protozoic
The APP of UI is realized in face and the mixing of embedded web page, can only modify the web page part in user interface, and can not change APP
Primary interface the problem of;Reach according to the web page address field and control parameter field in the address URL, to Web page
While real-time update, the effect of dynamic modification and display can be also carried out to primary interface.
Figure 10 is a kind of block diagram of the interface display apparatus shown according to another exemplary embodiment, is used in client,
The block diagram may include:
First obtains module 1010, for obtaining the corresponding address URL of user interface, user interface include primary interface and
Web page;
Parsing module 1020 obtains web page address field and control parameter field, control parameter word for parsing the address URL
Section include and control parameter corresponding at least one control in primary interface;
Parsing module 1020 includes:
First recognition unit 1021, for identification characteristic character in the address URL;
Second recognition unit 1022, for being identified as web page address for the field in the address URL before characteristic character
Field;
Third recognition unit 1023, for being identified as control parameter for the field in the address URL after characteristic character
Field.
Second obtains module 1030, for obtaining Web page according to web page address field;
Transmission unit 1031, for sending webpage acquisition request to server according to web page address field;
Receiving unit 1032, for receiving the Web page of server feedback.
Generation module 1040, for generating primary interface according to control parameter field;
Acquiring unit 1041, for obtaining the control parameter of each control in primary interface from control parameter field;
Generation unit 1042 generates primary interface for the control parameter according to each control, and Protozoic face includes at least
One control;
Wherein, the control parameter of control includes: the display of the parameter for enabling control and the control type, control of control
At least one of display content parameters of size, the font parameter of control and control;Alternatively, the control parameter of control includes:
The parameter of control is not enabled;
Display module 1050, for showing user interface according to Web page and primary interface.
In conclusion device provided in this embodiment parses the address URL by obtaining the corresponding address URL of user interface
Web page address field and control parameter field are obtained, Web page is obtained according to web page address field, it is raw according to control parameter field
At primary interface, according to Web page and primary interface display user interface;It solves in the related technology for having used Protozoic
The APP of UI is realized in face and the mixing of embedded web page, can only modify the web page part in user interface, and can not change APP
Primary interface the problem of;Reach according to the web page address field and control parameter field in the address URL, to Web page
While real-time update, the effect of dynamic modification and display can be also carried out to primary interface.
Device provided in this embodiment is set by the control parameter to each control in primary interface, is realized
Part control is shown, part control is not shown, and can also be different for the control parameter of the control of display, is reached
The specific aim at primary interface is stronger, closer in conjunction with the content of Web page, and operation personnel can according to need customization and use
Family interface makes the effect that user interface is richer.
Figure 11 is that a kind of interface shown according to another exemplary embodiment provides the block diagram of device, is used in server,
The block diagram may include:
Module 1110 is provided, for providing user interface the corresponding address URL to client, user interface includes Protozoic
Face and Web page;The address URL includes: web page address field and control parameter field, and control parameter field includes and primary interface
In control parameter corresponding at least one control;
Receiving module 1120, for receiving the webpage acquisition request of client transmission, webpage acquisition request carries webpage
Address field;
Feedback module 1130, for client feedback Web page, client to be used for according to Web page and primary interface
Show user interface, primary interface is that client is generated according to control parameter field.
In conclusion device provided in this embodiment, by providing user interface the corresponding address URL to client, URL
Address includes web page address field and control parameter field, and the webpage acquisition request of reception client transmission is simultaneously anti-to client
Web page is presented, makes client according to Web page and primary interface display user interface;It solves in the related technology for using
The APP of UI is realized in primary interface and the mixing of embedded web page, can only modify the web page part in user interface, and can not
The problem of changing the primary interface of APP;Reach according to the web page address field and control parameter field in the address URL, right
While Web page real-time update, the effect of dynamic modification and display can be also carried out to primary interface.
Figure 12 is that a kind of interface shown according to another exemplary embodiment provides the block diagram of device, is used in server,
The block diagram may include:
First receiving module 1210, for receiving the first setting information, the first setting information is for being arranged in user interface
Web page;
First generation module 1220, for generating web page address field and Web page according to the first setting information;
Second receiving module 1230, for receiving the second setting information, the second setting information is for being arranged in user interface
Primary interface;
Second generation module 1240, for generating control parameter field according to the second setting information;
Third generation module 1250, for generating and user interface pair according to web page address field and control parameter field
The address URL answered.
Module 1260 is provided, for providing user interface the corresponding address URL to client, user interface includes Protozoic
Face and Web page;The address URL includes: web page address field and control parameter field, and control parameter field includes and primary interface
In control parameter corresponding at least one control;
Receiving module 1270, for receiving the webpage acquisition request of client transmission, webpage acquisition request carries webpage
Address field;
Feedback module 1280, for client feedback Web page, client to be used for according to Web page and primary interface
Show user interface, primary interface is that client is generated according to control parameter field.
In conclusion device provided in this embodiment, by providing user interface the corresponding address URL to client, URL
Address includes web page address field and control parameter field, and the webpage acquisition request of reception client transmission is simultaneously anti-to client
Web page is presented, makes client according to Web page and primary interface display user interface;It solves in the related technology for using
The APP of UI is realized in primary interface and the mixing of embedded web page, can only modify the web page part in user interface, and can not
The problem of changing the primary interface of APP;Reach according to the web page address field and control parameter field in the address URL, right
While Web page real-time update, the effect of dynamic modification and display can be also carried out to primary interface.
Device provided in this embodiment is set by the control parameter to each control in primary interface, is realized
Part control is shown, part control is not shown, and can also be different for the control parameter of the control of display, is reached
The specific aim at primary interface is stronger, closer in conjunction with the content of Web page, and operation personnel can according to need customization and use
Family interface makes the effect that user interface is richer.
Figure 13 is a kind of block diagram of the interface display system shown according to another exemplary embodiment, the interface display system
It may include: client 1310 and server 1320;
Client 1310 can be the client in embodiment or embodiment illustrated in fig. 10 as shown in Figure 9;
Server 1320 can be the server in embodiment or embodiment illustrated in fig. 12 as shown in figure 11;
It can be attached by cable network or wireless network between client 1310 and server 1320.
In conclusion interface display system provided in this embodiment, by providing user interface corresponding URL to client
Address, the address URL include web page address field and control parameter field, receive the webpage acquisition request that client is sent and to
Client feedback Web page makes client according to Web page and primary interface display user interface;It solves in the related technology
For having used primary interface and embedded web page to mix the APP of realization UI, the web page portion in user interface can only be modified
The problem of dividing, and the primary interface of APP can not be changed;Reach according to the web page address field and control parameter in the address URL
Field can also carry out the effect of dynamic modification and display while to Web page real-time update to primary interface.
Interface display system provided in this embodiment is set by the control parameter to each control in primary interface
It is fixed, it realizes and part control is shown, part control is not shown, and can not also for the control parameter of the control of display
Together, the specific aim for having reached primary interface is stronger, closer in conjunction with the content of Web page, and operation personnel can be according to need
Customized user interface is wanted, the effect that user interface is richer is made.
It should be understood that interface display apparatus provided by the above embodiment is in display interface, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above
Energy.In addition, interface display apparatus provided by the above embodiment and interface display method embodiment belong to same design, it is specific real
Existing process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.