CN108614834A - A kind of page generation method and device - Google Patents

A kind of page generation method and device Download PDF

Info

Publication number
CN108614834A
CN108614834A CN201611145213.9A CN201611145213A CN108614834A CN 108614834 A CN108614834 A CN 108614834A CN 201611145213 A CN201611145213 A CN 201611145213A CN 108614834 A CN108614834 A CN 108614834A
Authority
CN
China
Prior art keywords
page
screening
client
information
sieve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611145213.9A
Other languages
Chinese (zh)
Other versions
CN108614834B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201611145213.9A priority Critical patent/CN108614834B/en
Publication of CN108614834A publication Critical patent/CN108614834A/en
Application granted granted Critical
Publication of CN108614834B publication Critical patent/CN108614834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of page generation method of the application offer and device, to solve the problems, such as that the sieve option information of client can not timely update, page generation method provided by the present application includes:Server-side receives the page request that client is sent, wherein including first page identification information;The version information of client is obtained, and judges whether more new version corresponding with the version information of client;If in the presence of judging to compare the client release, whether the screening item structured data for corresponding to the first page identification information in the more new version updates;If updating, the first page information for carrying updated screening item structured data is sent to client, so that client is based on the first page information, generates the first page for including updated sieve option information.In this way, when client release does not update, the embodiment of the present application can still make client show the sieve option information in more new version, to realize the effect of new and old edition compatibility.

Description

A kind of page generation method and device
Technical field
This application involves Internet technical field more particularly to a kind of page generation methods and device.
Background technology
Terminal device enter product or information on services searched page (for example can be homepage using app clients, Can be in the page returned after initiating screening request) after, many sieve options for user usually can all be presented and select, such as Hotel's searched page, user can select to screen by subway station, wherein each subway station that can be screened for is a screening item. After user selects screening item, search result is returned to according to the screening item by server-side, for example, the subway station that user selects is Beijing It stands, then can be hotel information of user's return near Beijing Station.
Currently, since sieve Option Field is preset at client, if necessary to increase screening item in client, then need Publication new version could be realized.It causes a problem in that in this way:User can not see newly-increased screening in the client of legacy version , and increase, reduce or change screening item all underactions every time.
As it can be seen that the sieve option information of client can not often timely update, with the continuous renewal iteration of product, how It allows user in the case where not updating client release, quickly experiences new function of search, become and be badly in need of asking for solution at present Topic.
Invention content
A kind of page generation method of the embodiment of the present application offer and device, the sieve option information to solve client can not The problem of timely updating.
The embodiment of the present application provides a kind of page generation method, including:
Server-side receives the page request that client is sent, and includes first page identification information in the page request;
Obtain the version information of the client, and judge whether it is corresponding with the version information of the client more New version;
If in the presence of judging to compare the client release, first page mark letter being corresponded in the more new version Whether the screening item structured data of breath updates, and the screening item structured data includes the screening item letter of multiple screening items Breath;
If updating, the first page information for carrying updated screening item structured data is sent to the client End generates the first page for including updated sieve option information so that the client is based on the first page information.
The embodiment of the present application also provides a kind of page generation method, including:
Client sends page request to server-side, includes first page identification information in the page request;
Receive version information and the first page identification information of the server-side based on the client, the of feedback One page info, in the first page information comprising corresponding with the version information of the client more the described in new version The screening item structured data of one page includes the sieve option informations of multiple screening items in the screening item structured data;
The first page for including updated sieve option information is generated based on the first page information.
The embodiment of the present application provides a kind of server, which includes:
Receiving module, the page request for receiving client transmission are identified comprising first page in the page request Information;
Acquisition module, the version information for obtaining the client;
Judgment module, for judging whether more new version corresponding with the version information of the client;If in the presence of, Judge to compare the client release, the screening item structure of the first page identification information is corresponded in the more new version Whether data update, and the screening item structured data includes the sieve option information of multiple screening items;
Sending module will carry updated screening item if the judging result for the judgment module is to update The first page information of structured data is sent to the client, so that the client is based on the first page information, Generate the first page for including updated sieve option information.
The embodiment of the present application also provides a kind of client, including:
Sending module includes first page identification information in the page request for sending page request to server-side;
Receiving module, for receiving version information and first page mark of the server-side based on the client Information, the first page information of feedback, in the first page information comprising it is corresponding with the version information of the client more The screening item structured data of first page described in new version includes the sieves of multiple screening items in the screening item structured data Option information;
Processing module, for generating the first page for including updated sieve option information based on the first page information Face.
Using above-mentioned page generation method and device, can not needed in the preset sieve option information of client, client When rendering the page comprising sieve option information, page request is initiated to server, then server-side can client-based version This information judges whether more new version, if in the presence of more new version, further judges the screening item structure in more new version Whether data are updated, if being updated, updated screening item structured data are returned to client, to take Business end can control client and show updated sieve option information.In this way, when client release does not update, the application is real Applying example still can make client show the sieve option information in more new version, to realize the effect of new and old edition compatibility.
Another embodiment of the application provides a kind of page generation method, including:
Server-side receives the page request that client is sent, and includes first page identification information in the page request;
According to the page request, the screening item structured data corresponding with the first page identification information is determined;Institute State the sieve option information for including multiple screening items in screening item structured data;
Determining screening item structured data is sent to the client, so that the client is based on the multiple sieve The sieve option information of option, generates the first page.
Another embodiment of the application also provides a kind of page generation method, including:
Client sends page request to server-side, carries first page identification information in the page request, is used for The sieve option information of first page described in acquisition request;
Receive the screening item structured data of the first page of the server-side feedback;The screening item structure number Include the sieve option information of multiple screening items in;
Based on the sieve option information of the multiple screening item, the first page is generated, wherein the first page of generation Include the sieve option information of the multiple screening item in face.
Another embodiment of the application provides a kind of server, which includes:
Receiving module, the page request for receiving client transmission include first page mark in the page request Know information;
Determining module, user determine the screening item corresponding with the first page identification information according to the page request Structured data;Include the sieve option information of multiple screening items in the screening item structured data;
Sending module, the screening item structured data for determining the determining module are sent to the client, with The client is set to generate the first page based on the sieve option information of the multiple screening item.
Another embodiment of the application also provides a kind of client, including:
Sending module carries first page mark letter for sending page request to server-side in the page request Breath, the sieve option information for first page described in acquisition request;
Receiving module, the screening item structured data of the first page for receiving the server-side feedback;It is described Screen the sieve option information for including multiple screening items in item structured data;
Processing module generates the first page, wherein raw for the sieve option information based on the multiple screening item At the first page in comprising it is the multiple screening item sieve option information.
In above-mentioned page generation method and device, not in the preset sieve option information of client, client is needing to render packet When the page of the option information containing sieve, page request is initiated to server, screening item structured data is returned to by server-side, to take Business end can control the display of client sieve option information.In this way, client code need not be changed, need not also issue again Client release, so that it may to realize that the update of screening item is shown.
Description of the drawings
Fig. 1 is the page generation method flow chart that the embodiment of the present application one provides;
Fig. 2 is the first page schematic diagram of display screening item.
Fig. 3 is the server architecture schematic diagram that the embodiment of the present application two provides;
Fig. 4 is the client terminal structure schematic diagram that the embodiment of the present application three provides;
Fig. 5 is the page generation method flow chart that the embodiment of the present application four provides;
Fig. 6 is the interaction schematic diagram of client and server-side;
Fig. 7 is the server architecture schematic diagram that the embodiment of the present application five provides;
Fig. 8 is the client terminal structure schematic diagram that the embodiment of the present application six provides.
Specific implementation mode
The embodiment of the present application is applied to be related under the page search scene of multiple screening items, is mainly used in answering for mobile terminal With the app pages search for, in addition to this it is possible to applied to PC (Personal Compute, PC) end Webpage search, H5 page search etc. of the mobile terminal based on browser.It is that will sieve option information to be preset at app visitors currently, in the search of the app pages Family end is that will sieve option information to be preset at web front-end (browsing in the Webpage search at the ends PC and the H5 pages search of mobile terminal Device end), using it is this it is preset by the way of, once need to update screening item, it is meant that need to update app client releases or again Newly write web front-end code.
The embodiment of the present application is described in further detail with reference to the accompanying drawings of the specification.
The application following embodiment proposes a kind of showing updated sieve option information by server-side control client Scheme.
Embodiment one
As shown in Figure 1, for a kind of page generation method flow chart that the embodiment of the present application one provides, including:
S101:Client sends page request to server-side, includes first page identification information in the page request.
Here client can refer to app clients.For example, the search that user enters the hotel service that certain app is provided is first Page selects the city (such as Xiamen) for wanting to live and date (such as 2009.09.16-2009.09.17), clicks search and presses Button, namely page request is sent to server-side, request enters the search page (first page) comprising filter information.
S102:Server-side obtains the version information of client.
Here, the version information of server-side acquisition client can refer to, and obtain the version in the page request that client is sent This information;Alternatively, server-side sends version request message to client, and receive the version information of client return.
S103:Judge whether more new version corresponding with the version information of client.If in the presence of no into S104 Then, the first page information to client feedback in addition to sieving option information, or first page information is not fed back, only to client End instruction is without more new content.
Here, server-side is sentenced according to the client release number of the same app of storage and the version number of above-mentioned client It is disconnected to whether there is more new version corresponding with the version of above-mentioned client.Here more new version refers to the version of above-mentioned client Upgraded version, it is preferable that can specifically refer to latest edition.
S104:If in the presence of judging to compare the client release, corresponding to the first page mark in the more new version Whether the screening item structured data for knowing information updates, and the screening item structured data includes the screening of multiple screening items Item information.If updating, into S105, otherwise, to first page information of the client feedback in addition to sieving option information, or Person does not feed back first page information, is only indicated to client without more new content.
Here, after finding to have more new version, further judge that the screening item structured data in the more new version is It is no to update, specifically, the identification information of the screening item structured data in more new version can be compared, with above-mentioned client Version in screening item structured data identification information it is whether consistent, if inconsistent, it is determined that the screening in more new version Item structured data is updated.
S105:The first page information for carrying updated screening item structured data is sent to client.
Here, server-side sends out the screening item Information encapsulation of each screening item in first page at a screening item structure Give client, may include in the screening item structure sieve option type (such as airport station) and sieve option names (such as Xiamen station), can also include value (namely the mark ID at Xiamen station of the screening item for identifying sieve option names:10), and Parameter name (such as parameter alpha for identifying airport station) of screening item for identifying sieve option type etc..
In specific implementation, it only can set sieve option information in other contents of the preset first page of client The information of dynamic access, alternatively, server-side can also return to first while returning to screening item structured data to client Other dynamic contents of the page.
S106:Client generates the first page for including updated sieve option information based on the first page information.
Here, client store-updated can be sieved after the screening item structured data for receiving server-side return Options Structure volume data, and set the screening item structured data before update to disabled status;Alternatively, by the screening before update Item structured data replaces with updated screening item structured data.
In specific implementation, sieve option type and sieve option names of the client based on the multiple screening item, generates packet First page containing the sieve option type and sieve option names.That is, showing each screening item class in first page Sieve option names under type and each sieve option type, for selection by the user.As shown in Fig. 2, in this screening item of airport station Under type, there are the screening items such as the U.S. station in Xiamen station, collection, TongAn bus station.
S107 (optionally):Client sends screening request to server-side, and first page mark is carried in the screening request Know the sieve option information of information and user's selection.
In specific implementation, client can determine the ginseng of screening item corresponding with the sieve option type that user selects first It is several, and the value for screening item corresponding with the sieve option names of user's selection;Be then based on determine screening item value and The parameter name for screening item sends to server-side and to carry the first page identification information and the screening item determined The screening request of the value of parameter name and screening item.
Here, user can click the sieve option names of object filtering item, and client determines the screening item with user's selection The value of the corresponding screening item of title and the parameter name (corresponding with the sieve option type belonging to the sieve option names) of the screening item, The parameter name for the screening item determined and value carrying are sent to server-side in screening request.
Specifically, the value for the screening item determined can be assigned to the parameter name of the screening item by client, after assignment Parameter name is sent to server-side.For example, the ID " 10 " at Xiamen station is assigned to parameter alpha, α=10 are sent to server-side.
S108 (optionally):Server-side determines screening corresponding with the first page identification information and sieve option information that receive As a result.
Here, server-side is in the parameter name for carrying first page identification information, screening item for receiving client transmission After the screening request of the value of screening item, the parameter name and screening item with the first page identification information and the screening item are determined The corresponding the selection result of value.
S109:The selection result is sent to client by server-side.
S110:Client receives the screening corresponding with first page identification information and sieve option information that server-side is sent and ties Fruit;Based on the selection result, the second page for including the selection result is generated.
Here, the second page for containing the selection result is presented to user for client.
Using above-described embodiment, can not need to render comprising screening in the preset sieve option information of client, client When the page of item information, page request is initiated to server, then server-side can be with client-based version information, judgement It is no to there is more new version, if in the presence of more new version, further judge whether the screening item structured data in more new version occurs Update returns to updated screening item structured data if being updated to client, so that server-side can control Client shows updated sieve option information.In this way, when client release does not update, the embodiment of the present application can still make Client shows the sieve option information in more new version, to realize the effect of new and old edition compatibility.
Based on same inventive concept, a kind of clothes corresponding with above-mentioned page generation method are additionally provided in the embodiment of the present application It is engaged in device and client, since the principle that the server and client solve the problems, such as is similar to above-mentioned page generation method, this The implementation of server and client may refer to the implementation of method, and overlaps will not be repeated.
Embodiment two
As shown in figure 3, for the server architecture schematic diagram that the embodiment of the present application two provides, including:
Receiving module 31, the page request for receiving client transmission include first page mark in the page request Know information;
Acquisition module 32, the version information for obtaining the client;
Judgment module 33, for judging whether more new version corresponding with the version information of the client;If depositing Judging to compare the client release, the screening item knot of the first page identification information is corresponded in the more new version Whether structure volume data updates, and the screening item structured data includes the sieve option information of multiple screening items;
Sending module 34 will carry updated sieve if the judging result for the judgment module 33 is to update The first page information of Options Structure volume data is sent to the client, so that the client is believed based on the first page Breath generates the first page for including updated sieve option information.
Optionally, the acquisition module 32 is specifically used for:
Obtain the version information in the searching request that the client is sent;Alternatively,
Version request message is sent to the client, and receives the version information that the client returns.
Optionally, the receiving module 31 is additionally operable to:
The first page information for carrying updated screening item structured data is sent to institute in the sending module 34 After stating client, the screening request that the client is sent is received;The first page mark is carried in the screening request Know the sieve option information of information and user's selection;
Described device further includes:
Determining module 35, for determining the first page identification information received with the receiving module 31 and screening item The corresponding the selection result of information, and the client is sent to by the sending module 34, so that the client is based on institute The selection result is stated, the second page for including the selection result is generated.
Optionally, the sending module 34 is specifically used for:
By the sieve option type and sieve option names of multiple screening items in the first page and for identifying screening item The parameter name of type and the value of screening item for identifying sieve option names are sent to the client;Wherein, the screening item Type and sieve option names are used for client for generating the first page, the parameter name of the screening item and the value of screening item Initiate screening request;
The receiving module 31 is specifically used for:
Receive the sieve of the parameter name for carrying first page identification information, screening item and the value for screening item that client is sent Choosing request;
The determining module 35 is specifically used for:
Determine screening corresponding with the parameter name and the screening value of item of the first page identification information and the screening item As a result.
Embodiment three
As shown in figure 4, for the client terminal structure schematic diagram that the embodiment of the present application three provides, including:
Sending module 41 includes first page mark letter for sending page request to server-side in the page request Breath;
Receiving module 42, for receiving version information and the first page mark of the server-side based on the client Know information, the first page information of feedback, comprising corresponding with the version information of the client in the first page information The screening item structured data of more first page described in new version includes multiple screening items in the screening item structured data Sieve option information;
Processing module 43, for generating the first page for including updated sieve option information based on the first page information Face.
Optionally, the processing module 43 is additionally operable to:
Before generating the first page, the updated screening item structured data is stored, and will be before update Screening item structured data is set as disabled status;Alternatively, the screening item structured data before update is replaced with the update Screening item structured data afterwards.
Optionally, the version information of the client is carried in the page request;Alternatively,
The sending module 41 is additionally operable to:After sending page request to server-side, institute is received in the receiving module Before the first page information for stating server-side feedback, the version request message based on the server-side that the receiving module receives, The version information of the client is sent to the server-side.
Optionally, the sending module 41 is additionally operable to:
After the processing module 43 generates the first page comprising updated sieve option information, to the server-side Send screening request;The sieve option information of the first page identification information and user's selection is carried in the screening request;
The receiving module 42 is additionally operable to:
It is corresponding to receive the sieve option information selected with the first page identification information and user that the server-side is sent The selection result;
The processing module 43 is additionally operable to:
Based on the selection result, the second page for including the selection result is generated.
Optionally, in the screening item structured data of the server-side feedback sieve option types comprising multiple screening items and Sieve option names and the parameter name for identifying the screening item for sieving option type and the screening item for identifying sieve option names Value;
The processing module 43 is specifically used for generating the first page according to following steps:
Sieve option type based on the multiple screening item and sieve option names, generation include the sieve option type with Sieve the first page of option names;
The processing module 43 is additionally operable to:
Determine the parameter name of screening item corresponding with the sieve option type that user selects, and the screening item with user's selection The value of the corresponding screening item of title;
The sending module 41 is specifically used for:
The parameter name of value and screening item based on the screening item determined carries described to server-side transmission The screening request of the value of the parameter name of first page identification information and the screening item determined and screening item.
Using above-described embodiment, can not need to render comprising screening in the preset sieve option information of client, client When the page of item information, page request is initiated to server, then server-side can be with client-based version information, judgement It is no to there is more new version, if in the presence of more new version, further judge whether the screening item structured data in more new version occurs Update returns to updated screening item structured data if being updated to client, so that server-side can control Client shows updated sieve option information.In this way, when client release does not update, the embodiment of the present application can still make Client shows the sieve option information in more new version, to realize the effect of new and old edition compatibility.
In the application another kind implements thought, the edition upgrading of client can not have to consider screening item structure number According to, that is, when the screening item structured data of client updates, do not change client code, also again publication visitor Family end version, the update that sieve option information in client is controlled by server-side are shown.
Example IV
As shown in figure 5, for the page generation method flow chart that the embodiment of the present application four provides, including:
S501:Client sends page request to server-side, includes first page identification information in the page request.
Here client can refer to app clients, browser end etc..
S502:Server-side determines the screening item knot corresponding with the first page identification information according to the page request Structure volume data;Include the sieve option information of multiple screening items in the screening item structured data.
Here, the first page identification information that server-side is indicated according to client, in the first page for determining newest storage The sieve option information of each screening item.
S503:Determining screening item structured data is sent to the client by server-side.
Here, server-side sends out the screening item Information encapsulation of each screening item in first page at a screening item structure Client is given, may include sieve option type and sieve option names in the screening item structure, can also include for identifying Sieve the value of the screening item of option names, and the parameter name etc. for screening item for identifying sieve option type.
S504:Sieve option information of the client based on the multiple screening item, generates the first page, wherein generate The first page in comprising it is the multiple screening item sieve option information.
Here, client store-updated can be sieved after the screening item structured data for receiving server-side return Options Structure volume data, and set the screening item structured data before update to disabled status;Alternatively, by the screening before update Item structured data replaces with updated screening item structured data.
In specific implementation, sieve option type and sieve option names of the client based on the multiple screening item, generates packet First page containing the sieve option type and sieve option names.That is, showing each screening item class in first page Sieve option names under type and each sieve option type, for selection by the user.
S505 (optionally):The sieve option information that client is selected based on user from first page, to the server-side Screening request is sent, the first page identification information and the screening item letter of user selection are carried in the screening request Breath.
In specific implementation, client can determine the ginseng of screening item corresponding with the sieve option type that user selects first It is several, and the value for screening item corresponding with the sieve option names of user's selection;Be then based on determine screening item value and The parameter name for screening item sends to server-side and to carry the first page identification information and the screening item determined The screening request of the value of parameter name and screening item.Specifically, the value for the screening item determined can be assigned to the screening by client The parameter name of item, server-side is sent to by the parameter name after assignment.
S506 (optionally):Server-side determines screening corresponding with the first page identification information and sieve option information that receive As a result.
Here, server-side is in the parameter name for carrying first page identification information, screening item for receiving client transmission After the screening request of the value of screening item, the parameter name and screening item with the first page identification information and the screening item are determined The corresponding the selection result of value.
S507:The selection result is sent to client by server-side.
As shown in fig. 6, client initiates hypertext transfer protocol (Hypertext transfer to server-side first Protocol, HTTP) request namely page request, after server-side receives the page request, return screening item structured data, Client is based on the screening item structured data and renders first page.User clicks the screening key name of selection from first page Claim.The value for the corresponding screening item of sieve option names that user selects from the first page is assigned to what server-side was specified by client The parameter name of the screening item, is sent to server-side, and parameter name of the server-side based on the screening item and the value for screening item are determined to use The data of family needs simultaneously return to client.
S508:Client receives the sieve option information pair selected with first page identification information and user that server-side is sent The selection result answered is based on the selection result, generates the second page for including the selection result.
Here, the second page for containing the selection result is presented to user for client.
Using above-described embodiment, not in the preset sieve option information of client, client is needing to render comprising screening item letter When the page of breath, page request is initiated to server, screening item structured data is returned to by server-side, to which server-side can be controlled The display of client sieve option information processed.It, also need not issue client terminal version again in this way, client code need not be changed This, so that it may is to realize that the update of screening item is shown.
Based on same inventive concept, additionally provided in the embodiment of the present application two a kind of corresponding with above-mentioned page generation method Server and client, due to the page generation method of principle and the embodiment of the present application that the server and client solve the problems, such as It is similar, therefore the implementation of the device may refer to the implementation of method, overlaps will not be repeated.
Embodiment five
As shown in fig. 7, for the server architecture schematic diagram that the embodiment of the present application five provides, including:
Receiving module 71, the page request for receiving client transmission include first page in the page request Identification information;
Determining module 72, user determine the screening corresponding with the first page identification information according to the page request Item structured data;Include the sieve option information of multiple screening items in the screening item structured data;
Sending module 73, the screening item structured data for determining the determining module 72 are sent to the client End, so that sieve option information of the client based on the multiple screening item, generates the first page.
Optionally, the receiving module 71 is additionally operable to:
It will be screened after item structured data is sent to the client in the sending module 73, and receive the client The screening request of transmission;The screening item of the first page identification information and user selection is carried in the screening request Information;
The determining module 72 is additionally operable to:
Determine the selection result corresponding with the first page identification information and sieve option information that receive, and by described Sending module is sent to the client, so that the client is based on the selection result, generates second page.
Optionally, the sending module 73 is specifically used for:
By the sieve option type of the multiple screening item and sieve option names and for identifying the parameter for sieving option type It name and sieves the values of screening item of option names for identify and is sent to the client;Wherein, the sieve option type and screening Item title is used to generate the first page, and the parameter name of the screening item and the value of screening item, which are used for client initiation screening, asks It asks;
The receiving module 71 is specifically used for:
Receive the parameter name for carrying the first page identification information and screening item and screening item that client is sent Value screening request;
The determining module 72 is specifically used for:
Determine screening corresponding with the parameter name and the screening value of item of the first page identification information and the screening item As a result.
Embodiment six
As shown in figure 8, for the client terminal structure schematic diagram that the embodiment of the present application six provides, including:
Sending module 81 carries first page mark for sending page request to server-side in the page request Information, the sieve option information for first page described in acquisition request;
Receiving module 82, the screening item structured data of the first page for receiving the server-side feedback;Institute State the sieve option information for including multiple screening items in screening item structured data;
Processing module 83 generates the first page for the sieve option information based on the multiple screening item, wherein Include the sieve option information of the multiple screening item in the first page generated.
Optionally, the sending module 81 is additionally operable to:
Based on the sieve option information that user selects from the first page, screening request, institute are sent to the server-side State the sieve option information that the first page identification information and user selection are carried in screening request;
The receiving module 82 is additionally operable to:
Receive the sieve corresponding with the sieve option information of the first page identification information and user's selection of server-side feedback Select result;
The processing module 83 is additionally operable to:
Based on the selection result, second page is generated, wherein include the server-side in the second page of generation The selection result of feedback.
Optionally, the sieve option type of multiple screening items is included in the screening item structured data of the server-side feedback With sieve option names, and the parameter name for identifying sieve option type, and the value for screening item for identifying sieve option names;
The processing module 83 is specifically used for generating the first page according to following steps:
Sieve option type based on the multiple screening item and sieve option names, generation include the sieve option type with Sieve the first page of option names;
The processing module 83 is additionally operable to:
Determine the parameter name of screening item corresponding with the sieve option type that user selects, and the screening item with user's selection The value of the corresponding screening item of title;
The sending module 81 is additionally operable to:
The value of parameter name and screening item based on the screening item determined carries described to server-side transmission The screening request of the value of the parameter name of first page identification information and the screening item determined and screening item.
Using above-described embodiment, not in the preset sieve option information of client, client is needing to render comprising screening item letter When the page of breath, page request is initiated to server, screening item structured data is returned to by server-side, to which server-side can be controlled The display of client sieve option information processed.It, also need not issue client terminal version again in this way, client code need not be changed This, so that it may is to realize that the update of screening item is shown.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is flow of the reference according to method, apparatus (system) and computer program product of the embodiment of the present application Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out the application essence of the various modification and variations without departing from the application God and range.In this way, if these modifications and variations of the application belong to the range of the application claim and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (23)

1. a kind of page generation method, which is characterized in that this method includes:
Server-side receives the page request that client is sent, and includes first page identification information in the page request;
The version information of the client is obtained, and judges whether more new edition corresponding with the version information of the client This;
If in the presence of judging to compare the client release, corresponding to the first page identification information in the more new version Whether screening item structured data updates, and the screening item structured data includes the sieve option information of multiple screening items;
If updating, the first page information for carrying updated screening item structured data is sent to the client, So that the client is based on the first page information, the first page for including updated sieve option information is generated.
2. the method as described in claim 1, which is characterized in that the version information for obtaining the client includes:
Obtain the version information in the page request that the client is sent;Alternatively,
Version request message is sent to the client, and receives the version information that the client returns.
3. the method as described in claim 1, which is characterized in that the first page of updated screening item structured data will be carried Face information is sent to after the client, further includes:
Receive the screening request that the client is sent;The first page identification information and use are carried in the screening request The sieve option information of family selection;
It determines the selection result corresponding with the first page identification information and sieve option information that receive, and is sent to the visitor Family end generates the second page for including the selection result so that the client is based on the selection result.
4. method as claimed in claim 3, which is characterized in that the first page of updated screening item structured data will be carried Face information is sent to the client, including:
By the sieve option type and sieve option names of multiple screening items in the first page and for identifying sieve option type Parameter name and the value of screening item for identifying sieve option names be sent to the client;Wherein, the sieve option type It is initiated for client with sieve option names for generating the first page, the parameter name of the screening item and the value of screening item Screening request;
The screening request for receiving the client and sending, including:
The screening for receiving the parameter name for carrying first page identification information, screening item and the value for screening item that client is sent is asked It asks;
Determination the selection result corresponding with the first page identification information of reception and sieve option information, including:
Determine the selection result corresponding with the parameter name and the screening value of item of the first page identification information and the screening item.
5. a kind of page generation method, which is characterized in that this method includes:
Client sends page request to server-side, includes first page identification information in the page request;
Receive version information and the first page identification information of the server-side based on the client, the first page of feedback Face information includes more first page described in new version corresponding with the version information of the client in the first page information The screening item structured data in face includes the sieve option informations of multiple screening items in the screening item structured data;
The first page for including updated sieve option information is generated based on the first page information.
6. method as claimed in claim 5, which is characterized in that after receiving the first page information, be based on described first Before page info generates first page, further include:
The updated screening item structured data is stored, and sets the screening item structured data before update to disabling shape State;Alternatively,
Screening item structured data before update is replaced with into the updated screening item structured data.
7. method as claimed in claim 5, which is characterized in that carry the version letter of the client in the page request Breath;Alternatively,
After sending page request to server-side, before the first page information for receiving the server-side feedback, further include:
The version request message that server-side is sent is received, the version request message is based on, the client is sent to the server-side The version information at end.
8. method as claimed in claim 5, which is characterized in that it includes updated sieve to be generated based on the first page information After the first page of option information, further include:
Screening request is sent to the server-side;The first page identification information and user's choosing are carried in the screening request The sieve option information selected;
Receive the sieve corresponding with the sieve option information of the first page identification information and user's selection that the server-side is sent Select result;
Based on the selection result, the second page for including the selection result is generated.
9. method as claimed in claim 8, which is characterized in that include in the screening item structured data of the server-side feedback The parameter name and use of the sieve option type and sieve option names of multiple screening items and the screening item for identifying sieve option type In the value of the screening item of mark sieve option names;
The first page for including updated sieve option information is generated based on the first page information, including:
Sieve option type based on the multiple screening item and sieve option names, generation includes the sieve option type and screening The first page of item title;
It is described to send screening request to the server-side, including:
Determine the parameter name of screening item corresponding with the sieve option type that user selects, and the sieve option names with user's selection The value of corresponding screening item;
The parameter name of value and screening item based on the screening item determined carries described first to server-side transmission The screening request of the value of the parameter name of page identification information and the screening item determined and screening item.
10. a kind of page generation method, which is characterized in that this method includes:
Server-side receives the page request that client is sent, and includes first page identification information in the page request;
According to the page request, the screening item structured data corresponding with the first page identification information is determined;The sieve Include the sieve option information of multiple screening items in Options Structure volume data;
Determining screening item structured data is sent to the client, so that the client is based on the multiple screening item Sieve option information, generate the first page.
11. method as claimed in claim 10, which is characterized in that determining screening item structured data is sent to the visitor After the end of family, further include:
Receive the screening request that the client is sent;The first page identification information and institute are carried in the screening request State the sieve option information of user's selection;
It determines the selection result corresponding with the first page identification information and sieve option information that receive, and is sent to the visitor Family end generates second page so that the client is based on the selection result.
12. method as claimed in claim 11, which is characterized in that determining screening item structured data is sent to the visitor Family end, including:
By it is the multiple screening item sieve option type and sieve option names and for identify sieve option type parameter name and The value of screening item for identifying sieve option names is sent to the client;Wherein, the sieve option type and screening key name Claim for generating the first page, the parameter name of the screening item and the value of screening item initiate screening request for client;
The screening request for receiving the client and sending, including:
Receive the value of the parameter name for carrying the first page identification information and screening item and screening item that client is sent Screening request;
Determination the selection result corresponding with the first page identification information of reception and sieve option information, including:
Determine the selection result corresponding with the parameter name and the screening value of item of the first page identification information and the screening item.
13. a kind of page generation method, which is characterized in that this method includes:
Client sends page request to server-side, first page identification information is carried in the page request, for asking Obtain the sieve option information of the first page;
Receive the screening item structured data of the first page of the server-side feedback;In the screening item structured data Include the sieve option information of multiple screening items;
Based on the sieve option information of the multiple screening item, the first page is generated, wherein in the first page of generation Include the sieve option information of the multiple screening item.
14. method as claimed in claim 13, which is characterized in that after generating the first page, further include:
Based on the sieve option information that user selects from the first page, screening request, the sieve are sent to the server-side The sieve option information of the first page identification information and user selection is carried in choosing request;
The screening corresponding with the sieve option information of the first page identification information and user's selection for receiving server-side feedback is tied Fruit;
Based on the selection result, second page is generated, wherein fed back comprising the server-side in the second page of generation The selection result.
15. method as claimed in claim 14, which is characterized in that wrapped in the screening item structured data of the server-side feedback Sieve option type containing multiple screening items and sieve option names, and the parameter name for identifying sieve option type, and for marking Know the value of the screening item of sieve option names;
The sieve option information based on the multiple screening item, generates the first page, including:
Sieve option type based on the multiple screening item and sieve option names, generation includes the sieve option type and screening The first page of item title;
Based on the sieve option information that user selects from the first page, screening request is sent to the server-side, including:
Determine the parameter name of screening item corresponding with the sieve option type that user selects, and the sieve option names with user's selection The value of corresponding screening item;
The value of parameter name and screening item based on the screening item determined carries described first to server-side transmission The screening request of the value of the parameter name of page identification information and the screening item determined and screening item.
16. a kind of server, which is characterized in that the server includes:
Receiving module, the page request for receiving client transmission include first page identification information in the page request;
Acquisition module, the version information for obtaining the client;
Judgment module, for judging whether more new version corresponding with the version information of the client;If in the presence of judging Compared to the client release, the screening item structured data of the first page identification information is corresponded in the more new version Whether update, the screening item structured data includes the sieve option information of multiple screening items;
Sending module will carry updated sieve Options Structure if the judging result for the judgment module is to update The first page information of volume data is sent to the client, so that the client is based on the first page information, generates Include the first page of updated sieve option information.
17. server as claimed in claim 16, which is characterized in that the receiving module is additionally operable to:
The first page information for carrying updated screening item structured data is sent to the client in the sending module After end, the screening request that the client is sent is received;The first page identification information is carried in the screening request With the sieve option information of user's selection;
Described device further includes:
Determining module, the first page identification information and sieve option information for determining with the receiving module receives are corresponding The selection result, and the client is sent to by the sending module so that the client is based on the selection result, Generate the second page for including the selection result.
18. a kind of client, which is characterized in that the client includes:
Sending module includes first page identification information in the page request for sending page request to server-side;
Receiving module, for receiving version information and first page mark letter of the server-side based on the client It ceases, the first page information of feedback, includes update corresponding with the version information of the client in the first page information The screening item structured data of first page described in version includes the screenings of multiple screening items in the screening item structured data Item information;
Processing module, for generating the first page for including updated sieve option information based on the first page information.
19. client as claimed in claim 18, which is characterized in that the sending module is additionally operable to:
After the processing module generates the first page comprising updated sieve option information, sends and sieve to the server-side Choosing request;The sieve option information of the first page identification information and user's selection is carried in the screening request;
The receiving module is additionally operable to:
Receive the sieve corresponding with the sieve option information of the first page identification information and user's selection that the server-side is sent Select result;
The processing module is additionally operable to:
Based on the selection result, the second page for including the selection result is generated.
20. a kind of server, which is characterized in that the server includes:
Receiving module, the page request for receiving client transmission include first page mark letter in the page request Breath;
Determining module, user determine the sieve Options Structure corresponding with the first page identification information according to the page request Volume data;Include the sieve option information of multiple screening items in the screening item structured data;
Sending module, the screening item structured data for determining the determining module is sent to the client, so that institute Sieve option information of the client based on the multiple screening item is stated, the first page is generated.
21. server as claimed in claim 20, which is characterized in that the receiving module is additionally operable to:
It will be screened after item structured data is sent to the client in the sending module, and receive what the client was sent Screening request;The sieve option information of the first page identification information and user selection is carried in the screening request;
The determining module is additionally operable to:
It determines the selection result corresponding with the first page identification information and sieve option information that receive, and passes through the transmission Module is sent to the client, so that the client is based on the selection result, generates second page.
22. a kind of client, which is characterized in that the client includes:
Sending module carries first page identification information in the page request, uses for sending page request to server-side The sieve option information of the first page described in acquisition request;
Receiving module, the screening item structured data of the first page for receiving the server-side feedback;The screening Include the sieve option informations of multiple screening items in item structured data;
Processing module generates the first page, wherein generation for the sieve option information based on the multiple screening item Include the sieve option information of the multiple screening item in the first page.
23. client as claimed in claim 22, which is characterized in that the sending module is additionally operable to:
Based on the sieve option information that user selects from the first page, screening request, the sieve are sent to the server-side The sieve option information of the first page identification information and user selection is carried in choosing request;
The receiving module is additionally operable to:
The screening corresponding with the sieve option information of the first page identification information and user's selection for receiving server-side feedback is tied Fruit;
The processing module is additionally operable to:
Based on the selection result, second page is generated, wherein fed back comprising the server-side in the second page of generation The selection result.
CN201611145213.9A 2016-12-13 2016-12-13 Page generation method and device Active CN108614834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611145213.9A CN108614834B (en) 2016-12-13 2016-12-13 Page generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611145213.9A CN108614834B (en) 2016-12-13 2016-12-13 Page generation method and device

Publications (2)

Publication Number Publication Date
CN108614834A true CN108614834A (en) 2018-10-02
CN108614834B CN108614834B (en) 2022-05-24

Family

ID=63643743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611145213.9A Active CN108614834B (en) 2016-12-13 2016-12-13 Page generation method and device

Country Status (1)

Country Link
CN (1) CN108614834B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110580200A (en) * 2019-08-06 2019-12-17 口碑(上海)信息技术有限公司 Data synchronization method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070100844A1 (en) * 2005-10-28 2007-05-03 International Business Machines Corporation System and method for dynamically updating web pages using messaging-oriented middleware
CN101432736A (en) * 2006-05-02 2009-05-13 微软公司 Efficiently filtering using a web site
CN105404622A (en) * 2014-08-20 2016-03-16 阿里巴巴集团控股有限公司 Client page display method, apparatus and system
CN105991770A (en) * 2016-05-05 2016-10-05 广州阿里巴巴文学信息技术有限公司 Data updating method, client side and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070100844A1 (en) * 2005-10-28 2007-05-03 International Business Machines Corporation System and method for dynamically updating web pages using messaging-oriented middleware
CN101432736A (en) * 2006-05-02 2009-05-13 微软公司 Efficiently filtering using a web site
CN105404622A (en) * 2014-08-20 2016-03-16 阿里巴巴集团控股有限公司 Client page display method, apparatus and system
CN105991770A (en) * 2016-05-05 2016-10-05 广州阿里巴巴文学信息技术有限公司 Data updating method, client side and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈鸿: "web网页的时态文本索引研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110580200A (en) * 2019-08-06 2019-12-17 口碑(上海)信息技术有限公司 Data synchronization method and device
CN110580200B (en) * 2019-08-06 2022-11-11 口碑(上海)信息技术有限公司 Data synchronization method and device

Also Published As

Publication number Publication date
CN108614834B (en) 2022-05-24

Similar Documents

Publication Publication Date Title
CN108089878B (en) Page information display and generation method, device and system
CN104137520B (en) A kind of information push method and device
CN105528408B (en) Page display method and device
CN104660620B (en) Two dimensional code processing method, client, electronic equipment, server end and server
CN105721224B (en) Uniform resource locator processing method, device and system
CN101636725A (en) Collecting information about a user's media collections from multiple login points
CN103605739A (en) Method and device for displaying thermodynamic diagrams
CN106569790B (en) Card template generation method, service providing method, information providing method and device
CN109639750A (en) Business data processing method and equipment
CN106455056A (en) Positioning method and device
CN110347946A (en) A kind of page display method, device, computer equipment and storage medium
US20170193117A1 (en) System and Methods for Displaying a List of Content Items from Web Services by an Embeddable Web Application
CN103631619B (en) A kind of software installation method and a kind of terminal
CN109901938A (en) Big screen system and visual presentation method are interacted based on WebSocket communication
CN108259533A (en) A kind of data transmission method and device
CN105718517A (en) Webpage display control method and system, and application server
CN110245069A (en) The methods of exhibiting and device of the test method and device of page versions, the page
CN104794121A (en) Portal information display method and device
CN109067816B (en) Game resource pushing method, server and client
CN106934053A (en) A kind of information recommendation method and device
CN104063475A (en) User-defined list processing method and device
CN107145491B (en) Page rendering method and device
CN108363749B (en) Method and apparatus for information processing
CN104980807B (en) A kind of method and terminal for multimedia interaction
CN108614834A (en) A kind of page generation method and device

Legal Events

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