Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute
The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses
Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims
Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is
Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but
These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off
In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed
For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or
" when ... " or " in response to determination ".
Fig. 1 is a kind of process signal of the methods of exhibiting of Android page shown in one exemplary embodiment of this specification
Figure.
The methods of exhibiting of the Android page can be applied in client, and the client is usually to be loaded in intelligence
Application program in terminal, the intelligent terminal may include: mobile phone, tablet computer, PC machine etc., and this specification does not make spy to this
Different limitation.
In the present embodiment, the first container, second container and entrance can be configured in Android client in advance and shows control
Part.The first container, the second container and the entrance displaying control are packaged with the basis Android control
LinearLayout realizes respective function by increasing code.
Wherein, the first container can be used for the page area data in page presentation data being added to second container
In.
The second container can be used for for the page entry data in the page area data being added to entrance and show control
In part.
The entrance displaying control can be used for showing the corresponding entrance of the page entry data.
Referring to FIG. 1, the methods of exhibiting of the Android page may comprise steps of:
Step 102, the page presentation data that server-side issues are added in the first container.
In the present embodiment, server-side in client request page presentation, can issue the page exhibition of requested page
Registration evidence.For example, client sends the page for being directed to the new page to server-side after the instruction for receiving user's opening new page
Face shows request, and server-side can issue the page presentation data of the new page in turn.
In the present embodiment, client, can be by the page presentation data after receiving the page presentation data
It is added in the first container.
Several page area data are generally included in the page presentation data, the page area data can be used for
The displaying information in corresponding page region is described.
As an example it is assumed that including 5 page area data in the page presentation data, then usually indicating the page
It is divided into 5 regions.Certainly, in addition to this 5 regions, which may further include page head, the processing and realization of this part
The relevant technologies are referred to, this is no longer going to repeat them for this specification.
It may include again having several page entry data in every page area data, the page entry data can be used for
The displaying information of entrance in the page area is described.The page entry data include the title of corresponding entrance, suffix, jump ground
Location, presentation parameter.Wherein, the presentation parameter can include: whether have tail arrow, whether have picture etc..
As an example it is assumed that including 3 page entry data in some page area data, then usually indicating the page
Region includes 3 entrances, can be jumped in the corresponding page by the entrance.
In the present embodiment, the data format of the page presentation data can be specified by developer, such as JSON array
Deng this specification is not particularly limited this.
Step 104, the page area data in the page presentation data are added to several by the first container
In a second container.
In the present embodiment, for every page area data in the page presentation data, the first container can
Successively the page area data are added in an empty second container.The second container is usually the first container
Sub- container.
For example, first page area data in the page presentation data can first be added to by the first container
In one empty second container.Then it can determine whether that there is also the page area data not being added, if it is present can be with
Next page area data are added in another empty second container, the page pool in the page presentation data
Numeric field data is added in second container.
In the present embodiment, the quantity of the second container is equal to page area data described in the page presentation data
Item number, be added to a page area data in each second container.
Referring to FIG. 2, it will again be assumed that including 5 page area data in the page presentation data, then the first container can
This 5 page area data are respectively added in 5 second containers, for example, page area data 1 can be added to the second appearance
In device 1, page area data 2 can be added in second container 2, and so on.
Step 106, the page entry data in the page area data are added to several by the second container
In a entrance displaying control.
In the present embodiment, similar with the first container, for every page entry in the page area data
The page entry data can successively be added in an empty entrance displaying control by data, the second container.
For example, first page entry data in the page area data can first be added to by the second container
In one empty entrance displaying control.Then it can determine whether that there is also the page entry data not being added, if it is present
Next page entry data can be added in another empty entrance displaying control, until in the page presentation data
Page entry data be added in entrance displaying control.
In the present embodiment, the quantity of the entrance displaying control is equal to page entry described in the page area data
The item number of data is added to a page entry data in each entrance displaying control.
With continued reference to FIG. 2, by taking second container 1 as an example, it is assumed that the page area data 1 in the second container 1 include
There are 3 page entry data, then this 3 page entry data can be respectively added to 3 entrance displaying controls by second container 1
In, for example, page entry data 1 can be added in entrance displaying control 1, page entry data 2 can be added to entrance exhibition
Show in control 2, page entry data 3 can be added in entrance displaying control 3.
Step 108, the entrance displaying control shows corresponding entrance according to its page entry data in the page.
In the present embodiment, each entrance displaying control can show its page entry data by data-driven in the page
Corresponding page entry.
Still by taking Fig. 2 as an example, which can be divided into the page in 5 pieces of regions, wherein showing in first piece of region
There are 3 entrances.
The above-described embodiment provided using this specification, client the first container can be automatically by the page in page presentation data
Face area data is added in second container, and the page entry data in page area data can be added to by second container automatically
In entrance displaying control, entrance displaying control can show entrance corresponding with page entry data.It is shown by container and entrance
The framework that control combines, can flexibly realize the displaying of entrance, when newly-increased entrance, configure corresponding page presentation number in server-side
According to without customer upgrade client.Meanwhile by the configuration to page entry data, it can also be achieved the more of entrance pattern
Sample, flexibility ratio are very high.
Corresponding with the embodiment of methods of exhibiting of the aforementioned Android page, this specification additionally provides the Android page
Displaying device embodiment.
The embodiment of the displaying device of this specification Android page can be using at the terminal.Installation practice can be with
By software realization, can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, it is patrolled as one
Device in volume meaning is by the processor of terminal where it by computer program instructions corresponding in nonvolatile memory
It is read into memory what operation was formed.For hardware view, as shown in figure 3, the displaying for this specification Android page fills
A kind of hardware structure diagram of terminal where setting, in addition to processor shown in Fig. 3, memory, network interface and non-volatile memories
Except device, the terminal in embodiment where device can also include other hardware, to this generally according to the actual functional capability of the terminal
It repeats no more.
Fig. 4 is a kind of block diagram of the displaying device of Android page shown in one exemplary embodiment of this specification.
Referring to FIG. 4, the displaying device 300 of the Android page can be applied in aforementioned terminal shown in Fig. 3,
Include: display data adding unit 301, area data adding unit 302, entry data adding unit 303 and entrance exhibition
Show unit 304.
Wherein, the page presentation data that server-side issues are added to the first container by display data adding unit 301
In, include several page area data in the page presentation data, includes several in every page area data
Page entry data;
Area data adding unit 302, by the first container by the page pool in the page presentation data
Numeric field data is added in several described second containers;
Entry data adding unit 303 is entered the page in the page area data by the second container
Mouth data are added in several described entrance displaying controls;
Entrance display unit 304 is shown pair by the entrance displaying control according to its page entry data in the page
The entrance answered.
Optionally, the page area data in the page presentation data are added to several by the first container
In the second container, comprising:
For every page area data in the page presentation data, the first container is successively by the page pool
Numeric field data is added in an empty second container;
The quantity of the second container is equal to the item number of page area data described in the page presentation data.
Optionally, the page entry data in the page area data are added to several by the second container
In the entrance displaying control, comprising:
For every page entry data in the page area data, the second container successively enters the page
Mouth data are added in an empty entrance displaying control;
The quantity of the entrance displaying control is equal to the item number of page entry data in the page area data.
Optionally, the page presentation data are JSON arrays.
Optionally, the page entry data include title, suffix, jump address, the presentation parameter of corresponding entrance.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not
In the case where making the creative labor, it can understand and implement.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
Corresponding with the embodiment of methods of exhibiting of the aforementioned Android page, this specification also provides a kind of Android pages
The displaying device in face, the displaying device of the Android page include: processor and for storing depositing for machine-executable instruction
Reservoir.Wherein, processor and memory are usually connected with each other by internal bus.It is described in other possible implementations
Equipment is also possible that external interface, can be communicated with other equipment or component.
In the present embodiment, the displaying logic pair with the Android page stored by reading and executing the memory
The machine-executable instruction answered, the processor are prompted to:
The page presentation data that server-side issues are added in the first container, include in the page presentation data
There are several page area data, includes several page entry data in every page area data;
The page area data in the page presentation data are added to several institutes by the first container
It states in second container;
The page entry data in the page area data are added to several institutes by the second container
It states in entrance displaying control;
Corresponding entrance is shown in the page according to its page entry data by the entrance displaying control.
Optionally, the page area data in the page presentation data are added to several by the first container
When in the second container, the processor is prompted to:
For every page area data in the page presentation data, the first container is successively by the page pool
Numeric field data is added in an empty second container;
The quantity of the second container is equal to the item number of page area data described in the page presentation data.
Optionally, the page entry data in the page area data are added to several by the second container
When in the entrance displaying control, the processor is prompted to:
For every page entry data in the page area data, the second container successively enters the page
Mouth data are added in an empty entrance displaying control;
The quantity of the entrance displaying control is equal to the item number of page entry data in the page area data.
Optionally, the page presentation data are JSON arrays.
Optionally, the page entry data include title, suffix, jump address, the presentation parameter of corresponding entrance.
Corresponding with the embodiment of methods of exhibiting of the aforementioned Android page, this specification also provides a kind of computer can
Storage medium is read, is stored with computer program on the computer readable storage medium, realization when which is executed by processor
Following steps:
The page presentation data that server-side issues are added in the first container, include in the page presentation data
There are several page area data, includes several page entry data in every page area data;
The first container by the page area data in the page presentation data be added to several described
In two containers;
The page entry data in the page area data are added to described in several by the second container
In mouth displaying control;
The entrance displaying control shows corresponding entrance according to its page entry data in the page.
Optionally, the page area data in the page presentation data are added to several by the first container
In the second container, comprising:
For every page area data in the page presentation data, the first container is successively by the page pool
Numeric field data is added in an empty second container;
The quantity of the second container is equal to the item number of page area data described in the page presentation data.
Optionally, the page entry data in the page area data are added to several by the second container
In the entrance displaying control, comprising:
For every page entry data in the page area data, the second container successively enters the page
Mouth data are added in an empty entrance displaying control;
The quantity of the entrance displaying control is equal to the item number of page entry data in the page area data.
Optionally, the page presentation data are JSON arrays.
Optionally, the page entry data include title, suffix, jump address, the presentation parameter of corresponding entrance.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specification
Within the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protection
Within enclosing.