CN105022549B - Show the method and device of view - Google Patents

Show the method and device of view Download PDF

Info

Publication number
CN105022549B
CN105022549B CN201410176111.8A CN201410176111A CN105022549B CN 105022549 B CN105022549 B CN 105022549B CN 201410176111 A CN201410176111 A CN 201410176111A CN 105022549 B CN105022549 B CN 105022549B
Authority
CN
China
Prior art keywords
view
display properties
faceplate
display
page
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.)
Active
Application number
CN201410176111.8A
Other languages
Chinese (zh)
Other versions
CN105022549A (en
Inventor
赵达
林超
丁阳
唐昕
李健
李顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410176111.8A priority Critical patent/CN105022549B/en
Publication of CN105022549A publication Critical patent/CN105022549A/en
Application granted granted Critical
Publication of CN105022549B publication Critical patent/CN105022549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of method and devices for showing view, belong to information technology field.Method includes: the view for obtaining the display content creating according to view, and view is page view or faceplate view;The corresponding display properties of view is obtained, display properties includes at least one of admission animation attributes and appearance animation attributes;View is shown according to display properties.The present invention includes at least one of admission animation attributes and appearance animation attributes by obtaining the view and the corresponding display properties of view for showing content creating according to view, the display properties;View is shown according to display properties, so that the device of display view shows the content of view according to display properties, not only increases the flexibility that view is shown, and reduce the limitation of display effect.

Description

Show the method and device of view
Technical field
The present invention relates to information technology field, in particular to a kind of method and device for showing view.
Background technique
With the development of information technology, browse view obtains the main side of information to obtain the information in view as people One of formula.Wherein, view includes page view and faceplate view, and page view is used to show the network information in internet, face Plate view is used to show the application message of the application components such as sidebar menu, dialog box.And it can be fast during view display The application of speed display view can more be favored, and therefore, the method for display view rapidly and efficiently, is to increase number of users It is crucial.
Currently, either page view or faceplate view, the equipment for showing view are getting the display according to view After the view of content creating, the view got is directly displayed.
In the implementation of the present invention, inventor has found that the above method at least has the disadvantage in that
Since the view of display is the display content creating according to view, so that the equipment of display view only shows view Content, not only reduce the flexibility that view is shown, and increase the limitation of display effect.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method and devices for showing view.Institute It is as follows to state technical solution:
On the one hand, a kind of method for showing view is provided, which comprises
The view of the display content creating according to view is obtained, the view is page view or faceplate view;
The corresponding display properties of the view is obtained, the display properties includes at least admission animation attributes and appearance animation One of attribute;
The view is shown according to the display properties.
On the other hand, a kind of device for showing view is provided, described device includes:
First obtains module, and for obtaining the view of the display content creating according to view, the view is page view Or faceplate view;
Second obtains module, the corresponding display properties of view got for obtaining the first acquisition module, described Display properties includes at least one of admission animation attributes and appearance animation attributes;
Display module, the display properties for being got according to the second acquisition module show the view.
Technical solution provided in an embodiment of the present invention has the benefit that
By obtaining the view and display properties of the display content creating according to view, which includes at least admission One of animation attributes and appearance animation attributes;View is shown according to display properties, so that the device of display view is according to aobvious The content for showing attribute display view not only increases the flexibility that view is shown, and reduces the limitation of display effect.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the method implementation environment schematic diagram of display view provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for display view that the embodiment of the present invention one provides;
Fig. 3 is a kind of method flow diagram for showing view provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of method flow diagram for display view that the embodiment of the present invention three provides;
Fig. 5 is a kind of faceplate view display schematic diagram that the embodiment of the present invention three provides;
Fig. 6 is a kind of apparatus structure schematic diagram for display view that the embodiment of the present invention four provides;
Fig. 7 is the structural schematic diagram that one kind first that the embodiment of the present invention four provides obtains module;
Fig. 8 is the structural schematic diagram for the first the second acquisition module that the embodiment of the present invention four provides;
Fig. 9 is the structural schematic diagram that the another kind first that the embodiment of the present invention four provides obtains module;
Figure 10 is the structural schematic diagram for the second second acquisition modules that the embodiment of the present invention four provides;
Figure 11 is the structural schematic diagram for the third the second acquisition module that the embodiment of the present invention four provides;
Figure 12 is the structural schematic diagram for the 4th kind of second acquisition module that the embodiment of the present invention four provides;
Figure 13 is the structural schematic diagram for the 5th kind of second acquisition module that the embodiment of the present invention four provides;
Figure 14 is a kind of structural schematic diagram for terminal that the embodiment of the present invention five provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of methods for showing view, referring to FIG. 1, it illustrates the embodiment of the present invention The structural schematic diagram of implementation environment involved in the method for the display view of offer.The implementation environment includes the equipment for showing view 101 and view provide equipment 102.
Wherein, show that operation has the device for showing view, for example following realities of the device of the display view in the equipment 101 of view Apply the device that view is shown described in example four.In addition, the equipment 101 of the display view can be server, smart phone, plate Computer, pocket computer on knee and desktop computer etc..It is aobvious to be provided for user for being combined with view offer equipment 102 Show the function of view.
View provides the back-end server that equipment 102 can be view provider offer, and view offer equipment 102 can It is combined with the equipment 101 of display view to provide the function of display view for user.
The equipment 101 and view of above-mentioned display view, which provide, can pass through wireless network or wired network between equipment 102 Network is communicated.
Embodiment one
A kind of method for showing view is present embodiments provided, referring to fig. 2, method flow provided in this embodiment is specifically such as Under:
201: obtaining the view of the display content creating according to view, view is page view or faceplate view;
Preferably, when view is page view, the view of the display content creating according to view is obtained, comprising:
The routing rule of the corresponding view object of page view is obtained, routing rule is corresponding aobvious for describing page view Show the acquisition modes of content;
The corresponding display content of page view is obtained according to routing rule, and according to display content creating page view.
Preferably, before the routing rule for obtaining the corresponding view object of page view, further includes:
Each view object is applied to pre-stored routing rule template, obtains the corresponding routing of each view object Rule according to the corresponding routing rule determination of each view object and stores the corresponding pass between view object and routing rule System;
Obtain the routing rule of the corresponding view object of page view, comprising:
Corresponding relationship between view object according to the pre-stored data and routing rule obtains the corresponding view of page view The routing rule of object.
202: obtaining the corresponding display properties of view, display properties includes at least admission animation attributes and appearance animation attributes One of;
Preferably, when view is page view, the corresponding display properties of view is obtained, comprising:
Obtain the display properties of the corresponding view object of page view, and by the display of the corresponding view object of page view Attribute is as the corresponding display properties of page view.
Preferably, before the display properties for obtaining the corresponding view object of page view, further includes:
Each view object is applied to pre-stored display properties rule template, it is corresponding to obtain each view object Display properties according to the corresponding display properties determination of each view object and stores the correspondence between view object and display properties Relationship;
Obtain the display properties of the corresponding view object of page view, comprising:
Corresponding relationship between view object according to the pre-stored data and display properties obtains the corresponding view of page view The display properties of object.
Preferably, when view is faceplate view, the corresponding display properties of view is obtained, comprising:
Corresponding JS (JavaScript) function of faceplate view is obtained, JS function includes at least the mark of faceplate view;
The corresponding display properties of faceplate view is obtained according to the mark of faceplate view.
Preferably, before according to the corresponding display properties of the mark of faceplate view acquisition faceplate view, further includes:
Each faceplate view is applied to pre-stored display properties rule template, it is corresponding to obtain each faceplate view Display properties according to the mark of each faceplate view and the corresponding display properties determination of each faceplate view and stores faceplate view Corresponding relationship between mark and display properties;
The corresponding display properties of faceplate view is obtained according to the mark of faceplate view, comprising:
Corresponding relationship between faceplate view mark according to the pre-stored data and display properties obtains the mark of faceplate view Corresponding display properties.
203: view is shown according to display properties.
Preferably, when display properties includes admission animation attributes, view is shown according to display properties, comprising:
View is shown according to admission animation attributes.
Preferably, when display properties includes appearance animation attributes, after display properties display view, further includes:
View is closed according to appearance animation attributes.
Method provided in this embodiment, it is corresponding aobvious according to the view and view of the display content creating of view by obtaining Show attribute, which includes at least one of admission animation attributes and appearance animation attributes;It is shown according to display properties View not only increases the flexibility that view is shown so that the device of display view shows the content of view according to display properties, And reduce the limitation of display effect.
In order to clearly illustrate a kind of method for showing view provided by the above embodiment, in conjunction with above-described embodiment Content and implementation environment are described in detail a kind of method for showing view, see below reality by taking following examples two as an example Apply example two:
Embodiment two
A kind of method for showing view is present embodiments provided, for ease of description, the present embodiment is regarded by the page of view Figure, view object be book (e-book) for, method provided in this embodiment is illustrated in detail.Referring to Fig. 3, Method flow provided in this embodiment is specific as follows:
301: obtaining the page view of the display content creating according to page view;
The present embodiment does not limit acquisition according to the specific method of the page view of the display content creating of page view It is fixed.For example, realizing the page view for obtaining the display content creating according to page view by following five steps.
Step 1: each view object is applied to pre-stored routing rule template, obtains each view object pair The routing rule answered;
Wherein, routing rule template includes the specification that at least one creation routing rule is followed.For example, each routing rule It is then the rule based on character string fragment, each segment oblique line "/" is divided, and segment may include the ginseng using colon as prefix Number ": param " can match any number of segment using asterisk as prefix " * splat ", bracket bracket " (: optional) " Optional segment (have or nothing) can be matched.It in addition to this, can also include other specifications, this implementation in routing rule template Example is not defined the concrete norm of routing rule template.
Specification in routing rule template according to the pre-stored data can be combined into any routing rule, use routing rule In the acquisition modes of the corresponding display content of description page view.
Example 1: routing rule 1: " search/:keyword/ is combined into according to the specification in above-mentioned routing rule template page:num".Wherein, the acquisition modes of the corresponding display content of the page view that routing rule 1 describes are as follows: mode is searched, and The lookup mode is specially the content searched in n-th um pages comprising keyword keyword.
Example 2: routing rule 2 is combined into according to the specification in above-mentioned routing rule template: " file/*path ".Wherein, road By the acquisition modes of the corresponding display content of page view of 2 description of rule are as follows: reading manner, and the reading manner is specially to read Taking store path is the file of path.
Example 3: routing rule 3 is combined into according to the specification in above-mentioned routing rule template: " docs/:section (/: subsection)".Wherein, the acquisition modes of the corresponding display content of the page view that routing rule 3 describes are as follows: reading manner, And the reading manner is specially the content for reading section chapters and sections in document, alternatively, reading in document section chapters and sections The content of the sub- chapters and sections of subsection.
Example 4: routing rule 4 is combined into according to the specification in above-mentioned routing rule template: "/^ (.*txt)/open $/".Road By the acquisition modes of the corresponding display content of page view of 4 description of rule are as follows: unfolding mode, and the unfolding mode is specially to beat Open the file for extending entitled txt.
Certainly, the routing rule being combined into according to the specification in above-mentioned routing rule template can also be other content, this Embodiment is not defined the specific routing rule being combined into according to the specification in above-mentioned routing rule template.
In addition, according to the method for the specification combination routing rule in above-mentioned routing rule template according to the pre-stored data, it will Each view object is applied to pre-stored routing rule template, and the corresponding routing rule of each view object can be obtained. The present embodiment is not applied to pre-stored routing rule template to by each view object, and it is corresponding to obtain each view object The concrete mode of routing rule is defined.Such as: it is created according to the characteristic of each view object by regular expression each The corresponding routing rule of view object.
For example, creating the corresponding routing rule 5 of book by regular expression according to the characteristic of book are as follows: " docs/: Section ", corresponding routing rule 6 are as follows: " file/*path ".The present embodiment specific routing rule not corresponding to book Content is defined, and also the quantity of specific routing rule not corresponding to book is defined.
Step 2: it according to the corresponding routing rule determination of each view object and stores between view object and routing rule Corresponding relationship;
Using the corresponding routing rule of book as routing rule 5 " docs/:section " and routing rule 6 " file/*path " For, the corresponding relationship between book and routing rule is stored as to the form of table 1.
Table 1
Object Routing rule
book docs/:section
book file/*path
Step 3: it is corresponding that the corresponding relationship between view object according to the pre-stored data and routing rule obtains page view View object routing rule;
Due to including at least the corresponding view object of page view and content parameters in route requests, it can pass through The corresponding route requests of page view are first obtained, further according between route requests and pre-stored view object and routing rule Corresponding relationship obtain the corresponding view object of page view routing rule mode, realize view pair according to the pre-stored data As and routing rule between corresponding relationship obtain the routing rule of the corresponding view object of page view the step of.Except this it Outside, it can also realize that the corresponding relationship between view object according to the pre-stored data and routing rule obtains page by other means The step of routing rule of the corresponding view object of face view, the present embodiment is not to view object according to the pre-stored data and routing The concrete mode that corresponding relationship between rule obtains the routing rule of the corresponding view object of page view is defined.
For example, if obtaining the corresponding route requests of page view is http://www.A.com/book/path=B/ C.docx, section=2.Wherein, book is the corresponding view object of page view, and B/C.docx and 2 is content parameters, then The routing rule that corresponding relationship according to shown in table 1 between book and routing rule obtains the corresponding book of page view is specific For " #file/B/C.docx " and " #docs/2 ", wherein the specific routing rule of the corresponding book of # representing pages view is opened Begin.
Certainly, the corresponding route requests of page view can also be other content, and the present embodiment is not corresponding to page view The particular contents of route requests be defined.Route requests can also include the corresponding view of page view by other forms Object and content parameters, the present embodiment is not to the tool in route requests including the corresponding view object of page view and content parameters Body form is defined.The content parameters for including in route requests can also be other parameters, and the present embodiment is not to route requests In include particular content parameter be defined.The character of the beginning of the specific routing rule of the corresponding book of representing pages view Can also be other characters, the beginning of the specific routing rule of the present embodiment book not corresponding to representing pages view it is specific Character is defined.
Step 4: the corresponding display content of page view is obtained according to routing rule;
The specific method of the corresponding display content of page view is obtained with the storage position of display content according to routing rule The difference set and change.
If terminal where display content is stored in the device of display view, shows the device of view directly according to routing The corresponding display content of Rule page view.
If display content is stored in the corresponding server of route requests, show the device of view by routing rule and interior Hold parameter and be sent to the corresponding server of route requests, makes route requests corresponding server that content parameters are applied to routing rule Then, the simultaneously corresponding display content of back page view is obtained;Receive the display content that the corresponding server of route requests returns.
Certainly, in addition to the above-mentioned method for obtaining the corresponding display content of page view according to routing rule, can also lead to The step of other methods realize display content corresponding according to routing rule acquisition page view is crossed, the present embodiment is not to according to road It is defined by the specific method of the corresponding display content of Rule page view.
To show that content is stored in the device place terminal of display view, the routing rule tool of the corresponding book of page view Body be " #file/B/C.docx " and " #docs/2 " for, according to " #file/B/C.docx " and " #docs/2 " acquisition B/ The content of chapters and sections 2 in C.docx.
Step 5: according to display content creating page view.
It take the corresponding display content of page view as the content of chapters and sections 2 in B/C.docx.Creating content is in B/C.docx The page view of 2 content of chapters and sections.
It should be noted that the method for the present embodiment display view not provided in this embodiment to application shows the tool of view Body trigger condition is defined.Including but not limited to: showing that the device of view gets a certain link in the view currently shown When being selected, and obtaining the link chosen, the method display view of triggering application display view provided in this embodiment;Alternatively, The browser back button that the device of display view gets the view currently shown is selected, and after obtaining and executing back operation When the view link of display, the method for triggering application display view provided in this embodiment shows view;Alternatively, display view When device gets the view link that will be shown of user's input, the method for triggering application display view provided in this embodiment Show view.
302: obtaining the corresponding display properties of page view;
Wherein, display properties includes at least one of admission animation attributes and appearance animation attributes;
The present embodiment is not defined the specific method for obtaining the corresponding display properties of page view.For example, first will be each A faceplate view is applied to pre-stored display properties rule template, obtains the corresponding display properties of each faceplate view;Again According to the mark of each faceplate view and the corresponding display properties determination of each faceplate view and stores faceplate view mark and show Show the corresponding relationship between attribute;Corresponding relationship between last view object according to the pre-stored data and display properties obtains page The display properties of the corresponding view object of face view.
For each faceplate view is applied to pre-stored display properties rule template, each faceplate view pair is obtained The step of display properties answered, display properties rule template include the title of display properties, the function of display properties, display properties Page view display properties is corresponded to for admission animation attributes or appearance animation attributes and display properties or faceplate view is shown Attribute.Such as in addition to this display properties rule template shown in table 2 can also include other in display properties rule template Content, the present embodiment are not defined the particular content of display properties rule template.
Table 2
In addition, content in display properties rule template can by $ doc.trigger (" spa: AddTransitPageAnimates ", Animates) addition, the present embodiment not in display properties rule template addition in The specific method of appearance is defined.
In addition, each view object is applied to pre-stored display properties rule template, each view can be obtained The corresponding display properties rule of object.The present embodiment is not applied to pre-stored display properties rule to by each view object Template, the concrete mode for obtaining the corresponding display properties of each view object are defined.
For example, according to the characteristic of book, obtain the corresponding display properties of book be slideInLeft and slideOutRight.Certainly, the corresponding display properties of book can also be other display properties, and the present embodiment is not to book pairs The attribute that is particularly shown answered is defined.
In order to page view show it is beautiful, optionally, admission animation attributes in the corresponding display properties of each view object It is the identical and contrary attribute of movement with appearance animation attributes, for example, if the corresponding admission animation attributes of view object 1 For pushInRight, then the corresponding appearance animation attributes of view object 1 are pushOutLeft.
For determining according to the corresponding display properties of each view object and store between view object and display properties The step of corresponding relationship, by taking the corresponding display properties of book is slideInLeft and slideOutRight as an example, by book and Corresponding relationship between display properties is stored as the form of table 3.
Table 3
Object Display properties
book slideInLeft
book slideOutRight
It is corresponding that page view is obtained for the corresponding relationship between view object according to the pre-stored data and display properties The step of display properties of view object, due to including at least the corresponding view object of page view in route requests, first The corresponding route requests of page view are obtained, further according between route requests and pre-stored view object and display properties Corresponding relationship obtains the display properties of the corresponding view object of page view.In addition to this it is possible to realize by other means Corresponding relationship between view object according to the pre-stored data and display properties obtains the aobvious of the corresponding view object of page view The step of showing attribute, the present embodiment do not obtain page to the corresponding relationship between view object according to the pre-stored data and display properties The specific implementation of the display properties of the corresponding view object of face view is defined.
For example, if obtaining the corresponding route requests of page view is http://www.A.com/book, wherein book is The corresponding view object of page view, then the corresponding relationship according to shown in table 3 between book and display properties obtains page view The display properties for scheming corresponding book is specially slideInLeft and slideOutRight.
303: page view is shown according to display properties.
The present embodiment does not show that the concrete mode of page view is defined to according to display properties, including but not limited to: When display properties includes admission animation attributes, page view is shown according to admission animation attributes.
It should be noted that being had shown that if existed before the method provided through the embodiment of the present invention shows view View 1, no matter view 1 be page view or faceplate view first close view 1, according still further to admission animation attributes show page Face view.If view 1 is the view shown using the method for display view provided in an embodiment of the present invention, and view 1 is aobvious When showing that attribute includes appearance animation attributes, then view 1 first is closed according to the appearance animation attributes of view 1, according still further to admission animation Attribute display page view.
Certainly, it when there is the view 1 having shown that before the method provided through the embodiment of the present invention shows view, removes It is shown except page view by above-mentioned processing method, can also show page view by other methods, the present embodiment is not When to there is the view 1 having shown that before the method provided through the embodiment of the present invention shows view, page view is shown Concrete mode be defined.
Method provided in this embodiment, it is corresponding aobvious according to the view and view of the display content creating of view by obtaining Show attribute, which includes at least one of admission animation attributes and appearance animation attributes;It is shown according to display properties View not only increases the flexibility that view is shown so that the device of display view shows the content of view according to display properties, And reduce the limitation of display effect.
Embodiment three
A kind of method for showing view is present embodiments provided, for ease of description, the present embodiment is regarded by panel of view For figure, method provided in this embodiment is illustrated in detail.Referring to fig. 4, method flow provided in this embodiment It is specific as follows:
401: obtaining the faceplate view of the display content creating according to faceplate view;
Due to the storage location of the display content in the corresponding JS function of faceplate view including faceplate view, face is obtained The corresponding JS function of plate view, and panel view is obtained according to the storage location of the display content for the faceplate view for including in JS function The display content of figure, in the display content creating faceplate view according to faceplate view.In addition to this it is possible to by other means Realize the faceplate view step for obtaining the display content creating according to faceplate view, the present embodiment is not to acquisition according to faceplate view The specific method of faceplate view of display content creating be defined.
For example, the faceplate view 1 of creation is the sidebar menu as shown in Fig. 5 (a), the faceplate view 2 of creation is such as Fig. 5 (b) dialog box shown in.
402: obtaining the corresponding display properties of faceplate view;
Wherein, display properties includes at least one of admission animation attributes and appearance animation attributes;
The present embodiment is not defined the specific method for obtaining the corresponding display properties of faceplate view.For example, first will be each A faceplate view is applied to pre-stored display properties rule template, obtains the corresponding display properties of each faceplate view, then According to the mark of each faceplate view and the corresponding display properties determination of each faceplate view and stores faceplate view mark and show Show the corresponding relationship between attribute;Corresponding relationship between last faceplate view mark according to the pre-stored data and display properties obtains The corresponding display properties of the mark of faceplate view is taken, the corresponding display properties of the mark of faceplate view is that faceplate view is corresponding Display properties.
For each faceplate view is first applied to pre-stored display properties rule template, each faceplate view is obtained Corresponding display properties, the corresponding display properties of mark and each faceplate view further according to each faceplate view is determining and stores Faceplate view identifies the step of corresponding relationship between display properties, by taking the faceplate view 1 created in step 401 as an example, such as The corresponding display properties of fruit faceplate view 1 is pushPartInLeft and pushPartOutRight, then by faceplate view 1 and aobvious Show that the corresponding relationship between attribute is stored as the form of table 4.Between faceplate view mark according to the pre-stored data and display properties Corresponding relationship obtain faceplate view the corresponding display properties of mark.
Table 4
Faceplate view mark Display properties
1 pushPartInLeft
1 pushPartOutRight
Certainly, the display properties for being identified as the faceplate view of mark 1 can also be other display properties, and the present embodiment is not right The corresponding attribute that is particularly shown of faceplate view for being identified as mark 1 is defined.
In order to faceplate view show it is beautiful, optionally, admission animation attributes in the corresponding display properties of each faceplate view It is the identical and contrary attribute of movement with appearance animation attributes, for example, if the corresponding admission animation attributes of faceplate view 2 For revealInDown, then the corresponding appearance animation attributes of faceplate view 2 are revealOutUp.
Faceplate view is obtained for the corresponding relationship between faceplate view according to the pre-stored data mark and display properties The step of identifying corresponding display properties, since the corresponding JS function of faceplate view includes at least the mark of faceplate view, First obtain the corresponding JS function of faceplate view, mark and pre-stored faceplate view further according to the faceplate view in JS function Identify display properties corresponding with the corresponding relationship acquisition mark of faceplate view between display properties.In addition to this it is possible to Realize that the corresponding relationship between faceplate view mark according to the pre-stored data and display properties obtains panel view by other means The step of mark of figure corresponding display properties, the present embodiment is not to faceplate view according to the pre-stored data mark and display properties Between the specific implementation of the corresponding relationship corresponding display properties of mark that obtains faceplate view be defined.
For example, if the corresponding JS function of faceplate view is i=1, wherein 1 is the mark of faceplate view, then according to 1 and root Obtaining 1 corresponding display properties with the corresponding relationship between display properties according to pre-stored faceplate view mark is PushPartInLeft and pushPartOutRight, 1 corresponding display properties: pushPartInLeft and PushPartOutRight is the corresponding display properties of faceplate view 1.
403: according to display properties display panel view.
The present embodiment is not defined to according to the concrete mode of display properties display panel view, including but not limited to: When display properties includes admission animation attributes, according to admission animation attributes display panel view.
It should be noted that being had shown that if existed before the method provided through the embodiment of the present invention shows view View 2, when view 2 be faceplate view, and view 2 be using it is provided in an embodiment of the present invention display view method show Faceplate view, while when the display properties of view 2 includes appearance animation attributes, then it is first closed according to the appearance animation attributes of view 2 View 2 is closed, according still further to admission animation attributes display panel view.
If view 2 be page view, can by asynchronous loading method trigger mask layer mask view 2, and according to Admission animation attributes display panel view.
Certainly, when there is the view 2 having shown that before the method provided through the embodiment of the present invention shows view, no It is that page view or faceplate view can also pass through except above-mentioned processing method display panel view by view 2 Other methods display panel view, the present embodiment do not exist to before the method provided through the embodiment of the present invention shows view When the view 2 having shown that, the concrete mode of display panel view is defined.
For example, for faceplate view 1 shown in Fig. 5 (a), according to the effect after admission animation attributes display panel view 1 Referring to Fig. 5 (c).
In another example for faceplate view 2 shown in Fig. 5 (b), according to the effect after admission animation attributes display panel view 2 Fruit is referring to Fig. 5 (d).
Method provided in this embodiment, it is corresponding aobvious according to the view and view of the display content creating of view by obtaining Show attribute, which includes at least one of admission animation attributes and appearance animation attributes;It is shown according to display properties View not only increases the flexibility that view is shown so that the device of display view shows the content of view according to display properties, And reduce the limitation of display effect.
Example IV
Present embodiments provide it is a kind of show view device, the device for execute above-described embodiment one or apply example two or The method of display view provided by embodiment three, referring to Fig. 6, which includes:
First obtains module 601, for obtaining the view of the display content creating according to view, view for page view or Faceplate view;
Second obtains module 602, and the corresponding display properties of view got for obtaining the first acquisition module 601 is shown Show that attribute includes at least one of admission animation attributes and appearance animation attributes;
Display module 603, the display properties for being got according to the second acquisition module 602 show view.
Referring to Fig. 7, when view is page view, first obtains module 601, comprising:
First acquisition unit 6011, for obtaining the routing rule of the corresponding view object of page view, routing rule is used In the acquisition modes of the corresponding display content of description page view;
Second acquisition unit 6012, the routing rule for being got according to first acquisition unit 6011 obtain page view Corresponding display content;
Creating unit 6013, the display content creating page view for being got according to second acquisition unit 6012.
Referring to Fig. 8, when view is page view, second obtains module 602, comprising:
First acquisition unit 6021, for obtaining the display properties of the corresponding view object of page view;
Determination unit 6022, the corresponding view object of page view for getting first acquisition unit 6021 it is aobvious Show attribute as the corresponding display properties of page view.
Module 601 is obtained referring to Fig. 9, first, further includes:
Applying unit 6014 obtains each for each view object to be applied to pre-stored routing rule template The corresponding routing rule of view object;
Storage unit 6015, the corresponding routing rule of each view object for being obtained according to applying unit 6014 determine And store the corresponding relationship between view object and routing rule;
First acquisition unit 6011, for according between the pre-stored view object of storage unit 6015 and routing rule Corresponding relationship obtain the routing rule of the corresponding view object of page view.
Module 602 is obtained referring to Figure 10, second, further includes:
First applying unit 6023, for each view object to be applied to pre-stored display properties rule template, Obtain the corresponding display properties of each view object;
First storage unit 6024, the corresponding display of each view object for being obtained according to the first applying unit 6023 Attribute is determining and stores the corresponding relationship between view object and display properties;
First acquisition unit 6021, for according to the pre-stored view object of the first storage unit 6024 and display properties Between corresponding relationship obtain the display properties of the corresponding view object of page view.
Referring to Figure 11, when view is faceplate view, second obtains module 602, comprising:
Second acquisition unit 6025, for obtaining the corresponding JS function of faceplate view, JS function includes at least faceplate view Mark;
Third acquiring unit 6026, for obtaining the corresponding display properties of faceplate view according to the mark of faceplate view.
Module 602 is obtained referring to Figure 12, second, further includes:
Second applying unit 6027, for each faceplate view to be applied to pre-stored display properties rule template, Obtain the corresponding display properties of each faceplate view;
Second determination unit 6028, the mark of each faceplate view for being obtained according to the second applying unit 6027 and each The corresponding display properties of a faceplate view is determining and stores the corresponding relationship between faceplate view mark and display properties;
Third acquiring unit 6026, for faceplate view according to the pre-stored data mark pass corresponding between display properties System obtains the corresponding display properties of mark of faceplate view.
Wherein, when display properties includes admission animation attributes, display module 603, for being shown according to admission animation attributes View.
Referring to Figure 13, when display properties includes appearance animation attributes, the device, further includes:
Closedown module 604, for closing view according to appearance animation attributes.
Device provided in this embodiment, it is corresponding aobvious according to the view and view of the display content creating of view by obtaining Show attribute, which includes at least one of admission animation attributes and appearance animation attributes;It is shown according to display properties View not only increases the flexibility that view is shown so that the device of display view shows the content of view according to display properties, And reduce the limitation of display effect.
Embodiment five
Referring to Figure 14, a kind of terminal is present embodiments provided, Figure 14, which is illustrated involved in the embodiment of the present invention, to be had The terminal structure schematic diagram of touch sensitive surface, the method for the display view which can be used for implementing providing in above-described embodiment. Specifically:
Terminal 1400 may include RF (RadI/O Frequency, radio frequency) circuit 110, include one or more The memory 120 of computer readable storage medium, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, The components such as transmission module 170, the processor 180 for including one or more than one processing core and power supply 190.Ability Field technique personnel are appreciated that the restriction of the not structure paired terminal of terminal structure shown in Figure 14, may include than illustrating more More or less component perhaps combines certain components or different component layouts.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, including but not limited to GSM (Global System of Mobile communicatI/On, Global system for mobile communications), GPRS (General Packet RadI/O Service, general packet radio service), CDMA (Code DivisI/On Multiple Access, CDMA), WCDMA (Wideband Code DivisI/On Multiple Access, wideband code division multiple access), LTE (Long Term EvolutI/On, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, as shown view in embodiment two or embodiment three Software program corresponding to device and module, processor 180 are stored in the software program and mould of memory 120 by operation Block thereby executing various function application and data processing, such as realizes display view.Memory 120 can mainly include storage Program area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for terminal 1400 Data (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, may be used also To include nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and 130 pairs of input unit storages The access of device 120.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding linked set is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 1400 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting DI/Ode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Figure 14 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 1400 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 1400 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 1400 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 1400.Sound Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to by loudspeaker 161 by frequency circuit 160 Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is received by voicefrequency circuit 160 After be converted to audio data, then by after the processing of audio data output processor 180, be sent to through RF circuit 110 such as another Terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earplug is inserted Hole, to provide the communication of peripheral hardware earphone Yu terminal 1400.
Terminal 1400 can help user to send and receive e-mail, browse webpage and access streaming matchmaker by transmission module 170 Body etc., it provides the access of broadband internet wirelessly or non-wirelessly for user.Although Figure 14 shows transmission module 170, It is understood that itself and be not belonging to must be configured into for terminal 800, can according to need completely do not change invention essence It is omitted in range.
Processor 180 is the control centre of terminal 1400, utilizes each portion of various interfaces and route link whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 1400, to carry out integral monitoring to mobile phone.Optionally, it handles Device 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 1400 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 1400 can also include camera, bluetooth module etc., and details are not described herein.Specifically at this In embodiment, the display unit of terminal is touch-screen display, terminal further include have memory and one or more than one Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one Reason device execution states one or more than one program includes the instruction for performing the following operation:
The view of the display content creating according to view is obtained, view is page view or faceplate view;
The corresponding display properties of view is obtained, display properties includes at least in admission animation attributes and appearance animation attributes It is a kind of;
View is shown according to display properties.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the terminal, also include instructions for performing the following operations:
The routing rule of the corresponding view object of page view is obtained, routing rule is corresponding aobvious for describing page view Show the acquisition modes of content;
The corresponding display content of page view is obtained according to routing rule, and according to display content creating page view.
In the third the possible embodiment provided based on the first or second of possible embodiment, Also include instructions for performing the following operations in the memory of the terminal:
Obtain the display properties of the corresponding view object of page view, and by the display of the corresponding view object of page view Attribute is as the corresponding display properties of page view.
In the 4th kind of possible embodiment provided based on second of possible embodiment, the terminal Memory in, also include instructions for performing the following operations:
Each view object is applied to pre-stored routing rule template, obtains the corresponding routing of each view object Rule according to the corresponding routing rule determination of each view object and stores the corresponding pass between view object and routing rule System;
Obtain the routing rule of the corresponding view object of page view, comprising:
Corresponding relationship between view object according to the pre-stored data and routing rule obtains the corresponding view of page view The routing rule of object.
In the 5th kind of possible embodiment provided based on the third possible embodiment, the terminal Memory in, also include instructions for performing the following operations:
Each view object is applied to pre-stored display properties rule template, it is corresponding to obtain each view object Display properties according to the corresponding display properties determination of each view object and stores the correspondence between view object and display properties Relationship;
Obtain the display properties of the corresponding view object of page view, comprising:
Corresponding relationship between view object according to the pre-stored data and display properties obtains the corresponding view of page view The display properties of object.
In the 6th kind of possible embodiment provided based on the first possible embodiment, the terminal Memory in, also include instructions for performing the following operations:
The corresponding JS function of faceplate view is obtained, JS function includes at least the mark of faceplate view;
The corresponding display properties of faceplate view is obtained according to the mark of faceplate view.
In the 7th kind of possible embodiment provided based on the 6th kind of possible embodiment, the terminal Memory in, also include instructions for performing the following operations:
Each faceplate view is applied to pre-stored display properties rule template, it is corresponding to obtain each faceplate view Display properties according to the mark of each faceplate view and the corresponding display properties determination of each faceplate view and stores faceplate view Corresponding relationship between mark and display properties;
The corresponding display properties of faceplate view is obtained according to the mark of faceplate view, comprising:
Corresponding relationship between faceplate view mark according to the pre-stored data and display properties obtains the mark of faceplate view Corresponding display properties.
In the 8th kind of possible embodiment provided based on the first possible embodiment, the terminal Memory in, also include instructions for performing the following operations:
View is shown according to admission animation attributes.
In the 9th kind of possible embodiment provided based on the first possible embodiment, the terminal Memory in, also include instructions for performing the following operations:
View is closed according to appearance animation attributes.
In conclusion terminal provided in this embodiment, by the view and view that obtain the display content creating according to view Scheme corresponding display properties, which includes at least one of admission animation attributes and appearance animation attributes;According to aobvious Show attribute display view, so that the device of display view shows the content of view according to display properties, it is aobvious to not only increase view The flexibility shown, and reduce the limitation of display effect.
Embodiment six
The embodiment of the invention provides a kind of computer readable storage medium, which be can be State computer readable storage medium included in the memory in embodiment;It is also possible to individualism, without supplying terminal In computer readable storage medium.The computer-readable recording medium storage has one or more than one program, described The method that one or more than one program are used to execute display view by one or more than one processor, the method Include:
The view of the display content creating according to view is obtained, view is page view or faceplate view;
The corresponding display properties of view is obtained, display properties includes at least in admission animation attributes and appearance animation attributes It is a kind of;
View is shown according to display properties.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second possible embodiment in, when view is page view, obtain the view of the display content creating according to view Step, comprising:
The routing rule of the corresponding view object of page view is obtained, routing rule is corresponding aobvious for describing page view Show the acquisition modes of content;
The corresponding display content of page view is obtained according to routing rule, and according to display content creating page view.
In the third the possible embodiment provided based on the first or second of possible embodiment, When view is page view, the step of obtaining view corresponding display properties, comprising:
Obtain the display properties of the corresponding view object of page view, and by the display of the corresponding view object of page view Attribute is as the corresponding display properties of page view.
In the 4th kind of possible embodiment provided based on second of possible embodiment, the page is obtained Before the step of routing rule of the corresponding view object of view, further includes:
Each view object is applied to pre-stored routing rule template, obtains the corresponding routing of each view object Rule according to the corresponding routing rule determination of each view object and stores the corresponding pass between view object and routing rule System;
Obtain the routing rule of the corresponding view object of page view, comprising:
Corresponding relationship between view object according to the pre-stored data and routing rule obtains the corresponding view of page view The routing rule of object.
In the 5th kind of possible embodiment provided based on the third possible embodiment, the page is obtained Before the step of display properties of the corresponding view object of view, further includes:
Each view object is applied to pre-stored display properties rule template, it is corresponding to obtain each view object Display properties according to the corresponding display properties determination of each view object and stores the correspondence between view object and display properties Relationship;
Obtain the display properties of the corresponding view object of page view, comprising:
Corresponding relationship between view object according to the pre-stored data and display properties obtains the corresponding view of page view The display properties of object.
In the 6th kind of possible embodiment provided based on the first possible embodiment, view is face When plate view, the step of obtaining view corresponding display properties, comprising:
The corresponding JS function of faceplate view is obtained, JS function includes at least the mark of faceplate view;
The corresponding display properties of faceplate view is obtained according to the mark of faceplate view.
In the 7th kind of possible embodiment provided based on the 6th kind of possible embodiment, according to panel The mark of view obtained before the step of faceplate view corresponding display properties, further includes:
Each faceplate view is applied to pre-stored display properties rule template, it is corresponding to obtain each faceplate view Display properties according to the mark of each faceplate view and the corresponding display properties determination of each faceplate view and stores faceplate view Corresponding relationship between mark and display properties;
The corresponding display properties of faceplate view is obtained according to the mark of faceplate view, comprising:
Corresponding relationship between faceplate view mark according to the pre-stored data and display properties obtains the mark of faceplate view Corresponding display properties.
In the eight kinds of possible embodiments provided based on the first possible embodiment, display properties packet When including admission animation attributes, according to display properties show view the step of, comprising:
View is shown according to admission animation attributes.
In the 9th kind of possible embodiment provided based on the first possible embodiment, display properties When including appearance animation attributes, after the step of display properties display view, further includes:
View is closed according to appearance animation attributes.
Computer readable storage medium provided in an embodiment of the present invention, by obtaining the display content creating according to view View and the corresponding display properties of view, the display properties is including at least one in admission animation attributes and appearance animation attributes Kind;View is shown according to display properties, so that the device of display view shows the content of view according to display properties, is not only increased The flexibility that view is shown, and reduce the limitation of display effect.
Embodiment seven
A kind of graphical user interface is provided in the embodiment of the present invention, the graphical user interface is used at the terminal, described Terminal include touch-screen display, memory and one for executing one or more than one program or more than one Processor;The graphical user interface includes:
The view of the display content creating according to view is obtained, view is page view or faceplate view;
The corresponding display properties of view is obtained, display properties includes at least in admission animation attributes and appearance animation attributes It is a kind of;
View is shown according to display properties.
Graphical user interface provided in an embodiment of the present invention, by obtain according to view display content creating view and The corresponding display properties of view, the display properties include at least one of admission animation attributes and appearance animation attributes;According to Display properties shows view, so that the device of display view shows the content of view according to display properties, not only increases view The flexibility of display, and reduce the limitation of display effect.
It should be understood that device provided by the above embodiment realize show view when, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.Separately Outside, the embodiment of the method for device provided by the above embodiment and display view belongs to same design, and specific implementation process is detailed in Embodiment of the method, which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of method for showing view, which is characterized in that the described method includes:
The routing rule of the corresponding view object of page view is obtained, the routing rule is corresponding aobvious for describing page view Show the acquisition modes of content,
The corresponding display content of the page view is obtained according to the routing rule, and according to the display content creating Page view,
The corresponding display properties of the page view is obtained, the display properties includes at least admission animation attributes and appearance animation One of attribute;
Alternatively, the faceplate view of the display content creating according to faceplate view is obtained,
The corresponding JS function of the faceplate view is obtained, the JS function includes at least the mark of the faceplate view,
The corresponding display properties of the faceplate view is obtained according to the mark of the faceplate view, the display properties includes at least One of admission animation attributes and appearance animation attributes;
Corresponding view is shown according to the display properties of acquisition.
2. the method according to claim 1, wherein described obtain the corresponding display properties of the page view, Include:
Obtain the display properties of the corresponding view object of the page view, and by the corresponding view object of the page view Display properties is as the corresponding display properties of the page view.
3. the method according to claim 1, wherein the routing for obtaining the corresponding view object of page view Before rule, further includes:
Each view object is applied to pre-stored routing rule template, obtains the corresponding routing rule of each view object Then, determining according to the corresponding routing rule of each view object and store the corresponding relationship between view object and routing rule;
The routing rule for obtaining the corresponding view object of page view, comprising:
Corresponding relationship between view object according to the pre-stored data and routing rule obtains the corresponding view of the page view The routing rule of object.
4. according to the method described in claim 2, it is characterized in that, the page view corresponding view object of obtaining Before display properties, further includes:
Each view object is applied to pre-stored display properties rule template, obtains the corresponding display of each view object Attribute according to the corresponding display properties determination of each view object and stores the corresponding pass between view object and display properties System;
The display properties for obtaining the corresponding view object of the page view, comprising:
Corresponding relationship between view object according to the pre-stored data and display properties obtains the corresponding view of the page view The display properties of object.
5. the method according to claim 1, wherein described obtain the face according to the mark of the faceplate view Before the corresponding display properties of plate view, further includes:
Each faceplate view is applied to pre-stored display properties rule template, obtains the corresponding display of each faceplate view Attribute according to the mark of each faceplate view and the corresponding display properties determination of each faceplate view and stores faceplate view mark Corresponding relationship between display properties;
It is described that the corresponding display properties of the faceplate view is obtained according to the mark of the faceplate view, comprising:
Corresponding relationship between faceplate view mark according to the pre-stored data and display properties obtains the mark of the faceplate view Corresponding display properties.
6. described the method according to claim 1, wherein when the display properties includes admission animation attributes Corresponding view is shown according to the display properties of acquisition, comprising:
The view is shown according to the admission animation attributes.
7. described the method according to claim 1, wherein when the display properties includes appearance animation attributes After showing corresponding view according to the display properties of acquisition, further includes:
The view is closed according to the appearance animation attributes.
8. a kind of device for showing view, which is characterized in that described device includes:
First obtains module, and for obtaining the routing rule of the corresponding view object of page view, the routing rule is for retouching The acquisition modes for stating the corresponding display content of page view obtain the corresponding display of the page view according to the routing rule Content, and the page view according to the display content creating,
Second obtains module, and for obtaining the corresponding display properties of the page view, the display properties includes at least admission One of animation attributes and appearance animation attributes;
Alternatively, first obtains module, for obtaining the faceplate view of the display content creating according to faceplate view,
Second obtains module, and for obtaining the corresponding JS function of the faceplate view, the JS function includes at least the panel The mark of view obtains the corresponding display properties of the faceplate view, the display properties according to the mark of the faceplate view Including at least one of admission animation attributes and appearance animation attributes;
Display module, the display properties for being got according to the second acquisition module show corresponding view.
9. device according to claim 8, which is characterized in that described second obtains module, comprising:
First acquisition unit, for obtaining the display properties of the corresponding view object of the page view;
The display properties of determination unit, the corresponding view object of page view for getting the first acquisition unit is made For the corresponding display properties of the page view.
10. device according to claim 8, which is characterized in that described first obtains module, further includes:
Applying unit obtains each view object for each view object to be applied to pre-stored routing rule template Corresponding routing rule;
Storage unit, the corresponding routing rule of each view object for being obtained according to the applying unit is determining and stores view Corresponding relationship between figure object and routing rule;
The first acquisition unit, for according to pair between the pre-stored view object of the storage unit and routing rule Answer the routing rule of the corresponding view object of page view described in Relation acquisition.
11. device according to claim 9, which is characterized in that described second obtains module, further includes:
First applying unit obtains each for each view object to be applied to pre-stored display properties rule template The corresponding display properties of view object;
First storage unit, the corresponding display properties of each view object for being obtained according to first applying unit determine And store the corresponding relationship between view object and display properties;
The first acquisition unit, for according between the pre-stored view object of first storage unit and display properties Corresponding relationship obtain the display properties of the corresponding view object of the page view.
12. device according to claim 8, which is characterized in that described second obtains module, further includes:
Second applying unit obtains each for each faceplate view to be applied to pre-stored display properties rule template The corresponding display properties of faceplate view;
Second determination unit, the mark of each faceplate view for being obtained according to second applying unit and each panel view Scheme corresponding display properties determination and stores the corresponding relationship between faceplate view mark and display properties;
Third acquiring unit obtains institute for the corresponding relationship between faceplate view according to the pre-stored data mark and display properties State the corresponding display properties of mark of faceplate view.
13. device according to claim 8, which is characterized in that described when the display properties includes admission animation attributes Display module, for showing the view according to the admission animation attributes.
14. device according to claim 8, which is characterized in that described when the display properties includes appearance animation attributes Device, further includes:
Closedown module, for closing the view according to the appearance animation attributes.
CN201410176111.8A 2014-04-29 2014-04-29 Show the method and device of view Active CN105022549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410176111.8A CN105022549B (en) 2014-04-29 2014-04-29 Show the method and device of view

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410176111.8A CN105022549B (en) 2014-04-29 2014-04-29 Show the method and device of view

Publications (2)

Publication Number Publication Date
CN105022549A CN105022549A (en) 2015-11-04
CN105022549B true CN105022549B (en) 2019-06-11

Family

ID=54412554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410176111.8A Active CN105022549B (en) 2014-04-29 2014-04-29 Show the method and device of view

Country Status (1)

Country Link
CN (1) CN105022549B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843627A (en) * 2016-04-13 2016-08-10 乐视控股(北京)有限公司 Page switching method and device
CN110020336B (en) * 2017-08-01 2021-07-30 北京国双科技有限公司 Method and apparatus for controlling mask layer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799421A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Multi-view switching system and method
CN103324403A (en) * 2012-03-22 2013-09-25 腾讯科技(深圳)有限公司 Page switching method and device as well as mobile terminal
CN103645844A (en) * 2013-11-14 2014-03-19 乐视致新电子科技(天津)有限公司 Page displaying method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9110974B2 (en) * 2012-09-10 2015-08-18 Aradais Corporation Display and navigation of structured electronic documents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799421A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Multi-view switching system and method
CN103324403A (en) * 2012-03-22 2013-09-25 腾讯科技(深圳)有限公司 Page switching method and device as well as mobile terminal
CN103645844A (en) * 2013-11-14 2014-03-19 乐视致新电子科技(天津)有限公司 Page displaying method and device

Also Published As

Publication number Publication date
CN105022549A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
CN106453053B (en) Group message display methods and device
CN104965843B (en) A kind of method and device obtaining comment information
CN105630298B (en) A kind of management method and equipment of file
CN106933525B (en) A kind of method and apparatus showing image
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
CN103702297B (en) Short message enhancement, apparatus and system
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN106126411B (en) The method and apparatus that a kind of pair of tested program code is tested
CN104021129B (en) Show the method and terminal of group picture
CN105955597B (en) Information display method and device
CN106488296B (en) A kind of method and apparatus showing video barrage
CN104869465B (en) video playing control method and device
CN104965722B (en) A kind of method and device of display information
CN104991699B (en) A kind of method and apparatus of video display control
CN104516624B (en) A kind of method and device inputting account information
CN109614061A (en) Display methods and terminal
CN104007887B (en) The method and terminal that floating layer is shown
CN104598542B (en) The display methods and device of multimedia messages
CN109240577A (en) A kind of screenshotss method and terminal
CN104820546B (en) Function information methods of exhibiting and device
CN105302804B (en) Display methods, terminal and the server of technical account
CN108958629A (en) Split screen exits method, apparatus, storage medium and electronic equipment
CN109067981A (en) Split screen application switching method, device, storage medium and electronic equipment
CN108958606A (en) Multi-screen display method, device, storage medium and electronic equipment
CN107465802A (en) A kind of methods, devices and systems for showing communication message

Legal Events

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