CN102340704A - Asynchronous dynamic page switching method and system and server - Google Patents

Asynchronous dynamic page switching method and system and server Download PDF

Info

Publication number
CN102340704A
CN102340704A CN2010102335815A CN201010233581A CN102340704A CN 102340704 A CN102340704 A CN 102340704A CN 2010102335815 A CN2010102335815 A CN 2010102335815A CN 201010233581 A CN201010233581 A CN 201010233581A CN 102340704 A CN102340704 A CN 102340704A
Authority
CN
China
Prior art keywords
page
css
pattern
pattern rule
mapping relations
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
CN2010102335815A
Other languages
Chinese (zh)
Other versions
CN102340704B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN 201010233581 priority Critical patent/CN102340704B/en
Publication of CN102340704A publication Critical patent/CN102340704A/en
Application granted granted Critical
Publication of CN102340704B publication Critical patent/CN102340704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an asynchronous dynamic page switching method and system and server. The method comprises the following steps of: receiving a page switching request message carrying a page switching parameter and a user identifier and sent by a terminal; according to the user identifier, obtaining a first template rule from a first mapping relationship table pre-storing the mapping relationship between the user identifier and the template rule, and generating a second template rule according to the page switching parameter; according to the generated second template rule, obtaining multiple CSS (Cascading Style Sheet) files corresponding to the second template rule from a second mapping relationship table pre-storing the mapping relationship between the template rule and the page style CSS file and/or a third mapping relationship table pre-storing the mapping relationship between the template rule and a structural layout CSS file; and obtaining at least one CSS file corresponding to the page switching parameter from multiple CSS files by the AJAX (Asynchronous JavaScript and XML) asynchronous technology, and returning the at least one CSS file to the terminal so that the terminal can perform dynamic switching on the page of the terminal according to the at least one CSS file.

Description

Asynchronous dynamical page switching method and system and server
Technical field
The embodiment of the invention relates to interactive television (Internet Protocol Television; Be called for short: IPTV) field relates in particular to a kind of asynchronous dynamical page switching method and system and server.
Background technology
IPTV is an infrastructure of utilizing broadband cabled television network, as main terminal, the multiple digital media service that comprises TV programme is provided through internet protocol with STB and domestic television set or computer.Characteristics show that the user can obtain the high quality digital media service; The user can have the broadband internet of degree of freedom selection very widely network agreement (Internet Protocol; Be called for short: the IP) video frequency program that provides of each website on the net; Realize medium supplier and media consumer's substantive interaction; IPTV can dispose multiple multimedia service function according to user's selection, comprises digital television program, visible IP phone, digital versatile disc (Digital Versatile Disc; Be called for short: DVD)/video and audio CD disc (Video Compact Disc; Be called for short: VCD) play the Internet visit, Email, and multiple online information consulting, amusement, education and business function; For network development merchant and program provider provide wide emerging market.
At present; For on the display page of domestic television set; The realization that IPTV uses has all adopted the fixing form of expression to show content; When changing display page, generally all adopt the whole replacement of the page, but the bandwagon effect that this IPTV uses can't change on the display page of domestic television set; And on the display interface of computer, the realization that IPTV uses only can provide the simple replacement of page elements such as background picture, font size, and effect is not clearly; Therefore, the IPTV of prior art uses the needs that not only are difficult to satisfy user individual, simultaneously, when changing display page for the terminal, generally adopts the whole replacement of the page, thereby has also caused the page code amount big, and then make that the efficient of work is lower, responds slower.
Summary of the invention
The embodiment of the invention provides a kind of asynchronous dynamical page switching method and system and server, uses terminal down when changing display page in order to solve in the prior art for IPTV, and the page code amount is big, inefficiency, and response is defective slowly.
The embodiment of the invention provides a kind of asynchronous dynamical page switching method, comprising:
The page handoff request message that carries page handoff parameter and ID that receiving terminal sends;
According to said ID, from first mapping table of the mapping relations of storing ID and pattern rule in advance, obtain first pattern rule, and generate second pattern rule according to said page handoff parameter;
According to generating said second pattern rule, from storing template rule and page pattern CSS (Cascading Style Sheet in advance; Be called for short: CSS) obtain a plurality of CSS files corresponding in the 3rd mapping relations table of second mapping relations table of the mapping relations of file and/or pattern rule and the mapping relations of topology layout CSS file with said second pattern rule;
Adopt the AJAX asynchronous technique; From said a plurality of CSS files, obtain at least one CSS file corresponding with said page handoff parameter; And said at least one CSS file returned to said terminal, dynamically switch according to the page of said at least one CSS file for said terminal said terminal.
The embodiment of the invention provides a kind of server, comprising:
Personal information database is used for storing in advance the first mapping relations table of the mapping relations of ID language pattern rule;
Page pattern CSS resources bank is used for second mapping table of the rule of storing template in advance and the mapping relations of page pattern CSS file;
Topology layout CSS resources bank is used for the 3rd mapping table of the rule of storing template in advance and the mapping relations of topology layout CSS file;
Receiver module is used for the page handoff request message that carries page handoff parameter and ID that receiving terminal sends;
The pattern rule definition module is used for according to said ID, from said personal information database, obtains first pattern rule, and generates second pattern rule according to said page handoff parameter;
CSS file acquisition module is used for from said page pattern CSS resources bank and/or topology layout CSS resources bank, obtaining a plurality of CSS files corresponding with said second pattern rule according to said second pattern rule that generates;
Asynchronous dynamical page handover module; Be used to adopt the AJAX asynchronous technique; From said a plurality of CSS files, obtain at least one CSS file corresponding with said page handoff parameter; And said at least one CSS file returned to said terminal, dynamically update according to the page of said at least one CSS file for said terminal said terminal.
The embodiment of the invention provides a kind of asynchronous dynamical page switched system, comprises terminal and above-mentioned described server.
The asynchronous dynamical page switching method of the embodiment of the invention and system and server; Through page handoff parameter and the ID in the basis page handoff request message that receives; From the first mapping relations table of storing ID and pattern rule in advance, obtain first pattern rule; And generate second pattern rule; From the 3rd mapping relations table of the mapping relations of the second mapping relations table of the rule of storing template in advance and the mapping relations of page pattern CSS file and/or pattern rule and topology layout CSS file, obtain a plurality of CSS files corresponding again, adopt the AJAX asynchronous technique then, from a plurality of CSS files, obtain and page at least one corresponding CSS file of handoff parameter with this second pattern rule; And this at least one CSS file returned to the terminal; Dynamically switch according to the page of this at least one CSS file for the terminal, thereby make IPTV use the switching displayed page that terminal down can asynchronous dynamical the terminal, and in the process of switching; The page code amount is little, and then effectively raises operating efficiency and work response.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the asynchronous dynamical page switching method that Fig. 1 provides for the embodiment of the invention one;
The flow chart of the asynchronous dynamical page switching method that Fig. 2 provides for the embodiment of the invention two;
The structural representation of the server that Fig. 3 provides for the embodiment of the invention three;
The structural representation of the server that Fig. 4 provides for the embodiment of the invention four;
The structural representation of the asynchronous dynamical page switched system that Fig. 5 provides for the embodiment of the invention five.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one
The flow chart of the asynchronous dynamical page switching method that Fig. 1 provides for the embodiment of the invention one, as shown in Figure 1, the executive agent of this method is a server, then this method comprises:
The page handoff request message that carries page handoff parameter and ID that step 11, receiving terminal send;
In the present embodiment, this terminal is specially the television set under computer or the IPTV mode.Page handoff parameter is specially icon sizes parameter, font type parameter or page layout background parameter etc.ID can specifically refer to user name.
Step 12, according to ID, from the first mapping relations table of the mapping relations of storing ID and pattern rule in advance, obtain first pattern rule, and generate second pattern rule according to page handoff parameter;
In the present embodiment; Pattern rule specifically comprises page pattern CSS reference number of a document, topology layout CSS reference number of a document, customization picture-storage position, page layout background memory location and font number etc., and these pattern rules can be stored in the data in server storehouse.Concrete, the masterplate of display page rule when first rule module is terminal initial, second pattern rule is on the basis of first pattern rule, according to receiving the new masterplate rule that page handoff parameter generates.
Step 13, according to second pattern rule that generates, from the 3rd mapping relations table of the mapping relations of the second mapping relations table of storing template rule in advance and the mapping relations of page pattern CSS file and/or pattern rule and topology layout CSS file, obtain a plurality of CSS files corresponding with this second pattern rule;
In the present embodiment, topology layout CSS file specifically comprises the content block that is comprised under DIV ((the division)) label.Concrete; In the topology layout of the definition page; The page generally is made up of some similar content blocks, for example: header area, navigation (main menu, secondary menu), functional areas (for example search box, user's logon area), content regions (article text or article, product tabulation) and footer (copyright and relevant laws statement) etc.; And respectively through different DIV labels come to comprise respectively above-mentioned in different content blocks, and then the definition through CSS, the content block that above-mentioned different DIV label is comprised is placed on any position on the page; The various attributes that page pattern CSS then specified and specified this content block are color, font, frame, background and alignment properties etc. for example; In addition, page pattern CSS file background color CSS file that specifically can connect for navigation pattern CSS file, each column or mouse-over and the effect CSS file that shifts out etc.
What deserves to be mentioned is; All use DIV label and SPAN label layout full page on general, at some in particular cases, can also use labels such as TABLE, UL, PRE to come video data; Show unordered list information with UL, show orderly list information with OL.
Like this, can comprise a plurality of page pattern CSS files and a plurality of topology layout CSS file for a plurality of CSS files that from second mapping table and the 3rd mapping table, obtain.
Step 14, the asynchronous JavaScript of employing and XML (Asynchronous JavaScript and XML; Be called for short: AJAX) asynchronous technique, from a plurality of CSS files, obtain at least one CSS file corresponding, and at least one CSS file is returned to the terminal with page handoff parameter, dynamically switch according to the page of at least one CSS file for the terminal the terminal.
In the present embodiment, through adopting the AJAX asynchronous technique, can from a plurality of CSS files, obtain at least one CSS file corresponding, and this at least one CSS file is returned to the terminal with page handoff parameter.Concrete; Through using XMLHTTPRequest that this at least one CSS file is returned to the terminal; And adopt JavaScript to handle this at least one CSS file at the terminal; Thereby optimized the transmission between server and the terminal, reduced the unnecessary data transmission, and then reduced taking of bandwidth.
In sum, in the present embodiment, the display page at the terminal under IPTV is to adopt the XHTML+CSS+AJAX technology dynamically to realize.
In the present embodiment; Through page handoff parameter and the ID in the basis page handoff request message that receives; From the first mapping relations table of storing ID and pattern rule in advance, obtain first pattern rule, and generate second pattern rule, from the 3rd mapping relations table of the mapping relations of the second mapping relations table of the rule of storing template in advance and the mapping relations of page pattern CSS file and/or pattern rule and topology layout CSS file, obtain a plurality of CSS files corresponding again with this second pattern rule; Adopt the AJAX asynchronous technique then; From a plurality of CSS files, obtain and at least one corresponding CSS file of page or leaf handoff parameter, and this at least one CSS file is returned to the terminal, dynamically switch according to the page of this at least one CSS file the terminal for the terminal; Thereby make the switching displayed page that the terminal of IPTV under using can asynchronous dynamical; And in the process of switching, the page code amount is little, and then effectively raises operating efficiency and work response.
Embodiment two
The flow chart of the asynchronous dynamical page switching method that Fig. 2 provides for the embodiment of the invention two, as shown in Figure 2, on the basis of the foregoing description one, this page handoff request message also comprises the authentication sign, then also comprises before the step 12:
Step 15, according to authentication sign and ID, judge whether page handoff request message is legitimate messages;
Then step 12 is specially:
If judge page handoff request message is legitimate messages; Then according to ID; From the first mapping relations table of storing ID and the mapping relations of pattern rule in advance, obtain first pattern rule corresponding, and generate second pattern rule according to page handoff parameter with ID.
In the present embodiment, the authentication sign specifically can refer to encrypted message, and ID specifically refers to user name.Concrete; Judge that according to authentication sign and ID whether page handoff request message be that a kind of implementation of legitimate messages is: the identity information through storing in the personal information database in username and password information and the server is checked; If the identity information in the server is identical with this username and password information; Then instruction page handoff request message is legal information, execution in step 12; If identity information and this username and password information in the server are inequality, then instruction page handoff request message is not legal information, then finishes, and waits for that the terminal resends page handoff request message.What deserves to be mentioned is that this identity information specifically comprises user name and/or password etc.
Further, because the resolution that the resolution that television set is supported and computer are supported is inequality, promptly corresponding CSS file is also inequality, and for example: page size, page elements size be selecting for use etc. of font perhaps.Therefore, this page request message also comprises terminal iidentification, specifically can the storing template rule in the first mapping relations table in the server and the mapping relations of page pattern CSS file; Specifically can the storing template rule in the second mapping relations table in the server and the mapping relations of layout structure CSS file.Then step 13 is specially:
According to second pattern rule of terminal iidentification and generation, from the second mapping relations table and/or the 3rd mapping relations table, obtain a plurality of CSS files corresponding with the terminal iidentification and second pattern rule.
Concrete, this terminal iidentification specifically refers to television set sign or computer sign; When page handoff request message was sent at the terminal, server was judged this terminal televisions or computer according to terminal iidentification; If this terminal is a television set, then obtain the CSS file of supporting television set resolution (as: 1280*720); If this terminal is a computer, then obtain the CSS file of supporting computer resolution (as: 1024*768).Like this, can make and reach best display effect on the display page at terminals such as television set or computer.Because the resolution of user terminal possibly there are differences; In the present embodiment; Stored the resolution of various exemplary terminal and corresponding with it pattern rule in this server, the user can be through selecting different pattern rules, till reaching optimal display result.
Further, this method also comprises: when user name or pattern rule change, according to user name or the pattern rule after changing, more the 3rd mapping relations table of new user name and pattern rule.
Further; This method also comprises: when terminal iidentification, pattern rule, page pattern CSS file or topology layout CSS file change; Terminal iidentification, pattern rule, page pattern CSS or topology layout CSS file according to after changing upgrade the first mapping relations table and/or the second mapping relations table.
Like this, upgrade, thereby not only saved the memory space in the server, can also satisfy user's individual demand simultaneously more through real-time mapping relations in first mapping table in the server, second mapping table and the 3rd mapping table.
What deserves to be mentioned is, when page handoff request message that the first time, receiving terminal sent, from the first mapping relations table of storing ID and the mapping relations of pattern rule in advance, obtain first pattern rule corresponding with ID according to ID.And, generate second pattern rule according to the page handoff parameter in this first pattern rule and the page handoff request message.Then second pattern rule is stored in the first mapping relations table in the server, replacing this ID and the mapping relations of pattern rule in the first mapping relations table, thereby has effectively saved the memory space in the server.When page handoff request message that receiving terminal once more sends; According to the first mapping relations table after upgrading; Obtain first pattern rule corresponding, and, generate second pattern rule according to the page handoff parameter in the page handoff request message of sending once more with user name.
Embodiment three
The structural representation of the server that Fig. 3 provides for the embodiment of the invention three; As shown in Figure 3, this server comprises: personal information database 301, page pattern CSS resources bank 302, topology layout CSS resources bank 303, receiver module 304, pattern rule definition module 305, CSS file acquisition module 306 and asynchronous dynamical page handover module 307.Wherein, personal information database 301 is used for storing in advance the first mapping relations table of the mapping relations of ID and pattern rule; Page pattern CSS resources bank 302 is used for second mapping table of the rule of storing template in advance and the mapping relations of page pattern CSS file; Topology layout CSS resources bank 303 is used for the 3rd mapping table of the rule of storing template in advance and the mapping relations of topology layout CSS file; Receiver module 304 is used for the page handoff request message that carries page handoff parameter and ID that receiving terminal sends; Pattern rule definition module 305 is used for according to ID, from personal information database 301, obtains first pattern rule, and generates first pattern rule according to page handoff parameter; CSS file acquisition module 306 is used for from page pattern CSS resources bank 302 and/or topology layout CSS resources bank 303, obtaining a plurality of CSS files corresponding with second pattern rule according to second pattern rule that generates; Asynchronous dynamical page handover module 307 is used to adopt the AJAX asynchronous technique; From a plurality of CSS files, obtain at least one CSS file corresponding with page handoff parameter; And at least one CSS file returned to the terminal, dynamically update according to the page of at least one CSS file for the terminal the terminal.
In the present embodiment, the groundwork flow process of server is: the page handoff request message that carries page handoff parameter and ID that receiver module 304 receiving terminals send; And this page handoff request message sent to pattern rule definition module 305.Pattern rule definition module 305 is according to the ID in this page handoff request message; From personal information database 301, obtain first pattern rule; And generate second pattern rule, and second pattern rule is sent to CSS file acquisition module 306 according to the page handoff parameter in the page handoff request message.CSS file acquisition module 306 is according to second pattern rule that generates; From page pattern CSS resources bank 302 and/or topology layout CSS resources bank 303, obtain a plurality of CSS files corresponding respectively with second pattern rule; And these CSS files are sent to asynchronous dynamical page handover module 307; Concrete; Can use the I/O interface of JAVA from page pattern CSS resources bank 302 and/or topology layout CSS resources bank 303, to obtain a plurality of CSS files corresponding, then these CSS files sent to asynchronous dynamical page handover module 307 with second pattern rule.
Asynchronous dynamical page handover module 307 adopts the AJAX asynchronous technique and according to page handoff parameter; From these CSS files, obtain at least one CSS file corresponding with this page handoff parameter; And at least one CSS file returned to the terminal, dynamically update according to the page of at least one CSS file for middle terminal the terminal.Concrete; Through using XMLHTTPRequest that this at least one CSS file is returned to the terminal; And adopt JavaScript to handle this at least one CSS file at the terminal, with the switching of the page of realizing the terminal, thereby optimized the transmission between server and the terminal; And reduced the unnecessary data transmission, and then reduced taking of bandwidth.
In the present embodiment; Through page handoff parameter and the ID in the basis page handoff request message that receives; From the first mapping relations table of storing ID and pattern rule in advance, obtain first pattern rule, and generate second pattern rule, from the 3rd mapping relations table of the mapping relations of the second mapping relations table of the rule of storing template in advance and the mapping relations of page pattern CSS file and/or pattern rule and topology layout CSS file, obtain a plurality of CSS files corresponding again with this second pattern rule; Adopt the AJAX asynchronous technique then; From a plurality of CSS files, obtain and at least one corresponding CSS file of page or leaf handoff parameter, and this at least one CSS file is returned to the terminal, dynamically switch according to the page of this at least one CSS file the terminal for the terminal; Thereby make the switching displayed page that the terminal of IPTV under using can asynchronous dynamical; And in the process of switching, the page code amount is little, and then effectively raises operating efficiency and work response.
Embodiment four
The structural representation of the server that Fig. 4 provides for the embodiment of the invention four; As shown in Figure 4; On the basis of the foregoing description three, also comprise the authentication sign in the page handoff request message that receiver module 304 receives, then this server also comprises: judge module 308; Be used for according to authentication sign and ID, judge whether page handoff request message is legitimate messages; Then pattern rule definition module 305 specifically is used for then according to ID, from personal information database 301, obtaining first pattern rule corresponding with ID if it is legitimate messages that judge module 308 is judged page handoff request message.
Concrete, the authentication sign specifically refers to encrypted message, ID specifically refers to user name.For example; The user is through the web list on the terminal display page; Username and password information is sent to the judge module 308 of server, and the identity information of storing in the personal information database in judge module 308 and the server is checked, if the identity information of personal information database is identical with this username and password information; Then instruction page handoff request message is legal information, then this page handoff request message is sent to pattern rule definition module 305.Pattern rule definition module 305 obtains the first corresponding pattern rule of ID according to ID from personal information database 301.If identity information and this username and password information in the personal information database are inequality, then instruction page handoff request message is not legal information, then finishes, and waits for that the terminal resends page handoff request message.
Further, also comprise terminal iidentification in the page handoff request message that receiver module 304 receives; Specifically be used for having stored in advance the second mapping relations table of the mapping relations of pattern rule and page pattern CSS file in the page pattern CSS resources bank 302; Specifically be used to have stored the 3rd mapping relations table of the mapping relations of pattern rule and topology layout CSS file in the topology layout CSS resources bank 303; Then CSS file acquisition module 306 specifically is used for second pattern rule according to terminal iidentification and generation, from page pattern CSS resources bank 302 and/or topology layout CSS resources bank 303, obtains a plurality of CSS files corresponding with the terminal iidentification and second pattern rule.
Further, this server also comprises: first update module 309, be used for when ID or pattern rule change, and ID or pattern rule according to after changing upgrade personal information database 301.
Further; This server also comprises: second update module 310; Be used for when terminal iidentification, pattern rule, page pattern CSS file or topology layout CSS file change; Terminal iidentification, pattern rule, page pattern CSS file or topology layout CSS file according to after changing upgrade page pattern CSS resources bank 302 and/or topology layout CSS resources bank 303.
Embodiment five
The structural representation of the asynchronous dynamical page switched system that Fig. 5 provides for the embodiment of the invention five; As shown in Figure 5; On the basis of the foregoing description three or embodiment four, this system comprises terminal 501 and the foregoing description three or embodiment four arbitrary described servers 502.
In the present embodiment; This system is through page handoff parameter and ID in the basis page handoff request message that receives; From the first mapping relations table of storing ID and pattern rule in advance, obtain first pattern rule; And generate second pattern rule; From the 3rd mapping relations table of the mapping relations of the second mapping relations table of the rule of storing template in advance and the mapping relations of page pattern CSS file and/or pattern rule and topology layout CSS file, obtain a plurality of CSS files corresponding again, adopt the AJAX asynchronous technique then, from a plurality of CSS files, obtain and page at least one corresponding CSS file of handoff parameter with this second pattern rule; And this at least one CSS file returned to the terminal; Dynamically switch according to the page of this at least one CSS file for the terminal, thereby make IPTV use the switching displayed page that terminal down can asynchronous dynamical the terminal, and in the process of switching; The page code amount is little, and then effectively raises operating efficiency and work response.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (11)

1. an asynchronous dynamical page switching method is characterized in that, comprising:
The page handoff request message that carries page handoff parameter and ID that receiving terminal sends;
According to said ID, from the first mapping relations table of the mapping relations of storing ID and pattern rule in advance, obtain first pattern rule, and generate second pattern rule according to said page handoff parameter;
According to generating said second pattern rule, from the 3rd mapping relations table of the mapping relations of the second mapping relations table of storing template rule in advance and the mapping relations of page pattern CSS file and/or pattern rule and topology layout CSS file, obtain a plurality of CSS files corresponding with said second pattern rule;
Adopt the AJAX asynchronous technique; From said a plurality of CSS files, obtain at least one CSS file corresponding with said page handoff parameter; And said at least one CSS file returned to said terminal, dynamically switch according to the page of said at least one CSS file for said terminal said terminal.
2. asynchronous dynamical page switching method according to claim 1; It is characterized in that; Said page handoff request message also comprises the authentication sign; Then according to said ID, from first mapping table of the mapping relations of storing ID and pattern rule in advance, obtain first pattern rule, and also comprise before generating second pattern rule according to said page handoff parameter:
According to said authentication sign and ID, judge whether said page handoff request message is legitimate messages;
If when judging said page handoff request message and being legitimate messages; Then according to said ID; From first mapping table of the mapping relations of storing ID and pattern rule in advance, obtain first pattern rule, and generate second pattern rule according to said page handoff parameter.
3. asynchronous dynamical page switching method according to claim 1 is characterized in that, said page handoff request message also comprises terminal iidentification; The mapping relations of terminal iidentification, pattern rule and page pattern CSS file have specifically been stored in the said second mapping relations table; The mapping relations of terminal iidentification, pattern rule and topology layout CSS file have specifically been stored in said the 3rd mapping relations table; Then according to generating said second pattern rule, from the mapping relations table of the pattern rule of storage in advance and CSS file, obtain and specifically comprise with the corresponding a plurality of CSS files of said second pattern rule:
According to second pattern rule of said terminal iidentification and generation, from said second mapping relations table and/or said the 3rd mapping relations table, obtain a plurality of CSS files corresponding with said terminal iidentification and said second pattern rule.
4. asynchronous dynamical page switching method according to claim 2 is characterized in that: when said ID or pattern rule changed, ID or pattern rule according to after changing upgraded the said first mapping relations table.
5. according to the said asynchronous dynamical page switching method of claim 3; It is characterized in that: when said terminal iidentification, pattern rule, page pattern CSS file or topology layout CSS file change; Terminal iidentification, pattern rule, page pattern CSS file or topology layout CSS file according to after changing upgrade said second mapping relations table and/or the 3rd mapping relations table.
6. a server is characterized in that, comprising:
Personal information database is used for storing in advance the first mapping relations table of the mapping relations of ID and pattern rule;
Page pattern CSS resources bank is used for second mapping table of the rule of storing template in advance and the mapping relations of page pattern CSS file;
Topology layout CSS resources bank is used for the 3rd mapping table of the rule of storing template in advance and the mapping relations of topology layout CSS file;
Receiver module is used for the page handoff request message that carries page handoff parameter and ID that receiving terminal sends;
The pattern rule definition module is used for according to said ID, from said personal information database, obtains first pattern rule, and generates second pattern rule according to said page handoff parameter;
CSS file acquisition module is used for from said page pattern CSS resources bank and/or topology layout CSS resources bank, obtaining a plurality of CSS files corresponding with said second pattern rule according to said second pattern rule that generates;
Asynchronous dynamical page handover module; Be used to adopt the AJAX asynchronous technique; From said a plurality of CSS files, obtain at least one CSS file corresponding with said page handoff parameter; And said at least one CSS file returned to said terminal, dynamically update according to the page of said at least one CSS file for said terminal said terminal.
7. server according to claim 6 is characterized in that, also comprises the authentication sign in the page handoff request message that said receiver module receives, and then said server also comprises:
Judge module is used for according to said authentication sign and ID, judges whether said page handoff request message is legitimate messages;
Said pattern rule definition module specifically is used for when if said judge module is judged said page handoff request message and is legitimate messages, according to said ID, from said personal information database, obtains first pattern rule corresponding with said ID.
8. server according to claim 6 is characterized in that, also comprises terminal iidentification in the page handoff request message that said receiver module receives; Specifically be used for storing in advance the second mapping relations table of the mapping relations of terminal iidentification, pattern rule and page pattern CSS file in the said page pattern CSS resources bank; Specifically be used for storing in advance the 3rd mapping relations table of the mapping relations of terminal iidentification, pattern rule and topology layout CSS file in the said topology layout CSS resources bank;
Then said CSS file acquisition module specifically is used for second pattern rule according to terminal iidentification and generation, from said page pattern CSS resources bank and/or topology layout CSS resources bank, obtains a plurality of CSS files corresponding with said terminal iidentification and said second pattern rule.
9. server according to claim 7 is characterized in that, also comprises:
First update module is used for when said ID or pattern rule change, and ID or pattern rule according to after changing upgrade said personal information database.
10. server according to claim 8 is characterized in that, also comprises:
Second update module; Be used for when said terminal iidentification, pattern rule, page pattern CSS file or topology layout CSS file change; Terminal iidentification, pattern rule, page pattern CSS file or topology layout CSS file according to after changing upgrade said page pattern CSS resources bank and/or topology layout CSS resources bank.
11. an asynchronous dynamical page switched system is characterized in that, comprises the terminal and like the arbitrary described server of claim 6 to 10.
CN 201010233581 2010-07-16 2010-07-16 Asynchronous dynamic page switching method and system and server Active CN102340704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010233581 CN102340704B (en) 2010-07-16 2010-07-16 Asynchronous dynamic page switching method and system and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010233581 CN102340704B (en) 2010-07-16 2010-07-16 Asynchronous dynamic page switching method and system and server

Publications (2)

Publication Number Publication Date
CN102340704A true CN102340704A (en) 2012-02-01
CN102340704B CN102340704B (en) 2013-04-10

Family

ID=45516177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010233581 Active CN102340704B (en) 2010-07-16 2010-07-16 Asynchronous dynamic page switching method and system and server

Country Status (1)

Country Link
CN (1) CN102340704B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740142A (en) * 2012-06-13 2012-10-17 百视通网络电视技术发展有限责任公司 Method for providing IPTV (Internet Protocol Television) service to different terminals and IPTV service system
CN103425466A (en) * 2012-05-17 2013-12-04 腾讯科技(深圳)有限公司 Color matching processing method and color matching processing device
CN103777931A (en) * 2012-10-22 2014-05-07 北大方正集团有限公司 Dynamic page generation method and system with loose relation to business logic
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN105468412A (en) * 2015-11-26 2016-04-06 金蝶软件(中国)有限公司 Dynamic packaging method and dynamic packaging device
CN106326482A (en) * 2016-08-31 2017-01-11 江苏中威科技软件系统有限公司 System of visualized big data collection and analysis and file conversion and method thereof
CN107168713A (en) * 2017-05-24 2017-09-15 深圳市茁壮网络股份有限公司 A kind of single page application design method and system
CN107203453A (en) * 2017-05-23 2017-09-26 郑州云海信息技术有限公司 A kind of generation method of device view, device and electronic equipment
CN108029058A (en) * 2015-09-21 2018-05-11 索尼公司 Telecommunication apparatus and method
CN108399088A (en) * 2018-01-19 2018-08-14 北京奇艺世纪科技有限公司 Page display method, user terminal, page server and style configuration server
CN110020306A (en) * 2017-11-30 2019-07-16 腾讯科技(深圳)有限公司 Page display method, device, storage medium and terminal
CN110569097A (en) * 2019-08-26 2019-12-13 北京奇艺世纪科技有限公司 information display method and device
CN110941782A (en) * 2019-11-06 2020-03-31 深圳点猫科技有限公司 Method and device for switching webpage question card versions
CN111274516A (en) * 2018-12-04 2020-06-12 阿里巴巴集团控股有限公司 Page display method, page configuration method and device
CN111309320A (en) * 2018-12-12 2020-06-19 玲珑视界科技(北京)有限公司 Method and system for customizing home page interface
CN111753238A (en) * 2020-06-05 2020-10-09 北京有竹居网络技术有限公司 Data mapping method and device and electronic equipment
CN111831942A (en) * 2019-04-15 2020-10-27 阿里巴巴集团控股有限公司 Method and device for displaying search results on page and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003060724A2 (en) * 2002-01-18 2003-07-24 Idetic, Inc. Method and system for storage and retrieval of arbitrary content and application data
EP1551030A1 (en) * 2004-01-05 2005-07-06 Deutsche Thomson-Brandt Gmbh Method and apparatus for generating an electronic menu
CN101388897A (en) * 2007-09-12 2009-03-18 福建富士通信息软件有限公司 Enterprise portal webpage integration system
CN101609403A (en) * 2009-07-29 2009-12-23 金蝶软件(中国)有限公司 A kind of page layout dynamic switch method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003060724A2 (en) * 2002-01-18 2003-07-24 Idetic, Inc. Method and system for storage and retrieval of arbitrary content and application data
EP1551030A1 (en) * 2004-01-05 2005-07-06 Deutsche Thomson-Brandt Gmbh Method and apparatus for generating an electronic menu
CN101388897A (en) * 2007-09-12 2009-03-18 福建富士通信息软件有限公司 Enterprise portal webpage integration system
CN101609403A (en) * 2009-07-29 2009-12-23 金蝶软件(中国)有限公司 A kind of page layout dynamic switch method and system

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425466A (en) * 2012-05-17 2013-12-04 腾讯科技(深圳)有限公司 Color matching processing method and color matching processing device
CN103425466B (en) * 2012-05-17 2017-02-08 腾讯科技(深圳)有限公司 Color matching processing method and color matching processing device
CN102740142B (en) * 2012-06-13 2015-12-16 百视通网络电视技术发展有限责任公司 For different terminals provides method and the IPTV service system of IPTV service
CN102740142A (en) * 2012-06-13 2012-10-17 百视通网络电视技术发展有限责任公司 Method for providing IPTV (Internet Protocol Television) service to different terminals and IPTV service system
CN103777931B (en) * 2012-10-22 2017-05-10 北大方正集团有限公司 Dynamic page generation method and system with loose relation to business logic
CN103777931A (en) * 2012-10-22 2014-05-07 北大方正集团有限公司 Dynamic page generation method and system with loose relation to business logic
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN103984686B (en) * 2013-02-07 2018-10-12 阿里巴巴集团控股有限公司 page switching method and device
US11737000B2 (en) 2015-09-21 2023-08-22 Sony Corporation Telecommunication devices and methods
US11134423B2 (en) 2015-09-21 2021-09-28 Sony Corporation Telecommunication devices and methods
CN108029058A (en) * 2015-09-21 2018-05-11 索尼公司 Telecommunication apparatus and method
CN105468412A (en) * 2015-11-26 2016-04-06 金蝶软件(中国)有限公司 Dynamic packaging method and dynamic packaging device
CN106326482A (en) * 2016-08-31 2017-01-11 江苏中威科技软件系统有限公司 System of visualized big data collection and analysis and file conversion and method thereof
CN107203453B (en) * 2017-05-23 2020-06-16 苏州浪潮智能科技有限公司 Method and device for generating equipment view and electronic equipment
CN107203453A (en) * 2017-05-23 2017-09-26 郑州云海信息技术有限公司 A kind of generation method of device view, device and electronic equipment
CN107168713A (en) * 2017-05-24 2017-09-15 深圳市茁壮网络股份有限公司 A kind of single page application design method and system
CN110020306A (en) * 2017-11-30 2019-07-16 腾讯科技(深圳)有限公司 Page display method, device, storage medium and terminal
CN108399088A (en) * 2018-01-19 2018-08-14 北京奇艺世纪科技有限公司 Page display method, user terminal, page server and style configuration server
CN111274516B (en) * 2018-12-04 2024-04-05 阿里巴巴新加坡控股有限公司 Page display method, page configuration method and device
CN111274516A (en) * 2018-12-04 2020-06-12 阿里巴巴集团控股有限公司 Page display method, page configuration method and device
CN111309320A (en) * 2018-12-12 2020-06-19 玲珑视界科技(北京)有限公司 Method and system for customizing home page interface
CN111831942A (en) * 2019-04-15 2020-10-27 阿里巴巴集团控股有限公司 Method and device for displaying search results on page and electronic equipment
CN110569097B (en) * 2019-08-26 2022-12-06 北京奇艺世纪科技有限公司 Information display method and device
CN110569097A (en) * 2019-08-26 2019-12-13 北京奇艺世纪科技有限公司 information display method and device
CN110941782B (en) * 2019-11-06 2023-01-10 深圳点猫科技有限公司 Method and device for switching webpage question card versions
CN110941782A (en) * 2019-11-06 2020-03-31 深圳点猫科技有限公司 Method and device for switching webpage question card versions
CN111753238A (en) * 2020-06-05 2020-10-09 北京有竹居网络技术有限公司 Data mapping method and device and electronic equipment

Also Published As

Publication number Publication date
CN102340704B (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN102340704B (en) Asynchronous dynamic page switching method and system and server
CN102902761B (en) Cross-terminal cloud browse method and system
CN101247329B (en) Network system, access management server, event notification method, network appliance and computer program
WO2017092313A1 (en) Method and apparatus for controlling video playing of playing device
CN101247511B (en) IPTV content correlated information exhibition method and system
CN101860698B (en) EPG system for realizing personalized function
CN104065979A (en) Method for dynamically displaying information related with video content and system thereof
CN104967908A (en) Video hot spot marking method and apparatus
CN102413373A (en) Method for generating digital television menu navigation page and apparatus thereof
JP2007052594A (en) Information processing terminal, information processing method, information processing program, and network system
CN113365122B (en) Dynamic arrangement method of EPG visual page
CN104125490A (en) Online video playing method and device
CN103796072A (en) Control end, equipment end, server and system for digital television channel classification display
US20140229533A1 (en) Client-side network page generation
US9946805B2 (en) System and method for displaying services capable of pasting document stored on a cloud-based cross-clipboard
CN104394438A (en) A method and system for configuring a multimedia display content
CN105577622A (en) Method of distributing user grouping for digital label and apparatus thereof, and digital label system
US9264669B2 (en) Content management that addresses levels of functionality
CN101483751A (en) Digital television opening presenting method and system
CN103078851A (en) Message receiving and transmitting method, message interaction system and DLNA (Digital Living Network Alliance) equipment
CN101335874B (en) User terminal and proxy server of internet protocol television (iptv) system, and operating method thereof
CN104244104A (en) Control terminal, device terminal, server and system capable of quickly selecting digital television programs,
Bae et al. Adaptive transformation for a scalable user interface framework supporting multi-screen services
CN104010213B (en) Video data caching method and system thereof
CN105808543A (en) Information display method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant