CN106021431A - Page display method and device - Google Patents
Page display method and device Download PDFInfo
- Publication number
- CN106021431A CN106021431A CN201610321309.XA CN201610321309A CN106021431A CN 106021431 A CN106021431 A CN 106021431A CN 201610321309 A CN201610321309 A CN 201610321309A CN 106021431 A CN106021431 A CN 106021431A
- Authority
- CN
- China
- Prior art keywords
- page
- information
- record
- list
- file
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a page display method and device. The embodiment of the invention comprises the following steps: adopting an information acquisition request sent from a receiving terminal, wherein the information acquisition request carries user identity identification; then, according to the information acquisition request, obtaining historical record information corresponding to the user identity identification; according to a preset page template and the historical record information, generating a corresponding record page document; rendering the record page document to obtain a record page; and sending the record page to the terminal to display the record page by the terminal. The scheme can improve record page display speed.
Description
Technical field
The present invention relates to communication technical field, be specifically related to a kind of page display method and device.
Background technology
Enterprise's office IM (such as enterprise's wechat etc.) is the field that following industry is given priority to, and solves enterprise
The key problem of difficulty and synergetic office work is linked up in office.Using the process of office IM, often in some field
The history information of certain user is obtained under scape.Such as, examination & approval of asking for leave are requisite in office application
Link, when operating application of asking for leave, approver wants that the history recognizing applicant asks false entry
Information, as understood, " applicant is the most false?" " the vacation when asked?" " history is asked for leave several days " etc.
Deng.
Different demands and lifting in order to meet different enterprise customer are experienced, and prior art provides history
The scheme of record information inspection.In the prior art, the scheme that history information is checked is particularly as follows: pass through
Terminal sends record to background server and obtains request, and background server obtains request according to this record and returns phase
The history information (record information of asking for leave such as history etc.) answered gives this terminal, and then, this terminal is to history
Record information carries out processing (such as parsing and form conversion etc.), and to the historical record letter after processing
Breath renders and is recorded the page accordingly, and shows this record page, to realize checking history information.
To in the research of prior art and practice process, it was found by the inventors of the present invention that when historical record is believed
When ceasing more, owing to the process of terminal can be smaller, speed that history information is processed by terminal and
The speed rendering information is slow, therefore, the speed ratio recording page presentation can be caused relatively low.
Summary of the invention
The embodiment of the present invention provides a kind of page display method and device, can improve the displaying speed of the record page
Degree.
The embodiment of the present invention provides a kind of page display method, including:
Receiving the information acquisition request that terminal sends, described information acquisition request carries User Identity;
The history information that described User Identity is corresponding is obtained according to information acquisition request;
Generate according to default Page Template and described history information and record pagefile accordingly;
Described record pagefile is rendered, to obtain recording the page, and sends to described terminal described
The record page, so that recording the page described in described terminal display.
Accordingly, the embodiment of the present invention also provides for a kind of page presentation device, including:
Receiving unit, for receiving the information acquisition request that terminal sends, described information acquisition request carries use
Family identity;
Acquiring unit, for obtaining, according to information acquisition request, the historical record that described User Identity is corresponding
Information;
Signal generating unit, for according to presetting Page Template and the described history information corresponding record of generation
Pagefile;
Rendering unit, for rendering described record pagefile, to obtain recording the page, and to institute
State terminal and send the described record page, so that recording the page described in described terminal display.
The embodiment of the present invention uses and receives the information acquisition request that terminal sends, wherein, this information acquisition request
Carry User Identity, then, obtain, according to information acquisition request, the history that this User Identity is corresponding
Record information, generates according to default Page Template and this history information and records pagefile accordingly,
This record pagefile is rendered, to obtain recording the page, and sends this record page to this terminal,
So that this record page of this terminal display;Owing to the program can be enterprising at the server that disposal ability is stronger
Row information processing and render and recorded the page accordingly, such terminal is no need for entering history information
Row processes (such as parsing and formatting etc.), without information is rendered, and the record that only server need to be sent
Page presentation, accordingly, with respect in prior art, can improve the speed of record page presentation.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those skilled in the art, on the premise of not paying creative work, also
Other accompanying drawing can be obtained according to these accompanying drawings.
Fig. 1 a is the flow chart of the page display method that the embodiment of the present invention one provides;
Fig. 1 b be the embodiment of the present invention one provide one ask for leave record page schematic diagram;
The flow chart of a kind of page display method that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of a kind of page presentation device that Fig. 3 a provides for the embodiment of the present invention three;
The structural representation of the another kind of page presentation device that Fig. 3 b provides for the embodiment of the present invention three.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not making creative labor
The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of page display method and device.To be described in detail respectively below.
Embodiment one,
The present embodiment will be described from the angle of page presentation device, and this page device specifically can be integrated in
In the network equipments such as server, this server can be an independent entity, it is also possible to include multiple entity.
A kind of page display method, including: receive the information acquisition request that terminal sends, wherein, this information
User Identity is carried in acquisition request, then, obtains this User Identity pair according to information acquisition request
The history information answered, generates corresponding record page according to default Page Template and this history information
Face file, renders this record pagefile, to obtain recording the page, and sends this note to this terminal
The record page, so that this record page of this terminal display.
As shown in Figure 1a, the flow chart of this page display method specifically can be such that
101, receiving the information acquisition request that terminal sends, wherein, this information acquisition request carries user's body
Part mark.
Specifically, server (such as instant communication server) can receive, by network, the information that terminal sends
Obtain request.
Wherein, User Identity can be address name, user identity card number, user account (IMU
News account), user's job number etc..
102, obtain, according to information acquisition request, the history information that this User Identity is corresponding.
In the present embodiment, history information is the record information before current time, such as, can be to go through
History is asked for leave record information, history chat record information, history payment record information, historical viewings record information
Etc..Wherein, history ask for leave record information may include that type of asking for leave, ask for leave the time (beginning of such as asking for leave,
End time, duration of asking for leave, initiation time asked for leave etc.), approval results (by or refusal) etc.
Deng
Specifically, step " obtains, according to information acquisition request, the historical record letter that this User Identity is corresponding
Breath " may include that
According to this User Identity at the locally stored corresponding history information of middle lookup.
In actual applications, a data base can be set on the server, be used for storing User Identity
And the history information of correspondence, now, after receiving information acquisition request, can ask according to this
Seek the history information that lookup is corresponding with this User Identity in data base.
103, pagefile is recorded accordingly according to default Page Template and the generation of this history information.
For making terminal can show the intelligible history information of domestic consumer, current embodiment require that going through
Records of the Historian record information formats process, namely step " is believed according to default Page Template and this historical record
Breath generates and records pagefile accordingly " may include that
This history information is converted into the history information of preset format;
History information according to default Page Template and this preset format generates and records the page accordingly
File.
Specifically, history information can be resolved, the most again to the source historical record letter after resolving
Breath carries out form conversion, namely this history information " is converted into the historical record letter of preset format by step
Breath " may include that
This history information is resolved, to obtain source history information;
This source history information is converted into the history information of preset format.
Wherein, preset format can be webpage format, such as, can be html (HTML)
Form etc..
Such as, when obtaining the history information of JSON form according to information acquisition request, can be by
The history information of JSON form resolves, and to obtain source history information, then, member is gone through
Records of the Historian record information is converted into the history information of html form.
In actual applications, by Node (node) layer of server, history information can be entered
Row resolves and form conversion, by template engine according to default Page Template and the history of this preset format
Record information generates and records pagefile accordingly.
In the present embodiment, default Page Template can be web page template, which specify the sample that Webpage is shown
This, e.g., other displaying patterns such as character format, paragraph format, page formatting, this default Page Template can
To formulate according to the actual requirements.
In the present embodiment, record pagefile can be a web page files, and it can include content of pages literary composition
The page sample file of part and correspondence thereof, this content of pages file includes: page elements, such as, word,
The page elements such as picture, form, sound, program, this page sample file includes the sample that page elements is corresponding
Formula information (such as, font, color, size, specially good effect etc.), wherein page elements can be html lattice
The page elements of formula.
Alternatively, for meeting the personal page demand of user, the present embodiment can be first according to User Identity
Before determining corresponding default Page Template, namely step 102 and 103, it is also possible to including:
Corresponding default Page Template is determined according to this User Identity.
Such as, can arrange mapping relations set the most in the server, this mapping relations set includes user
Mapping relations (corresponding relation) between identity and default Page Template, at this point it is possible to based on mapping
Page Template is preset in the incompatible acquisition of set of relations accordingly, namely step " determines phase according to this User Identity
The default Page Template answered " may include that and determine this use according to mapping relations set and this User Identity
The default Page Template that family identity is corresponding.
Wherein, the form of expression of this mapping relations set has multiple, can be such as tabular form, now reflect
Penetrating set of relationship and i.e. can be described as mapping relations list, wherein, this list can include multiple list item, this list item
Represent the mapping relations between User Identity and default Page Template.
104, this record pagefile is rendered, to obtain recording the page, and should to the transmission of this terminal
The record page, so that this record page of this terminal display.
During being embodied as, by the template engine in server, record pagefile can be carried out
Render.
Such as, include recording pagefile: during the style sheet file of content of pages file and correspondence thereof,
This record pagefile " is rendered " and may include that by step
According to this style sheet file, this content of pages file is rendered.
Alternatively, for reducing picture request when rendering, the present embodiment can use CSS (CSS)
Record pagefile is rendered, such as uses CSS3 to render;Owing to CSS can be to the position of the object in webpage
Put typesetting and carry out the accurate control of Pixel-level, support nearly all pattern (such as all of font size pattern etc.)
Have web object and the ability of model pattern editor, therefore, use CSS language establishment pattern file,
When rendering without asking pattern picture or less request pattern picture, thus pattern picture can be reduced
Request, namely in the present embodiment, page sample file can be the page sample file of CSS form, such as may be used
Think the page sample file of CSS3 form.
Specifically, before step 101, the present embodiment method can also include:
Preset according to cascading style sheet language and Page Template configuration information generation layer stacking style table language format
Page Template;Now, " render this content of pages file according to this style sheet file " can for step
To include: according to the style sheet file of this cascading style sheet language form, this content of pages is rendered.
Owing to CSS3 has the strongest autgmentability, when needs adjust Page Template, only template need to will be changed
In CSS3 configuration information;Additionally use CSS3 to render and can also simplify unwanted DOM node,
It is separated from each other independence with display sample file with content file, points out rendering speed.
Alternatively, in the present embodiment, content of pages file may include that contents list, and this contents list includes
List secant between contents in table, this contents in table and list frame;This style sheet file includes:
Divider style information that list item style information that this contents in table is corresponding, this list cut-off rule are corresponding and should
The Graphicxtras Frames Collection information that list frame is corresponding;Now, step is " according to this style sheet file in this page
Hold file to render " may include that
According to this Graphicxtras Frames Collection information, this list frame is rendered;
According to this list item style information, this contents in table is rendered;
According to this divider style information, this list cut-off rule is rendered.
Such as, when history information is that history is asked for leave record information, contents list for ask for leave record list time,
According to the style information that list is corresponding, this list of asking for leave can be rendered, with obtain as shown in Figure 1 b please
The false entry page, this record page of asking for leave shows the history of user " meterscao " and asks for leave record information.
Showing demand for meeting the pixel of different screen resolutions, promote page display effect, the present embodiment can
With when rendering list frame and/or list cut-off rule, live width is carried out by screen resolution based on terminal
Adjust, such as, to reducing or live width can be amplified;Namely include in Graphicxtras Frames Collection information: this list limit
During the live width of frame, this list frame " is rendered according to this Graphicxtras Frames Collection information " and may include that by step
The live width of this list frame is adjusted by the screen resolution according to this terminal;
According to this Graphicxtras Frames Collection information, this list frame is rendered.
In the present embodiment, Graphicxtras Frames Collection information can also include: color, shape etc..
Specifically, can obtain according to screen resolution and adjust ratio (such as scaling) accordingly, then,
According to this adjustment ratio, the live width of this list frame is adjusted.
Such as, when in frame sample information, the live width of list frame is a, it is assumed that the screen resolution ratio of terminal
Time higher, can i.e. reduce 50 percent to being 0.5a by the line width adjustment of list frame.
Equally, include in this divider style information: during the live width of this list cut-off rule, step is " according to this
This list cut-off rule is rendered by divider style information " may include that
The live width of this list cut-off rule is adjusted by the screen resolution according to this terminal;
According to this divider style information, this list cut-off rule is rendered.
In the present embodiment, divider style information can also include: color, shape etc..
Specifically, can obtain according to screen resolution and adjust ratio (such as scaling) accordingly, then,
Being adjusted the live width of this list cut-off rule according to this adjustment ratio, wherein, the ratio that adjusts can be according to dividing
Resolution is arranged.
Such as, when in cut-off rule sample information, the live width of list segmentation is b, it is assumed that the screen resolution of terminal
Time relatively higher, can be to being 0.3b by the line width adjustment of list cut-off rule.
From the foregoing, it will be observed that the embodiment of the present invention uses receives the information acquisition request that terminal sends, wherein, this letter
User Identity is carried in breath acquisition request, then, obtains this User Identity according to information acquisition request
Corresponding history information, generates corresponding record according to default Page Template and this history information
Pagefile, renders this record pagefile, to obtain recording the page, and should to the transmission of this terminal
The record page, so that this record page of this terminal display;Owing to the program can be stronger in disposal ability
Carrying out information processing on server and render and recorded the page accordingly, such terminal is no need for history
Record information carries out processing (such as parsing and formatting etc.), without information is rendered, and only need to be by server
The record page presentation sent, accordingly, with respect in prior art, can improve record page presentation
Speed.
Additionally, the embodiment of the present invention can also use CSS to render pagefile, it is possible to reduce render
During picture request, improve rendering speed.
Embodiment two,
According to the method described by embodiment one, below citing is described in further detail.
In the present embodiment, server, and history information will be specifically integrated in this page presentation device
Ask for leave for history and illustrate as a example by record information.
Wherein, this server is web page server, message server or other kinds of server.
As in figure 2 it is shown, the idiographic flow of this page display method is as follows:
201, terminal to server sends record of asking for leave and obtains request, and use is carried in this record acquisition request of asking for leave
Family identity.
Such as, terminal is triggered by browser and generates a record acquisition request of asking for leave, and by before terminal
Hold to this server send this ask for leave please record acquisition request.
In the present embodiment, User Identity can be address name, IM account etc..
202, server is asked for leave note according to this record history corresponding to this User Identity of acquisition request of asking for leave
Record information.
The reddest, history ask for leave record information may include that type of asking for leave, time of asking for leave, ask for leave examination & approval knot
Fruit etc..
203, server record information of this history being asked for leave is converted into the history of webpage format and asks for leave record information.
Such as, server is converted into html form by Node layer record information of the history of json form being asked for leave
History ask for leave record information.
204, server according to preset web template and history ask for leave record information generate ask false entry accordingly
Web page files, this record web page files of asking for leave may include that webpage pattern file and web content file.
In being embodied as, server can be asked for leave note according to preset web template and history by template engine
Record information generates record web page files of asking for leave accordingly.
Wherein, web content file can include web page element, such as word, picture, program etc.;Webpage
Sample file is used for indicating the displaying pattern of web page element, the such as color of web page element displaying, size etc..
Alternatively, in order to reduce picture request and improve rendering speed, preset web template in the present embodiment
The web page template worked out by CSS3, now, webpage sample file can be the webpage pattern literary composition of CSS3 form
Part.
205, this web content file is rendered, to be asked by server according to this webpage pattern file
False entry webpage, and this record webpage of asking for leave is sent to terminal.
In being embodied as, web content file can be rendered by server by template engine.
Specifically, this web content file can be entered by server according to the webpage pattern file of CSS3 form
Row renders, to obtain record webpage of asking for leave.
Alternatively, in order to simplify the page, promoting rendering speed, this web content file may include that list,
Now, webpage pattern file may include that the list style information that list is corresponding, and this list style information can
To include: list divider style information, list Graphicxtras Frames Collection information, list entry style information, i.e. arrange
The style information of table content;Now, " server is civilian to this web page contents according to this webpage pattern file for step
Part renders " may include that
According to this list Graphicxtras Frames Collection information, this list frame is rendered;
According to this list entry style information, this contents in table is rendered;
According to this list divider style information, this list cut-off rule is rendered.
Alternatively, show demand to meet the pixel of different screen resolutions, promote page display effect,
The present embodiment can be when rendering list frame and/or list cut-off rule, screen resolution based on terminal
Live width is adjusted;Such as, include in Graphicxtras Frames Collection information: during the live width of this list frame, Ke Yigen
According to the screen resolution of this terminal, the live width of this list frame is adjusted, then, further according to list frame
This list frame is rendered by style information;The most such as, this list divider style information includes: these row
During the live width of table cut-off rule, according to the screen resolution of this terminal, the live width of this list cut-off rule can be carried out
Adjust, then, according to this list divider style information, this list cut-off rule is rendered.
Such as, to record list cut-off rule, ask for leave state box time, use CSS3 puppet class add content with
Time border carried out 0.5 scaling, vision reduction has ensured that sideline will not obscure, has improved display effect
Really.
206, this record webpage of asking for leave of terminal demonstration.
Such as, terminal passes through this record page of asking for leave of browser display.
The present embodiment record webpage of asking for leave includes that the history that User Identity is corresponding is asked for leave record information.
From the foregoing, it will be observed that the embodiment of the present invention uses server to receive the record acquisition request of asking for leave that terminal sends,
Wherein, User Identity is carried in this request, and then, server is according to this user identity mark of this acquisition request
Knowing corresponding history to ask for leave record information, server is asked for leave to record according to default Page Template and this history and is believed
Breath generates record pagefile of asking for leave accordingly, and this record pagefile of asking for leave is rendered by server, with
Obtain recording the page, and send this record page to this terminal, this record page of this terminal display;Due to this
Scheme can carry out information processing on the server that disposal ability is stronger and render and obtain corresponding record
The page, such terminal is no need for processing history information (as resolved and formatting etc.), also without
Need to render information, the record page presentation that only need to be sent by server, accordingly, with respect to existing skill
In art, the speed of record page presentation can be improved.
Additionally, the embodiment of the present invention can also use CSS to render pagefile, it is possible to reduce render
During picture request, improve rendering speed.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention also provides for a kind of page presentation device, such as figure
Shown in 3a, this page presentation device includes receiving unit 301, acquiring unit 302, signal generating unit 303 and wash with watercolours
Dye unit 304, as follows:
(1) unit 301 is received;
Receiving unit 301, for receiving the information acquisition request that terminal sends, this information acquisition request is carried
User Identity.
(2) acquiring unit 302;
Acquiring unit 302, for obtaining, according to information acquisition request, the history note that this User Identity is corresponding
Record information.
Such as, acquiring unit 302, can be from historical record corresponding to locally stored middle lookup User Identity
Information.
Wherein, history information can be multiple, can be such as that history is asked for leave record information, historical viewings
Record etc..
(3) signal generating unit 303;
Signal generating unit 303, for according to presetting Page Template and the corresponding note of this history information generation
Record pagefile.
Such as, signal generating unit 303 specifically includes: conversion subelement and generation subelement;
This conversion subelement, for being converted into the history information of preset format by this history information;
This generation subelement, for raw according to the history information presetting Page Template and this preset format
Become to record pagefile accordingly.
Wherein, changing subelement, source history note can be obtained specifically for history information being carried out parsing
Record information, then, is converted into the history information of preset format by source history information.
(4) rendering unit 303;
Rendering unit 303, for this record pagefile is rendered, to obtain recording the page, and to
This terminal sends this record page, so that this record page of this terminal display.
Such as, this record pagefile includes: the style sheet file of content of pages file and correspondence thereof;Should
Rendering unit includes: renders subelement and sends subelement;
This renders subelement, for this content of pages file being rendered according to this style sheet file, with
Obtain recording the page;
This transmission subelement, for sending this record page to this terminal, so that this record of this terminal display
The page.
Alternatively, in the present embodiment, style sheet file can be the style sheet of cascading style sheet language form
File, now, with reference to Fig. 3 b, the present embodiment page presentation device can also include: template generation unit 305;
This template generation unit 305, for receiving, at this reception unit 301, the information acquisition request that terminal sends
Before, pre-according to cascading style sheet language and Page Template configuration information generation layer stacking style table language format
If Page Template;
In the case of this, this renders subelement, specifically for the page sample according to this cascading style sheet language form
This content of pages is rendered by formula file.
Alternatively, this content of pages file includes: contents list, and this contents list includes contents in table, is somebody's turn to do
List secant between contents in table and list frame;This style sheet file includes: this contents in table pair
Divider style information and this list frame that the list item style information answered, this list cut-off rule are corresponding are corresponding
Graphicxtras Frames Collection information;
This renders subelement, specifically for:
According to this Graphicxtras Frames Collection information, this list frame is rendered;
According to this list item style information, this contents in table is rendered;
According to this divider style information, this list cut-off rule is rendered.
Alternatively, in order to meet the pixel display demand of different screen resolutions, promote page display effect;
Meet the pixel display demand of different screen resolutions, promote page display effect;Namely believe at Graphicxtras Frames Collection
Breath includes: during the live width of this list frame, this list frame " is carried out by step according to this Graphicxtras Frames Collection information
Render " may include that
The live width of this list frame is adjusted by the screen resolution according to this terminal;
According to this Graphicxtras Frames Collection information, this list frame is rendered.
Namely include in Graphicxtras Frames Collection information: during the live width of this list frame, step is " according to this Graphicxtras Frames Collection
This list frame is rendered by information " may include that
The live width of this list frame is adjusted by the screen resolution according to this terminal;
According to this Graphicxtras Frames Collection information, this list frame is rendered.
When being embodied as, above unit can realize as independent entity, it is also possible to carries out arbitrarily
Combination, realizes as same or several entities, and being embodied as of above unit can be found in above
Embodiment of the method, does not repeats them here.
This authentication means specifically can be integrated in the network equipments such as server, and this server can be one
Individual independent entity, it is also possible to include multiple entity.
From the foregoing, it will be observed that the page presentation device of the present embodiment uses reception unit 301 to receive the letter that terminal sends
Breath obtains request, and wherein, this information acquisition request carries User Identity, then, by acquiring unit 302
The history information that this User Identity is corresponding is obtained, by production unit 303 according to information acquisition request
Generate according to default Page Template and this history information and record pagefile accordingly, by rendering unit
304 pairs of these record pagefiles render, and to obtain recording the page, and send this record page to this terminal
Face, so that this record page of this terminal display;Owing to the program can be at the stronger server of disposal ability
On carry out information processing and render and recorded the page accordingly, such terminal is no need for believing historical record
Breath carries out processing (such as parsing and formatting etc.), without rendering information, only need to be sent by server
Record page presentation, accordingly, with respect in prior art, can improve the speed of record page presentation..
Additionally, the embodiment of the present invention can also use CSS to render pagefile, it is possible to reduce render
During picture request, improve rendering speed.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment
Suddenly the program that can be by completes to instruct relevant hardware, and this program can be stored in a computer-readable
In storage medium, storage medium may include that read only memory (ROM, Read Only Memory),
Random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of page display method provided the embodiment of the present invention above and device are described in detail,
Principle and the embodiment of the present invention are set forth by specific case used herein, above example
Method and the core concept thereof being only intended to help to understand the present invention is described;Technology simultaneously for this area
Personnel, according to the thought of the present invention, the most all will change, and combine
Upper described, this specification content should not be construed as limitation of the present invention.
Claims (12)
1. a page display method, it is characterised in that including:
Receiving the information acquisition request that terminal sends, described information acquisition request carries User Identity;
The history information that described User Identity is corresponding is obtained according to information acquisition request;
Generate according to default Page Template and described history information and record pagefile accordingly;
Described record pagefile is rendered, to obtain recording the page, and sends to described terminal described
The record page, so that recording the page described in described terminal display.
2. page display method as claimed in claim 1, it is characterised in that described basis presets page mould
Plate and described record information generate the step of corresponding record pagefile and specifically include:
Described history information is converted into the history information of preset format;
History information according to default Page Template and described preset format generates corresponding record page
Face file.
3. page display method as claimed in claim 1, it is characterised in that described record pagefile bag
Include: the style sheet file of content of pages file and correspondence thereof;
The described step rendering described record pagefile specifically includes:
According to described style sheet file, described content of pages file is rendered.
4. page display method as claimed in claim 3, it is characterised in that receiving the letter that terminal sends
Before breath obtains request, described page display method also includes:
Pre-according to cascading style sheet language and Page Template configuration information generation layer stacking style table language format
If Page Template;Wherein, described style sheet file is the style sheet file of cascading style sheet language form;
The described step rendered described content of pages file according to described style sheet file is specifically wrapped
Include: according to the style sheet file of described cascading style sheet language form, described content of pages is rendered.
5. page display method as claimed in claim 3, it is characterised in that described content of pages file bag
Include: contents list, described contents list include list secant between contents in table, described contents in table with
And list frame;Described style sheet file includes: list item style information that described contents in table is corresponding, institute
State divider style information corresponding to list cut-off rule and Graphicxtras Frames Collection information corresponding to described list frame;
The described step rendered described content of pages file according to described style sheet file is specifically wrapped
Include:
According to described Graphicxtras Frames Collection information, described list frame is rendered;
According to described list item style information, described contents in table is rendered;
According to described divider style information, described list cut-off rule is rendered.
6. page display method as claimed in claim 5, it is characterised in that described Graphicxtras Frames Collection information bag
Include: the live width of described list frame;Described according to described Graphicxtras Frames Collection information, described list frame is carried out wash with watercolours
The step of dye specifically includes:
The live width of described list frame is adjusted by the screen resolution according to described terminal;
According to described Graphicxtras Frames Collection information, described list frame is rendered.
7. the page display method as described in claim 5 or 6, it is characterised in that described divider style
Information includes: the live width of described list cut-off rule;Described according to described divider style information to described list
The step that cut-off rule carries out rendering specifically includes:
The live width of described list cut-off rule is adjusted by the screen resolution according to described terminal;
According to described divider style information, described list cut-off rule is rendered.
8. a page presentation device, it is characterised in that including:
Receiving unit, for receiving the information acquisition request that terminal sends, described information acquisition request carries use
Family identity;
Acquiring unit, for obtaining, according to information acquisition request, the historical record that described User Identity is corresponding
Information;
Signal generating unit, for according to presetting Page Template and the described history information corresponding record of generation
Pagefile;
Rendering unit, for rendering described record pagefile, to obtain recording the page, and to institute
State terminal and send the described record page, so that recording the page described in described terminal display.
9. page presentation device as claimed in claim 8, it is characterised in that described signal generating unit is specifically wrapped
Include: conversion subelement and generation subelement;
Described conversion subelement, for being converted into the historical record letter of preset format by described history information
Breath;
Described generation subelement, for according to the historical record letter presetting Page Template and described preset format
Breath generates and records pagefile accordingly.
10. page presentation device as claimed in claim 8, it is characterised in that described record pagefile
Including: the style sheet file of content of pages file and correspondence thereof;Described rendering unit includes: render son single
Unit and transmission subelement;
Described render subelement, for described content of pages file being carried out wash with watercolours according to described style sheet file
Dye, to obtain recording the page;
Described transmission subelement, for sending the described record page to described terminal, so that described terminal exhibition
Show the described record page.
11. page presentation devices as claimed in claim 10, it is characterised in that described style sheet file
For the style sheet file of cascading style sheet language form, described page device also includes: template generation unit;
Described template generation unit, for described reception unit receive terminal send information acquisition request it
Before, presetting according to cascading style sheet language and Page Template configuration information generation layer stacking style table language format
Page Template;
Described render subelement, specifically for the style sheet file according to described cascading style sheet language form
Described content of pages is rendered.
12. page presentation devices as claimed in claim 10, it is characterised in that described content of pages file
Including: contents list, described contents list includes the list secant between contents in table, described contents in table
And list frame;Described style sheet file includes: list item style information that described contents in table is corresponding,
Divider style information that described list cut-off rule is corresponding and Graphicxtras Frames Collection letter corresponding to described list frame
Breath;
Described render subelement, specifically for:
According to described Graphicxtras Frames Collection information, described list frame is rendered;
According to described list item style information, described contents in table is rendered;
According to described divider style information, described list cut-off rule is rendered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610321309.XA CN106021431A (en) | 2016-05-12 | 2016-05-12 | Page display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610321309.XA CN106021431A (en) | 2016-05-12 | 2016-05-12 | Page display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106021431A true CN106021431A (en) | 2016-10-12 |
Family
ID=57097905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610321309.XA Pending CN106021431A (en) | 2016-05-12 | 2016-05-12 | Page display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106021431A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829885A (en) * | 2018-06-27 | 2018-11-16 | 珠海市君天电子科技有限公司 | Page generation method, device, server, electronic equipment and storage medium |
CN109117230A (en) * | 2018-08-14 | 2019-01-01 | 福建网龙计算机网络信息技术有限公司 | The 1 pixel frame display methods based on retina screen, storage medium |
CN109492182A (en) * | 2018-11-05 | 2019-03-19 | 珠海格力电器股份有限公司 | Page generation method, device, page display system and storage medium |
CN109558187A (en) * | 2017-09-27 | 2019-04-02 | 阿里巴巴集团控股有限公司 | A kind of user interface rendering method and device |
CN110825600A (en) * | 2019-10-28 | 2020-02-21 | 北京城市网邻信息技术有限公司 | Page information processing method, server and page display device |
CN112306972A (en) * | 2020-11-02 | 2021-02-02 | 西安博康硕达网络科技有限公司 | File generation method and device based on cloud storage |
CN113687889A (en) * | 2021-07-08 | 2021-11-23 | 北京房江湖科技有限公司 | List page display method and system, computer program product and storage medium |
CN114866359A (en) * | 2022-07-07 | 2022-08-05 | 深圳市泽维电子科技有限公司 | Information unloading processing method, system, terminal and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060085420A1 (en) * | 2004-09-27 | 2006-04-20 | Symphoniq Corp. | Method and apparatus for monitoring real users experience with a website |
CN101645090A (en) * | 2009-08-04 | 2010-02-10 | 成都市华为赛门铁克科技有限公司 | Page display method, server and network system |
CN102446207A (en) * | 2011-09-01 | 2012-05-09 | 百度在线网络技术(北京)有限公司 | Method, device, equipment and system for acquiring and presenting display information |
CN102799636A (en) * | 2012-06-26 | 2012-11-28 | 北京奇虎科技有限公司 | Method and system for displaying webpage by mobile terminal |
US8515931B1 (en) * | 2010-09-21 | 2013-08-20 | A9.Com, Inc. | Techniques for search optimization |
CN103546498A (en) * | 2012-07-09 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Method and equipment for providing access webpage for mobile terminal |
CN104615776A (en) * | 2015-02-27 | 2015-05-13 | 北京奇艺世纪科技有限公司 | Method and device for providing information to be displayed |
-
2016
- 2016-05-12 CN CN201610321309.XA patent/CN106021431A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060085420A1 (en) * | 2004-09-27 | 2006-04-20 | Symphoniq Corp. | Method and apparatus for monitoring real users experience with a website |
CN101645090A (en) * | 2009-08-04 | 2010-02-10 | 成都市华为赛门铁克科技有限公司 | Page display method, server and network system |
US8515931B1 (en) * | 2010-09-21 | 2013-08-20 | A9.Com, Inc. | Techniques for search optimization |
CN102446207A (en) * | 2011-09-01 | 2012-05-09 | 百度在线网络技术(北京)有限公司 | Method, device, equipment and system for acquiring and presenting display information |
CN102799636A (en) * | 2012-06-26 | 2012-11-28 | 北京奇虎科技有限公司 | Method and system for displaying webpage by mobile terminal |
CN103546498A (en) * | 2012-07-09 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Method and equipment for providing access webpage for mobile terminal |
CN104615776A (en) * | 2015-02-27 | 2015-05-13 | 北京奇艺世纪科技有限公司 | Method and device for providing information to be displayed |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558187A (en) * | 2017-09-27 | 2019-04-02 | 阿里巴巴集团控股有限公司 | A kind of user interface rendering method and device |
CN108829885A (en) * | 2018-06-27 | 2018-11-16 | 珠海市君天电子科技有限公司 | Page generation method, device, server, electronic equipment and storage medium |
CN109117230A (en) * | 2018-08-14 | 2019-01-01 | 福建网龙计算机网络信息技术有限公司 | The 1 pixel frame display methods based on retina screen, storage medium |
CN109492182A (en) * | 2018-11-05 | 2019-03-19 | 珠海格力电器股份有限公司 | Page generation method, device, page display system and storage medium |
CN109492182B (en) * | 2018-11-05 | 2020-11-03 | 珠海格力电器股份有限公司 | Page generation method and device, page display system and storage medium |
CN110825600A (en) * | 2019-10-28 | 2020-02-21 | 北京城市网邻信息技术有限公司 | Page information processing method, server and page display device |
CN110825600B (en) * | 2019-10-28 | 2023-04-11 | 北京城市网邻信息技术有限公司 | Page information processing method, server and page display device |
CN112306972A (en) * | 2020-11-02 | 2021-02-02 | 西安博康硕达网络科技有限公司 | File generation method and device based on cloud storage |
CN113687889A (en) * | 2021-07-08 | 2021-11-23 | 北京房江湖科技有限公司 | List page display method and system, computer program product and storage medium |
CN114866359A (en) * | 2022-07-07 | 2022-08-05 | 深圳市泽维电子科技有限公司 | Information unloading processing method, system, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106021431A (en) | Page display method and device | |
CN107809492B (en) | Method and system for generating shared information | |
US5805153A (en) | Method and system for resizing the subtitles of a video | |
CN107885848B (en) | Webpage screen capturing method based on web technology | |
US7050192B2 (en) | Network printer for printing edited contents on a network and method for printing contents on the network | |
JP3890241B2 (en) | Information processing system and information processing method | |
DE212011100021U1 (en) | Apparatus for displaying or remastering text and images for display on mobile / small screen devices | |
WO2016015564A1 (en) | Method and apparatus for displaying document | |
US9754350B2 (en) | Systems and methods of automatic image sizing | |
CN109683978B (en) | Stream type layout interface rendering method and device and electronic equipment | |
US7880752B2 (en) | Method and apparatus for proportionally adjusting the size of images transmitted between mobile communications terminals | |
CN110598140A (en) | Page adjusting method and device and server | |
DE10296963T5 (en) | Method and system for creating / updating a website | |
CN104156251A (en) | Picture processing method and device | |
US20070101262A1 (en) | Data transformation from content data for viewing content in network environment into data for printing the same on consecutive pages | |
CN111324836A (en) | Page processing method and device, computer equipment and storage medium | |
CN107678636A (en) | The webpage representation method and apparatus of electronic equipment | |
CN105389308B (en) | Webpage display processing method and device | |
JP2002049558A5 (en) | ||
CN106547792B (en) | Picture sharing method and device | |
CN102637159B (en) | Document display method and device | |
CN104639969A (en) | Full screen page display method and device | |
CN114168091A (en) | Screen projection method, device, equipment and storage medium | |
CN110928504B (en) | Printing method and device based on page elements | |
US20160301827A1 (en) | Image processing apparatus and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161012 |