CN100481088C - Web page resource issuing method and issuing system - Google Patents

Web page resource issuing method and issuing system Download PDF

Info

Publication number
CN100481088C
CN100481088C CNB2007101002945A CN200710100294A CN100481088C CN 100481088 C CN100481088 C CN 100481088C CN B2007101002945 A CNB2007101002945 A CN B2007101002945A CN 200710100294 A CN200710100294 A CN 200710100294A CN 100481088 C CN100481088 C CN 100481088C
Authority
CN
China
Prior art keywords
web page
terminal
page resources
middleware
label
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.)
Expired - Fee Related
Application number
CNB2007101002945A
Other languages
Chinese (zh)
Other versions
CN101067819A (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.)
Peking University
Original Assignee
Peking University
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 Peking University filed Critical Peking University
Priority to CNB2007101002945A priority Critical patent/CN100481088C/en
Publication of CN101067819A publication Critical patent/CN101067819A/en
Application granted granted Critical
Publication of CN100481088C publication Critical patent/CN100481088C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This invention provides an issuing method and a system for web resources, in which, the method includes: receiving a request or an instruction of sending web resources to get the device parameter of a terminal receiving the resource and sending an adaptive web resource to the terminal. The system includes: a first device used in sending web resources, a second device composed of a first unit for identifying kinds of terminals and a second unit adapting web resources.

Description

Web page resource issuing method and delivery system
Technical field
The present invention relates to a kind of webpage (hereinafter to be referred as WEB) resource issuing method and delivery system, be particularly useful for dissemination method and delivery system, belong to the device independence technical field to the terminal publishing web page resource of plurality of classes.
Background technology
All the time, can obtain in time whenever and wherever possible with process information be the target that people lay siege to.Sustainable development along with infotech, the microprocessor computing power improves constantly, power consumption progressively reduces, the wireless network access technology develops gradually and popularizes, thereby make the portable mobile terminal equipment of numerous isomeries, as smart mobile phone, personal digital assistant, handheld device etc., the ability that has really possessed visit WEB resource in moving, mobile WEB resource inserts becomes a kind of important WEB resource acquisition mode gradually, and that realizes more WEB resources on various heterogeneous terminals equipment normally is shown as active demand into people.
Yet, in WEB resource issuing process in the past, the publisher only considers the display effect of WEB resource on a certain particular terminal device, the visit effect of personal computer is only considered in for example most of common websites, WAP (wireless application protocol) (Wireless Application Protocol, hereinafter to be referred as WAP) website then only considers the WEB resource distribution effect of mobile phone, promptly the content of WEB resource and layout thereof can not adapt to the different other-end equipment of display capabilities.In the prior art, on the one hand the mobile terminal device of isomery is compared with personal computer, often has problems such as arithmetic capability deficiency, display screen be too small.So when above-mentioned isomery portable terminal did not add the visit tradition WEB resource of processing, the display effect impersonalityization was unfavorable for user's reading and understanding, can't normally show sometimes even at all with mutual.On the other hand, it on the market only popular a few mobile device, all kinds of mobile devices are often followed different communication standards, even same category of device also is ever-changing on from outward appearance to the processing ability, present many difference, the diversity of Here it is so-called equipment needs the WEB resource to have stronger demonstration adaptability to satisfy the multifarious demand of equipment, under the situation a little less than existing WEB resource shows adaptability, it is complicated more that this problem of display effect difference becomes.
During in the face of various isomery mobile terminal device, still adopt traditional issue and access technology, make that server can only be content distributed and identical WEB resource such as layout, that is to say and to make different responses at different terminal devices.In this case, a kind of practice of the prior art, be to rely on computing machine to carry out the conversion process of some artificial intelligence, improve output effect as far as possible, present this conversion is generally finished by client device self, the practice can strengthen the local readable of transformation result although it is so, but meanwhile tends to cause the logical relation represented by the position between the rendering content destroyed, reduces the user the overall understanding of this WEB resource is held.Simultaneously, this method has increased the computation burden and the power consumption of client device, causes reduce the service time of mobile device.And this method requires client device to have stronger computing power, otherwise can allow the family be difficult to stand long switching time.The another kind of practice is to increase the agency between the isomery client and server, this agency is responsible for the Intelligent treatment of WEB resource display effect specially, but the conversion that this method is carried out is carried out after server sends the WEB resource, there is not the control of WEB resource publisher to display effect, be difficult to keep former deviser equally by logical relation between the content of layout type expression, simultaneously computing power and the load ability to take the burden of acting on behalf of itself had relatively high expectations.In addition, in traditional access technology, server can't remove to try to distinguish the physical equipment that client is used, more can not be concerned about the physical characteristics of these equipment such as screen size, whether only will consider client at most supports some picture format, whether supports animation, be the comparatively characteristic on upper strata of flash or the like, so server end issue WEB resource can not adapt to the display capabilities of different classes of terminal device.
Summary of the invention
The objective of the invention is to overcome the defective of prior art, a kind of Web page resource issuing method and delivery system are provided, make the generic web pages resource can on multiple heterogeneous terminals, reach good display effect, and farthest keep the web page resources publisher to rely on the logical message that layout structure is showed.
For achieving the above object, provide a kind of Web page resource issuing method, comprised the steps:
Middleware receive to send the request or the order of web page resources, obtains to wait to receive the device parameter of the terminal of web page resources;
Middleware obtains the physical parameter of terminal according to the classification of device parameter identification terminal;
Middleware is adjusted web page resources according to the physical parameter of terminal by the customized label of handling one or more new interpolations of representing the web page resources content, obtains the web page resources adaptive with terminal;
Server obtains adaptive web page resources, and sends adaptive web page resources to terminal.
For realizing above-mentioned purpose of the present invention, a kind of web page resources delivery system also is provided, comprising:
First device is used for the publishing web page resource;
Second device, form by first module and Unit second, first module is used to discern the classification of the terminal of waiting to receive web page resources, obtain the physical parameter of terminal, Unit second is used for handling according to the physical parameter of terminal one or more labels of corresponding web page resources content, forming adaptive web page resources, and adaptive web page resources is offered first device send to terminal.
By above technical scheme as can be known, the present invention handles the label of representing the WEB resource content according to the physical parameter of the terminal that identifies, generation adapts to the WEB resource of this terminal display effect, send to terminal again, when having solved in the prior art WEB resource of the same layout of plurality of classes terminal access, the problem of display effect difference, therefore, the present invention has the following advantages:
1, the heterogeneous terminals visit WEB resource for plurality of classes provides better support, has optimized the display effect of WEB resource on heterogeneous terminals;
2, utilize existing WEB resource to a great extent, reduced overlapping development;
3, the adaptive foundation of WEB resource can keep WEB resource publisher to rely on the logical relation information that layout structure is showed for the label of publisher's definition to the full extent.
Also in conjunction with the accompanying drawings the present invention is described in further detail below by specific embodiment.
Description of drawings
Fig. 1 is the process flow diagram of Web page resource issuing method specific embodiment one of the present invention.
Fig. 2 is the process flow diagram of Web page resource issuing method specific embodiment two of the present invention.
Fig. 3 is the process flow diagram of Web page resource issuing method specific embodiment three of the present invention.
Fig. 4 is the process flow diagram of Web page resource issuing method specific embodiment four of the present invention.
Fig. 5 is the synoptic diagram of web page resources delivery system specific embodiment of the present invention.
Embodiment
Overall thought of the present invention mainly comprises two aspect contents: one, delivery system is considered the display effect of same WEB resource on a few class heterogeneous terminals in issuing process, and describe with these effects are accurate, promptly make up a kind of description mechanism, describe content and layout that the WEB resource presents on all kinds of heterogeneous terminals.When various heterogeneous terminals visits made the WEB resource of issue in this way, delivery system generated different adaptive WEB resources according to the physical parameter of access terminal, and the WEB resource can the mode with comparatively hommization be represented on all kinds of heterogeneous terminals.Two, delivery system is when the request of access of receiving terminal, and its access technology requires terminal that the device parameter that can discern this terminal type is provided, and can go out the classification of terminal device according to these parameter recognition with the assurance system, obtains the physical parameter of terminal.
In actual life, the terminal quantity of various isomeries is numerous, should can not accomplish in when issue yet and specify the presentation mode of WEB resource on each terminal device that in fact present WEB resource is also developed at certain class rather than certain terminal device.Therefore the specific embodiment of the invention is according to the application in the real world, these heterogeneous terminals are divided into several main classifications, only should send to client, and should arrange to keep logical relation originally with what kind of layout type between these contents artificial definite which content of every kind equipment.For the concrete equipment in of all categories, will convert the WEB resource to adapt to its screen size display mode automatically in conjunction with the physical characteristics of classification information and this equipment.
Above-mentioned the WEB resource is described, terminal device is discerned, and the label of WEB resource is handled, the operation that adaptive and conversion produces new WEB resource all can realize based on middleware.A pair of the present invention describes in further detail below by specific embodiment.The process flow diagram of Web page resource issuing method specific embodiment one of the present invention as shown in Figure 1, middleware and server are wholely set, operate on the same main frame, middleware directly obtains the support of server, can be understood as the WEB resource that is distributed on the server and promptly is distributed on the middleware.In this case, terminal sends to the request of the visit WEB resource of server and will be intercepted and captured by middleware, and promptly middleware will be prior to server process WEB resource.The step of present embodiment one is as follows:
The request of step 101, middleware receiving terminal accessed web page resource, and receive the device parameter that contains this terminal class sign and physical parameter in this request, this terminal is the terminal of waiting to receive this web page resources;
Step 102, middleware be according to the classification of this device parameter identification terminal, and obtain the physical parameter of terminal;
Step 103, middleware are adjusted web page resources according to the physical parameter of terminal by the customized label of handling one or more new interpolations of representing the web page resources content, obtain the web page resources adaptive with described terminal;
Step 104, server obtain adaptive web page resources, it is finished the necessary back of handling send adaptive web page resources to this terminal.
In the foregoing description one, a kind of program (Servlet program) that can expand this server-capabilities of operation on the server, the new customized label that adds of this WEB resource is based on java server page or leaf (the Java Server Pages under the support of server S ervlet program, hereinafter to be referred as JSP) the technology realization, it is customized label, but not intrinsic label in the HTML (Hypertext Markup Language) (Hypertext Markup Language is hereinafter to be referred as HTML).Customized label is one of important technology of JSP, describes civilian module by marker character, can describe the mapping relations between the self-defining label and tag processes class in the WEB resource html language.This tag processes class is the tag processes mode, be exactly in JSP customized label technology, succession is for example inherited some classes from class " TagSupport " or " BodyTagSupport " by name from some classes of tag processes base class, is the part of Servlet program.Can obtain content between the parameter of corresponding customized label and label easily by the tag processes class.Middleware just comprises these tag processes classes.Realized some label processing method in the tag processes class, as begin at label, label finishes, handle various situations such as label substance handles, and has been equivalent to expand the ability to express of HTML.Adopt JSP/Servlet program customized label technology to carry out the definition of WEB resource tag, at first the mobile device with isomery is divided into several classes, for example be divided into regular handset, smart mobile phone/personal digital assistant (Personal Digital Assistant is hereinafter to be referred as PDA) and personal computer three classes.The issue personnel are that WEB resource to be released designs the basic presentation mode on this three Terminal Types equipment.According to above-mentioned sorting technique then needs define about 20 new linguistic labelses, these labels can indicate the best image layout of the specific JSP page on the different heterogeneous terminals of three class physical characteristicss.According to the semantic requirements of these labels, write corresponding tag processes class subsequently, and the middleware that will mainly be made of these tag processes classes is deployed on the server.At last, be the JSP page with original WEB conversion of page, the new issue of laying equal stress on.The above-mentioned label definition work of finishing by the issue personnel, also can assist the issue personnel to finish release tasks by the slotting module of development environment or development environment, but it is to be noted, development environment itself is not the content that the present invention pays close attention to, and can finish the issue of WEB resource among the present invention even without the support of special development environment yet.Work during issue in fact is exactly to add customized label according to the display mode that designs to various kinds of equipment for the JSP page.The browser great majority of considering present terminal device have certain autonomous adaptive transfer capability, and the work of therefore adding customized label can be too careful, but to adopt the characteristic of enhancing people-oriented interactions such as navigation, paging, thumbnail.Middleware is resolved and is handled according to general fashion the JSP page exactly the adaptation procedure of WEB resource, when running into customized label, middleware just calls the tag processes program in the respective labels processing class, progressively finishes ordinary pages to the adaptive process of particular terminal device.Specific implementation comprises: when running into picture in the adaptation procedure, if terminal device supports this picture/mb-type and dimension of picture to be no more than screen size, then acquiescence is not changed, if terminal device is not supported this picture/mb-type or dimension of picture is excessive or the publisher requires to do conversion, then the handling procedure of picture tag will be changed picture format, scaling pictures, reduction picture quality accordingly as the case may be or only provide the URL link; When running into audio/video media, animation (to call Flash in the following text) in the adaptation procedure, all only show the URL link for the acquiescence of the mobile device except that PC, and the publisher can use tag parameter to require handling procedure to show its preview graph or do not do the adaptive mobile device that directly sends to; Carry out the prescriber forms label for the display position that is used among the HTML to literal, picture, video etc., because a lot of mobile device screens are less, form is difficult to show according to the layout that is personal computer design, what therefore middleware can be given tacit consent to presents according to the permutation mode on the mobile device beyond the personal computer, and add significant mark for each row ending, certainly also can present in the full line mode under special circumstances, and add remarkable mark at every line endings according to publisher's intention.After handling all customized labels according to these strategies, the label information that adds in the time of can be according to issue is converted to the WEB resource on this terminal device the pattern that presents of comparatively hommization.After the page and customized label all disposed, the request of access that server can response terminal sent to terminal device with the new adaptive WEB resource page that generates.The partial content that does not have the ability processing for terminal device in the WEB resource, will be according to the default policy of publisher's requirement and setting, perhaps these contents are directly dispensed, a perhaps transmission part wherein only also can reduce transmission again after the quality for image, picture, audio etc.For the capable content of handling of terminal device in the WEB resource, if the original layout of this resource is adapted at presenting on the current terminal device, then needn't change, directly be transferred to terminal device and get final product; If layout originally is unsuitable for this resource presenting on current terminal device, then at first the content in these resources is separated in former layout, the descriptive markup of setting according to the publisher again, from several classes layout masterplate to be selected, select suitable layout pattern according to the concrete condition of equipment, these contents are inserted into form new WEB resource, send to terminal device then.
The label of WEB resource and tag processes class, can be in new WEB resource issuing process, set the tag parameter of customized label according to the particular content of the terminal physical parameter of request visit and this WEB resource, and original tag processes class is carried out corresponding modification.Also can carry out predefine according to the classification of predetermined a few class heterogeneous terminals to WEB resource to be released, or adopt defined label and tag processes class when asking to visit once more for the terminal of identical category, promptly in issuing process, no longer the WEB resource is carried out the setting or the modification of label and tag processes class.Customized label at the heterogeneous terminals classification, can be in server several classes of predefine terminal class commonly used, as regular handset, smart mobile phone/PDA, personal computer, along with the development of technology, when the classification commonly used of heterogeneous terminals increases, can constantly add new terminal class.So in the foregoing description one, can also comprise according to terminal class being the step of WEB resource settings label, and further comprise the label setting tag processes mode according to terminal class and WEB resource, the i.e. step of tag processes class.
In the process of carrying out the issue of WEB resource, answer the request of access of terminal except that server in the foregoing description one and carry out the embodiment of WEB resource issue, also have another kind of embodiment: when the server needs initiatively when terminal sends the WEB resource, then server or middleware can be directly obtain the classification logotype and the physical parameter of this terminal, the classification of identification terminal from server stores has the database of terminal class sign and physical parameter.So step 101 can also send the order of web page resources for the middleware reception server to terminal, acquisition waits to receive the device parameter of the terminal of web page resources, device parameter promptly contains the parameter of terminal class sign and physical parameter, the classification logotype of terminal can be the implementor name of terminal, also can be some crucial physical parameters, support characteristic etc. as the screen resolution of equipment, CPU frequency, memory size, browser, perhaps for the number-mark of distributing to this Terminal Type etc.
In the above-mentioned steps 104, server is handled the processing that has comprised WEB resource shell script or JSP statement to adaptive necessity that web page resources carried out, and makes it generate final html page.
WEB resource issuing method specific embodiment one adopts the method for adding a small amount of customized label to indicate the presentation mode of this WEB resource on all kinds of isomery equipment based on original WEB resource.Owing to original WEB resource itself is to develop for the specific device access of certain class,, can guarantee on this kind equipment, to reach optimal display result therefore based on original WEB resource.Customized label is mainly used in and indicates on other several kind equipments, and how this WEB resource should show.These labels can be used for removing the characteristic that certain kind equipment can't normally be supported, remove the content that influences display effect on certain kind equipment, perhaps by the bulk content is divided into several pages, and between page or leaf and page or leaf, the mode of navigation link is set, make some content on certain less kind equipment of screen, show to be different from original layout.On all kinds of isomery equipment, present effect as for how specifically using these marks to improve certain specific WEB resource, then be the work of issue personnel at launch phase, because label is defined by the issue personnel, so rely on the logical relation that layout structure embodied when farthest having kept the issue of WEB resource, and made full use of existing WEB resource, reduced the cost of overlapping development.And middleware is arranged on the server, intercepts and captures request of access, at first the WEB resource is carried out adaptation processing, makes mutual time decreased, and user's experience effect is good.
Be illustrated in figure 2 as the process flow diagram of WEB resource issuing method specific embodiment two of the present invention, in the present embodiment, middleware should be the tag processes program that comprises several tag processes classes, and two functional modules by identification terminal classification and adaptive WEB resource are formed, the identification module that middleware is discerned terminal operates on the server, the adaptation module that middleware carries out adaptation processing to the WEB resource is stored on the independent agency device that is connected with server, filtrator as the WEB resource, server is prior to middleware processes WEB resource at this moment, i.e. WEB resource issue is at first on server.Then present embodiment specifically comprises the steps:
The request of step 201, server receiving terminal accessed web page resource, and receive the device parameter that comprises terminal class sign and physical parameter in this request, this terminal is the terminal of waiting to receive this web page resources;
Step 202, server carry out necessary processing to the WEB resource;
Step 203, server judge whether to run into the label that is untreated of WEB resource, if then execution in step 204, otherwise execution in step 202;
Step 204, middleware identification module obtain the physical parameter of terminal according to the classification of this classification sign identification terminal, and identification module sends the physical parameter of this WEB resource and terminal to the middleware adaptation module;
Step 205, middleware are handled all labels that are untreated of web page resources according to the physical parameter of terminal, obtain the web page resources adaptive with this terminal;
Step 206, middleware send adaptive WEB resource to server;
Step 207, server are finished necessary processing back to adaptive web page resources and are sent to this terminal.
The advantage of WEB resource issuing method embodiment two is: middleware is independent of server the WEB resource is carried out adaptation processing, has alleviated the computational burden of server, makes network topology more flexible simultaneously, and a plurality of servers can a shared middleware.Can also be by client software be installed on terminal device, be exclusively used in the terminal iidentification and the physical parameter that produce for middleware identification, realize the compression of communicating by letter between terminal device and the middleware, thereby reduce the traffic, further save the energy of terminal device.
Be illustrated in figure 3 as the process flow diagram of WEB resource issuing method specific embodiment three of the present invention, middleware and server operate on the same main frame, but be with the difference of embodiment one: the serviced device of the request of access that terminal sends receives, and by server the WEB resource is at first carried out necessary processing, the concrete steps of embodiment three are as follows:
The request of step 301, server receiving terminal accessed web page resource, and receive the device parameter that comprises terminal class sign and physical parameter in this request, this terminal is the terminal of waiting to receive this web page resources;
Step 302, server carry out necessary processing to the WEB resource, the then execution in step 306 if the WEB resource disposes, otherwise execution in step 303;
Step 303, server judge whether to run into the label that is untreated of WEB resource, if then execution in step 304, otherwise execution in step 302;
Step 304, server send the classification logotype and the physical parameter of this WEB resource terminal to middleware, and middleware obtains the physical parameter of terminal according to the classification of this classification sign identification terminal;
The label that is untreated of the web page resources that step 305, middleware run into according to server in the physical parameter treatment step 303 of terminal, then execution in step 302;
Step 306, server send adaptive web page resources to this terminal.
In the foregoing description three, in fact be middleware and server cross processing, just run into customized label during server process and just give middleware control, be actually middleware in operational process, handle customized label to server requests, control is gone back to server behind intact this customize tag of middleware processes, circulation successively generates net result according to serial order like this again.Another kind of embodiment is exactly when server runs into first and is untreated label, just gives middleware control, behind intact all labels of middleware processes, control is gone back to entirely to server again.Also can define a specific special label, when server runs into it, just control is given to middleware.
Embodiment three, server is just handed to middleware processes when being untreated label or specific label running into, the situation that can adapt to multiple terminal access, as the terminal of routine visit still based on a certain terminal that can directly issue the WEB resource, then can determine whether the WEB resource is handed to middleware processes as the case may be, alleviate load of server, and reduced the reaction time
Figure 4 shows that the process flow diagram of WEB resource issuing method specific embodiment four of the present invention, roughly the same with embodiment one, difference is also to comprise:
Step 401, adaptive web page resources and corresponding terminal class and the physical parameter thereof of server stores;
After step 402, server identification go out terminal class, judged whether buffer memory and adapted to the web page resources that this waits to receive the terminal physical parameter of web page resources, if then execution in step 403;
Step 403, send the adaptive web page resources of this storage to this terminal.
Adopt the method for embodiment four, the terminal device of the same type with same physical parameter is visited when the WEB resource page of buffer memory is arranged, and just can alleviate the computation burden and the processing delay of server.
In WEB resource issuing method embodiment one, two, three and four, the description mechanism of WEB resource is except embodiment one described JSP/Servlet technology, multiple implementation can also be arranged, specify it for specific WEB resource and on specific terminal device, present effect.For example: the customized label function of XML itself, the customized label among the ASP.net etc.In the present invention, the issue personnel only need use descriptive markup to depict the WEB resource to get final product in the effect that presents of all kinds of isomery equipment coideals.
In WEB resource issuing method embodiment one, two, three and four, the device parameter of terminal comprises the classification logotype and the physical parameter of terminal, can produce by dual mode: first, by User-Agent header among the HTTP request package HEADER of terminal or user agent (User AgentProfile is hereinafter to be referred as UAProf) header marking terminal equipment is described; The second, client software module of operation on terminal device, the information of acquisition terminal device, these information use special independent HTTPHEADER data packet delivery to give middleware.The packet that comprises this parameter can when terminal request is visited the WEB resource, be included in the request of access or form one independently packet send to server, also can be after request visit, send again after sending the request of obtaining this parameter by server to this terminal.Middleware can be UAProf recognition of devices mechanism by the specific implementation of this parameter recognition device class, the information of carrying among the HEADER of the HTTP message that sends by the terminal device browser is judged, also can from this parameter, directly resolve the information such as characteristic of screen size, CPU frequency, memory size, browser support, adaptive ready for next step with conversion work.The terminal physical parameter can be included in the device parameter and transmit with the terminal class sign, also can only transmit the terminal class sign, after middleware identifies terminal class, searches the physical parameter that this classification terminal is had from the data in server storehouse.
Web page resource issuing method embodiment of the present invention has realized the WEB resource is only issued once by adopting above-mentioned issue and cut-in method, just can present in the mode than hommization on multiple isomery equipment.The processing and the power consumption burden of terminal device have been reduced as much as possible.
The present invention also provides a kind of WEB resource delivery system, and inventive concept is the introducing and the use of middleware.In the present invention, construct a middleware, it will be discerned the type of access terminal equipment, and handle the label of WEB resource according to terminal class, generate adaptive WEB resource.
Be illustrated in figure 5 as the specific embodiment of WEB resource delivery system of the present invention, this system comprises: server 1, and promptly first device is used to issue the issue of WEB resource, carries out conventional processing, and sends web page resources to terminal; Middleware 2, i.e. second device, middleware 2 is specifically by the identification module 21 that is used for the identification terminal classification, i.e. first module and be used for handling the adaptation module 22 of WEB resource customized label according to the physical parameter of terminal, promptly Unit second is formed.Middleware 2 can be wholely set with server 1, operates on the same main frame.The identification module 21 of middleware 2 also can separate setting with adaptation module 22, identification module 21 operates on the same main frame with server, and adaptation module 22 is separated setting with server 1, be self-existent network element hardware device, identification module 21 at middleware 2 separates with adaptation module 22 in the embodiment that is provided with, WEB resource delivery system also should comprise communication module 23, is used to control and coordinate the identification module 21 of middleware 2 and the data transmission between the adaptation module 22.
In the above-described embodiments, also can further comprise terminal parameter generation module 3, promptly the 3rd device is arranged on client terminal, is used to produce the classification logotype of described terminal and/or the physical parameter relevant with the terminal display effect.
WEB resource delivery system specific embodiment of the present invention is issued web page resources, mainly the embodiment based on Web page resource issuing method of the present invention realizes, can provide better support for the heterogeneous terminals visit WEB resource of plurality of classes, optimized the display effect of WEB resource on heterogeneous terminals, utilized existing WEB resource to a great extent, avoid overlapping development, and the adaptive foundation of WEB resource can keep WEB resource publisher to rely on the logical relation information that layout structure is showed for the label of publisher's definition to the full extent.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (18)

1, a kind of Web page resource issuing method comprises:
Middleware receive to send the request or the order of web page resources, obtains to wait to receive the device parameter of the terminal of described web page resources;
Middleware is discerned the classification of described terminal according to described device parameter, obtains the physical parameter of described terminal;
Middleware is adjusted described web page resources according to the physical parameter of described terminal by the customized label of handling one or more new interpolations of representing described web page resources content, obtains the web page resources adaptive with described terminal;
Server obtains described adaptive web page resources, and sends described adaptive web page resources to described terminal.
2, Web page resource issuing method according to claim 1 is characterized in that: described middleware receives the request that sends web page resources and is specially the request that the middleware receiving terminal is visited described web page resources; The step that described acquisition waits to receive the terminal device parameter of web page resources is specially the device parameter that includes classification logotype and/or physical parameter that the middleware receiving terminal sends.
3, Web page resource issuing method according to claim 2, it is characterized in that: before the step of the device parameter that comprises classification logotype and/or physical parameter that described middleware receiving terminal sends, also comprise the step that sends the request of obtaining described device parameter to described terminal.
4, Web page resource issuing method according to claim 1 is characterized in that: the step that described middleware receives the order that sends web page resources is specially the middleware reception server sends order from web page resources to terminal; The described step of obtaining the terminal device parameter of waiting to receive web page resources is specially to obtain from the database that stores terminal class sign and physical parameter and comprises that described terminal class identifies and the device parameter of physical parameter.
5, according to the described arbitrary Web page resource issuing method of claim 1~4, it is characterized in that: comprise that also according to terminal physical parameter and described web page resources content be the step that described web page resources is set label.
6, according to the described arbitrary Web page resource issuing method of claim 1~4, it is characterized in that: also comprise the step of setting the processing mode of described label according to the physical parameter of the described label of web page resources and described terminal.
7, according to the described arbitrary Web page resource issuing method of claim 1~4, it is characterized in that: described middleware is according to the physical parameter of described terminal, adjust described web page resources by one or more labels of handling the described web page resources content of representative, obtain being specially with the step of the adaptive web page resources of described terminal: server process is untreated during label to web page resources, middleware is according to the physical parameter of terminal, adjust described web page resources by one or more labels of handling the described web page resources content of representative, obtain the web page resources adaptive with described terminal.
8, Web page resource issuing method according to claim 7, it is characterized in that: described server process is untreated during label to web page resources, middleware is according to the physical parameter of terminal, the step of handling described label is specially: server process is when of web page resources is untreated label, and middleware is only handled the label that is untreated that described server runs into; After finishing dealing with, server continues to handle described web page resources.
9, Web page resource issuing method according to claim 7, it is characterized in that: described server process is untreated during label to web page resources, middleware is according to the physical parameter of terminal, the step of handling described label is specially: server process is when of web page resources is untreated label, middleware is handled the label that is untreated that described server runs into, and continues to handle all labels that are untreated of residue of web page resources; After finishing dealing with, server continues to handle described web page resources.
10, according to claim 1~4 or 8 or 9 described Web page resource issuing methods, it is characterized in that: the step that also comprises the physical parameter of described adaptive web page resources of server stores and counterpart terminal thereof.
11, Web page resource issuing method according to claim 10, it is characterized in that: comprise that also having judged whether buffer memory adapts to the step of the web page resources of the terminal physical parameter of waiting to receive web page resources, and the step that whether sends described adaptive web page resources according to the judged result decision to described terminal.
12, according to claim 1~4 or 8 or 9 described Web page resource issuing methods, it is characterized in that: described middleware is handled label according to the physical parameter of terminal and is adjusted the step of web page resources and specifically comprise: during described label representative picture, described picture is not made conversion or conversion picture format or scaling pictures or reduce picture quality or only provide link according to the terminal physical parameter.
13, according to claim 1~4 or 8 or 9 described Web page resource issuing methods, it is characterized in that: described middleware is handled label according to the physical parameter of terminal and is adjusted the step of web page resources and specifically comprise: when described label represent audio/video media or animation, described audio/video media or animation are only shown link or demonstration preview graph or do not change according to the terminal physical parameter.
14, according to claim 1~4 or 8 or 9 described Web page resource issuing methods, it is characterized in that: the step that described middleware is adjusted web page resources according to the physical parameter processing label of terminal specifically comprises: when described label is represented form, described form is presented by the permutation mode and add significant mark according to the terminal physical parameter, or present and add remarkable mark at every line endings by the full line mode in the ending of every row.
15, a kind of web page resources delivery system comprises:
First device is used for the publishing web page resource;
Second device, form by first module and Unit second, described first module is used to discern the classification of the terminal of waiting to receive described web page resources, obtain the physical parameter of described terminal, described Unit second is used for handling according to the physical parameter of described terminal one or more labels of corresponding web page resources content, forming adaptive web page resources, and described adaptive web page resources is offered described first device send to described terminal.
16, web page resources delivery system according to claim 15 is characterized in that: described first module and Unit second are wholely set.
17, web page resources delivery system according to claim 15, it is characterized in that: described first module is separated setting with Unit second, between described first module and the Unit second Unit the 3rd is set also, is used to control the data communication between first module and the Unit second.
18, according to claim 15 or 16 described web page resources delivery systems, it is characterized in that: also comprise the 3rd device that is arranged on client terminal, be used to produce the classification logotype of described terminal and/or the physical parameter relevant with the terminal display effect.
CNB2007101002945A 2007-06-07 2007-06-07 Web page resource issuing method and issuing system Expired - Fee Related CN100481088C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101002945A CN100481088C (en) 2007-06-07 2007-06-07 Web page resource issuing method and issuing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101002945A CN100481088C (en) 2007-06-07 2007-06-07 Web page resource issuing method and issuing system

Publications (2)

Publication Number Publication Date
CN101067819A CN101067819A (en) 2007-11-07
CN100481088C true CN100481088C (en) 2009-04-22

Family

ID=38880379

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101002945A Expired - Fee Related CN100481088C (en) 2007-06-07 2007-06-07 Web page resource issuing method and issuing system

Country Status (1)

Country Link
CN (1) CN100481088C (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196157B (en) * 2010-03-02 2015-09-23 新奥特(北京)视频技术有限公司 A kind of delivery system of station synchronization
WO2011156985A1 (en) * 2010-06-13 2011-12-22 优视科技有限公司 Browser conversion system for mobile communication terminal
CN101916276B (en) * 2010-08-13 2016-12-07 北京新岸线移动多媒体技术有限公司 A kind of improve method, device and the server that rich media file is issued in a network
CN102457528A (en) * 2010-10-19 2012-05-16 北京邮电大学 Method for adaptively issuing web content facing to mobile phone terminal and system thereof
CN102486797B (en) * 2010-12-03 2017-08-01 深圳市世纪光速信息技术有限公司 The display methods and device of webpage
CN102170479B (en) * 2011-05-21 2013-12-18 华为数字技术(成都)有限公司 Updating method of Web buffer and updating device of Web buffer
CN103455505B (en) 2012-05-31 2017-06-27 华为技术有限公司 A kind of media acquisition methods, apparatus and system
CN103812888A (en) * 2012-11-09 2014-05-21 阿里巴巴集团控股有限公司 Information pushing, receiving and transmitting method, server, client and system
CN103313285A (en) * 2013-06-09 2013-09-18 深圳中兴网信科技有限公司 Network resource transmitting and processing device and network resource transmitting and processing method
CN104572690B (en) * 2013-10-17 2019-07-02 腾讯科技(深圳)有限公司 A kind of methods, devices and systems obtaining web data
CN104601636B (en) * 2013-11-06 2018-12-11 腾讯科技(深圳)有限公司 Webpage fit transmission method and relevant apparatus and communication system
CN104660635B (en) * 2013-11-20 2020-10-09 腾讯科技(北京)有限公司 Message synchronization method, device and system
CN103677810B (en) * 2013-11-21 2018-06-01 金蝶软件(中国)有限公司 Business mobile application system and its application process
CN104714958A (en) * 2013-12-12 2015-06-17 腾讯科技(深圳)有限公司 Webpage transfer method and device
CN104731813A (en) * 2013-12-23 2015-06-24 珠海金山办公软件有限公司 Form file display method and system
CN105224526B (en) * 2014-05-26 2022-05-31 联想(北京)有限公司 Data processing method and electronic equipment
CN104202680B (en) * 2014-08-11 2017-11-03 福建星网锐捷网络有限公司 The method and device that Streaming Media is obtained
CN105450837A (en) * 2014-08-29 2016-03-30 阿里巴巴集团控股有限公司 Method and apparatus for displaying CDN image adaptively on terminal device
CN105608078B (en) * 2014-10-28 2019-03-12 阿里巴巴集团控股有限公司 A kind of method and apparatus of Webpage live preview
CN106487861B (en) * 2015-09-01 2021-04-02 腾讯科技(北京)有限公司 Network data providing method and device
CN105867899A (en) * 2015-12-10 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device for identifying device
CN105718517A (en) * 2016-01-14 2016-06-29 浪潮通用软件有限公司 Webpage display control method and system, and application server
CN107544993B (en) * 2016-06-27 2021-11-26 北京金山安全软件有限公司 Method and device for processing picture and electronic equipment
CN106897336A (en) * 2016-06-28 2017-06-27 阿里巴巴集团控股有限公司 Web page files sending method, webpage rendering intent and device, webpage rendering system
CN106909227A (en) * 2017-03-17 2017-06-30 北京康邦科技有限公司 A kind of distributed technique of expression and system
CN107124477A (en) * 2017-03-30 2017-09-01 努比亚技术有限公司 Processing method, terminal and the server of web site contents
CN107729452B (en) * 2017-10-09 2020-07-10 武汉斗鱼网络科技有限公司 Webpage loading method and device, electronic equipment and computer readable storage medium
CN114338726B (en) * 2021-12-30 2022-08-02 江苏云工场信息技术有限公司 Content pushing method and device based on CDN node
CN114760509B (en) * 2022-06-14 2022-09-20 飞狐信息技术(天津)有限公司 Video distribution method, system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN101067819A (en) 2007-11-07

Similar Documents

Publication Publication Date Title
CN100481088C (en) Web page resource issuing method and issuing system
US8156418B2 (en) Image acquisition from dynamic content for delivery to network-enabled static display devices
US7636792B1 (en) Methods and systems for dynamic and automatic content creation for mobile devices
US20090307603A1 (en) Dynamic content delivery to network-enabled static
US9866612B2 (en) Server-based browser system
US8403222B2 (en) Method of enabling the downloading of content
CN102591954B (en) A kind of browser data load method and device
JP4913777B2 (en) Web page distribution system
CN102722551B (en) Intelligent switching method and system for browser kernels
US20080109483A1 (en) Mash-up service system
CN103873918A (en) Picture processing method, device and terminal
CN102033944A (en) Mobile terminal-based web page display system and method
CN102006568A (en) Method, equipment and system for providing portrait service
CN103019712A (en) Integrated application
CN107229760A (en) Storage medium, electronic installation, the display methods of web page contents and device
CN101964742B (en) Method, system and device for using network open ability
WO2006035116A1 (en) Content presentation adaptation
JP2005517255A (en) Upload style sheets to handle device diversity well
CN103140852B (en) For managing the system and method for the memory resource of wireless hand-held calculation element
JP2011175460A (en) Document browsing system and document conversion server
KR20090098026A (en) System for transmitting/receiving contents connected in link structure in internet page and control method thereof, and browsing apparatus used in the system
CN114254592A (en) Webpage content saving method and device, storage medium and electronic equipment
EP1170675A1 (en) Presentation of customised data content
CN101751441B (en) Internet resource search service system and method facing CE equipment
CN109933736A (en) Have secure access to the method, apparatus and storage medium of third party's JSP page

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090422

Termination date: 20130607