CN106843828A - interface display, loading method and device - Google Patents
interface display, loading method and device Download PDFInfo
- Publication number
- CN106843828A CN106843828A CN201611116552.4A CN201611116552A CN106843828A CN 106843828 A CN106843828 A CN 106843828A CN 201611116552 A CN201611116552 A CN 201611116552A CN 106843828 A CN106843828 A CN 106843828A
- Authority
- CN
- China
- Prior art keywords
- data field
- interface
- client
- template
- target scene
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of interface display, loading method and device.Wherein, the interface display method includes:The request of data that client sends is obtained, wherein, the target scene parameter of the application scenarios corresponding to the interface that client request shows is carried in request of data;Data field corresponding with target scene parameter is obtained, wherein, data field is used to indicate the displaying pattern and displaying content at interface;Data field is sent to client, to indicate client according to data field come display interface.The technical problem coupled with business is needed when the present invention solves client display interface in correlation technique.
Description
Technical field
The present invention relates to internet arena, in particular to a kind of interface display, loading method and device.
Background technology
With enriching for network media information, people have the demand for obtaining media information on the client whenever and wherever possible.Such as
It is that customer end A pp ensures newly-increased and user's stickiness the important exploration of user that what is presented pluralistic media's information and immediate updating data
Direction, therefore content class App frameworks, can as far as possible reduce terminal versions issue, the raising flexible control terminal in backstage represents and hands over
Main way each other.
At present, according to the complexity of interface message structure on App, typically there are two kinds of mainstream schemes:1st, issued by backstage
May need the total data used, client judge combination by product demand show business can inter-view, such as
Shown in Fig. 1 (a);2nd, the request of data to each business module is actively initiated by client, further according to response data displaying, such as Fig. 1
Shown in (a);3rd, the control drawn to client, such as Fig. 1 (b) are realized using the non-Native schemes such as H5 or React Native
It is shown.
Native schemes (i.e. scheme 1 and scheme 2) realize that App interactive interfaces contrast other modes, in rich interface degree, regard
Figure and the fluency of animation, the speed of service and to there is absolute predominance in the response speed of user's operation, and can be more easily
Interacted with the local function of client.Non- Native schemes (i.e. scheme H5 and React Native) have cross-platform general
Property, simply, function iteration speed is fast for AM/BAM interaction.
However, whether scheme 1 or scheme 2, client is required for asking just to take by one or many a large amount of
The data related to business are, it is necessary to realize the regular complex logic that product demand is formulated.In other words, exactly complicated business is sentenced
Disconnected logic needs to be performed in terminal.
And scheme 3, data terminal (i.e. backstage) is improve to rendering the spirit of end (i.e. client, i.e. client) view and interaction
Control living, but need App to support translation of the H5 pages or control end (counting end) instruction etc..
To sum up, existing Native implementations have the following disadvantages:(1) backstage issues data, and this represents to client
There is no direct control action, a set of background service may aggravate net comprising many to currently rendering useless redundant data
Network request burden, the redundancy for causing client data to parse;(2) data are coupled with business, and view flexibility ratio is low, client code
Reusability is not high, therefore increased development and maintenance cost;(3) service logic is bundled in client, and logical extension is complicated, so that
Cause product autgmentability poor, the increase of simple requirements is also required to rely on the issue of App.H5 or React Native schemes lack
Point is essentially consisted in:Response speed is undesirable, and the equipment of different resolution is adapted to, calls equipment local function difficulty larger, for
Demand (such as animation is not supported or interim card) for platform identity supports not enough, and in RAM leakage and runs the upper of Crash
Still suffer from problem.
Regarding to the issue above, effective solution is not yet proposed at present.
The content of the invention
A kind of interface display, loading method and device are the embodiment of the invention provides, at least to solve visitor in correlation technique
The technical problem that needs are coupled with business during the display interface of family end.
A kind of one side according to embodiments of the present invention, there is provided interface display method, including:Client is obtained to send
Request of data, wherein, the application scenarios corresponding to the interface that above-mentioned client request shows are carried in above-mentioned request of data
Target scene parameter;Data field corresponding with above-mentioned target scene parameter is obtained, wherein, above-mentioned data field is used to indicate
The displaying pattern and displaying content at above-mentioned interface;Above-mentioned data field is sent to above-mentioned client, to indicate above-mentioned client
Above-mentioned interface is shown according to above-mentioned data field.
Another aspect according to embodiments of the present invention, additionally provides a kind of interface loading method, including:Sent to server
Request of data so that above-mentioned server is according to corresponding to the interface that shows of client request carried in above-mentioned request of data
The target scene parameter of application scenarios, obtains data field corresponding with above-mentioned target scene parameter, wherein, above-mentioned data field
For indicating the displaying pattern and displaying content at above-mentioned interface, and above-mentioned data field is sent to above-mentioned client;Receive simultaneously
The instruction of the above-mentioned data field sent according to above-mentioned server, loads above-mentioned interface.
Another aspect according to embodiments of the present invention, additionally provides a kind of interface display apparatus, including:First obtains single
Unit, the request of data for obtaining client transmission, wherein, carry what above-mentioned client request showed in above-mentioned request of data
The target scene parameter of the application scenarios corresponding to interface;Second acquisition unit, for obtaining and above-mentioned target scene parameter pair
The data field answered, wherein, above-mentioned data field is used to indicate the displaying pattern and displaying content at above-mentioned interface;First sends single
Unit, for above-mentioned data field to be sent into above-mentioned client, is shown with indicating above-mentioned client according to above-mentioned data field
Above-mentioned interface.
Another aspect according to embodiments of the present invention, additionally provides a kind of interface loading device, including:3rd sends single
Unit, for the request of data sent to server, so that above-mentioned server please according to the client carried in above-mentioned request of data
The target scene parameter of the application scenarios corresponding to the interface of display is sought, data word corresponding with above-mentioned target scene parameter is obtained
Section, wherein, above-mentioned data field is used to indicate the displaying pattern and displaying content at above-mentioned interface, and above-mentioned data field is sent
To above-mentioned client;Loading unit, the instruction of the above-mentioned data field for receiving and being sent according to above-mentioned server, in loading
State interface.
In embodiments of the present invention, using a kind of interface display method, including:The request of data that client sends is obtained,
Wherein, the target scene ginseng of the application scenarios corresponding to the interface that above-mentioned client request shows is carried in above-mentioned request of data
Number;Data field corresponding with above-mentioned target scene parameter is obtained, wherein, above-mentioned data field is used to indicate the exhibition at above-mentioned interface
Sample formula and displaying content;Above-mentioned data field is sent to above-mentioned client, to indicate above-mentioned client according to above-mentioned data
Field shows above-mentioned interface, has reached the target scene parameter that server sends according to client and provides correspondence interface loading number
According to purpose, it is achieved thereby that the technique effect of client and business decoupling, and then in solving correlation technique, client shows
The technical problem that needs are coupled with business during interface.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 (a) is the schematic diagram of the Native implementations according to correlation technique;
Fig. 1 (b) is the schematic diagram of the non-Native implementations according to correlation technique;
Fig. 1 (c) is the schematic diagram of the hardware environment of interface display method according to embodiments of the present invention;
Fig. 2 is the flow chart of a kind of optional interface display method according to embodiments of the present invention;
Fig. 3 (a) is a kind of schematic diagram of the reflection implementation at interface according to embodiments of the present invention;
Fig. 3 (b) is a kind of schematic diagram of the factory class implementation at interface according to embodiments of the present invention;
Fig. 3 (c) is a kind of schematic diagram of the Show Styles at interface according to embodiments of the present invention;
Fig. 3 (d) is a kind of schematic diagram of the Show Styles at interface according to embodiments of the present invention;
Fig. 3 (e) is a kind of schematic diagram of adjustment views module order according to embodiments of the present invention;
Fig. 4 is the flow chart of a kind of optional interface loading method according to embodiments of the present invention;
Fig. 5 is the flow chart of a kind of optional interface loading method according to embodiments of the present invention;
Fig. 6 is the schematic diagram of a kind of optional interface display apparatus according to embodiments of the present invention;
Fig. 7 is the schematic diagram of the optional interface display apparatus of another kind according to embodiments of the present invention;
Fig. 8 is the schematic diagram of the optional interface display apparatus of another kind according to embodiments of the present invention;
Fig. 9 is the schematic diagram of the optional interface display apparatus of another kind according to embodiments of the present invention;
Figure 10 is the schematic diagram of the optional interface display apparatus of another kind according to embodiments of the present invention;
Figure 11 is the schematic diagram of the optional interface display apparatus of another kind according to embodiments of the present invention;
Figure 12 is the schematic diagram of the optional interface display apparatus of another kind according to embodiments of the present invention;
Figure 13 is the schematic diagram of the optional interface display apparatus of another kind according to embodiments of the present invention;
Figure 14 is the schematic diagram of a kind of optional interface loading device according to embodiments of the present invention;And
Figure 15 is a kind of structured flowchart of terminal according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection
Enclose.
It should be noted that term " first ", " in description and claims of this specification and above-mentioned accompanying drawing
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or
Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover
Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to
Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product
Or other intrinsic steps of equipment or unit.
First, the part noun or term for occurring during being described to the embodiment of the present invention are applied to as follows
Explain:
ONAView controls:On interactive interface have separate traffic function, can by many places be multiplexed with show a view
Module, is defined as an ONAView control.
ONA templates:Corresponding one of each ONAView control is used for the protocol architecture for controlling to represent, and is painted comprising display
System, interactive operation and dynamic update total data field.Each ONA template can be fully described by a set of ONAView controls
Displaying pattern and displaying content, ONA templates and ONAView controls are explicitly corresponded in name.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of embodiment of the method for interface display method.
Alternatively, in the present embodiment, above-mentioned interface display method can apply to as shown in Fig. 1 (c) by server
102 and the hardware environment that is constituted of terminal 104 in.As shown in Fig. 1 (c), server 102 is connected by network with terminal 104
Connect, above-mentioned network is included but is not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, mobile phone, flat board electricity
Brain etc..The interface display method of the embodiment of the present invention can be performed by server 102, it is also possible to be performed by terminal 104, also
Can be performed jointly by server 102 and terminal 104.Wherein, terminal 104 performs the interface display method of the embodiment of the present invention
Can also be performed by client mounted thereto.
Fig. 2 is the flow chart of a kind of optional interface display method according to embodiments of the present invention, as shown in Fig. 2 the party
Method may comprise steps of:
Step S202, obtains the request of data that client sends, wherein, client request is carried in request of data and is shown
Interface corresponding to application scenarios target scene parameter;
Step S204, obtains data field corresponding with target scene parameter, wherein, data field is used to indicate interface
Displaying pattern and displaying content;
Step S206, client is sent to by data field, to indicate client according to data field come display interface.
By above-mentioned steps S202 to step S206, by obtaining the request of data that client sends, wherein, above-mentioned data
The target scene parameter of the application scenarios corresponding to the interface that above-mentioned client request shows is carried in request;Obtain with it is above-mentioned
The corresponding data field of target scene parameter, wherein, above-mentioned data field is used to indicate displaying pattern and the displaying at above-mentioned interface
Content;Above-mentioned data field is sent to above-mentioned client, to indicate above-mentioned client according to above-mentioned data field come on showing
Interface is stated, the technical problem coupled with business is needed when can solve client display interface in correlation technique, and then reach
The technique effect that client is decoupled with business.
In the technical scheme that step S202 is provided, executive agent is server (i.e. backstage), the data that client sends
In request in addition to carrying above-mentioned target scene parameter, the ID of the page where the interface that client request shows also is carried
(i.e. identity), and the corresponding control word in the interface.It should be noted that can be including one or many in a page
Individual interface.For example, in client, each ONAView control (i.e. each views module) can be numbered with the sequence number of unique mark
Index, names according to the specification of ONAXxx data protocols correspondence ONAXxxView.According to judge Index, reflection parsing ONAXxx
Structured data, generation ONAXxxView are plotted in the page to form corresponding interface, and the place of View is filled with ONAXxx data
Reason logic.So, views module can be decoupled create and be associated with business interface, reduce the newly-increased complexity with extended view type
Degree.
It should be noted that the ID carried in above-mentioned request of data can indicate the page of client request display interface to be
Homepage or search page, and be the information such as which channel (such as movie channel) on current page.
In the technical scheme that step S204 is provided, because server has arranged right previously according to the application scenarios at interface
The data field answered, therefore, after target scene parameter is got, data word corresponding with target scene parameter can be obtained
Section, wherein, data field is used to indicate the displaying pattern and displaying content at interface.Further, displaying pattern can include view
The layout of module and interactive operation, the interactive operation are redirected and interaction etc. of voting including interface.It should be noted that server exists
When data field is set, each data field can be mapped with corresponding scenario parameters, so, obtained scenario parameters
Afterwards, according to mapping relations set in advance, it is possible to quickly and accurately find corresponding data field.
In the technical scheme that step S206 is provided, after above-mentioned data field is sent to client by server, client
Can be according to the instruction of the data field, display and the one-to-one views module of the data field on interface.During implementation, can
With by function interface according to disclosure satisfy that displaying and the minimum views module of interaction are divided, and for each views module refers to
Fixed corresponding control field.
In by the embodiment of the present invention, by obtaining the request of data that client sends, wherein, carried in request of data
The target scene parameter of the application scenarios corresponding to interface that client request shows;Obtain number corresponding with target scene parameter
According to field, wherein, data field is used to indicate the displaying pattern and displaying content at interface;Data field is sent to client,
To indicate client according to data field come display interface, the target scene parameter that server sends according to client is reached and has carried
The purpose of data is loaded for correspondence interface, it is achieved thereby that the technique effect that client is decoupled with business, and then solve correlation
The technical problem that needs are coupled with business during client display interface in technology.
Following technique effect can be produced using above-mentioned technical proposal:ONAView is decoupled with business, in a client
Multiple business or the multiple day after tomorrow (i.e. server) data are carried simultaneously, it is transparent to displaying interface.This sets of plan can be applied
The multiple mobile platform such as Android, iPhone, iPad, and suitable for the abundant App types such as video, news, blog.This
Scheme can help video development, and person realizes many line interations, multi version parallel, greatly improves joint debugging development efficiency, reduces and exists
The quantity of client released version.
Further, compared with correlation technique, in this application, because the interface filling data that client is obtained all are services
Device is issued based on contextual data, therefore, server represents with direct control action to client.Also, due under service
The data of hair are issued according to corresponding scenario parameters, therefore, it is not possible to comprising with currently render unrelated redundant data, subtract
The light redundancy of network request burden and terminal data parsing.In addition, in this application, because decision logic is arranged on server
Side so that client need not consider whether data couple with data with business when interface is loaded, and improve the spirit of views module
The reusability of activity and corresponding data field, so as to reduce development and maintenance cost.Also, in this application,
Because service logic is bundled in server side, logical extension complexity can be reduced, so as to improve the autgmentability of product so that letter
The increase of single demand no longer needs to rely on the issue of App.
Used as a kind of optional embodiment, step S204 obtains the To Template matched with target scene parameter to be included:Step
Rapid S212, determines the application scenarios described by target scene parameter;Step S214, determines interface described by target scene parameter
Application scenarios under the target view module that is included;Step S216, obtains aiming field corresponding with target view module;Step
Rapid S218, To Template is spliced into by the aiming field of acquisition.
Here, application scenarios can include clicking on the scene that interface can redirect, scene that interface can vote etc. is clicked on.
Under different application scene, different views modules may be included on interface.Different views modules and different data fields pair
Should.Therefore, the technical scheme for being provided by the present embodiment mode, can be true according to the target scene parameter carried in request of data
Determine the application scenarios described by it, and then which views module determination should show on interface under this application scenarios, so that
The corresponding data field of these views modules is eventually found, and these data fields are spliced into To Template.So, service
Device can control leading portion App orders to represent each view mould by issuing the data field corresponding to orderly views module ID
Block, forms complete interactive interface.
Used as a kind of optional embodiment, step S204 obtains data field corresponding with target scene parameter to be included:Step
Rapid S208, the To Template that acquisition is matched with target scene parameter, wherein, To Template includes data field;Step S210,
Obtain the data field in To Template.
In other words, during implementation, server can be closed with make an appointment the corresponding of application scenarios and template at interface of client
System, so, server can directly pass through scenario parameters when data are issued, by the number in the corresponding template of the scenario parameters
Client is handed down to successively according to order set in advance according to field.
During implementation, framework is realized in terminal, it is stipulated that by enumerating between template and view control (i.e. views module)
The unique mark of definition is bound, and three corresponds in name.The benefit of this design is, server issue data and
Terminal draws interface during the two, with multiplex data field high and can realize that the purpose at interface is drawn in automation.Also,
By inventive embodiments, the parsing to template can reflect the data Build processes for realizing automation parsing.Such as
Shown in Fig. 3 (a), terminal is according to issuing enumeration type 2, the counter structure that data flow has been read as to be used by terminal in data
Body, this process is full automation.New data parsing is added if desired, it is only necessary to define template, and for it sets
Put enumeration type.
On the other hand, shown in such as Fig. 3 (b), the process that the corresponding data structure of template is finally depicted as into view can be with
Multiplexing is realized by factory class.The view type that terminal will likely be used tissue in the way of control is individually regarded one by one
Figure is realized.View factory returns to corresponding view example according to the enumeration type of definition.
Used as a kind of optional embodiment, step S204 obtains the To Template matched with target scene parameter to be included:Step
Rapid S220, obtains the incidence relation between scenario parameters and corresponding template;Step S222, according to obtain incidence relation, from
The candidate template that there is incidence relation with target scene parameter is obtained in multiple template set in advance;Step S224, by candidate
Template is used as To Template.
That is, based on visible i.e. available principle, in server end, the element of page rendering, design and industry can be summarized
The unrelated view agreement (i.e. data field) of business, process or sample that one view of the description of each data field or control is formed
Formula, it is unrelated with business, only influence the final displaying of view.As shown in Fig. 3 (c) and Fig. 3 (d), one unrelated with business
One displaying at poster interface of Poster template contrals, each field specifies the content revealing at interface, the influence of part field
Displaying content, part field influence displaying pattern.Can be by issuing the pattern that front and back end (i.e. client and server) is arranged
Enumerate, or the displaying and interaction of front end are influenceed by issuing or not issuing data field, so as to support different business.
Used as a kind of optional embodiment, step S204 obtains the To Template matched with target scene parameter to be included:Step
Rapid S226, judges whether target scene parameter is that can produce the scenario parameters for redirecting on triggering for describing interface;Step
S228, if so, the first template matched with target scene parameter is then obtained, wherein, the first template is used to indicate client to show
The interface for redirecting can be produced on triggering.That is, in the present embodiment, the interface for asking display is applied in scene is redirected
's.
Used as a kind of optional embodiment, step S204 obtains the To Template matched with scenario parameters to be included:Step
S230, judges whether target scene parameter is for describing the scenario parameters that interface can be voted on triggering;Step S232,
If so, the second template matched with target scene parameter is then obtained, wherein, the second template is used to indicate client to be displayed in triggering
The interface that can be voted afterwards.That is, in the present embodiment, asking the interface of display to be applied in scene of voting.
Used as a kind of optional embodiment, data field is being sent to client, to indicate client root by step S206
Come after display interface according to data field, the above method also includes:Step S234, obtains the flex spline for adjusting data field
The adjust instruction of formula and/or displaying content;Step S236, according to adjust instruction, is adjusted to data field;Step S238,
Data field after adjustment is sent to client, so that client refreshes interface according to the data field after whole.
Here, being principle that can be used repeatedly, server can be by issuing the orderly corresponding numbers of views module Id
Control App orders to represent each views module according to field, form complete interactive interface.These views modules can any group
Close neatly to support miscellaneous service interface, be capable of achieving the increase of interface element without front end modification, delete and sequentially adjust
(shown in such as Fig. 3 (e)), improves view multiplexing, reduces code and repeats and maintenance cost.
As a kind of optional embodiment, step S236 according to adjust instruction, data field is adjusted including:Step
S240, according to adjust instruction, increases corresponding data field in data field;And/or step S242, according to adjust instruction,
Corresponding data field is deleted from data field;And/or step S244, it is corresponding in modification data field according to adjust instruction
Data field;And/or step S246, according to adjust instruction, the location parameter of corresponding data field in modification data field
And/or type parameter, to adjust display location and/or displaying type of the corresponding views module in interface.
Used as a kind of optional embodiment, data field can be by other templates multiplexing in addition to To Template.That is, number
Can in any combination come neatly to support miscellaneous service interface according to field, the increasing of interface element is capable of achieving without front end modification
Plus, delete and order adjust, improve view multiplexing, reduce code repeat and maintenance cost.
Further, such scheme draws the optimization with terminal render process except more than in field agreement correspondence, also exists
In the simplification in whole front and back end interaction.Front and back end is using the mode of automatic protocol code building the template generation arranged
Available platform code.On the one hand simplify agreement to use, on the other hand reduce the complexity and consumption of strong background protocol joint debugging
When.Front and back end can each self-generating protocol code each develop without interdepending, improve development efficiency.
The views module each time of this programme is added and upgraded all for subsequent use lays the foundation, whether the number of rear end
All it is constantly accumulation reusable process and code according to filling or the view rendering of front end, improves constantly subsequent page variation
The flexibility that view is supported, it might even be possible to only complete App page expansions and interior by backstage issuing service within a certain period of time
Hold operation.
Demand change within the specific limits is supported in the combination of ONAView view controls, without sending out version;Control is issued by backstage
The type and order of view processed, the display elements of certain view are controlled by protocol fields, after background update, front end reload
Data can just refresh interface and data;Improved by accumulation view control and be multiplexed, reduce exploitation and joint debugging cost, one
ONAView is the minimum functional unit of a displaying and interaction, the single convenient debugging of responsibility and maintenance;Use the advantage of Native
It is that easily can effectively continue to optimize performance and Consumer's Experience, as shown in Figure 4.
Present invention also offers a kind of preferred embodiment, the preferred embodiment is a kind of interface loading method, and Fig. 5 is root
According to the flow chart of a kind of optional interface loading method of the embodiment of the present invention, as shown in figure 5, the method comprises the following steps:
Step S302, to the request of data that server sends, so that the server is carried according in the request of data
The interface that shows of client request corresponding to application scenarios target scene parameter, obtain and the target scene parameter pair
The data field answered, wherein, the data field is used to indicate the displaying pattern and displaying content at the interface, and by the number
The client is sent to according to field;
Step S304, the instruction of the data field for receiving and being sent according to the server, loads the interface.
In the technical scheme that step S302 is provided, except carrying above-mentioned target scene in the request of data that client sends
Outside parameter, the ID (i.e. identity) of the page where the interface that client request shows, and interface correspondence are also carried
Control word.It should be noted that one or more interface can be included in a page.For example, in client, each
ONAView controls (i.e. each views module) can be numbered with the sequence number Index of unique mark, according to ONAXxx data protocols correspondence
The specification name of ONAXxxView.According to judging that Index, reflection parsing ONAXxx structured datas, generation ONAXxxView draw
In the page to form corresponding interface, and the treatment logic of View is filled with ONAXxx data.So, views module can be decoupled
Establishment is associated with business interface, reduces the complexity of newly-increased and extended view type.
It should be noted that the ID carried in above-mentioned request of data can indicate the page of client request display interface to be
Homepage or search page, and be the information such as which channel (such as movie channel) on current page.
In the technical scheme that step S302 is provided, because server has arranged right previously according to the application scenarios at interface
The data field answered, therefore, after target scene parameter is got, data word corresponding with target scene parameter can be obtained
Section, wherein, data field is used to indicate the displaying pattern and displaying content at interface.Further, displaying pattern can include view
The layout of module and interactive operation, the interactive operation are redirected and interaction etc. of voting including interface.It should be noted that server exists
When data field is set, each data field can be mapped with corresponding scenario parameters, so, obtained scenario parameters
Afterwards, according to mapping relations set in advance, it is possible to quickly and accurately find corresponding data field.
In the technical scheme that step S304 is provided, after above-mentioned data field is sent to client by server, client
Can be according to the instruction of the data field, display and the one-to-one views module of the data field on interface.During implementation, can
With by function interface according to disclosure satisfy that displaying and the minimum views module of interaction are divided, and for each views module refers to
Fixed corresponding control field.
In by the embodiment of the present invention, by the request of data sent to server, so that the server is according to
The target scene parameter of the application scenarios corresponding to the interface that show of client request carried in request of data, acquisition with it is described
The corresponding data field of target scene parameter, wherein, the data field is used to indicate displaying pattern and the displaying at the interface
Content, and the data field is sent to the client;The data field for receiving and being sent according to the server
Instruction, load the interface, reached the target scene parameter that server sends according to client correspondence interface be provided and loaded
The purpose of data, it is achieved thereby that the technique effect of client and business decoupling, and then in solving correlation technique, client shows
The technical problem that needs are coupled with business when showing interface.
In embodiments of the present invention, the request of data that interface is drawn is only related to page type, does not support industry with the page
Business binding;Content can be represented by the complete control interface of data side;Supported on line at any time the upper offline of certain content module and
The order adjustment of intermodule;Platform is not differentiated between, can simultaneously be applied by multiple platforms.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because
According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot
In the case of the former be more preferably implementation method.Based on such understanding, technical scheme is substantially in other words to existing
The part that technology contributes can be embodied in the form of software product, and computer software product storage is in a storage
In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, calculate
Machine, server, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiment 2
According to embodiments of the present invention, a kind of interface display apparatus for implementing above-mentioned interface display method are additionally provided.
Fig. 6 is the schematic diagram of a kind of optional interface display apparatus according to embodiments of the present invention, as shown in fig. 6, the device can be wrapped
Include:First acquisition unit 42, the request of data for obtaining client transmission, wherein, client is carried in request of data please
Seek the target scene parameter of the application scenarios corresponding to the interface of display;Second acquisition unit 44, for acquisition and target scene
The corresponding data field of parameter, wherein, data field is used to indicate the displaying pattern and displaying content at interface;First transmitting element
46, for data field to be sent into client, to indicate client according to data field come display interface.
It should be noted that the first acquisition unit 42 in the embodiment can be used in execution the embodiment of the present application 1
Step S202, the second acquisition unit 44 in the embodiment can be used for performing the step S204 in the embodiment of the present application 1, the reality
The first transmitting element 46 in example is applied to can be used for performing the step S206 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that the step of correspondence is realized, but not
It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as
In hardware environment shown in Fig. 1 (c), can be realized by software, it is also possible to realized by hardware.
As a kind of optional embodiment, as shown in figure 5, second acquisition unit 44 includes:First acquisition module 442, uses
In the To Template that acquisition is matched with target scene parameter, wherein, To Template includes data field;Second acquisition module
444, for obtaining the data field in To Template.
It should be noted that the first acquisition module 442 in the embodiment can be used in execution the embodiment of the present application 1
The step of S208, the second acquisition module 444 in the embodiment can be used for perform the embodiment of the present application 1 in step S210.
As a kind of optional embodiment, as shown in figure 8, second acquisition unit 44 includes:First determining module 446, uses
In it is determined that application scenarios described by target scene parameter;Second determining module 448, for determining interface in target scene parameter
The target view module included under described application scenarios;3rd acquisition module 4410, for obtaining and target view mould
The corresponding aiming field of block;Concatenation module 4412, for the aiming field of acquisition to be spliced into To Template.
It should be noted that the first determining module 446 in the embodiment can be used in execution the embodiment of the present application 1
Step S212, the second determining module 448 in the embodiment can be used for performing the step S214 in the embodiment of the present application 1, should
The 3rd acquisition module 4410 in embodiment can be used for performing the step S216 in the embodiment of the present application 1, in the embodiment
Concatenation module 4412 can be used for performing the step S218 in the embodiment of the present application 1.
As a kind of optional embodiment, as shown in figure 9, second acquisition unit 44 includes:4th acquisition module 4414, uses
Incidence relation between acquisition scenario parameters and corresponding template;5th acquisition module 4416, for according to the association for obtaining
Relation, obtains the candidate template for having incidence relation with target scene parameter from multiple template set in advance;3rd determines
Module 4418, for using candidate template as To Template.
It should be noted that the 4th acquisition module 4414 in the embodiment can be used in execution the embodiment of the present application 1
The step of S220, the 5th acquisition module 4416 in the embodiment can be used for perform the embodiment of the present application 1 in step S222,
The 3rd determining module 4418 in the embodiment can be used for performing the step S224 in the embodiment of the present application 1.
Used as a kind of optional embodiment, as shown in Figure 10, second acquisition unit 44 includes:First judge module 4420,
For judging whether target scene parameter is that can produce the scenario parameters for redirecting on triggering for describing interface;6th obtains mould
Block 4422, for where it has, obtain the first template for being matched with target scene parameter, wherein, the first template is for referring to
Show that client shows the interface that can be produced redirect on triggering.
It should be noted that the first judge module 4420 in the embodiment can be used in execution the embodiment of the present application 1
The step of S226, the 6th acquisition module 4422 in the embodiment can be used for perform the embodiment of the present application 1 in step S228.
Used as a kind of optional embodiment, as shown in figure 11, second acquisition unit 44 includes:Second judge module 4424,
For judging whether target scene parameter is for describing the scenario parameters that interface can be voted on triggering;7th obtains mould
Block 4426, for where it has, obtain the second template for being matched with target scene parameter, wherein, the second template is for referring to
Show that client shows the interface that can be voted on triggering.
It should be noted that the second judge module 4424 in the embodiment can be used in execution the embodiment of the present application 1
The step of S230, the 7th acquisition module 4426 in the embodiment can be used for perform the embodiment of the present application 1 in step S232.
Used as a kind of optional embodiment, as shown in figure 12, said apparatus also include:3rd acquiring unit 48, for
Data field is sent to client, with indicate client according to data field come display interface after, obtain for adjusting number
According to the displaying pattern and/or the adjust instruction of displaying content of field;Adjustment unit 410, for according to adjust instruction, to data word
Section is adjusted;Second transmitting element 412, for the data field after adjustment to be sent into client so that client according to
Data field after whole refreshes interface.
It should be noted that the 3rd acquiring unit 48 in the embodiment can be used in execution the embodiment of the present application 1
Step S234, the adjustment unit 410 in the embodiment can be used for performing the step S236 in the embodiment of the present application 1, the implementation
The second transmitting element 412 in example can be used for performing the step S238 in the embodiment of the present application 1.
Used as a kind of optional embodiment, as shown in figure 13, adjustment unit 410 includes:First adjusting module 4102, is used for
According to adjust instruction, corresponding data field is increased in data field;And/or second adjusting module 4104, for according to tune
Whole instruction, deletes corresponding data field from data field;And/or the 3rd adjusting module 4106, for according to adjust instruction,
Corresponding data field in modification data field;And/or the 4th adjusting module 4108, for according to adjust instruction, changing data
The location parameter and/or type parameter of corresponding data field in field, to adjust exhibition of the corresponding views module in interface
Show position and/or displaying type.
It should be noted that the first adjusting module 4102 in the embodiment can be used in execution the embodiment of the present application 1
The step of S240, the second adjusting module 4104 in the embodiment can be used for perform the embodiment of the present application 1 in step S242,
The 3rd adjusting module 4106 in the embodiment can be used for performing the step S244 in the embodiment of the present application 1, in the embodiment
The 4th adjusting module 4108 can be used for perform the embodiment of the present application 1 in step S246.
Used as a kind of optional embodiment, data field can be by other templates multiplexing in addition to To Template.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that the step of correspondence is realized, but not
It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as
In hardware environment shown in Fig. 1 (c), can be realized by software, it is also possible to realized by hardware.
Present invention also offers a kind of preferred embodiment, the preferred embodiment is a kind of interface loading device, and Figure 14 is root
According to the schematic diagram of a kind of optional interface loading device of the embodiment of the present invention, as shown in figure 14, the device includes:3rd sends
Unit 122, for the request of data sent to server, so that the client request carried in server based on data request shows
The target scene parameter of the application scenarios corresponding to interface for showing, obtains data field corresponding with target scene parameter, wherein,
Data field is used to indicate the displaying pattern and displaying content at interface, and data field is sent into client;Loading unit
124, the instruction of the data field for receiving and being sent according to server loads interface.
It should be noted that the 3rd transmitting element 122 in the embodiment can be used in execution the embodiment of the present application 1
Step S302, the loading unit 124 in the embodiment can be used for performing the step S304 in the embodiment of the present application 1.
By above-mentioned module, the technology coupled with business is needed when can solve client display interface in correlation technique
Problem, and then reach the technique effect of client and business decoupling.
Embodiment 3
According to embodiments of the present invention, a kind of server or terminal for implementing above-mentioned interface display method is additionally provided.
Figure 15 is a kind of structured flowchart of terminal according to embodiments of the present invention, and as shown in figure 15, the terminal can include:
One or more (one is only shown in figure) processor 201, memory 203 and transmitting devices 205 are (in such as above-mentioned embodiment
Dispensing device), as shown in figure 15, the terminal can also include input-output equipment 207.
Wherein, memory 203 can be used to store software program and module, such as the interface display side in the embodiment of the present invention
Method and the corresponding programmed instruction/module of device, processor 201 by run software program of the storage in memory 203 and
Module, so as to perform various function application and data processing, that is, realizes above-mentioned interface display method.Memory 203 can be wrapped
Include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage device, flash memory or
Person other non-volatile solid state memories.In some instances, memory 203 can further include remote relative to processor 201
The memory that journey is set, these remote memories can be by network connection to terminal.The example of above-mentioned network includes but does not limit
In internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 205 is used to that data to be received or sent via network, can be also used for processor with
Data transfer between memory.Above-mentioned network instantiation may include cable network and wireless network.In an example,
Transmitting device 205 includes a network adapter (Network Interface Controller, NIC), and it can be by netting twine
It is connected with router so as to be communicated with internet or LAN with other network equipments.In an example, transmission dress
205 are put for radio frequency (Radio Frequency, RF) module, it is used to wirelessly be communicated with internet.
Wherein, specifically, memory 203 is used to store application program.
Processor 201 can call the application program of the storage of memory 203 by transmitting device 205, to perform following steps
Suddenly:The request of data that client sends is obtained, wherein, carried in request of data corresponding to the interface that client request shows
The target scene parameter of application scenarios;Data field corresponding with target scene parameter is obtained, wherein, data field is used to indicate
The displaying pattern and displaying content at interface;Data field is sent to client, is shown with indicating client according to data field
Show interface.
Processor 201 is additionally operable to perform following step:Obtaining data field corresponding with target scene parameter includes:Obtain
The To Template matched with target scene parameter, wherein, To Template includes data field;Obtain the data in To Template
Field.
Processor 201 is additionally operable to perform following step:The To Template that acquisition is matched with target scene parameter includes:It is determined that
Application scenarios described by target scene parameter;Determine what interface was included under the application scenarios described by target scene parameter
Target view module;Obtain aiming field corresponding with target view module;The aiming field of acquisition is spliced into To Template.
Processor 201 is additionally operable to perform following step:The To Template that acquisition is matched with target scene parameter includes:Obtain
Incidence relation between scenario parameters and corresponding template;According to the incidence relation for obtaining, from multiple template set in advance
Obtain the candidate template that there is incidence relation with target scene parameter;Using candidate template as To Template.
Processor 201 is additionally operable to perform following step:The To Template that acquisition is matched with target scene parameter includes:Judge
Whether target scene parameter is that can produce the scenario parameters for redirecting on triggering for describing interface;If so, then obtaining and target
First template of scenario parameters matching, wherein, the first template is used to indicate client to show the boundary that can be produced redirect on triggering
Face.
Processor 201 is additionally operable to perform following step:The To Template that acquisition is matched with scenario parameters includes:Judge target
Whether scenario parameters are for describing the scenario parameters that interface can be voted on triggering;If so, then obtaining and target scene
Second template of parameter matching, wherein, the second template is used to indicate client to show the interface that can be voted on triggering.
Processor 201 is additionally operable to perform following step:Data field is sent into client, with indicate client according to
Data field is come after display interface, obtains the adjust instruction of the displaying pattern and/or displaying content for adjusting data field;
According to adjust instruction, data field is adjusted;Data field after adjustment is sent to client so that client according to
Data field after whole refreshes interface.
Processor 201 is additionally operable to perform following step:According to adjust instruction, data field is adjusted including:According to
Adjust instruction, increases corresponding data field in data field;And/or according to adjust instruction, phase is deleted from data field
The data field answered;And/or according to adjust instruction, corresponding data field in modification data field;And/or referred to according to adjustment
Order, the location parameter and/or type parameter of corresponding data field, are existed with adjusting corresponding views module in modification data field
Display location and/or displaying type in interface.
Processor 201 is additionally operable to perform following step:Data field can be by other templates multiplexing in addition to To Template.
Processor 201 can call the application program of the storage of memory 203 by transmitting device 205, to perform following steps
Suddenly:To the request of data that server sends, so that the server shows according to the client request carried in the request of data
The target scene parameter of the application scenarios corresponding to interface for showing, obtains data field corresponding with the target scene parameter,
Wherein, the data field is used to indicate the displaying pattern and displaying content at the interface, and the data field is sent to
The client;
Processor 201 is additionally operable to perform following step:The data field for receiving and being sent according to the server
Indicate, load the interface.
Using the embodiment of the present invention, there is provided the scheme that a kind of client is decoupled with business.Obtain the number that client sends
According to request, wherein, the mesh of the application scenarios corresponding to the interface that above-mentioned client request shows is carried in above-mentioned request of data
Mark scenario parameters;Data field corresponding with above-mentioned target scene parameter is obtained, wherein, above-mentioned data field is above-mentioned for indicating
The displaying pattern and displaying content at interface;Above-mentioned data field is sent to above-mentioned client, with indicate above-mentioned client according to
Above-mentioned data field shows above-mentioned interface, has reached the technique effect of client and business decoupling, and then solves related skill
The technical problem that needs are coupled with business during client display interface in art.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2
Example, the present embodiment will not be repeated here.
It will appreciated by the skilled person that the structure shown in Figure 15 is only to illustrate, terminal can be smart mobile phone
(such as Android phone, iOS mobile phones), panel computer, palm PC and mobile internet device (Mobile Internet
Devices, MID), the terminal device such as PAD.Figure 15 it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal is also
May include components (such as network interface, display device) more more than shown in Figure 15 or less, or with Figure 15 institutes
Show different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed come the device-dependent hardware of command terminal with by program, the program can be stored in a computer-readable recording medium
In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can
For performing the program code of interface display method.
Alternatively, in the present embodiment, above-mentioned storage medium may be located at the multiple in the network shown in above-described embodiment
On at least one of network equipment network equipment.
Alternatively, in the present embodiment, storage medium is arranged to storage for performing the program code of following steps:
S1, obtains the request of data that client sends, wherein, the client request is carried in the request of data and is shown
The target scene parameter of the application scenarios corresponding to interface for showing;
S2, obtains data field corresponding with the target scene parameter, wherein, the data field is described for indicating
The displaying pattern and displaying content at interface;
S3, the client is sent to by the data field, with indicate the client according to the data field come
Show the interface.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:Obtain and target field
The corresponding data field of scape parameter includes:The To Template that acquisition is matched with target scene parameter, wherein, To Template includes
Data field;Obtain the data field in To Template.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:Obtain and target field
The To Template of scape parameter matching includes:Determine the application scenarios described by target scene parameter;Determine interface in target scene
The target view module included under application scenarios described by parameter;Obtain aiming field corresponding with target view module;
The aiming field of acquisition is spliced into To Template.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:Obtain and target field
The To Template of scape parameter matching includes:Obtain the incidence relation between scenario parameters and corresponding template;According to the pass for obtaining
Connection relation, obtains the candidate template for having incidence relation with target scene parameter from multiple template set in advance;By candidate
Template is used as To Template.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:Obtain and target field
The To Template of scape parameter matching includes:Judge whether target scene parameter is that can produce for describing interface to redirect on triggering
Scenario parameters;If so, the first template matched with target scene parameter is then obtained, wherein, the first template is used to indicate client
End display can produce the interface for redirecting on triggering.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:Obtain and scene ginseng
The To Template of number matching includes:Judge whether target scene parameter is for describing the field that interface can be voted on triggering
Scape parameter;If so, the second template matched with target scene parameter is then obtained, wherein, the second template is used to indicate client to show
Show the interface that can be voted on triggering.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:By data field
Client is sent to, to indicate client according to data field come after display interface, method also includes:Obtain for adjusting number
According to the displaying pattern and/or the adjust instruction of displaying content of field;According to adjust instruction, data field is adjusted;To adjust
Data field after whole is sent to client, so that client refreshes interface according to the data field after whole.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:According to adjust instruction,
Data field is adjusted including:According to adjust instruction, corresponding data field is increased in data field;And/or according to
Adjust instruction, deletes corresponding data field from data field;And/or according to adjust instruction, it is corresponding in modification data field
Data field;And/or according to adjust instruction, the location parameter and/or type of corresponding data field in modification data field
Parameter, to adjust display location and/or displaying type of the corresponding views module in interface.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:Data field can quilt
Other templates multiplexing in addition to To Template.
Alternatively, storage medium is also configured to storage for performing the program code of following steps:To perform following steps
Suddenly:To the request of data that server sends, so that the server shows according to the client request carried in the request of data
The target scene parameter of the application scenarios corresponding to interface for showing, obtains data field corresponding with the target scene parameter,
Wherein, the data field is used to indicate the displaying pattern and displaying content at the interface, and the data field is sent to
The client;
Alternatively, storage medium is also configured to storage for performing the program code of following steps:Receive and according to institute
The instruction of the data field of server transmission is stated, the interface is loaded.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2
Example, the present embodiment will not be repeated here.
Alternatively, in the present embodiment, above-mentioned storage medium can be included but is not limited to:USB flash disk, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
CD etc. is various can be with the medium of store program codes.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
If integrated unit in above-described embodiment is to realize in the form of SFU software functional unit and as independent product
When selling or using, can store in the storage medium that above computer can read.Based on such understanding, skill of the invention
The part or all or part of the technical scheme that art scheme substantially contributes to prior art in other words can be with soft
The form of part product is embodied, and the computer software product is stored in storage medium, including some instructions are used to so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the invention
State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, can be by other sides
Formula is realized.Wherein, device embodiment described above is only schematical, such as division of described unit, only one
Kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Another system is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed it is mutual it
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces
Connect, can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (20)
1. a kind of interface display method, it is characterised in that including:
The request of data that client sends is obtained, wherein, the boundary that the client request shows is carried in the request of data
The target scene parameter of the application scenarios corresponding to face;
Data field corresponding with the target scene parameter is obtained, wherein, the data field is used to indicate the interface
Displaying pattern and displaying content;
The data field is sent to the client, shown with indicating the client according to the data field described in
Interface.
2. method according to claim 1, it is characterised in that obtain data field corresponding with the target scene parameter
Including:
The To Template that acquisition is matched with the target scene parameter, wherein, the To Template includes the data field;
Obtain the data field in the To Template.
3. method according to claim 2, it is characterised in that obtain the To Template matched with the target scene parameter
Including:
Determine the application scenarios described by the target scene parameter;
Determine the target view module that the interface is included under the application scenarios described by the target scene parameter;
Obtain aiming field corresponding with the target view module;
The aiming field of acquisition is spliced into the To Template.
4. method according to claim 2, it is characterised in that obtain the To Template matched with the target scene parameter
Including:
Obtain the incidence relation between scenario parameters and corresponding template;
According to the incidence relation for obtaining, obtain to have with the target scene parameter from multiple template set in advance and close
The candidate template of connection relation;
Using the candidate template as the To Template.
5. method according to claim 2, it is characterised in that obtain the To Template matched with the target scene parameter
Including:
Judge whether the target scene parameter is that can produce the scenario parameters for redirecting on triggering for describing the interface;
If so, the first template matched with the target scene parameter is then obtained, wherein, first template is described for indicating
Client shows the interface that can be produced redirect on triggering.
6. method according to claim 2, it is characterised in that obtain the To Template bag matched with the scenario parameters
Include:
Judge whether the target scene parameter is for describing the scenario parameters that the interface can be voted on triggering;
If so, the second template matched with the target scene parameter is then obtained, wherein, second template is described for indicating
Client shows the interface that can be voted on triggering.
7. method according to claim 1, it is characterised in that the data field is sent into the client, with
The client is indicated according to the data field come after showing the interface, methods described also includes:
Obtain the adjust instruction of the displaying pattern and/or displaying content for adjusting the data field;
According to the adjust instruction, the data field is adjusted;
Data field after adjustment is sent to the client so that the client according to it is described it is whole after data field brush
The new interface.
8. method according to claim 7, it is characterised in that according to the adjust instruction, carried out to the data field
Adjustment includes:
According to the adjust instruction, corresponding data field is increased in the data field;And/or
According to the adjust instruction, corresponding data field is deleted from the data field;And/or
According to the adjust instruction, corresponding data field in the data field is changed;And/or
According to the adjust instruction, the location parameter and/or type parameter of corresponding data field in the data field are changed,
To adjust display location and/or displaying type of the corresponding views module in the interface.
9. method according to claim 2, it is characterised in that the data field can be by addition to the To Template
Other templates are multiplexed.
10. a kind of interface loading method, it is characterised in that including:
To the request of data that server sends, so that the server shows according to the client request carried in the request of data
The target scene parameter of the application scenarios corresponding to interface for showing, obtains data field corresponding with the target scene parameter,
Wherein, the data field is used to indicate the displaying pattern and displaying content at the interface, and the data field is sent to
The client;
The instruction of the data field for receiving and being sent according to the server, loads the interface.
A kind of 11. interface display apparatus, it is characterised in that including:
First acquisition unit, the request of data for obtaining client transmission, wherein, the visitor is carried in the request of data
The target scene parameter of the application scenarios corresponding to the interface of family end request display;
Second acquisition unit, for obtaining data field corresponding with the target scene parameter, wherein, the data field is used
In the displaying pattern and displaying content that indicate the interface;
First transmitting element, for the data field to be sent into the client, to indicate the client according to
Data field shows the interface.
12. devices according to claim 11, it is characterised in that the second acquisition unit includes:
First acquisition module, for obtaining the To Template matched with the target scene parameter, wherein, in the To Template
Including the data field;
Second acquisition module, for obtaining the data field in the To Template.
13. devices according to claim 12, it is characterised in that the second acquisition unit includes:
First determining module, for determining the application scenarios described by the target scene parameter;
Second determining module, for determining that the interface is wrapped under the application scenarios described by the target scene parameter
The target view module for containing;
3rd acquisition module, for obtaining aiming field corresponding with the target view module;
Concatenation module, for the aiming field of acquisition to be spliced into the To Template.
14. devices according to claim 12, it is characterised in that the second acquisition unit includes:
4th acquisition module, for obtaining the incidence relation between scenario parameters and corresponding template;
5th acquisition module, for according to obtain the incidence relation, obtained from multiple template set in advance with it is described
Target scene parameter has the candidate template of incidence relation;
3rd determining module, for using the candidate template as the To Template.
15. devices according to claim 12, it is characterised in that the second acquisition unit includes:
First judge module, for judging whether the target scene parameter is that can be produced on triggering for describing the interface
The scenario parameters for redirecting;
6th acquisition module, for where it has, obtain the first template for being matched with the target scene parameter, wherein,
First template is used to indicate the client to show the interface that can be produced redirect on triggering.
16. devices according to claim 12, it is characterised in that the second acquisition unit includes:
Second judge module, for judging whether the target scene parameter is that can be carried out on triggering for describing the interface
The scenario parameters of ballot;
7th acquisition module, for where it has, obtain the second template for being matched with the target scene parameter, wherein,
Second template is used to indicate the client to show the interface that can be voted on triggering.
17. devices according to claim 11, it is characterised in that described device also includes:
3rd acquiring unit, for the data field to be sent into the client, to indicate the client according to institute
Data field is stated after showing the interface, to obtain the displaying pattern and/or displaying content for adjusting the data field
Adjust instruction;
Adjustment unit, for according to the adjust instruction, being adjusted to the data field;
Second transmitting element, for the data field after adjustment to be sent into the client, so that the client is according to institute
State it is whole after data field refresh the interface.
18. devices according to claim 17, it is characterised in that the adjustment unit includes:
First adjusting module, for according to the adjust instruction, corresponding data field being increased in the data field;With/
Or
Second adjusting module, for according to the adjust instruction, corresponding data field being deleted from the data field;With/
Or
3rd adjusting module, for according to the adjust instruction, changing corresponding data field in the data field;And/or
4th adjusting module, for according to the adjust instruction, changing the position of corresponding data field in the data field
Parameter and/or type parameter, to adjust display location and/or displaying type of the corresponding views module in the interface.
19. devices according to claim 12, it is characterised in that the data field can be by addition to the To Template
Other templates multiplexing.
A kind of 20. interface loading devices, it is characterised in that including:
3rd transmitting element, for the request of data sent to server, so that the server is according in the request of data
The target scene parameter of the application scenarios corresponding to interface that the client request of carrying shows, obtains and joins with the target scene
The corresponding data fields of number, wherein, the data field is used to indicate the displaying pattern and displaying content at the interface, and by institute
State data field and be sent to the client;
Loading unit, the instruction of the data field for receiving and being sent according to the server, loads the interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611116552.4A CN106843828B (en) | 2016-12-07 | 2016-12-07 | Interface display and loading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611116552.4A CN106843828B (en) | 2016-12-07 | 2016-12-07 | Interface display and loading method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106843828A true CN106843828A (en) | 2017-06-13 |
CN106843828B CN106843828B (en) | 2020-11-10 |
Family
ID=59139016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611116552.4A Active CN106843828B (en) | 2016-12-07 | 2016-12-07 | Interface display and loading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106843828B (en) |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391175A (en) * | 2017-06-20 | 2017-11-24 | 福建天泉教育科技有限公司 | Control data collocation method and computer-readable recording medium |
CN107679120A (en) * | 2017-09-18 | 2018-02-09 | 广东中标数据科技股份有限公司 | A kind of multi-functional visual presentation platform and its implementation |
CN107786631A (en) * | 2017-09-15 | 2018-03-09 | 北京奇艺世纪科技有限公司 | A kind of content delivery method, device and electronic equipment |
CN107895035A (en) * | 2017-11-27 | 2018-04-10 | 中国银行股份有限公司 | A kind of display methods of the page, front-end server and internet banking system |
CN108304245A (en) * | 2018-03-01 | 2018-07-20 | 腾讯科技(深圳)有限公司 | Interface processing method and device, computer-readable medium and electronic equipment |
CN108710514A (en) * | 2018-05-21 | 2018-10-26 | 腾讯科技(深圳)有限公司 | Object jump control method and device, storage medium and electronic device |
CN108897855A (en) * | 2018-06-28 | 2018-11-27 | 中国建设银行股份有限公司 | The method and device that information is investigated in enterprise network |
CN109165052A (en) * | 2018-08-08 | 2019-01-08 | 腾讯科技(深圳)有限公司 | Interaction processing method, device and the terminal of application scenarios, system, storage medium |
CN109309859A (en) * | 2018-09-30 | 2019-02-05 | 广州虎牙信息科技有限公司 | Direct broadcasting room method for showing interface, framework and correlation technique, device and equipment |
CN109347898A (en) * | 2018-08-20 | 2019-02-15 | 深圳市梦网科技发展有限公司 | Sending method, display methods and the server and mobile terminal of scene information |
CN109426492A (en) * | 2017-07-13 | 2019-03-05 | 北京微影时代科技有限公司 | A kind of client software development approach and device |
CN109558405A (en) * | 2018-11-09 | 2019-04-02 | 浙江数链科技有限公司 | Object publishing method and device, system |
CN109634608A (en) * | 2018-12-17 | 2019-04-16 | 江苏满运软件科技有限公司 | Interface dynamic generation method, system, equipment and medium |
CN109814969A (en) * | 2019-01-21 | 2019-05-28 | 奥克斯空调股份有限公司 | User terminal and application program display interface automatic switching control equipment and method |
CN110096372A (en) * | 2019-03-13 | 2019-08-06 | 平安普惠企业管理有限公司 | Information transferring method, device, computer equipment and computer readable storage medium |
CN110224896A (en) * | 2019-06-24 | 2019-09-10 | 深圳前海桔子信息技术有限公司 | A kind of network performance data acquisition method, device, server and storage medium |
CN110321227A (en) * | 2018-03-29 | 2019-10-11 | 腾讯科技(深圳)有限公司 | Page data synchronous method, electronic device and computer readable storage medium |
CN111198702A (en) * | 2019-12-23 | 2020-05-26 | 宁波港信息通信有限公司 | Interface refreshing method and device, computer equipment and storage medium |
CN111427567A (en) * | 2020-03-20 | 2020-07-17 | 杭州涂鸦信息技术有限公司 | Intelligent product rapid generation method, system and equipment thereof |
CN111767071A (en) * | 2020-07-02 | 2020-10-13 | 湖南快乐阳光互动娱乐传媒有限公司 | Data display adjustment method and device and electronic equipment |
CN112162687A (en) * | 2020-10-22 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Picture generation method and device, storage medium and electronic equipment |
CN112732257A (en) * | 2020-12-31 | 2021-04-30 | 北京声智科技有限公司 | Terminal interface configuration method and device |
WO2022001982A1 (en) * | 2020-06-28 | 2022-01-06 | 中兴通讯股份有限公司 | Model-driven method and apparatus for intelligent operation and maintenance middleground portal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8478843B1 (en) * | 2011-03-01 | 2013-07-02 | IMDB. COM, Inc. | Templates with static parameter caching |
CN104238881A (en) * | 2014-09-10 | 2014-12-24 | 北京金山安全软件有限公司 | Terminal information display method and device and terminal |
US20150199726A1 (en) * | 2014-10-05 | 2015-07-16 | Yieldmo, Inc. | Mobile Advertising Wrapper |
CN105824517A (en) * | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Implementation method and apparatus of desktop |
-
2016
- 2016-12-07 CN CN201611116552.4A patent/CN106843828B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8478843B1 (en) * | 2011-03-01 | 2013-07-02 | IMDB. COM, Inc. | Templates with static parameter caching |
CN104238881A (en) * | 2014-09-10 | 2014-12-24 | 北京金山安全软件有限公司 | Terminal information display method and device and terminal |
US20150199726A1 (en) * | 2014-10-05 | 2015-07-16 | Yieldmo, Inc. | Mobile Advertising Wrapper |
CN105824517A (en) * | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Implementation method and apparatus of desktop |
Cited By (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391175A (en) * | 2017-06-20 | 2017-11-24 | 福建天泉教育科技有限公司 | Control data collocation method and computer-readable recording medium |
CN107391175B (en) * | 2017-06-20 | 2021-03-30 | 福建天泉教育科技有限公司 | Control data configuration method and computer readable storage medium |
CN109426492A (en) * | 2017-07-13 | 2019-03-05 | 北京微影时代科技有限公司 | A kind of client software development approach and device |
CN107786631A (en) * | 2017-09-15 | 2018-03-09 | 北京奇艺世纪科技有限公司 | A kind of content delivery method, device and electronic equipment |
CN107786631B (en) * | 2017-09-15 | 2021-03-26 | 北京奇艺世纪科技有限公司 | Content publishing method and device and electronic equipment |
CN107679120A (en) * | 2017-09-18 | 2018-02-09 | 广东中标数据科技股份有限公司 | A kind of multi-functional visual presentation platform and its implementation |
CN107895035A (en) * | 2017-11-27 | 2018-04-10 | 中国银行股份有限公司 | A kind of display methods of the page, front-end server and internet banking system |
CN108304245A (en) * | 2018-03-01 | 2018-07-20 | 腾讯科技(深圳)有限公司 | Interface processing method and device, computer-readable medium and electronic equipment |
CN110321227A (en) * | 2018-03-29 | 2019-10-11 | 腾讯科技(深圳)有限公司 | Page data synchronous method, electronic device and computer readable storage medium |
CN108710514A (en) * | 2018-05-21 | 2018-10-26 | 腾讯科技(深圳)有限公司 | Object jump control method and device, storage medium and electronic device |
CN108710514B (en) * | 2018-05-21 | 2021-10-15 | 腾讯科技(深圳)有限公司 | Object jump control method and device, storage medium and electronic device |
CN108897855A (en) * | 2018-06-28 | 2018-11-27 | 中国建设银行股份有限公司 | The method and device that information is investigated in enterprise network |
CN109165052A (en) * | 2018-08-08 | 2019-01-08 | 腾讯科技(深圳)有限公司 | Interaction processing method, device and the terminal of application scenarios, system, storage medium |
CN109165052B (en) * | 2018-08-08 | 2021-10-26 | 腾讯科技(深圳)有限公司 | Interactive processing method and device of application scene, terminal, system and storage medium |
CN109347898A (en) * | 2018-08-20 | 2019-02-15 | 深圳市梦网科技发展有限公司 | Sending method, display methods and the server and mobile terminal of scene information |
CN109347898B (en) * | 2018-08-20 | 2021-04-30 | 深圳市梦网科技发展有限公司 | Scene information sending method, scene information display method, server and mobile terminal |
CN109309859A (en) * | 2018-09-30 | 2019-02-05 | 广州虎牙信息科技有限公司 | Direct broadcasting room method for showing interface, framework and correlation technique, device and equipment |
CN109558405A (en) * | 2018-11-09 | 2019-04-02 | 浙江数链科技有限公司 | Object publishing method and device, system |
CN109634608A (en) * | 2018-12-17 | 2019-04-16 | 江苏满运软件科技有限公司 | Interface dynamic generation method, system, equipment and medium |
CN109814969A (en) * | 2019-01-21 | 2019-05-28 | 奥克斯空调股份有限公司 | User terminal and application program display interface automatic switching control equipment and method |
CN110096372A (en) * | 2019-03-13 | 2019-08-06 | 平安普惠企业管理有限公司 | Information transferring method, device, computer equipment and computer readable storage medium |
CN110224896A (en) * | 2019-06-24 | 2019-09-10 | 深圳前海桔子信息技术有限公司 | A kind of network performance data acquisition method, device, server and storage medium |
CN111198702A (en) * | 2019-12-23 | 2020-05-26 | 宁波港信息通信有限公司 | Interface refreshing method and device, computer equipment and storage medium |
CN111427567A (en) * | 2020-03-20 | 2020-07-17 | 杭州涂鸦信息技术有限公司 | Intelligent product rapid generation method, system and equipment thereof |
CN111427567B (en) * | 2020-03-20 | 2023-08-18 | 杭州涂鸦信息技术有限公司 | Intelligent product rapid generation method, system and equipment thereof |
WO2022001982A1 (en) * | 2020-06-28 | 2022-01-06 | 中兴通讯股份有限公司 | Model-driven method and apparatus for intelligent operation and maintenance middleground portal |
CN111767071A (en) * | 2020-07-02 | 2020-10-13 | 湖南快乐阳光互动娱乐传媒有限公司 | Data display adjustment method and device and electronic equipment |
CN112162687A (en) * | 2020-10-22 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Picture generation method and device, storage medium and electronic equipment |
CN112162687B (en) * | 2020-10-22 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Picture generation method and device, storage medium and electronic equipment |
CN112732257A (en) * | 2020-12-31 | 2021-04-30 | 北京声智科技有限公司 | Terminal interface configuration method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106843828B (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106843828A (en) | interface display, loading method and device | |
CN108510389A (en) | Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain | |
CN106294816A (en) | The treating method and apparatus of page info | |
CN103401909B (en) | Data interactive method based on BS and system, client and server | |
CN109656807A (en) | Interface mock test method, device, equipment and storage medium based on information security | |
CN107483521A (en) | A kind of information displaying method, apparatus and system | |
CN103365621B (en) | Image processing method and device | |
CN105955748B (en) | The return scene process method and device of application program | |
CN104133765B (en) | The test case sending method of network activity and test case server | |
CN107391736A (en) | A kind of page display method and device | |
CN109697064A (en) | A kind of generation method and device of the customized page | |
CN107391626A (en) | Land the creation method and device of page | |
CN108023918A (en) | A kind of information on services acquisition methods, apparatus and system | |
CN106293765A (en) | A kind of layout updates method and device | |
CN107809332A (en) | Compound interface configures and compound interface call method, device | |
CN110245128A (en) | Method for building up and device, storage medium, the electronic device of meta-model | |
CN107577622A (en) | Back end interface analogy method, equipment and storage medium | |
CN106204150A (en) | A kind of method and device throwing in advertisement to mobile terminal | |
CN106598530A (en) | Display panel configuration method and device | |
CN109271160A (en) | Active rule construction method, device and computer system, medium | |
CN106201852A (en) | A kind of distributed test method and test system | |
CN109345098A (en) | A kind of task recommendation method, apparatus, server and storage medium | |
CN109120708A (en) | Construction method, call method and the device of business module based on micro services component | |
CN110519392A (en) | Resource allocation methods, device, equipment, readable storage medium storing program for executing and system | |
CN110427260A (en) | Host job scheduling method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |